github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/azurerm/r/storage_queue.html.markdown (about)

     1  ---
     2  layout: "azurerm"
     3  page_title: "Azure Resource Manager: azurerm_storage_queue"
     4  sidebar_current: "docs-azurerm-resource-storage-queue"
     5  description: |-
     6    Create a Azure Storage Queue.
     7  ---
     8  
     9  # azurerm\_storage\_queue
    10  
    11  Create an Azure Storage Queue.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "azurerm_resource_group" "test" {
    17    name     = "acctestrg-%d"
    18    location = "westus"
    19  }
    20  
    21  resource "azurerm_storage_account" "test" {
    22    name                = "acctestacc%s"
    23    resource_group_name = "${azurerm_resource_group.test.name}"
    24    location            = "westus"
    25    account_type        = "Standard_LRS"
    26  }
    27  
    28  resource "azurerm_storage_queue" "test" {
    29    name                 = "mysamplequeue"
    30    resource_group_name  = "${azurerm_resource_group.test.name}"
    31    storage_account_name = "${azurerm_storage_account.test.name}"
    32  }
    33  ```
    34  
    35  ## Argument Reference
    36  
    37  The following arguments are supported:
    38  
    39  * `name` - (Required) The name of the storage queue. Must be unique within the storage account the queue is located.
    40  
    41  * `resource_group_name` - (Required) The name of the resource group in which to
    42      create the storage queue. Changing this forces a new resource to be created.
    43  
    44  * `storage_account_name` - (Required) Specifies the storage account in which to create the storage queue.
    45   Changing this forces a new resource to be created.
    46  
    47  ## Attributes Reference
    48  
    49  The following attributes are exported in addition to the arguments listed above:
    50  
    51  * `id` - The storage queue Resource ID.