azure-native.cdn.Profile
Explore with Pulumi AI
CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier. API Version: 2020-09-01.
Example Usage
Profiles_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Cdn.Profile("profile", new()
    {
        Location = "WestCentralUs",
        ProfileName = "profile1",
        ResourceGroupName = "RG",
        Sku = new AzureNative.Cdn.Inputs.SkuArgs
        {
            Name = "Standard_Verizon",
        },
    });
});
package main
import (
	cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cdn.NewProfile(ctx, "profile", &cdn.ProfileArgs{
			Location:          pulumi.String("WestCentralUs"),
			ProfileName:       pulumi.String("profile1"),
			ResourceGroupName: pulumi.String("RG"),
			Sku: &cdn.SkuArgs{
				Name: pulumi.String("Standard_Verizon"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cdn.Profile;
import com.pulumi.azurenative.cdn.ProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var profile = new Profile("profile", ProfileArgs.builder()        
            .location("WestCentralUs")
            .profileName("profile1")
            .resourceGroupName("RG")
            .sku(Map.of("name", "Standard_Verizon"))
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.cdn.Profile("profile", {
    location: "WestCentralUs",
    profileName: "profile1",
    resourceGroupName: "RG",
    sku: {
        name: "Standard_Verizon",
    },
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.cdn.Profile("profile",
    location="WestCentralUs",
    profile_name="profile1",
    resource_group_name="RG",
    sku=azure_native.cdn.SkuArgs(
        name="Standard_Verizon",
    ))
resources:
  profile:
    type: azure-native:cdn:Profile
    properties:
      location: WestCentralUs
      profileName: profile1
      resourceGroupName: RG
      sku:
        name: Standard_Verizon
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);@overload
def Profile(resource_name: str,
            args: ProfileArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[SkuArgs] = None,
            location: Optional[str] = None,
            profile_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: azure-native:cdn:Profile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var profileResource = new AzureNative.Cdn.Profile("profileResource", new()
{
    ResourceGroupName = "string",
    Sku = 
    {
        { "name", "string" },
    },
    Location = "string",
    ProfileName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := cdn.NewProfile(ctx, "profileResource", &cdn.ProfileArgs{
	ResourceGroupName: "string",
	Sku: map[string]interface{}{
		"name": "string",
	},
	Location:    "string",
	ProfileName: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
var profileResource = new Profile("profileResource", ProfileArgs.builder()
    .resourceGroupName("string")
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .profileName("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
profile_resource = azure_native.cdn.Profile("profileResource",
    resource_group_name=string,
    sku={
        name: string,
    },
    location=string,
    profile_name=string,
    tags={
        string: string,
    })
const profileResource = new azure_native.cdn.Profile("profileResource", {
    resourceGroupName: "string",
    sku: {
        name: "string",
    },
    location: "string",
    profileName: "string",
    tags: {
        string: "string",
    },
});
type: azure-native:cdn:Profile
properties:
    location: string
    profileName: string
    resourceGroupName: string
    sku:
        name: string
    tags:
        string: string
Profile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Profile resource accepts the following input properties:
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- Sku
Pulumi.Azure Native. Cdn. Inputs. Sku 
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- Location string
- Resource location.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- Sku
SkuArgs 
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- Location string
- Resource location.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- map[string]string
- Resource tags.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- sku Sku
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- location String
- Resource location.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- sku Sku
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- location string
- Resource location.
- profileName string
- Name of the CDN profile which is unique within the resource group.
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- sku
SkuArgs 
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- location str
- Resource location.
- profile_name str
- Name of the CDN profile which is unique within the resource group.
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- sku Property Map
- The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
- location String
- Resource location.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- FrontdoorId string
- The Id of the frontdoor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning status of the profile.
- ResourceState string
- Resource status of the profile.
- SystemData Pulumi.Azure Native. Cdn. Outputs. System Data Response 
- Read only system data
- Type string
- Resource type.
- FrontdoorId string
- The Id of the frontdoor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning status of the profile.
- ResourceState string
- Resource status of the profile.
- SystemData SystemData Response 
- Read only system data
- Type string
- Resource type.
- frontdoorId String
- The Id of the frontdoor.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- Provisioning status of the profile.
- resourceState String
- Resource status of the profile.
- systemData SystemData Response 
- Read only system data
- type String
- Resource type.
- frontdoorId string
- The Id of the frontdoor.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioningState string
- Provisioning status of the profile.
- resourceState string
- Resource status of the profile.
- systemData SystemData Response 
- Read only system data
- type string
- Resource type.
- frontdoor_id str
- The Id of the frontdoor.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_state str
- Provisioning status of the profile.
- resource_state str
- Resource status of the profile.
- system_data SystemData Response 
- Read only system data
- type str
- Resource type.
- frontdoorId String
- The Id of the frontdoor.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- Provisioning status of the profile.
- resourceState String
- Resource status of the profile.
- systemData Property Map
- Read only system data
- type String
- Resource type.
Supporting Types
Sku, SkuArgs  
- Name
string | Pulumi.Azure Native. Cdn. Sku Name 
- Name of the pricing tier.
- name
String | "Standard_Verizon" | "Premium_Verizon" | "Custom_Verizon" | "Standard_Akamai" | "Standard_ChinaCdn" | "Standard_Microsoft" | "Premium_China Cdn" | "Standard_Azure Front Door" | "Premium_Azure Front Door" | "Standard_955Band Width_China Cdn" | "Standard_Avg Band Width_China Cdn" | "Standard Plus_China Cdn" | "Standard Plus_955Band Width_China Cdn" | "Standard Plus_Avg Band Width_China Cdn" 
- Name of the pricing tier.
SkuName, SkuNameArgs    
- Standard_Verizon
- Standard_Verizon
- Premium_Verizon
- Premium_Verizon
- Custom_Verizon
- Custom_Verizon
- Standard_Akamai
- Standard_Akamai
- Standard_ChinaCdn 
- Standard_ChinaCdn
- Standard_Microsoft
- Standard_Microsoft
- Premium_ChinaCdn 
- Premium_ChinaCdn
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- Standard_955BandWidth_China Cdn 
- Standard_955BandWidth_ChinaCdn
- Standard_AvgBand Width_China Cdn 
- Standard_AvgBandWidth_ChinaCdn
- StandardPlus_China Cdn 
- StandardPlus_ChinaCdn
- StandardPlus_955Band Width_China Cdn 
- StandardPlus_955BandWidth_ChinaCdn
- StandardPlus_Avg Band Width_China Cdn 
- StandardPlus_AvgBandWidth_ChinaCdn
- SkuName_Standard_Verizon 
- Standard_Verizon
- SkuName_Premium_Verizon 
- Premium_Verizon
- SkuName_Custom_Verizon 
- Custom_Verizon
- SkuName_Standard_Akamai 
- Standard_Akamai
- SkuName_Standard_China Cdn 
- Standard_ChinaCdn
- SkuName_Standard_Microsoft 
- Standard_Microsoft
- SkuName_Premium_China Cdn 
- Premium_ChinaCdn
- SkuName_Standard_Azure Front Door 
- Standard_AzureFrontDoor
- SkuName_Premium_Azure Front Door 
- Premium_AzureFrontDoor
- SkuName_Standard_955Band Width_China Cdn 
- Standard_955BandWidth_ChinaCdn
- SkuName_Standard_Avg Band Width_China Cdn 
- Standard_AvgBandWidth_ChinaCdn
- SkuName_Standard Plus_China Cdn 
- StandardPlus_ChinaCdn
- SkuName_Standard Plus_955Band Width_China Cdn 
- StandardPlus_955BandWidth_ChinaCdn
- SkuName_Standard Plus_Avg Band Width_China Cdn 
- StandardPlus_AvgBandWidth_ChinaCdn
- Standard_Verizon
- Standard_Verizon
- Premium_Verizon
- Premium_Verizon
- Custom_Verizon
- Custom_Verizon
- Standard_Akamai
- Standard_Akamai
- Standard_ChinaCdn 
- Standard_ChinaCdn
- Standard_Microsoft
- Standard_Microsoft
- Premium_ChinaCdn 
- Premium_ChinaCdn
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- Standard_955BandWidth_China Cdn 
- Standard_955BandWidth_ChinaCdn
- Standard_AvgBand Width_China Cdn 
- Standard_AvgBandWidth_ChinaCdn
- StandardPlus_China Cdn 
- StandardPlus_ChinaCdn
- StandardPlus_955Band Width_China Cdn 
- StandardPlus_955BandWidth_ChinaCdn
- StandardPlus_Avg Band Width_China Cdn 
- StandardPlus_AvgBandWidth_ChinaCdn
- Standard_Verizon
- Standard_Verizon
- Premium_Verizon
- Premium_Verizon
- Custom_Verizon
- Custom_Verizon
- Standard_Akamai
- Standard_Akamai
- Standard_ChinaCdn 
- Standard_ChinaCdn
- Standard_Microsoft
- Standard_Microsoft
- Premium_ChinaCdn 
- Premium_ChinaCdn
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- Standard_955BandWidth_China Cdn 
- Standard_955BandWidth_ChinaCdn
- Standard_AvgBand Width_China Cdn 
- Standard_AvgBandWidth_ChinaCdn
- StandardPlus_China Cdn 
- StandardPlus_ChinaCdn
- StandardPlus_955Band Width_China Cdn 
- StandardPlus_955BandWidth_ChinaCdn
- StandardPlus_Avg Band Width_China Cdn 
- StandardPlus_AvgBandWidth_ChinaCdn
- STANDARD_VERIZON
- Standard_Verizon
- PREMIUM_VERIZON
- Premium_Verizon
- CUSTOM_VERIZON
- Custom_Verizon
- STANDARD_AKAMAI
- Standard_Akamai
- STANDARD_CHINA_CDN
- Standard_ChinaCdn
- STANDARD_MICROSOFT
- Standard_Microsoft
- PREMIUM_CHINA_CDN
- Premium_ChinaCdn
- STANDARD_AZURE_FRONT_DOOR
- Standard_AzureFrontDoor
- PREMIUM_AZURE_FRONT_DOOR
- Premium_AzureFrontDoor
- STANDARD_955_BAND_WIDTH_CHINA_CDN
- Standard_955BandWidth_ChinaCdn
- STANDARD_AVG_BAND_WIDTH_CHINA_CDN
- Standard_AvgBandWidth_ChinaCdn
- STANDARD_PLUS_CHINA_CDN
- StandardPlus_ChinaCdn
- STANDARD_PLUS_955_BAND_WIDTH_CHINA_CDN
- StandardPlus_955BandWidth_ChinaCdn
- STANDARD_PLUS_AVG_BAND_WIDTH_CHINA_CDN
- StandardPlus_AvgBandWidth_ChinaCdn
- "Standard_Verizon"
- Standard_Verizon
- "Premium_Verizon"
- Premium_Verizon
- "Custom_Verizon"
- Custom_Verizon
- "Standard_Akamai"
- Standard_Akamai
- "Standard_ChinaCdn" 
- Standard_ChinaCdn
- "Standard_Microsoft"
- Standard_Microsoft
- "Premium_ChinaCdn" 
- Premium_ChinaCdn
- "Standard_AzureFront Door" 
- Standard_AzureFrontDoor
- "Premium_AzureFront Door" 
- Premium_AzureFrontDoor
- "Standard_955BandWidth_China Cdn" 
- Standard_955BandWidth_ChinaCdn
- "Standard_AvgBand Width_China Cdn" 
- Standard_AvgBandWidth_ChinaCdn
- "StandardPlus_China Cdn" 
- StandardPlus_ChinaCdn
- "StandardPlus_955Band Width_China Cdn" 
- StandardPlus_955BandWidth_ChinaCdn
- "StandardPlus_Avg Band Width_China Cdn" 
- StandardPlus_AvgBandWidth_ChinaCdn
SkuResponse, SkuResponseArgs    
- Name string
- Name of the pricing tier.
- Name string
- Name of the pricing tier.
- name String
- Name of the pricing tier.
- name string
- Name of the pricing tier.
- name str
- Name of the pricing tier.
- name String
- Name of the pricing tier.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
- createdAt string
- The timestamp of resource creation (UTC)
- createdBy string
- An identifier for the identity that created the resource
- createdBy stringType 
- The type of identity that created the resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- An identifier for the identity that last modified the resource
- lastModified stringBy Type 
- The type of identity that last modified the resource
- created_at str
- The timestamp of resource creation (UTC)
- created_by str
- An identifier for the identity that created the resource
- created_by_ strtype 
- The type of identity that created the resource
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- An identifier for the identity that last modified the resource
- last_modified_ strby_ type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cdn:Profile profile1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0