Skip to content

Commit

Permalink
CodeGen from PR 19955 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 282c5ea42fa4f0f29b18f6c6bad6ff80d539ae78 into 9c0c34231a47458101c2867111b61e183dfba84f
  • Loading branch information
SDKAuto committed Aug 23, 2022
1 parent 072ff86 commit 6550a59
Show file tree
Hide file tree
Showing 261 changed files with 21,234 additions and 18,314 deletions.
114 changes: 114 additions & 0 deletions sdk/resourcemanager/sql/armsql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,119 @@
# Release History

## 2.0.0-beta.1 (2022-08-23)
### Breaking Changes

- Type of `ManagedDatabaseRestoreDetailsProperties.UnrestorableFiles` has been changed from `[]*string` to `[]*ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
- Type of `ManagedDatabaseRestoreDetailsProperties.PercentCompleted` has been changed from `*float64` to `*int32`
- Type of `ManagedDatabaseRestoreDetailsProperties.NumberOfFilesDetected` has been changed from `*int64` to `*int32`
- Function `*ReplicationLinksClient.Delete` has been removed
- Struct `ReplicationLinksClientDeleteOptions` has been removed

### Features Added

- New const `SecondaryTypeStandby`
- New const `DtcNameCurrent`
- New const `ReplicationLinkTypeSTANDBY`
- New const `MoveOperationModeCopy`
- New const `MoveOperationModeMove`
- New type alias `MoveOperationMode`
- New type alias `DtcName`
- New function `*ManagedServerDNSAliasesClient.NewListByManagedInstancePager(string, string, *ManagedServerDNSAliasesClientListByManagedInstanceOptions) *runtime.Pager[ManagedServerDNSAliasesClientListByManagedInstanceResponse]`
- New function `NewManagedInstanceAdvancedThreatProtectionSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedInstanceAdvancedThreatProtectionSettingsClient, error)`
- New function `PossibleDtcNameValues() []DtcName`
- New function `*ManagedDatabasesClient.BeginCompleteMove(context.Context, string, string, string, ManagedDatabaseMoveDefinition, *ManagedDatabasesClientBeginCompleteMoveOptions) (*runtime.Poller[ManagedDatabasesClientCompleteMoveResponse], error)`
- New function `*ManagedServerDNSAliasesClient.BeginDelete(context.Context, string, string, string, *ManagedServerDNSAliasesClientBeginDeleteOptions) (*runtime.Poller[ManagedServerDNSAliasesClientDeleteResponse], error)`
- New function `*ManagedInstanceDtcsClient.Get(context.Context, string, string, DtcName, *ManagedInstanceDtcsClientGetOptions) (ManagedInstanceDtcsClientGetResponse, error)`
- New function `*ManagedServerDNSAliasesClient.BeginAcquire(context.Context, string, string, string, ManagedServerDNSAliasAcquisition, *ManagedServerDNSAliasesClientBeginAcquireOptions) (*runtime.Poller[ManagedServerDNSAliasesClientAcquireResponse], error)`
- New function `PossibleMoveOperationModeValues() []MoveOperationMode`
- New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.NewListByInstancePager(string, string, *ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceOptions) *runtime.Pager[ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceResponse]`
- New function `*ReplicationLinksClient.BeginDelete(context.Context, string, string, string, string, *ReplicationLinksClientBeginDeleteOptions) (*runtime.Poller[ReplicationLinksClientDeleteResponse], error)`
- New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.Get(context.Context, string, string, AdvancedThreatProtectionName, *ManagedInstanceAdvancedThreatProtectionSettingsClientGetOptions) (ManagedInstanceAdvancedThreatProtectionSettingsClientGetResponse, error)`
- New function `*ManagedServerDNSAliasesClient.Get(context.Context, string, string, string, *ManagedServerDNSAliasesClientGetOptions) (ManagedServerDNSAliasesClientGetResponse, error)`
- New function `*ManagedDatabasesClient.BeginCancelMove(context.Context, string, string, string, ManagedDatabaseMoveDefinition, *ManagedDatabasesClientBeginCancelMoveOptions) (*runtime.Poller[ManagedDatabasesClientCancelMoveResponse], error)`
- New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.NewListByDatabasePager(string, string, string, *ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseOptions) *runtime.Pager[ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseResponse]`
- New function `*ManagedInstanceAdvancedThreatProtectionSettingsClient.BeginCreateOrUpdate(context.Context, string, string, AdvancedThreatProtectionName, ManagedInstanceAdvancedThreatProtection, *ManagedInstanceAdvancedThreatProtectionSettingsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedInstanceAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse], error)`
- New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.Get(context.Context, string, string, string, AdvancedThreatProtectionName, *ManagedDatabaseAdvancedThreatProtectionSettingsClientGetOptions) (ManagedDatabaseAdvancedThreatProtectionSettingsClientGetResponse, error)`
- New function `*ManagedDatabasesClient.BeginStartMove(context.Context, string, string, string, ManagedDatabaseStartMoveDefinition, *ManagedDatabasesClientBeginStartMoveOptions) (*runtime.Poller[ManagedDatabasesClientStartMoveResponse], error)`
- New function `*ManagedDatabaseAdvancedThreatProtectionSettingsClient.CreateOrUpdate(context.Context, string, string, string, AdvancedThreatProtectionName, ManagedDatabaseAdvancedThreatProtection, *ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateOptions) (ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse, error)`
- New function `*ManagedServerDNSAliasesClient.BeginCreateOrUpdate(context.Context, string, string, string, ManagedServerDNSAliasCreation, *ManagedServerDNSAliasesClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedServerDNSAliasesClientCreateOrUpdateResponse], error)`
- New function `NewManagedInstanceDtcsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedInstanceDtcsClient, error)`
- New function `NewManagedServerDNSAliasesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedServerDNSAliasesClient, error)`
- New function `NewManagedDatabaseAdvancedThreatProtectionSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedDatabaseAdvancedThreatProtectionSettingsClient, error)`
- New function `*ManagedInstanceDtcsClient.NewListByManagedInstancePager(string, string, *ManagedInstanceDtcsClientListByManagedInstanceOptions) *runtime.Pager[ManagedInstanceDtcsClientListByManagedInstanceResponse]`
- New function `*ManagedInstanceDtcsClient.BeginCreateOrUpdate(context.Context, string, string, DtcName, ManagedInstanceDtc, *ManagedInstanceDtcsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ManagedInstanceDtcsClientCreateOrUpdateResponse], error)`
- New struct `ManagedDatabaseAdvancedThreatProtection`
- New struct `ManagedDatabaseAdvancedThreatProtectionListResult`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClient`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateOptions`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientGetOptions`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientGetResponse`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseOptions`
- New struct `ManagedDatabaseAdvancedThreatProtectionSettingsClientListByDatabaseResponse`
- New struct `ManagedDatabaseMoveDefinition`
- New struct `ManagedDatabaseRestoreDetailsBackupSetProperties`
- New struct `ManagedDatabaseRestoreDetailsUnrestorableFileProperties`
- New struct `ManagedDatabaseStartMoveDefinition`
- New struct `ManagedDatabasesClientBeginCancelMoveOptions`
- New struct `ManagedDatabasesClientBeginCompleteMoveOptions`
- New struct `ManagedDatabasesClientBeginStartMoveOptions`
- New struct `ManagedDatabasesClientCancelMoveResponse`
- New struct `ManagedDatabasesClientCompleteMoveResponse`
- New struct `ManagedDatabasesClientStartMoveResponse`
- New struct `ManagedInstanceAdvancedThreatProtection`
- New struct `ManagedInstanceAdvancedThreatProtectionListResult`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClient`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientBeginCreateOrUpdateOptions`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientCreateOrUpdateResponse`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientGetOptions`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientGetResponse`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceOptions`
- New struct `ManagedInstanceAdvancedThreatProtectionSettingsClientListByInstanceResponse`
- New struct `ManagedInstanceDtc`
- New struct `ManagedInstanceDtcListResult`
- New struct `ManagedInstanceDtcProperties`
- New struct `ManagedInstanceDtcSecuritySettings`
- New struct `ManagedInstanceDtcTransactionManagerCommunicationSettings`
- New struct `ManagedInstanceDtcsClient`
- New struct `ManagedInstanceDtcsClientBeginCreateOrUpdateOptions`
- New struct `ManagedInstanceDtcsClientCreateOrUpdateResponse`
- New struct `ManagedInstanceDtcsClientGetOptions`
- New struct `ManagedInstanceDtcsClientGetResponse`
- New struct `ManagedInstanceDtcsClientListByManagedInstanceOptions`
- New struct `ManagedInstanceDtcsClientListByManagedInstanceResponse`
- New struct `ManagedServerDNSAlias`
- New struct `ManagedServerDNSAliasAcquisition`
- New struct `ManagedServerDNSAliasCreation`
- New struct `ManagedServerDNSAliasListResult`
- New struct `ManagedServerDNSAliasProperties`
- New struct `ManagedServerDNSAliasesClient`
- New struct `ManagedServerDNSAliasesClientAcquireResponse`
- New struct `ManagedServerDNSAliasesClientBeginAcquireOptions`
- New struct `ManagedServerDNSAliasesClientBeginCreateOrUpdateOptions`
- New struct `ManagedServerDNSAliasesClientBeginDeleteOptions`
- New struct `ManagedServerDNSAliasesClientCreateOrUpdateResponse`
- New struct `ManagedServerDNSAliasesClientDeleteResponse`
- New struct `ManagedServerDNSAliasesClientGetOptions`
- New struct `ManagedServerDNSAliasesClientGetResponse`
- New struct `ManagedServerDNSAliasesClientListByManagedInstanceOptions`
- New struct `ManagedServerDNSAliasesClientListByManagedInstanceResponse`
- New struct `ReplicationLinksClientBeginDeleteOptions`
- New field `CurrentBackupType` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `DiffBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `CurrentRestoredSizeMB` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `FullBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `NumberOfFilesRestored` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `NumberOfFilesSkipped` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `Type` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `NumberOfFilesQueued` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `NumberOfFilesUnrestorable` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `CurrentRestorePlanSizeMB` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `LogBackupSets` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `NumberOfFilesRestoring` in struct `ManagedDatabaseRestoreDetailsProperties`
- New field `StorageContainerIdentity` in struct `ManagedDatabaseProperties`


## 1.0.0 (2022-06-02)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
Expand Down

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

6 changes: 3 additions & 3 deletions sdk/resourcemanager/sql/armsql/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/08894fa8d66cb44dc62a73f7a09530f905985fa3/specification/sql/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/08894fa8d66cb44dc62a73f7a09530f905985fa3/specification/sql/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/sql/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/sql/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.0.0
module-version: 2.0.0-beta.1
```

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

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

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

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

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

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

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

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

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

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

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

Loading

0 comments on commit 6550a59

Please sign in to comment.