-
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.
Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
- Loading branch information
Showing
60 changed files
with
17,159 additions
and
1 deletion.
There are no files selected for viewing
9,754 changes: 9,754 additions & 0 deletions
9,754
specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
Large diffs are not rendered by default.
Oops, something went wrong.
202 changes: 202 additions & 0 deletions
202
...able/2019-07-01/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.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,202 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"vmScaleSetName": "{vmss-name}", | ||
"api-version": "2019-07-01", | ||
"parameters": { | ||
"sku": { | ||
"tier": "Standard", | ||
"capacity": 3, | ||
"name": "Standard_D1_v2" | ||
}, | ||
"location": "westus", | ||
"properties": { | ||
"overprovision": true, | ||
"virtualMachineProfile": { | ||
"storageProfile": { | ||
"osDisk": { | ||
"caching": "ReadWrite", | ||
"image": { | ||
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"createOption": "FromImage", | ||
"name": "osDisk" | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"tier": "Standard", | ||
"capacity": 3, | ||
"name": "Standard_D1_v2" | ||
}, | ||
"name": "{vmss-name}", | ||
"properties": { | ||
"singlePlacementGroup": true, | ||
"overprovision": true, | ||
"uniqueId": "d6e9ab29-f8c9-4792-978c-ae2c07b98f17", | ||
"virtualMachineProfile": { | ||
"storageProfile": { | ||
"osDisk": { | ||
"osType": "Windows", | ||
"caching": "ReadWrite", | ||
"image": { | ||
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"createOption": "FromImage", | ||
"name": "osDisk" | ||
} | ||
}, | ||
"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", | ||
"type": "Microsoft.Compute/virtualMachineScaleSets", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"sku": { | ||
"tier": "Standard", | ||
"capacity": 3, | ||
"name": "Standard_D1_v2" | ||
}, | ||
"name": "{vmss-name}", | ||
"properties": { | ||
"singlePlacementGroup": true, | ||
"overprovision": true, | ||
"uniqueId": "d6e9ab29-f8c9-4792-978c-ae2c07b98f17", | ||
"virtualMachineProfile": { | ||
"storageProfile": { | ||
"osDisk": { | ||
"osType": "Windows", | ||
"caching": "ReadWrite", | ||
"image": { | ||
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"createOption": "FromImage", | ||
"name": "osDisk" | ||
} | ||
}, | ||
"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", | ||
"type": "Microsoft.Compute/virtualMachineScaleSets", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" | ||
} | ||
} | ||
} | ||
} |
145 changes: 145 additions & 0 deletions
145
...ute/stable/2019-07-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.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,145 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"vmName": "{vm-name}", | ||
"api-version": "2019-07-01", | ||
"parameters": { | ||
"location": "westus", | ||
"properties": { | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D1_v2" | ||
}, | ||
"storageProfile": { | ||
"osDisk": { | ||
"name": "myVMosdisk", | ||
"image": { | ||
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"osType": "Windows", | ||
"createOption": "FromImage", | ||
"caching": "ReadWrite", | ||
"vhd": { | ||
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" | ||
} | ||
} | ||
}, | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"computerName": "myVM", | ||
"adminPassword": "{your-password}" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", | ||
"type": "Microsoft.Compute/virtualMachines", | ||
"properties": { | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"secrets": [], | ||
"computerName": "myVM", | ||
"windowsConfiguration": { | ||
"provisionVMAgent": true, | ||
"enableAutomaticUpdates": true | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
}, | ||
"storageProfile": { | ||
"osDisk": { | ||
"name": "myVMosdisk", | ||
"image": { | ||
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"caching": "ReadWrite", | ||
"createOption": "FromImage", | ||
"osType": "Windows", | ||
"vhd": { | ||
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd" | ||
} | ||
}, | ||
"dataDisks": [] | ||
}, | ||
"vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b", | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D1_v2" | ||
}, | ||
"provisioningState": "Creating" | ||
}, | ||
"name": "myVM", | ||
"location": "westus" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", | ||
"type": "Microsoft.Compute/virtualMachines", | ||
"properties": { | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"secrets": [], | ||
"computerName": "myVM", | ||
"windowsConfiguration": { | ||
"provisionVMAgent": true, | ||
"enableAutomaticUpdates": true | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
}, | ||
"storageProfile": { | ||
"osDisk": { | ||
"name": "myVMosdisk", | ||
"image": { | ||
"uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd" | ||
}, | ||
"caching": "ReadWrite", | ||
"createOption": "FromImage", | ||
"osType": "Windows", | ||
"vhd": { | ||
"uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd" | ||
} | ||
}, | ||
"dataDisks": [] | ||
}, | ||
"vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b", | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D1_v2" | ||
}, | ||
"provisioningState": "Creating" | ||
}, | ||
"name": "myVM", | ||
"location": "westus" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.