Skip to content

Commit a0962cd

Browse files
author
SDKAuto
committed
CodeGen from PR 34044 in Azure/azure-rest-api-specs
Merge f2255e22836251907bd1f7f2c28ef40c08f0b259 into dce18ad6d9dbc9e8c9912339f2c542f168ac4cb0
1 parent 7d7fece commit a0962cd

File tree

107 files changed

+10082
-11863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+10082
-11863
lines changed

sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery/CHANGELOG.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,118 @@
11
# Release History
22

3+
## 2.4.0 (2025-04-18)
4+
### Features Added
5+
6+
- New value `DiskAccountTypePremiumV2LRS`, `DiskAccountTypePremiumZRS`, `DiskAccountTypeStandardSSDZRS`, `DiskAccountTypeUltraSSDLRS` added to enum type `DiskAccountType`
7+
- New enum type `ClusterRecoveryPointType` with values `ClusterRecoveryPointTypeApplicationConsistent`, `ClusterRecoveryPointTypeCrashConsistent`, `ClusterRecoveryPointTypeNotSpecified`
8+
- New enum type `DiskState` with values `DiskStateInitialReplicationFailed`, `DiskStateInitialReplicationPending`, `DiskStateProtected`, `DiskStateUnavailable`
9+
- New enum type `FailoverDirection` with values `FailoverDirectionPrimaryToRecovery`, `FailoverDirectionRecoveryToPrimary`
10+
- New enum type `LinuxLicenseType` with values `LinuxLicenseTypeLinuxServer`, `LinuxLicenseTypeNoLicenseType`, `LinuxLicenseTypeNotSpecified`
11+
- New enum type `SecurityConfiguration` with values `SecurityConfigurationDisabled`, `SecurityConfigurationEnabled`
12+
- New function `*A2AApplyClusterRecoveryPointInput.GetApplyClusterRecoveryPointProviderSpecificInput() *ApplyClusterRecoveryPointProviderSpecificInput`
13+
- New function `*A2AClusterRecoveryPointDetails.GetClusterProviderSpecificRecoveryPointDetails() *ClusterProviderSpecificRecoveryPointDetails`
14+
- New function `*A2AClusterTestFailoverInput.GetClusterTestFailoverProviderSpecificInput() *ClusterTestFailoverProviderSpecificInput`
15+
- New function `*A2AClusterUnplannedFailoverInput.GetClusterUnplannedFailoverProviderSpecificInput() *ClusterUnplannedFailoverProviderSpecificInput`
16+
- New function `*A2AReplicationProtectionClusterDetails.GetReplicationClusterProviderSpecificSettings() *ReplicationClusterProviderSpecificSettings`
17+
- New function `*A2ASharedDiskReplicationDetails.GetSharedDiskReplicationProviderSpecificSettings() *SharedDiskReplicationProviderSpecificSettings`
18+
- New function `*A2ASwitchClusterProtectionInput.GetSwitchClusterProtectionProviderSpecificInput() *SwitchClusterProtectionProviderSpecificInput`
19+
- New function `*ApplyClusterRecoveryPointProviderSpecificInput.GetApplyClusterRecoveryPointProviderSpecificInput() *ApplyClusterRecoveryPointProviderSpecificInput`
20+
- New function `*ClientFactory.NewClusterRecoveryPointClient() *ClusterRecoveryPointClient`
21+
- New function `*ClientFactory.NewClusterRecoveryPointsClient() *ClusterRecoveryPointsClient`
22+
- New function `*ClientFactory.NewReplicationProtectionClustersClient() *ReplicationProtectionClustersClient`
23+
- New function `*ClusterFailoverJobDetails.GetJobDetails() *JobDetails`
24+
- New function `*ClusterProviderSpecificRecoveryPointDetails.GetClusterProviderSpecificRecoveryPointDetails() *ClusterProviderSpecificRecoveryPointDetails`
25+
- New function `NewClusterRecoveryPointClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClusterRecoveryPointClient, error)`
26+
- New function `*ClusterRecoveryPointClient.Get(context.Context, string, string, string, string, string, string, *ClusterRecoveryPointClientGetOptions) (ClusterRecoveryPointClientGetResponse, error)`
27+
- New function `NewClusterRecoveryPointsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClusterRecoveryPointsClient, error)`
28+
- New function `*ClusterRecoveryPointsClient.NewListByReplicationProtectionClusterPager(string, string, string, string, string, *ClusterRecoveryPointsClientListByReplicationProtectionClusterOptions) *runtime.Pager[ClusterRecoveryPointsClientListByReplicationProtectionClusterResponse]`
29+
- New function `*ClusterSwitchProtectionJobDetails.GetJobDetails() *JobDetails`
30+
- New function `*ClusterTestFailoverJobDetails.GetJobDetails() *JobDetails`
31+
- New function `*ClusterTestFailoverProviderSpecificInput.GetClusterTestFailoverProviderSpecificInput() *ClusterTestFailoverProviderSpecificInput`
32+
- New function `*ClusterUnplannedFailoverProviderSpecificInput.GetClusterUnplannedFailoverProviderSpecificInput() *ClusterUnplannedFailoverProviderSpecificInput`
33+
- New function `*InMageRcmAddDisksInput.GetAddDisksProviderSpecificInput() *AddDisksProviderSpecificInput`
34+
- New function `*ReplicationClusterProviderSpecificSettings.GetReplicationClusterProviderSpecificSettings() *ReplicationClusterProviderSpecificSettings`
35+
- New function `NewReplicationProtectionClustersClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ReplicationProtectionClustersClient, error)`
36+
- New function `*ReplicationProtectionClustersClient.BeginApplyRecoveryPoint(context.Context, string, string, string, string, string, ApplyClusterRecoveryPointInput, *ReplicationProtectionClustersClientBeginApplyRecoveryPointOptions) (*runtime.Poller[ReplicationProtectionClustersClientApplyRecoveryPointResponse], error)`
37+
- New function `*ReplicationProtectionClustersClient.BeginCreate(context.Context, string, string, string, string, string, ReplicationProtectionCluster, *ReplicationProtectionClustersClientBeginCreateOptions) (*runtime.Poller[ReplicationProtectionClustersClientCreateResponse], error)`
38+
- New function `*ReplicationProtectionClustersClient.BeginFailoverCommit(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginFailoverCommitOptions) (*runtime.Poller[ReplicationProtectionClustersClientFailoverCommitResponse], error)`
39+
- New function `*ReplicationProtectionClustersClient.Get(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientGetOptions) (ReplicationProtectionClustersClientGetResponse, error)`
40+
- New function `*ReplicationProtectionClustersClient.GetOperationResults(context.Context, string, string, string, string, string, string, *ReplicationProtectionClustersClientGetOperationResultsOptions) (ReplicationProtectionClustersClientGetOperationResultsResponse, error)`
41+
- New function `*ReplicationProtectionClustersClient.NewListByReplicationProtectionContainersPager(string, string, string, string, *ReplicationProtectionClustersClientListByReplicationProtectionContainersOptions) *runtime.Pager[ReplicationProtectionClustersClientListByReplicationProtectionContainersResponse]`
42+
- New function `*ReplicationProtectionClustersClient.NewListPager(string, string, *ReplicationProtectionClustersClientListOptions) *runtime.Pager[ReplicationProtectionClustersClientListResponse]`
43+
- New function `*ReplicationProtectionClustersClient.BeginPurge(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginPurgeOptions) (*runtime.Poller[ReplicationProtectionClustersClientPurgeResponse], error)`
44+
- New function `*ReplicationProtectionClustersClient.BeginRepairReplication(context.Context, string, string, string, string, string, *ReplicationProtectionClustersClientBeginRepairReplicationOptions) (*runtime.Poller[ReplicationProtectionClustersClientRepairReplicationResponse], error)`
45+
- New function `*ReplicationProtectionClustersClient.BeginTestFailover(context.Context, string, string, string, string, string, ClusterTestFailoverInput, *ReplicationProtectionClustersClientBeginTestFailoverOptions) (*runtime.Poller[ReplicationProtectionClustersClientTestFailoverResponse], error)`
46+
- New function `*ReplicationProtectionClustersClient.BeginTestFailoverCleanup(context.Context, string, string, string, string, string, ClusterTestFailoverCleanupInput, *ReplicationProtectionClustersClientBeginTestFailoverCleanupOptions) (*runtime.Poller[ReplicationProtectionClustersClientTestFailoverCleanupResponse], error)`
47+
- New function `*ReplicationProtectionClustersClient.BeginUnplannedFailover(context.Context, string, string, string, string, string, ClusterUnplannedFailoverInput, *ReplicationProtectionClustersClientBeginUnplannedFailoverOptions) (*runtime.Poller[ReplicationProtectionClustersClientUnplannedFailoverResponse], error)`
48+
- New function `*ReplicationProtectionContainersClient.BeginSwitchClusterProtection(context.Context, string, string, string, string, SwitchClusterProtectionInput, *ReplicationProtectionContainersClientBeginSwitchClusterProtectionOptions) (*runtime.Poller[ReplicationProtectionContainersClientSwitchClusterProtectionResponse], error)`
49+
- New function `*SharedDiskReplicationProviderSpecificSettings.GetSharedDiskReplicationProviderSpecificSettings() *SharedDiskReplicationProviderSpecificSettings`
50+
- New function `*SwitchClusterProtectionProviderSpecificInput.GetSwitchClusterProtectionProviderSpecificInput() *SwitchClusterProtectionProviderSpecificInput`
51+
- New struct `A2AApplyClusterRecoveryPointInput`
52+
- New struct `A2AClusterRecoveryPointDetails`
53+
- New struct `A2AClusterTestFailoverInput`
54+
- New struct `A2AClusterUnplannedFailoverInput`
55+
- New struct `A2AProtectedItemDetail`
56+
- New struct `A2AReplicationProtectionClusterDetails`
57+
- New struct `A2ASharedDiskIRErrorDetails`
58+
- New struct `A2ASharedDiskReplicationDetails`
59+
- New struct `A2ASwitchClusterProtectionInput`
60+
- New struct `ApplyClusterRecoveryPointInput`
61+
- New struct `ApplyClusterRecoveryPointInputProperties`
62+
- New struct `ClusterFailoverJobDetails`
63+
- New struct `ClusterRecoveryPoint`
64+
- New struct `ClusterRecoveryPointCollection`
65+
- New struct `ClusterRecoveryPointProperties`
66+
- New struct `ClusterSwitchProtectionJobDetails`
67+
- New struct `ClusterTestFailoverCleanupInput`
68+
- New struct `ClusterTestFailoverCleanupInputProperties`
69+
- New struct `ClusterTestFailoverInput`
70+
- New struct `ClusterTestFailoverInputProperties`
71+
- New struct `ClusterTestFailoverJobDetails`
72+
- New struct `ClusterUnplannedFailoverInput`
73+
- New struct `ClusterUnplannedFailoverInputProperties`
74+
- New struct `InMageRcmAddDisksInput`
75+
- New struct `InMageRcmUnProtectedDiskDetails`
76+
- New struct `ManagedRunCommandScriptInput`
77+
- New struct `ProtectedClustersQueryParameter`
78+
- New struct `RegisteredClusterNodes`
79+
- New struct `ReplicationProtectionCluster`
80+
- New struct `ReplicationProtectionClusterCollection`
81+
- New struct `ReplicationProtectionClusterProperties`
82+
- New struct `SecurityProfileProperties`
83+
- New struct `SharedDiskReplicationItemProperties`
84+
- New struct `SwitchClusterProtectionInput`
85+
- New struct `SwitchClusterProtectionInputProperties`
86+
- New struct `UserCreatedResourceTag`
87+
- New field `ProtectionClusterID` in struct `A2AEnableProtectionInput`
88+
- New field `IsClusterInfraReady`, `ProtectionClusterID` in struct `A2AReplicationDetails`
89+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `HyperVReplicaAzureDiskInputDetails`
90+
- New field `LinuxLicenseType`, `TargetVMSecurityProfile`, `UserSelectedOSName` in struct `HyperVReplicaAzureEnableProtectionInput`
91+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `TargetDiskAccountType`, `ThroughputInMbps` in struct `HyperVReplicaAzureManagedDiskDetails`
92+
- New field `LinuxLicenseType`, `TargetVMSecurityProfile` in struct `HyperVReplicaAzureReplicationDetails`
93+
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `HyperVReplicaAzureUpdateReplicationProtectedItemInput`
94+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmDiskInput`
95+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmDisksDefaultInput`
96+
- New field `LinuxLicenseType`, `SQLServerLicenseType`, `SeedManagedDiskTags`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMSecurityProfile`, `TargetVMTags`, `UserSelectedOSName` in struct `InMageRcmEnableProtectionInput`
97+
- New field `TargetNicName` in struct `InMageRcmNicDetails`
98+
- New field `TargetNicName` in struct `InMageRcmNicInput`
99+
- New field `CustomTargetDiskName`, `DiskSizeInGB`, `DiskState`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `InMageRcmProtectedDiskDetails`
100+
- New field `LinuxLicenseType`, `OSName`, `SQLServerLicenseType`, `SeedManagedDiskTags`, `SupportedOSVersions`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMSecurityProfile`, `TargetVMTags`, `UnprotectedDisks` in struct `InMageRcmReplicationDetails`
101+
- New field `OSUpgradeVersion` in struct `InMageRcmTestFailoverInput`
102+
- New field `OSUpgradeVersion` in struct `InMageRcmUnplannedFailoverInput`
103+
- New field `LinuxLicenseType`, `SQLServerLicenseType`, `TargetManagedDiskTags`, `TargetNicTags`, `TargetVMTags`, `UserSelectedOSName` in struct `InMageRcmUpdateReplicationProtectedItemInput`
104+
- New field `UserSelectedOSName` in struct `OSDetails`
105+
- New field `DiskSizeInGB`, `Iops`, `ThroughputInMbps` in struct `UpdateDiskInput`
106+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `VMwareCbtDiskInput`
107+
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `VMwareCbtEnableMigrationInput`
108+
- New field `PostMigrationSteps` in struct `VMwareCbtMigrateInput`
109+
- New field `LinuxLicenseType` in struct `VMwareCbtMigrationDetails`
110+
- New field `DiskSizeInGB`, `Iops`, `SectorSizeInBytes`, `ThroughputInMbps` in struct `VMwareCbtProtectedDiskDetails`
111+
- New field `PostMigrationSteps` in struct `VMwareCbtTestMigrateInput`
112+
- New field `DiskSizeInGB`, `Iops`, `ThroughputInMbps` in struct `VMwareCbtUpdateDiskInput`
113+
- New field `LinuxLicenseType`, `UserSelectedOSName` in struct `VMwareCbtUpdateMigrationItemInput`
114+
115+
3116
## 2.3.0 (2024-02-23)
4117
### Features Added
5118

sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ clientFactory, err := armrecoveryservicessiterecovery.NewClientFactory(<subscrip
5555
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.
5656

5757
```go
58-
client := clientFactory.NewMigrationRecoveryPointsClient()
58+
client := clientFactory.NewClusterRecoveryPointClient()
5959
```
6060

6161
## Fakes

sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery/autorest.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/recoveryservicessiterecovery/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/recoveryservicessiterecovery/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 2.3.0
12-
tag: package-2023-08
11+
module-version: 2.4.0
1312
```

sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery/client_factory.go

Lines changed: 24 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)