github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/azure/r/security_group.html.markdown (about)

     1  ---
     2  layout: "azure"
     3  page_title: "Azure: azure_security_group"
     4  sidebar_current: "docs-azure-resource-security-group"
     5  description: |-
     6    Creates a new network security group within the context of the specified subscription.
     7  ---
     8  
     9  # azure\_security\_group
    10  
    11  Creates a new network security group within the context of the specified
    12  subscription.
    13  
    14  ## Example Usage
    15  
    16  ```
    17  resource "azure_security_group" "web" {
    18      name = "webservers"
    19      location = "West US"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `name` - (Required) The name of the security group. Changing this forces a
    28      new resource to be created.
    29  
    30  * `label` - (Optional) The identifier for the security group. The label can be
    31      up to 1024 characters long. Changing this forces a new resource to be
    32      created (defaults to the security group name)
    33  
    34  * `location` - (Required) The location/region where the security group is
    35      created. Changing this forces a new resource to be created.
    36  
    37  ## Attributes Reference
    38  
    39  The following attributes are exported:
    40  
    41  * `id` - The security group ID.
    42  * `label` - The identifier for the security group.