Skip to content

Commit

Permalink
CodeGen from PR 24069 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding Failover Groups API for SQL DB on v5 tag for 2022-11-01 (Azure#24069)

Co-authored-by: subhrob <[email protected]>
  • Loading branch information
SDKAuto and subhrob committed May 22, 2023
1 parent 394b73e commit 493692f
Show file tree
Hide file tree
Showing 196 changed files with 25,817 additions and 26,206 deletions.
10 changes: 5 additions & 5 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 152 additions & 0 deletions sdk/sql/arm-sql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,157 @@
# Release History

## 11.0.0-beta.1 (2023-05-22)

**Features**

- Added operation group NetworkSecurityPerimeterConfigurations
- Added operation DistributedAvailabilityGroups.beginSetRole
- Added operation DistributedAvailabilityGroups.beginSetRoleAndWait
- Added operation FailoverGroups.beginTryPlannedBeforeForcedFailover
- Added operation FailoverGroups.beginTryPlannedBeforeForcedFailoverAndWait
- Added operation GeoBackupPolicies.list
- Added operation ManagedDatabaseSensitivityLabels.listByDatabase
- Added operation ManagedInstanceLongTermRetentionPolicies.beginDelete
- Added operation ManagedInstanceLongTermRetentionPolicies.beginDeleteAndWait
- Added operation SensitivityLabels.listByDatabase
- Added Interface DatabaseVulnerabilityAssessmentRuleBaselineAutoGenerated
- Added Interface DataMaskingRulesListByDatabaseNextOptionalParams
- Added Interface DistributedAvailabilityGroupSetRole
- Added Interface DistributedAvailabilityGroupsSetRoleOptionalParams
- Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverHeaders
- Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams
- Added Interface GeoBackupPoliciesListNextOptionalParams
- Added Interface GeoBackupPoliciesListOptionalParams
- Added Interface ManagedDatabaseSensitivityLabelsListByDatabaseNextOptionalParams
- Added Interface ManagedDatabaseSensitivityLabelsListByDatabaseOptionalParams
- Added Interface ManagedInstanceLongTermRetentionPoliciesDeleteOptionalParams
- Added Interface NetworkSecurityPerimeterConfiguration
- Added Interface NetworkSecurityPerimeterConfigurationListResult
- Added Interface NetworkSecurityPerimeterConfigurationsGetOptionalParams
- Added Interface NetworkSecurityPerimeterConfigurationsListByServerNextOptionalParams
- Added Interface NetworkSecurityPerimeterConfigurationsListByServerOptionalParams
- Added Interface NetworkSecurityPerimeterConfigurationsReconcileOptionalParams
- Added Interface NSPConfigAccessRule
- Added Interface NSPConfigAccessRuleProperties
- Added Interface NSPConfigAssociation
- Added Interface NSPConfigNetworkSecurityPerimeterRule
- Added Interface NSPConfigPerimeter
- Added Interface NSPConfigProfile
- Added Interface NSPProvisioningIssue
- Added Interface NSPProvisioningIssueProperties
- Added Interface PhaseDetails
- Added Interface SensitivityLabelsListByDatabaseNextOptionalParams
- Added Interface SensitivityLabelsListByDatabaseOptionalParams
- Added Interface ServerUsagesListByServerNextOptionalParams
- Added Interface UpsertManagedServerOperationStepWithEstimatesAndDuration
- Added Type Alias DataMaskingPolicyName
- Added Type Alias DataMaskingRulesListByDatabaseNextResponse
- Added Type Alias DistributedAvailabilityGroupsSetRoleResponse
- Added Type Alias FailoverGroupsTryPlannedBeforeForcedFailoverResponse
- Added Type Alias GeoBackupPoliciesListNextResponse
- Added Type Alias GeoBackupPoliciesListResponse
- Added Type Alias InstanceRole
- Added Type Alias ManagedDatabaseSensitivityLabelsListByDatabaseNextResponse
- Added Type Alias ManagedDatabaseSensitivityLabelsListByDatabaseResponse
- Added Type Alias ManagedInstanceLongTermRetentionPoliciesDeleteResponse
- Added Type Alias ManagedInstancesStartResponse
- Added Type Alias ManagedInstancesStopResponse
- Added Type Alias NetworkSecurityPerimeterConfigurationsGetResponse
- Added Type Alias NetworkSecurityPerimeterConfigurationsListByServerNextResponse
- Added Type Alias NetworkSecurityPerimeterConfigurationsListByServerResponse
- Added Type Alias NetworkSecurityPerimeterConfigurationsReconcileResponse
- Added Type Alias Phase
- Added Type Alias RoleChangeType
- Added Type Alias SecurityAlertPolicyNameAutoGenerated
- Added Type Alias SensitivityLabelsListByDatabaseNextResponse
- Added Type Alias SensitivityLabelsListByDatabaseResponse
- Added Type Alias ServerUsagesListByServerNextResponse
- Added Type Alias Status
- Interface DatabaseExtensions has a new optional parameter administratorLogin
- Interface DatabaseExtensions has a new optional parameter administratorLoginPassword
- Interface DatabaseExtensions has a new optional parameter authenticationType
- Interface DatabaseExtensions has a new optional parameter databaseEdition
- Interface DatabaseExtensions has a new optional parameter maxSizeBytes
- Interface DatabaseExtensions has a new optional parameter networkIsolation
- Interface DatabaseExtensions has a new optional parameter serviceObjectiveName
- Interface DatabaseOperation has a new optional parameter operationPhaseDetails
- Interface DataMaskingRuleListResult has a new optional parameter nextLink
- Interface DistributedAvailabilityGroup has a new optional parameter instanceRole
- Interface EditionCapability has a new optional parameter zonePinning
- Interface ElasticPool has a new optional parameter availabilityZone
- Interface ElasticPool has a new optional parameter minCapacity
- Interface ElasticPool has a new optional parameter preferredEnclaveType
- Interface ElasticPoolEditionCapability has a new optional parameter zonePinning
- Interface ElasticPoolUpdate has a new optional parameter availabilityZone
- Interface ElasticPoolUpdate has a new optional parameter minCapacity
- Interface ElasticPoolUpdate has a new optional parameter preferredEnclaveType
- Interface GeoBackupPolicyListResult has a new optional parameter nextLink
- Interface ImportExportExtensionsOperationResult has a new optional parameter blobUri
- Interface ImportExportExtensionsOperationResult has a new optional parameter privateEndpointConnections
- Interface ImportExportExtensionsOperationResult has a new optional parameter queuedTime
- Interface ManagedDatabase has a new optional parameter isLedgerOn
- Interface ManagedDatabaseUpdate has a new optional parameter isLedgerOn
- Interface ManagedInstance has a new optional parameter virtualClusterId
- Interface ManagedInstancePrivateLinkProperties has a new optional parameter requiredZoneNames
- Interface ManagedInstanceUpdate has a new optional parameter virtualClusterId
- Interface PrivateEndpointConnection has a new optional parameter groupIds
- Interface ReplicationLink has a new optional parameter partnerDatabaseId
- Interface ServerUsageListResult has a new optional parameter nextLink
- Interface ServiceObjectiveCapability has a new optional parameter zonePinning
- Interface SqlManagementClientOptionalParams has a new optional parameter apiVersion
- Interface SqlVulnerabilityAssessmentScanRecord has a new optional parameter lastScanTime
- Added Enum KnownDataMaskingPolicyName
- Added Enum KnownInstanceRole
- Added Enum KnownPhase
- Added Enum KnownRoleChangeType
- Added Enum KnownSecurityAlertPolicyNameAutoGenerated
- Added Enum KnownStatus
- Enum KnownOperationMode has a new value Export
- Enum KnownOperationMode has a new value Import
- Enum KnownStorageCapabilityStorageAccountType has a new value Gzrs

**Breaking Changes**

- Removed operation group ElasticPoolActivities
- Removed operation group ElasticPoolDatabaseActivities
- Removed operation group ServerCommunicationLinks
- Removed operation group ServiceObjectives
- Removed operation Databases.listMetricDefinitions
- Removed operation Databases.listMetrics
- Removed operation ElasticPools.listMetricDefinitions
- Removed operation ElasticPools.listMetrics
- Removed operation GeoBackupPolicies.listByDatabase
- Operation DataMaskingPolicies.createOrUpdate has a new signature
- Operation DataMaskingPolicies.get has a new signature
- Operation DataMaskingRules.createOrUpdate has a new signature
- Operation DataMaskingRules.listByDatabase has a new signature
- Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselines.createOrUpdate has a new signature
- Operation ManagedServerSecurityAlertPolicies.beginCreateOrUpdate has a new signature
- Operation ManagedServerSecurityAlertPolicies.beginCreateOrUpdateAndWait has a new signature
- Operation ManagedServerSecurityAlertPolicies.get has a new signature
- Operation OutboundFirewallRules.beginCreateOrUpdate has a new signature
- Operation OutboundFirewallRules.beginCreateOrUpdateAndWait has a new signature
- Operation ServerSecurityAlertPolicies.beginCreateOrUpdate has a new signature
- Operation ServerSecurityAlertPolicies.beginCreateOrUpdateAndWait has a new signature
- Operation ServerSecurityAlertPolicies.get has a new signature
- Interface ServerUsage no longer has parameter name
- Interface ServerUsage no longer has parameter nextResetTime
- Interface ServerUsage no longer has parameter resourceName
- Type of parameter provisioningState of interface ManagedInstance is changed from ManagedInstancePropertiesProvisioningState to ProvisioningState
- Type of parameter stepsList of interface ManagedInstanceOperationSteps is changed from UpsertManagedServerOperationStep[] to UpsertManagedServerOperationStepWithEstimatesAndDuration[]
- Type of parameter provisioningState of interface ManagedInstanceUpdate is changed from ManagedInstancePropertiesProvisioningState to ProvisioningState
- Class SqlManagementClient no longer has parameter elasticPoolActivities
- Class SqlManagementClient no longer has parameter elasticPoolDatabaseActivities
- Class SqlManagementClient no longer has parameter serverCommunicationLinks
- Class SqlManagementClient no longer has parameter serviceObjectives
- Removed Enum KnownManagedInstancePropertiesProvisioningState
- Removed Enum KnownPrimaryAggregationType
- Removed Enum KnownServiceObjectiveName
- Removed Enum KnownUnitDefinitionType
- Removed Enum KnownUnitType
- Removed Enum KnownUpsertManagedServerOperationStepStatus


## 10.0.0 (2023-03-22)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/sql/arm-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure SQL Database management API provides a RESTful set of web services tha

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-sql) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-sql) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-sql?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions sdk/sql/arm-sql/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "cd2b76ce38029e1425ee024cd9403a908c60d71e",
"commit": "529205bb71049de32c1126c69b6016904261da32",
"readme": "specification/sql/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\sql\\resource-manager\\readme.md --use=@autorest/[email protected] --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/sql/resource-manager/readme.md --use=@autorest/[email protected]",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/[email protected]"
}
16 changes: 4 additions & 12 deletions sdk/sql/arm-sql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SqlManagementClient.",
"version": "10.0.0",
"version": "11.0.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -36,7 +36,7 @@
"mkdirp": "^2.1.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^16.0.0",
Expand Down Expand Up @@ -111,13 +111,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-sql?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql"
}
Loading

0 comments on commit 493692f

Please sign in to comment.