1. Packages
  2. Azure Classic
  3. API Docs
  4. cdn
  5. EndpointCustomDomain

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Custom Domain for a CDN Endpoint.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "west europe",
            });
            var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                AccountTier = "Standard",
                AccountReplicationType = "GRS",
            });
            var exampleProfile = new Azure.Cdn.Profile("exampleProfile", new Azure.Cdn.ProfileArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                Sku = "Standard_Verizon",
            });
            var exampleEndpoint = new Azure.Cdn.Endpoint("exampleEndpoint", new Azure.Cdn.EndpointArgs
            {
                ProfileName = exampleProfile.Name,
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                Origins = 
                {
                    new Azure.Cdn.Inputs.EndpointOriginArgs
                    {
                        Name = "example",
                        HostName = exampleAccount.PrimaryBlobHost,
                    },
                },
            });
            var exampleZone = Output.Create(Azure.Dns.GetZone.InvokeAsync(new Azure.Dns.GetZoneArgs
            {
                Name = "example-domain.com",
                ResourceGroupName = "domain-rg",
            }));
            var exampleCNameRecord = new Azure.Dns.CNameRecord("exampleCNameRecord", new Azure.Dns.CNameRecordArgs
            {
                ZoneName = exampleZone.Apply(exampleZone => exampleZone.Name),
                ResourceGroupName = exampleZone.Apply(exampleZone => exampleZone.ResourceGroupName),
                Ttl = 3600,
                TargetResourceId = exampleEndpoint.Id,
            });
            var exampleEndpointCustomDomain = new Azure.Cdn.EndpointCustomDomain("exampleEndpointCustomDomain", new Azure.Cdn.EndpointCustomDomainArgs
            {
                CdnEndpointId = exampleEndpoint.Id,
                HostName = Output.Tuple(exampleCNameRecord.Name, exampleZone).Apply(values =>
                {
                    var name = values.Item1;
                    var exampleZone = values.Item2;
                    return $"{name}.{exampleZone.Name}";
                }),
            });
        }
    
    }
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cdn"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/dns"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("west europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
    			ResourceGroupName:      exampleResourceGroup.Name,
    			Location:               exampleResourceGroup.Location,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("GRS"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleProfile, err := cdn.NewProfile(ctx, "exampleProfile", &cdn.ProfileArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("Standard_Verizon"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEndpoint, err := cdn.NewEndpoint(ctx, "exampleEndpoint", &cdn.EndpointArgs{
    			ProfileName:       exampleProfile.Name,
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Origins: cdn.EndpointOriginArray{
    				&cdn.EndpointOriginArgs{
    					Name:     pulumi.String("example"),
    					HostName: exampleAccount.PrimaryBlobHost,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleZone, err := dns.LookupZone(ctx, &dns.LookupZoneArgs{
    			Name:              "example-domain.com",
    			ResourceGroupName: pulumi.StringRef("domain-rg"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleCNameRecord, err := dns.NewCNameRecord(ctx, "exampleCNameRecord", &dns.CNameRecordArgs{
    			ZoneName:          pulumi.String(exampleZone.Name),
    			ResourceGroupName: pulumi.String(exampleZone.ResourceGroupName),
    			Ttl:               pulumi.Int(3600),
    			TargetResourceId:  exampleEndpoint.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cdn.NewEndpointCustomDomain(ctx, "exampleEndpointCustomDomain", &cdn.EndpointCustomDomainArgs{
    			CdnEndpointId: exampleEndpoint.ID(),
    			HostName: exampleCNameRecord.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("%v%v%v", name, ".", exampleZone.Name), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "west europe"});
    const exampleAccount = new azure.storage.Account("exampleAccount", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        accountTier: "Standard",
        accountReplicationType: "GRS",
    });
    const exampleProfile = new azure.cdn.Profile("exampleProfile", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "Standard_Verizon",
    });
    const exampleEndpoint = new azure.cdn.Endpoint("exampleEndpoint", {
        profileName: exampleProfile.name,
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        origins: [{
            name: "example",
            hostName: exampleAccount.primaryBlobHost,
        }],
    });
    const exampleZone = azure.dns.getZone({
        name: "example-domain.com",
        resourceGroupName: "domain-rg",
    });
    const exampleCNameRecord = new azure.dns.CNameRecord("exampleCNameRecord", {
        zoneName: exampleZone.then(exampleZone => exampleZone.name),
        resourceGroupName: exampleZone.then(exampleZone => exampleZone.resourceGroupName),
        ttl: 3600,
        targetResourceId: exampleEndpoint.id,
    });
    const exampleEndpointCustomDomain = new azure.cdn.EndpointCustomDomain("exampleEndpointCustomDomain", {
        cdnEndpointId: exampleEndpoint.id,
        hostName: pulumi.all([exampleCNameRecord.name, exampleZone]).apply(([name, exampleZone]) => `${name}.${exampleZone.name}`),
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="west europe")
    example_account = azure.storage.Account("exampleAccount",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        account_tier="Standard",
        account_replication_type="GRS")
    example_profile = azure.cdn.Profile("exampleProfile",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="Standard_Verizon")
    example_endpoint = azure.cdn.Endpoint("exampleEndpoint",
        profile_name=example_profile.name,
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        origins=[azure.cdn.EndpointOriginArgs(
            name="example",
            host_name=example_account.primary_blob_host,
        )])
    example_zone = azure.dns.get_zone(name="example-domain.com",
        resource_group_name="domain-rg")
    example_c_name_record = azure.dns.CNameRecord("exampleCNameRecord",
        zone_name=example_zone.name,
        resource_group_name=example_zone.resource_group_name,
        ttl=3600,
        target_resource_id=example_endpoint.id)
    example_endpoint_custom_domain = azure.cdn.EndpointCustomDomain("exampleEndpointCustomDomain",
        cdn_endpoint_id=example_endpoint.id,
        host_name=example_c_name_record.name.apply(lambda name: f"{name}.{example_zone.name}"))
    

    Example coming soon!

    Create EndpointCustomDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EndpointCustomDomain(name: string, args: EndpointCustomDomainArgs, opts?: CustomResourceOptions);
    @overload
    def EndpointCustomDomain(resource_name: str,
                             args: EndpointCustomDomainArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def EndpointCustomDomain(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             cdn_endpoint_id: Optional[str] = None,
                             host_name: Optional[str] = None,
                             cdn_managed_https: Optional[EndpointCustomDomainCdnManagedHttpsArgs] = None,
                             name: Optional[str] = None,
                             user_managed_https: Optional[EndpointCustomDomainUserManagedHttpsArgs] = None)
    func NewEndpointCustomDomain(ctx *Context, name string, args EndpointCustomDomainArgs, opts ...ResourceOption) (*EndpointCustomDomain, error)
    public EndpointCustomDomain(string name, EndpointCustomDomainArgs args, CustomResourceOptions? opts = null)
    public EndpointCustomDomain(String name, EndpointCustomDomainArgs args)
    public EndpointCustomDomain(String name, EndpointCustomDomainArgs args, CustomResourceOptions options)
    
    type: azure:cdn:EndpointCustomDomain
    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 EndpointCustomDomainArgs
    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 EndpointCustomDomainArgs
    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 EndpointCustomDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EndpointCustomDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EndpointCustomDomainArgs
    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 endpointCustomDomainResource = new Azure.Cdn.EndpointCustomDomain("endpointCustomDomainResource", new()
    {
        CdnEndpointId = "string",
        HostName = "string",
        CdnManagedHttps = new Azure.Cdn.Inputs.EndpointCustomDomainCdnManagedHttpsArgs
        {
            CertificateType = "string",
            ProtocolType = "string",
            TlsVersion = "string",
        },
        Name = "string",
        UserManagedHttps = new Azure.Cdn.Inputs.EndpointCustomDomainUserManagedHttpsArgs
        {
            KeyVaultCertificateId = "string",
            TlsVersion = "string",
        },
    });
    
    example, err := cdn.NewEndpointCustomDomain(ctx, "endpointCustomDomainResource", &cdn.EndpointCustomDomainArgs{
    	CdnEndpointId: pulumi.String("string"),
    	HostName:      pulumi.String("string"),
    	CdnManagedHttps: &cdn.EndpointCustomDomainCdnManagedHttpsArgs{
    		CertificateType: pulumi.String("string"),
    		ProtocolType:    pulumi.String("string"),
    		TlsVersion:      pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	UserManagedHttps: &cdn.EndpointCustomDomainUserManagedHttpsArgs{
    		KeyVaultCertificateId: pulumi.String("string"),
    		TlsVersion:            pulumi.String("string"),
    	},
    })
    
    var endpointCustomDomainResource = new EndpointCustomDomain("endpointCustomDomainResource", EndpointCustomDomainArgs.builder()
        .cdnEndpointId("string")
        .hostName("string")
        .cdnManagedHttps(EndpointCustomDomainCdnManagedHttpsArgs.builder()
            .certificateType("string")
            .protocolType("string")
            .tlsVersion("string")
            .build())
        .name("string")
        .userManagedHttps(EndpointCustomDomainUserManagedHttpsArgs.builder()
            .keyVaultCertificateId("string")
            .tlsVersion("string")
            .build())
        .build());
    
    endpoint_custom_domain_resource = azure.cdn.EndpointCustomDomain("endpointCustomDomainResource",
        cdn_endpoint_id="string",
        host_name="string",
        cdn_managed_https={
            "certificate_type": "string",
            "protocol_type": "string",
            "tls_version": "string",
        },
        name="string",
        user_managed_https={
            "key_vault_certificate_id": "string",
            "tls_version": "string",
        })
    
    const endpointCustomDomainResource = new azure.cdn.EndpointCustomDomain("endpointCustomDomainResource", {
        cdnEndpointId: "string",
        hostName: "string",
        cdnManagedHttps: {
            certificateType: "string",
            protocolType: "string",
            tlsVersion: "string",
        },
        name: "string",
        userManagedHttps: {
            keyVaultCertificateId: "string",
            tlsVersion: "string",
        },
    });
    
    type: azure:cdn:EndpointCustomDomain
    properties:
        cdnEndpointId: string
        cdnManagedHttps:
            certificateType: string
            protocolType: string
            tlsVersion: string
        hostName: string
        name: string
        userManagedHttps:
            keyVaultCertificateId: string
            tlsVersion: string
    

    EndpointCustomDomain 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 EndpointCustomDomain resource accepts the following input properties:

    CdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    HostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    CdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    Name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    UserManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    CdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    HostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    CdnManagedHttps EndpointCustomDomainCdnManagedHttpsArgs
    A cdn_managed_https block as defined below.
    Name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    UserManagedHttps EndpointCustomDomainUserManagedHttpsArgs
    A user_managed_https block as defined below.
    cdnEndpointId String
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    hostName String
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    name String
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    cdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    hostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    cdn_endpoint_id str
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    host_name str
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdn_managed_https EndpointCustomDomainCdnManagedHttpsArgs
    A cdn_managed_https block as defined below.
    name str
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    user_managed_https EndpointCustomDomainUserManagedHttpsArgs
    A user_managed_https block as defined below.
    cdnEndpointId String
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    hostName String
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps Property Map
    A cdn_managed_https block as defined below.
    name String
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps Property Map
    A user_managed_https block as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EndpointCustomDomain resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EndpointCustomDomain Resource

    Get an existing EndpointCustomDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EndpointCustomDomainState, opts?: CustomResourceOptions): EndpointCustomDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdn_endpoint_id: Optional[str] = None,
            cdn_managed_https: Optional[EndpointCustomDomainCdnManagedHttpsArgs] = None,
            host_name: Optional[str] = None,
            name: Optional[str] = None,
            user_managed_https: Optional[EndpointCustomDomainUserManagedHttpsArgs] = None) -> EndpointCustomDomain
    func GetEndpointCustomDomain(ctx *Context, name string, id IDInput, state *EndpointCustomDomainState, opts ...ResourceOption) (*EndpointCustomDomain, error)
    public static EndpointCustomDomain Get(string name, Input<string> id, EndpointCustomDomainState? state, CustomResourceOptions? opts = null)
    public static EndpointCustomDomain get(String name, Output<String> id, EndpointCustomDomainState state, CustomResourceOptions options)
    resources:  _:    type: azure:cdn:EndpointCustomDomain    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    CdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    HostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    Name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    UserManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    CdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    CdnManagedHttps EndpointCustomDomainCdnManagedHttpsArgs
    A cdn_managed_https block as defined below.
    HostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    Name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    UserManagedHttps EndpointCustomDomainUserManagedHttpsArgs
    A user_managed_https block as defined below.
    cdnEndpointId String
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    hostName String
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    name String
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    cdnEndpointId string
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps EndpointCustomDomainCdnManagedHttps
    A cdn_managed_https block as defined below.
    hostName string
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    name string
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps EndpointCustomDomainUserManagedHttps
    A user_managed_https block as defined below.
    cdn_endpoint_id str
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdn_managed_https EndpointCustomDomainCdnManagedHttpsArgs
    A cdn_managed_https block as defined below.
    host_name str
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    name str
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    user_managed_https EndpointCustomDomainUserManagedHttpsArgs
    A user_managed_https block as defined below.
    cdnEndpointId String
    The ID of the CDN Endpoint. Changing this forces a new CDN Endpoint Custom Domain to be created.
    cdnManagedHttps Property Map
    A cdn_managed_https block as defined below.
    hostName String
    The host name of the custom domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    name String
    The name which should be used for this CDN Endpoint Custom Domain. Changing this forces a new CDN Endpoint Custom Domain to be created.
    userManagedHttps Property Map
    A user_managed_https block as defined below.

    Supporting Types

    EndpointCustomDomainCdnManagedHttps, EndpointCustomDomainCdnManagedHttpsArgs

    CertificateType string
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    ProtocolType string
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    TlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    CertificateType string
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    ProtocolType string
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    TlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    certificateType String
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    protocolType String
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    tlsVersion String
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    certificateType string
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    protocolType string
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    tlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    certificate_type str
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    protocol_type str
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    tls_version str
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    certificateType String
    The type of HTTPS certificate. Possible values are Shared and Dedicated.
    protocolType String
    The type of protocol. Possible values are ServerNameIndication and IPBased.
    tlsVersion String
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.

    EndpointCustomDomainUserManagedHttps, EndpointCustomDomainUserManagedHttpsArgs

    KeyVaultCertificateId string
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    TlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    KeyVaultCertificateId string
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    TlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    keyVaultCertificateId String
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    tlsVersion String
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    keyVaultCertificateId string
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    tlsVersion string
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    key_vault_certificate_id str
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    tls_version str
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.
    keyVaultCertificateId String
    The ID of the Key Vault Certificate that contains the HTTPS certificate.
    tlsVersion String
    The TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1) and TLS12 (representing TLS 1.2). Defaults to TLS12.

    Import

    CDN Endpoint Custom Domains can be imported using the resource id, e.g.

     $ pulumi import azure:cdn/endpointCustomDomain:EndpointCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customDomains/domain1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.