-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Compute] New API Version 2021-08-01 (#17118)
* new folder and files added for diskRP 2021-08-01 * Adding Location header to LRO responses examples * Add supportedCapabilities in SnapshotUpdateProperties model (#16768) * Add supportedCapabilities in SnapshotUpdateProperties model * Add an example for update acceleratedNetwork on snapshots * Fix example model * clean up * DiskRP swagger changes for TVM and CVM of version 2021-08-01 (#16671) * DiskRP swagger changes for TVM and CVM of version 2021-08-01 * adding examples for CVM * fix errors * fix errors * fix unreferences example file * fix for: additional properties not allowed error * fix spell check error * fix spell check for secureVMDiskEncryptionSetId property * fix prettier check * addressing comment * addressing comments * DiskRP Swagger changes for Remote Restore Point scenarios (#16636) * RRP changes * Fix prettier * including communityGallery.json in package * suppress bodytoplevelproperties Co-authored-by: Theodore Chang <thchan@microsoft.com> Co-authored-by: LU WU <laurawu19@gmail.com> Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com> Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com>
- Loading branch information
1 parent
ecf435f
commit 14b3b50
Showing
72 changed files
with
7,143 additions
and
2 deletions.
There are no files selected for viewing
3,781 changes: 3,781 additions & 0 deletions
3,781
specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json
Large diffs are not rendered by default.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
...anager/Microsoft.Compute/stable/2021-08-01/examples/ApprovePrivateEndpointConnection.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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-08-01", | ||
"diskAccessName": "myDiskAccess", | ||
"privateEndpointConnectionName": "myPrivateEndpointConnection", | ||
"privateEndpointConnection": { | ||
"properties": { | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Approving myPrivateEndpointConnection" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myPrivateEndpointConenction", | ||
"type": "Microsoft.Compute/diskAccesses/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"actionsRequired": "None", | ||
"description": "Approving myPrivateEndpointConnection", | ||
"status": "Approved" | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myPrivateEndpointConnectionName", | ||
"type": "Microsoft.Compute/diskAccesses/PrivateEndpointConnections", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess/privateEndpoinConnections/myPrivateEndpointConnectionName", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"actionsRequired": "None", | ||
"description": "Approving myPrivateEndpointConnection", | ||
"status": "Approved" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...-manager/Microsoft.Compute/stable/2021-08-01/examples/BeginGetAccessDiskRestorePoint.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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"restorePointCollectionName": "rpc", | ||
"vmRestorePointName": "vmrp", | ||
"diskRestorePointName": "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745", | ||
"api-version": "2021-08-01", | ||
"grantAccessData": { | ||
"access": "Read", | ||
"durationInSeconds": 300 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"accessSAS": "https://md-gpvmcxzlzxgd.partition.blob.storage.azure.net/xx3cqcx53f0v/abcd?sv=2014-02-14&sr=b&sk=key1&sig=XXX&st=2021-05-24T18:02:34Z&se=2021-05-24T18:19:14Z&sp=r" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ource-manager/Microsoft.Compute/stable/2021-08-01/examples/BeginGetAccessManagedDisk.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": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"diskName": "myDisk", | ||
"api-version": "2021-08-01", | ||
"grantAccessData": { | ||
"access": "Read", | ||
"durationInSeconds": 300 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"accessSAS": "https://md-gpvmcxzlzxgd.partition.blob.storage.azure.net/xx3cqcx53f0v/abcd?sv=2014-02-14&sr=b&sk=key1&sig=XXX&st=2021-05-24T18:02:34Z&se=2021-05-24T18:19:14Z&sp=r" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...crosoft.Compute/stable/2021-08-01/examples/BeginGetAccessManagedDiskWithVMGuestState.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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"diskName": "myDisk", | ||
"api-version": "2021-08-01", | ||
"grantAccessData": { | ||
"access": "Read", | ||
"durationInSeconds": 300, | ||
"getSecureVMGuestStateSAS": true | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"accessSAS": "https://md-gpvmcxzlzxgd.partition.blob.storage.azure.net/xx3cqcx53f0v/abcd?sv=2014-02-14&sr=b&sk=key1&sig=XXX&st=2021-05-24T18:02:34Z&se=2021-05-24T18:19:14Z&sp=r", | ||
"securityDataAccessSAS": "https://md-gpvmcxzlzxgd.partition.blob.storage.azure.net/xx3cqcx53f0v/b9bf5824-6122-49e0-ba22-042f76ccd8a1_vmgs?sv=2014-02-14&sr=b&sk=key1&sig=XXX&st=2021-05-24T18:02:34Z&se=2021-05-24T18:19:14Z&sp=r" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...resource-manager/Microsoft.Compute/stable/2021-08-01/examples/BeginGetAccessSnapshot.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": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"snapshotName": "mySnapshot", | ||
"api-version": "2021-08-01", | ||
"grantAccessData": { | ||
"access": "Read", | ||
"durationInSeconds": 300 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"accessSAS": "https://md-gpvmcxzlzxgd.partition.blob.storage.azure.net/xx3cqcx53f0v/abcd?sv=2014-02-14&sr=b&sk=key1&sig=XXX&st=2021-05-24T18:02:34Z&se=2021-05-24T18:19:14Z&sp=r" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...crosoft.Compute/stable/2021-08-01/examples/CreateAConfidentialVMDiskEncryptedWithCMK.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,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-08-01", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"location": "West US", | ||
"properties": { | ||
"osType": "Windows", | ||
"securityProfile": { | ||
"securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey", | ||
"secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" | ||
}, | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myDisk", | ||
"location": "West US", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"osType": "Windows", | ||
"securityProfile": { | ||
"securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey", | ||
"secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" | ||
}, | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myDisk", | ||
"location": "West US", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"osType": "Windows", | ||
"securityProfile": { | ||
"securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey", | ||
"secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" | ||
}, | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...pute/resource-manager/Microsoft.Compute/stable/2021-08-01/examples/CreateADiskAccess.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-08-01", | ||
"diskAccessName": "myDiskAccess", | ||
"diskAccess": { | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myDiskAccess", | ||
"location": "West US", | ||
"type": "Microsoft.Compute/diskAccesses" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myDiskAccess", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourcegroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess", | ||
"type": "Microsoft.Compute/diskAccesses", | ||
"location": "West US", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"timeCreated": "2020-05-01T04:41:35.079872+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...source-manager/Microsoft.Compute/stable/2021-08-01/examples/CreateADiskEncryptionSet.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,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-08-01", | ||
"diskEncryptionSetName": "myDiskEncryptionSet", | ||
"diskEncryptionSet": { | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"sourceVault": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" | ||
}, | ||
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myDiskEncryptionSet", | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"sourceVault": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" | ||
}, | ||
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey", | ||
"previousKeys": [] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myDiskEncryptionSet", | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"sourceVault": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" | ||
}, | ||
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey", | ||
"previousKeys": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...e/2021-08-01/examples/CreateADiskEncryptionSetWithKeyVaultFromADifferentSubscription.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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-08-01", | ||
"diskEncryptionSetName": "myDiskEncryptionSet", | ||
"diskEncryptionSet": { | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"keyUrl": "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myDiskEncryptionSet", | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"keyUrl": "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey", | ||
"previousKeys": [] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myDiskEncryptionSet", | ||
"location": "West US", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"activeKey": { | ||
"keyUrl": "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}" | ||
}, | ||
"encryptionType": "EncryptionAtRestWithCustomerKey", | ||
"previousKeys": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.