Skip to content

Commit 41a309b

Browse files
author
SDKAuto
committed
CodeGen from PR 19425 in Azure/azure-rest-api-specs
Merge 58e507f2051c96202dce7a3313a81d23e9fd51d6 into c6b48ac6b32da8f18d9228a1f565880b02c5191d
1 parent 6d1dc1f commit 41a309b

File tree

106 files changed

+1255
-3372
lines changed

Some content is hidden

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

106 files changed

+1255
-3372
lines changed

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/CHANGELOG.md

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

3+
## 2.0.0-beta.1 (2022-06-13)
4+
### Breaking Changes
5+
6+
- Type of `AzureVMAppContainerProtectionContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
7+
- Type of `AzureWorkloadContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
8+
- Type of `IaaSVMContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
9+
- Type of `AzureSQLAGWorkloadContainerProtectionContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
10+
- Type of `DpmContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
11+
- Type of `AzureStorageContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
12+
- Type of `AzureVMAppContainerProtectableContainer.ProtectableContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
13+
- Type of `MabContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
14+
- Type of `AzureSQLContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
15+
- Type of `ProtectionContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
16+
- Type of `ProtectableContainer.ProtectableContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
17+
- Type of `AzureStorageProtectableContainer.ProtectableContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
18+
- Type of `AzureIaaSClassicComputeVMContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
19+
- Type of `GenericContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
20+
- Type of `AzureIaaSComputeVMContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
21+
- Type of `AzureBackupServerContainer.ContainerType` has been changed from `*ContainerType` to `*ProtectableContainerType`
22+
- Const `ContainerTypeMicrosoftClassicComputeVirtualMachines` has been removed
23+
- Const `ContainerTypeMicrosoftComputeVirtualMachines` has been removed
24+
- Const `ContainerTypeAzureWorkloadContainer` has been removed
25+
26+
### Features Added
27+
28+
- New const `TieringModeInvalid`
29+
- New const `RestorePointTypeSnapshotCopyOnlyFull`
30+
- New const `TieringModeTierRecommended`
31+
- New const `DataSourceTypeSAPHanaDBInstance`
32+
- New const `ProtectableContainerTypeIaasVMServiceContainer`
33+
- New const `PolicyTypeSnapshotFull`
34+
- New const `BackupTypeSnapshotCopyOnlyFull`
35+
- New const `ProtectableContainerTypeDPMContainer`
36+
- New const `ProtectableContainerTypeStorageContainer`
37+
- New const `ProtectableContainerTypeMicrosoftClassicComputeVirtualMachines`
38+
- New const `ContainerTypeHanaHSRContainer`
39+
- New const `BackupItemTypeSAPHanaDBInstance`
40+
- New const `ProtectableContainerTypeCluster`
41+
- New const `ProtectableContainerTypeAzureBackupServerContainer`
42+
- New const `ProtectableContainerTypeGenericContainer`
43+
- New const `ProtectableContainerTypeMicrosoftComputeVirtualMachines`
44+
- New const `RestorePointQueryTypeSnapshotFull`
45+
- New const `TieringModeTierAfter`
46+
- New const `TieringModeDoNotTier`
47+
- New const `ProtectableContainerTypeWindows`
48+
- New const `WorkloadTypeSAPHanaDBInstance`
49+
- New const `ProtectableContainerTypeUnknown`
50+
- New const `ProtectableContainerTypeMABContainer`
51+
- New const `ProtectableContainerTypeAzureSQLContainer`
52+
- New const `ProtectableContainerTypeVMAppContainer`
53+
- New const `RestorePointQueryTypeSnapshotCopyOnlyFull`
54+
- New const `ProtectableContainerTypeAzureWorkloadContainer`
55+
- New const `ProtectableContainerTypeSQLAGWorkLoadContainer`
56+
- New const `BackupTypeSnapshotFull`
57+
- New const `ProtectableContainerTypeInvalid`
58+
- New const `ProtectableContainerTypeIaasVMContainer`
59+
- New const `PolicyTypeSnapshotCopyOnlyFull`
60+
- New const `WorkloadItemTypeSAPHanaDBInstance`
61+
- New const `RestorePointTypeSnapshotFull`
62+
- New const `ProtectableContainerTypeVCenter`
63+
- New function `*AzureVMWorkloadSAPHanaHSR.GetAzureVMWorkloadProtectableItem() *AzureVMWorkloadProtectableItem`
64+
- New function `*AzureVMWorkloadSAPHanaDBInstance.GetWorkloadProtectableItem() *WorkloadProtectableItem`
65+
- New function `*AzureVMWorkloadSAPHanaDBInstanceProtectedItem.GetAzureVMWorkloadProtectedItem() *AzureVMWorkloadProtectedItem`
66+
- New function `*AzureVMWorkloadSAPHanaHSR.GetWorkloadProtectableItem() *WorkloadProtectableItem`
67+
- New function `*AzureVMWorkloadSAPHanaDBInstance.GetAzureVMWorkloadProtectableItem() *AzureVMWorkloadProtectableItem`
68+
- New function `PossibleProtectableContainerTypeValues() []ProtectableContainerType`
69+
- New function `PossibleTieringModeValues() []TieringMode`
70+
- New function `*AzureVMWorkloadSAPHanaDBInstanceProtectedItem.GetProtectedItem() *ProtectedItem`
71+
- New struct `AzureVMWorkloadSAPHanaDBInstance`
72+
- New struct `AzureVMWorkloadSAPHanaDBInstanceProtectedItem`
73+
- New struct `AzureVMWorkloadSAPHanaHSR`
74+
- New struct `TieringPolicy`
75+
- New field `TieringPolicy` in struct `SubProtectionPolicy`
76+
- New field `TieringPolicy` in struct `AzureIaaSVMProtectionPolicy`
77+
- New field `OldestRecoveryPointInArchive` in struct `AzureVMWorkloadProtectedItemExtendedInfo`
78+
- New field `OldestRecoveryPointInVault` in struct `AzureVMWorkloadProtectedItemExtendedInfo`
79+
- New field `NewestRecoveryPointInArchive` in struct `AzureVMWorkloadProtectedItemExtendedInfo`
80+
- New field `OldestRecoveryPointInVault` in struct `AzureIaaSVMProtectedItemExtendedInfo`
81+
- New field `NewestRecoveryPointInArchive` in struct `AzureIaaSVMProtectedItemExtendedInfo`
82+
- New field `OldestRecoveryPointInArchive` in struct `AzureIaaSVMProtectedItemExtendedInfo`
83+
84+
385
## 1.0.0 (2022-05-17)
486

587
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup` 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.

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/recoveryservicesbackup/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/recoveryservicesbackup/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0-beta.1
1212
```
Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
1-
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup
1+
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/v2
22

33
go 1.18
44

5-
require (
6-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
7-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0
8-
)
5+
require github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
96

107
require (
118
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect
12-
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
13-
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
14-
github.com/google/uuid v1.1.1 // indirect
15-
github.com/kylelemons/godebug v1.1.0 // indirect
16-
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
17-
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 // indirect
189
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
19-
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
2010
golang.org/x/text v0.3.7 // indirect
2111
)
Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,12 @@
11
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 h1:sVPhtT2qjO86rTUaWMr4WoES4TkjGnzcioXcnHV9s5k=
22
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U=
3-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0=
4-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM=
53
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY=
64
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w=
7-
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c=
8-
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4=
9-
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
10-
github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c=
11-
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
12-
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
13-
github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU=
14-
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
15-
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
16-
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
17-
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
18-
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
19-
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI=
20-
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ=
5+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
216
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
227
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
23-
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 h1:Tgea0cVUD0ivh5ADBX4WwuI12DUd2to3nCYe2eayMIw=
24-
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
258
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 h1:HVyaeDAYux4pnY+D/SiwmLOR36ewZ4iGQIIrtnuCjFA=
269
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
27-
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
28-
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM=
29-
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
3010
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
3111
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
32-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
33-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
12+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/ze_generated_example_backupengines_client_test.go

Lines changed: 0 additions & 70 deletions
This file was deleted.

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/ze_generated_example_backupjobs_client_test.go

Lines changed: 0 additions & 45 deletions
This file was deleted.

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/ze_generated_example_backupoperationresults_client_test.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup/ze_generated_example_backupoperationstatuses_client_test.go

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)