github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/azure/r/storage_service.html.markdown (about) 1 --- 2 layout: "azure" 3 page_title: "Azure: azure_storage_service" 4 sidebar_current: "docs-azure-storage-service" 5 description: |- 6 Creates a new storage service on Azure in which storage containers may be created. 7 --- 8 9 # azure\_storage\_service 10 11 Creates a new storage service on Azure in which storage containers may be created. 12 13 ## Example Usage 14 15 ``` 16 resource "azure_storage_service" "tfstor" { 17 name = "tfstor" 18 location = "West US" 19 description = "Made by Terraform." 20 account_type = "Standard_LRS" 21 } 22 ```` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `name` - (Required) The name of the storage service. Must be between 4 and 24 29 lowercase-only characters or digits. Must be unique on Azure. 30 31 * `location` - (Required) The location where the storage service should be created. 32 For a list of all Azure locations, please consult [this link](http://azure.microsoft.com/en-us/regions/). 33 34 * `account_type` - (Required) The type of storage account to be created. 35 Available options include `Standard_LRS`, `Standard_ZRS`, `Standard_GRS`, 36 `Standard_RAGRS` and `Premium_LRS`. To learn more about the differences 37 of each storage account type, please consult [this link](http://blogs.msdn.com/b/windowsazurestorage/archive/2013/12/11/introducing-read-access-geo-replicated-storage-ra-grs-for-windows-azure-storage.aspx). 38 39 * `affinity_group` - (Optional) The affinity group the storage service should 40 belong to. 41 42 * `properties` - (Optional) Key-value definition of additional properties 43 associated to the storage service. For additional information on what 44 these properties do, please consult [this link](https://msdn.microsoft.com/en-us/library/azure/hh452235.aspx). 45 46 * `label` - (Optional) A label to be used for tracking purposes. Must be 47 non-void. Defaults to `Made by Terraform.`. 48 49 * `description` - (Optional) A description for the storage service. 50 51 ## Attributes Reference 52 53 The following attributes are exported: 54 55 * `id` - The storage service ID. Coincides with the given `name`.