1. Packages
  2. Azure Native v1
  3. API Docs
  4. cdn
  5. Profile
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.cdn.Profile

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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 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",
        ))
    
    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",
        },
    });
    
    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

    The Profile resource accepts the following input properties:

    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    Sku Pulumi.AzureNative.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.
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    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.
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    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.
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    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.
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    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.
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    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.
    tags 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.AzureNative.Cdn.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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.AzureNative.Cdn.SkuName
    Name of the pricing tier.
    Name string | SkuName
    Name of the pricing tier.
    name String | SkuName
    Name of the pricing tier.
    name string | SkuName
    Name of the pricing tier.
    name str | SkuName
    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_AzureFrontDoor
    Standard_AzureFrontDoor
    Premium_AzureFrontDoor
    Premium_AzureFrontDoor
    Standard_955BandWidth_ChinaCdn
    Standard_955BandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_AvgBandWidth_ChinaCdn
    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_ChinaCdn
    Standard_ChinaCdn
    SkuName_Standard_Microsoft
    Standard_Microsoft
    SkuName_Premium_ChinaCdn
    Premium_ChinaCdn
    SkuName_Standard_AzureFrontDoor
    Standard_AzureFrontDoor
    SkuName_Premium_AzureFrontDoor
    Premium_AzureFrontDoor
    SkuName_Standard_955BandWidth_ChinaCdn
    Standard_955BandWidth_ChinaCdn
    SkuName_Standard_AvgBandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    SkuName_StandardPlus_ChinaCdn
    StandardPlus_ChinaCdn
    SkuName_StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    SkuName_StandardPlus_AvgBandWidth_ChinaCdn
    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_AzureFrontDoor
    Standard_AzureFrontDoor
    Premium_AzureFrontDoor
    Premium_AzureFrontDoor
    Standard_955BandWidth_ChinaCdn
    Standard_955BandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_AvgBandWidth_ChinaCdn
    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_AzureFrontDoor
    Standard_AzureFrontDoor
    Premium_AzureFrontDoor
    Premium_AzureFrontDoor
    Standard_955BandWidth_ChinaCdn
    Standard_955BandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    Standard_AvgBandWidth_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_955BandWidth_ChinaCdn
    StandardPlus_AvgBandWidth_ChinaCdn
    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_AzureFrontDoor"
    Standard_AzureFrontDoor
    "Premium_AzureFrontDoor"
    Premium_AzureFrontDoor
    "Standard_955BandWidth_ChinaCdn"
    Standard_955BandWidth_ChinaCdn
    "Standard_AvgBandWidth_ChinaCdn"
    Standard_AvgBandWidth_ChinaCdn
    "StandardPlus_ChinaCdn"
    StandardPlus_ChinaCdn
    "StandardPlus_955BandWidth_ChinaCdn"
    StandardPlus_955BandWidth_ChinaCdn
    "StandardPlus_AvgBandWidth_ChinaCdn"
    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
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    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
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    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
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    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
    createdByType string
    The type of identity that created the resource
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    An identifier for the identity that last modified the resource
    lastModifiedByType string
    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_type str
    The type of identity that created the resource
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    An identifier for the identity that last modified the resource
    last_modified_by_type str
    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
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi