Skip to content

Commit

Permalink
CodeGen from PR 18591 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3c536bea49eff5a777c07d842a2074e2bbc45c89 into c5c5e1d0c31a0ceccda42505d6e872ff303d1c80
  • Loading branch information
SDKAuto committed Apr 13, 2022
1 parent e502bbf commit 710669b
Show file tree
Hide file tree
Showing 14 changed files with 410 additions and 1,031 deletions.
94 changes: 94 additions & 0 deletions sdk/resourcemanager/resources/armlocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,99 @@
# Release History

## 0.3.0 (2022-04-13)
### Breaking Changes

- Function `*ManagementLocksClient.ListAtSubscriptionLevel` return value(s) have been changed from `(*ManagementLocksClientListAtSubscriptionLevelPager)` to `(*runtime.Pager[ManagementLocksClientListAtSubscriptionLevelResponse])`
- Function `NewAuthorizationOperationsClient` return value(s) have been changed from `(*AuthorizationOperationsClient)` to `(*AuthorizationOperationsClient, error)`
- Function `*AuthorizationOperationsClient.List` return value(s) have been changed from `(*AuthorizationOperationsClientListPager)` to `(*runtime.Pager[AuthorizationOperationsClientListResponse])`
- Function `*ManagementLocksClient.ListAtResourceGroupLevel` return value(s) have been changed from `(*ManagementLocksClientListAtResourceGroupLevelPager)` to `(*runtime.Pager[ManagementLocksClientListAtResourceGroupLevelResponse])`
- Function `*ManagementLocksClient.ListByScope` return value(s) have been changed from `(*ManagementLocksClientListByScopePager)` to `(*runtime.Pager[ManagementLocksClientListByScopeResponse])`
- Function `*ManagementLocksClient.ListAtResourceLevel` return value(s) have been changed from `(*ManagementLocksClientListAtResourceLevelPager)` to `(*runtime.Pager[ManagementLocksClientListAtResourceLevelResponse])`
- Function `NewManagementLocksClient` return value(s) have been changed from `(*ManagementLocksClient)` to `(*ManagementLocksClient, error)`
- Type of `ErrorAdditionalInfo.Info` has been changed from `map[string]interface{}` to `interface{}`
- Function `*ManagementLocksClientListAtResourceLevelPager.PageResponse` has been removed
- Function `*ManagementLocksClientListByScopePager.PageResponse` has been removed
- Function `LockLevel.ToPtr` has been removed
- Function `*ManagementLocksClientListAtResourceGroupLevelPager.Err` has been removed
- Function `*ManagementLocksClientListAtSubscriptionLevelPager.PageResponse` has been removed
- Function `*ManagementLocksClientListAtSubscriptionLevelPager.Err` has been removed
- Function `*AuthorizationOperationsClientListPager.Err` has been removed
- Function `*AuthorizationOperationsClientListPager.PageResponse` has been removed
- Function `*ManagementLocksClientListAtResourceLevelPager.Err` has been removed
- Function `*ManagementLocksClientListByScopePager.NextPage` has been removed
- Function `*ManagementLocksClientListAtSubscriptionLevelPager.NextPage` has been removed
- Function `*ManagementLocksClientListByScopePager.Err` has been removed
- Function `*ManagementLocksClientListAtResourceLevelPager.NextPage` has been removed
- Function `*AuthorizationOperationsClientListPager.NextPage` has been removed
- Function `*ManagementLocksClientListAtResourceGroupLevelPager.NextPage` has been removed
- Function `*ManagementLocksClientListAtResourceGroupLevelPager.PageResponse` has been removed
- Function `CreatedByType.ToPtr` has been removed
- Struct `AuthorizationOperationsClientListPager` has been removed
- Struct `AuthorizationOperationsClientListResult` has been removed
- Struct `ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResult` has been removed
- Struct `ManagementLocksClientCreateOrUpdateAtResourceLevelResult` has been removed
- Struct `ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResult` has been removed
- Struct `ManagementLocksClientCreateOrUpdateByScopeResult` has been removed
- Struct `ManagementLocksClientGetAtResourceGroupLevelResult` has been removed
- Struct `ManagementLocksClientGetAtResourceLevelResult` has been removed
- Struct `ManagementLocksClientGetAtSubscriptionLevelResult` has been removed
- Struct `ManagementLocksClientGetByScopeResult` has been removed
- Struct `ManagementLocksClientListAtResourceGroupLevelPager` has been removed
- Struct `ManagementLocksClientListAtResourceGroupLevelResult` has been removed
- Struct `ManagementLocksClientListAtResourceLevelPager` has been removed
- Struct `ManagementLocksClientListAtResourceLevelResult` has been removed
- Struct `ManagementLocksClientListAtSubscriptionLevelPager` has been removed
- Struct `ManagementLocksClientListAtSubscriptionLevelResult` has been removed
- Struct `ManagementLocksClientListByScopePager` has been removed
- Struct `ManagementLocksClientListByScopeResult` has been removed
- Field `ManagementLocksClientGetAtResourceLevelResult` of struct `ManagementLocksClientGetAtResourceLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientGetAtResourceLevelResponse` has been removed
- Field `ManagementLocksClientGetAtSubscriptionLevelResult` of struct `ManagementLocksClientGetAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientGetAtSubscriptionLevelResponse` has been removed
- Field `ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResult` of struct `ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientDeleteAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientDeleteAtResourceGroupLevelResponse` has been removed
- Field `ManagementLocksClientGetByScopeResult` of struct `ManagementLocksClientGetByScopeResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientGetByScopeResponse` has been removed
- Field `ManagementLocksClientListAtResourceGroupLevelResult` of struct `ManagementLocksClientListAtResourceGroupLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientListAtResourceGroupLevelResponse` has been removed
- Field `AuthorizationOperationsClientListResult` of struct `AuthorizationOperationsClientListResponse` has been removed
- Field `RawResponse` of struct `AuthorizationOperationsClientListResponse` has been removed
- Field `ManagementLocksClientCreateOrUpdateAtResourceLevelResult` of struct `ManagementLocksClientCreateOrUpdateAtResourceLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientCreateOrUpdateAtResourceLevelResponse` has been removed
- Field `ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResult` of struct `ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientDeleteAtResourceLevelResponse` has been removed
- Field `ManagementLocksClientCreateOrUpdateByScopeResult` of struct `ManagementLocksClientCreateOrUpdateByScopeResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientCreateOrUpdateByScopeResponse` has been removed
- Field `ManagementLocksClientGetAtResourceGroupLevelResult` of struct `ManagementLocksClientGetAtResourceGroupLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientGetAtResourceGroupLevelResponse` has been removed
- Field `ManagementLocksClientListAtSubscriptionLevelResult` of struct `ManagementLocksClientListAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientListAtSubscriptionLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientDeleteByScopeResponse` has been removed
- Field `ManagementLocksClientListByScopeResult` of struct `ManagementLocksClientListByScopeResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientListByScopeResponse` has been removed
- Field `ManagementLocksClientListAtResourceLevelResult` of struct `ManagementLocksClientListAtResourceLevelResponse` has been removed
- Field `RawResponse` of struct `ManagementLocksClientListAtResourceLevelResponse` has been removed

### Features Added

- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientCreateOrUpdateAtResourceLevelResponse`
- New anonymous field `ManagementLockListResult` in struct `ManagementLocksClientListAtResourceGroupLevelResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientGetAtResourceLevelResponse`
- New anonymous field `ManagementLockListResult` in struct `ManagementLocksClientListAtSubscriptionLevelResponse`
- New anonymous field `OperationListResult` in struct `AuthorizationOperationsClientListResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientGetAtResourceGroupLevelResponse`
- New anonymous field `ManagementLockListResult` in struct `ManagementLocksClientListByScopeResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientGetByScopeResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientGetAtSubscriptionLevelResponse`
- New anonymous field `ManagementLockListResult` in struct `ManagementLocksClientListAtResourceLevelResponse`
- New anonymous field `ManagementLockObject` in struct `ManagementLocksClientCreateOrUpdateByScopeResponse`


## 0.2.1 (2022-02-22)

### Other Changes
Expand Down
6 changes: 3 additions & 3 deletions sdk/resourcemanager/resources/armlocks/autorest.md
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/8e4746332979ed6ff3577bdc97dd2065a7577598/specification/resources/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/8e4746332979ed6ff3577bdc97dd2065a7577598/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.2.1
module-version: 0.3.0
package-locks: true
```
9 changes: 6 additions & 3 deletions sdk/resourcemanager/resources/armlocks/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armlocks

go 1.16
go 1.18

require github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.0
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 // indirect
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b // indirect
golang.org/x/text v0.3.6 // indirect
)
43 changes: 8 additions & 35 deletions sdk/resourcemanager/resources/armlocks/go.sum
Original file line number Diff line number Diff line change
@@ -1,59 +1,32 @@
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0 h1:8wVJL0HUP5yDFXvotdewORTw7Yu88JbreWN/mobSvsQ=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.0/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.13.0 h1:bLRntPH25SkY1uZ/YZW+dmxNky9r1fAHvDFrzluo+4Q=
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/internal v0.8.3 h1:E+m3SkZCN0Bf5q7YdTs5lSm2CYY3CK4spn5OmUIiQtk=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
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/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/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/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c=
github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko=
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/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=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI=
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNmw2api+jEfxLoykJVice/E=
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 h1:k+E048sYJHyVnsr1GDrRZWQ32D2C7lWs9JRc0bel53A=
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 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
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=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

This file was deleted.

Loading

0 comments on commit 710669b

Please sign in to comment.