Skip to content

Commit 5e1adcb

Browse files
joshdmccjmccarthy
andauthored
[Hub Generated] Review request for Microsoft.InstanceMetadataService to add version stable/2018-02-01 (Azure#17316)
* Adds base for updating Microsoft.InstanceMetadataService from version stable/2018-04-02 to version 2018-02-01 * Updates readme * Updates API version in new specs and examples * Back-adding version 2018-02-01 Co-authored-by: jmccarthy <[email protected]>
1 parent d257de1 commit 5e1adcb

File tree

5 files changed

+802
-1
lines changed

5 files changed

+802
-1
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-02-01",
4+
"Metadata": "true"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
10+
}
11+
},
12+
"400": {
13+
"body": {
14+
"error": "invalid_request",
15+
"error_description": "Bad request"
16+
}
17+
},
18+
"404": {
19+
"body": {
20+
"error": "not_found",
21+
"error_description": "Not found"
22+
}
23+
},
24+
"405": {
25+
"body": {
26+
"error": "method_not_allowed",
27+
"error_description": "Not allowed"
28+
}
29+
},
30+
"429": {
31+
"body": {
32+
"error": "too_many_requests",
33+
"error_description": "Too many requests"
34+
}
35+
},
36+
"500": {
37+
"body": {
38+
"error": "server_error",
39+
"error_description": "Server error"
40+
}
41+
}
42+
}
43+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-02-01",
4+
"Metadata": "true",
5+
"resource": "https://vault.azure.net"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"access_token": "dummytoken",
11+
"client_id": "be5947ed-3560-4afe-9504-59967a63f810",
12+
"expires_in": "3599",
13+
"expires_on": "1541705014",
14+
"ext_expires_in": "262800",
15+
"not_before": "1508961830",
16+
"resource": "https://va"
17+
}
18+
},
19+
"400": {
20+
"body": {
21+
"error": "invalid_request",
22+
"error_description": "Bad request"
23+
}
24+
},
25+
"404": {
26+
"body": {
27+
"error": "not_found",
28+
"error_description": "Not found"
29+
}
30+
},
31+
"405": {
32+
"body": {
33+
"error": "method_not_allowed",
34+
"error_description": "Not allowed"
35+
}
36+
},
37+
"429": {
38+
"body": {
39+
"error": "too_many_requests",
40+
"error_description": "Too many requests"
41+
}
42+
},
43+
"500": {
44+
"body": {
45+
"error": "server_error",
46+
"error_description": "Server error"
47+
}
48+
}
49+
}
50+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-02-01",
4+
"Metadata": "true"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"compute": {
10+
"location": "eastus",
11+
"name": "examplevmname",
12+
"offer": "Windows",
13+
"osType": "linux",
14+
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
15+
"platformFaultDomain": "36",
16+
"platformUpdateDomain": "42",
17+
"publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
18+
"resourceGroupName": "macikgo-test-may-23",
19+
"sku": "Windows-Server-2012-R2-Datacenter",
20+
"subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
21+
"tags": "baz:bash;foo:bar",
22+
"version": "15.05.22",
23+
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
24+
"vmScaleSetName": "crpteste9vflji9",
25+
"vmSize": "Standard_A3",
26+
"zone": ""
27+
}
28+
}
29+
},
30+
"400": {
31+
"body": {
32+
"error": "Bad request"
33+
}
34+
},
35+
"403": {
36+
"body": {
37+
"error": "Forbidden"
38+
}
39+
},
40+
"404": {
41+
"body": {
42+
"error": "Not found"
43+
}
44+
},
45+
"405": {
46+
"body": {
47+
"error": "Not allowed"
48+
}
49+
},
50+
"429": {
51+
"body": {
52+
"error": "Too many requests"
53+
}
54+
},
55+
"503": {
56+
"body": {
57+
"error": "Service unavailable"
58+
}
59+
},
60+
"500": {
61+
"body": {
62+
"error": "Server error"
63+
}
64+
}
65+
}
66+
}

0 commit comments

Comments
 (0)