From 394b10ff452464241b3ab2433601fe7807afafc6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 1 Sep 2022 09:00:07 +0000 Subject: [PATCH] CodeGen from PR 20540 in Azure/azure-rest-api-specs Merge 3aaba1911308edb5919d020033444c168c90152f into aefbcc5fb18a3b33f401394ebeae01df0733c830 --- common/config/rush/pnpm-lock.yaml | 41 +- sdk/synapse/arm-synapse/CHANGELOG.md | 102 +- sdk/synapse/arm-synapse/_meta.json | 8 +- sdk/synapse/arm-synapse/package.json | 27 +- .../arm-synapse/review/arm-synapse.api.md | 1091 +++++++---------- sdk/synapse/arm-synapse/src/models/index.ts | 646 +++++++--- sdk/synapse/arm-synapse/src/models/mappers.ts | 39 +- .../src/synapseManagementClient.ts | 2 +- sdk/synapse/arm-synapse/test/sampleTest.ts | 39 +- sdk/synapse/arm-synapse/tsconfig.json | 10 +- 10 files changed, 1044 insertions(+), 961 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 5e7232cbac4f..d727c6536217 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -3120,7 +3120,7 @@ packages: dev: false /array-flatten/1.1.1: - resolution: {integrity: sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=} + resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: false /array-includes/3.1.5: @@ -3381,7 +3381,7 @@ packages: dev: false /buffer-equal-constant-time/1.0.1: - resolution: {integrity: sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=} + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} dev: false /buffer-from/1.1.2: @@ -3531,7 +3531,7 @@ packages: dev: false /charenc/0.0.2: - resolution: {integrity: sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=} + resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} dev: false /check-error/1.0.2: @@ -3669,7 +3669,7 @@ packages: dev: false /concat-map/0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: false /concurrently/6.5.1: @@ -3732,7 +3732,7 @@ packages: dev: false /cookie-signature/1.0.6: - resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=} + resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} dev: false /cookie/0.4.2: @@ -3834,7 +3834,7 @@ packages: dev: false /crypt/0.0.2: - resolution: {integrity: sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=} + resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} dev: false /csv-parse/5.3.0: @@ -4088,7 +4088,7 @@ packages: dependencies: semver: 7.3.7 shelljs: 0.8.5 - typescript: 4.9.0-dev.20220831 + typescript: 4.9.0-dev.20220901 dev: false /downlevel-dts/0.4.0: @@ -4115,11 +4115,11 @@ packages: dev: false /edge-launcher/1.2.2: - resolution: {integrity: sha1-60Cq+9Bnpup27/+rBke81VCbN7I=} + resolution: {integrity: sha512-JcD5WBi3BHZXXVSSeEhl6sYO8g5cuynk/hifBzds2Bp4JdzCGLNMHgMCKu5DvrO1yatMgF0goFsxXRGus0yh1g==} dev: false /ee-first/1.1.1: - resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false /electron-to-chromium/1.4.199: @@ -5001,7 +5001,7 @@ packages: dev: false /fresh/0.5.2: - resolution: {integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=} + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} dev: false @@ -5141,7 +5141,7 @@ packages: dev: false /github-from-package/0.0.0: - resolution: {integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=} + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} dev: false /glob-parent/5.1.2: @@ -6582,7 +6582,7 @@ packages: dev: false /media-typer/0.3.0: - resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} + resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} dev: false @@ -6592,7 +6592,7 @@ packages: dev: false /merge-descriptors/1.0.1: - resolution: {integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=} + resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} dev: false /merge-source-map/1.1.0: @@ -7017,7 +7017,7 @@ packages: dev: false /noms/0.0.0: - resolution: {integrity: sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=} + resolution: {integrity: sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==} dependencies: inherits: 2.0.4 readable-stream: 1.0.34 @@ -9091,8 +9091,8 @@ packages: hasBin: true dev: false - /typescript/4.9.0-dev.20220831: - resolution: {integrity: sha512-FXVLQI/P9R7uT/I0ODGrIPmV9uDlQXufoe+RUcvZOvTtLzk2Kd1H9rr+e3l6hiSho6ikrnvews2LWF5AulwO/w==} + /typescript/4.9.0-dev.20220901: + resolution: {integrity: sha512-6nVAA+LnuU09b62zRKm0XRiLUv6h62UDfgVulk9kmBjZmc35qlh3p3bA4LulqJ/euCG3bzCksyhL0ZeOw/bO/A==} engines: {node: '>=4.2.0'} hasBin: true dev: false @@ -9207,7 +9207,7 @@ packages: dev: false /utils-merge/1.0.1: - resolution: {integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=} + resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} dev: false @@ -15076,7 +15076,7 @@ packages: dev: false file:projects/arm-synapse.tgz: - resolution: {integrity: sha512-R4G43D3BrXJR8mSoWwJo2pHwmAKHM+1D6OqoPnm9iTY/S2R/U5v3LEuKnSWwO1ApFSfc+kOFyxMinoZTr182Ww==, tarball: file:projects/arm-synapse.tgz} + resolution: {integrity: sha512-8QprjgDHhkTmuEtmmte1JCUYYl4roFZA/sghR96UIfq7PL6eWVCyriAlPsK2QXKOJ924r8oM/LZlGfTVvvC4/w==, tarball: file:projects/arm-synapse.tgz} name: '@rush-temp/arm-synapse' version: 0.0.0 dependencies: @@ -15088,6 +15088,8 @@ packages: '@rollup/plugin-json': 4.1.0_rollup@2.79.0 '@rollup/plugin-multi-entry': 4.1.0_rollup@2.79.0 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.0 + '@types/chai': 4.3.1 + chai: 4.3.6 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 @@ -15099,7 +15101,6 @@ packages: uglify-js: 3.16.3 transitivePeerDependencies: - '@types/node' - - encoding - supports-color dev: false @@ -16287,7 +16288,7 @@ packages: dev: false file:projects/core-lro.tgz: - resolution: {integrity: sha512-Iekt5Nq7NjJhqKxKQv5GMYYjJn4Ri/D9JJNxlNYwM1UQl1rIBkWSSKiRGu/7a6tjcxGqGN2bURJUFXfKqwxVxQ==, tarball: file:projects/core-lro.tgz} + resolution: {integrity: sha512-0KYl8Q3FwAcxMpjqDQLMU0lfU1egH97ni5xAs4FYUCak6717aFuR2DILHaGhYjsT9oTff5xBdlN0F2fdhGRA6g==, tarball: file:projects/core-lro.tgz} name: '@rush-temp/core-lro' version: 0.0.0 dependencies: diff --git a/sdk/synapse/arm-synapse/CHANGELOG.md b/sdk/synapse/arm-synapse/CHANGELOG.md index 80b14fd80999..112f54988e41 100644 --- a/sdk/synapse/arm-synapse/CHANGELOG.md +++ b/sdk/synapse/arm-synapse/CHANGELOG.md @@ -1,34 +1,110 @@ # Release History - -## 8.1.0-beta.2 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 8.1.0-beta.1 (2022-04-20) + +## 9.0.0-beta.1 (2022-09-01) **Features** - Added operation group WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings + - Added Interface AttachedDatabaseConfiguration + - Added Interface AzureADOnlyAuthentication + - Added Interface AzureEntityResource + - Added Interface BigDataPoolResourceInfo + - Added Interface ClusterPrincipalAssignment + - Added Interface CmdkeySetup + - Added Interface ComponentSetup + - Added Interface Database + - Added Interface DatabasePrincipalAssignment + - Added Interface DataConnection + - Added Interface DataMaskingPolicy + - Added Interface DataMaskingRule + - Added Interface DataWarehouseUserActivities + - Added Interface DedicatedSQLminimalTlsSettings - Added Interface DedicatedSQLminimalTlsSettingsListResult - Added Interface DedicatedSQLminimalTlsSettingsPatchInfo + - Added Interface EncryptionProtector + - Added Interface EnvironmentVariableSetup + - Added Interface EventGridDataConnection + - Added Interface EventHubDataConnection + - Added Interface ExtendedServerBlobAuditingPolicy + - Added Interface ExtendedSqlPoolBlobAuditingPolicy + - Added Interface GeoBackupPolicy + - Added Interface IntegrationRuntimeResource + - Added Interface IotHubDataConnection + - Added Interface IpFirewallRuleInfo + - Added Interface Key + - Added Interface KustoPool + - Added Interface KustoPoolUpdate + - Added Interface LibraryResource + - Added Interface LinkedIntegrationRuntimeKeyAuthorization + - Added Interface LinkedIntegrationRuntimeRbacAuthorization + - Added Interface MaintenanceWindowOptions + - Added Interface MaintenanceWindows + - Added Interface ManagedIdentitySqlControlSettingsModel + - Added Interface ManagedIntegrationRuntime + - Added Interface ManagedIntegrationRuntimeStatus + - Added Interface MetadataSyncConfig + - Added Interface PrivateEndpointConnection + - Added Interface PrivateEndpointConnectionForPrivateLinkHub + - Added Interface PrivateLinkHub + - Added Interface PrivateLinkResource + - Added Interface ProxyResource + - Added Interface ReadOnlyFollowingDatabase + - Added Interface ReadWriteDatabase + - Added Interface RecommendedSensitivityLabelUpdate + - Added Interface RecoverableSqlPool + - Added Interface ReplicationLink + - Added Interface RestorableDroppedSqlPool + - Added Interface RestorePoint + - Added Interface SecureString + - Added Interface SelfHostedIntegrationRuntime + - Added Interface SelfHostedIntegrationRuntimeStatus + - Added Interface SensitivityLabel + - Added Interface SensitivityLabelUpdate + - Added Interface ServerBlobAuditingPolicy + - Added Interface ServerSecurityAlertPolicy + - Added Interface ServerVulnerabilityAssessment + - Added Interface SparkConfigurationResource + - Added Interface SqlPool + - Added Interface SqlPoolBlobAuditingPolicy + - Added Interface SqlPoolColumn + - Added Interface SqlPoolConnectionPolicy + - Added Interface SqlPoolOperation + - Added Interface SqlPoolSchema + - Added Interface SqlPoolSecurityAlertPolicy + - Added Interface SqlPoolTable + - Added Interface SqlPoolVulnerabilityAssessment + - Added Interface SqlPoolVulnerabilityAssessmentRuleBaseline + - Added Interface SqlPoolVulnerabilityAssessmentScansExport + - Added Interface SsisEnvironment + - Added Interface SsisFolder + - Added Interface SsisPackage + - Added Interface SsisProject + - Added Interface SubResource + - Added Interface TrackedResource + - Added Interface TransparentDataEncryption + - Added Interface VulnerabilityAssessmentScanRecord + - Added Interface WorkloadClassifier + - Added Interface WorkloadGroup + - Added Interface Workspace + - Added Interface WorkspaceAadAdminInfo - Added Interface WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsGetOptionalParams - Added Interface WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsListNextOptionalParams - Added Interface WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsListOptionalParams - Added Interface WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsUpdateOptionalParams - - Added Type Alias DedicatedSQLminimalTlsSettings + - Added Type Alias ActualState - Added Type Alias DedicatedSQLMinimalTlsSettingsName + - Added Type Alias DesiredState - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsGetResponse - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsListNextResponse - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsListResponse - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsUpdateResponse - Class SynapseManagementClient has a new parameter workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings - Added Enum KnownDedicatedSQLMinimalTlsSettingsName + +**Breaking Changes** + + - Removed Enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState + - Removed Enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState ## 8.0.0 (2022-01-13) diff --git a/sdk/synapse/arm-synapse/_meta.json b/sdk/synapse/arm-synapse/_meta.json index 8e5562d59969..4449157466c1 100644 --- a/sdk/synapse/arm-synapse/_meta.json +++ b/sdk/synapse/arm-synapse/_meta.json @@ -1,8 +1,8 @@ { - "commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d", + "commit": "09432275eacc4f1e00897d43fc84e991099a96ab", "readme": "specification/synapse/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\synapse\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", + "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/synapse/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", - "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.2", + "use": "@autorest/typescript@6.0.0-rc.1" } \ No newline at end of file diff --git a/sdk/synapse/arm-synapse/package.json b/sdk/synapse/arm-synapse/package.json index 4f6061c024b9..5a6f6e9f1113 100644 --- a/sdk/synapse/arm-synapse/package.json +++ b/sdk/synapse/arm-synapse/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SynapseManagementClient.", - "version": "8.1.0-beta.2", + "version": "9.0.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -40,9 +40,13 @@ "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", - "@azure-tools/test-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^2.0.0", + "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "cross-env": "^7.0.2" + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "cross-env": "^7.0.2", + "@azure/dev-tool": "^1.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/synapse/arm-synapse", "repository": { @@ -93,9 +97,8 @@ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js", - "integration-test:browser": "echo skipped", - "docs": "echo skipped" + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -106,13 +109,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-synapse?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/synapse/arm-synapse/review/arm-synapse.api.md b/sdk/synapse/arm-synapse/review/arm-synapse.api.md index 8c48adbf8f6e..0ee624b53377 100644 --- a/sdk/synapse/arm-synapse/review/arm-synapse.api.md +++ b/sdk/synapse/arm-synapse/review/arm-synapse.api.md @@ -11,16 +11,19 @@ import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; // @public -export type AttachedDatabaseConfiguration = ProxyResource & { - location?: string; - readonly systemData?: SystemData; - readonly provisioningState?: ResourceProvisioningState; - databaseName?: string; - kustoPoolResourceId?: string; +export type ActualState = "Enabling" | "Enabled" | "Disabling" | "Disabled" | "Unknown"; + +// @public +export interface AttachedDatabaseConfiguration extends ProxyResource { readonly attachedDatabaseNames?: string[]; + databaseName?: string; defaultPrincipalsModificationKind?: DefaultPrincipalsModificationKind; + kustoPoolResourceId?: string; + location?: string; + readonly provisioningState?: ResourceProvisioningState; + readonly systemData?: SystemData; tableLevelSharingProperties?: TableLevelSharingProperties; -}; +} // @public export interface AttachedDatabaseConfigurationListResult { @@ -58,11 +61,11 @@ export interface AvailableRpOperationDisplayInfo { } // @public -export type AzureADOnlyAuthentication = ProxyResource & { +export interface AzureADOnlyAuthentication extends ProxyResource { azureADOnlyAuthentication?: boolean; - readonly state?: StateValue; readonly creationDate?: Date; -}; + readonly state?: StateValue; +} // @public export interface AzureADOnlyAuthenticationListResult { @@ -120,9 +123,9 @@ export interface AzureCapacity { } // @public -export type AzureEntityResource = Resource & { +export interface AzureEntityResource extends Resource { readonly etag?: string; -}; +} // @public export interface AzureResourceSku { @@ -149,26 +152,27 @@ export interface BigDataPoolPatchInfo { } // @public -export type BigDataPoolResourceInfo = TrackedResource & { - provisioningState?: string; - autoScale?: AutoScaleProperties; - readonly creationDate?: Date; +export interface BigDataPoolResourceInfo extends TrackedResource { autoPause?: AutoPauseProperties; - isComputeIsolationEnabled?: boolean; - sessionLevelPackagesEnabled?: boolean; + autoScale?: AutoScaleProperties; cacheSize?: number; - dynamicExecutorAllocation?: DynamicExecutorAllocation; - sparkEventsFolder?: string; - nodeCount?: number; - libraryRequirements?: LibraryRequirements; + readonly creationDate?: Date; customLibraries?: LibraryInfo[]; - sparkConfigProperties?: SparkConfigProperties; - sparkVersion?: string; defaultSparkLogFolder?: string; + dynamicExecutorAllocation?: DynamicExecutorAllocation; + isAutotuneEnabled?: boolean; + isComputeIsolationEnabled?: boolean; + readonly lastSucceededTimestamp?: Date; + libraryRequirements?: LibraryRequirements; + nodeCount?: number; nodeSize?: NodeSize; nodeSizeFamily?: NodeSizeFamily; - readonly lastSucceededTimestamp?: Date; -}; + provisioningState?: string; + sessionLevelPackagesEnabled?: boolean; + sparkConfigProperties?: SparkConfigProperties; + sparkEventsFolder?: string; + sparkVersion?: string; +} // @public export interface BigDataPoolResourceInfoListResult { @@ -266,16 +270,17 @@ export interface CheckNameResult { } // @public -export type ClusterPrincipalAssignment = ProxyResource & { - readonly systemData?: SystemData; +export interface ClusterPrincipalAssignment extends ProxyResource { + readonly aadObjectId?: string; principalId?: string; + readonly principalName?: string; + principalType?: PrincipalType; + readonly provisioningState?: ResourceProvisioningState; role?: ClusterPrincipalRole; + readonly systemData?: SystemData; tenantId?: string; - principalType?: PrincipalType; readonly tenantName?: string; - readonly principalName?: string; - readonly provisioningState?: ResourceProvisioningState; -}; +} // @public export interface ClusterPrincipalAssignmentCheckNameRequest { @@ -292,22 +297,22 @@ export interface ClusterPrincipalAssignmentListResult { export type ClusterPrincipalRole = string; // @public -export type CmdkeySetup = CustomSetupBase & { - type: "CmdkeySetup"; +export interface CmdkeySetup extends CustomSetupBase { + password: SecretBaseUnion; targetName: Record; + type: "CmdkeySetup"; userName: Record; - password: SecretBaseUnion; -}; +} // @public export type ColumnDataType = string; // @public -export type ComponentSetup = CustomSetupBase & { - type: "ComponentSetup"; +export interface ComponentSetup extends CustomSetupBase { componentName: string; licenseKey?: SecretBaseUnion; -}; + type: "ComponentSetup"; +} // @public export type Compression = string; @@ -350,11 +355,11 @@ export interface CustomSetupBase { export type CustomSetupBaseUnion = CustomSetupBase | CmdkeySetup | EnvironmentVariableSetup | ComponentSetup; // @public -export type Database = ProxyResource & { - location?: string; +export interface Database extends ProxyResource { kind: Kind; + location?: string; readonly systemData?: SystemData; -}; +} // @public export interface DatabaseCheckNameRequest { @@ -368,16 +373,17 @@ export interface DatabaseListResult { } // @public -export type DatabasePrincipalAssignment = ProxyResource & { - readonly systemData?: SystemData; +export interface DatabasePrincipalAssignment extends ProxyResource { + readonly aadObjectId?: string; principalId?: string; + readonly principalName?: string; + principalType?: PrincipalType; + readonly provisioningState?: ResourceProvisioningState; role?: DatabasePrincipalRole; + readonly systemData?: SystemData; tenantId?: string; - principalType?: PrincipalType; readonly tenantName?: string; - readonly principalName?: string; - readonly provisioningState?: ResourceProvisioningState; -}; +} // @public export interface DatabasePrincipalAssignmentCheckNameRequest { @@ -402,11 +408,11 @@ export interface DatabaseStatistics { export type DatabaseUnion = Database | ReadWriteDatabase | ReadOnlyFollowingDatabase; // @public -export type DataConnection = ProxyResource & { - location?: string; +export interface DataConnection extends ProxyResource { kind: DataConnectionKind; + location?: string; readonly systemData?: SystemData; -}; +} // @public export interface DataConnectionCheckNameRequest { @@ -476,33 +482,33 @@ export interface DataMaskingPoliciesGetOptionalParams extends coreClient.Operati export type DataMaskingPoliciesGetResponse = DataMaskingPolicy; // @public (undocumented) -export type DataMaskingPolicy = ProxyResource & { - readonly location?: string; - readonly kind?: string; - readonly managedBy?: string; +export interface DataMaskingPolicy extends ProxyResource { + readonly applicationPrincipals?: string; dataMaskingState?: DataMaskingState; exemptPrincipals?: string; - readonly applicationPrincipals?: string; + readonly kind?: string; + readonly location?: string; + readonly managedBy?: string; readonly maskingLevel?: string; -}; +} // @public -export type DataMaskingRule = ProxyResource & { - readonly location?: string; - readonly kind?: string; - readonly idPropertiesId?: string; +export interface DataMaskingRule extends ProxyResource { aliasName?: string; - ruleState?: DataMaskingRuleState; - schemaName?: string; - tableName?: string; columnName?: string; + readonly idPropertiesId?: string; + readonly kind?: string; + readonly location?: string; maskingFunction?: DataMaskingFunction; numberFrom?: string; numberTo?: string; prefixSize?: string; - suffixSize?: string; replacementString?: string; -}; + ruleState?: DataMaskingRuleState; + schemaName?: string; + suffixSize?: string; + tableName?: string; +} // @public export interface DataMaskingRuleListResult { @@ -544,9 +550,9 @@ export type DataMaskingRuleState = "Disabled" | "Enabled"; export type DataMaskingState = "Disabled" | "Enabled"; // @public -export type DataWarehouseUserActivities = ProxyResource & { +export interface DataWarehouseUserActivities extends ProxyResource { readonly activeQueriesCount?: number; -}; +} // @public export type DataWarehouseUserActivityName = string; @@ -555,10 +561,10 @@ export type DataWarehouseUserActivityName = string; export type DayOfWeek = string; // @public -export type DedicatedSQLminimalTlsSettings = ProxyResource & { +export interface DedicatedSQLminimalTlsSettings extends ProxyResource { readonly location?: string; minimalTlsVersion?: string; -}; +} // @public export interface DedicatedSQLminimalTlsSettingsListResult { @@ -577,6 +583,9 @@ export interface DedicatedSQLminimalTlsSettingsPatchInfo { // @public export type DefaultPrincipalsModificationKind = string; +// @public +export type DesiredState = "Enabled" | "Disabled"; + // @public export interface DynamicExecutorAllocation { enabled?: boolean; @@ -591,15 +600,15 @@ export interface EncryptionDetails { } // @public -export type EncryptionProtector = ProxyResource & { +export interface EncryptionProtector extends ProxyResource { readonly kind?: string; readonly location?: string; - readonly subregion?: string; serverKeyName?: string; serverKeyType?: ServerKeyType; - readonly uri?: string; + readonly subregion?: string; readonly thumbprint?: string; -}; + readonly uri?: string; +} // @public export interface EncryptionProtectorListResult { @@ -617,11 +626,11 @@ export interface EntityReference { } // @public -export type EnvironmentVariableSetup = CustomSetupBase & { +export interface EnvironmentVariableSetup extends CustomSetupBase { type: "EnvironmentVariableSetup"; variableName: string; variableValue: string; -}; +} // @public export interface ErrorAdditionalInfo { @@ -644,51 +653,51 @@ export interface ErrorResponse { } // @public -export type EventGridDataConnection = DataConnection & { - storageAccountResourceId?: string; - eventHubResourceId?: string; +export interface EventGridDataConnection extends DataConnection { + blobStorageEventType?: BlobStorageEventType; consumerGroup?: string; - tableName?: string; - mappingRuleName?: string; dataFormat?: EventGridDataFormat; + eventHubResourceId?: string; ignoreFirstRecord?: boolean; - blobStorageEventType?: BlobStorageEventType; + mappingRuleName?: string; readonly provisioningState?: ResourceProvisioningState; -}; + storageAccountResourceId?: string; + tableName?: string; +} // @public export type EventGridDataFormat = string; // @public -export type EventHubDataConnection = DataConnection & { - eventHubResourceId?: string; +export interface EventHubDataConnection extends DataConnection { + compression?: Compression; consumerGroup?: string; - tableName?: string; - mappingRuleName?: string; dataFormat?: EventHubDataFormat; + eventHubResourceId?: string; eventSystemProperties?: string[]; - compression?: Compression; - readonly provisioningState?: ResourceProvisioningState; managedIdentityResourceId?: string; -}; + mappingRuleName?: string; + readonly provisioningState?: ResourceProvisioningState; + tableName?: string; +} // @public export type EventHubDataFormat = string; // @public -export type ExtendedServerBlobAuditingPolicy = ProxyResource & { +export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { + auditActionsAndGroups?: string[]; + isAzureMonitorTargetEnabled?: boolean; + isDevopsAuditEnabled?: boolean; + isStorageSecondaryKeyInUse?: boolean; predicateExpression?: string; + queueDelayMs?: number; + retentionDays?: number; state?: BlobAuditingPolicyState; - storageEndpoint?: string; storageAccountAccessKey?: string; - retentionDays?: number; - auditActionsAndGroups?: string[]; storageAccountSubscriptionId?: string; - isStorageSecondaryKeyInUse?: boolean; - isAzureMonitorTargetEnabled?: boolean; - queueDelayMs?: number; - isDevopsAuditEnabled?: boolean; -}; + storageEndpoint?: string; +} // @public export interface ExtendedServerBlobAuditingPolicyListResult { @@ -732,18 +741,18 @@ export interface ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolOptionalParams export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolResponse = ExtendedSqlPoolBlobAuditingPolicyListResult; // @public -export type ExtendedSqlPoolBlobAuditingPolicy = ProxyResource & { +export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { + auditActionsAndGroups?: string[]; + isAzureMonitorTargetEnabled?: boolean; + isStorageSecondaryKeyInUse?: boolean; predicateExpression?: string; + queueDelayMs?: number; + retentionDays?: number; state?: BlobAuditingPolicyState; - storageEndpoint?: string; storageAccountAccessKey?: string; - retentionDays?: number; - auditActionsAndGroups?: string[]; storageAccountSubscriptionId?: string; - isStorageSecondaryKeyInUse?: boolean; - isAzureMonitorTargetEnabled?: boolean; - queueDelayMs?: number; -}; + storageEndpoint?: string; +} // @public export interface ExtendedSqlPoolBlobAuditingPolicyListResult { @@ -764,12 +773,12 @@ export interface FollowerDatabaseListResult { } // @public -export type GeoBackupPolicy = ProxyResource & { +export interface GeoBackupPolicy extends ProxyResource { readonly kind?: string; readonly location?: string; state: GeoBackupPolicyState; readonly storageType?: string; -}; +} // @public export interface GeoBackupPolicyListResult { @@ -1034,9 +1043,9 @@ export interface IntegrationRuntimeRegenerateKeyParameters { } // @public -export type IntegrationRuntimeResource = SubResource & { +export interface IntegrationRuntimeResource extends SubResource { properties: IntegrationRuntimeUnion; -}; +} // @public export interface IntegrationRuntimes { @@ -1216,26 +1225,26 @@ export interface IntegrationRuntimeVNetProperties { } // @public -export type IotHubDataConnection = DataConnection & { - iotHubResourceId?: string; +export interface IotHubDataConnection extends DataConnection { consumerGroup?: string; - tableName?: string; - mappingRuleName?: string; dataFormat?: IotHubDataFormat; eventSystemProperties?: string[]; - sharedAccessPolicyName?: string; + iotHubResourceId?: string; + mappingRuleName?: string; readonly provisioningState?: ResourceProvisioningState; -}; + sharedAccessPolicyName?: string; + tableName?: string; +} // @public export type IotHubDataFormat = string; // @public -export type IpFirewallRuleInfo = ProxyResource & { +export interface IpFirewallRuleInfo extends ProxyResource { endIpAddress?: string; readonly provisioningState?: ProvisioningState; startIpAddress?: string; -}; +} // @public export interface IpFirewallRuleInfoListResult { @@ -1317,10 +1326,10 @@ export interface KekIdentityProperties { } // @public -export type Key = ProxyResource & { +export interface Key extends ProxyResource { isActiveCMK?: boolean; keyVaultUrl?: string; -}; +} // @public export interface KeyInfoListResult { @@ -1376,787 +1385,506 @@ export type Kind = string; // @public export enum KnownAzureADOnlyAuthenticationName { - // (undocumented) Default = "default" } // @public export enum KnownAzureScaleType { - // (undocumented) Automatic = "automatic", - // (undocumented) Manual = "manual", - // (undocumented) None = "none" } // @public export enum KnownBlobAuditingPolicyName { - // (undocumented) Default = "default" } // @public export enum KnownBlobStorageEventType { - // (undocumented) MicrosoftStorageBlobCreated = "Microsoft.Storage.BlobCreated", - // (undocumented) MicrosoftStorageBlobRenamed = "Microsoft.Storage.BlobRenamed" } // @public export enum KnownClusterPrincipalRole { - // (undocumented) AllDatabasesAdmin = "AllDatabasesAdmin", - // (undocumented) AllDatabasesViewer = "AllDatabasesViewer" } // @public export enum KnownColumnDataType { - // (undocumented) Bigint = "bigint", - // (undocumented) Binary = "binary", - // (undocumented) Bit = "bit", - // (undocumented) Char = "char", - // (undocumented) Date = "date", - // (undocumented) Datetime = "datetime", - // (undocumented) Datetime2 = "datetime2", - // (undocumented) Datetimeoffset = "datetimeoffset", - // (undocumented) Decimal = "decimal", - // (undocumented) Float = "float", - // (undocumented) Geography = "geography", - // (undocumented) Geometry = "geometry", - // (undocumented) Hierarchyid = "hierarchyid", - // (undocumented) Image = "image", - // (undocumented) Int = "int", - // (undocumented) Money = "money", - // (undocumented) Nchar = "nchar", - // (undocumented) Ntext = "ntext", - // (undocumented) Numeric = "numeric", - // (undocumented) Nvarchar = "nvarchar", - // (undocumented) Real = "real", - // (undocumented) Smalldatetime = "smalldatetime", - // (undocumented) Smallint = "smallint", - // (undocumented) Smallmoney = "smallmoney", - // (undocumented) SqlVariant = "sql_variant", - // (undocumented) Sysname = "sysname", - // (undocumented) Text = "text", - // (undocumented) Time = "time", - // (undocumented) Timestamp = "timestamp", - // (undocumented) Tinyint = "tinyint", - // (undocumented) Uniqueidentifier = "uniqueidentifier", - // (undocumented) Varbinary = "varbinary", - // (undocumented) Varchar = "varchar", - // (undocumented) Xml = "xml" } // @public export enum KnownCompression { - // (undocumented) GZip = "GZip", - // (undocumented) None = "None" } // @public export enum KnownConfigurationType { - // (undocumented) Artifact = "Artifact", - // (undocumented) File = "File" } // @public export enum KnownConnectionPolicyName { - // (undocumented) Default = "default" } // @public export enum KnownCreatedByType { - // (undocumented) Application = "Application", - // (undocumented) Key = "Key", - // (undocumented) ManagedIdentity = "ManagedIdentity", - // (undocumented) User = "User" } // @public export enum KnownCreateMode { - // (undocumented) Default = "Default", - // (undocumented) PointInTimeRestore = "PointInTimeRestore", - // (undocumented) Recovery = "Recovery", - // (undocumented) Restore = "Restore" } // @public export enum KnownDatabasePrincipalRole { - // (undocumented) Admin = "Admin", - // (undocumented) Ingestor = "Ingestor", - // (undocumented) Monitor = "Monitor", - // (undocumented) UnrestrictedViewer = "UnrestrictedViewer", - // (undocumented) User = "User", - // (undocumented) Viewer = "Viewer" } // @public export enum KnownDataConnectionKind { - // (undocumented) EventGrid = "EventGrid", - // (undocumented) EventHub = "EventHub", - // (undocumented) IotHub = "IotHub" } // @public export enum KnownDataFlowComputeType { - // (undocumented) ComputeOptimized = "ComputeOptimized", - // (undocumented) General = "General", - // (undocumented) MemoryOptimized = "MemoryOptimized" } // @public export enum KnownDataWarehouseUserActivityName { - // (undocumented) Current = "current" } // @public export enum KnownDayOfWeek { - // (undocumented) Friday = "Friday", - // (undocumented) Monday = "Monday", - // (undocumented) Saturday = "Saturday", - // (undocumented) Sunday = "Sunday", - // (undocumented) Thursday = "Thursday", - // (undocumented) Tuesday = "Tuesday", - // (undocumented) Wednesday = "Wednesday" } // @public export enum KnownDedicatedSQLMinimalTlsSettingsName { - // (undocumented) Default = "default" } // @public export enum KnownDefaultPrincipalsModificationKind { - // (undocumented) None = "None", - // (undocumented) Replace = "Replace", - // (undocumented) Union = "Union" } // @public export enum KnownEncryptionProtectorName { - // (undocumented) Current = "current" } // @public export enum KnownEventGridDataFormat { - // (undocumented) Apacheavro = "APACHEAVRO", - // (undocumented) Avro = "AVRO", - // (undocumented) CSV = "CSV", - // (undocumented) Json = "JSON", - // (undocumented) Multijson = "MULTIJSON", - // (undocumented) ORC = "ORC", - // (undocumented) Parquet = "PARQUET", - // (undocumented) PSV = "PSV", - // (undocumented) RAW = "RAW", - // (undocumented) Scsv = "SCSV", - // (undocumented) Singlejson = "SINGLEJSON", - // (undocumented) Sohsv = "SOHSV", - // (undocumented) TSV = "TSV", - // (undocumented) Tsve = "TSVE", - // (undocumented) TXT = "TXT", - // (undocumented) W3Clogfile = "W3CLOGFILE" } // @public export enum KnownEventHubDataFormat { - // (undocumented) Apacheavro = "APACHEAVRO", - // (undocumented) Avro = "AVRO", - // (undocumented) CSV = "CSV", - // (undocumented) Json = "JSON", - // (undocumented) Multijson = "MULTIJSON", - // (undocumented) ORC = "ORC", - // (undocumented) Parquet = "PARQUET", - // (undocumented) PSV = "PSV", - // (undocumented) RAW = "RAW", - // (undocumented) Scsv = "SCSV", - // (undocumented) Singlejson = "SINGLEJSON", - // (undocumented) Sohsv = "SOHSV", - // (undocumented) TSV = "TSV", - // (undocumented) Tsve = "TSVE", - // (undocumented) TXT = "TXT", - // (undocumented) W3Clogfile = "W3CLOGFILE" } // @public export enum KnownGeoBackupPolicyName { - // (undocumented) Default = "Default" } // @public export enum KnownIntegrationRuntimeAuthKeyName { - // (undocumented) AuthKey1 = "authKey1", - // (undocumented) AuthKey2 = "authKey2" } // @public export enum KnownIntegrationRuntimeAutoUpdate { - // (undocumented) Off = "Off", - // (undocumented) On = "On" } // @public export enum KnownIntegrationRuntimeEdition { - // (undocumented) Enterprise = "Enterprise", - // (undocumented) Standard = "Standard" } // @public export enum KnownIntegrationRuntimeEntityReferenceType { - // (undocumented) IntegrationRuntimeReference = "IntegrationRuntimeReference", - // (undocumented) LinkedServiceReference = "LinkedServiceReference" } // @public export enum KnownIntegrationRuntimeInternalChannelEncryptionMode { - // (undocumented) NotEncrypted = "NotEncrypted", - // (undocumented) NotSet = "NotSet", - // (undocumented) SslEncrypted = "SslEncrypted" } // @public export enum KnownIntegrationRuntimeLicenseType { - // (undocumented) BasePrice = "BasePrice", - // (undocumented) LicenseIncluded = "LicenseIncluded" } // @public export enum KnownIntegrationRuntimeSsisCatalogPricingTier { - // (undocumented) Basic = "Basic", - // (undocumented) Premium = "Premium", - // (undocumented) PremiumRS = "PremiumRS", - // (undocumented) Standard = "Standard" } // @public export enum KnownIntegrationRuntimeState { - // (undocumented) AccessDenied = "AccessDenied", - // (undocumented) Initial = "Initial", - // (undocumented) Limited = "Limited", - // (undocumented) NeedRegistration = "NeedRegistration", - // (undocumented) Offline = "Offline", - // (undocumented) Online = "Online", - // (undocumented) Started = "Started", - // (undocumented) Starting = "Starting", - // (undocumented) Stopped = "Stopped", - // (undocumented) Stopping = "Stopping" } // @public export enum KnownIntegrationRuntimeType { - // (undocumented) Managed = "Managed", - // (undocumented) SelfHosted = "SelfHosted" } // @public export enum KnownIntegrationRuntimeUpdateResult { - // (undocumented) Fail = "Fail", - // (undocumented) None = "None", - // (undocumented) Succeed = "Succeed" } // @public export enum KnownIotHubDataFormat { - // (undocumented) Apacheavro = "APACHEAVRO", - // (undocumented) Avro = "AVRO", - // (undocumented) CSV = "CSV", - // (undocumented) Json = "JSON", - // (undocumented) Multijson = "MULTIJSON", - // (undocumented) ORC = "ORC", - // (undocumented) Parquet = "PARQUET", - // (undocumented) PSV = "PSV", - // (undocumented) RAW = "RAW", - // (undocumented) Scsv = "SCSV", - // (undocumented) Singlejson = "SINGLEJSON", - // (undocumented) Sohsv = "SOHSV", - // (undocumented) TSV = "TSV", - // (undocumented) Tsve = "TSVE", - // (undocumented) TXT = "TXT", - // (undocumented) W3Clogfile = "W3CLOGFILE" } // @public export enum KnownKind { - // (undocumented) ReadOnlyFollowing = "ReadOnlyFollowing", - // (undocumented) ReadWrite = "ReadWrite" } // @public export enum KnownLanguageExtensionName { - // (undocumented) Python = "PYTHON", // (undocumented) R = "R" } -// @public -export enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState { - // (undocumented) - Disabled = "Disabled", - // (undocumented) - Disabling = "Disabling", - // (undocumented) - Enabled = "Enabled", - // (undocumented) - Enabling = "Enabling", - // (undocumented) - Unknown = "Unknown" -} - -// @public -export enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState { - // (undocumented) - Disabled = "Disabled", - // (undocumented) - Enabled = "Enabled" -} - // @public export enum KnownManagedIntegrationRuntimeNodeStatus { - // (undocumented) Available = "Available", - // (undocumented) Recycling = "Recycling", - // (undocumented) Starting = "Starting", - // (undocumented) Unavailable = "Unavailable" } // @public export enum KnownManagementOperationState { - // (undocumented) CancelInProgress = "CancelInProgress", - // (undocumented) Cancelled = "Cancelled", - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Pending = "Pending", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownNodeSize { - // (undocumented) Large = "Large", - // (undocumented) Medium = "Medium", - // (undocumented) None = "None", - // (undocumented) Small = "Small", - // (undocumented) XLarge = "XLarge", - // (undocumented) XXLarge = "XXLarge", - // (undocumented) XXXLarge = "XXXLarge" } // @public export enum KnownNodeSizeFamily { - // (undocumented) HardwareAcceleratedFpga = "HardwareAcceleratedFPGA", - // (undocumented) HardwareAcceleratedGPU = "HardwareAcceleratedGPU", - // (undocumented) MemoryOptimized = "MemoryOptimized", - // (undocumented) None = "None" } // @public export enum KnownOperationStatus { - // (undocumented) Canceled = "Canceled", - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownPrincipalsModificationKind { - // (undocumented) None = "None", - // (undocumented) Replace = "Replace", - // (undocumented) Union = "Union" } // @public export enum KnownPrincipalType { - // (undocumented) App = "App", - // (undocumented) Group = "Group", - // (undocumented) User = "User" } // @public export enum KnownProvisioningState { - // (undocumented) DeleteError = "DeleteError", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Provisioning = "Provisioning", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownReason { - // (undocumented) AlreadyExists = "AlreadyExists", - // (undocumented) Invalid = "Invalid" } // @public export enum KnownReplicationState { - // (undocumented) CatchUP = "CATCH_UP", - // (undocumented) Pending = "PENDING", - // (undocumented) Seeding = "SEEDING", - // (undocumented) Suspended = "SUSPENDED" } // @public export enum KnownResourceProvisioningState { - // (undocumented) Canceled = "Canceled", - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Moving = "Moving", - // (undocumented) Running = "Running", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownSecurityAlertPolicyName { - // (undocumented) Default = "default" } // @public export enum KnownSecurityAlertPolicyNameAutoGenerated { - // (undocumented) Default = "Default" } // @public export enum KnownSelfHostedIntegrationRuntimeNodeStatus { - // (undocumented) InitializeFailed = "InitializeFailed", - // (undocumented) Initializing = "Initializing", - // (undocumented) Limited = "Limited", - // (undocumented) NeedRegistration = "NeedRegistration", - // (undocumented) Offline = "Offline", - // (undocumented) Online = "Online", - // (undocumented) Upgrading = "Upgrading" } // @public export enum KnownServerKeyType { - // (undocumented) AzureKeyVault = "AzureKeyVault", - // (undocumented) ServiceManaged = "ServiceManaged" } // @public export enum KnownSkuName { - // (undocumented) ComputeOptimized = "Compute optimized", - // (undocumented) StorageOptimized = "Storage optimized" } // @public export enum KnownSkuSize { - // (undocumented) ExtraSmall = "Extra small", - // (undocumented) Large = "Large", - // (undocumented) Medium = "Medium", - // (undocumented) Small = "Small" } // @public export enum KnownSsisObjectMetadataType { - // (undocumented) Environment = "Environment", - // (undocumented) Folder = "Folder", - // (undocumented) Package = "Package", - // (undocumented) Project = "Project" } // @public export enum KnownState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleted = "Deleted", - // (undocumented) Deleting = "Deleting", - // (undocumented) Running = "Running", - // (undocumented) Starting = "Starting", - // (undocumented) Stopped = "Stopped", - // (undocumented) Stopping = "Stopping", - // (undocumented) Unavailable = "Unavailable", - // (undocumented) Updating = "Updating" } // @public export enum KnownStateValue { - // (undocumented) Consistent = "Consistent", - // (undocumented) InConsistent = "InConsistent", - // (undocumented) Updating = "Updating" } // @public export enum KnownStorageAccountType { - // (undocumented) GRS = "GRS", - // (undocumented) LRS = "LRS" } // @public export enum KnownTransparentDataEncryptionName { - // (undocumented) Current = "current" } // @public export enum KnownVulnerabilityAssessmentName { - // (undocumented) Default = "default" } // @public export enum KnownVulnerabilityAssessmentScanState { - // (undocumented) Failed = "Failed", - // (undocumented) FailedToRun = "FailedToRun", - // (undocumented) InProgress = "InProgress", - // (undocumented) Passed = "Passed" } // @public export enum KnownVulnerabilityAssessmentScanTriggerType { - // (undocumented) OnDemand = "OnDemand", - // (undocumented) Recurring = "Recurring" } // @public export enum KnownWorkspacePublicNetworkAccess { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } @@ -2180,21 +1908,21 @@ export interface KustoOperationsListOptionalParams extends coreClient.OperationO export type KustoOperationsListResponse = OperationListResult; // @public -export type KustoPool = TrackedResource & { - sku: AzureSku; - readonly etag?: string; - readonly systemData?: SystemData; - readonly state?: State; - readonly provisioningState?: ResourceProvisioningState; - readonly uri?: string; +export interface KustoPool extends TrackedResource { readonly dataIngestionUri?: string; - readonly stateReason?: string; - optimizedAutoscale?: OptimizedAutoscale; - enableStreamingIngest?: boolean; enablePurge?: boolean; + enableStreamingIngest?: boolean; + readonly etag?: string; readonly languageExtensions?: LanguageExtensionsList; + optimizedAutoscale?: OptimizedAutoscale; + readonly provisioningState?: ResourceProvisioningState; + sku: AzureSku; + readonly state?: State; + readonly stateReason?: string; + readonly systemData?: SystemData; + readonly uri?: string; workspaceUID?: string; -}; +} // @public export interface KustoPoolAttachedDatabaseConfigurations { @@ -2605,22 +2333,22 @@ export interface KustoPoolsUpdateOptionalParams extends coreClient.OperationOpti export type KustoPoolsUpdateResponse = KustoPool; // @public -export type KustoPoolUpdate = Resource & { +export interface KustoPoolUpdate extends Resource { + readonly dataIngestionUri?: string; + enablePurge?: boolean; + enableStreamingIngest?: boolean; + readonly languageExtensions?: LanguageExtensionsList; + optimizedAutoscale?: OptimizedAutoscale; + readonly provisioningState?: ResourceProvisioningState; + sku?: AzureSku; + readonly state?: State; + readonly stateReason?: string; tags?: { [propertyName: string]: string; }; - sku?: AzureSku; - readonly state?: State; - readonly provisioningState?: ResourceProvisioningState; readonly uri?: string; - readonly dataIngestionUri?: string; - readonly stateReason?: string; - optimizedAutoscale?: OptimizedAutoscale; - enableStreamingIngest?: boolean; - enablePurge?: boolean; - readonly languageExtensions?: LanguageExtensionsList; workspaceUID?: string; -}; +} // @public export interface LanguageExtension { @@ -2691,15 +2419,15 @@ export interface LibraryRequirements { } // @public -export type LibraryResource = SubResource & { +export interface LibraryResource extends SubResource { + containerName?: string; + readonly creatorId?: string; namePropertiesName?: string; path?: string; - containerName?: string; - uploadedTimestamp?: Date; - typePropertiesType?: string; readonly provisioningStatus?: string; - readonly creatorId?: string; -}; + typePropertiesType?: string; + uploadedTimestamp?: Date; +} // @public export interface LinkedIntegrationRuntime { @@ -2711,16 +2439,16 @@ export interface LinkedIntegrationRuntime { } // @public -export type LinkedIntegrationRuntimeKeyAuthorization = LinkedIntegrationRuntimeType & { +export interface LinkedIntegrationRuntimeKeyAuthorization extends LinkedIntegrationRuntimeType { authorizationType: "Key"; key: SecureString; -}; +} // @public -export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntimeType & { +export interface LinkedIntegrationRuntimeRbacAuthorization extends LinkedIntegrationRuntimeType { authorizationType: "RBAC"; resourceId: string; -}; +} // @public export interface LinkedIntegrationRuntimeType { @@ -2742,20 +2470,21 @@ export interface ListSqlPoolSecurityAlertPolicies { } // @public -export type MaintenanceWindowOptions = ProxyResource & { +export interface MaintenanceWindowOptions extends ProxyResource { + allowMultipleMaintenanceWindowsPerCycle?: boolean; + defaultDurationInMinutes?: number; isEnabled?: boolean; maintenanceWindowCycles?: MaintenanceWindowTimeRange[]; - minDurationInMinutes?: number; - defaultDurationInMinutes?: number; minCycles?: number; + minDurationInMinutes?: number; timeGranularityInMinutes?: number; - allowMultipleMaintenanceWindowsPerCycle?: boolean; -}; +} // @public -export type MaintenanceWindows = ProxyResource & { +export interface MaintenanceWindows extends ProxyResource { + // (undocumented) timeRanges?: MaintenanceWindowTimeRange[]; -}; +} // @public export interface MaintenanceWindowTimeRange { @@ -2775,32 +2504,26 @@ export interface ManagedIdentity { } // @public -export type ManagedIdentitySqlControlSettingsModel = ProxyResource & { +export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; -}; +} // @public export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { - readonly actualState?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState; - desiredState?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState; + readonly actualState?: ActualState; + desiredState?: DesiredState; } // @public -export type ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState = string; - -// @public -export type ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState = string; - -// @public -export type ManagedIntegrationRuntime = IntegrationRuntime & { - type: "Managed"; - readonly state?: IntegrationRuntimeState; - referenceName?: string; - typeManagedVirtualNetworkType?: string; - id?: string; +export interface ManagedIntegrationRuntime extends IntegrationRuntime { computeProperties?: IntegrationRuntimeComputeProperties; + id?: string; + referenceName?: string; ssisProperties?: IntegrationRuntimeSsisProperties; -}; + readonly state?: IntegrationRuntimeState; + type: "Managed"; + typeManagedVirtualNetworkType?: string; +} // @public export interface ManagedIntegrationRuntimeError { @@ -2834,13 +2557,13 @@ export interface ManagedIntegrationRuntimeOperationResult { } // @public -export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { - type: "Managed"; +export interface ManagedIntegrationRuntimeStatus extends IntegrationRuntimeStatus { readonly createTime?: Date; + readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; readonly nodes?: ManagedIntegrationRuntimeNode[]; readonly otherErrors?: ManagedIntegrationRuntimeError[]; - readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; -}; + type: "Managed"; +} // @public export interface ManagedVirtualNetworkSettings { @@ -2853,10 +2576,10 @@ export interface ManagedVirtualNetworkSettings { export type ManagementOperationState = string; // @public -export type MetadataSyncConfig = ProxyResource & { +export interface MetadataSyncConfig extends ProxyResource { enabled?: boolean; syncIntervalInMinutes?: number; -}; +} // @public export type NodeSize = string; @@ -2989,17 +2712,19 @@ export interface PrivateEndpoint { } // @public -export type PrivateEndpointConnection = ProxyResource & { +export interface PrivateEndpointConnection extends ProxyResource { privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; readonly provisioningState?: string; -}; +} // @public (undocumented) -export type PrivateEndpointConnectionForPrivateLinkHub = PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated & { +export interface PrivateEndpointConnectionForPrivateLinkHub extends PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated { + // (undocumented) name?: string; + // (undocumented) type?: string; -}; +} // @public export interface PrivateEndpointConnectionForPrivateLinkHubBasic { @@ -3111,10 +2836,10 @@ export interface PrivateEndpointConnectionsPrivateLinkHubListOptionalParams exte export type PrivateEndpointConnectionsPrivateLinkHubListResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; // @public -export type PrivateLinkHub = TrackedResource & { - provisioningState?: string; +export interface PrivateLinkHub extends TrackedResource { readonly privateEndpointConnections?: PrivateEndpointConnectionForPrivateLinkHubBasic[]; -}; + provisioningState?: string; +} // @public export interface PrivateLinkHubInfoListResult { @@ -3223,9 +2948,9 @@ export interface PrivateLinkHubsUpdateOptionalParams extends coreClient.Operatio export type PrivateLinkHubsUpdateResponse = PrivateLinkHub; // @public -export type PrivateLinkResource = ProxyResource & { +export interface PrivateLinkResource extends ProxyResource { readonly properties?: PrivateLinkResourceProperties; -}; +} // @public export interface PrivateLinkResourceListResult { @@ -3278,7 +3003,8 @@ export interface PrivateLinkServiceConnectionState { export type ProvisioningState = string; // @public -export type ProxyResource = Resource & {}; +export interface ProxyResource extends Resource { +} // @public export interface PurviewConfiguration { @@ -3319,35 +3045,36 @@ export interface QueryStatistic { } // @public -export type ReadOnlyFollowingDatabase = Database & { - readonly provisioningState?: ResourceProvisioningState; - readonly softDeletePeriod?: string; +export interface ReadOnlyFollowingDatabase extends Database { + readonly attachedDatabaseConfigurationName?: string; hotCachePeriod?: string; - readonly statistics?: DatabaseStatistics; readonly leaderClusterResourceId?: string; - readonly attachedDatabaseConfigurationName?: string; readonly principalsModificationKind?: PrincipalsModificationKind; -}; + readonly provisioningState?: ResourceProvisioningState; + readonly softDeletePeriod?: string; + readonly statistics?: DatabaseStatistics; +} // @public -export type ReadWriteDatabase = Database & { +export interface ReadWriteDatabase extends Database { + hotCachePeriod?: string; + readonly isFollowed?: boolean; readonly provisioningState?: ResourceProvisioningState; softDeletePeriod?: string; - hotCachePeriod?: string; readonly statistics?: DatabaseStatistics; - readonly isFollowed?: boolean; -}; +} // @public export type Reason = string; // @public -export type RecommendedSensitivityLabelUpdate = ProxyResource & { +export interface RecommendedSensitivityLabelUpdate extends ProxyResource { + column?: string; + // (undocumented) op?: RecommendedSensitivityLabelUpdateKind; schema?: string; table?: string; - column?: string; -}; +} // @public export type RecommendedSensitivityLabelUpdateKind = "enable" | "disable"; @@ -3359,12 +3086,12 @@ export interface RecommendedSensitivityLabelUpdateList { } // @public -export type RecoverableSqlPool = ProxyResource & { +export interface RecoverableSqlPool extends ProxyResource { readonly edition?: string; - readonly serviceLevelObjective?: string; readonly elasticPoolName?: string; readonly lastAvailableBackupDate?: Date; -}; + readonly serviceLevelObjective?: string; +} // @public export interface RecoverableSqlPoolListResult { @@ -3385,19 +3112,19 @@ export interface ReplaceAllIpFirewallRulesRequest { } // @public -export type ReplicationLink = ProxyResource & { - readonly location?: string; +export interface ReplicationLink extends ProxyResource { readonly isTerminationAllowed?: boolean; - readonly replicationMode?: string; - readonly partnerServer?: string; + readonly location?: string; readonly partnerDatabase?: string; readonly partnerLocation?: string; - readonly role?: ReplicationRole; readonly partnerRole?: ReplicationRole; - readonly startTime?: Date; + readonly partnerServer?: string; readonly percentComplete?: number; + readonly replicationMode?: string; readonly replicationState?: ReplicationState; -}; + readonly role?: ReplicationRole; + readonly startTime?: Date; +} // @public export interface ReplicationLinkListResult { @@ -3430,17 +3157,17 @@ export interface ResourceMoveDefinition { export type ResourceProvisioningState = string; // @public -export type RestorableDroppedSqlPool = ProxyResource & { - readonly location?: string; +export interface RestorableDroppedSqlPool extends ProxyResource { + readonly creationDate?: Date; readonly databaseName?: string; + readonly deletionDate?: Date; + readonly earliestRestoreDate?: Date; readonly edition?: string; + readonly elasticPoolName?: string; + readonly location?: string; readonly maxSizeBytes?: string; readonly serviceLevelObjective?: string; - readonly elasticPoolName?: string; - readonly creationDate?: Date; - readonly deletionDate?: Date; - readonly earliestRestoreDate?: Date; -}; +} // @public export interface RestorableDroppedSqlPoolListResult { @@ -3467,14 +3194,14 @@ export interface RestorableDroppedSqlPoolsListByWorkspaceOptionalParams extends // @public export type RestorableDroppedSqlPoolsListByWorkspaceResponse = RestorableDroppedSqlPoolListResult; -// @public -export type RestorePoint = ProxyResource & { - readonly location?: string; - readonly restorePointType?: RestorePointType; +// @public +export interface RestorePoint extends ProxyResource { readonly earliestRestoreDate?: Date; + readonly location?: string; readonly restorePointCreationDate?: Date; readonly restorePointLabel?: string; -}; + readonly restorePointType?: RestorePointType; +} // @public export interface RestorePointListResult { @@ -3494,10 +3221,10 @@ export interface SecretBase { export type SecretBaseUnion = SecretBase | SecureString; // @public -export type SecureString = SecretBase & { +export interface SecureString extends SecretBase { type: "SecureString"; value: string; -}; +} // @public export type SecurityAlertPolicyName = string; @@ -3509,10 +3236,10 @@ export type SecurityAlertPolicyNameAutoGenerated = string; export type SecurityAlertPolicyState = "New" | "Enabled" | "Disabled"; // @public -export type SelfHostedIntegrationRuntime = IntegrationRuntime & { - type: "SelfHosted"; +export interface SelfHostedIntegrationRuntime extends IntegrationRuntime { linkedInfo?: LinkedIntegrationRuntimeTypeUnion; -}; + type: "SelfHosted"; +} // @public export interface SelfHostedIntegrationRuntimeNode { @@ -3543,44 +3270,45 @@ export interface SelfHostedIntegrationRuntimeNode { export type SelfHostedIntegrationRuntimeNodeStatus = string; // @public -export type SelfHostedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { - type: "SelfHosted"; - readonly createTime?: Date; - readonly taskQueueId?: string; - readonly nodeCommunicationChannelEncryptionMode?: string; - readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; - readonly version?: string; - nodes?: SelfHostedIntegrationRuntimeNode[]; - readonly scheduledUpdateDate?: Date; - readonly updateDelayOffset?: string; - readonly localTimeZoneOffset?: string; +export interface SelfHostedIntegrationRuntimeStatus extends IntegrationRuntimeStatus { + readonly autoUpdate?: IntegrationRuntimeAutoUpdate; + readonly autoUpdateETA?: Date; readonly capabilities?: { [propertyName: string]: string; }; - readonly serviceUrls?: string[]; - readonly autoUpdate?: IntegrationRuntimeAutoUpdate; - readonly versionStatus?: string; + readonly createTime?: Date; + readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; + readonly latestVersion?: string; links?: LinkedIntegrationRuntime[]; + readonly localTimeZoneOffset?: string; + newerVersions?: string[]; + readonly nodeCommunicationChannelEncryptionMode?: string; + nodes?: SelfHostedIntegrationRuntimeNode[]; readonly pushedVersion?: string; - readonly latestVersion?: string; - readonly autoUpdateETA?: Date; + readonly scheduledUpdateDate?: Date; serviceRegion?: string; - newerVersions?: string[]; -}; + readonly serviceUrls?: string[]; + readonly taskQueueId?: string; + type: "SelfHosted"; + readonly updateDelayOffset?: string; + readonly version?: string; + readonly versionStatus?: string; +} // @public -export type SensitivityLabel = ProxyResource & { - readonly managedBy?: string; - readonly schemaName?: string; - readonly tableName?: string; +export interface SensitivityLabel extends ProxyResource { readonly columnName?: string; - labelName?: string; - labelId?: string; informationType?: string; informationTypeId?: string; readonly isDisabled?: boolean; + labelId?: string; + labelName?: string; + readonly managedBy?: string; + // (undocumented) rank?: SensitivityLabelRank; -}; + readonly schemaName?: string; + readonly tableName?: string; +} // @public export interface SensitivityLabelListResult { @@ -3595,13 +3323,14 @@ export type SensitivityLabelRank = "None" | "Low" | "Medium" | "High" | "Critica export type SensitivityLabelSource = "current" | "recommended"; // @public -export type SensitivityLabelUpdate = ProxyResource & { +export interface SensitivityLabelUpdate extends ProxyResource { + column?: string; + // (undocumented) op?: SensitivityLabelUpdateKind; schema?: string; - table?: string; - column?: string; sensitivityLabel?: SensitivityLabel; -}; + table?: string; +} // @public export type SensitivityLabelUpdateKind = "set" | "remove"; @@ -3613,18 +3342,18 @@ export interface SensitivityLabelUpdateList { } // @public -export type ServerBlobAuditingPolicy = ProxyResource & { - state?: BlobAuditingPolicyState; - storageEndpoint?: string; - storageAccountAccessKey?: string; - retentionDays?: number; +export interface ServerBlobAuditingPolicy extends ProxyResource { auditActionsAndGroups?: string[]; - storageAccountSubscriptionId?: string; - isStorageSecondaryKeyInUse?: boolean; isAzureMonitorTargetEnabled?: boolean; - queueDelayMs?: number; isDevopsAuditEnabled?: boolean; -}; + isStorageSecondaryKeyInUse?: boolean; + queueDelayMs?: number; + retentionDays?: number; + state?: BlobAuditingPolicyState; + storageAccountAccessKey?: string; + storageAccountSubscriptionId?: string; + storageEndpoint?: string; +} // @public export interface ServerBlobAuditingPolicyListResult { @@ -3636,16 +3365,16 @@ export interface ServerBlobAuditingPolicyListResult { export type ServerKeyType = string; // @public -export type ServerSecurityAlertPolicy = ProxyResource & { - state?: SecurityAlertPolicyState; +export interface ServerSecurityAlertPolicy extends ProxyResource { + readonly creationTime?: Date; disabledAlerts?: string[]; - emailAddresses?: string[]; emailAccountAdmins?: boolean; - storageEndpoint?: string; - storageAccountAccessKey?: string; + emailAddresses?: string[]; retentionDays?: number; - readonly creationTime?: Date; -}; + state?: SecurityAlertPolicyState; + storageAccountAccessKey?: string; + storageEndpoint?: string; +} // @public export interface ServerSecurityAlertPolicyListResult { @@ -3671,12 +3400,12 @@ export interface ServerUsageListResult { } // @public -export type ServerVulnerabilityAssessment = ProxyResource & { +export interface ServerVulnerabilityAssessment extends ProxyResource { + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + storageAccountAccessKey?: string; storageContainerPath?: string; storageContainerSasKey?: string; - storageAccountAccessKey?: string; - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -}; +} // @public export interface ServerVulnerabilityAssessmentListResult { @@ -3745,16 +3474,19 @@ export interface SparkConfigurationListResponse { } // @public -export type SparkConfigurationResource = SubResource & { - description?: string; +export interface SparkConfigurationResource extends SubResource { + annotations?: string[]; + configMergeRule?: { + [propertyName: string]: string; + }; configs: { [propertyName: string]: string; }; - annotations?: string[]; - notes?: string; - createdBy?: string; created?: Date; -}; + createdBy?: string; + description?: string; + notes?: string; +} // @public export interface SparkConfigurations { @@ -3776,20 +3508,20 @@ export interface SparkConfigurationsListByWorkspaceOptionalParams extends coreCl export type SparkConfigurationsListByWorkspaceResponse = SparkConfigurationListResponse; // @public -export type SqlPool = TrackedResource & { - sku?: Sku; - maxSizeBytes?: number; +export interface SqlPool extends TrackedResource { collation?: string; - sourceDatabaseId?: string; - recoverableDatabaseId?: string; - provisioningState?: string; - readonly status?: string; - restorePointInTime?: Date; createMode?: CreateMode; readonly creationDate?: Date; - storageAccountType?: StorageAccountType; + maxSizeBytes?: number; + provisioningState?: string; + recoverableDatabaseId?: string; + restorePointInTime?: Date; + sku?: Sku; sourceDatabaseDeletionDate?: Date; -}; + sourceDatabaseId?: string; + readonly status?: string; + storageAccountType?: StorageAccountType; +} // @public export interface SqlPoolBlobAuditingPolicies { @@ -3827,17 +3559,17 @@ export interface SqlPoolBlobAuditingPoliciesListBySqlPoolOptionalParams extends export type SqlPoolBlobAuditingPoliciesListBySqlPoolResponse = SqlPoolBlobAuditingPolicyListResult; // @public -export type SqlPoolBlobAuditingPolicy = ProxyResource & { +export interface SqlPoolBlobAuditingPolicy extends ProxyResource { + auditActionsAndGroups?: string[]; + isAzureMonitorTargetEnabled?: boolean; + isStorageSecondaryKeyInUse?: boolean; readonly kind?: string; + retentionDays?: number; state?: BlobAuditingPolicyState; - storageEndpoint?: string; storageAccountAccessKey?: string; - retentionDays?: number; - auditActionsAndGroups?: string[]; storageAccountSubscriptionId?: string; - isStorageSecondaryKeyInUse?: boolean; - isAzureMonitorTargetEnabled?: boolean; -}; + storageEndpoint?: string; +} // @public export interface SqlPoolBlobAuditingPolicyListResult { @@ -3852,10 +3584,10 @@ export interface SqlPoolBlobAuditingPolicySqlPoolOperationListResult { } // @public -export type SqlPoolColumn = ProxyResource & { +export interface SqlPoolColumn extends ProxyResource { columnType?: ColumnDataType; readonly isComputed?: boolean; -}; +} // @public export interface SqlPoolColumnListResult { @@ -3888,17 +3620,17 @@ export interface SqlPoolConnectionPoliciesGetOptionalParams extends coreClient.O export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy; // @public -export type SqlPoolConnectionPolicy = ProxyResource & { +export interface SqlPoolConnectionPolicy extends ProxyResource { readonly kind?: string; readonly location?: string; - securityEnabledAccess?: string; proxyDnsName?: string; proxyPort?: string; - visibility?: string; - useServerDefault?: string; redirectionState?: string; + securityEnabledAccess?: string; state?: string; -}; + useServerDefault?: string; + visibility?: string; +} // @public export interface SqlPoolDataWarehouseUserActivities { @@ -3996,22 +3728,22 @@ export interface SqlPoolMetadataSyncConfigsGetOptionalParams extends coreClient. export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig; // @public -export type SqlPoolOperation = ProxyResource & { +export interface SqlPoolOperation extends ProxyResource { readonly databaseName?: string; + readonly description?: string; + readonly errorCode?: number; + readonly errorDescription?: string; + readonly errorSeverity?: number; + readonly estimatedCompletionTime?: Date; + readonly isCancellable?: boolean; + readonly isUserError?: boolean; readonly operation?: string; readonly operationFriendlyName?: string; readonly percentComplete?: number; readonly serverName?: string; readonly startTime?: Date; readonly state?: ManagementOperationState; - readonly errorCode?: number; - readonly errorDescription?: string; - readonly errorSeverity?: number; - readonly isUserError?: boolean; - readonly estimatedCompletionTime?: Date; - readonly description?: string; - readonly isCancellable?: boolean; -}; +} // @public export interface SqlPoolOperationResults { @@ -4160,7 +3892,8 @@ export interface SqlPools { } // @public -export type SqlPoolSchema = ProxyResource & {}; +export interface SqlPoolSchema extends ProxyResource { +} // @public export interface SqlPoolSchemaListResult { @@ -4251,16 +3984,16 @@ export interface SqlPoolSecurityAlertPoliciesListOptionalParams extends coreClie export type SqlPoolSecurityAlertPoliciesListResponse = ListSqlPoolSecurityAlertPolicies; // @public -export type SqlPoolSecurityAlertPolicy = ProxyResource & { - state?: SecurityAlertPolicyState; +export interface SqlPoolSecurityAlertPolicy extends ProxyResource { + readonly creationTime?: Date; disabledAlerts?: string[]; - emailAddresses?: string[]; emailAccountAdmins?: boolean; - storageEndpoint?: string; - storageAccountAccessKey?: string; + emailAddresses?: string[]; retentionDays?: number; - readonly creationTime?: Date; -}; + state?: SecurityAlertPolicyState; + storageAccountAccessKey?: string; + storageEndpoint?: string; +} // @public export interface SqlPoolSensitivityLabels { @@ -4391,7 +4124,8 @@ export interface SqlPoolsUpdateOptionalParams extends coreClient.OperationOption export type SqlPoolsUpdateResponse = SqlPool; // @public -export type SqlPoolTable = ProxyResource & {}; +export interface SqlPoolTable extends ProxyResource { +} // @public export interface SqlPoolTableColumns { @@ -4521,12 +4255,12 @@ export interface SqlPoolUsagesListOptionalParams extends coreClient.OperationOpt export type SqlPoolUsagesListResponse = SqlPoolUsageListResult; // @public -export type SqlPoolVulnerabilityAssessment = ProxyResource & { +export interface SqlPoolVulnerabilityAssessment extends ProxyResource { + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + storageAccountAccessKey?: string; storageContainerPath?: string; storageContainerSasKey?: string; - storageAccountAccessKey?: string; - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -}; +} // @public export interface SqlPoolVulnerabilityAssessmentListResult { @@ -4535,9 +4269,9 @@ export interface SqlPoolVulnerabilityAssessmentListResult { } // @public -export type SqlPoolVulnerabilityAssessmentRuleBaseline = ProxyResource & { +export interface SqlPoolVulnerabilityAssessmentRuleBaseline extends ProxyResource { baselineResults?: SqlPoolVulnerabilityAssessmentRuleBaselineItem[]; -}; +} // @public export interface SqlPoolVulnerabilityAssessmentRuleBaselineItem { @@ -4587,9 +4321,9 @@ export interface SqlPoolVulnerabilityAssessmentScans { } // @public -export type SqlPoolVulnerabilityAssessmentScansExport = ProxyResource & { +export interface SqlPoolVulnerabilityAssessmentScansExport extends ProxyResource { readonly exportedReportLocation?: string; -}; +} // @public export interface SqlPoolVulnerabilityAssessmentScansExportOptionalParams extends coreClient.OperationOptions { @@ -4750,11 +4484,11 @@ export interface SqlPoolWorkloadGroupListOptionalParams extends coreClient.Opera export type SqlPoolWorkloadGroupListResponse = WorkloadGroupListResult; // @public -export type SsisEnvironment = SsisObjectMetadata & { - type: "Environment"; +export interface SsisEnvironment extends SsisObjectMetadata { folderId?: number; + type: "Environment"; variables?: SsisVariable[]; -}; +} // @public export interface SsisEnvironmentReference { @@ -4765,9 +4499,9 @@ export interface SsisEnvironmentReference { } // @public -export type SsisFolder = SsisObjectMetadata & { +export interface SsisFolder extends SsisObjectMetadata { type: "Folder"; -}; +} // @public export interface SsisObjectMetadata { @@ -4798,13 +4532,13 @@ export type SsisObjectMetadataType = string; export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; // @public -export type SsisPackage = SsisObjectMetadata & { - type: "Package"; +export interface SsisPackage extends SsisObjectMetadata { folderId?: number; - projectVersion?: number; - projectId?: number; parameters?: SsisParameter[]; -}; + projectId?: number; + projectVersion?: number; + type: "Package"; +} // @public export interface SsisParameter { @@ -4823,13 +4557,13 @@ export interface SsisParameter { } // @public -export type SsisProject = SsisObjectMetadata & { - type: "Project"; - folderId?: number; - version?: number; +export interface SsisProject extends SsisObjectMetadata { environmentRefs?: SsisEnvironmentReference[]; + folderId?: number; parameters?: SsisParameter[]; -}; + type: "Project"; + version?: number; +} // @public export interface SsisVariable { @@ -4852,7 +4586,8 @@ export type StateValue = string; export type StorageAccountType = string; // @public -export type SubResource = AzureEntityResource & {}; +export interface SubResource extends AzureEntityResource { +} // @public (undocumented) export class SynapseManagementClient extends coreClient.ServiceClient { @@ -5053,18 +4788,18 @@ export interface TopQueriesListResult { } // @public -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { + location: string; tags?: { [propertyName: string]: string; }; - location: string; -}; +} // @public -export type TransparentDataEncryption = ProxyResource & { +export interface TransparentDataEncryption extends ProxyResource { readonly location?: string; status?: TransparentDataEncryptionStatus; -}; +} // @public export interface TransparentDataEncryptionListResult { @@ -5123,16 +4858,16 @@ export interface VulnerabilityAssessmentScanError { } // @public -export type VulnerabilityAssessmentScanRecord = ProxyResource & { - readonly scanId?: string; - readonly triggerType?: VulnerabilityAssessmentScanTriggerType; - readonly state?: VulnerabilityAssessmentScanState; - readonly startTime?: Date; +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { readonly endTime?: Date; readonly errors?: VulnerabilityAssessmentScanError[]; - readonly storageContainerPath?: string; readonly numberOfFailedSecurityChecks?: number; -}; + readonly scanId?: string; + readonly startTime?: Date; + readonly state?: VulnerabilityAssessmentScanState; + readonly storageContainerPath?: string; + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; +} // @public export interface VulnerabilityAssessmentScanRecordListResult { @@ -5147,14 +4882,14 @@ export type VulnerabilityAssessmentScanState = string; export type VulnerabilityAssessmentScanTriggerType = string; // @public -export type WorkloadClassifier = ProxyResource & { - memberName?: string; - label?: string; +export interface WorkloadClassifier extends ProxyResource { context?: string; - startTime?: string; endTime?: string; importance?: string; -}; + label?: string; + memberName?: string; + startTime?: string; +} // @public export interface WorkloadClassifierListResult { @@ -5163,14 +4898,14 @@ export interface WorkloadClassifierListResult { } // @public -export type WorkloadGroup = ProxyResource & { - minResourcePercent?: number; +export interface WorkloadGroup extends ProxyResource { + importance?: string; maxResourcePercent?: number; - minResourcePercentPerRequest?: number; maxResourcePercentPerRequest?: number; - importance?: string; + minResourcePercent?: number; + minResourcePercentPerRequest?: number; queryExecutionTimeout?: number; -}; +} // @public export interface WorkloadGroupListResult { @@ -5179,44 +4914,44 @@ export interface WorkloadGroupListResult { } // @public -export type Workspace = TrackedResource & { - identity?: ManagedIdentity; - defaultDataLakeStorage?: DataLakeStorageAccountDetails; - sqlAdministratorLoginPassword?: string; - managedResourceGroupName?: string; - readonly provisioningState?: string; - sqlAdministratorLogin?: string; - virtualNetworkProfile?: VirtualNetworkProfile; +export interface Workspace extends TrackedResource { + readonly adlaResourceId?: string; + azureADOnlyAuthentication?: boolean; connectivityEndpoints?: { [propertyName: string]: string; }; - managedVirtualNetwork?: string; - privateEndpointConnections?: PrivateEndpointConnection[]; + cspWorkspaceAdminProperties?: CspWorkspaceAdminProperties; + defaultDataLakeStorage?: DataLakeStorageAccountDetails; encryption?: EncryptionDetails; - readonly workspaceUID?: string; readonly extraProperties?: { [propertyName: string]: Record; }; + identity?: ManagedIdentity; + managedResourceGroupName?: string; + managedVirtualNetwork?: string; managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; - workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; - purviewConfiguration?: PurviewConfiguration; - readonly adlaResourceId?: string; + privateEndpointConnections?: PrivateEndpointConnection[]; + readonly provisioningState?: string; publicNetworkAccess?: WorkspacePublicNetworkAccess; - cspWorkspaceAdminProperties?: CspWorkspaceAdminProperties; + purviewConfiguration?: PurviewConfiguration; readonly settings?: { [propertyName: string]: Record; }; - azureADOnlyAuthentication?: boolean; + sqlAdministratorLogin?: string; + sqlAdministratorLoginPassword?: string; trustedServiceBypassEnabled?: boolean; -}; + virtualNetworkProfile?: VirtualNetworkProfile; + workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; + readonly workspaceUID?: string; +} // @public -export type WorkspaceAadAdminInfo = ProxyResource & { - tenantId?: string; - login?: string; +export interface WorkspaceAadAdminInfo extends ProxyResource { administratorType?: string; + login?: string; sid?: string; -}; + tenantId?: string; +} // @public export interface WorkspaceAadAdmins { diff --git a/sdk/synapse/arm-synapse/src/models/index.ts b/sdk/synapse/arm-synapse/src/models/index.ts index 56d8da245015..7228cf371181 100644 --- a/sdk/synapse/arm-synapse/src/models/index.ts +++ b/sdk/synapse/arm-synapse/src/models/index.ts @@ -1127,12 +1127,12 @@ export interface WorkspacePatchInfo { /** Grant sql control to managed identity */ export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { /** Desired state */ - desiredState?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState; + desiredState?: DesiredState; /** * Actual state * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly actualState?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState; + readonly actualState?: ActualState; } /** The response to a list restorable dropped Sql pools request */ @@ -1606,7 +1606,7 @@ export interface Operation { display?: OperationDisplay; /** The intended executor of the operation. */ origin?: string; - /** Any object */ + /** Properties of the operation. */ properties?: Record; } @@ -2303,27 +2303,27 @@ export interface DatabaseStatistics { } /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export type ProxyResource = Resource & {}; +export interface ProxyResource extends Resource {} /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string }; /** The geo-location where the resource lives */ location: string; -}; +} /** The resource model definition for an Azure Resource Manager resource with an etag. */ -export type AzureEntityResource = Resource & { +export interface AzureEntityResource extends Resource { /** * Resource Etag. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly etag?: string; -}; +} /** Class representing an update to a Kusto kusto pool. */ -export type KustoPoolUpdate = Resource & { +export interface KustoPoolUpdate extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string }; /** The SKU of the kusto pool. */ @@ -2366,15 +2366,16 @@ export type KustoPoolUpdate = Resource & { readonly languageExtensions?: LanguageExtensionsList; /** The workspace unique identifier. */ workspaceUID?: string; -}; +} -export type PrivateEndpointConnectionForPrivateLinkHub = PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated & { +export interface PrivateEndpointConnectionForPrivateLinkHub + extends PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated { name?: string; type?: string; -}; +} /** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */ -export type ManagedIntegrationRuntime = IntegrationRuntime & { +export interface ManagedIntegrationRuntime extends IntegrationRuntime { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Managed"; /** @@ -2392,24 +2393,24 @@ export type ManagedIntegrationRuntime = IntegrationRuntime & { computeProperties?: IntegrationRuntimeComputeProperties; /** SSIS properties for managed integration runtime. */ ssisProperties?: IntegrationRuntimeSsisProperties; -}; +} /** Self-hosted integration runtime. */ -export type SelfHostedIntegrationRuntime = IntegrationRuntime & { +export interface SelfHostedIntegrationRuntime extends IntegrationRuntime { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "SelfHosted"; /** Linked integration runtime type from data factory */ linkedInfo?: LinkedIntegrationRuntimeTypeUnion; -}; +} /** Ssis folder. */ -export type SsisFolder = SsisObjectMetadata & { +export interface SsisFolder extends SsisObjectMetadata { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Folder"; -}; +} /** Ssis project. */ -export type SsisProject = SsisObjectMetadata & { +export interface SsisProject extends SsisObjectMetadata { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Project"; /** Folder id which contains project. */ @@ -2420,10 +2421,10 @@ export type SsisProject = SsisObjectMetadata & { environmentRefs?: SsisEnvironmentReference[]; /** Parameters in project */ parameters?: SsisParameter[]; -}; +} /** Ssis Package. */ -export type SsisPackage = SsisObjectMetadata & { +export interface SsisPackage extends SsisObjectMetadata { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Package"; /** Folder id which contains package. */ @@ -2434,20 +2435,21 @@ export type SsisPackage = SsisObjectMetadata & { projectId?: number; /** Parameters in package */ parameters?: SsisParameter[]; -}; +} /** Ssis environment. */ -export type SsisEnvironment = SsisObjectMetadata & { +export interface SsisEnvironment extends SsisObjectMetadata { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Environment"; /** Folder id which contains environment. */ folderId?: number; /** Variable in environment */ variables?: SsisVariable[]; -}; +} /** Managed integration runtime status. */ -export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { +export interface ManagedIntegrationRuntimeStatus + extends IntegrationRuntimeStatus { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Managed"; /** @@ -2470,10 +2472,11 @@ export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; -}; +} /** Self-hosted integration runtime status. */ -export type SelfHostedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { +export interface SelfHostedIntegrationRuntimeStatus + extends IntegrationRuntimeStatus { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "SelfHosted"; /** @@ -2559,18 +2562,18 @@ export type SelfHostedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { serviceRegion?: string; /** The newer versions on download center. */ newerVersions?: string[]; -}; +} /** Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. */ -export type SecureString = SecretBase & { +export interface SecureString extends SecretBase { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "SecureString"; /** Value of secure string. */ value: string; -}; +} /** The custom setup of running cmdkey commands. */ -export type CmdkeySetup = CustomSetupBase & { +export interface CmdkeySetup extends CustomSetupBase { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "CmdkeySetup"; /** The server name of data source access. */ @@ -2579,46 +2582,48 @@ export type CmdkeySetup = CustomSetupBase & { userName: Record; /** The password of data source access. */ password: SecretBaseUnion; -}; +} /** The custom setup of setting environment variable. */ -export type EnvironmentVariableSetup = CustomSetupBase & { +export interface EnvironmentVariableSetup extends CustomSetupBase { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "EnvironmentVariableSetup"; /** The name of the environment variable. */ variableName: string; /** The value of the environment variable. */ variableValue: string; -}; +} /** The custom setup of installing 3rd party components. */ -export type ComponentSetup = CustomSetupBase & { +export interface ComponentSetup extends CustomSetupBase { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "ComponentSetup"; /** The name of the 3rd party component. */ componentName: string; /** The license key to activate the component. */ licenseKey?: SecretBaseUnion; -}; +} /** The key authorization type integration runtime. */ -export type LinkedIntegrationRuntimeKeyAuthorization = LinkedIntegrationRuntimeType & { +export interface LinkedIntegrationRuntimeKeyAuthorization + extends LinkedIntegrationRuntimeType { /** Polymorphic discriminator, which specifies the different types this object can be */ authorizationType: "Key"; /** The key used for authorization. */ key: SecureString; -}; +} /** The role based access control (RBAC) authorization type integration runtime. */ -export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntimeType & { +export interface LinkedIntegrationRuntimeRbacAuthorization + extends LinkedIntegrationRuntimeType { /** Polymorphic discriminator, which specifies the different types this object can be */ authorizationType: "RBAC"; /** The resource identifier of the integration runtime to be shared. */ resourceId: string; -}; +} /** Azure Active Directory Only Authentication Info */ -export type AzureADOnlyAuthentication = ProxyResource & { +export interface AzureADOnlyAuthentication extends ProxyResource { /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication?: boolean; /** @@ -2631,10 +2636,10 @@ export type AzureADOnlyAuthentication = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationDate?: Date; -}; +} /** IP firewall rule */ -export type IpFirewallRuleInfo = ProxyResource & { +export interface IpFirewallRuleInfo extends ProxyResource { /** The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress */ endIpAddress?: string; /** @@ -2644,18 +2649,18 @@ export type IpFirewallRuleInfo = ProxyResource & { readonly provisioningState?: ProvisioningState; /** The start IP address of the firewall rule. Must be IPv4 format */ startIpAddress?: string; -}; +} /** A workspace key */ -export type Key = ProxyResource & { +export interface Key extends ProxyResource { /** Used to activate the workspace after a customer managed key is provided. */ isActiveCMK?: boolean; /** The Key Vault Url of the workspace key. */ keyVaultUrl?: string; -}; +} /** A private endpoint connection */ -export type PrivateEndpointConnection = ProxyResource & { +export interface PrivateEndpointConnection extends ProxyResource { /** The private endpoint which the connection belongs to. */ privateEndpoint?: PrivateEndpoint; /** Connection state of the private endpoint connection. */ @@ -2665,27 +2670,27 @@ export type PrivateEndpointConnection = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; -}; +} /** A private link resource */ -export type PrivateLinkResource = ProxyResource & { +export interface PrivateLinkResource extends ProxyResource { /** * The private link resource properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly properties?: PrivateLinkResourceProperties; -}; +} /** Configuration for metadata sync */ -export type MetadataSyncConfig = ProxyResource & { +export interface MetadataSyncConfig extends ProxyResource { /** Indicates whether the metadata sync is enabled or disabled */ enabled?: boolean; /** The Sync Interval in minutes. */ syncIntervalInMinutes?: number; -}; +} /** A database geo backup policy. */ -export type GeoBackupPolicy = ProxyResource & { +export interface GeoBackupPolicy extends ProxyResource { /** * Kind of geo backup policy. This is metadata used for the Azure portal experience. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2703,19 +2708,19 @@ export type GeoBackupPolicy = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly storageType?: string; -}; +} /** User activities of a data warehouse */ -export type DataWarehouseUserActivities = ProxyResource & { +export interface DataWarehouseUserActivities extends ProxyResource { /** * Count of running and suspended queries. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly activeQueriesCount?: number; -}; +} /** Database restore points. */ -export type RestorePoint = ProxyResource & { +export interface RestorePoint extends ProxyResource { /** * Resource location. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2741,10 +2746,10 @@ export type RestorePoint = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly restorePointLabel?: string; -}; +} /** Represents a Sql pool replication link. */ -export type ReplicationLink = ProxyResource & { +export interface ReplicationLink extends ProxyResource { /** * Location of the workspace that contains this firewall rule. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2800,15 +2805,15 @@ export type ReplicationLink = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly replicationState?: ReplicationState; -}; +} /** Maintenance windows. */ -export type MaintenanceWindows = ProxyResource & { +export interface MaintenanceWindows extends ProxyResource { timeRanges?: MaintenanceWindowTimeRange[]; -}; +} /** Maintenance window options. */ -export type MaintenanceWindowOptions = ProxyResource & { +export interface MaintenanceWindowOptions extends ProxyResource { /** Whether maintenance windows are enabled for the database. */ isEnabled?: boolean; /** Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. */ @@ -2823,10 +2828,10 @@ export type MaintenanceWindowOptions = ProxyResource & { timeGranularityInMinutes?: number; /** Whether we allow multiple maintenance windows per cycle. */ allowMultipleMaintenanceWindowsPerCycle?: boolean; -}; +} /** Represents a Sql pool transparent data encryption configuration. */ -export type TransparentDataEncryption = ProxyResource & { +export interface TransparentDataEncryption extends ProxyResource { /** * Resource location. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2834,10 +2839,10 @@ export type TransparentDataEncryption = ProxyResource & { readonly location?: string; /** The status of the database transparent data encryption. */ status?: TransparentDataEncryptionStatus; -}; +} /** A Sql pool blob auditing policy. */ -export type SqlPoolBlobAuditingPolicy = ProxyResource & { +export interface SqlPoolBlobAuditingPolicy extends ProxyResource { /** * Resource kind. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2930,10 +2935,10 @@ export type SqlPoolBlobAuditingPolicy = ProxyResource & { * */ isAzureMonitorTargetEnabled?: boolean; -}; +} /** A Sql pool operation. */ -export type SqlPoolOperation = ProxyResource & { +export interface SqlPoolOperation extends ProxyResource { /** * The name of the Sql pool the operation is being performed on. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3004,10 +3009,10 @@ export type SqlPoolOperation = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isCancellable?: boolean; -}; +} /** A sensitivity label. */ -export type SensitivityLabel = ProxyResource & { +export interface SensitivityLabel extends ProxyResource { /** * managed by * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3042,10 +3047,10 @@ export type SensitivityLabel = ProxyResource & { */ readonly isDisabled?: boolean; rank?: SensitivityLabelRank; -}; +} /** A sensitivity label update operation. */ -export type SensitivityLabelUpdate = ProxyResource & { +export interface SensitivityLabelUpdate extends ProxyResource { op?: SensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema?: string; @@ -3055,10 +3060,10 @@ export type SensitivityLabelUpdate = ProxyResource & { column?: string; /** The sensitivity label information to apply on a column. */ sensitivityLabel?: SensitivityLabel; -}; +} /** A recommended sensitivity label update operation. */ -export type RecommendedSensitivityLabelUpdate = ProxyResource & { +export interface RecommendedSensitivityLabelUpdate extends ProxyResource { op?: RecommendedSensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema?: string; @@ -3066,16 +3071,16 @@ export type RecommendedSensitivityLabelUpdate = ProxyResource & { table?: string; /** Column name to update. */ column?: string; -}; +} /** A Sql pool schema resource. */ -export type SqlPoolSchema = ProxyResource & {}; +export interface SqlPoolSchema extends ProxyResource {} /** A Sql pool table resource. */ -export type SqlPoolTable = ProxyResource & {}; +export interface SqlPoolTable extends ProxyResource {} /** A Sql pool column resource. */ -export type SqlPoolColumn = ProxyResource & { +export interface SqlPoolColumn extends ProxyResource { /** The column data type. */ columnType?: ColumnDataType; /** @@ -3083,10 +3088,10 @@ export type SqlPoolColumn = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isComputed?: boolean; -}; +} /** A Sql pool connection policy. */ -export type SqlPoolConnectionPolicy = ProxyResource & { +export interface SqlPoolConnectionPolicy extends ProxyResource { /** * Resource kind. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3111,10 +3116,10 @@ export type SqlPoolConnectionPolicy = ProxyResource & { redirectionState?: string; /** The connection policy state. */ state?: string; -}; +} /** A Sql pool vulnerability assessment. */ -export type SqlPoolVulnerabilityAssessment = ProxyResource & { +export interface SqlPoolVulnerabilityAssessment extends ProxyResource { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. */ @@ -3123,10 +3128,10 @@ export type SqlPoolVulnerabilityAssessment = ProxyResource & { storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -}; +} /** A vulnerability assessment scan record. */ -export type VulnerabilityAssessmentScanRecord = ProxyResource & { +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** * The scan ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3167,19 +3172,20 @@ export type VulnerabilityAssessmentScanRecord = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly numberOfFailedSecurityChecks?: number; -}; +} /** A Sql pool Vulnerability Assessment scan export resource. */ -export type SqlPoolVulnerabilityAssessmentScansExport = ProxyResource & { +export interface SqlPoolVulnerabilityAssessmentScansExport + extends ProxyResource { /** * Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly exportedReportLocation?: string; -}; +} /** A Sql pool security alert policy. */ -export type SqlPoolSecurityAlertPolicy = ProxyResource & { +export interface SqlPoolSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool. */ state?: SecurityAlertPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action */ @@ -3199,16 +3205,17 @@ export type SqlPoolSecurityAlertPolicy = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; -}; +} /** A Sql pool vulnerability assessment rule baseline. */ -export type SqlPoolVulnerabilityAssessmentRuleBaseline = ProxyResource & { +export interface SqlPoolVulnerabilityAssessmentRuleBaseline + extends ProxyResource { /** The rule baseline result */ baselineResults?: SqlPoolVulnerabilityAssessmentRuleBaselineItem[]; -}; +} /** An extended Sql pool blob auditing policy. */ -export type ExtendedSqlPoolBlobAuditingPolicy = ProxyResource & { +export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ @@ -3310,9 +3317,9 @@ export type ExtendedSqlPoolBlobAuditingPolicy = ProxyResource & { * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; -}; +} -export type DataMaskingPolicy = ProxyResource & { +export interface DataMaskingPolicy extends ProxyResource { /** * The location of the data masking policy. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3342,10 +3349,10 @@ export type DataMaskingPolicy = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly maskingLevel?: string; -}; +} /** Represents a Sql pool data masking rule. */ -export type DataMaskingRule = ProxyResource & { +export interface DataMaskingRule extends ProxyResource { /** * The location of the data masking rule. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3383,10 +3390,10 @@ export type DataMaskingRule = ProxyResource & { suffixSize?: string; /** If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. */ replacementString?: string; -}; +} /** Workload group operations for a sql pool */ -export type WorkloadGroup = ProxyResource & { +export interface WorkloadGroup extends ProxyResource { /** The workload group minimum percentage resource. */ minResourcePercent?: number; /** The workload group cap percentage resource. */ @@ -3399,10 +3406,10 @@ export type WorkloadGroup = ProxyResource & { importance?: string; /** The workload group query execution timeout. */ queryExecutionTimeout?: number; -}; +} /** Workload classifier operations for a data warehouse */ -export type WorkloadClassifier = ProxyResource & { +export interface WorkloadClassifier extends ProxyResource { /** The workload classifier member name. */ memberName?: string; /** The workload classifier label. */ @@ -3415,10 +3422,10 @@ export type WorkloadClassifier = ProxyResource & { endTime?: string; /** The workload classifier importance. */ importance?: string; -}; +} /** A server blob auditing policy. */ -export type ServerBlobAuditingPolicy = ProxyResource & { +export interface ServerBlobAuditingPolicy extends ProxyResource { /** Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ @@ -3532,10 +3539,10 @@ export type ServerBlobAuditingPolicy = ProxyResource & { * */ isDevopsAuditEnabled?: boolean; -}; +} /** An extended server blob auditing policy. */ -export type ExtendedServerBlobAuditingPolicy = ProxyResource & { +export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ @@ -3651,10 +3658,10 @@ export type ExtendedServerBlobAuditingPolicy = ProxyResource & { * */ isDevopsAuditEnabled?: boolean; -}; +} /** Workspace managed Sql server security alert policy. */ -export type ServerSecurityAlertPolicy = ProxyResource & { +export interface ServerSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific server */ state?: SecurityAlertPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action */ @@ -3674,10 +3681,10 @@ export type ServerSecurityAlertPolicy = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; -}; +} /** A server vulnerability assessment. */ -export type ServerVulnerabilityAssessment = ProxyResource & { +export interface ServerVulnerabilityAssessment extends ProxyResource { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. */ @@ -3686,10 +3693,10 @@ export type ServerVulnerabilityAssessment = ProxyResource & { storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -}; +} /** The server encryption protector. */ -export type EncryptionProtector = ProxyResource & { +export interface EncryptionProtector extends ProxyResource { /** * Kind of encryption protector. This is metadata used for the Azure portal experience. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3719,10 +3726,10 @@ export type EncryptionProtector = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly thumbprint?: string; -}; +} /** A recoverable sql pool */ -export type RecoverableSqlPool = ProxyResource & { +export interface RecoverableSqlPool extends ProxyResource { /** * The edition of the database * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3743,10 +3750,10 @@ export type RecoverableSqlPool = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastAvailableBackupDate?: Date; -}; +} /** Dedicated Sql Minimal Tls Settings Info */ -export type DedicatedSQLminimalTlsSettings = ProxyResource & { +export interface DedicatedSQLminimalTlsSettings extends ProxyResource { /** * Resource location. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3754,10 +3761,10 @@ export type DedicatedSQLminimalTlsSettings = ProxyResource & { readonly location?: string; /** The minimal tls version of the sql server. */ minimalTlsVersion?: string; -}; +} /** Workspace active directory administrator */ -export type WorkspaceAadAdminInfo = ProxyResource & { +export interface WorkspaceAadAdminInfo extends ProxyResource { /** Tenant ID of the workspace active directory administrator */ tenantId?: string; /** Login of the workspace active directory administrator */ @@ -3766,16 +3773,16 @@ export type WorkspaceAadAdminInfo = ProxyResource & { administratorType?: string; /** Object ID of the workspace active directory administrator */ sid?: string; -}; +} /** Sql Control Settings for workspace managed identity */ -export type ManagedIdentitySqlControlSettingsModel = ProxyResource & { +export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { /** Grant sql control to managed identity */ grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; -}; +} /** A restorable dropped Sql pool */ -export type RestorableDroppedSqlPool = ProxyResource & { +export interface RestorableDroppedSqlPool extends ProxyResource { /** * The geo-location where the resource lives * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3821,10 +3828,10 @@ export type RestorableDroppedSqlPool = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly earliestRestoreDate?: Date; -}; +} /** Class representing an attached database configuration. */ -export type AttachedDatabaseConfiguration = ProxyResource & { +export interface AttachedDatabaseConfiguration extends ProxyResource { /** Resource location. */ location?: string; /** @@ -3850,10 +3857,10 @@ export type AttachedDatabaseConfiguration = ProxyResource & { defaultPrincipalsModificationKind?: DefaultPrincipalsModificationKind; /** Table level sharing specifications */ tableLevelSharingProperties?: TableLevelSharingProperties; -}; +} /** Class representing a Kusto database. */ -export type Database = ProxyResource & { +export interface Database extends ProxyResource { /** Resource location. */ location?: string; /** Kind of the database */ @@ -3863,10 +3870,10 @@ export type Database = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; -}; +} /** Class representing a data connection. */ -export type DataConnection = ProxyResource & { +export interface DataConnection extends ProxyResource { /** Resource location. */ location?: string; /** Kind of the endpoint for the data connection */ @@ -3876,10 +3883,10 @@ export type DataConnection = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; -}; +} /** Class representing a cluster principal assignment. */ -export type ClusterPrincipalAssignment = ProxyResource & { +export interface ClusterPrincipalAssignment extends ProxyResource { /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3908,10 +3915,15 @@ export type ClusterPrincipalAssignment = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ResourceProvisioningState; -}; + /** + * The service principal object id in AAD (Azure active directory) + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly aadObjectId?: string; +} /** Class representing a database principal assignment. */ -export type DatabasePrincipalAssignment = ProxyResource & { +export interface DatabasePrincipalAssignment extends ProxyResource { /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3940,10 +3952,15 @@ export type DatabasePrincipalAssignment = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ResourceProvisioningState; -}; + /** + * The service principal object id in AAD (Azure active directory) + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly aadObjectId?: string; +} /** A privateLinkHub */ -export type PrivateLinkHub = TrackedResource & { +export interface PrivateLinkHub extends TrackedResource { /** PrivateLinkHub provisioning state */ provisioningState?: string; /** @@ -3951,10 +3968,10 @@ export type PrivateLinkHub = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointConnections?: PrivateEndpointConnectionForPrivateLinkHubBasic[]; -}; +} /** A SQL Analytics pool */ -export type SqlPool = TrackedResource & { +export interface SqlPool extends TrackedResource { /** SQL pool SKU */ sku?: Sku; /** Maximum size in bytes */ @@ -3995,10 +4012,10 @@ export type SqlPool = TrackedResource & { storageAccountType?: StorageAccountType; /** Specifies the time that the sql pool was deleted */ sourceDatabaseDeletionDate?: Date; -}; +} /** A workspace */ -export type Workspace = TrackedResource & { +export interface Workspace extends TrackedResource { /** Identity of the workspace */ identity?: ManagedIdentity; /** Workspace default data lake storage account details */ @@ -4060,10 +4077,10 @@ export type Workspace = TrackedResource & { azureADOnlyAuthentication?: boolean; /** Is trustedServiceBypassEnabled for the workspace */ trustedServiceBypassEnabled?: boolean; -}; +} /** A Big Data pool */ -export type BigDataPoolResourceInfo = TrackedResource & { +export interface BigDataPoolResourceInfo extends TrackedResource { /** The state of the Big Data pool. */ provisioningState?: string; /** Auto-scaling properties */ @@ -4077,6 +4094,8 @@ export type BigDataPoolResourceInfo = TrackedResource & { autoPause?: AutoPauseProperties; /** Whether compute isolation is required or not. */ isComputeIsolationEnabled?: boolean; + /** Whether autotune is required or not. */ + isAutotuneEnabled?: boolean; /** Whether session level packages enabled. */ sessionLevelPackagesEnabled?: boolean; /** The cache size */ @@ -4106,10 +4125,10 @@ export type BigDataPoolResourceInfo = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastSucceededTimestamp?: Date; -}; +} /** Class representing a Kusto kusto pool. */ -export type KustoPool = TrackedResource & { +export interface KustoPool extends TrackedResource { /** The SKU of the kusto pool. */ sku: AzureSku; /** @@ -4160,13 +4179,13 @@ export type KustoPool = TrackedResource & { readonly languageExtensions?: LanguageExtensionsList; /** The workspace unique identifier. */ workspaceUID?: string; -}; +} /** Azure Synapse nested resource, which belongs to a workspace. */ -export type SubResource = AzureEntityResource & {}; +export interface SubResource extends AzureEntityResource {} /** Class representing a read write database. */ -export type ReadWriteDatabase = Database & { +export interface ReadWriteDatabase extends Database { /** * The provisioned state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4186,10 +4205,10 @@ export type ReadWriteDatabase = Database & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isFollowed?: boolean; -}; +} /** Class representing a read only following database. */ -export type ReadOnlyFollowingDatabase = Database & { +export interface ReadOnlyFollowingDatabase extends Database { /** * The provisioned state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4222,10 +4241,10 @@ export type ReadOnlyFollowingDatabase = Database & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalsModificationKind?: PrincipalsModificationKind; -}; +} /** Class representing an event hub data connection. */ -export type EventHubDataConnection = DataConnection & { +export interface EventHubDataConnection extends DataConnection { /** The resource ID of the event hub to be used to create a data connection. */ eventHubResourceId?: string; /** The event hub consumer group. */ @@ -4247,10 +4266,10 @@ export type EventHubDataConnection = DataConnection & { readonly provisioningState?: ResourceProvisioningState; /** The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. */ managedIdentityResourceId?: string; -}; +} /** Class representing an iot hub data connection. */ -export type IotHubDataConnection = DataConnection & { +export interface IotHubDataConnection extends DataConnection { /** The resource ID of the Iot hub to be used to create a data connection. */ iotHubResourceId?: string; /** The iot hub consumer group. */ @@ -4270,10 +4289,10 @@ export type IotHubDataConnection = DataConnection & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ResourceProvisioningState; -}; +} /** Class representing an Event Grid data connection. */ -export type EventGridDataConnection = DataConnection & { +export interface EventGridDataConnection extends DataConnection { /** The resource ID of the storage account where the data resides. */ storageAccountResourceId?: string; /** The resource ID where the event grid is configured to send events. */ @@ -4295,10 +4314,10 @@ export type EventGridDataConnection = DataConnection & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ResourceProvisioningState; -}; +} /** Library response details */ -export type LibraryResource = SubResource & { +export interface LibraryResource extends SubResource { /** Name of the library. */ namePropertiesName?: string; /** Storage blob path of library. */ @@ -4319,16 +4338,16 @@ export type LibraryResource = SubResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creatorId?: string; -}; +} /** Integration runtime resource type. */ -export type IntegrationRuntimeResource = SubResource & { +export interface IntegrationRuntimeResource extends SubResource { /** Integration runtime properties. */ properties: IntegrationRuntimeUnion; -}; +} /** SparkConfiguration response details */ -export type SparkConfigurationResource = SubResource & { +export interface SparkConfigurationResource extends SubResource { /** Description about the SparkConfiguration. */ description?: string; /** SparkConfiguration configs. */ @@ -4341,10 +4360,13 @@ export type SparkConfigurationResource = SubResource & { createdBy?: string; /** The timestamp of resource creation. */ created?: Date; -}; + /** SparkConfiguration merge configs. */ + configMergeRule?: { [propertyName: string]: string }; +} /** Known values of {@link AzureADOnlyAuthenticationName} that the service accepts. */ export enum KnownAzureADOnlyAuthenticationName { + /** Default */ Default = "default" } @@ -4359,8 +4381,11 @@ export type AzureADOnlyAuthenticationName = string; /** Known values of {@link StateValue} that the service accepts. */ export enum KnownStateValue { + /** Consistent */ Consistent = "Consistent", + /** InConsistent */ InConsistent = "InConsistent", + /** Updating */ Updating = "Updating" } @@ -4377,10 +4402,15 @@ export type StateValue = string; /** Known values of {@link ProvisioningState} that the service accepts. */ export enum KnownProvisioningState { + /** Provisioning */ Provisioning = "Provisioning", + /** Succeeded */ Succeeded = "Succeeded", + /** Deleting */ Deleting = "Deleting", + /** Failed */ Failed = "Failed", + /** DeleteError */ DeleteError = "DeleteError" } @@ -4399,9 +4429,13 @@ export type ProvisioningState = string; /** Known values of {@link OperationStatus} that the service accepts. */ export enum KnownOperationStatus { + /** InProgress */ InProgress = "InProgress", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed", + /** Canceled */ Canceled = "Canceled" } @@ -4419,9 +4453,13 @@ export type OperationStatus = string; /** Known values of {@link CreateMode} that the service accepts. */ export enum KnownCreateMode { + /** Default */ Default = "Default", + /** PointInTimeRestore */ PointInTimeRestore = "PointInTimeRestore", + /** Recovery */ Recovery = "Recovery", + /** Restore */ Restore = "Restore" } @@ -4439,7 +4477,9 @@ export type CreateMode = string; /** Known values of {@link StorageAccountType} that the service accepts. */ export enum KnownStorageAccountType { + /** GRS */ GRS = "GRS", + /** LRS */ LRS = "LRS" } @@ -4455,6 +4495,7 @@ export type StorageAccountType = string; /** Known values of {@link GeoBackupPolicyName} that the service accepts. */ export enum KnownGeoBackupPolicyName { + /** Default */ Default = "Default" } @@ -4469,6 +4510,7 @@ export type GeoBackupPolicyName = string; /** Known values of {@link DataWarehouseUserActivityName} that the service accepts. */ export enum KnownDataWarehouseUserActivityName { + /** Current */ Current = "current" } @@ -4483,9 +4525,13 @@ export type DataWarehouseUserActivityName = string; /** Known values of {@link ReplicationState} that the service accepts. */ export enum KnownReplicationState { + /** Pending */ Pending = "PENDING", + /** Seeding */ Seeding = "SEEDING", + /** CatchUP */ CatchUP = "CATCH_UP", + /** Suspended */ Suspended = "SUSPENDED" } @@ -4503,12 +4549,19 @@ export type ReplicationState = string; /** Known values of {@link DayOfWeek} that the service accepts. */ export enum KnownDayOfWeek { + /** Sunday */ Sunday = "Sunday", + /** Monday */ Monday = "Monday", + /** Tuesday */ Tuesday = "Tuesday", + /** Wednesday */ Wednesday = "Wednesday", + /** Thursday */ Thursday = "Thursday", + /** Friday */ Friday = "Friday", + /** Saturday */ Saturday = "Saturday" } @@ -4529,6 +4582,7 @@ export type DayOfWeek = string; /** Known values of {@link TransparentDataEncryptionName} that the service accepts. */ export enum KnownTransparentDataEncryptionName { + /** Current */ Current = "current" } @@ -4543,11 +4597,17 @@ export type TransparentDataEncryptionName = string; /** Known values of {@link ManagementOperationState} that the service accepts. */ export enum KnownManagementOperationState { + /** Pending */ Pending = "Pending", + /** InProgress */ InProgress = "InProgress", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed", + /** CancelInProgress */ CancelInProgress = "CancelInProgress", + /** Cancelled */ Cancelled = "Cancelled" } @@ -4567,39 +4627,73 @@ export type ManagementOperationState = string; /** Known values of {@link ColumnDataType} that the service accepts. */ export enum KnownColumnDataType { + /** Image */ Image = "image", + /** Text */ Text = "text", + /** Uniqueidentifier */ Uniqueidentifier = "uniqueidentifier", + /** Date */ Date = "date", + /** Time */ Time = "time", + /** Datetime2 */ Datetime2 = "datetime2", + /** Datetimeoffset */ Datetimeoffset = "datetimeoffset", + /** Tinyint */ Tinyint = "tinyint", + /** Smallint */ Smallint = "smallint", + /** Int */ Int = "int", + /** Smalldatetime */ Smalldatetime = "smalldatetime", + /** Real */ Real = "real", + /** Money */ Money = "money", + /** Datetime */ Datetime = "datetime", + /** Float */ Float = "float", + /** SqlVariant */ SqlVariant = "sql_variant", + /** Ntext */ Ntext = "ntext", + /** Bit */ Bit = "bit", + /** Decimal */ Decimal = "decimal", + /** Numeric */ Numeric = "numeric", + /** Smallmoney */ Smallmoney = "smallmoney", + /** Bigint */ Bigint = "bigint", + /** Hierarchyid */ Hierarchyid = "hierarchyid", + /** Geometry */ Geometry = "geometry", + /** Geography */ Geography = "geography", + /** Varbinary */ Varbinary = "varbinary", + /** Varchar */ Varchar = "varchar", + /** Binary */ Binary = "binary", + /** Char */ Char = "char", + /** Timestamp */ Timestamp = "timestamp", + /** Nvarchar */ Nvarchar = "nvarchar", + /** Nchar */ Nchar = "nchar", + /** Xml */ Xml = "xml", + /** Sysname */ Sysname = "sysname" } @@ -4647,6 +4741,7 @@ export type ColumnDataType = string; /** Known values of {@link ConnectionPolicyName} that the service accepts. */ export enum KnownConnectionPolicyName { + /** Default */ Default = "default" } @@ -4661,6 +4756,7 @@ export type ConnectionPolicyName = string; /** Known values of {@link VulnerabilityAssessmentName} that the service accepts. */ export enum KnownVulnerabilityAssessmentName { + /** Default */ Default = "default" } @@ -4675,7 +4771,9 @@ export type VulnerabilityAssessmentName = string; /** Known values of {@link VulnerabilityAssessmentScanTriggerType} that the service accepts. */ export enum KnownVulnerabilityAssessmentScanTriggerType { + /** OnDemand */ OnDemand = "OnDemand", + /** Recurring */ Recurring = "Recurring" } @@ -4691,9 +4789,13 @@ export type VulnerabilityAssessmentScanTriggerType = string; /** Known values of {@link VulnerabilityAssessmentScanState} that the service accepts. */ export enum KnownVulnerabilityAssessmentScanState { + /** Passed */ Passed = "Passed", + /** Failed */ Failed = "Failed", + /** FailedToRun */ FailedToRun = "FailedToRun", + /** InProgress */ InProgress = "InProgress" } @@ -4711,6 +4813,7 @@ export type VulnerabilityAssessmentScanState = string; /** Known values of {@link SecurityAlertPolicyName} that the service accepts. */ export enum KnownSecurityAlertPolicyName { + /** Default */ Default = "default" } @@ -4725,6 +4828,7 @@ export type SecurityAlertPolicyName = string; /** Known values of {@link BlobAuditingPolicyName} that the service accepts. */ export enum KnownBlobAuditingPolicyName { + /** Default */ Default = "default" } @@ -4739,6 +4843,7 @@ export type BlobAuditingPolicyName = string; /** Known values of {@link SecurityAlertPolicyNameAutoGenerated} that the service accepts. */ export enum KnownSecurityAlertPolicyNameAutoGenerated { + /** Default */ Default = "Default" } @@ -4753,6 +4858,7 @@ export type SecurityAlertPolicyNameAutoGenerated = string; /** Known values of {@link EncryptionProtectorName} that the service accepts. */ export enum KnownEncryptionProtectorName { + /** Current */ Current = "current" } @@ -4767,7 +4873,9 @@ export type EncryptionProtectorName = string; /** Known values of {@link ServerKeyType} that the service accepts. */ export enum KnownServerKeyType { + /** ServiceManaged */ ServiceManaged = "ServiceManaged", + /** AzureKeyVault */ AzureKeyVault = "AzureKeyVault" } @@ -4783,6 +4891,7 @@ export type ServerKeyType = string; /** Known values of {@link DedicatedSQLMinimalTlsSettingsName} that the service accepts. */ export enum KnownDedicatedSQLMinimalTlsSettingsName { + /** Default */ Default = "default" } @@ -4797,7 +4906,9 @@ export type DedicatedSQLMinimalTlsSettingsName = string; /** Known values of {@link WorkspacePublicNetworkAccess} that the service accepts. */ export enum KnownWorkspacePublicNetworkAccess { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -4811,47 +4922,11 @@ export enum KnownWorkspacePublicNetworkAccess { */ export type WorkspacePublicNetworkAccess = string; -/** Known values of {@link ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState} that the service accepts. */ -export enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState { - Enabled = "Enabled", - Disabled = "Disabled" -} - -/** - * Defines values for ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState. \ - * {@link KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState} can be used interchangeably with ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState = string; - -/** Known values of {@link ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState} that the service accepts. */ -export enum KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState { - Enabling = "Enabling", - Enabled = "Enabled", - Disabling = "Disabling", - Disabled = "Disabled", - Unknown = "Unknown" -} - -/** - * Defines values for ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. \ - * {@link KnownManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState} can be used interchangeably with ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabling** \ - * **Enabled** \ - * **Disabling** \ - * **Disabled** \ - * **Unknown** - */ -export type ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState = string; - /** Known values of {@link ConfigurationType} that the service accepts. */ export enum KnownConfigurationType { + /** File */ File = "File", + /** Artifact */ Artifact = "Artifact" } @@ -4867,12 +4942,19 @@ export type ConfigurationType = string; /** Known values of {@link NodeSize} that the service accepts. */ export enum KnownNodeSize { + /** None */ None = "None", + /** Small */ Small = "Small", + /** Medium */ Medium = "Medium", + /** Large */ Large = "Large", + /** XLarge */ XLarge = "XLarge", + /** XXLarge */ XXLarge = "XXLarge", + /** XXXLarge */ XXXLarge = "XXXLarge" } @@ -4893,9 +4975,13 @@ export type NodeSize = string; /** Known values of {@link NodeSizeFamily} that the service accepts. */ export enum KnownNodeSizeFamily { + /** None */ None = "None", + /** MemoryOptimized */ MemoryOptimized = "MemoryOptimized", + /** HardwareAcceleratedFpga */ HardwareAcceleratedFpga = "HardwareAcceleratedFPGA", + /** HardwareAcceleratedGPU */ HardwareAcceleratedGPU = "HardwareAcceleratedGPU" } @@ -4913,7 +4999,9 @@ export type NodeSizeFamily = string; /** Known values of {@link IntegrationRuntimeAutoUpdate} that the service accepts. */ export enum KnownIntegrationRuntimeAutoUpdate { + /** On */ On = "On", + /** Off */ Off = "Off" } @@ -4929,7 +5017,9 @@ export type IntegrationRuntimeAutoUpdate = string; /** Known values of {@link IntegrationRuntimeType} that the service accepts. */ export enum KnownIntegrationRuntimeType { + /** Managed */ Managed = "Managed", + /** SelfHosted */ SelfHosted = "SelfHosted" } @@ -4945,9 +5035,13 @@ export type IntegrationRuntimeType = string; /** Known values of {@link SsisObjectMetadataType} that the service accepts. */ export enum KnownSsisObjectMetadataType { + /** Folder */ Folder = "Folder", + /** Project */ Project = "Project", + /** Package */ Package = "Package", + /** Environment */ Environment = "Environment" } @@ -4965,12 +5059,19 @@ export type SsisObjectMetadataType = string; /** Known values of {@link SelfHostedIntegrationRuntimeNodeStatus} that the service accepts. */ export enum KnownSelfHostedIntegrationRuntimeNodeStatus { + /** NeedRegistration */ NeedRegistration = "NeedRegistration", + /** Online */ Online = "Online", + /** Limited */ Limited = "Limited", + /** Offline */ Offline = "Offline", + /** Upgrading */ Upgrading = "Upgrading", + /** Initializing */ Initializing = "Initializing", + /** InitializeFailed */ InitializeFailed = "InitializeFailed" } @@ -4991,8 +5092,11 @@ export type SelfHostedIntegrationRuntimeNodeStatus = string; /** Known values of {@link IntegrationRuntimeUpdateResult} that the service accepts. */ export enum KnownIntegrationRuntimeUpdateResult { + /** None */ None = "None", + /** Succeed */ Succeed = "Succeed", + /** Fail */ Fail = "Fail" } @@ -5009,15 +5113,25 @@ export type IntegrationRuntimeUpdateResult = string; /** Known values of {@link IntegrationRuntimeState} that the service accepts. */ export enum KnownIntegrationRuntimeState { + /** Initial */ Initial = "Initial", + /** Stopped */ Stopped = "Stopped", + /** Started */ Started = "Started", + /** Starting */ Starting = "Starting", + /** Stopping */ Stopping = "Stopping", + /** NeedRegistration */ NeedRegistration = "NeedRegistration", + /** Online */ Online = "Online", + /** Limited */ Limited = "Limited", + /** Offline */ Offline = "Offline", + /** AccessDenied */ AccessDenied = "AccessDenied" } @@ -5041,7 +5155,9 @@ export type IntegrationRuntimeState = string; /** Known values of {@link IntegrationRuntimeAuthKeyName} that the service accepts. */ export enum KnownIntegrationRuntimeAuthKeyName { + /** AuthKey1 */ AuthKey1 = "authKey1", + /** AuthKey2 */ AuthKey2 = "authKey2" } @@ -5057,7 +5173,9 @@ export type IntegrationRuntimeAuthKeyName = string; /** Known values of {@link Reason} that the service accepts. */ export enum KnownReason { + /** Invalid */ Invalid = "Invalid", + /** AlreadyExists */ AlreadyExists = "AlreadyExists" } @@ -5073,7 +5191,9 @@ export type Reason = string; /** Known values of {@link SkuName} that the service accepts. */ export enum KnownSkuName { + /** ComputeOptimized */ ComputeOptimized = "Compute optimized", + /** StorageOptimized */ StorageOptimized = "Storage optimized" } @@ -5089,9 +5209,13 @@ export type SkuName = string; /** Known values of {@link SkuSize} that the service accepts. */ export enum KnownSkuSize { + /** ExtraSmall */ ExtraSmall = "Extra small", + /** Small */ Small = "Small", + /** Medium */ Medium = "Medium", + /** Large */ Large = "Large" } @@ -5109,14 +5233,23 @@ export type SkuSize = string; /** Known values of {@link State} that the service accepts. */ export enum KnownState { + /** Creating */ Creating = "Creating", + /** Unavailable */ Unavailable = "Unavailable", + /** Running */ Running = "Running", + /** Deleting */ Deleting = "Deleting", + /** Deleted */ Deleted = "Deleted", + /** Stopping */ Stopping = "Stopping", + /** Stopped */ Stopped = "Stopped", + /** Starting */ Starting = "Starting", + /** Updating */ Updating = "Updating" } @@ -5139,12 +5272,19 @@ export type State = string; /** Known values of {@link ResourceProvisioningState} that the service accepts. */ export enum KnownResourceProvisioningState { + /** Running */ Running = "Running", + /** Creating */ Creating = "Creating", + /** Deleting */ Deleting = "Deleting", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed", + /** Moving */ Moving = "Moving", + /** Canceled */ Canceled = "Canceled" } @@ -5165,7 +5305,9 @@ export type ResourceProvisioningState = string; /** Known values of {@link LanguageExtensionName} that the service accepts. */ export enum KnownLanguageExtensionName { + /** Python */ Python = "PYTHON", + /** R */ R = "R" } @@ -5181,9 +5323,13 @@ export type LanguageExtensionName = string; /** Known values of {@link CreatedByType} that the service accepts. */ export enum KnownCreatedByType { + /** User */ User = "User", + /** Application */ Application = "Application", + /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", + /** Key */ Key = "Key" } @@ -5201,8 +5347,11 @@ export type CreatedByType = string; /** Known values of {@link AzureScaleType} that the service accepts. */ export enum KnownAzureScaleType { + /** Automatic */ Automatic = "automatic", + /** Manual */ Manual = "manual", + /** None */ None = "none" } @@ -5219,8 +5368,11 @@ export type AzureScaleType = string; /** Known values of {@link DefaultPrincipalsModificationKind} that the service accepts. */ export enum KnownDefaultPrincipalsModificationKind { + /** Union */ Union = "Union", + /** Replace */ Replace = "Replace", + /** None */ None = "None" } @@ -5237,7 +5389,9 @@ export type DefaultPrincipalsModificationKind = string; /** Known values of {@link Kind} that the service accepts. */ export enum KnownKind { + /** ReadWrite */ ReadWrite = "ReadWrite", + /** ReadOnlyFollowing */ ReadOnlyFollowing = "ReadOnlyFollowing" } @@ -5253,8 +5407,11 @@ export type Kind = string; /** Known values of {@link DataConnectionKind} that the service accepts. */ export enum KnownDataConnectionKind { + /** EventHub */ EventHub = "EventHub", + /** EventGrid */ EventGrid = "EventGrid", + /** IotHub */ IotHub = "IotHub" } @@ -5271,7 +5428,9 @@ export type DataConnectionKind = string; /** Known values of {@link ClusterPrincipalRole} that the service accepts. */ export enum KnownClusterPrincipalRole { + /** AllDatabasesAdmin */ AllDatabasesAdmin = "AllDatabasesAdmin", + /** AllDatabasesViewer */ AllDatabasesViewer = "AllDatabasesViewer" } @@ -5287,8 +5446,11 @@ export type ClusterPrincipalRole = string; /** Known values of {@link PrincipalType} that the service accepts. */ export enum KnownPrincipalType { + /** App */ App = "App", + /** Group */ Group = "Group", + /** User */ User = "User" } @@ -5305,11 +5467,17 @@ export type PrincipalType = string; /** Known values of {@link DatabasePrincipalRole} that the service accepts. */ export enum KnownDatabasePrincipalRole { + /** Admin */ Admin = "Admin", + /** Ingestor */ Ingestor = "Ingestor", + /** Monitor */ Monitor = "Monitor", + /** User */ User = "User", + /** UnrestrictedViewer */ UnrestrictedViewer = "UnrestrictedViewer", + /** Viewer */ Viewer = "Viewer" } @@ -5329,8 +5497,11 @@ export type DatabasePrincipalRole = string; /** Known values of {@link DataFlowComputeType} that the service accepts. */ export enum KnownDataFlowComputeType { + /** General */ General = "General", + /** MemoryOptimized */ MemoryOptimized = "MemoryOptimized", + /** ComputeOptimized */ ComputeOptimized = "ComputeOptimized" } @@ -5347,9 +5518,13 @@ export type DataFlowComputeType = string; /** Known values of {@link IntegrationRuntimeSsisCatalogPricingTier} that the service accepts. */ export enum KnownIntegrationRuntimeSsisCatalogPricingTier { + /** Basic */ Basic = "Basic", + /** Standard */ Standard = "Standard", + /** Premium */ Premium = "Premium", + /** PremiumRS */ PremiumRS = "PremiumRS" } @@ -5367,7 +5542,9 @@ export type IntegrationRuntimeSsisCatalogPricingTier = string; /** Known values of {@link IntegrationRuntimeLicenseType} that the service accepts. */ export enum KnownIntegrationRuntimeLicenseType { + /** BasePrice */ BasePrice = "BasePrice", + /** LicenseIncluded */ LicenseIncluded = "LicenseIncluded" } @@ -5383,7 +5560,9 @@ export type IntegrationRuntimeLicenseType = string; /** Known values of {@link IntegrationRuntimeEntityReferenceType} that the service accepts. */ export enum KnownIntegrationRuntimeEntityReferenceType { + /** IntegrationRuntimeReference */ IntegrationRuntimeReference = "IntegrationRuntimeReference", + /** LinkedServiceReference */ LinkedServiceReference = "LinkedServiceReference" } @@ -5399,7 +5578,9 @@ export type IntegrationRuntimeEntityReferenceType = string; /** Known values of {@link IntegrationRuntimeEdition} that the service accepts. */ export enum KnownIntegrationRuntimeEdition { + /** Standard */ Standard = "Standard", + /** Enterprise */ Enterprise = "Enterprise" } @@ -5415,9 +5596,13 @@ export type IntegrationRuntimeEdition = string; /** Known values of {@link ManagedIntegrationRuntimeNodeStatus} that the service accepts. */ export enum KnownManagedIntegrationRuntimeNodeStatus { + /** Starting */ Starting = "Starting", + /** Available */ Available = "Available", + /** Recycling */ Recycling = "Recycling", + /** Unavailable */ Unavailable = "Unavailable" } @@ -5435,8 +5620,11 @@ export type ManagedIntegrationRuntimeNodeStatus = string; /** Known values of {@link IntegrationRuntimeInternalChannelEncryptionMode} that the service accepts. */ export enum KnownIntegrationRuntimeInternalChannelEncryptionMode { + /** NotSet */ NotSet = "NotSet", + /** SslEncrypted */ SslEncrypted = "SslEncrypted", + /** NotEncrypted */ NotEncrypted = "NotEncrypted" } @@ -5453,8 +5641,11 @@ export type IntegrationRuntimeInternalChannelEncryptionMode = string; /** Known values of {@link PrincipalsModificationKind} that the service accepts. */ export enum KnownPrincipalsModificationKind { + /** Union */ Union = "Union", + /** Replace */ Replace = "Replace", + /** None */ None = "None" } @@ -5471,21 +5662,37 @@ export type PrincipalsModificationKind = string; /** Known values of {@link EventHubDataFormat} that the service accepts. */ export enum KnownEventHubDataFormat { + /** Multijson */ Multijson = "MULTIJSON", + /** Json */ Json = "JSON", + /** CSV */ CSV = "CSV", + /** TSV */ TSV = "TSV", + /** Scsv */ Scsv = "SCSV", + /** Sohsv */ Sohsv = "SOHSV", + /** PSV */ PSV = "PSV", + /** TXT */ TXT = "TXT", + /** RAW */ RAW = "RAW", + /** Singlejson */ Singlejson = "SINGLEJSON", + /** Avro */ Avro = "AVRO", + /** Tsve */ Tsve = "TSVE", + /** Parquet */ Parquet = "PARQUET", + /** ORC */ ORC = "ORC", + /** Apacheavro */ Apacheavro = "APACHEAVRO", + /** W3Clogfile */ W3Clogfile = "W3CLOGFILE" } @@ -5515,7 +5722,9 @@ export type EventHubDataFormat = string; /** Known values of {@link Compression} that the service accepts. */ export enum KnownCompression { + /** None */ None = "None", + /** GZip */ GZip = "GZip" } @@ -5531,21 +5740,37 @@ export type Compression = string; /** Known values of {@link IotHubDataFormat} that the service accepts. */ export enum KnownIotHubDataFormat { + /** Multijson */ Multijson = "MULTIJSON", + /** Json */ Json = "JSON", + /** CSV */ CSV = "CSV", + /** TSV */ TSV = "TSV", + /** Scsv */ Scsv = "SCSV", + /** Sohsv */ Sohsv = "SOHSV", + /** PSV */ PSV = "PSV", + /** TXT */ TXT = "TXT", + /** RAW */ RAW = "RAW", + /** Singlejson */ Singlejson = "SINGLEJSON", + /** Avro */ Avro = "AVRO", + /** Tsve */ Tsve = "TSVE", + /** Parquet */ Parquet = "PARQUET", + /** ORC */ ORC = "ORC", + /** Apacheavro */ Apacheavro = "APACHEAVRO", + /** W3Clogfile */ W3Clogfile = "W3CLOGFILE" } @@ -5575,21 +5800,37 @@ export type IotHubDataFormat = string; /** Known values of {@link EventGridDataFormat} that the service accepts. */ export enum KnownEventGridDataFormat { + /** Multijson */ Multijson = "MULTIJSON", + /** Json */ Json = "JSON", + /** CSV */ CSV = "CSV", + /** TSV */ TSV = "TSV", + /** Scsv */ Scsv = "SCSV", + /** Sohsv */ Sohsv = "SOHSV", + /** PSV */ PSV = "PSV", + /** TXT */ TXT = "TXT", + /** RAW */ RAW = "RAW", + /** Singlejson */ Singlejson = "SINGLEJSON", + /** Avro */ Avro = "AVRO", + /** Tsve */ Tsve = "TSVE", + /** Parquet */ Parquet = "PARQUET", + /** ORC */ ORC = "ORC", + /** Apacheavro */ Apacheavro = "APACHEAVRO", + /** W3Clogfile */ W3Clogfile = "W3CLOGFILE" } @@ -5619,7 +5860,9 @@ export type EventGridDataFormat = string; /** Known values of {@link BlobStorageEventType} that the service accepts. */ export enum KnownBlobStorageEventType { + /** MicrosoftStorageBlobCreated */ MicrosoftStorageBlobCreated = "Microsoft.Storage.BlobCreated", + /** MicrosoftStorageBlobRenamed */ MicrosoftStorageBlobRenamed = "Microsoft.Storage.BlobRenamed" } @@ -5681,6 +5924,15 @@ export type ResourceIdentityType = | "None" | "SystemAssigned" | "SystemAssigned,UserAssigned"; +/** Defines values for DesiredState. */ +export type DesiredState = "Enabled" | "Disabled"; +/** Defines values for ActualState. */ +export type ActualState = + | "Enabling" + | "Enabled" + | "Disabling" + | "Disabled" + | "Unknown"; /** Defines values for Type. */ export type Type = | "Microsoft.Synapse/workspaces/kustoPools/databases" diff --git a/sdk/synapse/arm-synapse/src/models/mappers.ts b/sdk/synapse/arm-synapse/src/models/mappers.ts index fcddea9a6da4..a272fe4d239a 100644 --- a/sdk/synapse/arm-synapse/src/models/mappers.ts +++ b/sdk/synapse/arm-synapse/src/models/mappers.ts @@ -2564,14 +2564,22 @@ export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToMa desiredState: { serializedName: "desiredState", type: { - name: "String" + name: "Enum", + allowedValues: ["Enabled", "Disabled"] } }, actualState: { serializedName: "actualState", readOnly: true, type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Unknown" + ] } } } @@ -8328,6 +8336,13 @@ export const ClusterPrincipalAssignment: coreClient.CompositeMapper = { type: { name: "String" } + }, + aadObjectId: { + serializedName: "properties.aadObjectId", + readOnly: true, + type: { + name: "String" + } } } } @@ -8390,6 +8405,13 @@ export const DatabasePrincipalAssignment: coreClient.CompositeMapper = { type: { name: "String" } + }, + aadObjectId: { + serializedName: "properties.aadObjectId", + readOnly: true, + type: { + name: "String" + } } } } @@ -8719,6 +8741,12 @@ export const BigDataPoolResourceInfo: coreClient.CompositeMapper = { name: "Boolean" } }, + isAutotuneEnabled: { + serializedName: "properties.isAutotuneEnabled", + type: { + name: "Boolean" + } + }, sessionLevelPackagesEnabled: { serializedName: "properties.sessionLevelPackagesEnabled", type: { @@ -9355,6 +9383,13 @@ export const SparkConfigurationResource: coreClient.CompositeMapper = { type: { name: "DateTime" } + }, + configMergeRule: { + serializedName: "properties.configMergeRule", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } } } } diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index 1d4818b95525..704169af318b 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -192,7 +192,7 @@ export class SynapseManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-synapse/8.1.0-beta.2`; + const packageDetails = `azsdk-js-arm-synapse/9.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/synapse/arm-synapse/test/sampleTest.ts b/sdk/synapse/arm-synapse/test/sampleTest.ts index 7ed89b043e1b..25aeb3ebcc36 100644 --- a/sdk/synapse/arm-synapse/test/sampleTest.ts +++ b/sdk/synapse/arm-synapse/test/sampleTest.ts @@ -7,35 +7,30 @@ */ import { - env, - record, - RecorderEnvironmentSetup, - Recorder + Recorder, + RecorderStartOptions, + env } from "@azure-tools/test-recorder"; -import * as assert from "assert"; +import { assert } from "chai"; +import { Context } from "mocha"; -const recorderEnvSetup: RecorderEnvironmentSetup = { - replaceableVariables: { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" - }, - customizationsOnRecordings: [ - (recording: any): any => - recording.replace( - /"access_token":"[^"]*"/g, - `"access_token":"access_token"` - ) - ], - queryParametersToSkip: [] +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables }; describe("My test", () => { let recorder: Recorder; - beforeEach(async function() { - recorder = record(this, recorderEnvSetup); + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); }); afterEach(async function() { diff --git a/sdk/synapse/arm-synapse/tsconfig.json b/sdk/synapse/arm-synapse/tsconfig.json index 91f1f45ff274..3e6ae96443f3 100644 --- a/sdk/synapse/arm-synapse/tsconfig.json +++ b/sdk/synapse/arm-synapse/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-synapse": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"