-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update compute.json and disk.json for some issues and add zone and ro…
…lling upgrade. (#3642)
- Loading branch information
1 parent
39c122e
commit 0c86330
Showing
56 changed files
with
1,350 additions
and
64 deletions.
There are no files selected for viewing
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
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
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
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
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
46 changes: 46 additions & 0 deletions
46
...er/Microsoft.Compute/stable/2018-06-01/examples/CreateAManagedDiskByCopyingASnapshot.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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2018-06-01", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"name": "myDisk", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...6-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2018-06-01", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"name": "myDisk", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...8-06-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2018-06-01", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"name": "myDisk", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...er/Microsoft.Compute/stable/2018-06-01/examples/CreateAManagedDiskFromAPlatformImage.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,55 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2018-06-01", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"name": "myDisk", | ||
"location": "West US", | ||
"properties": { | ||
"osType": "Windows", | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"name": "myDisk", | ||
"location": "West US", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"osType": "Windows", | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "myDisk", | ||
"location": "West US", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"osType": "Windows", | ||
"creationData": { | ||
"createOption": "FromImage", | ||
"imageReference": { | ||
"id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.