From 2d301ee63cea9b3aa9a6ccc5ed4d468c8500a4eb Mon Sep 17 00:00:00 2001 From: EbruCucen Date: Mon, 29 May 2017 19:48:31 +0100 Subject: [PATCH] doc/provider/azure/vmss: markdown fix for managed-disk and a few typos (#14906) --- .../r/virtual_machine_scale_sets.html.markdown | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/website/source/docs/providers/azurerm/r/virtual_machine_scale_sets.html.markdown b/website/source/docs/providers/azurerm/r/virtual_machine_scale_sets.html.markdown index 90fccc2c35c0..78460b9999e7 100644 --- a/website/source/docs/providers/azurerm/r/virtual_machine_scale_sets.html.markdown +++ b/website/source/docs/providers/azurerm/r/virtual_machine_scale_sets.html.markdown @@ -1,7 +1,7 @@ --- layout: "azurerm" page_title: "Azure Resource Manager: azurerm_virtual_machine_scale_sets" -sidebar_current: "docs-azurerm-resource-virtualmachine-scale-sets" +sidebar_current: "docs-azurerm-resource-virtual-machine-scale-sets" description: |- Create a Virtual Machine scale set. --- @@ -108,7 +108,7 @@ resource "azurerm_virtual_machine_scale_set" "test" { ## Example Usage with Managed Disks -``` +```hcl resource "azurerm_resource_group" "test" { name = "acctestrg" location = "West US 2" @@ -189,7 +189,7 @@ resource "azurerm_virtual_machine_scale_set" "test" { } storage_profile_os_disk { - name = "myosdisk" + name = "" caching = "ReadWrite" create_option = "FromImage" managed_disk_type = "Standard_LRS" @@ -327,7 +327,7 @@ The following arguments are supported: `storage_profile_os_disk` supports the following: -* `name` - (Required) Specifies the disk name. +* `name` - (Required) Specifies the disk name. Should be blank (`""`) when `managed_disk_type` is specified. * `vhd_containers` - (Optional) Specifies the vhd uri. Cannot be used when `image` or `managed_disk_type` is specified. * `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_containers` or `image` is specified. * `create_option` - (Required) Specifies how the virtual machine should be created. The only possible option is `FromImage`. @@ -340,11 +340,10 @@ The following arguments are supported: `storage_profile_data_disk` supports the following: * `lun` - (Required) Specifies the Logical Unit Number of the disk in each virtual machine in the scale set. -`Premium_LRS`. * `create_option` - (Optional) Specifies how the data disk should be created. The only possible options are `FromImage` and `Empty`. * `caching` - (Optional) Specifies the caching requirements. Possible values include: `None` (default), `ReadOnly`, `ReadWrite`. * `disk_size_gb` - (Optional) Specifies the size of the disk in GB. This element is required when creating an empty disk. -* `managed_disk_type` - (Optional) Specifies the type of managed disk to create. Value must be either `Standard_LRS` or +* `managed_disk_type` - (Optional) Specifies the type of managed disk to create. Value must be either `Standard_LRS` or `Premium_LRS`. `storage_profile_image_reference` supports the following: