NOTE: The Azure Service Management Provider has been superseded by the Azure Resource Manager Provider and is no longer being actively developed by HashiCorp employees. It continues to be supported by the community. We recommend using the Azure Resource Manager based Microsoft Azure Provider if possible.
azure_storage_service
Creates a new storage service on Azure in which storage containers may be created.
Example Usage
resource "azure_storage_service" "tfstor" { name = "tfstor" location = "West US" description = "Made by Terraform." account_type = "Standard_LRS" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the storage service. Must be between 4 and 24 lowercase-only characters or digits. Must be unique on Azure. -
location
- (Required) The location where the storage service should be created. For a list of all Azure locations, please consult this link. -
account_type
- (Required) The type of storage account to be created. Available options includeStandard_LRS
,Standard_ZRS
,Standard_GRS
,Standard_RAGRS
andPremium_LRS
. To learn more about the differences of each storage account type, please consult this link. -
affinity_group
- (Optional) The affinity group the storage service should belong to. -
properties
- (Optional) Key-value definition of additional properties associated to the storage service. For additional information on what these properties do, please consult this link. -
label
- (Optional) A label to be used for tracking purposes. Must be non-void. Defaults toMade by Terraform.
. -
description
- (Optional) A description for the storage service.
Attributes Reference
The following attributes are exported:
-
id
- The storage service ID. Coincides with the givenname
.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azure/r/storage_service.html