Skip to content

Commit 5c05151

Browse files
gauravkumar1491JoshLove-msft
authored andcommitted
[Hub Generated] Review request for Microsoft.Resources to add version stable/2022-12-01 (Azure#23292)
* Adds base for updating Microsoft.Resources from version stable/2021-01-01 to version 2022-12-01 * Updates readme * Updates API version in new specs and examples * Adding new version 2022-12-01 for Locations API * Correct version * removing resources.json from readme * Review comment * Validation error fixes * Model Validation Fix * Validation Error fix test * small fix * Missing files * Deleting files * Operations * Swagger ModelValidation fix * Operations api * removing previous commit * x-ms-example * missing curly * default response * Prettier errors fixed * Operation Schema * Breaking changes * Staging errror fix * Testing temp fix * common-types fix * staging lint diff warnings fixed * Testing v4 * v5 common types fix * Rollback * common-types fix * Removing redundant parameters * Model validation fix * GUID fix * uuid fix * ReadOnlyPropertChanged error fixed * uuid fix
1 parent 7c7227c commit 5c05151

File tree

9 files changed

+1386
-4
lines changed

9 files changed

+1386
-4
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"body": [
4+
{
5+
"Name": "isxbox",
6+
"Type": "ResourceProviderTestHost/TestResourceType"
7+
}
8+
],
9+
"api-version": "2022-12-01"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"name": "isxbox",
15+
"type": "ResourceProviderTestHost/TestResourceType",
16+
"status": "Allowed"
17+
}
18+
}
19+
}
20+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a1ffc958-d2c7-493e-9f1e-125a0477f536",
4+
"api-version": "2022-12-01"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/eastus",
12+
"name": "eastus",
13+
"type": "Region",
14+
"displayName": "East US",
15+
"regionalDisplayName": "(US) East US",
16+
"metadata": {
17+
"regionType": "Physical",
18+
"regionCategory": "Recommended",
19+
"geography": "United States",
20+
"geographyGroup": "US",
21+
"longitude": "-79.8164",
22+
"latitude": "37.3719",
23+
"physicalLocation": "Virginia",
24+
"pairedRegion": [
25+
{
26+
"name": "westus",
27+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/westus"
28+
}
29+
]
30+
},
31+
"availabilityZoneMappings": [
32+
{
33+
"logicalZone": "1",
34+
"physicalZone": "eastus-az1"
35+
},
36+
{
37+
"logicalZone": "2",
38+
"physicalZone": "eastus-az3"
39+
},
40+
{
41+
"logicalZone": "3",
42+
"physicalZone": "eastus-az2"
43+
}
44+
]
45+
},
46+
{
47+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/eastus2",
48+
"name": "eastus2",
49+
"type": "Region",
50+
"displayName": "East US 2",
51+
"regionalDisplayName": "(US) East US 2",
52+
"metadata": {
53+
"regionType": "Physical",
54+
"regionCategory": "Recommended",
55+
"geography": "United States",
56+
"geographyGroup": "US",
57+
"longitude": "-78.3889",
58+
"latitude": "36.6681",
59+
"physicalLocation": "Virginia",
60+
"pairedRegion": [
61+
{
62+
"name": "centralus",
63+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/centralus"
64+
}
65+
]
66+
},
67+
"availabilityZoneMappings": [
68+
{
69+
"logicalZone": "1",
70+
"physicalZone": "eastus2-az1"
71+
},
72+
{
73+
"logicalZone": "2",
74+
"physicalZone": "eastus2-az3"
75+
},
76+
{
77+
"logicalZone": "3",
78+
"physicalZone": "eastus2-az2"
79+
}
80+
]
81+
}
82+
]
83+
}
84+
}
85+
}
86+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a1ffc958-d2c7-493e-9f1e-125a0477f536",
4+
"api-version": "2022-12-01",
5+
"includeExtendedLocations": "true"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/eastus",
13+
"name": "eastus",
14+
"type": "Region",
15+
"displayName": "East US",
16+
"regionalDisplayName": "(US) East US",
17+
"metadata": {
18+
"regionType": "Physical",
19+
"regionCategory": "Recommended",
20+
"geography": "United States",
21+
"geographyGroup": "US",
22+
"longitude": "-79.8164",
23+
"latitude": "37.3719",
24+
"physicalLocation": "Virginia",
25+
"pairedRegion": [
26+
{
27+
"name": "westus",
28+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/westus"
29+
}
30+
]
31+
},
32+
"availabilityZoneMappings": [
33+
{
34+
"logicalZone": "1",
35+
"physicalZone": "eastus-az1"
36+
},
37+
{
38+
"logicalZone": "2",
39+
"physicalZone": "eastus-az3"
40+
},
41+
{
42+
"logicalZone": "3",
43+
"physicalZone": "eastus-az2"
44+
}
45+
]
46+
},
47+
{
48+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/eastus2",
49+
"name": "eastus2",
50+
"type": "Region",
51+
"displayName": "East US 2",
52+
"regionalDisplayName": "(US) East US 2",
53+
"metadata": {
54+
"regionType": "Physical",
55+
"regionCategory": "Recommended",
56+
"geography": "United States",
57+
"geographyGroup": "US",
58+
"longitude": "-78.3889",
59+
"latitude": "36.6681",
60+
"physicalLocation": "Virginia",
61+
"pairedRegion": [
62+
{
63+
"name": "centralus",
64+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/centralus"
65+
}
66+
]
67+
},
68+
"availabilityZoneMappings": [
69+
{
70+
"logicalZone": "1",
71+
"physicalZone": "eastus2-az1"
72+
},
73+
{
74+
"logicalZone": "2",
75+
"physicalZone": "eastus2-az3"
76+
},
77+
{
78+
"logicalZone": "3",
79+
"physicalZone": "eastus2-az2"
80+
}
81+
]
82+
},
83+
{
84+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/eastus/edgeZones/ezecustomerlabboston1",
85+
"name": "ezecustomerlabboston1",
86+
"type": "EdgeZone",
87+
"displayName": "EZE Customer Lab Boston 1",
88+
"regionalDisplayName": "(US) EZE Customer Lab Boston 1",
89+
"metadata": {
90+
"regionType": "Physical",
91+
"regionCategory": "Extended",
92+
"geographyGroup": "US",
93+
"geography": "United States",
94+
"longitude": "-71.219038",
95+
"latitude": "42.301218"
96+
}
97+
},
98+
{
99+
"id": "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/locations/southcentralus/edgeZones/ezecustomerlabhouston1",
100+
"name": "ezecustomerlabhouston1",
101+
"type": "EdgeZone",
102+
"displayName": "EZE Customer Lab Houston 1",
103+
"regionalDisplayName": "(US) EZE Customer Lab Houston 1",
104+
"metadata": {
105+
"regionType": "Physical",
106+
"regionCategory": "Extended",
107+
"geographyGroup": "US",
108+
"geography": "United States",
109+
"longitude": "-95.41452",
110+
"latitude": "29.9411"
111+
}
112+
}
113+
]
114+
}
115+
}
116+
}
117+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
4+
"api-version": "2022-12-01"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
10+
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
11+
"tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
12+
"displayName": "Example Subscription",
13+
"state": "Enabled",
14+
"subscriptionPolicies": {
15+
"locationPlacementId": "Internal_2014-09-01",
16+
"quotaId": "Internal_2014-09-01",
17+
"spendingLimit": "Off"
18+
},
19+
"authorizationSource": "Bypassed",
20+
"managedByTenants": [
21+
{
22+
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
23+
}
24+
],
25+
"tags": {
26+
"tagKey1": "tagValue1",
27+
"tagKey2": "tagValue2"
28+
}
29+
}
30+
}
31+
}
32+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-12-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
11+
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
12+
"tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
13+
"displayName": "Example Subscription",
14+
"state": "Enabled",
15+
"subscriptionPolicies": {
16+
"locationPlacementId": "Internal_2014-09-01",
17+
"quotaId": "Internal_2014-09-01",
18+
"spendingLimit": "Off"
19+
},
20+
"authorizationSource": "RoleBased",
21+
"managedByTenants": [
22+
{
23+
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
24+
}
25+
],
26+
"tags": {
27+
"tagKey1": "tagValue1",
28+
"tagKey2": "tagValue2"
29+
}
30+
},
31+
{
32+
"id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
33+
"subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
34+
"tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c",
35+
"displayName": "Example Subscription2",
36+
"state": "Enabled",
37+
"subscriptionPolicies": {
38+
"locationPlacementId": "Internal_2014-09-01",
39+
"quotaId": "Internal_2014-09-01",
40+
"spendingLimit": "Off"
41+
},
42+
"authorizationSource": "RoleBased",
43+
"managedByTenants": [
44+
{
45+
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
46+
},
47+
{
48+
"tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a"
49+
}
50+
],
51+
"tags": {
52+
"tagKey1": "tagValue1",
53+
"tagKey2": "tagValue2"
54+
}
55+
}
56+
],
57+
"nextLink": "..."
58+
}
59+
}
60+
}
61+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-12-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"id": "/tenants/a70a1586-9c4a-4373-b907-1d310660dbd1",
11+
"tenantId": "a70a1586-9c4a-4373-b907-1d310660dbd1",
12+
"countryCode": "US",
13+
"displayName": "Test_Test_aad50",
14+
"domains": [
15+
"aad50.ccsctp.net"
16+
],
17+
"tenantCategory": "ManagedBy",
18+
"defaultDomain": "aad50.ccsctp.net",
19+
"tenantType": "AAD"
20+
},
21+
{
22+
"id": "/tenants/83abe5cd-bcc3-441a-bd86-e6a75360cecc",
23+
"tenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
24+
"countryCode": "US",
25+
"displayName": "Contoso Corp.",
26+
"domains": [
27+
"auxteststagemanual.ccsctp.net"
28+
],
29+
"tenantCategory": "Home",
30+
"defaultDomain": "auxteststagemanual.ccsctp.net",
31+
"tenantType": "AAD"
32+
},
33+
{
34+
"id": "/tenants/daea2e9b-847b-4c93-850d-2aa6f2d7af33",
35+
"tenantId": "daea2e9b-847b-4c93-850d-2aa6f2d7af33",
36+
"countryCode": "US",
37+
"displayName": "TEST_TEST_RDV",
38+
"domains": [
39+
"rdvmohoro.ccsctp.net",
40+
"rdvmohoro.mail.ccsctp.net",
41+
"rdvmohoro.com"
42+
],
43+
"tenantCategory": "ProjectedBy",
44+
"defaultDomain": "rdvmohoro.ccsctp.net",
45+
"tenantType": "AAD",
46+
"tenantBrandingLogoUrl": "logo1.logo.rdvmohoro.com"
47+
}
48+
],
49+
"nextLink": "..."
50+
}
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)