-
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.
Added linuxConfiguration.provisionVMAgent and osProfile.allowExtensio…
…nOperations to Microsoft.Compute/stable/2018-06-01 (#3078) * added new api version 2018-06-01 * add osProfile.allowExtensionOperations and linuxConfiguration.provisionVMAgent * add examples * added older examples
- Loading branch information
1 parent
b6ca4df
commit d09cf3b
Showing
42 changed files
with
13,885 additions
and
0 deletions.
There are no files selected for viewing
8,081 changes: 8,081 additions & 0 deletions
8,081
specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
Large diffs are not rendered by default.
Oops, something went wrong.
202 changes: 202 additions & 0 deletions
202
...able/2018-06-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": "2017-12-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}" | ||
} | ||
} | ||
} | ||
} |
146 changes: 146 additions & 0 deletions
146
...ute/stable/2018-06-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,146 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"vmName": "{vm-name}", | ||
"api-version": "2017-12-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 | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"name": "myVM" | ||
} | ||
}, | ||
"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.