Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.6.0 published on Friday, May 20, 2022 by Pulumi

EndpointCustomDomain

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/v5/go/azure/cdn"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/dns"
	"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("west europe")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
            .resourceGroupName(exampleResourceGroup.getName())
            .location(exampleResourceGroup.getLocation())
            .accountTier("Standard")
            .accountReplicationType("GRS")
            .build());

        var exampleProfile = new Profile("exampleProfile", ProfileArgs.builder()        
            .location(exampleResourceGroup.getLocation())
            .resourceGroupName(exampleResourceGroup.getName())
            .sku("Standard_Verizon")
            .build());

        var exampleEndpoint = new Endpoint("exampleEndpoint", EndpointArgs.builder()        
            .profileName(exampleProfile.getName())
            .location(exampleResourceGroup.getLocation())
            .resourceGroupName(exampleResourceGroup.getName())
            .origins(EndpointOrigin.builder()
                .name("example")
                .hostName(exampleAccount.getPrimaryBlobHost())
                .build())
            .build());

        final var exampleZone = Output.of(DnsFunctions.getZone(GetZoneArgs.builder()
            .name("example-domain.com")
            .resourceGroupName("domain-rg")
            .build()));

        var exampleCNameRecord = new CNameRecord("exampleCNameRecord", CNameRecordArgs.builder()        
            .zoneName(exampleZone.apply(getZoneResult -> getZoneResult.getName()))
            .resourceGroupName(exampleZone.apply(getZoneResult -> getZoneResult.getResourceGroupName()))
            .ttl(3600)
            .targetResourceId(exampleEndpoint.getId())
            .build());

        var exampleEndpointCustomDomain = new EndpointCustomDomain("exampleEndpointCustomDomain", EndpointCustomDomainArgs.builder()        
            .cdnEndpointId(exampleEndpoint.getId())
            .hostName(exampleCNameRecord.getName().apply(name -> String.format("%s.%s", name,exampleZone.apply(getZoneResult -> getZoneResult.getName()))))
            .build());

        }
}
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}"))
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}`),
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: west europe
  exampleAccount:
    type: azure:storage:Account
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
      accountTier: Standard
      accountReplicationType: GRS
  exampleProfile:
    type: azure:cdn:Profile
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      sku: Standard_Verizon
  exampleEndpoint:
    type: azure:cdn:Endpoint
    properties:
      profileName: ${exampleProfile.name}
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      origins:
        - name: example
          hostName: ${exampleAccount.primaryBlobHost}
  exampleCNameRecord:
    type: azure:dns:CNameRecord
    properties:
      zoneName: ${exampleZone.name}
      resourceGroupName: ${exampleZone.resourceGroupName}
      ttl: 3600
      targetResourceId: ${exampleEndpoint.id}
  exampleEndpointCustomDomain:
    type: azure:cdn:EndpointCustomDomain
    properties:
      cdnEndpointId: ${exampleEndpoint.id}
      hostName: ${exampleCNameRecord.name}.${exampleZone.name}
variables:
  exampleZone:
    Fn::Invoke:
      Function: azure:dns:getZone
      Arguments:
        name: example-domain.com
        resourceGroupName: domain-rg

Create a EndpointCustomDomain Resource

new EndpointCustomDomain(name: string, args: EndpointCustomDomainArgs, opts?: CustomResourceOptions);
@overload
def EndpointCustomDomain(resource_name: 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)
@overload
def EndpointCustomDomain(resource_name: str,
                         args: EndpointCustomDomainArgs,
                         opts: Optional[ResourceOptions] = 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.

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.

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

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 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 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 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 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.

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 an 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)
Resource lookup is not supported in YAML
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 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 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 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 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.

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

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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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 minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

EndpointCustomDomainUserManagedHttps

KeyVaultCertificateId string

The ID of the Key Vault Certificate that contains the HTTPS certificate.

TlsVersion string

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

KeyVaultCertificateId string

The ID of the Key Vault Certificate that contains the HTTPS certificate.

TlsVersion string

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

keyVaultCertificateId String

The ID of the Key Vault Certificate that contains the HTTPS certificate.

tlsVersion String

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

keyVaultCertificateId string

The ID of the Key Vault Certificate that contains the HTTPS certificate.

tlsVersion string

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

key_vault_certificate_id str

The ID of the Key Vault Certificate that contains the HTTPS certificate.

tls_version str

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). Defaults to TLS12.

keyVaultCertificateId String

The ID of the Key Vault Certificate that contains the HTTPS certificate.

tlsVersion String

The minimum TLS protocol version that is used for HTTPS. Possible values are TLS10 (representing TLS 1.0/1.1), TLS12 (representing TLS 1.2) and None (representing no minimums). 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

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.