Skip to content

Commit 1ee4de2

Browse files
author
SDKAuto
committed
CodeGen from PR 18591 in Azure/azure-rest-api-specs
Merge 3c536bea49eff5a777c07d842a2074e2bbc45c89 into c5c5e1d0c31a0ceccda42505d6e872ff303d1c80
1 parent e502bbf commit 1ee4de2

15 files changed

+367
-613
lines changed

sdk/resourcemanager/resources/armsubscriptions/CHANGELOG.md

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

3+
## 0.3.0 (2022-04-13)
4+
### Breaking Changes
5+
6+
- Function `NewTenantsClient` return value(s) have been changed from `(*TenantsClient)` to `(*TenantsClient, error)`
7+
- Function `NewClient` return value(s) have been changed from `(*Client)` to `(*Client, error)`
8+
- Function `*Client.List` return value(s) have been changed from `(*ClientListPager)` to `(*runtime.Pager[ClientListResponse])`
9+
- Function `*TenantsClient.List` return value(s) have been changed from `(*TenantsClientListPager)` to `(*runtime.Pager[TenantsClientListResponse])`
10+
- Function `*Client.ListLocations` parameter(s) have been changed from `(context.Context, string, *ClientListLocationsOptions)` to `(string, *ClientListLocationsOptions)`
11+
- Function `*Client.ListLocations` return value(s) have been changed from `(ClientListLocationsResponse, error)` to `(*runtime.Pager[ClientListLocationsResponse])`
12+
- Function `NewSubscriptionClient` return value(s) have been changed from `(*SubscriptionClient)` to `(*SubscriptionClient, error)`
13+
- Type of `ErrorAdditionalInfo.Info` has been changed from `map[string]interface{}` to `interface{}`
14+
- Function `TenantCategory.ToPtr` has been removed
15+
- Function `RegionType.ToPtr` has been removed
16+
- Function `*TenantsClientListPager.NextPage` has been removed
17+
- Function `LocationType.ToPtr` has been removed
18+
- Function `SpendingLimit.ToPtr` has been removed
19+
- Function `SubscriptionState.ToPtr` has been removed
20+
- Function `*ClientListPager.NextPage` has been removed
21+
- Function `*TenantsClientListPager.Err` has been removed
22+
- Function `*ClientListPager.Err` has been removed
23+
- Function `ResourceNameStatus.ToPtr` has been removed
24+
- Function `*ClientListPager.PageResponse` has been removed
25+
- Function `*TenantsClientListPager.PageResponse` has been removed
26+
- Function `RegionCategory.ToPtr` has been removed
27+
- Struct `ClientCheckZonePeersResult` has been removed
28+
- Struct `ClientGetResult` has been removed
29+
- Struct `ClientListLocationsResult` has been removed
30+
- Struct `ClientListPager` has been removed
31+
- Struct `ClientListResult` has been removed
32+
- Struct `SubscriptionClientCheckResourceNameResult` has been removed
33+
- Struct `TenantsClientListPager` has been removed
34+
- Struct `TenantsClientListResult` has been removed
35+
- Field `SubscriptionClientCheckResourceNameResult` of struct `SubscriptionClientCheckResourceNameResponse` has been removed
36+
- Field `RawResponse` of struct `SubscriptionClientCheckResourceNameResponse` has been removed
37+
- Field `ClientListResult` of struct `ClientListResponse` has been removed
38+
- Field `RawResponse` of struct `ClientListResponse` has been removed
39+
- Field `ClientCheckZonePeersResult` of struct `ClientCheckZonePeersResponse` has been removed
40+
- Field `RawResponse` of struct `ClientCheckZonePeersResponse` has been removed
41+
- Field `ClientListLocationsResult` of struct `ClientListLocationsResponse` has been removed
42+
- Field `RawResponse` of struct `ClientListLocationsResponse` has been removed
43+
- Field `TenantsClientListResult` of struct `TenantsClientListResponse` has been removed
44+
- Field `RawResponse` of struct `TenantsClientListResponse` has been removed
45+
- Field `ClientGetResult` of struct `ClientGetResponse` has been removed
46+
- Field `RawResponse` of struct `ClientGetResponse` has been removed
47+
48+
### Features Added
49+
50+
- New anonymous field `SubscriptionListResult` in struct `ClientListResponse`
51+
- New anonymous field `LocationListResult` in struct `ClientListLocationsResponse`
52+
- New anonymous field `TenantListResult` in struct `TenantsClientListResponse`
53+
- New anonymous field `CheckResourceNameResult` in struct `SubscriptionClientCheckResourceNameResponse`
54+
- New anonymous field `CheckZonePeersResult` in struct `ClientCheckZonePeersResponse`
55+
- New anonymous field `Subscription` in struct `ClientGetResponse`
56+
57+
358
## 0.2.1 (2022-02-22)
459

560
### Other Changes

sdk/resourcemanager/resources/armsubscriptions/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/35453a0a130097acc53af066f340c53c86c76e96/specification/resources/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/35453a0a130097acc53af066f340c53c86c76e96/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.2.1
11+
module-version: 0.3.0
1212
package-subscriptions: true
1313
```
Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
11
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions
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
8-
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.1.0
6+
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0
7+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0
98
github.com/stretchr/testify v1.7.0
109
)
10+
11+
require (
12+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 // indirect
13+
github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 // indirect
14+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 // indirect
15+
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
16+
github.com/davecgh/go-spew v1.1.1 // indirect
17+
github.com/dnaeon/go-vcr v1.1.0 // indirect
18+
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
19+
github.com/google/uuid v1.1.1 // indirect
20+
github.com/kylelemons/godebug v1.1.0 // indirect
21+
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
22+
github.com/pmezard/go-difflib v1.0.0 // indirect
23+
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect
24+
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
25+
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
26+
golang.org/x/text v0.3.7 // indirect
27+
gopkg.in/yaml.v2 v2.4.0 // indirect
28+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
29+
)

sdk/resourcemanager/resources/armsubscriptions/go.sum

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
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/resources/armresources v0.3.1 h1:EXTDtCSTfPauGawsG+Ae/W46B1PkrgzuKNrcFqy4ljM=
13-
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/resources/armresources v0.4.0 h1:TSBK+EXu33WBNrYhWmOecKJAl4z1Z5dtbDmqOzd1zGk=
10+
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0/go.mod h1:tt77DwGu+r0Ued27YQPhiW8h8YWpYwpfOfi5uRpRMTg=
1411
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c=
1512
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4=
1613
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -21,7 +18,6 @@ github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/
2118
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
2219
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
2320
github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU=
24-
github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
2521
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
2622
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
2723
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
@@ -41,21 +37,16 @@ golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNm
4137
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
4238
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
4339
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
44-
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
4540
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY=
4641
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
4742
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
4843
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
4944
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
50-
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
5145
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
52-
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
5346
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
5447
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
55-
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
5648
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
5749
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
58-
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
5950
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
6051
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
6152
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

sdk/resourcemanager/resources/armsubscriptions/ze_generated_example_subscriptionclient_client_test.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

sdk/resourcemanager/resources/armsubscriptions/ze_generated_example_subscriptions_client_test.go

Lines changed: 0 additions & 97 deletions
This file was deleted.

sdk/resourcemanager/resources/armsubscriptions/ze_generated_example_tenants_client_test.go

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)