Skip to content

Commit 4dd848f

Browse files
author
SDKAuto
committed
CodeGen from PR 18641 in Azure/azure-rest-api-specs
Merge e9dca46cf46b9bfe061f8bf009e419c72104d852 into a0ea00d6f2a385a23212211ccaf6eb4a1c3eae7b
1 parent d2427c4 commit 4dd848f

18 files changed

+1172
-1684
lines changed

sdk/resourcemanager/azurestackhci/armazurestackhci/CHANGELOG.md

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

3+
## 0.3.0 (2022-04-11)
4+
### Breaking Changes
5+
6+
- Function `NewArcSettingsClient` return value(s) have been changed from `(*ArcSettingsClient)` to `(*ArcSettingsClient, error)`
7+
- Function `*ClustersClient.ListBySubscription` return value(s) have been changed from `(*ClustersClientListBySubscriptionPager)` to `(*runtime.Pager[ClustersClientListBySubscriptionResponse])`
8+
- Function `*ExtensionsClient.ListByArcSetting` return value(s) have been changed from `(*ExtensionsClientListByArcSettingPager)` to `(*runtime.Pager[ExtensionsClientListByArcSettingResponse])`
9+
- Function `*ClustersClient.ListByResourceGroup` return value(s) have been changed from `(*ClustersClientListByResourceGroupPager)` to `(*runtime.Pager[ClustersClientListByResourceGroupResponse])`
10+
- Function `NewExtensionsClient` return value(s) have been changed from `(*ExtensionsClient)` to `(*ExtensionsClient, error)`
11+
- Function `*ArcSettingsClient.ListByCluster` return value(s) have been changed from `(*ArcSettingsClientListByClusterPager)` to `(*runtime.Pager[ArcSettingsClientListByClusterResponse])`
12+
- Function `*ExtensionsClient.BeginUpdate` return value(s) have been changed from `(ExtensionsClientUpdatePollerResponse, error)` to `(*armruntime.Poller[ExtensionsClientUpdateResponse], error)`
13+
- Function `*ArcSettingsClient.BeginDelete` return value(s) have been changed from `(ArcSettingsClientDeletePollerResponse, error)` to `(*armruntime.Poller[ArcSettingsClientDeleteResponse], error)`
14+
- Function `*ExtensionsClient.BeginCreate` return value(s) have been changed from `(ExtensionsClientCreatePollerResponse, error)` to `(*armruntime.Poller[ExtensionsClientCreateResponse], error)`
15+
- Function `NewOperationsClient` return value(s) have been changed from `(*OperationsClient)` to `(*OperationsClient, error)`
16+
- Function `NewClustersClient` return value(s) have been changed from `(*ClustersClient)` to `(*ClustersClient, error)`
17+
- Function `*ExtensionsClient.BeginDelete` return value(s) have been changed from `(ExtensionsClientDeletePollerResponse, error)` to `(*armruntime.Poller[ExtensionsClientDeleteResponse], error)`
18+
- Type of `ErrorAdditionalInfo.Info` has been changed from `map[string]interface{}` to `interface{}`
19+
- Type of `ExtensionParameters.ProtectedSettings` has been changed from `map[string]interface{}` to `interface{}`
20+
- Type of `ExtensionParameters.Settings` has been changed from `map[string]interface{}` to `interface{}`
21+
- Function `*ExtensionsClientUpdatePoller.FinalResponse` has been removed
22+
- Function `CreatedByType.ToPtr` has been removed
23+
- Function `*ArcSettingsClientDeletePollerResponse.Resume` has been removed
24+
- Function `ExtensionsClientCreatePollerResponse.PollUntilDone` has been removed
25+
- Function `*ExtensionsClientCreatePollerResponse.Resume` has been removed
26+
- Function `NodeArcState.ToPtr` has been removed
27+
- Function `*ClustersClientListBySubscriptionPager.NextPage` has been removed
28+
- Function `*ExtensionsClientListByArcSettingPager.NextPage` has been removed
29+
- Function `*ClustersClientListBySubscriptionPager.PageResponse` has been removed
30+
- Function `*ExtensionsClientDeletePoller.FinalResponse` has been removed
31+
- Function `*ExtensionsClientListByArcSettingPager.PageResponse` has been removed
32+
- Function `*ExtensionsClientCreatePoller.Done` has been removed
33+
- Function `*ExtensionsClientDeletePoller.Poll` has been removed
34+
- Function `*ArcSettingsClientListByClusterPager.Err` has been removed
35+
- Function `WindowsServerSubscription.ToPtr` has been removed
36+
- Function `*ArcSettingsClientListByClusterPager.PageResponse` has been removed
37+
- Function `ProvisioningState.ToPtr` has been removed
38+
- Function `*ExtensionsClientCreatePoller.ResumeToken` has been removed
39+
- Function `*ClustersClientListBySubscriptionPager.Err` has been removed
40+
- Function `ArcSettingsClientDeletePollerResponse.PollUntilDone` has been removed
41+
- Function `ActionType.ToPtr` has been removed
42+
- Function `*ExtensionsClientDeletePoller.Done` has been removed
43+
- Function `*ArcSettingsClientDeletePoller.Poll` has been removed
44+
- Function `*ExtensionsClientUpdatePoller.Poll` has been removed
45+
- Function `*ArcSettingsClientDeletePoller.FinalResponse` has been removed
46+
- Function `*ExtensionsClientListByArcSettingPager.Err` has been removed
47+
- Function `*ExtensionsClientUpdatePoller.Done` has been removed
48+
- Function `*ClustersClientListByResourceGroupPager.NextPage` has been removed
49+
- Function `*ExtensionsClientDeletePollerResponse.Resume` has been removed
50+
- Function `*ExtensionsClientCreatePoller.FinalResponse` has been removed
51+
- Function `*ExtensionsClientUpdatePollerResponse.Resume` has been removed
52+
- Function `*ArcSettingsClientDeletePoller.ResumeToken` has been removed
53+
- Function `*ClustersClientListByResourceGroupPager.PageResponse` has been removed
54+
- Function `NodeExtensionState.ToPtr` has been removed
55+
- Function `ExtensionsClientUpdatePollerResponse.PollUntilDone` has been removed
56+
- Function `ExtensionAggregateState.ToPtr` has been removed
57+
- Function `*ExtensionsClientDeletePoller.ResumeToken` has been removed
58+
- Function `ArcSettingAggregateState.ToPtr` has been removed
59+
- Function `ExtensionsClientDeletePollerResponse.PollUntilDone` has been removed
60+
- Function `*ArcSettingsClientDeletePoller.Done` has been removed
61+
- Function `*ExtensionsClientCreatePoller.Poll` has been removed
62+
- Function `DiagnosticLevel.ToPtr` has been removed
63+
- Function `*ArcSettingsClientListByClusterPager.NextPage` has been removed
64+
- Function `*ExtensionsClientUpdatePoller.ResumeToken` has been removed
65+
- Function `*ClustersClientListByResourceGroupPager.Err` has been removed
66+
- Function `Status.ToPtr` has been removed
67+
- Function `Origin.ToPtr` has been removed
68+
- Function `ImdsAttestation.ToPtr` has been removed
69+
- Struct `ArcSettingsClientCreateResult` has been removed
70+
- Struct `ArcSettingsClientDeletePoller` has been removed
71+
- Struct `ArcSettingsClientDeletePollerResponse` has been removed
72+
- Struct `ArcSettingsClientGetResult` has been removed
73+
- Struct `ArcSettingsClientListByClusterPager` has been removed
74+
- Struct `ArcSettingsClientListByClusterResult` has been removed
75+
- Struct `ClustersClientCreateResult` has been removed
76+
- Struct `ClustersClientGetResult` has been removed
77+
- Struct `ClustersClientListByResourceGroupPager` has been removed
78+
- Struct `ClustersClientListByResourceGroupResult` has been removed
79+
- Struct `ClustersClientListBySubscriptionPager` has been removed
80+
- Struct `ClustersClientListBySubscriptionResult` has been removed
81+
- Struct `ClustersClientUpdateResult` has been removed
82+
- Struct `ExtensionsClientCreatePoller` has been removed
83+
- Struct `ExtensionsClientCreatePollerResponse` has been removed
84+
- Struct `ExtensionsClientCreateResult` has been removed
85+
- Struct `ExtensionsClientDeletePoller` has been removed
86+
- Struct `ExtensionsClientDeletePollerResponse` has been removed
87+
- Struct `ExtensionsClientGetResult` has been removed
88+
- Struct `ExtensionsClientListByArcSettingPager` has been removed
89+
- Struct `ExtensionsClientListByArcSettingResult` has been removed
90+
- Struct `ExtensionsClientUpdatePoller` has been removed
91+
- Struct `ExtensionsClientUpdatePollerResponse` has been removed
92+
- Struct `ExtensionsClientUpdateResult` has been removed
93+
- Struct `OperationsClientListResult` has been removed
94+
- Field `OperationsClientListResult` of struct `OperationsClientListResponse` has been removed
95+
- Field `RawResponse` of struct `OperationsClientListResponse` has been removed
96+
- Field `ClustersClientUpdateResult` of struct `ClustersClientUpdateResponse` has been removed
97+
- Field `RawResponse` of struct `ClustersClientUpdateResponse` has been removed
98+
- Field `RawResponse` of struct `ArcSettingsClientDeleteResponse` has been removed
99+
- Field `ClustersClientCreateResult` of struct `ClustersClientCreateResponse` has been removed
100+
- Field `RawResponse` of struct `ClustersClientCreateResponse` has been removed
101+
- Field `ArcSettingsClientListByClusterResult` of struct `ArcSettingsClientListByClusterResponse` has been removed
102+
- Field `RawResponse` of struct `ArcSettingsClientListByClusterResponse` has been removed
103+
- Field `ExtensionsClientGetResult` of struct `ExtensionsClientGetResponse` has been removed
104+
- Field `RawResponse` of struct `ExtensionsClientGetResponse` has been removed
105+
- Field `RawResponse` of struct `ExtensionsClientDeleteResponse` has been removed
106+
- Field `ArcSettingsClientCreateResult` of struct `ArcSettingsClientCreateResponse` has been removed
107+
- Field `RawResponse` of struct `ArcSettingsClientCreateResponse` has been removed
108+
- Field `ExtensionsClientListByArcSettingResult` of struct `ExtensionsClientListByArcSettingResponse` has been removed
109+
- Field `RawResponse` of struct `ExtensionsClientListByArcSettingResponse` has been removed
110+
- Field `RawResponse` of struct `ClustersClientDeleteResponse` has been removed
111+
- Field `ExtensionsClientCreateResult` of struct `ExtensionsClientCreateResponse` has been removed
112+
- Field `RawResponse` of struct `ExtensionsClientCreateResponse` has been removed
113+
- Field `ClustersClientGetResult` of struct `ClustersClientGetResponse` has been removed
114+
- Field `RawResponse` of struct `ClustersClientGetResponse` has been removed
115+
- Field `ExtensionsClientUpdateResult` of struct `ExtensionsClientUpdateResponse` has been removed
116+
- Field `RawResponse` of struct `ExtensionsClientUpdateResponse` has been removed
117+
- Field `ClustersClientListByResourceGroupResult` of struct `ClustersClientListByResourceGroupResponse` has been removed
118+
- Field `RawResponse` of struct `ClustersClientListByResourceGroupResponse` has been removed
119+
- Field `ArcSettingsClientGetResult` of struct `ArcSettingsClientGetResponse` has been removed
120+
- Field `RawResponse` of struct `ArcSettingsClientGetResponse` has been removed
121+
- Field `ClustersClientListBySubscriptionResult` of struct `ClustersClientListBySubscriptionResponse` has been removed
122+
- Field `RawResponse` of struct `ClustersClientListBySubscriptionResponse` has been removed
123+
124+
### Features Added
125+
126+
- New function `*ArcSettingsClient.BeginCreateIdentity(context.Context, string, string, string, *ArcSettingsClientBeginCreateIdentityOptions) (*armruntime.Poller[ArcSettingsClientCreateIdentityResponse], error)`
127+
- New function `RawCertificateData.MarshalJSON() ([]byte, error)`
128+
- New function `*ArcSettingsClient.GeneratePassword(context.Context, string, string, string, *ArcSettingsClientGeneratePasswordOptions) (ArcSettingsClientGeneratePasswordResponse, error)`
129+
- New function `*ClustersClient.BeginUploadCertificate(context.Context, string, string, UploadCertificateRequest, *ClustersClientBeginUploadCertificateOptions) (*armruntime.Poller[ClustersClientUploadCertificateResponse], error)`
130+
- New function `*PasswordCredential.UnmarshalJSON([]byte) error`
131+
- New function `*ClustersClient.BeginCreateIdentity(context.Context, string, string, *ClustersClientBeginCreateIdentityOptions) (*armruntime.Poller[ClustersClientCreateIdentityResponse], error)`
132+
- New function `PasswordCredential.MarshalJSON() ([]byte, error)`
133+
- New struct `ArcIdentityResponse`
134+
- New struct `ArcIdentityResponseProperties`
135+
- New struct `ArcSettingsClientBeginCreateIdentityOptions`
136+
- New struct `ArcSettingsClientCreateIdentityResponse`
137+
- New struct `ArcSettingsClientGeneratePasswordOptions`
138+
- New struct `ArcSettingsClientGeneratePasswordResponse`
139+
- New struct `ClusterIdentityResponse`
140+
- New struct `ClusterIdentityResponseProperties`
141+
- New struct `ClustersClientBeginCreateIdentityOptions`
142+
- New struct `ClustersClientBeginUploadCertificateOptions`
143+
- New struct `ClustersClientCreateIdentityResponse`
144+
- New struct `ClustersClientUploadCertificateResponse`
145+
- New struct `PasswordCredential`
146+
- New struct `RawCertificateData`
147+
- New struct `UploadCertificateRequest`
148+
- New anonymous field `ArcSettingList` in struct `ArcSettingsClientListByClusterResponse`
149+
- New anonymous field `Extension` in struct `ExtensionsClientCreateResponse`
150+
- New field `ResumeToken` in struct `ExtensionsClientBeginUpdateOptions`
151+
- New anonymous field `ClusterList` in struct `ClustersClientListBySubscriptionResponse`
152+
- New field `ResumeToken` in struct `ExtensionsClientBeginDeleteOptions`
153+
- New field `ResumeToken` in struct `ArcSettingsClientBeginDeleteOptions`
154+
- New anonymous field `Cluster` in struct `ClustersClientCreateResponse`
155+
- New anonymous field `ExtensionList` in struct `ExtensionsClientListByArcSettingResponse`
156+
- New anonymous field `Cluster` in struct `ClustersClientUpdateResponse`
157+
- New anonymous field `ArcSetting` in struct `ArcSettingsClientGetResponse`
158+
- New anonymous field `Extension` in struct `ExtensionsClientGetResponse`
159+
- New anonymous field `ArcSetting` in struct `ArcSettingsClientCreateResponse`
160+
- New anonymous field `ClusterList` in struct `ClustersClientListByResourceGroupResponse`
161+
- New field `ResumeToken` in struct `ExtensionsClientBeginCreateOptions`
162+
- New anonymous field `Extension` in struct `ExtensionsClientUpdateResponse`
163+
- New field `ArcApplicationClientID` in struct `ArcSettingProperties`
164+
- New field `ArcApplicationObjectID` in struct `ArcSettingProperties`
165+
- New field `ArcApplicationTenantID` in struct `ArcSettingProperties`
166+
- New field `ArcServicePrincipalObjectID` in struct `ArcSettingProperties`
167+
- New anonymous field `OperationListResult` in struct `OperationsClientListResponse`
168+
- New field `AADServicePrincipalObjectID` in struct `ClusterProperties`
169+
- New field `ServiceEndpoint` in struct `ClusterProperties`
170+
- New field `AADApplicationObjectID` in struct `ClusterProperties`
171+
- New anonymous field `Cluster` in struct `ClustersClientGetResponse`
172+
173+
3174
## 0.2.1 (2022-02-22)
4175

5176
### Other Changes

sdk/resourcemanager/azurestackhci/armazurestackhci/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/8e4746332979ed6ff3577bdc97dd2065a7577598/specification/azurestackhci/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/8e4746332979ed6ff3577bdc97dd2065a7577598/specification/azurestackhci/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/azurestackhci/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/azurestackhci/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 0.2.1
11+
module-version: 0.3.0
1212

1313
```
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azurestackhci/armazurestackhci
22

3-
go 1.16
3+
go 1.18
4+
5+
require github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0
46

57
require (
6-
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0
7-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.0
8+
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 // indirect
9+
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b // indirect
10+
golang.org/x/text v0.3.6 // indirect
811
)

0 commit comments

Comments
 (0)