github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/azure/r/hosted_service.html.markdown (about)

     1  ---
     2  layout: "azure"
     3  page_title: "Azure: azure_hosted_service"
     4  sidebar_current: "docs-azure-hosted-service"
     5  description: |-
     6      Creates a new hosted service on Azure with its own .cloudapp.net domain.
     7  ---
     8  
     9  # azure\_hosted\_service
    10  
    11  Creates a new hosted service on Azure with its own .cloudapp.net domain.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "azure_hosted_service" "terraform-service" {
    17  	name = "terraform-service"
    18  	location = "North Europe"
    19      ephemeral_contents = false
    20  	description = "Hosted service created by Terraform."
    21      label = "tf-hs-01"
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `name` - (Required) The name of the hosted service. Must be unique on Azure.
    30  
    31  * `location` - (Required) The location where the hosted 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  * `ephemeral_contents` - (Required) A boolean value (true|false), specifying
    35      whether all the resources present in the hosted hosted service should be
    36      destroyed following the hosted service's destruction.
    37  
    38  * `reverse_dns_fqdn` - (Optional) The reverse of the fully qualified domain name
    39      for the hosted service.
    40  
    41  * `label` - (Optional) A label to be used for tracking purposes. Must be
    42      non-void. Defaults to `Made by Terraform.`.
    43  
    44  * `description` - (Optional) A description for the hosted service.
    45  
    46  ## Attributes Reference
    47  
    48  The following attributes are exported:
    49  
    50  * `id` - The hosted service ID. Coincides with the given `name`.