Skip to content

Commit 52bab22

Browse files
authored
[Release] sdk/resourcemanager/compute/armcompute/2.0.0 generation from spec commit: cfe4dc8393d283e59cc6af4fceaf2c70eaee31a9 (Azure#18292)
1 parent 2dd9a8d commit 52bab22

File tree

74 files changed

+909
-438
lines changed

Some content is hidden

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

74 files changed

+909
-438
lines changed

sdk/resourcemanager/compute/armcompute/CHANGELOG.md

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

3+
## 2.0.0 (2022-06-02)
4+
### Breaking Changes
5+
6+
- Type of `GalleryProperties.ProvisioningState` has been changed from `*GalleryPropertiesProvisioningState` to `*GalleryProvisioningState`
7+
- Type of `GalleryImageVersionProperties.ProvisioningState` has been changed from `*GalleryImageVersionPropertiesProvisioningState` to `*GalleryProvisioningState`
8+
- Type of `GalleryImageProperties.ProvisioningState` has been changed from `*GalleryImagePropertiesProvisioningState` to `*GalleryProvisioningState`
9+
- Type of `GalleryApplicationVersionProperties.ProvisioningState` has been changed from `*GalleryApplicationVersionPropertiesProvisioningState` to `*GalleryProvisioningState`
10+
- Type of `VirtualMachineScaleSetIdentity.UserAssignedIdentities` has been changed from `map[string]*VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue` to `map[string]*UserAssignedIdentitiesValue`
11+
- Const `GalleryImagePropertiesProvisioningStateFailed` has been removed
12+
- Const `GalleryImagePropertiesProvisioningStateMigrating` has been removed
13+
- Const `GalleryImageVersionPropertiesProvisioningStateCreating` has been removed
14+
- Const `GalleryImageVersionPropertiesProvisioningStateMigrating` has been removed
15+
- Const `GalleryApplicationVersionPropertiesProvisioningStateFailed` has been removed
16+
- Const `GalleryPropertiesProvisioningStateMigrating` has been removed
17+
- Const `GalleryApplicationVersionPropertiesProvisioningStateDeleting` has been removed
18+
- Const `GalleryPropertiesProvisioningStateDeleting` has been removed
19+
- Const `GalleryApplicationVersionPropertiesProvisioningStateCreating` has been removed
20+
- Const `GalleryImageVersionPropertiesProvisioningStateSucceeded` has been removed
21+
- Const `GalleryImagePropertiesProvisioningStateCreating` has been removed
22+
- Const `GalleryImagePropertiesProvisioningStateUpdating` has been removed
23+
- Const `GalleryImageVersionPropertiesProvisioningStateDeleting` has been removed
24+
- Const `GalleryPropertiesProvisioningStateFailed` has been removed
25+
- Const `SharingProfileGroupTypesCommunity` has been removed
26+
- Const `GalleryApplicationVersionPropertiesProvisioningStateSucceeded` has been removed
27+
- Const `GalleryApplicationVersionPropertiesProvisioningStateMigrating` has been removed
28+
- Const `GalleryPropertiesProvisioningStateUpdating` has been removed
29+
- Const `GalleryImageVersionPropertiesProvisioningStateFailed` has been removed
30+
- Const `GalleryImagePropertiesProvisioningStateDeleting` has been removed
31+
- Const `GalleryImageVersionPropertiesProvisioningStateUpdating` has been removed
32+
- Const `GalleryPropertiesProvisioningStateCreating` has been removed
33+
- Const `GalleryApplicationVersionPropertiesProvisioningStateUpdating` has been removed
34+
- Const `GalleryImagePropertiesProvisioningStateSucceeded` has been removed
35+
- Const `GalleryPropertiesProvisioningStateSucceeded` has been removed
36+
- Function `PossibleGalleryPropertiesProvisioningStateValues` has been removed
37+
- Function `PossibleGalleryImageVersionPropertiesProvisioningStateValues` has been removed
38+
- Function `PossibleGalleryImagePropertiesProvisioningStateValues` has been removed
39+
- Function `PossibleGalleryApplicationVersionPropertiesProvisioningStateValues` has been removed
40+
- Struct `VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue` has been removed
41+
42+
### Features Added
43+
44+
- New const `GallerySharingPermissionTypesCommunity`
45+
- New const `GalleryProvisioningStateUpdating`
46+
- New const `SharedGalleryHostCachingReadOnly`
47+
- New const `SharedGalleryHostCachingNone`
48+
- New const `GalleryProvisioningStateSucceeded`
49+
- New const `GalleryProvisioningStateFailed`
50+
- New const `SharedGalleryHostCachingReadWrite`
51+
- New const `GalleryProvisioningStateCreating`
52+
- New const `DiskEncryptionSetIdentityTypeUserAssigned`
53+
- New const `GalleryProvisioningStateMigrating`
54+
- New const `DiskEncryptionSetIdentityTypeSystemAssignedUserAssigned`
55+
- New const `CopyCompletionErrorReasonCopySourceNotFound`
56+
- New const `GalleryProvisioningStateDeleting`
57+
- New const `DiskStorageAccountTypesPremiumV2LRS`
58+
- New function `PossibleCopyCompletionErrorReasonValues() []CopyCompletionErrorReason`
59+
- New function `PossibleSharedGalleryHostCachingValues() []SharedGalleryHostCaching`
60+
- New function `PossibleGalleryProvisioningStateValues() []GalleryProvisioningState`
61+
- New function `EncryptionSetIdentity.MarshalJSON() ([]byte, error)`
62+
- New function `*CommunityGalleryImagesClient.NewListPager(string, string, *CommunityGalleryImagesClientListOptions) *runtime.Pager[CommunityGalleryImagesClientListResponse]`
63+
- New function `*CommunityGalleryImageVersionsClient.NewListPager(string, string, string, *CommunityGalleryImageVersionsClientListOptions) *runtime.Pager[CommunityGalleryImageVersionsClientListResponse]`
64+
- New struct `CommunityGalleryImageList`
65+
- New struct `CommunityGalleryImageVersionList`
66+
- New struct `CommunityGalleryImageVersionsClientListOptions`
67+
- New struct `CommunityGalleryImageVersionsClientListResponse`
68+
- New struct `CommunityGalleryImagesClientListOptions`
69+
- New struct `CommunityGalleryImagesClientListResponse`
70+
- New struct `CopyCompletionError`
71+
- New struct `SharedGalleryDataDiskImage`
72+
- New struct `SharedGalleryDiskImage`
73+
- New struct `SharedGalleryImageVersionStorageProfile`
74+
- New struct `SharedGalleryOSDiskImage`
75+
- New struct `UserArtifactSettings`
76+
- New field `SharedGalleryImageID` in struct `ImageDiskReference`
77+
- New field `CommunityGalleryImageID` in struct `ImageDiskReference`
78+
- New field `AdvancedSettings` in struct `GalleryApplicationVersionPublishingProfile`
79+
- New field `Settings` in struct `GalleryApplicationVersionPublishingProfile`
80+
- New field `CopyCompletionError` in struct `SnapshotProperties`
81+
- New field `ExcludeFromLatest` in struct `SharedGalleryImageVersionProperties`
82+
- New field `StorageProfile` in struct `SharedGalleryImageVersionProperties`
83+
- New field `ExcludeFromLatest` in struct `CommunityGalleryImageVersionProperties`
84+
- New field `StorageProfile` in struct `CommunityGalleryImageVersionProperties`
85+
- New field `Architecture` in struct `SharedGalleryImageProperties`
86+
- New field `UserAssignedIdentities` in struct `EncryptionSetIdentity`
87+
- New field `Eula` in struct `CommunityGalleryImageProperties`
88+
- New field `PrivacyStatementURI` in struct `CommunityGalleryImageProperties`
89+
- New field `Architecture` in struct `CommunityGalleryImageProperties`
90+
- New field `FederatedClientID` in struct `DiskEncryptionSetUpdateProperties`
91+
- New field `FederatedClientID` in struct `EncryptionSetProperties`
92+
- New field `SecurityProfile` in struct `DiskRestorePointProperties`
93+
94+
395
## 1.0.0 (2022-05-16)
496

597
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute` 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/compute/armcompute/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/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/compute/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/compute/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/cfe4dc8393d283e59cc6af4fceaf2c70eaee31a9/specification/compute/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/cfe4dc8393d283e59cc6af4fceaf2c70eaee31a9/specification/compute/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0
1212
```

sdk/resourcemanager/compute/armcompute/go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
1+
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v2
22

33
go 1.18
44

55
require (
66
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
77
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0
8+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0
89
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0
910
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.0.0
1011
github.com/stretchr/testify v1.7.0

sdk/resourcemanager/compute/armcompute/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdE
44
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM=
55
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY=
66
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w=
7+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0 h1:/Di3vB4sNeQ+7A8efjUVENvyB945Wruvstucqp7ZArg=
8+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0/go.mod h1:gM3K25LQlsET3QR+4V74zxCsFAy0r6xMNN9n80SZn+4=
79
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0 h1:lMW1lD/17LUA5z1XTURo7LcVG2ICBPlyMHjIUrcFZNQ=
810
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0/go.mod h1:ceIuwmxDWptoW3eCqSXlnPsZFKh4X+R38dWPv7GS9Vs=
911
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.0.0 h1:nBy98uKOIfun5z6wx6jwWLrULcM0+cjBalBFZlEZ7CA=

sdk/resourcemanager/compute/armcompute/ze_generated_example_availabilitysets_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/compute/armcompute/ze_generated_example_capacityreservationgroups_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/compute/armcompute/ze_generated_example_capacityreservations_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/compute/armcompute/ze_generated_example_cloudserviceoperatingsystems_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/compute/armcompute/ze_generated_example_cloudserviceroleinstances_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/compute/armcompute/ze_generated_example_cloudserviceroles_client_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)