Skip to content

Commit eca5e15

Browse files
author
SDKAuto
committed
CodeGen from PR 18591 in Azure/azure-rest-api-specs
Merge 3c536bea49eff5a777c07d842a2074e2bbc45c89 into ba65174ad2569e80fdb5838a1dddc26b8c0d6f3d
1 parent 917ea6d commit eca5e15

14 files changed

+637
-1016
lines changed

sdk/resourcemanager/resources/armdeploymentscripts/CHANGELOG.md

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

3+
## 0.4.0 (2022-04-14)
4+
### Breaking Changes
5+
6+
- Function `*Client.ListBySubscription` return value(s) have been changed from `(*ClientListBySubscriptionPager)` to `(*runtime.Pager[ClientListBySubscriptionResponse])`
7+
- Function `NewClient` return value(s) have been changed from `(*Client)` to `(*Client, error)`
8+
- Function `*Client.BeginCreate` return value(s) have been changed from `(ClientCreatePollerResponse, error)` to `(*armruntime.Poller[ClientCreateResponse], error)`
9+
- Function `*Client.ListByResourceGroup` return value(s) have been changed from `(*ClientListByResourceGroupPager)` to `(*runtime.Pager[ClientListByResourceGroupResponse])`
10+
- Function `ScriptProvisioningState.ToPtr` has been removed
11+
- Function `*ClientListByResourceGroupPager.NextPage` has been removed
12+
- Function `*ClientCreatePollerResponse.Resume` has been removed
13+
- Function `*ClientCreatePoller.ResumeToken` has been removed
14+
- Function `*ClientUpdateResult.UnmarshalJSON` has been removed
15+
- Function `*ClientListBySubscriptionPager.NextPage` has been removed
16+
- Function `*ClientCreatePoller.Poll` has been removed
17+
- Function `ScriptType.ToPtr` has been removed
18+
- Function `*ClientListByResourceGroupPager.PageResponse` has been removed
19+
- Function `*ClientCreatePoller.Done` has been removed
20+
- Function `*ClientListByResourceGroupPager.Err` has been removed
21+
- Function `*ClientCreateResult.UnmarshalJSON` has been removed
22+
- Function `*ClientListBySubscriptionPager.Err` has been removed
23+
- Function `CreatedByType.ToPtr` has been removed
24+
- Function `ClientCreatePollerResponse.PollUntilDone` has been removed
25+
- Function `*ClientCreatePoller.FinalResponse` has been removed
26+
- Function `CleanupOptions.ToPtr` has been removed
27+
- Function `ManagedServiceIdentityType.ToPtr` has been removed
28+
- Function `*ClientGetResult.UnmarshalJSON` has been removed
29+
- Function `*ClientListBySubscriptionPager.PageResponse` has been removed
30+
- Struct `ClientCreatePoller` has been removed
31+
- Struct `ClientCreatePollerResponse` has been removed
32+
- Struct `ClientCreateResult` has been removed
33+
- Struct `ClientGetLogsDefaultResult` has been removed
34+
- Struct `ClientGetLogsResult` has been removed
35+
- Struct `ClientGetResult` has been removed
36+
- Struct `ClientListByResourceGroupPager` has been removed
37+
- Struct `ClientListByResourceGroupResult` has been removed
38+
- Struct `ClientListBySubscriptionPager` has been removed
39+
- Struct `ClientListBySubscriptionResult` has been removed
40+
- Struct `ClientUpdateResult` has been removed
41+
- Field `ClientCreateResult` of struct `ClientCreateResponse` has been removed
42+
- Field `RawResponse` of struct `ClientCreateResponse` has been removed
43+
- Field `RawResponse` of struct `ClientDeleteResponse` has been removed
44+
- Field `ClientGetLogsResult` of struct `ClientGetLogsResponse` has been removed
45+
- Field `RawResponse` of struct `ClientGetLogsResponse` has been removed
46+
- Field `ClientGetResult` of struct `ClientGetResponse` has been removed
47+
- Field `RawResponse` of struct `ClientGetResponse` has been removed
48+
- Field `ClientListByResourceGroupResult` of struct `ClientListByResourceGroupResponse` has been removed
49+
- Field `RawResponse` of struct `ClientListByResourceGroupResponse` has been removed
50+
- Field `ClientListBySubscriptionResult` of struct `ClientListBySubscriptionResponse` has been removed
51+
- Field `RawResponse` of struct `ClientListBySubscriptionResponse` has been removed
52+
- Field `ClientUpdateResult` of struct `ClientUpdateResponse` has been removed
53+
- Field `RawResponse` of struct `ClientUpdateResponse` has been removed
54+
- Field `ClientGetLogsDefaultResult` of struct `ClientGetLogsDefaultResponse` has been removed
55+
- Field `RawResponse` of struct `ClientGetLogsDefaultResponse` has been removed
56+
57+
### Features Added
58+
59+
- New function `*ClientCreateResponse.UnmarshalJSON([]byte) error`
60+
- New function `*ClientGetResponse.UnmarshalJSON([]byte) error`
61+
- New function `*ClientUpdateResponse.UnmarshalJSON([]byte) error`
62+
- New struct `Error`
63+
- New anonymous field `DeploymentScriptClassification` in struct `ClientUpdateResponse`
64+
- New anonymous field `DeploymentScriptClassification` in struct `ClientGetResponse`
65+
- New field `ResumeToken` in struct `ClientBeginCreateOptions`
66+
- New anonymous field `DeploymentScriptClassification` in struct `ClientCreateResponse`
67+
- New anonymous field `ScriptLogsList` in struct `ClientGetLogsResponse`
68+
- New anonymous field `DeploymentScriptListResult` in struct `ClientListByResourceGroupResponse`
69+
- New anonymous field `ScriptLog` in struct `ClientGetLogsDefaultResponse`
70+
- New anonymous field `DeploymentScriptListResult` in struct `ClientListBySubscriptionResponse`
71+
72+
373
## 0.3.1 (2022-02-22)
474

575
### Other Changes

sdk/resourcemanager/resources/armdeploymentscripts/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/a67988c1aaf3b020ef5217a37f4c169f21881d0b/specification/resources/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/a67988c1aaf3b020ef5217a37f4c169f21881d0b/specification/resources/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 0.3.1
11+
module-version: 0.4.0
1212
package-deploymentscripts: true
1313
```
Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentscripts
22

3-
go 1.16
3+
go 1.18
44

55
require (
6-
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0
7-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1
6+
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0
87
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1
9-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0
10-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1
8+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0
9+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0
1110
github.com/stretchr/testify v1.7.0
1211
)
12+
13+
require (
14+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 // indirect
15+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 // indirect
16+
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
17+
github.com/davecgh/go-spew v1.1.1 // indirect
18+
github.com/dnaeon/go-vcr v1.1.0 // indirect
19+
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
20+
github.com/google/uuid v1.1.1 // indirect
21+
github.com/kylelemons/godebug v1.1.0 // indirect
22+
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
23+
github.com/pmezard/go-difflib v1.0.0 // indirect
24+
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect
25+
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
26+
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
27+
golang.org/x/text v0.3.7 // indirect
28+
gopkg.in/yaml.v2 v2.4.0 // indirect
29+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
30+
)

sdk/resourcemanager/resources/armdeploymentscripts/go.sum

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
2-
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0 h1:zBJcBJwte0x6PcPK7XaWDMvK2o2ZM2f1sMaqNNavQ5g=
3-
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
4-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.0/go.mod h1:TmXReXZ9yPp5D5TBRMTAtyz+UyOl15Py4hL5E5p6igQ=
5-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1 h1:RxemzI2cHD0A8WyMqHu/UnDjfpGES/cmjtPbQoktWqs=
6-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1/go.mod h1:+nVKciyKD2J9TyVcEQ82Bo9b+3F92PiQfHrIE/zqLqM=
7-
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
1+
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 h1:D7l5jspkc4kwBYRWoZE4DQnu6LVpLwDsMZjBKS4wZLQ=
2+
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0=
3+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo=
4+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0/go.mod h1:RG0cZndeZM17StwohYclmcXSr4oOJ8b1I5hB8llIc6Y=
85
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 h1:sLZ/Y+P/5RRtsXWylBjB5lkgixYfm0MQPiwrSX//JSo=
96
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
10-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0 h1:/hWqo5bAXoNK7svf5GvgpXFPzOCpM29/Eu+WqcE34Uk=
11-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0/go.mod h1:wXFq4k1znCwV7Bw70gw4UDNYKv/nrCUr70hjUmOj1Jo=
12-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1 h1:BBbQ9XBvmXKzw4eL9uChPyNZgf+i/liXDCk9eLNlFss=
13-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1/go.mod h1:I8zxpW5dgsUDURn73KC7cexI2WC8QIsjwfJ5n+1O3Ls=
14-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.3.1 h1:EXTDtCSTfPauGawsG+Ae/W46B1PkrgzuKNrcFqy4ljM=
15-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.3.1/go.mod h1:PoA99xQAlN13MyUjzgIPWMZEr0etHpYSuT25LmhR3zQ=
7+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0 h1:gYG7I0WxtCnHSWOFLbWCHLBWr+yzI5UeU9KuGZajf5U=
8+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0/go.mod h1:bwEUbGO8V/7KcrqwO14ADZ0m4AkTvSKx3ma68FRc3Bg=
9+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0 h1:wRP3rtixOmWSfaLJqr5aX2CqwJCZxZI1lgfqyYw6Uwo=
10+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0/go.mod h1:S2mj15SUrr7/r/3/k5g3wWC7GTtV+JL3uK6RmNOlEaY=
11+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 h1:TSBK+EXu33WBNrYhWmOecKJAl4z1Z5dtbDmqOzd1zGk=
12+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0/go.mod h1:tt77DwGu+r0Ued27YQPhiW8h8YWpYwpfOfi5uRpRMTg=
1613
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c=
1714
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4=
1815
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -23,7 +20,6 @@ github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/
2320
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
2421
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
2522
github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU=
26-
github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
2723
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
2824
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
2925
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
@@ -43,21 +39,16 @@ golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNm
4339
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
4440
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
4541
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
46-
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
4742
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY=
4843
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
4944
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
5045
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
5146
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
52-
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
5347
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
54-
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
5548
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
5649
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
57-
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
5850
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
5951
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
60-
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
6152
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
6253
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
6354
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

0 commit comments

Comments
 (0)