forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.InstanceMetadataService …
…to add version stable/2020-09-01 (Azure#13505) * Adds base for updating Microsoft.InstanceMetadataService from version stable/2020-07-15 to version 2020-09-01 * Updates readme * Updates API version in new specs and examples * New changes for 2020-09-01 * Prettier Co-authored-by: Joshua McCarthy <jmccarthy@microsoft.com>
- Loading branch information
1 parent
b7cda8a
commit 730659e
Showing
6 changed files
with
1,304 additions
and
203 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...a-plane/Microsoft.InstanceMetadataService/stable/2020-09-01/examples/GetAttestedData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"nonce": "abcde12345", | ||
"Metadata": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"encoding": "pkcs7", | ||
"signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...a-plane/Microsoft.InstanceMetadataService/stable/2020-09-01/examples/GetIdentityInfo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"Metadata": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"tenantId": "abd8daee-d393-4239-9377-883adda3d40f" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...-plane/Microsoft.InstanceMetadataService/stable/2020-09-01/examples/GetIdentityToken.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-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" | ||
} | ||
} | ||
} | ||
} |
122 changes: 122 additions & 0 deletions
122
...ane/Microsoft.InstanceMetadataService/stable/2020-09-01/examples/GetInstanceMetadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"Metadata": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"compute": { | ||
"azEnvironment": "AZUREPUBLICCLOUD", | ||
"isHostCompatibilityLayerVm": "true", | ||
"licenseType": "Windows_Server", | ||
"location": "westus", | ||
"name": "examplevmname", | ||
"offer": "Windows", | ||
"osProfile": { | ||
"adminUsername": "admin", | ||
"computerName": "examplevmname" | ||
}, | ||
"osType": "linux", | ||
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", | ||
"plan": { | ||
"name": "planName", | ||
"product": "planProduct", | ||
"publisher": "planPublisher" | ||
}, | ||
"platformFaultDomain": "36", | ||
"platformUpdateDomain": "42", | ||
"provider": "Microsoft.Compute", | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa 0", | ||
"path": "/home/user/.ssh/authorized_keys0" | ||
}, | ||
{ | ||
"keyData": "ssh-rsa 1", | ||
"path": "/home/user/.ssh/authorized_keys1" | ||
} | ||
], | ||
"publisher": "RDFE-Test-Microsoft-Windows-Server-Group", | ||
"resourceGroupName": "macikgo-test-may-23", | ||
"resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", | ||
"securityProfile": { | ||
"secureBootEnabled": "true", | ||
"virtualTpmEnabled": "false" | ||
}, | ||
"sku": "Windows-Server-2012-R2-Datacenter", | ||
"storageProfile": { | ||
"dataDisks": [ | ||
{ | ||
"caching": "None", | ||
"createOption": "Empty", | ||
"diskSizeGB": "1024", | ||
"image": { | ||
"uri": "" | ||
}, | ||
"lun": "0", | ||
"managedDisk": { | ||
"id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname", | ||
"storageAccountType": "Standard_LRS" | ||
}, | ||
"name": "exampledatadiskname", | ||
"vhd": { | ||
"uri": "" | ||
}, | ||
"writeAcceleratorEnabled": "false" | ||
} | ||
], | ||
"imageReference": { | ||
"id": "", | ||
"offer": "UbuntuServer", | ||
"publisher": "Canonical", | ||
"sku": "16.04.0-LTS", | ||
"version": "latest" | ||
}, | ||
"osDisk": { | ||
"caching": "ReadWrite", | ||
"createOption": "FromImage", | ||
"diskSizeGB": "30", | ||
"diffDiskSettings": { | ||
"option": "Local" | ||
}, | ||
"encryptionSettings": { | ||
"enabled": "false" | ||
}, | ||
"image": { | ||
"uri": "" | ||
}, | ||
"managedDisk": { | ||
"id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname", | ||
"storageAccountType": "Standard_LRS" | ||
}, | ||
"name": "exampleosdiskname", | ||
"osType": "Linux", | ||
"vhd": { | ||
"uri": "" | ||
}, | ||
"writeAcceleratorEnabled": "false" | ||
} | ||
}, | ||
"subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", | ||
"tags": "baz:bash;foo:bar", | ||
"tagsList": [ | ||
{ | ||
"name": "baz", | ||
"value": "bash" | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"version": "15.05.22", | ||
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", | ||
"vmScaleSetName": "crpteste9vflji9", | ||
"vmSize": "Standard_A3", | ||
"zone": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.