Use Incremental in sample, and Empty available for data disks
This commit is contained in:
parent
9343a9da82
commit
0c76579c0c
|
@ -74,7 +74,7 @@ resource "azurerm_template_deployment" "test" {
|
|||
}
|
||||
DEPLOY
|
||||
|
||||
deployment_mode = "Complete"
|
||||
deployment_mode = "Incremental"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ resource "azurerm_virtual_machine" "test" {
|
|||
name = "datadisk0"
|
||||
vhd_uri = "${azurerm_storage_account.test.primary_blob_endpoint}${azurerm_storage_container.test.name}/datadisk0.vhd"
|
||||
disk_size_gb = "1023"
|
||||
create_option = "empty"
|
||||
create_option = "Empty"
|
||||
lun = 0
|
||||
}
|
||||
|
||||
|
@ -345,7 +345,7 @@ For more information on the different example configurations, please check out t
|
|||
* `vhd_uri` - (Optional) Specifies the vhd uri. Changing this forces a new resource to be created. Cannot be used with managed disks.
|
||||
* `managed_disk_type` - (Optional) Specifies the type of managed disk to create. Value you must be either `Standard_LRS` or `Premium_LRS`. Cannot be used when `vhd_uri` is specified.
|
||||
* `managed_disk_id` - (Optional) Specifies an existing managed disk to use by id. Can only be used when `create_option` is `Attach`. Cannot be used when `vhd_uri` is specified.
|
||||
* `create_option` - (Required) Specifies how the virtual machine should be created. Possible values are `attach` and `FromImage`.
|
||||
* `create_option` - (Required) Specifies how the virtual machine should be created. Possible values are `Attach` and `FromImage`.
|
||||
* `caching` - (Optional) Specifies the caching requirements.
|
||||
* `image_uri` - (Optional) Specifies the image_uri in the form publisherName:offer:skus:version. `image_uri` can also specify the [VHD uri](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-cli-deploy-templates/#create-a-custom-vm-image) of a custom VM image to clone. When cloning a custom disk image the `os_type` documented below becomes required.
|
||||
* `os_type` - (Optional) Specifies the operating system Type, valid values are windows, linux.
|
||||
|
@ -357,7 +357,7 @@ For more information on the different example configurations, please check out t
|
|||
* `vhd_uri` - (Optional) Specifies the uri of the location in storage where the vhd for the virtual machine should be placed. Cannot be used with managed disks.
|
||||
* `managed_disk_type` - (Optional) Specifies the type of managed disk to create. Value you must be either `Standard_LRS` or `Premium_LRS`. Cannot be used when `vhd_uri` is specified.
|
||||
* `managed_disk_id` - (Optional) Specifies an existing managed disk to use by id. Can only be used when `create_option` is `Attach`. Cannot be used when `vhd_uri` is specified.
|
||||
* `create_option` - (Required) Specifies how the data disk should be created.
|
||||
* `create_option` - (Required) Specifies how the data disk should be created. Possible values are `Attach`, `FromImage` and `Empty`.
|
||||
* `disk_size_gb` - (Required) Specifies the size of the data disk in gigabytes.
|
||||
* `caching` - (Optional) Specifies the caching requirements.
|
||||
* `lun` - (Required) Specifies the logical unit number of the data disk.
|
||||
|
|
Loading…
Reference in New Issue