Skip to content

Commit

Permalink
CodeGen from PR 31514 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 88a4238c85cc3ae4a828de300b2c8f973cb0b6ce into b9d42131fa23babd959c491b44870a30ea9506cd
  • Loading branch information
SDKAuto committed Dec 3, 2024
1 parent 590fc96 commit 99897c2
Show file tree
Hide file tree
Showing 102 changed files with 8,472 additions and 10,958 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,115 @@
# Release History

## 2.4.0 (2024-12-03)
### Features Added

- New value `DiskAccountTypePremiumV2LRS`, `DiskAccountTypePremiumZRS`, `DiskAccountTypeStandardSSDZRS`, `DiskAccountTypeUltraSSDLRS` added to enum type `DiskAccountType`
- New enum type `ClusterRecoveryPointType` with values `ClusterRecoveryPointTypeApplicationConsistent`, `ClusterRecoveryPointTypeCrashConsistent`, `ClusterRecoveryPointTypeNotSpecified`
- New enum type `DiskState` with values `DiskStateInitialReplicationFailed`, `DiskStateInitialReplicationPending`, `DiskStateProtected`, `DiskStateUnavailable`
- New enum type `FailoverDirection` with values `FailoverDirectionPrimaryToRecovery`, `FailoverDirectionRecoveryToPrimary`
- New enum type `LinuxLicenseType` with values `LinuxLicenseTypeLinuxServer`, `LinuxLicenseTypeNoLicenseType`, `LinuxLicenseTypeNotSpecified`
- New enum type `SecurityConfiguration` with values `SecurityConfigurationDisabled`, `SecurityConfigurationEnabled`
- New function `*A2AApplyClusterRecoveryPointInput.GetApplyClusterRecoveryPointProviderSpecificInput() *ApplyClusterRecoveryPointProviderSpecificInput`
- New function `*A2AClusterRecoveryPointDetails.GetClusterProviderSpecificRecoveryPointDetails() *ClusterProviderSpecificRecoveryPointDetails`
- New function `*A2AClusterTestFailoverInput.GetClusterTestFailoverProviderSpecificInput() *ClusterTestFailoverProviderSpecificInput`
- New function `*A2AClusterUnplannedFailoverInput.GetClusterUnplannedFailoverProviderSpecificInput() *ClusterUnplannedFailoverProviderSpecificInput`
- New function `*A2AReplicationProtectionClusterDetails.GetReplicationClusterProviderSpecificSettings() *ReplicationClusterProviderSpecificSettings`
- New function `*A2ASharedDiskReplicationDetails.GetSharedDiskReplicationProviderSpecificSettings() *SharedDiskReplicationProviderSpecificSettings`
- New function `*A2ASwitchClusterProtectionInput.GetSwitchClusterProtectionProviderSpecificInput() *SwitchClusterProtectionProviderSpecificInput`
- New function `*ApplyClusterRecoveryPointProviderSpecificInput.GetApplyClusterRecoveryPointProviderSpecificInput() *ApplyClusterRecoveryPointProviderSpecificInput`
- New function `*ClientFactory.NewClusterRecoveryPointClient() *ClusterRecoveryPointClient`
- New function `*ClientFactory.NewClusterRecoveryPointsClient() *ClusterRecoveryPointsClient`
- New function `*ClientFactory.NewReplicationProtectionClustersClient() *ReplicationProtectionClustersClient`
- New function `*ClusterFailoverJobDetails.GetJobDetails() *JobDetails`
- New function `*ClusterProviderSpecificRecoveryPointDetails.GetClusterProviderSpecificRecoveryPointDetails() *ClusterProviderSpecificRecoveryPointDetails`
- New function `NewClusterRecoveryPointClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClusterRecoveryPointClient, error)`
- New function `*ClusterRecoveryPointClient.Get(context.Context, string, string, string, string, string, string, *ClusterRecoveryPointClientGetOptions) (ClusterRecoveryPointClientGetResponse, error)`
- New function `NewClusterRecoveryPointsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClusterRecoveryPointsClient, error)`
- New function `*ClusterRecoveryPointsClient.NewListByReplicationProtectionClusterPager(string, string, string, string, string, *ClusterRecoveryPointsClientListByReplicationProtectionClusterOptions) *runtime.Pager[ClusterRecoveryPointsClientListByReplicationProtectionClusterResponse]`
- New function `*ClusterSwitchProtectionJobDetails.GetJobDetails() *JobDetails`
- New function `*ClusterTestFailoverJobDetails.GetJobDetails() *JobDetails`
- New function `*ClusterTestFailoverProviderSpecificInput.GetClusterTestFailoverProviderSpecificInput() *ClusterTestFailoverProviderSpecificInput`
- New function `*ClusterUnplannedFailoverProviderSpecificInput.GetClusterUnplannedFailoverProviderSpecificInput() *ClusterUnplannedFailoverProviderSpecificInput`
- New function `*InMageRcmAddDisksInput.GetAddDisksProviderSpecificInput() *AddDisksProviderSpecificInput`
- New function `*ReplicationClusterProviderSpecificSettings.GetReplicationClusterProviderSpecificSettings() *ReplicationClusterProviderSpecificSettings`
- New function `NewReplicationProtectionClustersClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ReplicationProtectionClustersClient, error)`
- New function `*ReplicationProtectionClustersClient.BeginApplyRecoveryPoint(context.Context, string, string, string, string, string, ApplyClusterRecoveryPointInput, *ReplicationProtectionClustersClientBeginApplyRecoveryPointOptions) (*runtime.Poller[ReplicationProtectionClustersClientApplyRecoveryPointResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginCreate(context.Context, string, string, string, string, string, ReplicationProtectionCluster, *ReplicationProtectionClustersClientBeginCreateOptions) (*runtime.Poller[ReplicationProtectionClustersClientCreateResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginFailoverCommit(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginFailoverCommitOptions) (*runtime.Poller[ReplicationProtectionClustersClientFailoverCommitResponse], error)`
- New function `*ReplicationProtectionClustersClient.Get(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientGetOptions) (ReplicationProtectionClustersClientGetResponse, error)`
- New function `*ReplicationProtectionClustersClient.GetOperationResults(context.Context, string, string, string, string, string, string, *ReplicationProtectionClustersClientGetOperationResultsOptions) (ReplicationProtectionClustersClientGetOperationResultsResponse, error)`
- New function `*ReplicationProtectionClustersClient.NewListByReplicationProtectionContainersPager(string, string, string, string, *ReplicationProtectionClustersClientListByReplicationProtectionContainersOptions) *runtime.Pager[ReplicationProtectionClustersClientListByReplicationProtectionContainersResponse]`
- New function `*ReplicationProtectionClustersClient.NewListPager(string, string, *ReplicationProtectionClustersClientListOptions) *runtime.Pager[ReplicationProtectionClustersClientListResponse]`
- New function `*ReplicationProtectionClustersClient.BeginPurge(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginPurgeOptions) (*runtime.Poller[ReplicationProtectionClustersClientPurgeResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginRepairReplication(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginRepairReplicationOptions) (*runtime.Poller[ReplicationProtectionClustersClientRepairReplicationResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginTestFailover(context.Context, string, string, string, string, string, ClusterTestFailoverInput, *ReplicationProtectionClustersClientBeginTestFailoverOptions) (*runtime.Poller[ReplicationProtectionClustersClientTestFailoverResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginTestFailoverCleanup(context.Context, string, string, string, string, string, ClusterTestFailoverCleanupInput, *ReplicationProtectionClustersClientBeginTestFailoverCleanupOptions) (*runtime.Poller[ReplicationProtectionClustersClientTestFailoverCleanupResponse], error)`
- New function `*ReplicationProtectionClustersClient.BeginUnplannedFailover(context.Context, string, string, string, string, string, ClusterUnplannedFailoverInput, *ReplicationProtectionClustersClientBeginUnplannedFailoverOptions) (*runtime.Poller[ReplicationProtectionClustersClientUnplannedFailoverResponse], error)`
- New function `*ReplicationProtectionContainersClient.BeginSwitchClusterProtection(context.Context, string, string, string, string, SwitchClusterProtectionInput, *ReplicationProtectionContainersClientBeginSwitchClusterProtectionOptions) (*runtime.Poller[ReplicationProtectionContainersClientSwitchClusterProtectionResponse], error)`
- New function `*SharedDiskReplicationProviderSpecificSettings.GetSharedDiskReplicationProviderSpecificSettings() *SharedDiskReplicationProviderSpecificSettings`
- New function `*SwitchClusterProtectionProviderSpecificInput.GetSwitchClusterProtectionProviderSpecificInput() *SwitchClusterProtectionProviderSpecificInput`
- New struct `A2AApplyClusterRecoveryPointInput`
- New struct `A2AClusterRecoveryPointDetails`
- New struct `A2AClusterTestFailoverInput`
- New struct `A2AClusterUnplannedFailoverInput`
- New struct `A2AProtectedItemDetail`
- New struct `A2AReplicationProtectionClusterDetails`
- New struct `A2ASharedDiskIRErrorDetails`
- New struct `A2ASharedDiskReplicationDetails`
- New struct `A2ASwitchClusterProtectionInput`
- New struct `ApplyClusterRecoveryPointInput`
- New struct `ApplyClusterRecoveryPointInputProperties`
- New struct `ClusterFailoverJobDetails`
- New struct `ClusterRecoveryPoint`
- New struct `ClusterRecoveryPointCollection`
- New struct `ClusterRecoveryPointProperties`
- New struct `ClusterSwitchProtectionJobDetails`
- New struct `ClusterTestFailoverCleanupInput`
- New struct `ClusterTestFailoverCleanupInputProperties`
- New struct `ClusterTestFailoverInput`
- New struct `ClusterTestFailoverInputProperties`
- New struct `ClusterTestFailoverJobDetails`
- New struct `ClusterUnplannedFailoverInput`
- New struct `ClusterUnplannedFailoverInputProperties`
- New struct `InMageRcmAddDisksInput`
- New struct `InMageRcmUnProtectedDiskDetails`
- New struct `ManagedRunCommandScriptInput`
- New struct `RegisteredClusterNodes`
- New struct `ReplicationProtectionCluster`
- New struct `ReplicationProtectionClusterCollection`
- New struct `ReplicationProtectionClusterProperties`
- New struct `SecurityProfileProperties`
- New struct `SharedDiskReplicationItemProperties`
- New struct `SwitchClusterProtectionInput`
- New struct `SwitchClusterProtectionInputProperties`
- New struct `UserCreatedResourceTag`
- New field `ProtectionClusterID` in struct `A2AEnableProtectionInput`
- New field `IsClusterInfraReady`, `ProtectionClusterID` in struct `A2AReplicationDetails`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `HyperVReplicaAzureDiskInputDetails`
- New field `LinuxLicenseType`, `TargetVMSecurityProfile`, `UserSelectedOSName` in struct `HyperVReplicaAzureEnableProtectionInput`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `TargetDiskAccountType`, `ThroughputInMbps` in struct `HyperVReplicaAzureManagedDiskDetails`
- New field `LinuxLicenseType`, `TargetVMSecurityProfile` in struct `HyperVReplicaAzureReplicationDetails`
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `HyperVReplicaAzureUpdateReplicationProtectedItemInput`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmDiskInput`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmDisksDefaultInput`
- New field `LinuxLicenseType`, `SQLServerLicenseType`, `SeedManagedDiskTags`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMSecurityProfile`, `TargetVMTags`, `UserSelectedOSName` in struct `InMageRcmEnableProtectionInput`
- New field `TargetNicName` in struct `InMageRcmNicDetails`
- New field `TargetNicName` in struct `InMageRcmNicInput`
- New field `CustomTargetDiskName`, `DiskSizeInGB`, `DiskState`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmProtectedDiskDetails`
- New field `LinuxLicenseType`, `OSName`, `SQLServerLicenseType`, `SeedManagedDiskTags`, `SupportedOSVersions`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMSecurityProfile`, `TargetVMTags`, `UnprotectedDisks` in struct `InMageRcmReplicationDetails`
- New field `OSUpgradeVersion` in struct `InMageRcmTestFailoverInput`
- New field `OSUpgradeVersion` in struct `InMageRcmUnplannedFailoverInput`
- New field `LinuxLicenseType`, `SQLServerLicenseType`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMTags`, `UserSelectedOSName` in struct `InMageRcmUpdateReplicationProtectedItemInput`
- New field `UserSelectedOSName` in struct `OSDetails`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `VMwareCbtDiskInput`
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `VMwareCbtEnableMigrationInput`
- New field `PostMigrationSteps` in struct `VMwareCbtMigrateInput`
- New field `LinuxLicenseType` in struct `VMwareCbtMigrationDetails`
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `VMwareCbtProtectedDiskDetails`
- New field `PostMigrationSteps` in struct `VMwareCbtTestMigrateInput`
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `VMwareCbtUpdateMigrationItemInput`


## 2.3.0 (2024-02-23)
### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ clientFactory, err := armrecoveryservicessiterecovery.NewClientFactory(<subscrip
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

```go
client := clientFactory.NewMigrationRecoveryPointsClient()
client := clientFactory.NewClusterRecoveryPointClient()
```

## Fakes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/recoveryservicessiterecovery/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/recoveryservicessiterecovery/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 2.3.0
tag: package-2023-08
module-version: 2.4.0
```

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

Loading

0 comments on commit 99897c2

Please sign in to comment.