-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Added new Property DiffDiskPlacement for Ephemeral OS Disk. #8847
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
Merged
Merged
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
fa03850
Added diffDiskSettings property as part of Swagger changes needed for…
hari-bodicherla 2f52195
updated comment
hari-bodicherla 3286411
updated swagger specs for diffdisksettings property
hari-bodicherla f8934d4
updated swagger spec comments for diff disk settings [property
hari-bodicherla 6fdc54f
added example to create Diff OS disk scaleset
hari-bodicherla 1adb5e3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
hari-bodicherla 474d5b0
updated 2018-10-01 version specs with diffdisk property
hari-bodicherla 59315ed
added example file for creating VM with diffdisksettings property
hari-bodicherla 4f1e089
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
hari-bodicherla 41e9b0d
Merge remote-tracking branch 'upstream/master'
hari-bodicherla 80e525c
updated swagger changes for reimage operation in single vm
hari-bodicherla 27378b6
update examples
hari-bodicherla af7abc6
udpated examples
hari-bodicherla adb0812
fixed validation errors
hari-bodicherla 5dfa8d2
Merge remote-tracking branch 'upstream/master'
hari-bodicherla 4711b30
updated comments for reimage operation documentation
hari-bodicherla 1044260
resolved conflicts
hari-bodicherla 2820ac6
Updated examples and documentation for APIs in swagger
hari-bodicherla 4445c16
updated examples as per review comments
hari-bodicherla 99e8159
updated swagger documentation
hari-bodicherla 8d6e011
updated swagger documentation with zone details in the sku example
hari-bodicherla 2d93cea
updated swagger documentation and reverted the breaking changes
hari-bodicherla c8a90f1
updated examples as per swagger model
hari-bodicherla f72e642
updated swagger to remove the model validation errors for existing e…
hari-bodicherla 1f5446f
resolved conflcits
hari-bodicherla d3af091
Merge remote-tracking branch 'upstream/master'
hari-bodicherla 320840a
updated swagger
hari-bodicherla 22f1194
updated swagger
hari-bodicherla a44347e
Merge remote-tracking branch 'upstream/master'
hari-bodicherla 61b7b42
Added new property in DiffDiskSettings
hari-bodicherla 4015bff
updated swagger spec
hari-bodicherla 5ab793f
udpated swagger
hari-bodicherla 1437274
updated swagger spec
hari-bodicherla ccc13be
updated code
hari-bodicherla 0166c3c
updated code
hari-bodicherla d62edc0
udpated swagger
hari-bodicherla b375d43
updated code
hari-bodicherla File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
242 changes: 242 additions & 0 deletions
242
...mpute/stable/2019-12-01/examples/CreateAScaleSetWithDiffOsDiskUsingDiffDiskPlacement.json
This file contains hidden or 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,242 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "vmScaleSetName": "{vmss-name}", | ||
| "api-version": "2019-12-01", | ||
| "parameters": { | ||
| "sku": { | ||
| "tier": "Standard", | ||
| "capacity": 3, | ||
| "name": "Standard_DS1_v2" | ||
| }, | ||
| "properties": { | ||
| "overprovision": true, | ||
| "virtualMachineProfile": { | ||
| "storageProfile": { | ||
| "imageReference": { | ||
| "sku": "windows2016", | ||
| "publisher": "microsoft-ads", | ||
| "version": "latest", | ||
| "offer": "windows-data-science-vm" | ||
| }, | ||
| "osDisk": { | ||
| "caching": "ReadOnly", | ||
| "diffDiskSettings": { | ||
| "option": "Local", | ||
| "placement": "ResourceDisk" | ||
| }, | ||
| "managedDisk": { | ||
| "storageAccountType": "Standard_LRS" | ||
| }, | ||
| "createOption": "FromImage" | ||
| } | ||
| }, | ||
| "osProfile": { | ||
| "computerNamePrefix": "{vmss-name}", | ||
| "adminUsername": "{your-username}", | ||
| "adminPassword": "{your-password}" | ||
| }, | ||
| "networkProfile": { | ||
| "networkInterfaceConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "primary": true, | ||
| "enableIPForwarding": true, | ||
| "ipConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "subnet": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "upgradePolicy": { | ||
| "mode": "Manual" | ||
| } | ||
| }, | ||
| "plan": { | ||
| "publisher": "microsoft-ads", | ||
| "product": "windows-data-science-vm", | ||
| "name": "windows2016" | ||
| }, | ||
| "location": "westus" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "sku": { | ||
| "tier": "Standard", | ||
| "capacity": 3, | ||
| "name": "Standard_DS1_v2" | ||
| }, | ||
| "name": "{vmss-name}", | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}", | ||
| "plan": { | ||
| "publisher": "microsoft-ads", | ||
| "product": "standard-data-science-vm", | ||
| "name": "standard-data-science-vm" | ||
| }, | ||
| "type": "Microsoft.Compute/virtualMachineScaleSets", | ||
| "properties": { | ||
| "singlePlacementGroup": true, | ||
| "overprovision": true, | ||
| "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db", | ||
| "virtualMachineProfile": { | ||
| "storageProfile": { | ||
| "imageReference": { | ||
| "sku": "standard-data-science-vm", | ||
| "publisher": "microsoft-ads", | ||
| "version": "latest", | ||
| "offer": "standard-data-science-vm" | ||
| }, | ||
| "osDisk": { | ||
| "caching": "ReadOnly", | ||
| "diffDiskSettings": { | ||
| "option": "Local", | ||
| "placement": "ResourceDisk" | ||
| }, | ||
| "managedDisk": { | ||
| "storageAccountType": "Standard_LRS" | ||
| }, | ||
| "createOption": "FromImage" | ||
| } | ||
| }, | ||
| "osProfile": { | ||
| "computerNamePrefix": "{vmss-name}", | ||
| "adminUsername": "{your-username}", | ||
| "secrets": [], | ||
| "windowsConfiguration": { | ||
| "provisionVMAgent": true, | ||
| "enableAutomaticUpdates": true | ||
| } | ||
| }, | ||
| "networkProfile": { | ||
| "networkInterfaceConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "dnsSettings": { | ||
| "dnsServers": [] | ||
| }, | ||
| "primary": true, | ||
| "enableIPForwarding": true, | ||
| "ipConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "subnet": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" | ||
| }, | ||
| "privateIPAddressVersion": "IPv4" | ||
| } | ||
| } | ||
| ], | ||
| "enableAcceleratedNetworking": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "upgradePolicy": { | ||
| "mode": "Manual" | ||
| }, | ||
| "provisioningState": "Creating" | ||
| }, | ||
| "location": "westus" | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "sku": { | ||
| "tier": "Standard", | ||
| "capacity": 3, | ||
| "name": "Standard_DS1_v2" | ||
| }, | ||
| "name": "{vmss-name}", | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}", | ||
| "plan": { | ||
| "publisher": "microsoft-ads", | ||
| "product": "standard-data-science-vm", | ||
| "name": "standard-data-science-vm" | ||
| }, | ||
| "type": "Microsoft.Compute/virtualMachineScaleSets", | ||
| "properties": { | ||
| "singlePlacementGroup": true, | ||
| "overprovision": true, | ||
| "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db", | ||
| "virtualMachineProfile": { | ||
| "storageProfile": { | ||
| "imageReference": { | ||
| "sku": "standard-data-science-vm", | ||
| "publisher": "microsoft-ads", | ||
| "version": "latest", | ||
| "offer": "standard-data-science-vm" | ||
| }, | ||
| "osDisk": { | ||
| "caching": "ReadOnly", | ||
| "diffDiskSettings": { | ||
| "option": "Local", | ||
| "placement": "ResourceDisk" | ||
| }, | ||
| "managedDisk": { | ||
| "storageAccountType": "Standard_LRS" | ||
| }, | ||
| "createOption": "FromImage" | ||
| } | ||
| }, | ||
| "osProfile": { | ||
| "computerNamePrefix": "{vmss-name}", | ||
| "adminUsername": "{your-username}", | ||
| "secrets": [], | ||
| "windowsConfiguration": { | ||
| "provisionVMAgent": true, | ||
| "enableAutomaticUpdates": true | ||
| } | ||
| }, | ||
| "networkProfile": { | ||
| "networkInterfaceConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "dnsSettings": { | ||
| "dnsServers": [] | ||
| }, | ||
| "primary": true, | ||
| "enableIPForwarding": true, | ||
| "ipConfigurations": [ | ||
| { | ||
| "name": "{vmss-name}", | ||
| "properties": { | ||
| "subnet": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" | ||
| }, | ||
| "privateIPAddressVersion": "IPv4" | ||
| } | ||
| } | ||
| ], | ||
| "enableAcceleratedNetworking": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "upgradePolicy": { | ||
| "mode": "Manual" | ||
| }, | ||
| "provisioningState": "Creating" | ||
| }, | ||
| "location": "westus" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.