Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiskRP Swagger for 09/30 #11202

Merged
merged 82 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
e34ae17
add new version
mstomania Sep 16, 2020
176be2b
add incremental restore point swagger
mstomania Sep 16, 2020
fbe7153
update parameters
mstomania Sep 16, 2020
37ba8b3
fix data type
mstomania Sep 16, 2020
eb1b164
fix example parameter name
mstomania Sep 16, 2020
36a530f
fix example body
mstomania Sep 16, 2020
f7b9ab9
fix example
mstomania Sep 17, 2020
b692a83
fix allOf nesting
mstomania Sep 17, 2020
39c2a39
fix property typo
mstomania Sep 17, 2020
d077703
fix typo
mstomania Sep 17, 2020
57c7faa
run prettier formatting
mstomania Sep 17, 2020
63ce23c
update readme
mstomania Sep 17, 2020
9bb54aa
add default response
mstomania Sep 17, 2020
8a2b6ac
update version in disk.json
mstomania Sep 17, 2020
0dc97ff
address comments
mstomania Sep 25, 2020
cd6198f
fix
mstomania Sep 25, 2020
b9f1ebc
address comments
mstomania Sep 26, 2020
f3f0443
json beautify
mstomania Sep 26, 2020
515129c
updated examples and added purchasePlan
Oct 15, 2020
6d7d2b8
Add extended location to disks and snapshot
viananth Oct 22, 2020
6c36a8f
Add examples to support extended location
viananth Oct 22, 2020
4fcdfac
Add new example for disk creation in extended location
viananth Oct 23, 2020
fb07d6e
Update edge zone name in examples
viananth Oct 26, 2020
75e0475
Update disk.json
rahul602 Oct 27, 2020
4a0238e
add private endpoint connection ops, examples
chetmaddula Oct 28, 2020
5b1d4d9
Merge pull request #2 from viananth/vishnu/exl
scottlzhang Nov 2, 2020
abc312c
DES keyvault and identity changes
anpodar Nov 5, 2020
fbd7a21
Fix type
anpodar Nov 5, 2020
fe05204
Fix spacing
anpodar Nov 5, 2020
ff20da0
fix operationIds for private endpoint connections ops
chetmaddula Nov 20, 2020
eed7aae
Address comments and add example for DES with KV in different sub
anpodar Nov 20, 2020
df1c2ae
Merge pull request #5 from chetmaddula/master
scottlzhang Dec 7, 2020
05c173e
Added example for enabled and disable bursting
rahul602 Dec 7, 2020
96e01e8
Updated description for burstingEnabled
rahul602 Dec 7, 2020
957c0d4
Update disk.json
meet1993shah Dec 7, 2020
26d15ea
Update CreateAManagedDiskFromAPlatformImage.json
meet1993shah Dec 7, 2020
2ada922
Update GetInformationAboutAManagedDisk.json
meet1993shah Dec 7, 2020
b18a731
Update ListDiskRestorePointInVmRestorePoint.json
meet1993shah Dec 7, 2020
7c2e3d6
Merge pull request #3 from rahul602/master
scottlzhang Dec 7, 2020
227b504
Update GetInformationAboutASnapshot.json
meet1993shah Dec 7, 2020
f92f11e
Update GetInformationAboutASnapshot.json
meet1993shah Dec 7, 2020
f295f86
Update GetInformationAboutAManagedDisk.json
meet1993shah Dec 7, 2020
9350a6f
Update UpdateAManagedDiskToAddPurchasePlan.json
meet1993shah Dec 7, 2020
6411643
Update GetInformationAboutAManagedDisk.json
meet1993shah Dec 7, 2020
c24cc22
Update GetInformationAboutAManagedDisk.json
meet1993shah Dec 8, 2020
e709e9c
Update GetInformationAboutASnapshot.json
meet1993shah Dec 8, 2020
3bf27c4
Update CreateAManagedDiskFromAPlatformImage.json
meet1993shah Dec 8, 2020
e19d2cd
Update UpdateAManagedDiskToAddPurchasePlan.json
meet1993shah Dec 8, 2020
898284d
Merge pull request #1 from meet1993shah/dev/likzhan/swagger0930
scottlzhang Dec 8, 2020
bfbabe4
Merge pull request #7 from anpodar/dev/anpodar/DesSwagger
scottlzhang Dec 9, 2020
23514ae
Merge branch 'master' of https://github.com/scottlzhang/azure-rest-ap…
mstomania Dec 9, 2020
9748498
Merge branch 'master' into dev/likzhan/swagger0930
scottlzhang Dec 9, 2020
3d4bcb9
Merge branch 'dev/likzhan/swagger0930' of https://github.com/scottlzh…
mstomania Dec 9, 2020
90bddee
prettier
mstomania Dec 10, 2020
258dec7
fix json
mstomania Dec 10, 2020
6f13580
add missing paramter for DiskAccess
mstomania Dec 10, 2020
7301806
fix json examples
mstomania Dec 10, 2020
dae2696
remove extra space
mstomania Dec 10, 2020
217286d
add required properties for privateEndPoint example json
mstomania Dec 10, 2020
a640f76
add missing references for example jsons
mstomania Dec 10, 2020
0a1df9d
fix json
mstomania Dec 10, 2020
7f266c9
add missing purchasePlan for DiskUpdateProperties
mstomania Dec 10, 2020
abe7c3f
fix readme
mstomania Dec 10, 2020
9124da3
update purchasePlan property descriptions to match compute.json
mstomania Dec 10, 2020
83b1965
update purchasePlan's required sequence to match compute.json
mstomania Dec 10, 2020
d14e9c9
update purchasePlan description to match compute.json
mstomania Dec 10, 2020
d34cfd4
fix privateEndPoint properties
mstomania Dec 10, 2020
97df117
fix param for approvePrivateEndpointConnection example
mstomania Dec 10, 2020
d809214
change PrivateEndpointConnection to proxyOnlyResource
mstomania Dec 10, 2020
11c02a3
add azure-resource for PrivateEndpointConnection
mstomania Dec 15, 2020
99b7cbd
remove list diskrestorepoint
mstomania Dec 15, 2020
33f2331
add description for snapshotsku
mstomania Dec 17, 2020
05039a9
add List diskRestorePoints and List privateEndpointConnections
mstomania Dec 29, 2020
300ea9f
run prettier
mstomania Dec 29, 2020
adde572
fix error
mstomania Jan 5, 2021
89a6c1f
Merge branch 'master' into dev/likzhan/swagger0930
scottlzhang Jan 5, 2021
0c6d012
fix hypervgeneration'
mstomania Jan 5, 2021
d86c569
Merge branch 'dev/likzhan/swagger0930' of https://github.com/scottlzh…
mstomania Jan 5, 2021
61c8299
add pageable for list privateEndPointConnections and list diskRestore…
mstomania Jan 13, 2021
f484c87
add missing nextLink for ListPrivateEndpointConnectionsResult
mstomania Jan 13, 2021
084359f
prettier
mstomania Jan 13, 2021
7caa912
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
mstomania Jan 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"diskAccessName": "myDiskAccess",
"privateEndpointConnectionName": "myPrivateEndpointConnection",
"privateEndpointConnection": {
"properties": {
"privateLinkServiceConnectionState ": {
scottlzhang marked this conversation as resolved.
Show resolved Hide resolved
"status": "Approved",
"description": "Approving myPrivateEndpointConnection"
}
},
"name": "myPrivateEndpointConnection"
}
},
"responses": {
"202": {
"body": {
"name": "myPrivateEndpointConenction",
"type": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
"properties": {
"provisioningState": "Updating"
}
}
},
"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"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"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": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"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": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"diskName": "myDisk",
"disk": {
"location": "West US",
"properties": {
"creationData": {
"createOption": "Copy",
"sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
}
}
}
},
"responses": {
"202": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Copy",
"sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
}
}
}
},
"200": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Copy",
"sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"diskName": "myDisk",
"disk": {
"location": "West US",
"properties": {
"creationData": {
"createOption": "Import",
"storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
},
"responses": {
"202": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Import",
"storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
},
"200": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Import",
"storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-09-30",
"diskName": "myDisk",
"disk": {
"location": "West US",
"properties": {
"creationData": {
"createOption": "Import",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
},
"responses": {
"202": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Import",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
},
"200": {
"body": {
"name": "myDisk",
"location": "West US",
"properties": {
"provisioningState": "Updating",
"creationData": {
"createOption": "Import",
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
}
}
}
}
}
}
Loading