Skip to content

Commit

Permalink
CodeGen from PR 18683 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ef3e80f8a7d9d2ed9157410e7dfb1837bd1d35a3 into ba65174ad2569e80fdb5838a1dddc26b8c0d6f3d
  • Loading branch information
SDKAuto committed Apr 14, 2022
1 parent 917ea6d commit acc1cbe
Show file tree
Hide file tree
Showing 14 changed files with 637 additions and 1,016 deletions.
70 changes: 70 additions & 0 deletions sdk/resourcemanager/resources/armdeploymentscripts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Release History

## 0.4.0 (2022-04-14)
### Breaking Changes

- Function `*Client.ListByResourceGroup` return value(s) have been changed from `(*ClientListByResourceGroupPager)` to `(*runtime.Pager[ClientListByResourceGroupResponse])`
- Function `*Client.ListBySubscription` return value(s) have been changed from `(*ClientListBySubscriptionPager)` to `(*runtime.Pager[ClientListBySubscriptionResponse])`
- Function `*Client.BeginCreate` return value(s) have been changed from `(ClientCreatePollerResponse, error)` to `(*armruntime.Poller[ClientCreateResponse], error)`
- Function `NewClient` return value(s) have been changed from `(*Client)` to `(*Client, error)`
- Function `CleanupOptions.ToPtr` has been removed
- Function `*ClientCreatePoller.Done` has been removed
- Function `*ClientListByResourceGroupPager.Err` has been removed
- Function `ClientCreatePollerResponse.PollUntilDone` has been removed
- Function `ScriptType.ToPtr` has been removed
- Function `*ClientCreatePoller.ResumeToken` has been removed
- Function `*ClientCreateResult.UnmarshalJSON` has been removed
- Function `*ClientGetResult.UnmarshalJSON` has been removed
- Function `ManagedServiceIdentityType.ToPtr` has been removed
- Function `ScriptProvisioningState.ToPtr` has been removed
- Function `*ClientCreatePollerResponse.Resume` has been removed
- Function `*ClientListByResourceGroupPager.PageResponse` has been removed
- Function `*ClientListByResourceGroupPager.NextPage` has been removed
- Function `CreatedByType.ToPtr` has been removed
- Function `*ClientListBySubscriptionPager.NextPage` has been removed
- Function `*ClientCreatePoller.Poll` has been removed
- Function `*ClientUpdateResult.UnmarshalJSON` has been removed
- Function `*ClientCreatePoller.FinalResponse` has been removed
- Function `*ClientListBySubscriptionPager.Err` has been removed
- Function `*ClientListBySubscriptionPager.PageResponse` has been removed
- Struct `ClientCreatePoller` has been removed
- Struct `ClientCreatePollerResponse` has been removed
- Struct `ClientCreateResult` has been removed
- Struct `ClientGetLogsDefaultResult` has been removed
- Struct `ClientGetLogsResult` has been removed
- Struct `ClientGetResult` has been removed
- Struct `ClientListByResourceGroupPager` has been removed
- Struct `ClientListByResourceGroupResult` has been removed
- Struct `ClientListBySubscriptionPager` has been removed
- Struct `ClientListBySubscriptionResult` has been removed
- Struct `ClientUpdateResult` has been removed
- Field `ClientUpdateResult` of struct `ClientUpdateResponse` has been removed
- Field `RawResponse` of struct `ClientUpdateResponse` has been removed
- Field `ClientGetResult` of struct `ClientGetResponse` has been removed
- Field `RawResponse` of struct `ClientGetResponse` has been removed
- Field `ClientGetLogsDefaultResult` of struct `ClientGetLogsDefaultResponse` has been removed
- Field `RawResponse` of struct `ClientGetLogsDefaultResponse` has been removed
- Field `ClientListBySubscriptionResult` of struct `ClientListBySubscriptionResponse` has been removed
- Field `RawResponse` of struct `ClientListBySubscriptionResponse` has been removed
- Field `ClientGetLogsResult` of struct `ClientGetLogsResponse` has been removed
- Field `RawResponse` of struct `ClientGetLogsResponse` has been removed
- Field `RawResponse` of struct `ClientDeleteResponse` has been removed
- Field `ClientCreateResult` of struct `ClientCreateResponse` has been removed
- Field `RawResponse` of struct `ClientCreateResponse` has been removed
- Field `ClientListByResourceGroupResult` of struct `ClientListByResourceGroupResponse` has been removed
- Field `RawResponse` of struct `ClientListByResourceGroupResponse` has been removed

### Features Added

- New function `*ClientGetResponse.UnmarshalJSON([]byte) error`
- New function `*ClientUpdateResponse.UnmarshalJSON([]byte) error`
- New function `*ClientCreateResponse.UnmarshalJSON([]byte) error`
- New struct `Error`
- New anonymous field `DeploymentScriptClassification` in struct `ClientCreateResponse`
- New anonymous field `ScriptLogsList` in struct `ClientGetLogsResponse`
- New anonymous field `DeploymentScriptListResult` in struct `ClientListBySubscriptionResponse`
- New field `ResumeToken` in struct `ClientBeginCreateOptions`
- New anonymous field `DeploymentScriptClassification` in struct `ClientUpdateResponse`
- New anonymous field `DeploymentScriptClassification` in struct `ClientGetResponse`
- New anonymous field `ScriptLog` in struct `ClientGetLogsDefaultResponse`
- New anonymous field `DeploymentScriptListResult` in struct `ClientListByResourceGroupResponse`


## 0.3.1 (2022-02-22)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/a67988c1aaf3b020ef5217a37f4c169f21881d0b/specification/resources/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/a67988c1aaf3b020ef5217a37f4c169f21881d0b/specification/resources/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.3.1
module-version: 0.4.0
package-deploymentscripts: true
```
28 changes: 23 additions & 5 deletions sdk/resourcemanager/resources/armdeploymentscripts/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentscripts

go 1.16
go 1.18

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0
github.com/stretchr/testify v1.7.0
)

require (
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dnaeon/go-vcr v1.1.0 // indirect
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
29 changes: 10 additions & 19 deletions sdk/resourcemanager/resources/armdeploymentscripts/go.sum
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0 h1:zBJcBJwte0x6PcPK7XaWDMvK2o2ZM2f1sMaqNNavQ5g=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.22.0/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.0/go.mod h1:TmXReXZ9yPp5D5TBRMTAtyz+UyOl15Py4hL5E5p6igQ=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1 h1:RxemzI2cHD0A8WyMqHu/UnDjfpGES/cmjtPbQoktWqs=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.1/go.mod h1:+nVKciyKD2J9TyVcEQ82Bo9b+3F92PiQfHrIE/zqLqM=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 h1:D7l5jspkc4kwBYRWoZE4DQnu6LVpLwDsMZjBKS4wZLQ=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0/go.mod h1:RG0cZndeZM17StwohYclmcXSr4oOJ8b1I5hB8llIc6Y=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 h1:sLZ/Y+P/5RRtsXWylBjB5lkgixYfm0MQPiwrSX//JSo=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0 h1:/hWqo5bAXoNK7svf5GvgpXFPzOCpM29/Eu+WqcE34Uk=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0/go.mod h1:wXFq4k1znCwV7Bw70gw4UDNYKv/nrCUr70hjUmOj1Jo=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1 h1:BBbQ9XBvmXKzw4eL9uChPyNZgf+i/liXDCk9eLNlFss=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.3.1/go.mod h1:I8zxpW5dgsUDURn73KC7cexI2WC8QIsjwfJ5n+1O3Ls=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.3.1 h1:EXTDtCSTfPauGawsG+Ae/W46B1PkrgzuKNrcFqy4ljM=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.3.1/go.mod h1:PoA99xQAlN13MyUjzgIPWMZEr0etHpYSuT25LmhR3zQ=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0 h1:gYG7I0WxtCnHSWOFLbWCHLBWr+yzI5UeU9KuGZajf5U=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0/go.mod h1:bwEUbGO8V/7KcrqwO14ADZ0m4AkTvSKx3ma68FRc3Bg=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0 h1:wRP3rtixOmWSfaLJqr5aX2CqwJCZxZI1lgfqyYw6Uwo=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v0.4.0/go.mod h1:S2mj15SUrr7/r/3/k5g3wWC7GTtV+JL3uK6RmNOlEaY=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 h1:TSBK+EXu33WBNrYhWmOecKJAl4z1Z5dtbDmqOzd1zGk=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0/go.mod h1:tt77DwGu+r0Ued27YQPhiW8h8YWpYwpfOfi5uRpRMTg=
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c=
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand All @@ -23,7 +20,6 @@ github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU=
github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
Expand All @@ -43,21 +39,16 @@ golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNm
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY=
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
Expand Down
Loading

0 comments on commit acc1cbe

Please sign in to comment.