diff --git a/sdk/sql/arm-sql/README.md b/sdk/sql/arm-sql/README.md index 8a46f763197c..0ca03ef4a694 100644 --- a/sdk/sql/arm-sql/README.md +++ b/sdk/sql/arm-sql/README.md @@ -100,3 +100,5 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/sql/arm-sql/README.png) diff --git a/sdk/sql/arm-sql/package.json b/sdk/sql/arm-sql/package.json index d228a9def05b..5c7297d6195a 100644 --- a/sdk/sql/arm-sql/package.json +++ b/sdk/sql/arm-sql/package.json @@ -4,9 +4,9 @@ "description": "SqlManagementClient Library with typescript type definitions for node.js and browser.", "version": "5.7.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/sql/arm-sql", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/sql/arm-sql", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts index 367ade047c34..741e27dcbf91 100644 --- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts index 71c393d4cfc3..906a1f287802 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts index 005365d185ba..d0fc1daae8ac 100644 --- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts index 79d2d0ed2dd4..8521b56f0d5c 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts index 3a5e9029e8e2..8db3721fb9d9 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/databasesMappers.ts b/sdk/sql/arm-sql/src/models/databasesMappers.ts index 48ad00453ac3..4f68c1666a4c 100644 --- a/sdk/sql/arm-sql/src/models/databasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts @@ -46,6 +46,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -79,6 +80,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts index 72ad4c823273..f26e60fe11c7 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts index af6f91f32bd9..8238879d6b85 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts index 971fa0d0d6ba..21e444fe21c9 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts index c331fb9c588d..77c99540cf29 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts @@ -43,6 +43,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -76,6 +77,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts index d6e386fd5bb2..be0d7282d0c2 100644 --- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts index 1aa08657a6fb..57c999f909c5 100644 --- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts @@ -43,6 +43,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -69,6 +70,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts index 364a2c63b739..7225c6e1b5bb 100644 --- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts index e3f59a6feb92..ca05867ad951 100644 --- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/index.ts b/sdk/sql/arm-sql/src/models/index.ts index 621a1ff1e227..cf60ce4318c0 100644 --- a/sdk/sql/arm-sql/src/models/index.ts +++ b/sdk/sql/arm-sql/src/models/index.ts @@ -534,9 +534,22 @@ export interface ImportRequest extends ExportRequest { */ databaseName: string; /** - * The edition for the database being created. Possible values include: 'Web', 'Business', - * 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', - * 'System2' + * The edition for the database being created. + * + * The list of SKUs may vary by region and support offer. To determine the SKUs (including the + * SKU name, tier/edition, family, and capacity) that are available to your subscription in an + * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: + * + * ```azurecli + * az sql db list-editions -l -o table + * ```` + * + * ```powershell + * Get-AzSqlServerServiceObjective -Location + * ```` + * . Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', + * 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', + * 'Hyperscale' */ edition: DatabaseEdition; /** @@ -719,7 +732,8 @@ export interface RecommendedElasticPoolMetric { export interface RecommendedElasticPool extends ProxyResource { /** * The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all - * the valid editions. Possible values include: 'Basic', 'Standard', 'Premium' + * the valid editions. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', + * 'BusinessCritical' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly databaseEdition?: ElasticPoolEdition; @@ -1648,223 +1662,6 @@ export interface FailoverGroupUpdate { tags?: { [propertyName: string]: string }; } -/** - * Azure Active Directory identity configuration for a resource. - */ -export interface ResourceIdentity { - /** - * The Azure Active Directory principal id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly principalId?: string; - /** - * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an - * Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned' - */ - type?: IdentityType; - /** - * The Azure Active Directory tenant id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly tenantId?: string; -} - -/** - * The resource model definition representing SKU - */ -export interface Sku { - /** - * The name of the SKU. Ex - P3. It is typically a letter+number code - */ - name: string; - /** - * This field is required to be implemented by the Resource Provider if the service has more than - * one tier, but is not required on a PUT. - */ - tier?: string; - /** - * The SKU size. When the name field is the combination of tier and some other value, this would - * be the standalone code. - */ - size?: string; - /** - * If the service has different generations of hardware, for the same SKU, then that can be - * captured here. - */ - family?: string; - /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in - * is not possible for the resource this may be omitted. - */ - capacity?: number; -} - -/** - * An Azure SQL managed instance. - */ -export interface ManagedInstance extends TrackedResource { - /** - * The Azure Active Directory identity of the managed instance. - */ - identity?: ResourceIdentity; - /** - * Managed instance sku - */ - sku?: Sku; - /** - * The fully qualified domain name of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly fullyQualifiedDomainName?: string; - /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). - */ - administratorLogin?: string; - /** - * The administrator login password (required for managed instance creation). - */ - administratorLoginPassword?: string; - /** - * Subnet resource ID for the managed instance. - */ - subnetId?: string; - /** - * The state of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The license type. Possible values are 'LicenseIncluded' and 'BasePrice'. - */ - licenseType?: string; - /** - * The number of VCores. - */ - vCores?: number; - /** - * The maximum storage size in GB. - */ - storageSizeInGB?: number; - /** - * Collation of the managed instance. - */ - collation?: string; - /** - * The Dns Zone that the managed instance is in. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dnsZone?: string; - /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. - */ - dnsZonePartner?: string; - /** - * Whether or not the public data endpoint is enabled. - */ - publicDataEndpointEnabled?: boolean; - /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' - */ - proxyOverride?: ManagedInstanceProxyOverride; - /** - * Id of the timezone. Allowed values are timezones supported by Windows. - * Windows keeps details on supported timezones, including the id, in registry under - * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. - * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM - * sys.time_zone_info. - * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in - * PowerShell. - * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". - */ - timezoneId?: string; -} - -/** - * An update request for an Azure SQL Database managed instance. - */ -export interface ManagedInstanceUpdate { - /** - * Managed instance sku - */ - sku?: Sku; - /** - * The fully qualified domain name of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly fullyQualifiedDomainName?: string; - /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). - */ - administratorLogin?: string; - /** - * The administrator login password (required for managed instance creation). - */ - administratorLoginPassword?: string; - /** - * Subnet resource ID for the managed instance. - */ - subnetId?: string; - /** - * The state of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The license type. Possible values are 'LicenseIncluded' and 'BasePrice'. - */ - licenseType?: string; - /** - * The number of VCores. - */ - vCores?: number; - /** - * The maximum storage size in GB. - */ - storageSizeInGB?: number; - /** - * Collation of the managed instance. - */ - collation?: string; - /** - * The Dns Zone that the managed instance is in. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dnsZone?: string; - /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. - */ - dnsZonePartner?: string; - /** - * Whether or not the public data endpoint is enabled. - */ - publicDataEndpointEnabled?: boolean; - /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' - */ - proxyOverride?: ManagedInstanceProxyOverride; - /** - * Id of the timezone. Allowed values are timezones supported by Windows. - * Windows keeps details on supported timezones, including the id, in registry under - * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. - * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM - * sys.time_zone_info. - * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in - * PowerShell. - * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". - */ - timezoneId?: string; - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - /** * Display metadata associated with the operation. */ @@ -1954,6 +1751,27 @@ export interface ServerKey extends ProxyResource { creationDate?: Date; } +/** + * Azure Active Directory identity configuration for a resource. + */ +export interface ResourceIdentity { + /** + * The Azure Active Directory principal id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly principalId?: string; + /** + * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an + * Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned' + */ + type?: IdentityType; + /** + * The Azure Active Directory tenant id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tenantId?: string; +} + /** * An Azure SQL Database server. */ @@ -3046,27 +2864,57 @@ export interface DatabaseVulnerabilityAssessment extends ProxyResource { } /** - * An Azure SQL job agent. + * The resource model definition representing SKU */ -export interface JobAgent extends TrackedResource { +export interface Sku { /** - * The name and tier of the SKU. + * The name of the SKU. Ex - P3. It is typically a letter+number code */ - sku?: Sku; + name: string; /** - * Resource ID of the database to store job metadata in. + * This field is required to be implemented by the Resource Provider if the service has more than + * one tier, but is not required on a PUT. */ - databaseId: string; + tier?: string; /** - * The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating', - * 'Deleting', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The SKU size. When the name field is the combination of tier and some other value, this would + * be the standalone code. */ - readonly state?: JobAgentState; -} - -/** - * An update to an Azure SQL job agent. + size?: string; + /** + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. + */ + family?: string; + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in + * is not possible for the resource this may be omitted. + */ + capacity?: number; +} + +/** + * An Azure SQL job agent. + */ +export interface JobAgent extends TrackedResource { + /** + * The name and tier of the SKU. + */ + sku?: Sku; + /** + * Resource ID of the database to store job metadata in. + */ + databaseId: string; + /** + * The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating', + * 'Deleting', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: JobAgentState; +} + +/** + * An update to an Azure SQL job agent. */ export interface JobAgentUpdate { /** @@ -3926,6 +3774,13 @@ export interface SensitivityLabel extends ProxyResource { * The information type ID. */ informationTypeId?: string; + /** + * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. + * Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or + * not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDisabled?: boolean; } /** @@ -4605,7 +4460,19 @@ export interface LocationCapabilities { */ export interface Database extends TrackedResource { /** - * The name and tier of the SKU. + * The database SKU. + * + * The list of SKUs may vary by region and support offer. To determine the SKUs (including the + * SKU name, tier/edition, family, and capacity) that are available to your subscription in an + * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: + * + * ```azurecli + * az sql db list-editions -l -o table + * ```` + * + * ```powershell + * Get-AzSqlServerServiceObjective -Location + * ```` */ sku?: Sku; /** @@ -4678,7 +4545,7 @@ export interface Database extends TrackedResource { * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', - * 'Scaling' + * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: DatabaseStatus; @@ -4778,6 +4645,15 @@ export interface Database extends TrackedResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly currentSku?: Sku; + /** + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled + */ + autoPauseDelay?: number; + /** + * Minimal capacity that database will always have allocated, if not paused + */ + minCapacity?: number; } /** @@ -4848,7 +4724,7 @@ export interface DatabaseUpdate { * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', - * 'Scaling' + * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: DatabaseStatus; @@ -4948,6 +4824,15 @@ export interface DatabaseUpdate { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly currentSku?: Sku; + /** + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled + */ + autoPauseDelay?: number; + /** + * Minimal capacity that database will always have allocated, if not paused + */ + minCapacity?: number; /** * Resource tags. */ @@ -4982,6 +4867,17 @@ export interface ElasticPoolPerDatabaseSettings { * An elastic pool. */ export interface ElasticPool extends TrackedResource { + /** + * The elastic pool SKU. + * + * The list of SKUs may vary by region and support offer. To determine the SKUs (including the + * SKU name, tier/edition, family, and capacity) that are available to your subscription in an + * Azure region, use the `Capabilities_ListByLocation` REST API or the following command: + * + * ```azurecli + * az sql elastic-pool list-editions -l -o table + * ```` + */ sku?: Sku; /** * Kind of elastic pool. This is metadata used for the Azure portal experience. @@ -5361,317 +5257,729 @@ export interface ServerVulnerabilityAssessment extends ProxyResource { } /** - * Optional Parameters. + * An Azure SQL instance pool. */ -export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { +export interface InstancePool extends TrackedResource { /** - * The number of elements in the collection to skip. + * The name and tier of the SKU. */ - skip?: number; + sku?: Sku; + /** + * Resource ID of the subnet to place this instance pool in. + */ + subnetId: string; + /** + * Count of vCores belonging to this instance pool. + */ + vCores: number; + /** + * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) + * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', + * 'BasePrice' + */ + licenseType: InstancePoolLicenseType; } /** - * Optional Parameters. + * An update to an Instance pool. */ -export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { +export interface InstancePoolUpdate { /** - * The continuation token for this operation. + * Resource tags. */ - continuationToken?: string; + tags?: { [propertyName: string]: string }; } /** - * Optional Parameters. + * ARM Usage Name */ -export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { +export interface Name { /** - * If specified, only job executions created at or after the specified time are included. + * Usage name value */ - createTimeMin?: Date; + value?: string; /** - * If specified, only job executions created before the specified time are included. + * Usage name localized value. */ - createTimeMax?: Date; + localizedValue?: string; +} + +/** + * ARM usage. + */ +export interface Usage { /** - * If specified, only job executions completed at or after the specified time are included. + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly id?: string; /** - * If specified, only job executions completed before the specified time are included. + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly name?: Name; /** - * If specified, only active or only completed job executions are included. + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly type?: string; /** - * The number of elements in the collection to skip. + * Usage unit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly unit?: string; /** - * The number of elements to return from the collection. + * Usage current value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly currentValue?: number; + /** + * Usage limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly limit?: number; + /** + * Usage requested limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requestedLimit?: number; } /** - * Optional Parameters. + * An Azure SQL managed instance. */ -export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { - /** - * If specified, only job executions created at or after the specified time are included. - */ - createTimeMin?: Date; +export interface ManagedInstance extends TrackedResource { /** - * If specified, only job executions created before the specified time are included. + * The Azure Active Directory identity of the managed instance. */ - createTimeMax?: Date; + identity?: ResourceIdentity; /** - * If specified, only job executions completed at or after the specified time are included. + * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 */ - endTimeMin?: Date; + sku?: Sku; /** - * If specified, only job executions completed before the specified time are included. + * Specifies the mode of database creation. + * + * Default: Regular instance creation. + * + * Restore: Creates an instance by restoring a set of backups to specific point in time. + * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: + * 'Default', 'PointInTimeRestore' */ - endTimeMax?: Date; + managedInstanceCreateMode?: ManagedServerCreateMode; /** - * If specified, only active or only completed job executions are included. + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly fullyQualifiedDomainName?: string; /** - * The number of elements in the collection to skip. + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). */ - skip?: number; + administratorLogin?: string; /** - * The number of elements to return from the collection. + * The administrator login password (required for managed instance creation). */ - top?: number; -} - -/** - * Optional Parameters. - */ -export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { + administratorLoginPassword?: string; /** - * If specified, only job executions created at or after the specified time are included. + * Subnet resource ID for the managed instance. */ - createTimeMin?: Date; + subnetId?: string; /** - * If specified, only job executions created before the specified time are included. + * The state of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly state?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL + * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible + * values include: 'LicenseIncluded', 'BasePrice' */ - endTimeMin?: Date; + licenseType?: ManagedInstanceLicenseType; /** - * If specified, only job executions completed before the specified time are included. + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. */ - endTimeMax?: Date; + vCores?: number; /** - * If specified, only active or only completed job executions are included. + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. */ - isActive?: boolean; + storageSizeInGB?: number; /** - * The number of elements in the collection to skip. + * Collation of the managed instance. */ - skip?: number; + collation?: string; /** - * The number of elements to return from the collection. + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; -} - -/** - * Optional Parameters. - */ -export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { + readonly dnsZone?: string; /** - * If specified, only job executions created at or after the specified time are included. + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. */ - createTimeMin?: Date; + dnsZonePartner?: string; /** - * If specified, only job executions created before the specified time are included. + * Whether or not the public data endpoint is enabled. */ - createTimeMax?: Date; + publicDataEndpointEnabled?: boolean; /** - * If specified, only job executions completed at or after the specified time are included. + * The resource identifier of the source managed instance associated with create operation of + * this instance. */ - endTimeMin?: Date; + sourceManagedInstanceId?: string; /** - * If specified, only job executions completed before the specified time are included. + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - endTimeMax?: Date; + restorePointInTime?: Date; /** - * If specified, only active or only completed job executions are included. + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' */ - isActive?: boolean; + proxyOverride?: ManagedInstanceProxyOverride; /** - * The number of elements in the collection to skip. + * Id of the timezone. Allowed values are timezones supported by Windows. + * Windows keeps details on supported timezones, including the id, in registry under + * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM + * sys.time_zone_info. + * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in + * PowerShell. + * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". */ - skip?: number; + timezoneId?: string; /** - * The number of elements to return from the collection. + * The Id of the instance pool this managed server belongs to. */ - top?: number; + instancePoolId?: string; } /** - * Optional Parameters. + * An update request for an Azure SQL Database managed instance. */ -export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedInstanceUpdate { /** - * If specified, only job executions created at or after the specified time are included. + * Managed instance sku */ - createTimeMin?: Date; + sku?: Sku; /** - * If specified, only job executions created before the specified time are included. + * Specifies the mode of database creation. + * + * Default: Regular instance creation. + * + * Restore: Creates an instance by restoring a set of backups to specific point in time. + * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: + * 'Default', 'PointInTimeRestore' */ - createTimeMax?: Date; + managedInstanceCreateMode?: ManagedServerCreateMode; /** - * If specified, only job executions completed at or after the specified time are included. + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly fullyQualifiedDomainName?: string; /** - * If specified, only job executions completed before the specified time are included. + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). */ - endTimeMax?: Date; + administratorLogin?: string; /** - * If specified, only active or only completed job executions are included. + * The administrator login password (required for managed instance creation). */ - isActive?: boolean; + administratorLoginPassword?: string; /** - * The number of elements in the collection to skip. + * Subnet resource ID for the managed instance. */ - skip?: number; + subnetId?: string; /** - * The number of elements to return from the collection. + * The state of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; -} + readonly state?: string; + /** + * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL + * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible + * values include: 'LicenseIncluded', 'BasePrice' + */ + licenseType?: ManagedInstanceLicenseType; + /** + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + */ + vCores?: number; + /** + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + */ + storageSizeInGB?: number; + /** + * Collation of the managed instance. + */ + collation?: string; + /** + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dnsZone?: string; + /** + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. + */ + dnsZonePartner?: string; + /** + * Whether or not the public data endpoint is enabled. + */ + publicDataEndpointEnabled?: boolean; + /** + * The resource identifier of the source managed instance associated with create operation of + * this instance. + */ + sourceManagedInstanceId?: string; + /** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. + */ + restorePointInTime?: Date; + /** + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' + */ + proxyOverride?: ManagedInstanceProxyOverride; + /** + * Id of the timezone. Allowed values are timezones supported by Windows. + * Windows keeps details on supported timezones, including the id, in registry under + * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM + * sys.time_zone_info. + * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in + * PowerShell. + * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". + */ + timezoneId?: string; + /** + * The Id of the instance pool this managed server belongs to. + */ + instancePoolId?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} /** - * Optional Parameters. + * An interface representing PrivateEndpointProperty. */ -export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { - /** - * Whether or not to only get the latest backup for each database. - */ - onlyLatestPerDatabase?: boolean; +export interface PrivateEndpointProperty { /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Resource id of the private endpoint. */ - databaseState?: LongTermRetentionDatabaseState; + id?: string; } /** - * Optional Parameters. + * An interface representing PrivateLinkServiceConnectionStateProperty. */ -export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { +export interface PrivateLinkServiceConnectionStateProperty { /** - * Whether or not to only get the latest backup for each database. + * The private link service connection status. */ - onlyLatestPerDatabase?: boolean; + status: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * The private link service connection description. */ - databaseState?: LongTermRetentionDatabaseState; + description: string; } /** - * Optional Parameters. + * A private endpoint connection */ -export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { +export interface PrivateEndpointConnection extends ProxyResource { /** - * Whether or not to only get the latest backup for each database. + * Private endpoint which the connection belongs to. */ - onlyLatestPerDatabase?: boolean; + privateEndpoint?: PrivateEndpointProperty; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Connection State of the Private Endpoint Connection. */ - databaseState?: LongTermRetentionDatabaseState; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + /** + * State of the Private Endpoint Connection. + */ + state?: string; } /** * Optional Parameters. */ -export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { /** - * An OData filter expression that filters elements in the collection. + * The number of elements in the collection to skip. */ - filter?: string; + skip?: number; } /** * Optional Parameters. */ -export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { - skipToken?: string; +export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { /** - * An OData filter expression that filters elements in the collection. + * The continuation token for this operation. */ - filter?: string; + continuationToken?: string; } /** * Optional Parameters. */ -export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { +export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { /** - * If specified, restricts the response to only include the selected item. Possible values - * include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' + * If specified, only job executions created at or after the specified time are included. */ - include?: CapabilityGroup; + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; } /** * Optional Parameters. */ -export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { +export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { /** - * An OData filter expression that filters elements in the collection. + * If specified, only job executions created at or after the specified time are included. */ - filter?: string; + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; } /** * Optional Parameters. */ -export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { /** - * An OData filter expression that filters elements in the collection. + * If specified, only job executions created at or after the specified time are included. */ - filter?: string; + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; } /** * Optional Parameters. */ -export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { - skipToken?: string; +export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { /** - * An OData filter expression that filters elements in the collection. + * If specified, only job executions created at or after the specified time are included. */ - filter?: string; + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; } /** - * An interface representing SqlManagementClientOptions. + * Optional Parameters. */ -export interface SqlManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; } /** - * @interface - * The response to a list recoverable databases request - * @extends Array + * Optional Parameters. */ -export interface RecoverableDatabaseListResult extends Array { +export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, restricts the response to only include the selected item. Possible values + * include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions' + */ + include?: CapabilityGroup; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { + /** + * Optional request parameter to include managed instance usages within the instance pool. + */ + expandChildren?: boolean; +} + +/** + * An interface representing SqlManagementClientOptions. + */ +export interface SqlManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * The response to a list recoverable databases request + * @extends Array + */ +export interface RecoverableDatabaseListResult extends Array { } /** @@ -5883,19 +6191,6 @@ export interface FailoverGroupListResult extends Array { readonly nextLink?: string; } -/** - * @interface - * A list of managed instances. - * @extends Array - */ -export interface ManagedInstanceListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * @interface * Result of the request to list SQL operations. @@ -6416,6 +6711,58 @@ export interface ServerVulnerabilityAssessmentListResult extends Array + */ +export interface InstancePoolListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of usages. + * @extends Array + */ +export interface UsageListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed instances. + * @extends Array + */ +export interface ManagedInstanceListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of private endpoint connections. + * @extends Array + */ +export interface PrivateEndpointConnectionListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * Defines values for CheckNameAvailabilityReason. * Possible values include: 'Invalid', 'AlreadyExists' @@ -6491,11 +6838,12 @@ export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; /** * Defines values for DatabaseEdition. * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', - * 'Stretch', 'DataWarehouse', 'System', 'System2' + * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', + * 'Hyperscale' * @readonly * @enum {string} */ -export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2'; +export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; /** * Defines values for ServiceObjectiveName. @@ -6555,11 +6903,11 @@ export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'Co /** * Defines values for ElasticPoolEdition. - * Possible values include: 'Basic', 'Standard', 'Premium' + * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' * @readonly * @enum {string} */ -export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium'; +export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; /** * Defines values for ReplicationRole. @@ -6684,28 +7032,20 @@ export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; /** - * Defines values for IdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} - */ -export type IdentityType = 'SystemAssigned'; - -/** - * Defines values for ManagedInstanceProxyOverride. - * Possible values include: 'Proxy', 'Redirect', 'Default' + * Defines values for OperationOrigin. + * Possible values include: 'user', 'system' * @readonly * @enum {string} */ -export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; +export type OperationOrigin = 'user' | 'system'; /** - * Defines values for OperationOrigin. - * Possible values include: 'user', 'system' + * Defines values for IdentityType. + * Possible values include: 'SystemAssigned' * @readonly * @enum {string} */ -export type OperationOrigin = 'user' | 'system'; +export type IdentityType = 'SystemAssigned'; /** * Defines values for SyncAgentState. @@ -6969,11 +7309,12 @@ export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWor * Defines values for DatabaseStatus. * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', - * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling' + * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling', + * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers' * @readonly * @enum {string} */ -export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling'; +export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers'; /** * Defines values for DatabaseLicenseType. @@ -7032,23 +7373,55 @@ export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRu export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; /** - * Defines values for LongTermRetentionDatabaseState. - * Possible values include: 'All', 'Live', 'Deleted' + * Defines values for InstancePoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' * @readonly * @enum {string} */ -export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; +export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * Defines values for VulnerabilityAssessmentPolicyBaselineName. - * Possible values include: 'master', 'default' + * Defines values for ManagedServerCreateMode. + * Possible values include: 'Default', 'PointInTimeRestore' * @readonly * @enum {string} */ -export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; +export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; /** - * Defines values for SensitivityLabelSource. + * Defines values for ManagedInstanceLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for ManagedInstanceProxyOverride. + * Possible values include: 'Proxy', 'Redirect', 'Default' + * @readonly + * @enum {string} + */ +export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; + +/** + * Defines values for LongTermRetentionDatabaseState. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for VulnerabilityAssessmentPolicyBaselineName. + * Possible values include: 'master', 'default' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; + +/** + * Defines values for SensitivityLabelSource. * Possible values include: 'current', 'recommended' * @readonly * @enum {string} @@ -7065,17 +7438,497 @@ export type SensitivityLabelSource = 'current' | 'recommended'; export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions'; /** - * Defines values for Type. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Defines values for Type. + * Possible values include: 'All', 'Error', 'Warning', 'Success' + * @readonly + * @enum {string} + */ +export type Type = 'All' | 'Error' | 'Warning' | 'Success'; + +/** + * Contains response data for the get operation. + */ +export type RecoverableDatabasesGetResponse = RecoverableDatabase & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabase; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabaseListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedDatabase; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedDatabaseListResult; + }; +}; + +/** + * Contains response data for the checkNameAvailability operation. + */ +export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: CheckNameAvailabilityResponse; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ServersListResponse = ServerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type ServersListByResourceGroupResponse = ServerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ServersGetResponse = Server & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Server; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ServersCreateOrUpdateResponse = Server & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Server; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ServersUpdateResponse = Server & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Server; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ServersBeginCreateOrUpdateResponse = Server & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Server; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type ServersBeginUpdateResponse = Server & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Server; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ServersListNextResponse = ServerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type ServersListByResourceGroupNextResponse = ServerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseSecurityAlertPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseSecurityAlertPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; +}; + +/** + * Contains response data for the listByDatabase operation. + */ +export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRuleListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: FirewallRule; + }; +}; + +/** + * Contains response data for the get operation. */ -export type Type = 'All' | 'Error' | 'Warning' | 'Success'; +export type FirewallRulesGetResponse = FirewallRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: FirewallRule; + }; +}; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type RecoverableDatabasesGetResponse = RecoverableDatabase & { +export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The underlying HTTP response. */ @@ -7088,14 +7941,14 @@ export type RecoverableDatabasesGetResponse = RecoverableDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabase; + parsedBody: FirewallRuleListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { +export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The underlying HTTP response. */ @@ -7108,14 +7961,14 @@ export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListRe /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabaseListResult; + parsedBody: GeoBackupPolicy; }; }; /** * Contains response data for the get operation. */ -export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { +export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The underlying HTTP response. */ @@ -7128,14 +7981,14 @@ export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabase; + parsedBody: GeoBackupPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabase operation. */ -export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { +export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { /** * The underlying HTTP response. */ @@ -7148,14 +8001,14 @@ export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDa /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabaseListResult; + parsedBody: GeoBackupPolicyListResult; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the importMethod operation. */ -export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { +export type DatabasesImportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7168,14 +8021,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse /** * The response body as parsed JSON or XML */ - parsedBody: CheckNameAvailabilityResponse; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createImportOperation operation. */ -export type ServersListResponse = ServerListResult & { +export type DatabasesCreateImportOperationResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7188,14 +8041,14 @@ export type ServersListResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the exportMethod operation. */ -export type ServersListByResourceGroupResponse = ServerListResult & { +export type DatabasesExportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7208,14 +8061,14 @@ export type ServersListByResourceGroupResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listMetrics operation. */ -export type ServersGetResponse = Server & { +export type DatabasesListMetricsResponse = MetricListResult & { /** * The underlying HTTP response. */ @@ -7228,14 +8081,14 @@ export type ServersGetResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: MetricListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMetricDefinitions operation. */ -export type ServersCreateOrUpdateResponse = Server & { +export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { /** * The underlying HTTP response. */ @@ -7248,14 +8101,14 @@ export type ServersCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: MetricDefinitionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByServer operation. */ -export type ServersUpdateResponse = Server & { +export type DatabasesListByServerResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7268,14 +8121,14 @@ export type ServersUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ServersBeginCreateOrUpdateResponse = Server & { +export type DatabasesGetResponse = Database & { /** * The underlying HTTP response. */ @@ -7288,14 +8141,14 @@ export type ServersBeginCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: Database; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServersBeginUpdateResponse = Server & { +export type DatabasesCreateOrUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7308,14 +8161,14 @@ export type ServersBeginUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: Database; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type ServersListNextResponse = ServerListResult & { +export type DatabasesUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7328,14 +8181,14 @@ export type ServersListNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: Database; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByElasticPool operation. */ -export type ServersListByResourceGroupNextResponse = ServerListResult & { +export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7348,14 +8201,14 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the pause operation. */ -export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { +export type DatabasesPauseResponse = Database & { /** * The underlying HTTP response. */ @@ -7368,14 +8221,14 @@ export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPol /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: Database; }; }; /** - * Contains response data for the get operation. + * Contains response data for the resume operation. */ -export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { +export type DatabasesResumeResponse = Database & { /** * The underlying HTTP response. */ @@ -7388,14 +8241,14 @@ export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: Database; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginImportMethod operation. */ -export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { +export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7408,14 +8261,14 @@ export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateImportOperation operation. */ -export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { +export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7428,14 +8281,14 @@ export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginExportMethod operation. */ -export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { +export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7448,14 +8301,14 @@ export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { +export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7468,14 +8321,14 @@ export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: Database; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { +export type DatabasesBeginUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7488,14 +8341,14 @@ export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRule; + parsedBody: Database; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginPause operation. */ -export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { +export type DatabasesBeginPauseResponse = Database & { /** * The underlying HTTP response. */ @@ -7508,14 +8361,14 @@ export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRuleListResult; + parsedBody: Database; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginResume operation. */ -export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { +export type DatabasesBeginResumeResponse = Database & { /** * The underlying HTTP response. */ @@ -7528,14 +8381,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: Database; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type FirewallRulesGetResponse = FirewallRule & { +export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7548,14 +8401,14 @@ export type FirewallRulesGetResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type FirewallRulesListByServerResponse = FirewallRuleListResult & { +export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7568,14 +8421,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMetrics operation. */ -export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { +export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The underlying HTTP response. */ @@ -7588,14 +8441,14 @@ export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: MetricListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listMetricDefinitions operation. */ -export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { /** * The underlying HTTP response. */ @@ -7608,14 +8461,14 @@ export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: MetricDefinitionListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { +export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -7628,14 +8481,14 @@ export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicyListResult; + parsedBody: ElasticPoolListResult; }; }; /** - * Contains response data for the importMethod operation. + * Contains response data for the get operation. */ -export type DatabasesImportMethodResponse = ImportExportResponse & { +export type ElasticPoolsGetResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7648,14 +8501,14 @@ export type DatabasesImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the createImportOperation operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesCreateImportOperationResponse = ImportExportResponse & { +export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7668,14 +8521,14 @@ export type DatabasesCreateImportOperationResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the update operation. */ -export type DatabasesExportMethodResponse = ImportExportResponse & { +export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7688,14 +8541,14 @@ export type DatabasesExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesListMetricsResponse = MetricListResult & { +export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7708,14 +8561,14 @@ export type DatabasesListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the beginUpdate operation. */ -export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7728,14 +8581,14 @@ export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesListByServerResponse = DatabaseListResult & { +export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -7748,14 +8601,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ElasticPoolListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabasesGetResponse = Database & { +export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The underlying HTTP response. */ @@ -7768,14 +8621,34 @@ export type DatabasesGetResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: RecommendedElasticPool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type DatabasesCreateOrUpdateResponse = Database & { +export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecommendedElasticPoolListResult; + }; +}; + +/** + * Contains response data for the listMetrics operation. + */ +export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { /** * The underlying HTTP response. */ @@ -7788,14 +8661,14 @@ export type DatabasesCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: RecommendedElasticPoolListMetricsResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type DatabasesUpdateResponse = Database & { +export type ReplicationLinksGetResponse = ReplicationLink & { /** * The underlying HTTP response. */ @@ -7808,14 +8681,14 @@ export type DatabasesUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ReplicationLink; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByDatabase operation. */ -export type DatabasesListByElasticPoolResponse = DatabaseListResult & { +export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ @@ -7828,14 +8701,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ReplicationLinkListResult; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesPauseResponse = Database & { +export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -7848,14 +8721,14 @@ export type DatabasesPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the deleteMethod operation. */ -export type DatabasesResumeResponse = Database & { +export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -7868,14 +8741,14 @@ export type DatabasesResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginImportMethod operation. + * Contains response data for the get operation. */ -export type DatabasesBeginImportMethodResponse = ImportExportResponse & { +export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -7888,14 +8761,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginCreateImportOperation operation. + * Contains response data for the listByServer operation. */ -export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { +export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { /** * The underlying HTTP response. */ @@ -7908,14 +8781,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ServerAdministratorListResult; }; }; /** - * Contains response data for the beginExportMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesBeginExportMethodResponse = ImportExportResponse & { +export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -7928,14 +8801,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginDeleteMethod operation. */ -export type DatabasesBeginCreateOrUpdateResponse = Database & { +export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -7948,14 +8821,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type DatabasesBeginUpdateResponse = Database & { +export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -7968,14 +8841,14 @@ export type DatabasesBeginUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesBeginPauseResponse = Database & { +export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -7988,14 +8861,14 @@ export type DatabasesBeginPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the listByServer operation. */ -export type DatabasesBeginResumeResponse = Database & { +export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { /** * The underlying HTTP response. */ @@ -8008,14 +8881,14 @@ export type DatabasesBeginResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerCommunicationLinkListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8028,14 +8901,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the get operation. */ -export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { +export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The underlying HTTP response. */ @@ -8048,14 +8921,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ServiceObjective; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsListMetricsResponse = MetricListResult & { +export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { /** * The underlying HTTP response. */ @@ -8068,14 +8941,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: ServiceObjectiveListResult; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the listByElasticPool operation. */ -export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { /** * The underlying HTTP response. */ @@ -8088,14 +8961,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: ElasticPoolActivityListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByElasticPool operation. */ -export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { +export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { /** * The underlying HTTP response. */ @@ -8108,14 +8981,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: ElasticPoolDatabaseActivityListResult; }; }; /** * Contains response data for the get operation. */ -export type ElasticPoolsGetResponse = ElasticPool & { +export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The underlying HTTP response. */ @@ -8128,14 +9001,14 @@ export type ElasticPoolsGetResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServiceTierAdvisor; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { +export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { /** * The underlying HTTP response. */ @@ -8148,14 +9021,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServiceTierAdvisorListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolsUpdateResponse = ElasticPool & { +export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8168,14 +9041,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { +export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8188,14 +9061,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByConfiguration operation. */ -export type ElasticPoolsBeginUpdateResponse = ElasticPool & { +export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { /** * The underlying HTTP response. */ @@ -8208,14 +9081,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: TransparentDataEncryptionActivityListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { +export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -8228,14 +9101,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { +export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The underlying HTTP response. */ @@ -8248,14 +9121,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPool; + parsedBody: DatabaseUsageListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { +export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8268,14 +9141,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListResult; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the update operation. */ -export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { +export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8288,14 +9161,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListMetricsResult; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ReplicationLinksGetResponse = ReplicationLink & { +export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8308,14 +9181,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLink; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { +export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8328,14 +9201,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: EncryptionProtector; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8348,14 +9221,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { +export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8368,14 +9241,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { +export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8388,14 +9261,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { +export type FailoverGroupsGetResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8408,14 +9281,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato /** * The response body as parsed JSON or XML */ - parsedBody: ServerAdministratorListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8428,14 +9301,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the update operation. */ -export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { +export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8448,14 +9321,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { +export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8468,14 +9341,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the failover operation. */ -export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { +export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8488,14 +9361,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { +export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8508,14 +9381,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLinkListResult; + parsedBody: FailoverGroup; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { +export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8528,14 +9401,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ServiceObjectivesGetResponse = ServiceObjective & { +export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8548,14 +9421,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjective; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginFailover operation. */ -export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { +export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8568,14 +9441,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjectiveListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { +export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8588,14 +9461,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolActivityListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { +export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8608,14 +9481,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolDatabaseActivityListResult; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8628,14 +9501,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisor; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listNext operation. */ -export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { +export type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8648,14 +9521,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisorListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8668,14 +9541,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: ServerKeyListResult; }; }; /** * Contains response data for the get operation. */ -export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type ServerKeysGetResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8688,14 +9561,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByConfiguration operation. + * Contains response data for the createOrUpdate operation. */ -export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { +export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8708,14 +9581,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryptionActivityListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerUsagesListByServerResponse = ServerUsageListResult & { +export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8728,14 +9601,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerUsageListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServerNext operation. */ -export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { +export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8748,14 +9621,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseUsageListResult; + parsedBody: ServerKeyListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { +export type SyncAgentsGetResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8768,14 +9641,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { +export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8788,14 +9661,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: SyncAgent; }; }; /** * Contains response data for the listByServer operation. */ -export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { +export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8808,14 +9681,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the generateKey operation. */ -export type EncryptionProtectorsGetResponse = EncryptionProtector & { +export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The underlying HTTP response. */ @@ -8828,14 +9701,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncAgentKeyProperties; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listLinkedDatabases operation. */ -export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { +export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8848,14 +9721,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { +export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8868,14 +9741,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncAgent; }; }; /** * Contains response data for the listByServerNext operation. */ -export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { +export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8888,14 +9761,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listLinkedDatabasesNext operation. */ -export type FailoverGroupsGetResponse = FailoverGroup & { +export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8908,14 +9781,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listSyncDatabaseIds operation. */ -export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { +export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -8928,14 +9801,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listHubSchemas operation. */ -export type FailoverGroupsUpdateResponse = FailoverGroup & { +export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -8948,14 +9821,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listLogs operation. */ -export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { +export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -8968,14 +9841,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the get operation. */ -export type FailoverGroupsFailoverResponse = FailoverGroup & { +export type SyncGroupsGetResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -8988,14 +9861,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { +export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9008,14 +9881,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { +export type SyncGroupsUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9028,14 +9901,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { +export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9048,14 +9921,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { +export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9068,14 +9941,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the beginUpdate operation. */ -export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { +export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9088,14 +9961,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listSyncDatabaseIdsNext operation. */ -export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { +export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -9108,14 +9981,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listHubSchemasNext operation. */ -export type ManagedInstancesListResponse = ManagedInstanceListResult & { +export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9128,14 +10001,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listLogsNext operation. */ -export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { +export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -9148,14 +10021,14 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedInstancesGetResponse = ManagedInstance & { +export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9168,14 +10041,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { +export type SyncMembersGetResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9188,14 +10061,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: SyncMember; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstancesUpdateResponse = ManagedInstance & { +export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9208,14 +10081,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: SyncMember; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { +export type SyncMembersUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9228,14 +10101,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: SyncMember; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listBySyncGroup operation. */ -export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { +export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -9248,14 +10121,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listMemberSchemas operation. */ -export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { +export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9268,14 +10141,14 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { +export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9288,14 +10161,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginUpdate operation. */ -export type OperationsListResponse = OperationListResult & { +export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9308,14 +10181,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySyncGroupNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -9328,14 +10201,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listMemberSchemasNext operation. */ -export type ServerKeysListByServerResponse = ServerKeyListResult & { +export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9348,14 +10221,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type ServerKeysGetResponse = ServerKey & { +export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -9368,14 +10241,14 @@ export type ServerKeysGetResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerKeysCreateOrUpdateResponse = ServerKey & { +export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The underlying HTTP response. */ @@ -9388,14 +10261,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SubscriptionUsage; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByLocationNext operation. */ -export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { +export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -9408,14 +10281,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the list operation. */ -export type ServerKeysListByServerNextResponse = ServerKeyListResult & { +export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9428,14 +10301,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type SyncAgentsGetResponse = SyncAgent & { +export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9448,14 +10321,14 @@ export type SyncAgentsGetResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { +export type VirtualClustersGetResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9468,14 +10341,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type SyncAgentsListByServerResponse = SyncAgentListResult & { +export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9488,14 +10361,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the generateKey operation. + * Contains response data for the beginUpdate operation. */ -export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { +export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9508,14 +10381,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentKeyProperties; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the listLinkedDatabases operation. + * Contains response data for the listNext operation. */ -export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { +export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9528,14 +10401,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { +export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9548,14 +10421,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { +export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9568,14 +10441,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the listLinkedDatabasesNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { +export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9588,14 +10461,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the listSyncDatabaseIds operation. + * Contains response data for the listByServer operation. */ -export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { +export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9608,14 +10481,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the listHubSchemas operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9628,14 +10501,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the listLogs operation. + * Contains response data for the listByServerNext operation. */ -export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { +export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9648,14 +10521,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: VirtualNetworkRuleListResult; }; }; /** * Contains response data for the get operation. */ -export type SyncGroupsGetResponse = SyncGroup & { +export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9668,14 +10541,14 @@ export type SyncGroupsGetResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { +export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9688,14 +10561,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SyncGroupsUpdateResponse = SyncGroup & { +export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9708,14 +10581,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { +export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9728,14 +10601,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { +export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9748,14 +10621,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type SyncGroupsBeginUpdateResponse = SyncGroup & { +export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9768,14 +10641,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listSyncDatabaseIdsNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { +export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9788,14 +10661,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listHubSchemasNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9808,14 +10681,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listLogsNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { +export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9828,14 +10701,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { +export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9848,14 +10721,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** * Contains response data for the get operation. */ -export type SyncMembersGetResponse = SyncMember & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -9868,14 +10741,14 @@ export type SyncMembersGetResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type SyncMembersCreateOrUpdateResponse = SyncMember & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -9888,14 +10761,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SyncMembersUpdateResponse = SyncMember & { +export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9908,14 +10781,14 @@ export type SyncMembersUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listBySyncGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { +export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9928,14 +10801,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listMemberSchemas operation. + * Contains response data for the listByDatabase operation. */ -export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -9948,14 +10821,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -9968,14 +10841,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type SyncMembersBeginUpdateResponse = SyncMember & { +export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -9988,14 +10861,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the listBySyncGroupNext operation. + * Contains response data for the get operation. */ -export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { +export type JobAgentsGetResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10008,14 +10881,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listMemberSchemasNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10028,14 +10901,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the update operation. */ -export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { +export type JobAgentsUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10048,14 +10921,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SubscriptionUsagesGetResponse = SubscriptionUsage & { +export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10068,14 +10941,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsage; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the beginUpdate operation. */ -export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { +export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10088,14 +10961,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByServerNext operation. */ -export type VirtualClustersListResponse = VirtualClusterListResult & { +export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -10108,14 +10981,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByAgent operation. */ -export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { +export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -10128,14 +11001,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobCredentialListResult; }; }; /** * Contains response data for the get operation. */ -export type VirtualClustersGetResponse = VirtualCluster & { +export type JobCredentialsGetResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -10148,14 +11021,14 @@ export type VirtualClustersGetResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobCredential; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualClustersUpdateResponse = VirtualCluster & { +export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -10168,14 +11041,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobCredential; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByAgentNext operation. */ -export type VirtualClustersBeginUpdateResponse = VirtualCluster & { +export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -10188,14 +11061,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByAgent operation. */ -export type VirtualClustersListNextResponse = VirtualClusterListResult & { +export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10208,14 +11081,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the create operation. */ -export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { +export type JobExecutionsCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10228,14 +11101,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJob operation. */ -export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { +export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10248,14 +11121,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { +export type JobExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10268,14 +11141,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { +export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10288,14 +11161,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginCreate operation. */ -export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { +export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10308,14 +11181,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { +export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10328,14 +11201,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10348,14 +11221,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobNext operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10368,14 +11241,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgent operation. */ -export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type JobsListByAgentResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10388,14 +11261,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: JobListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type JobsGetResponse = Job & { /** * The underlying HTTP response. */ @@ -10408,14 +11281,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: Job; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type JobsCreateOrUpdateResponse = Job & { /** * The underlying HTTP response. */ @@ -10428,14 +11301,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: Job; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type JobsListByAgentNextResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10448,14 +11321,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10468,14 +11341,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobStepExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10488,14 +11361,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { +export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10508,14 +11381,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByVersion operation. */ -export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { +export type JobStepsListByVersionResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10528,14 +11401,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByVersion operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobStepsGetByVersionResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10548,14 +11421,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobStep; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobStepsListByJobResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10568,14 +11441,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobStepListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type JobStepsGetResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10588,14 +11461,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobStep; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10608,14 +11481,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobStep; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByVersionNext operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10628,14 +11501,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByJobNext operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10648,14 +11521,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByJobExecution operation. */ -export type JobAgentsListByServerResponse = JobAgentListResult & { +export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10668,14 +11541,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByStep operation. */ -export type JobAgentsGetResponse = JobAgent & { +export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10688,14 +11561,14 @@ export type JobAgentsGetResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobAgentsCreateOrUpdateResponse = JobAgent & { +export type JobTargetExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10708,14 +11581,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecution; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type JobAgentsUpdateResponse = JobAgent & { +export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10728,14 +11601,14 @@ export type JobAgentsUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByStepNext operation. */ -export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { +export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10748,14 +11621,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByAgent operation. */ -export type JobAgentsBeginUpdateResponse = JobAgent & { +export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -10768,14 +11641,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type JobAgentsListByServerNextResponse = JobAgentListResult & { +export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -10788,14 +11661,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the createOrUpdate operation. */ -export type JobCredentialsListByAgentResponse = JobCredentialListResult & { +export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -10808,14 +11681,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type JobCredentialsGetResponse = JobCredential & { +export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -10828,14 +11701,14 @@ export type JobCredentialsGetResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type JobCredentialsCreateOrUpdateResponse = JobCredential & { +export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -10848,14 +11721,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the get operation. */ -export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { +export type JobVersionsGetResponse = JobVersion & { /** * The underlying HTTP response. */ @@ -10868,14 +11741,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: JobVersion; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByJobNext operation. */ -export type JobExecutionsListByAgentResponse = JobExecutionListResult & { +export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -10888,14 +11761,14 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the getByResourceGroup operation. */ -export type JobExecutionsCreateResponse = JobExecution & { +export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -10908,14 +11781,14 @@ export type JobExecutionsCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type JobExecutionsListByJobResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10928,14 +11801,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type JobExecutionsGetResponse = JobExecution & { +export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10948,14 +11821,14 @@ export type JobExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupServer operation. */ -export type JobExecutionsCreateOrUpdateResponse = JobExecution & { +export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10968,14 +11841,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type JobExecutionsBeginCreateResponse = JobExecution & { +export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -10988,14 +11861,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { +export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11008,14 +11881,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByLocation operation. */ -export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11028,14 +11901,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByServer operation. */ -export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11048,14 +11921,14 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type JobsListByAgentResponse = JobListResult & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11068,14 +11941,14 @@ export type JobsListByAgentResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type JobsGetResponse = Job & { +export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11088,14 +11961,14 @@ export type JobsGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupServerNext operation. */ -export type JobsCreateOrUpdateResponse = Job & { +export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11108,14 +11981,14 @@ export type JobsCreateOrUpdateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobsListByAgentNextResponse = JobListResult & { +export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11128,14 +12001,14 @@ export type JobsListByAgentNextResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listByLocationNext operation. */ -export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11148,14 +12021,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type JobStepExecutionsGetResponse = JobExecution & { +export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11168,14 +12041,14 @@ export type JobStepExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the get operation. */ -export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11188,14 +12061,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByVersion operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepsListByVersionResponse = JobStepListResult & { +export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11208,14 +12081,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the getByVersion operation. + * Contains response data for the listByDatabase operation. */ -export type JobStepsGetByVersionResponse = JobStep & { +export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11228,14 +12101,14 @@ export type JobStepsGetByVersionResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobStepsListByJobResponse = JobStepListResult & { +export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11248,14 +12121,14 @@ export type JobStepsListByJobResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** * Contains response data for the get operation. */ -export type JobStepsGetResponse = JobStep & { +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11268,14 +12141,14 @@ export type JobStepsGetResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type JobStepsCreateOrUpdateResponse = JobStep & { +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11288,14 +12161,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByVersionNext operation. + * Contains response data for the update operation. */ -export type JobStepsListByVersionNextResponse = JobStepListResult & { +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11308,14 +12181,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByDatabase operation. */ -export type JobStepsListByJobNextResponse = JobStepListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11328,14 +12201,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11348,14 +12221,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByStep operation. + * Contains response data for the beginUpdate operation. */ -export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11368,14 +12241,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobTargetExecutionsGetResponse = JobExecution & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11388,14 +12261,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the listByInstance operation. */ -export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11408,14 +12281,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the listByStepNext operation. + * Contains response data for the get operation. */ -export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { +export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -11428,14 +12301,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the createOrUpdate operation. */ -export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { +export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -11448,14 +12321,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type JobTargetGroupsGetResponse = JobTargetGroup & { +export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -11468,14 +12341,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { +export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -11488,14 +12361,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the beginUpdate operation. */ -export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { +export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -11508,14 +12381,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobVersionsListByJobResponse = JobVersionListResult & { +export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11528,14 +12401,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** * Contains response data for the get operation. */ -export type JobVersionsGetResponse = JobVersion & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11548,14 +12421,14 @@ export type JobVersionsGetResponse = JobVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersion; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobVersionsListByJobNextResponse = JobVersionListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11568,14 +12441,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11588,14 +12461,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByRestorableDroppedDatabase operation. */ -export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11608,14 +12481,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11628,14 +12501,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginUpdate operation. */ -export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11648,14 +12521,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByRestorableDroppedDatabaseNext operation. */ -export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11668,14 +12541,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { +export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11688,14 +12561,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the update operation. */ -export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { +export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11708,14 +12581,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ServerAutomaticTuning; }; }; /** * Contains response data for the get operation. */ -export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { +export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11728,14 +12601,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11748,14 +12621,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { +export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11768,14 +12641,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ServerDnsAliasListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11788,14 +12661,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11808,14 +12681,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11828,14 +12701,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11848,14 +12721,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11868,14 +12741,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11888,14 +12761,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11908,14 +12781,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11928,14 +12801,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the get operation. */ -export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { +export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { /** * The underlying HTTP response. */ @@ -11948,14 +12821,14 @@ export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: RestorableDroppedManagedDatabase; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedDatabasesGetResponse = ManagedDatabase & { +export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11968,14 +12841,14 @@ export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { +export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The underlying HTTP response. */ @@ -11988,14 +12861,14 @@ export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: RestorePointListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the create operation. */ -export type ManagedDatabasesUpdateResponse = ManagedDatabase & { +export type RestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12008,14 +12881,14 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { +export type RestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12028,14 +12901,14 @@ export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginCreate operation. */ -export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { +export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12048,14 +12921,14 @@ export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { +export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12068,14 +12941,14 @@ export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12088,14 +12961,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12108,14 +12981,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12128,14 +13001,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByRestorableDroppedDatabase operation. + * Contains response data for the get operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12148,14 +13021,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12168,14 +13041,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12188,14 +13061,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByRestorableDroppedDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12208,14 +13081,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { +export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12228,14 +13101,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { +export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12248,14 +13121,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type ServerDnsAliasesGetResponse = ServerDnsAlias & { +export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12268,14 +13141,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { +export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12288,14 +13161,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { +export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12308,14 +13181,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { +export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12328,14 +13201,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { +export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12348,14 +13221,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { +export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -12368,14 +13241,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -12388,14 +13261,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByElasticPool operation. */ -export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12408,14 +13281,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12428,14 +13301,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByLocation operation. */ -export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { +export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The underlying HTTP response. */ @@ -12448,14 +13321,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: LocationCapabilities; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByDatabase operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12468,14 +13341,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the get operation. */ -export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { +export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12488,14 +13361,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabase; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the exportMethod operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { +export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12508,14 +13381,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type RestorePointsListByDatabaseResponse = RestorePointListResult & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12528,14 +13401,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type RestorePointsCreateResponse = RestorePoint & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12548,14 +13421,14 @@ export type RestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorePointsGetResponse = RestorePoint & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12568,14 +13441,14 @@ export type RestorePointsGetResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByDatabase operation. */ -export type RestorePointsBeginCreateResponse = RestorePoint & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12588,14 +13461,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12608,14 +13481,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the exportMethod operation. */ -export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12628,14 +13501,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12648,14 +13521,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12668,14 +13541,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12688,14 +13561,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12708,14 +13581,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12728,14 +13601,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12748,14 +13621,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { +export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12768,14 +13641,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the listByLocation operation. */ -export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -12788,14 +13661,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the failover operation. */ -export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12808,14 +13681,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type SensitivityLabelsGetResponse = SensitivityLabel & { +export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12828,14 +13701,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12848,14 +13721,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the beginFailover operation. */ -export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12868,14 +13741,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12888,14 +13761,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByLocationNext operation. */ -export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { +export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -12908,14 +13781,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { +export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12928,14 +13801,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { +export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12948,14 +13821,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the update operation. */ -export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { +export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12968,14 +13841,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByDatabase operation. */ -export type CapabilitiesListByLocationResponse = LocationCapabilities & { +export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -12988,14 +13861,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The response body as parsed JSON or XML */ - parsedBody: LocationCapabilities; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13008,14 +13881,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13028,14 +13901,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listByDatabaseNext operation. */ -export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13048,14 +13921,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13068,14 +13941,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceKeyListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13088,14 +13961,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedInstanceKey; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13108,14 +13981,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13128,14 +14001,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13148,14 +14021,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -13168,14 +14041,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13188,14 +14061,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13208,14 +14081,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13228,14 +14101,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -13248,14 +14121,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -13268,14 +14141,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** * Contains response data for the get operation. */ -export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { +export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { /** * The underlying HTTP response. */ @@ -13288,14 +14161,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: RecoverableManagedDatabase; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { +export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -13308,14 +14181,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13328,14 +14201,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13348,14 +14221,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByInstance operation. */ -export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13368,14 +14241,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13388,14 +14261,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13408,14 +14281,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13428,14 +14301,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the listByServer operation. */ -export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13448,14 +14321,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13468,14 +14341,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13488,14 +14361,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13508,14 +14381,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13528,14 +14401,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13548,14 +14421,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13568,14 +14441,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13588,14 +14461,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the get operation. */ -export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { +export type InstancePoolsGetResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13608,14 +14481,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { +export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13628,14 +14501,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: InstancePool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { +export type InstancePoolsUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13648,14 +14521,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: InstancePool; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { +export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13668,14 +14541,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the list operation. */ -export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { +export type InstancePoolsListResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13688,14 +14561,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { +export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13708,14 +14581,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { +export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13728,14 +14601,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: InstancePool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13748,14 +14621,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13768,14 +14641,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByInstancePool operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { +export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -13788,14 +14661,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { +export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -13808,14 +14681,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstancePool operation. */ -export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { +export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -13828,14 +14701,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabase; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { +export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -13848,14 +14721,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: ManagedInstanceListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { +export type ManagedInstancesGetResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -13868,14 +14741,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: ManagedInstance; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { +export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -13888,14 +14761,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the update operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -13908,14 +14781,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the list operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -13928,14 +14801,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -13948,14 +14821,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -13968,14 +14841,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { +export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -13988,14 +14861,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { +export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14008,14 +14881,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { +export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14028,14 +14901,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14048,14 +14921,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14068,14 +14941,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the listByServer operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -14088,14 +14961,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14108,14 +14981,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -14128,6 +15001,6 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts index 74aded33074f..e663fd0b63e9 100644 --- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroupListResult, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts new file mode 100644 index 000000000000..6d118caf25d6 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts @@ -0,0 +1,120 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + InstancePoolListResult, + InstancePoolUpdate, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts index f1298581cff1..2910794212a3 100644 --- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobAgentListResult, @@ -69,6 +70,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts index 759d3b15893a..3273fac806f5 100644 --- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts index 5b2b075b5298..5a281593212c 100644 --- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts index 5b2b075b5298..5a281593212c 100644 --- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts index 198c743565c0..10944258edc2 100644 --- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts index 5b2b075b5298..5a281593212c 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts index 8819a2b6b1e2..0527431b4791 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts index fb2450892b6f..c7c941677e41 100644 --- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/jobsMappers.ts b/sdk/sql/arm-sql/src/models/jobsMappers.ts index 7b4598003433..b890ec90229e 100644 --- a/sdk/sql/arm-sql/src/models/jobsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts index 218366664ff6..70e31d0258c9 100644 --- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts index 0b2475af1c6b..86a5e3a9c010 100644 --- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts index 00d8122b4fb0..4abd21a383be 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts index 1d9b58e66a48..cd6316200599 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts index 79d2d0ed2dd4..8521b56f0d5c 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts index 3a5e9029e8e2..8db3721fb9d9 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts index 6c1072f9d526..ae9437ab4216 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -70,6 +71,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts index 3080966cf33b..80b77c549ef6 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts index 4dfac4baecb1..ab4d26816512 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts index 257000ec60c7..26c0140ce6d5 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts index fa6d47445de7..6708b04f673d 100644 --- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -69,6 +70,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts index 0b2475af1c6b..86a5e3a9c010 100644 --- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts index c244f41f3e8e..5c10e6b10eaf 100644 --- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/mappers.ts b/sdk/sql/arm-sql/src/models/mappers.ts index 7f55a40b1f5b..6ef53aa91bc0 100644 --- a/sdk/sql/arm-sql/src/models/mappers.ts +++ b/sdk/sql/arm-sql/src/models/mappers.ts @@ -2640,181 +2640,223 @@ export const FailoverGroupUpdate: msRest.CompositeMapper = { } }; -export const ResourceIdentity: msRest.CompositeMapper = { - serializedName: "ResourceIdentity", +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "OperationDisplay", type: { name: "Composite", - className: "ResourceIdentity", + className: "OperationDisplay", modelProperties: { - principalId: { + provider: { readOnly: true, - serializedName: "principalId", + serializedName: "provider", type: { - name: "Uuid" + name: "String" } }, - type: { - serializedName: "type", + resource: { + readOnly: true, + serializedName: "resource", type: { name: "String" } }, - tenantId: { + operation: { readOnly: true, - serializedName: "tenantId", + serializedName: "operation", type: { - name: "Uuid" + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" } } } } }; -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", type: { name: "Composite", - className: "Sku", + className: "Operation", modelProperties: { name: { - required: true, + readOnly: true, serializedName: "name", type: { name: "String" } }, - tier: { - serializedName: "tier", - type: { - name: "String" - } - }, - size: { - serializedName: "size", + display: { + readOnly: true, + serializedName: "display", type: { - name: "String" + name: "Composite", + className: "OperationDisplay" } }, - family: { - serializedName: "family", + origin: { + readOnly: true, + serializedName: "origin", type: { name: "String" } }, - capacity: { - serializedName: "capacity", + properties: { + readOnly: true, + serializedName: "properties", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } } } } }; -export const ManagedInstance: msRest.CompositeMapper = { - serializedName: "ManagedInstance", +export const ServerKey: msRest.CompositeMapper = { + serializedName: "ServerKey", type: { name: "Composite", - className: "ManagedInstance", + className: "ServerKey", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...ProxyResource.type.modelProperties, + kind: { + serializedName: "kind", type: { - name: "Composite", - className: "ResourceIdentity" + name: "String" } }, - sku: { - serializedName: "sku", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - fullyQualifiedDomainName: { + subregion: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "properties.subregion", type: { name: "String" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { name: "String" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + uri: { + serializedName: "properties.uri", type: { name: "String" } }, - subnetId: { - serializedName: "properties.subnetId", + thumbprint: { + serializedName: "properties.thumbprint", type: { name: "String" } }, - state: { + creationDate: { + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const ResourceIdentity: msRest.CompositeMapper = { + serializedName: "ResourceIdentity", + type: { + name: "Composite", + className: "ResourceIdentity", + modelProperties: { + principalId: { readOnly: true, - serializedName: "properties.state", + serializedName: "principalId", type: { - name: "String" + name: "Uuid" } }, - licenseType: { - serializedName: "properties.licenseType", + type: { + serializedName: "type", type: { name: "String" } }, - vCores: { - serializedName: "properties.vCores", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "Number" + name: "Uuid" } - }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + } + } + } +}; + +export const Server: msRest.CompositeMapper = { + serializedName: "Server", + type: { + name: "Composite", + className: "Server", + modelProperties: { + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Number" + name: "Composite", + className: "ResourceIdentity" } }, - collation: { - serializedName: "properties.collation", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } }, - dnsZone: { - readOnly: true, - serializedName: "properties.dnsZone", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + version: { + serializedName: "properties.version", type: { - name: "Boolean" + name: "String" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - timezoneId: { - serializedName: "properties.timezoneId", + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } @@ -2823,26 +2865,12 @@ export const ManagedInstance: msRest.CompositeMapper = { } }; -export const ManagedInstanceUpdate: msRest.CompositeMapper = { - serializedName: "ManagedInstanceUpdate", +export const ServerUpdate: msRest.CompositeMapper = { + serializedName: "ServerUpdate", type: { name: "Composite", - className: "ManagedInstanceUpdate", + className: "ServerUpdate", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - fullyQualifiedDomainName: { - readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", - type: { - name: "String" - } - }, administratorLogin: { serializedName: "properties.administratorLogin", type: { @@ -2855,8 +2883,8 @@ export const ManagedInstanceUpdate: msRest.CompositeMapper = { name: "String" } }, - subnetId: { - serializedName: "properties.subnetId", + version: { + serializedName: "properties.version", type: { name: "String" } @@ -2868,375 +2896,414 @@ export const ManagedInstanceUpdate: msRest.CompositeMapper = { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - vCores: { - serializedName: "properties.vCores", + tags: { + serializedName: "tags", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + } + } + } +}; + +export const SyncAgent: msRest.CompositeMapper = { + serializedName: "SyncAgent", + type: { + name: "Composite", + className: "SyncAgent", + modelProperties: { + ...ProxyResource.type.modelProperties, + syncAgentName: { + readOnly: true, + serializedName: "properties.name", type: { - name: "Number" + name: "String" } }, - collation: { - serializedName: "properties.collation", + syncDatabaseId: { + serializedName: "properties.syncDatabaseId", type: { name: "String" } }, - dnsZone: { + lastAliveTime: { readOnly: true, - serializedName: "properties.dnsZone", + serializedName: "properties.lastAliveTime", type: { - name: "String" + name: "DateTime" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + isUpToDate: { + readOnly: true, + serializedName: "properties.isUpToDate", type: { name: "Boolean" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + expiryTime: { + readOnly: true, + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - timezoneId: { - serializedName: "properties.timezoneId", + version: { + readOnly: true, + serializedName: "properties.version", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "OperationDisplay", +export const SyncAgentKeyProperties: msRest.CompositeMapper = { + serializedName: "SyncAgentKeyProperties", type: { name: "Composite", - className: "OperationDisplay", + className: "SyncAgentKeyProperties", modelProperties: { - provider: { + syncAgentKey: { readOnly: true, - serializedName: "provider", + serializedName: "syncAgentKey", type: { name: "String" } - }, - resource: { + } + } + } +}; + +export const SyncAgentLinkedDatabase: msRest.CompositeMapper = { + serializedName: "SyncAgentLinkedDatabase", + type: { + name: "Composite", + className: "SyncAgentLinkedDatabase", + modelProperties: { + ...ProxyResource.type.modelProperties, + databaseType: { readOnly: true, - serializedName: "resource", + serializedName: "properties.databaseType", type: { name: "String" } }, - operation: { + databaseId: { readOnly: true, - serializedName: "operation", + serializedName: "properties.databaseId", type: { name: "String" } }, description: { readOnly: true, - serializedName: "description", + serializedName: "properties.description", type: { name: "String" } - } - } - } -}; - -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", - type: { - name: "Composite", - className: "Operation", - modelProperties: { - name: { + }, + serverName: { readOnly: true, - serializedName: "name", + serializedName: "properties.serverName", type: { name: "String" } }, - display: { + databaseName: { readOnly: true, - serializedName: "display", + serializedName: "properties.databaseName", type: { - name: "Composite", - className: "OperationDisplay" + name: "String" } }, - origin: { + userName: { readOnly: true, - serializedName: "origin", + serializedName: "properties.userName", type: { name: "String" } - }, - properties: { + } + } + } +}; + +export const SyncDatabaseIdProperties: msRest.CompositeMapper = { + serializedName: "SyncDatabaseIdProperties", + type: { + name: "Composite", + className: "SyncDatabaseIdProperties", + modelProperties: { + id: { readOnly: true, - serializedName: "properties", + serializedName: "id", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "String" } } } } }; -export const ServerKey: msRest.CompositeMapper = { - serializedName: "ServerKey", +export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaTableColumn", type: { name: "Composite", - className: "ServerKey", + className: "SyncFullSchemaTableColumn", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - serializedName: "kind", + dataSize: { + readOnly: true, + serializedName: "dataSize", type: { name: "String" } }, - location: { + dataType: { readOnly: true, - serializedName: "location", + serializedName: "dataType", type: { name: "String" } }, - subregion: { + errorId: { readOnly: true, - serializedName: "properties.subregion", + serializedName: "errorId", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + hasError: { + readOnly: true, + serializedName: "hasError", type: { - name: "String" + name: "Boolean" } }, - uri: { - serializedName: "properties.uri", + isPrimaryKey: { + readOnly: true, + serializedName: "isPrimaryKey", type: { - name: "String" + name: "Boolean" } }, - thumbprint: { - serializedName: "properties.thumbprint", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - creationDate: { - serializedName: "properties.creationDate", + quotedName: { + readOnly: true, + serializedName: "quotedName", type: { - name: "DateTime" + name: "String" } } } } }; -export const Server: msRest.CompositeMapper = { - serializedName: "Server", +export const SyncFullSchemaTable: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaTable", type: { name: "Composite", - className: "Server", + className: "SyncFullSchemaTable", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + columns: { + readOnly: true, + serializedName: "columns", type: { - name: "Composite", - className: "ResourceIdentity" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncFullSchemaTableColumn" + } + } } }, - kind: { + errorId: { readOnly: true, - serializedName: "kind", + serializedName: "errorId", type: { name: "String" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + hasError: { + readOnly: true, + serializedName: "hasError", type: { - name: "String" + name: "Boolean" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - version: { - serializedName: "properties.version", + quotedName: { + readOnly: true, + serializedName: "quotedName", type: { name: "String" } - }, - state: { + } + } + } +}; + +export const SyncFullSchemaProperties: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaProperties", + type: { + name: "Composite", + className: "SyncFullSchemaProperties", + modelProperties: { + tables: { readOnly: true, - serializedName: "properties.state", + serializedName: "tables", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncFullSchemaTable" + } + } } }, - fullyQualifiedDomainName: { + lastUpdateTime: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "lastUpdateTime", type: { - name: "String" + name: "DateTime" } } } } }; -export const ServerUpdate: msRest.CompositeMapper = { - serializedName: "ServerUpdate", +export const SyncGroupLogProperties: msRest.CompositeMapper = { + serializedName: "SyncGroupLogProperties", type: { name: "Composite", - className: "ServerUpdate", + className: "SyncGroupLogProperties", modelProperties: { - administratorLogin: { - serializedName: "properties.administratorLogin", + timestamp: { + readOnly: true, + serializedName: "timestamp", type: { - name: "String" + name: "DateTime" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - version: { - serializedName: "properties.version", + source: { + readOnly: true, + serializedName: "source", type: { name: "String" } }, - state: { + details: { readOnly: true, - serializedName: "properties.state", + serializedName: "details", type: { name: "String" } }, - fullyQualifiedDomainName: { + tracingId: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "tracingId", type: { - name: "String" + name: "Uuid" } }, - tags: { - serializedName: "tags", + operationStatus: { + readOnly: true, + serializedName: "operationStatus", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const SyncAgent: msRest.CompositeMapper = { - serializedName: "SyncAgent", +export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTableColumn", type: { name: "Composite", - className: "SyncAgent", + className: "SyncGroupSchemaTableColumn", modelProperties: { - ...ProxyResource.type.modelProperties, - syncAgentName: { - readOnly: true, - serializedName: "properties.name", + quotedName: { + serializedName: "quotedName", type: { name: "String" } }, - syncDatabaseId: { - serializedName: "properties.syncDatabaseId", + dataSize: { + serializedName: "dataSize", type: { name: "String" } }, - lastAliveTime: { - readOnly: true, - serializedName: "properties.lastAliveTime", - type: { - name: "DateTime" - } - }, - state: { - readOnly: true, - serializedName: "properties.state", + dataType: { + serializedName: "dataType", type: { name: "String" } - }, - isUpToDate: { - readOnly: true, - serializedName: "properties.isUpToDate", - type: { - name: "Boolean" - } - }, - expiryTime: { - readOnly: true, - serializedName: "properties.expiryTime", + } + } + } +}; + +export const SyncGroupSchemaTable: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTable", + type: { + name: "Composite", + className: "SyncGroupSchemaTable", + modelProperties: { + columns: { + serializedName: "columns", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncGroupSchemaTableColumn" + } + } } }, - version: { - readOnly: true, - serializedName: "properties.version", + quotedName: { + serializedName: "quotedName", type: { name: "String" } @@ -3245,15 +3312,26 @@ export const SyncAgent: msRest.CompositeMapper = { } }; -export const SyncAgentKeyProperties: msRest.CompositeMapper = { - serializedName: "SyncAgentKeyProperties", +export const SyncGroupSchema: msRest.CompositeMapper = { + serializedName: "SyncGroupSchema", type: { name: "Composite", - className: "SyncAgentKeyProperties", + className: "SyncGroupSchema", modelProperties: { - syncAgentKey: { - readOnly: true, - serializedName: "syncAgentKey", + tables: { + serializedName: "tables", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncGroupSchemaTable" + } + } + } + }, + masterSyncMemberName: { + serializedName: "masterSyncMemberName", type: { name: "String" } @@ -3262,127 +3340,126 @@ export const SyncAgentKeyProperties: msRest.CompositeMapper = { } }; -export const SyncAgentLinkedDatabase: msRest.CompositeMapper = { - serializedName: "SyncAgentLinkedDatabase", +export const SyncGroup: msRest.CompositeMapper = { + serializedName: "SyncGroup", type: { name: "Composite", - className: "SyncAgentLinkedDatabase", + className: "SyncGroup", modelProperties: { ...ProxyResource.type.modelProperties, - databaseType: { - readOnly: true, - serializedName: "properties.databaseType", + interval: { + serializedName: "properties.interval", type: { - name: "String" + name: "Number" } }, - databaseId: { + lastSyncTime: { readOnly: true, - serializedName: "properties.databaseId", + serializedName: "properties.lastSyncTime", + type: { + name: "DateTime" + } + }, + conflictResolutionPolicy: { + serializedName: "properties.conflictResolutionPolicy", type: { name: "String" } }, - description: { - readOnly: true, - serializedName: "properties.description", + syncDatabaseId: { + serializedName: "properties.syncDatabaseId", type: { name: "String" } }, - serverName: { - readOnly: true, - serializedName: "properties.serverName", + hubDatabaseUserName: { + serializedName: "properties.hubDatabaseUserName", type: { name: "String" } }, - databaseName: { - readOnly: true, - serializedName: "properties.databaseName", + hubDatabasePassword: { + serializedName: "properties.hubDatabasePassword", type: { name: "String" } }, - userName: { + syncState: { readOnly: true, - serializedName: "properties.userName", + serializedName: "properties.syncState", type: { name: "String" } + }, + schema: { + serializedName: "properties.schema", + type: { + name: "Composite", + className: "SyncGroupSchema" + } } } } }; -export const SyncDatabaseIdProperties: msRest.CompositeMapper = { - serializedName: "SyncDatabaseIdProperties", +export const SyncMember: msRest.CompositeMapper = { + serializedName: "SyncMember", type: { name: "Composite", - className: "SyncDatabaseIdProperties", + className: "SyncMember", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + ...ProxyResource.type.modelProperties, + databaseType: { + serializedName: "properties.databaseType", type: { name: "String" } - } - } - } -}; - -export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaTableColumn", - type: { - name: "Composite", - className: "SyncFullSchemaTableColumn", - modelProperties: { - dataSize: { - readOnly: true, - serializedName: "dataSize", + }, + syncAgentId: { + serializedName: "properties.syncAgentId", type: { name: "String" } }, - dataType: { - readOnly: true, - serializedName: "dataType", + sqlServerDatabaseId: { + serializedName: "properties.sqlServerDatabaseId", + type: { + name: "Uuid" + } + }, + serverName: { + serializedName: "properties.serverName", type: { name: "String" } }, - errorId: { - readOnly: true, - serializedName: "errorId", + databaseName: { + serializedName: "properties.databaseName", type: { name: "String" } }, - hasError: { - readOnly: true, - serializedName: "hasError", + userName: { + serializedName: "properties.userName", type: { - name: "Boolean" + name: "String" } }, - isPrimaryKey: { - readOnly: true, - serializedName: "isPrimaryKey", + password: { + serializedName: "properties.password", type: { - name: "Boolean" + name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + syncDirection: { + serializedName: "properties.syncDirection", type: { name: "String" } }, - quotedName: { + syncState: { readOnly: true, - serializedName: "quotedName", + serializedName: "properties.syncState", type: { name: "String" } @@ -3391,49 +3468,37 @@ export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { } }; -export const SyncFullSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaTable", +export const SubscriptionUsage: msRest.CompositeMapper = { + serializedName: "SubscriptionUsage", type: { name: "Composite", - className: "SyncFullSchemaTable", + className: "SubscriptionUsage", modelProperties: { - columns: { + ...ProxyResource.type.modelProperties, + displayName: { readOnly: true, - serializedName: "columns", + serializedName: "properties.displayName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncFullSchemaTableColumn" - } - } + name: "String" } }, - errorId: { + currentValue: { readOnly: true, - serializedName: "errorId", - type: { - name: "String" - } - }, - hasError: { - readOnly: true, - serializedName: "hasError", + serializedName: "properties.currentValue", type: { - name: "Boolean" + name: "Number" } }, - name: { + limit: { readOnly: true, - serializedName: "name", + serializedName: "properties.limit", type: { - name: "String" + name: "Number" } }, - quotedName: { + unit: { readOnly: true, - serializedName: "quotedName", + serializedName: "properties.unit", type: { name: "String" } @@ -3442,108 +3507,111 @@ export const SyncFullSchemaTable: msRest.CompositeMapper = { } }; -export const SyncFullSchemaProperties: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaProperties", +export const VirtualCluster: msRest.CompositeMapper = { + serializedName: "VirtualCluster", type: { name: "Composite", - className: "SyncFullSchemaProperties", + className: "VirtualCluster", modelProperties: { - tables: { + ...TrackedResource.type.modelProperties, + subnetId: { readOnly: true, - serializedName: "tables", + serializedName: "properties.subnetId", + type: { + name: "String" + } + }, + family: { + serializedName: "properties.family", + type: { + name: "String" + } + }, + childResources: { + readOnly: true, + serializedName: "properties.childResources", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SyncFullSchemaTable" + name: "String" } } } - }, - lastUpdateTime: { - readOnly: true, - serializedName: "lastUpdateTime", - type: { - name: "DateTime" - } } } } }; -export const SyncGroupLogProperties: msRest.CompositeMapper = { - serializedName: "SyncGroupLogProperties", +export const VirtualClusterUpdate: msRest.CompositeMapper = { + serializedName: "VirtualClusterUpdate", type: { name: "Composite", - className: "SyncGroupLogProperties", + className: "VirtualClusterUpdate", modelProperties: { - timestamp: { - readOnly: true, - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - source: { + subnetId: { readOnly: true, - serializedName: "source", + serializedName: "properties.subnetId", type: { name: "String" } }, - details: { - readOnly: true, - serializedName: "details", + family: { + serializedName: "properties.family", type: { name: "String" } }, - tracingId: { + childResources: { readOnly: true, - serializedName: "tracingId", + serializedName: "properties.childResources", type: { - name: "Uuid" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - operationStatus: { - readOnly: true, - serializedName: "operationStatus", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTableColumn", +export const VirtualNetworkRule: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRule", type: { name: "Composite", - className: "SyncGroupSchemaTableColumn", + className: "VirtualNetworkRule", modelProperties: { - quotedName: { - serializedName: "quotedName", + ...ProxyResource.type.modelProperties, + virtualNetworkSubnetId: { + required: true, + serializedName: "properties.virtualNetworkSubnetId", type: { name: "String" } }, - dataSize: { - serializedName: "dataSize", + ignoreMissingVnetServiceEndpoint: { + serializedName: "properties.ignoreMissingVnetServiceEndpoint", type: { - name: "String" + name: "Boolean" } }, - dataType: { - serializedName: "dataType", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } @@ -3552,287 +3620,125 @@ export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { } }; -export const SyncGroupSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTable", +export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedDatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroupSchemaTable", + className: "ExtendedDatabaseBlobAuditingPolicy", modelProperties: { - columns: { - serializedName: "columns", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncGroupSchemaTableColumn" - } - } + name: "String" } }, - quotedName: { - serializedName: "quotedName", + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } - } - } - } -}; - -export const SyncGroupSchema: msRest.CompositeMapper = { - serializedName: "SyncGroupSchema", - type: { - name: "Composite", - className: "SyncGroupSchema", - modelProperties: { - tables: { - serializedName: "tables", + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + }, + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SyncGroupSchemaTable" + name: "String" } } } }, - masterSyncMemberName: { - serializedName: "masterSyncMemberName", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", + type: { + name: "Boolean" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", + type: { + name: "Boolean" } } } } }; -export const SyncGroup: msRest.CompositeMapper = { - serializedName: "SyncGroup", +export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroup", + className: "ExtendedServerBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - interval: { - serializedName: "properties.interval", + predicateExpression: { + serializedName: "properties.predicateExpression", type: { - name: "Number" + name: "String" } }, - lastSyncTime: { - readOnly: true, - serializedName: "properties.lastSyncTime", + state: { + required: true, + serializedName: "properties.state", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - conflictResolutionPolicy: { - serializedName: "properties.conflictResolutionPolicy", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - syncDatabaseId: { - serializedName: "properties.syncDatabaseId", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - hubDatabaseUserName: { - serializedName: "properties.hubDatabaseUserName", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - hubDatabasePassword: { - serializedName: "properties.hubDatabasePassword", - type: { - name: "String" - } - }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", - type: { - name: "String" - } - }, - schema: { - serializedName: "properties.schema", - type: { - name: "Composite", - className: "SyncGroupSchema" - } - } - } - } -}; - -export const SyncMember: msRest.CompositeMapper = { - serializedName: "SyncMember", - type: { - name: "Composite", - className: "SyncMember", - modelProperties: { - ...ProxyResource.type.modelProperties, - databaseType: { - serializedName: "properties.databaseType", - type: { - name: "String" - } - }, - syncAgentId: { - serializedName: "properties.syncAgentId", - type: { - name: "String" - } - }, - sqlServerDatabaseId: { - serializedName: "properties.sqlServerDatabaseId", - type: { - name: "Uuid" - } - }, - serverName: { - serializedName: "properties.serverName", - type: { - name: "String" - } - }, - databaseName: { - serializedName: "properties.databaseName", - type: { - name: "String" - } - }, - userName: { - serializedName: "properties.userName", - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - syncDirection: { - serializedName: "properties.syncDirection", - type: { - name: "String" - } - }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", - type: { - name: "String" - } - } - } - } -}; - -export const SubscriptionUsage: msRest.CompositeMapper = { - serializedName: "SubscriptionUsage", - type: { - name: "Composite", - className: "SubscriptionUsage", - modelProperties: { - ...ProxyResource.type.modelProperties, - displayName: { - readOnly: true, - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - currentValue: { - readOnly: true, - serializedName: "properties.currentValue", - type: { - name: "Number" - } - }, - limit: { - readOnly: true, - serializedName: "properties.limit", - type: { - name: "Number" - } - }, - unit: { - readOnly: true, - serializedName: "properties.unit", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualCluster: msRest.CompositeMapper = { - serializedName: "VirtualCluster", - type: { - name: "Composite", - className: "VirtualCluster", - modelProperties: { - ...TrackedResource.type.modelProperties, - subnetId: { - readOnly: true, - serializedName: "properties.subnetId", - type: { - name: "String" - } - }, - family: { - serializedName: "properties.family", - type: { - name: "String" - } - }, - childResources: { - readOnly: true, - serializedName: "properties.childResources", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualClusterUpdate: msRest.CompositeMapper = { - serializedName: "VirtualClusterUpdate", - type: { - name: "Composite", - className: "VirtualClusterUpdate", - modelProperties: { - subnetId: { - readOnly: true, - serializedName: "properties.subnetId", - type: { - name: "String" - } - }, - family: { - serializedName: "properties.family", - type: { - name: "String" - } - }, - childResources: { - readOnly: true, - serializedName: "properties.childResources", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", element: { @@ -3842,65 +3748,35 @@ export const VirtualClusterUpdate: msRest.CompositeMapper = { } } }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualNetworkRule: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRule", - type: { - name: "Composite", - className: "VirtualNetworkRule", - modelProperties: { - ...ProxyResource.type.modelProperties, - virtualNetworkSubnetId: { - required: true, - serializedName: "properties.virtualNetworkSubnetId", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - ignoreMissingVnetServiceEndpoint: { - serializedName: "properties.ignoreMissingVnetServiceEndpoint", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { name: "Boolean" } }, - state: { - readOnly: true, - serializedName: "properties.state", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedDatabaseBlobAuditingPolicy", +export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicy", type: { name: "Composite", - className: "ExtendedDatabaseBlobAuditingPolicy", + className: "ServerBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", - type: { - name: "String" - } - }, state: { required: true, serializedName: "properties.state", @@ -3963,15 +3839,16 @@ export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { } }; -export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedServerBlobAuditingPolicy", +export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "DatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "ExtendedServerBlobAuditingPolicy", + className: "DatabaseBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } @@ -4038,158 +3915,13 @@ export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { } }; -export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicy", +export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", type: { name: "Composite", - className: "ServerBlobAuditingPolicy", + className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", - type: { - name: "String" - } - }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", - type: { - name: "String" - } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", - type: { - name: "Uuid" - } - }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", - type: { - name: "Boolean" - } - }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "DatabaseBlobAuditingPolicy", - type: { - name: "Composite", - className: "DatabaseBlobAuditingPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - readOnly: true, - serializedName: "kind", - type: { - name: "String" - } - }, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", - type: { - name: "String" - } - }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", - type: { - name: "String" - } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", - type: { - name: "Uuid" - } - }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", - type: { - name: "Boolean" - } - }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", - modelProperties: { - result: { + result: { required: true, serializedName: "result", type: { @@ -4299,6 +4031,47 @@ export const DatabaseVulnerabilityAssessment: msRest.CompositeMapper = { } }; +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "String" + } + }, + size: { + serializedName: "size", + type: { + name: "String" + } + }, + family: { + serializedName: "family", + type: { + name: "String" + } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } + } + } + } +}; + export const JobAgent: msRest.CompositeMapper = { serializedName: "JobAgent", type: { @@ -5702,6 +5475,13 @@ export const SensitivityLabel: msRest.CompositeMapper = { type: { name: "String" } + }, + isDisabled: { + readOnly: true, + serializedName: "properties.isDisabled", + type: { + name: "Boolean" + } } } } @@ -7059,6 +6839,18 @@ export const Database: msRest.CompositeMapper = { name: "Composite", className: "Sku" } + }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } } } } @@ -7244,6 +7036,18 @@ export const DatabaseUpdate: msRest.CompositeMapper = { className: "Sku" } }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } + }, tags: { serializedName: "tags", type: { @@ -7742,85 +7546,592 @@ export const ManagedInstanceKey: msRest.CompositeMapper = { name: "String" } }, - uri: { - serializedName: "properties.uri", + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtector", + type: { + name: "Composite", + className: "ManagedInstanceEncryptionProtector", + modelProperties: { + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + serverKeyName: { + serializedName: "properties.serverKeyName", + type: { + name: "String" + } + }, + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", + type: { + name: "String" + } + }, + uri: { + readOnly: true, + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", + type: { + name: "String" + } + } + } + } +}; + +export const RecoverableManagedDatabase: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabase", + type: { + name: "Composite", + className: "RecoverableManagedDatabase", + modelProperties: { + ...ProxyResource.type.modelProperties, + lastAvailableBackupDate: { + readOnly: true, + serializedName: "properties.lastAvailableBackupDate", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } + }, + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } + } + } + } +}; + +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } + }, + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } + } + } + } +}; + +export const InstancePool: msRest.CompositeMapper = { + serializedName: "InstancePool", + type: { + name: "Composite", + className: "InstancePool", + modelProperties: { + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + subnetId: { + required: true, + serializedName: "properties.subnetId", + type: { + name: "String" + } + }, + vCores: { + required: true, + serializedName: "properties.vCores", + type: { + name: "Number" + } + }, + licenseType: { + required: true, + serializedName: "properties.licenseType", + type: { + name: "String" + } + } + } + } +}; + +export const InstancePoolUpdate: msRest.CompositeMapper = { + serializedName: "InstancePoolUpdate", + type: { + name: "Composite", + className: "InstancePoolUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Name: msRest.CompositeMapper = { + serializedName: "Name", + type: { + name: "Composite", + className: "Name", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } + }, + localizedValue: { + serializedName: "localizedValue", + type: { + name: "String" + } + } + } + } +}; + +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", + type: { + name: "Composite", + className: "Usage", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "Composite", + className: "Name" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + currentValue: { + readOnly: true, + serializedName: "currentValue", + type: { + name: "Number" + } + }, + limit: { + readOnly: true, + serializedName: "limit", + type: { + name: "Number" + } + }, + requestedLimit: { + readOnly: true, + serializedName: "requestedLimit", + type: { + name: "Number" + } + } + } + } +}; + +export const ManagedInstance: msRest.CompositeMapper = { + serializedName: "ManagedInstance", + type: { + name: "Composite", + className: "ManagedInstance", + modelProperties: { + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ResourceIdentity" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", + type: { + name: "String" + } + }, + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", + type: { + name: "String" + } + }, + administratorLogin: { + serializedName: "properties.administratorLogin", + type: { + name: "String" + } + }, + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", + type: { + name: "String" + } + }, + subnetId: { + serializedName: "properties.subnetId", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vCores: { + serializedName: "properties.vCores", + type: { + name: "Number" + } + }, + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", + type: { + name: "Number" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + dnsZone: { + readOnly: true, + serializedName: "properties.dnsZone", + type: { + name: "String" + } + }, + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", + type: { + name: "String" + } + }, + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", + type: { + name: "Boolean" + } + }, + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", + type: { + name: "String" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + proxyOverride: { + serializedName: "properties.proxyOverride", + type: { + name: "String" + } + }, + timezoneId: { + serializedName: "properties.timezoneId", + type: { + name: "String" + } + }, + instancePoolId: { + serializedName: "properties.instancePoolId", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceUpdate: msRest.CompositeMapper = { + serializedName: "ManagedInstanceUpdate", + type: { + name: "Composite", + className: "ManagedInstanceUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", + type: { + name: "String" + } + }, + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", + type: { + name: "String" + } + }, + administratorLogin: { + serializedName: "properties.administratorLogin", + type: { + name: "String" + } + }, + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", + type: { + name: "String" + } + }, + subnetId: { + serializedName: "properties.subnetId", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vCores: { + serializedName: "properties.vCores", + type: { + name: "Number" + } + }, + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", + type: { + name: "Number" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + dnsZone: { + readOnly: true, + serializedName: "properties.dnsZone", + type: { + name: "String" + } + }, + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", type: { name: "String" } }, - thumbprint: { - readOnly: true, - serializedName: "properties.thumbprint", + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", type: { - name: "String" + name: "Boolean" } }, - creationDate: { - readOnly: true, - serializedName: "properties.creationDate", + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", type: { - name: "DateTime" + name: "String" } - } - } - } -}; - -export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtector", - type: { - name: "Composite", - className: "ManagedInstanceEncryptionProtector", - modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - readOnly: true, - serializedName: "kind", + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + proxyOverride: { + serializedName: "properties.proxyOverride", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + timezoneId: { + serializedName: "properties.timezoneId", type: { name: "String" } }, - uri: { - readOnly: true, - serializedName: "properties.uri", + instancePoolId: { + serializedName: "properties.instancePoolId", type: { name: "String" } }, - thumbprint: { - readOnly: true, - serializedName: "properties.thumbprint", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const RecoverableManagedDatabase: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabase", +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", type: { name: "Composite", - className: "RecoverableManagedDatabase", + className: "PrivateEndpointProperty", modelProperties: { - ...ProxyResource.type.modelProperties, - lastAvailableBackupDate: { - readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + id: { + serializedName: "id", type: { name: "String" } @@ -7829,75 +8140,56 @@ export const RecoverableManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessment", +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment", + className: "PrivateLinkServiceConnectionStateProperty", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { + status: { required: true, - serializedName: "properties.storageContainerPath", - type: { - name: "String" - } - }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + serializedName: "status", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + description: { + required: true, + serializedName: "description", type: { name: "String" } - }, - recurringScans: { - serializedName: "properties.recurringScans", - type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" - } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "PrivateEndpointConnection", modelProperties: { ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String" + name: "Composite", + className: "PrivateEndpointProperty" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + state: { + serializedName: "properties.state", type: { name: "String" } - }, - recurringScans: { - serializedName: "properties.recurringScans", - type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" - } } } } @@ -8484,36 +8776,6 @@ export const FailoverGroupListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceListResult", - type: { - name: "Composite", - className: "ManagedInstanceListResult", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstance" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const OperationListResult: msRest.CompositeMapper = { serializedName: "OperationListResult", type: { @@ -9706,3 +9968,123 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { } } }; + +export const InstancePoolListResult: msRest.CompositeMapper = { + serializedName: "InstancePoolListResult", + type: { + name: "Composite", + className: "InstancePoolListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePool" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const UsageListResult: msRest.CompositeMapper = { + serializedName: "UsageListResult", + type: { + name: "Composite", + className: "UsageListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Usage" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceListResult", + type: { + name: "Composite", + className: "ManagedInstanceListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstance" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts index 4563be053354..a48c1bd17c50 100644 --- a/sdk/sql/arm-sql/src/models/parameters.ts +++ b/sdk/sql/arm-sql/src/models/parameters.ts @@ -74,7 +74,7 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-03-01-preview', + defaultValue: '2018-06-01-preview', type: { name: "String" } @@ -86,7 +86,7 @@ export const apiVersion4: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-01-preview', + defaultValue: '2017-03-01-preview', type: { name: "String" } @@ -316,6 +316,18 @@ export const endTimeMin: msRest.OperationQueryParameter = { } } }; +export const expandChildren: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "expandChildren" + ], + mapper: { + serializedName: "expandChildren", + type: { + name: "Boolean" + } + } +}; export const extensionName: msRest.OperationURLParameter = { parameterPath: "extensionName", mapper: { @@ -394,6 +406,28 @@ export const include: msRest.OperationQueryParameter = { } } }; +export const includeDisabledRecommendations: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "includeDisabledRecommendations" + ], + mapper: { + serializedName: "includeDisabledRecommendations", + type: { + name: "Boolean" + } + } +}; +export const instancePoolName: msRest.OperationURLParameter = { + parameterPath: "instancePoolName", + mapper: { + required: true, + serializedName: "instancePoolName", + type: { + name: "String" + } + } +}; export const isActive: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -551,6 +585,16 @@ export const policyName: msRest.OperationURLParameter = { } } }; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; export const recommendedElasticPoolName: msRest.OperationURLParameter = { parameterPath: "recommendedElasticPoolName", mapper: { @@ -666,6 +710,18 @@ export const securityAlertPolicyName1: msRest.OperationURLParameter = { } }; export const sensitivityLabelSource0: msRest.OperationURLParameter = { + parameterPath: "sensitivityLabelSource", + mapper: { + required: true, + isConstant: true, + serializedName: "sensitivityLabelSource", + defaultValue: 'recommended', + type: { + name: "String" + } + } +}; +export const sensitivityLabelSource1: msRest.OperationURLParameter = { parameterPath: "sensitivityLabelSource", mapper: { required: true, @@ -679,7 +735,7 @@ export const sensitivityLabelSource0: msRest.OperationURLParameter = { } } }; -export const sensitivityLabelSource1: msRest.OperationURLParameter = { +export const sensitivityLabelSource2: msRest.OperationURLParameter = { parameterPath: "sensitivityLabelSource", mapper: { required: true, diff --git a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts new file mode 100644 index 000000000000..e236db1a041e --- /dev/null +++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts @@ -0,0 +1,119 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionListResult, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts index f59fbd9e4e8a..63aeb1ee659f 100644 --- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolListMetricsResult, diff --git a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts index 31c018160c54..b789546da987 100644 --- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts index cb439ffe206c..6b61c32c5e1e 100644 --- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts index 454aa449f49b..c2e0905cd43c 100644 --- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts index 3b497a194451..23ede693b389 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts index 956eead27de9..b4daadb770e8 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts index d2c83be023d2..065149e9b88d 100644 --- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts @@ -42,6 +42,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts index 1d9b58e66a48..cd6316200599 100644 --- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts index 7e45d23d0fc8..b26b3ac52f88 100644 --- a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts index 9cb88aa19c2e..9f13c86f0fe2 100644 --- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts index b6f00539e0ab..c77cc4764c3c 100644 --- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts index 9be8acf92e5f..7be833080927 100644 --- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts index 43b37ca28b01..0207d3bb91a4 100644 --- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -68,6 +69,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts index 9869cfab70ff..51a690935458 100644 --- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serversMappers.ts b/sdk/sql/arm-sql/src/models/serversMappers.ts index 52bdfdafb44e..5a92436a8d30 100644 --- a/sdk/sql/arm-sql/src/models/serversMappers.ts +++ b/sdk/sql/arm-sql/src/models/serversMappers.ts @@ -43,6 +43,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -69,6 +70,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts index 5a7a546eb9e7..12f3611e8934 100644 --- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts index 054d0824e915..3ea28d08147f 100644 --- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts index 1101e34e98dc..5ddc23145424 100644 --- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts index 7479b01479a6..63bede0cec92 100644 --- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts index 29c0a14cf321..13b9e11984b7 100644 --- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts index 8d995125fc16..a1bb58c146b0 100644 --- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts index ec83c88e1a6f..3fa89e21e928 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts index 7f4a2c317d7f..12e1edec8a00 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/usagesMappers.ts b/sdk/sql/arm-sql/src/models/usagesMappers.ts new file mode 100644 index 000000000000..5e7352c44b40 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/usagesMappers.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + CloudError, + Name, + Usage, + UsageListResult +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts index deeeaa4f94d6..6ecf22755a5d 100644 --- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts index fd90bbac2823..957fc7bb5830 100644 --- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts @@ -41,6 +41,7 @@ export { InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, + InstancePool, Job, JobAgent, JobCredential, @@ -67,6 +68,9 @@ export { OperationImpact, PartnerInfo, PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkServiceConnectionStateProperty, ProxyResource, RecommendedElasticPool, RecommendedElasticPoolMetric, diff --git a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts index 687cf8ee48d2..015a8db7ac5e 100644 --- a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts @@ -157,7 +157,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -183,7 +183,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -210,7 +210,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts index 180f70963210..2d58e3f9ee72 100644 --- a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts @@ -122,7 +122,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -149,7 +149,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts index f51ea0cf4bd7..12157deacbb5 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts @@ -214,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -243,7 +243,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -279,7 +279,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts index 621d018f2bc6..3ed1a774ce50 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts @@ -231,7 +231,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -258,7 +258,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -295,7 +295,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -319,7 +319,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databases.ts b/sdk/sql/arm-sql/src/operations/databases.ts index 677d089b03c2..51cf70658ba8 100644 --- a/sdk/sql/arm-sql/src/operations/databases.ts +++ b/sdk/sql/arm-sql/src/operations/databases.ts @@ -396,6 +396,20 @@ export class Databases { callback); } + /** + * Failovers a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database to failover. + * @param [options] The optional parameters + * @returns Promise + */ + failover(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginFailover(resourceGroupName,serverName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Imports a bacpac into a new database. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -594,6 +608,27 @@ export class Databases { options); } + /** + * Failovers a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database to failover. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailover(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + databaseName, + options + }, + beginFailoverOperationSpec, + options); + } + /** * Gets a list of databases. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -1092,6 +1127,31 @@ const beginResumeOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByServerNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/sql/arm-sql/src/operations/elasticPools.ts b/sdk/sql/arm-sql/src/operations/elasticPools.ts index a76c54524e24..44ed8f424f87 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPools.ts @@ -227,6 +227,20 @@ export class ElasticPools { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Failovers an elastic pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param elasticPoolName The name of the elastic pool to failover. + * @param [options] The optional parameters + * @returns Promise + */ + failover(resourceGroupName: string, serverName: string, elasticPoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginFailover(resourceGroupName,serverName,elasticPoolName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Creates or updates an elastic pool. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -294,6 +308,27 @@ export class ElasticPools { options); } + /** + * Failovers an elastic pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param elasticPoolName The name of the elastic pool to failover. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailover(resourceGroupName: string, serverName: string, elasticPoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + elasticPoolName, + options + }, + beginFailoverOperationSpec, + options); + } + /** * Gets all elastic pools in a server. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -527,6 +562,31 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/failover", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.elasticPoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByServerNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts index 9ef57481318c..4e0fc83f296f 100644 --- a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts @@ -122,7 +122,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -149,7 +149,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts index b870dc3035db..20f1bd98df01 100644 --- a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts @@ -110,7 +110,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -136,7 +136,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/index.ts b/sdk/sql/arm-sql/src/operations/index.ts index 4b4f1aa68d75..6f018c267fe2 100644 --- a/sdk/sql/arm-sql/src/operations/index.ts +++ b/sdk/sql/arm-sql/src/operations/index.ts @@ -34,7 +34,6 @@ export * from "./databaseUsages"; export * from "./databaseAutomaticTuningOperations"; export * from "./encryptionProtectors"; export * from "./failoverGroups"; -export * from "./managedInstances"; export * from "./operations"; export * from "./serverKeys"; export * from "./syncAgents"; @@ -88,3 +87,7 @@ export * from "./recoverableManagedDatabases"; export * from "./managedInstanceVulnerabilityAssessments"; export * from "./serverVulnerabilityAssessments"; export * from "./managedDatabaseSensitivityLabels"; +export * from "./instancePools"; +export * from "./usages"; +export * from "./managedInstances"; +export * from "./privateEndpointConnections"; diff --git a/sdk/sql/arm-sql/src/operations/instancePools.ts b/sdk/sql/arm-sql/src/operations/instancePools.ts new file mode 100644 index 000000000000..530623321b35 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/instancePools.ts @@ -0,0 +1,487 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/instancePoolsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a InstancePools. */ +export class InstancePools { + private readonly client: SqlManagementClientContext; + + /** + * Create a InstancePools. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param callback The callback + */ + get(resourceGroupName: string, instancePoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, instancePoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + instancePoolName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be created or updated. + * @param parameters The requested instance pool resource state. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, instancePoolName: string, parameters: Models.InstancePool, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,instancePoolName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes an instance pool + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be deleted + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,instancePoolName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Updates an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be updated. + * @param parameters The requested instance pool resource state. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, instancePoolName: string, parameters: Models.InstancePoolUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,instancePoolName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets a list of instance pools in the resource group + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all instance pools in the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be created or updated. + * @param parameters The requested instance pool resource state. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, instancePoolName: string, parameters: Models.InstancePool, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + instancePoolName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes an instance pool + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be deleted + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + instancePoolName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Updates an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be updated. + * @param parameters The requested instance pool resource state. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, instancePoolName: string, parameters: Models.InstancePoolUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + instancePoolName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Gets a list of instance pools in the resource group + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all instance pools in the subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.InstancePool + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.InstancePoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.InstancePoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.InstancePool, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.InstancePool + }, + 201: { + bodyMapper: Mappers.InstancePool + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.InstancePoolUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.InstancePool + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.InstancePoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.InstancePoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/jobAgents.ts b/sdk/sql/arm-sql/src/operations/jobAgents.ts index 6867ba6018b4..1b7ce4550a4f 100644 --- a/sdk/sql/arm-sql/src/operations/jobAgents.ts +++ b/sdk/sql/arm-sql/src/operations/jobAgents.ts @@ -252,7 +252,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -278,7 +278,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -304,7 +304,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -341,7 +341,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -367,7 +367,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobCredentials.ts b/sdk/sql/arm-sql/src/operations/jobCredentials.ts index da33732cbf94..caf6404ca3cb 100644 --- a/sdk/sql/arm-sql/src/operations/jobCredentials.ts +++ b/sdk/sql/arm-sql/src/operations/jobCredentials.ts @@ -239,7 +239,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +266,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +293,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobExecutions.ts b/sdk/sql/arm-sql/src/operations/jobExecutions.ts index 5bb3c069e122..70719de8f48d 100644 --- a/sdk/sql/arm-sql/src/operations/jobExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobExecutions.ts @@ -358,7 +358,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -418,7 +418,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -446,7 +446,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -473,7 +473,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -502,7 +502,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts index 225f9da48067..ccf641ff4a81 100644 --- a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts @@ -174,7 +174,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -203,7 +203,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobSteps.ts b/sdk/sql/arm-sql/src/operations/jobSteps.ts index 5510e9a639ff..bc44e2296009 100644 --- a/sdk/sql/arm-sql/src/operations/jobSteps.ts +++ b/sdk/sql/arm-sql/src/operations/jobSteps.ts @@ -383,7 +383,7 @@ const listByVersionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -412,7 +412,7 @@ const getByVersionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +439,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -467,7 +467,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -495,7 +495,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -533,7 +533,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts index b026251e445c..0a54d2027c5d 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts @@ -257,7 +257,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +293,7 @@ const listByStepOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts index 8ffff9a406fa..c2f1291e0923 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts @@ -239,7 +239,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +266,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +293,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobVersions.ts b/sdk/sql/arm-sql/src/operations/jobVersions.ts index b8d28f5ac641..22c8f459d997 100644 --- a/sdk/sql/arm-sql/src/operations/jobVersions.ts +++ b/sdk/sql/arm-sql/src/operations/jobVersions.ts @@ -158,7 +158,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -186,7 +186,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/jobs.ts b/sdk/sql/arm-sql/src/operations/jobs.ts index ba62a7a9c6c3..e59fdf513162 100644 --- a/sdk/sql/arm-sql/src/operations/jobs.ts +++ b/sdk/sql/arm-sql/src/operations/jobs.ts @@ -239,7 +239,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +266,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +293,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts index ba117c85fb3c..6bc0a26893ad 100644 --- a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts @@ -27,6 +27,186 @@ export class LongTermRetentionBackups { this.client = client; } + /** + * Gets a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param callback The callback + */ + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param options The optional parameters + * @param callback The callback + */ + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + options + }, + getByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Lists all long term retention backups for a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param callback The callback + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + options + }, + listByResourceGroupDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given location. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param callback The callback + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + options + }, + listByResourceGroupLocationOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param callback The callback + */ + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + longTermRetentionServerName, + options + }, + listByResourceGroupServerOperationSpec, + callback) as Promise; + } + /** * Gets a long term retention backup. * @param locationName The location of the database. @@ -177,6 +357,31 @@ export class LongTermRetentionBackups { callback) as Promise; } + /** + * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + options + }, + beginDeleteByResourceGroupOperationSpec, + options); + } + /** * Deletes a long term retention backup. * @param locationName The location of the database @@ -199,6 +404,90 @@ export class LongTermRetentionBackups { options); } + /** + * Lists all long term retention backups for a database. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupDatabaseNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given location. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupLocationNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupServerNextOperationSpec, + callback) as Promise; + } + /** * Lists all long term retention backups for a database. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -286,6 +575,118 @@ export class LongTermRetentionBackups { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const getByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", @@ -297,7 +698,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -325,7 +726,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -351,7 +752,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -378,7 +779,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -394,6 +795,33 @@ const listByServerOperationSpec: msRest.OperationSpec = { serializer }; +const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", @@ -405,7 +833,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -420,6 +848,69 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByDatabaseNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts index 7b8abd6c5c25..825d783a4032 100644 --- a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +249,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -276,7 +276,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts index fb1e7c6a0aef..a35978ff4977 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts @@ -198,7 +198,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -261,7 +261,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts index d28e5833afc7..78a062d17bb6 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts @@ -190,6 +190,109 @@ export class ManagedDatabaseSensitivityLabels { callback); } + /** + * Disables sensitivity recommendations on a given column + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param [options] The optional parameters + * @returns Promise + */ + disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param callback The callback + */ + disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param options The optional parameters + * @param callback The callback + */ + disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + schemaName, + tableName, + columnName, + options + }, + disableRecommendationOperationSpec, + callback); + } + + /** + * Enables sensitivity recommendations on a given column (recommendations are enabled by default on + * all columns) + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param [options] The optional parameters + * @returns Promise + */ + enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param callback The callback + */ + enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param options The optional parameters + * @param callback The callback + */ + enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + schemaName, + tableName, + columnName, + options + }, + enableRecommendationOperationSpec, + callback); + } + /** * Gets the sensitivity labels of a given database * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -337,11 +440,11 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource0, + Parameters.sensitivityLabelSource1, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -367,11 +470,11 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1, + Parameters.sensitivityLabelSource2, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -407,11 +510,67 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1, + Parameters.sensitivityLabelSource2, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const disableRecommendationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName, + Parameters.sensitivityLabelSource0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const enableRecommendationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName, + Parameters.sensitivityLabelSource0, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -436,7 +595,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -462,9 +621,10 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.includeDisabledRecommendations, Parameters.skipToken, Parameters.filter1, - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabases.ts b/sdk/sql/arm-sql/src/operations/managedDatabases.ts index ec858fe858ae..fec72b28da05 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabases.ts @@ -285,7 +285,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -336,7 +336,7 @@ const beginCompleteRestoreOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -368,7 +368,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -405,7 +405,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -431,7 +431,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts index ceed6a0b8c10..11ac9da5bce2 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +249,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -285,7 +285,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedInstances.ts b/sdk/sql/arm-sql/src/operations/managedInstances.ts index 55a0e5ed91fc..9187f0f06a0d 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstances.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstances.ts @@ -28,27 +28,38 @@ export class ManagedInstances { } /** - * Gets a list of all managed instances in the subscription. + * Gets a list of all managed instances in an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The instance pool name. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - list(options?: msRest.RequestOptionsBase): Promise; + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The instance pool name. * @param callback The callback */ - list(callback: msRest.ServiceCallback): void; + listByInstancePool(resourceGroupName: string, instancePoolName: string, callback: msRest.ServiceCallback): void; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The instance pool name. * @param options The optional parameters * @param callback The callback */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByInstancePool(resourceGroupName: string, instancePoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + resourceGroupName, + instancePoolName, options }, - listOperationSpec, - callback) as Promise; + listByInstancePoolOperationSpec, + callback) as Promise; } /** @@ -158,6 +169,30 @@ export class ManagedInstances { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a list of all managed instances in the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + /** * Creates or updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -220,31 +255,31 @@ export class ManagedInstances { } /** - * Gets a list of all managed instances in the subscription. + * Gets a list of all managed instances in an instance pool. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listNextOperationSpec, - callback) as Promise; + listByInstancePoolNextOperationSpec, + callback) as Promise; } /** @@ -274,18 +309,48 @@ export class ManagedInstances { listByResourceGroupNextOperationSpec, callback) as Promise; } + + /** + * Gets a list of all managed instances in the subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { +const listByInstancePoolOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances", urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +374,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +399,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -350,6 +415,29 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", @@ -359,7 +447,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -395,7 +483,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -420,7 +508,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -444,7 +532,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const listNextOperationSpec: msRest.OperationSpec = { +const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", @@ -485,3 +573,24 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts index d0c271b01099..f6b8abddc545 100644 --- a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts @@ -228,7 +228,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +254,7 @@ const listByRestorableDroppedDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +281,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts index 6b01a5cd0e71..0c58ca809417 100644 --- a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts @@ -173,7 +173,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +198,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts new file mode 100644 index 000000000000..f2a129d2a609 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts @@ -0,0 +1,338 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateEndpointConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a PrivateEndpointConnections. */ +export class PrivateEndpointConnections { + private readonly client: SqlManagementClientContext; + + /** + * Create a PrivateEndpointConnections. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a private endpoint connection. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + privateEndpointConnectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Approve or reject a private endpoint connection with a given name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,privateEndpointConnectionName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a private endpoint connection with a given name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,serverName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets all private endpoint connections on a server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + + /** + * Approve or reject a private endpoint connection with a given name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + privateEndpointConnectionName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a private endpoint connection with a given name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param privateEndpointConnectionName + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + privateEndpointConnectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Gets all private endpoint connections on a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts index 81efe8772251..616f9c58900d 100644 --- a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts @@ -140,7 +140,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +166,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/restorePoints.ts b/sdk/sql/arm-sql/src/operations/restorePoints.ts index bedade5c5328..d3cbf393d7c6 100644 --- a/sdk/sql/arm-sql/src/operations/restorePoints.ts +++ b/sdk/sql/arm-sql/src/operations/restorePoints.ts @@ -203,7 +203,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -257,7 +257,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +281,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts index 40efad6f5250..32d4584c6a05 100644 --- a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts @@ -104,6 +104,109 @@ export class SensitivityLabels { callback) as Promise; } + /** + * Enables sensitivity recommendations on a given column (recommendations are enabled by default on + * all columns) + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param [options] The optional parameters + * @returns Promise + */ + enableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param callback The callback + */ + enableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param options The optional parameters + * @param callback The callback + */ + enableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + enableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + schemaName, + tableName, + columnName, + options + }, + enableRecommendationOperationSpec, + callback); + } + + /** + * Disables sensitivity recommendations on a given column + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param [options] The optional parameters + * @returns Promise + */ + disableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param callback The callback + */ + disableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param options The optional parameters + * @param callback The callback + */ + disableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disableRecommendation(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + schemaName, + tableName, + columnName, + options + }, + disableRecommendationOperationSpec, + callback); + } + /** * Gets the sensitivity label of a given column * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -338,7 +441,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -364,9 +467,10 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.includeDisabledRecommendations, Parameters.skipToken, Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -382,6 +486,62 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { serializer }; +const enableRecommendationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName, + Parameters.sensitivityLabelSource0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const disableRecommendationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName, + Parameters.sensitivityLabelSource0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", @@ -392,11 +552,11 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource0, + Parameters.sensitivityLabelSource1, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -422,11 +582,11 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1, + Parameters.sensitivityLabelSource2, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -462,11 +622,11 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1, + Parameters.sensitivityLabelSource2, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts index c347854122df..b473a84bcf2e 100644 --- a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts @@ -112,7 +112,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -137,7 +137,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts index edb5fd10756d..4bf12f6aeac9 100644 --- a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts @@ -110,7 +110,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -136,7 +136,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts index 86a7063d4306..fdd12166a26f 100644 --- a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts +++ b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts @@ -250,7 +250,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -275,7 +275,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -301,7 +301,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -331,7 +331,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -357,7 +357,7 @@ const beginAcquireOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts index 142dd4f333e6..56e479b9f51e 100644 --- a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts @@ -173,7 +173,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +198,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts index 4a025168ad2d..09f92258465f 100644 --- a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts @@ -211,7 +211,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -237,7 +237,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -273,7 +273,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -296,7 +296,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/usages.ts b/sdk/sql/arm-sql/src/operations/usages.ts new file mode 100644 index 000000000000..fc08d9576ea3 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/usages.ts @@ -0,0 +1,140 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/usagesMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a Usages. */ +export class Usages { + private readonly client: SqlManagementClientContext; + + /** + * Create a Usages. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets all instance pool usage metrics + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: Models.UsagesListByInstancePoolOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param callback The callback + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The name of the instance pool to be retrieved. + * @param options The optional parameters + * @param callback The callback + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, options: Models.UsagesListByInstancePoolOptionalParams, callback: msRest.ServiceCallback): void; + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: Models.UsagesListByInstancePoolOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + instancePoolName, + options + }, + listByInstancePoolOperationSpec, + callback) as Promise; + } + + /** + * Gets all instance pool usage metrics + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstancePoolNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstancePoolNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByInstancePoolOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.instancePoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expandChildren, + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UsageListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UsageListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/sqlManagementClient.ts b/sdk/sql/arm-sql/src/sqlManagementClient.ts index e29270907ca0..5bf5ec4b8cdb 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClient.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts @@ -43,7 +43,6 @@ class SqlManagementClient extends SqlManagementClientContext { databaseAutomaticTuning: operations.DatabaseAutomaticTuningOperations; encryptionProtectors: operations.EncryptionProtectors; failoverGroups: operations.FailoverGroups; - managedInstances: operations.ManagedInstances; operations: operations.Operations; serverKeys: operations.ServerKeys; syncAgents: operations.SyncAgents; @@ -97,6 +96,10 @@ class SqlManagementClient extends SqlManagementClientContext { managedInstanceVulnerabilityAssessments: operations.ManagedInstanceVulnerabilityAssessments; serverVulnerabilityAssessments: operations.ServerVulnerabilityAssessments; managedDatabaseSensitivityLabels: operations.ManagedDatabaseSensitivityLabels; + instancePools: operations.InstancePools; + usages: operations.Usages; + managedInstances: operations.ManagedInstances; + privateEndpointConnections: operations.PrivateEndpointConnections; /** * Initializes a new instance of the SqlManagementClient class. @@ -132,7 +135,6 @@ class SqlManagementClient extends SqlManagementClientContext { this.databaseAutomaticTuning = new operations.DatabaseAutomaticTuningOperations(this); this.encryptionProtectors = new operations.EncryptionProtectors(this); this.failoverGroups = new operations.FailoverGroups(this); - this.managedInstances = new operations.ManagedInstances(this); this.operations = new operations.Operations(this); this.serverKeys = new operations.ServerKeys(this); this.syncAgents = new operations.SyncAgents(this); @@ -186,6 +188,10 @@ class SqlManagementClient extends SqlManagementClientContext { this.managedInstanceVulnerabilityAssessments = new operations.ManagedInstanceVulnerabilityAssessments(this); this.serverVulnerabilityAssessments = new operations.ServerVulnerabilityAssessments(this); this.managedDatabaseSensitivityLabels = new operations.ManagedDatabaseSensitivityLabels(this); + this.instancePools = new operations.InstancePools(this); + this.usages = new operations.Usages(this); + this.managedInstances = new operations.ManagedInstances(this); + this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); } } diff --git a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts index 9c40606a0760..e4015c4da383 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-sql"; -const packageVersion = "5.6.0"; +const packageVersion = "5.7.0"; export class SqlManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/sql/arm-sql/tsconfig.json b/sdk/sql/arm-sql/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/sql/arm-sql/tsconfig.json +++ b/sdk/sql/arm-sql/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true