Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.InstanceMetadataService …
Browse files Browse the repository at this point in the history
…to add version stable/2018-02-01 (#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]>
  • Loading branch information
joshdmcc and jmccarthy authored Mar 7, 2022
1 parent d257de1 commit 5e1adcb
Show file tree
Hide file tree
Showing 5 changed files with 802 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2018-02-01",
"Metadata": "true"
},
"responses": {
"200": {
"body": {
"tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
}
},
"400": {
"body": {
"error": "invalid_request",
"error_description": "Bad request"
}
},
"404": {
"body": {
"error": "not_found",
"error_description": "Not found"
}
},
"405": {
"body": {
"error": "method_not_allowed",
"error_description": "Not allowed"
}
},
"429": {
"body": {
"error": "too_many_requests",
"error_description": "Too many requests"
}
},
"500": {
"body": {
"error": "server_error",
"error_description": "Server error"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"api-version": "2018-02-01",
"Metadata": "true",
"resource": "https://vault.azure.net"
},
"responses": {
"200": {
"body": {
"access_token": "dummytoken",
"client_id": "be5947ed-3560-4afe-9504-59967a63f810",
"expires_in": "3599",
"expires_on": "1541705014",
"ext_expires_in": "262800",
"not_before": "1508961830",
"resource": "https://va"
}
},
"400": {
"body": {
"error": "invalid_request",
"error_description": "Bad request"
}
},
"404": {
"body": {
"error": "not_found",
"error_description": "Not found"
}
},
"405": {
"body": {
"error": "method_not_allowed",
"error_description": "Not allowed"
}
},
"429": {
"body": {
"error": "too_many_requests",
"error_description": "Too many requests"
}
},
"500": {
"body": {
"error": "server_error",
"error_description": "Server error"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"api-version": "2018-02-01",
"Metadata": "true"
},
"responses": {
"200": {
"body": {
"compute": {
"location": "eastus",
"name": "examplevmname",
"offer": "Windows",
"osType": "linux",
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
"platformFaultDomain": "36",
"platformUpdateDomain": "42",
"publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
"resourceGroupName": "macikgo-test-may-23",
"sku": "Windows-Server-2012-R2-Datacenter",
"subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
"tags": "baz:bash;foo:bar",
"version": "15.05.22",
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
"vmScaleSetName": "crpteste9vflji9",
"vmSize": "Standard_A3",
"zone": ""
}
}
},
"400": {
"body": {
"error": "Bad request"
}
},
"403": {
"body": {
"error": "Forbidden"
}
},
"404": {
"body": {
"error": "Not found"
}
},
"405": {
"body": {
"error": "Not allowed"
}
},
"429": {
"body": {
"error": "Too many requests"
}
},
"503": {
"body": {
"error": "Service unavailable"
}
},
"500": {
"body": {
"error": "Server error"
}
}
}
}
Loading

0 comments on commit 5e1adcb

Please sign in to comment.