terraform/website/source/docs/providers/azurerm/r/cdn_profile.html.markdown

1.4 KiB

layout page_title sidebar_current description
azurerm Azure Resource Manager: azurerm_cdn_profile docs-azurerm-resource-cdn-profile Create a CDN Profile to create a collection of CDN Endpoints.

azurerm_cdn_profile

Create a CDN Profile to create a collection of CDN Endpoints.

Example Usage

resource "azurerm_resource_group" "test" {
    name = "resourceGroup1"
    location = "West US"
}

resource "azurerm_cdn_profile" "test" {
    name = "acceptanceTestCdnProfile1"
    location = "West US"
    resource_group_name = "${azurerm_resource_group.test.name}"
    sku = "Standard_Verizon"

    tags {
	environment = "Production"
	cost_center = "MSFT"
    }
}

Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the CDN Profile. Changing this forces a new resource to be created.

  • resource_group_name - (Required) The name of the resource group in which to create the CDN Profile.

  • location - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • sku - (Required) The pricing related information of current CDN profile. Accepted values are Standard_Verizon, Standard_Akamai or Premium_Verizon.

  • tags - (Optional) A mapping of tags to assign to the resource.

Attributes Reference

The following attributes are exported:

  • id - The CDN Profile ID.