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

     1  ---
     2  layout: "azurerm"
     3  page_title: "Azure Resource Manager: azurerm_cdn_profile"
     4  sidebar_current: "docs-azurerm-resource-cdn-profile"
     5  description: |-
     6    Create a CDN Profile to create a collection of CDN Endpoints.
     7  ---
     8  
     9  # azurerm\_cdn\_profile
    10  
    11  Create a CDN Profile to create a collection of CDN Endpoints.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "azurerm_resource_group" "test" {
    17    name     = "resourceGroup1"
    18    location = "West US"
    19  }
    20  
    21  resource "azurerm_cdn_profile" "test" {
    22    name                = "acceptanceTestCdnProfile1"
    23    location            = "West US"
    24    resource_group_name = "${azurerm_resource_group.test.name}"
    25    sku                 = "Standard_Verizon"
    26  
    27    tags {
    28      environment = "Production"
    29      cost_center = "MSFT"
    30    }
    31  }
    32  ```
    33  
    34  ## Argument Reference
    35  
    36  The following arguments are supported:
    37  
    38  * `name` - (Required) Specifies the name of the CDN Profile. Changing this forces a
    39      new resource to be created.
    40  
    41  * `resource_group_name` - (Required) The name of the resource group in which to
    42      create the CDN Profile.
    43  
    44  * `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    45  
    46  * `sku` - (Required) The pricing related information of current CDN profile. Accepted values are `Standard_Verizon`, `Standard_Akamai` or `Premium_Verizon`.
    47  
    48  * `tags` - (Optional) A mapping of tags to assign to the resource.
    49  
    50  ## Attributes Reference
    51  
    52  The following attributes are exported:
    53  
    54  * `id` - The CDN Profile ID.
    55  
    56  ## Import
    57  
    58  CDN Profiles can be imported using the `resource id`, e.g.
    59  
    60  ```hcl
    61  terraform import azurerm_cdn_profile.test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1
    62  ```