1. Packages
  2. Azure Native
  3. API Docs
  4. cdn
  5. AFDCustomDomain
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.cdn.AFDCustomDomain

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.

Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01.

Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the version guide for details.

Example Usage

AFDCustomDomains_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var afdCustomDomain = new AzureNative.Cdn.AFDCustomDomain("afdCustomDomain", new()
    {
        AzureDnsZone = new AzureNative.Cdn.Inputs.ResourceReferenceArgs
        {
            Id = "",
        },
        CustomDomainName = "domain1",
        HostName = "www.someDomain.net",
        ProfileName = "profile1",
        ResourceGroupName = "RG",
        TlsSettings = new AzureNative.Cdn.Inputs.AFDDomainHttpsParametersArgs
        {
            CertificateType = AzureNative.Cdn.AfdCertificateType.ManagedCertificate,
            MinimumTlsVersion = AzureNative.Cdn.AfdMinimumTlsVersion.TLS12,
        },
    });

});
Copy
package main

import (
	cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cdn.NewAFDCustomDomain(ctx, "afdCustomDomain", &cdn.AFDCustomDomainArgs{
			AzureDnsZone: &cdn.ResourceReferenceArgs{
				Id: pulumi.String(""),
			},
			CustomDomainName:  pulumi.String("domain1"),
			HostName:          pulumi.String("www.someDomain.net"),
			ProfileName:       pulumi.String("profile1"),
			ResourceGroupName: pulumi.String("RG"),
			TlsSettings: &cdn.AFDDomainHttpsParametersArgs{
				CertificateType:   pulumi.String(cdn.AfdCertificateTypeManagedCertificate),
				MinimumTlsVersion: cdn.AfdMinimumTlsVersionTLS12,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cdn.AFDCustomDomain;
import com.pulumi.azurenative.cdn.AFDCustomDomainArgs;
import com.pulumi.azurenative.cdn.inputs.ResourceReferenceArgs;
import com.pulumi.azurenative.cdn.inputs.AFDDomainHttpsParametersArgs;
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 afdCustomDomain = new AFDCustomDomain("afdCustomDomain", AFDCustomDomainArgs.builder()
            .azureDnsZone(ResourceReferenceArgs.builder()
                .id("")
                .build())
            .customDomainName("domain1")
            .hostName("www.someDomain.net")
            .profileName("profile1")
            .resourceGroupName("RG")
            .tlsSettings(AFDDomainHttpsParametersArgs.builder()
                .certificateType("ManagedCertificate")
                .minimumTlsVersion("TLS12")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const afdCustomDomain = new azure_native.cdn.AFDCustomDomain("afdCustomDomain", {
    azureDnsZone: {
        id: "",
    },
    customDomainName: "domain1",
    hostName: "www.someDomain.net",
    profileName: "profile1",
    resourceGroupName: "RG",
    tlsSettings: {
        certificateType: azure_native.cdn.AfdCertificateType.ManagedCertificate,
        minimumTlsVersion: azure_native.cdn.AfdMinimumTlsVersion.TLS12,
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

afd_custom_domain = azure_native.cdn.AFDCustomDomain("afdCustomDomain",
    azure_dns_zone={
        "id": "",
    },
    custom_domain_name="domain1",
    host_name="www.someDomain.net",
    profile_name="profile1",
    resource_group_name="RG",
    tls_settings={
        "certificate_type": azure_native.cdn.AfdCertificateType.MANAGED_CERTIFICATE,
        "minimum_tls_version": azure_native.cdn.AfdMinimumTlsVersion.TLS12,
    })
Copy
resources:
  afdCustomDomain:
    type: azure-native:cdn:AFDCustomDomain
    properties:
      azureDnsZone:
        id: ""
      customDomainName: domain1
      hostName: www.someDomain.net
      profileName: profile1
      resourceGroupName: RG
      tlsSettings:
        certificateType: ManagedCertificate
        minimumTlsVersion: TLS12
Copy

Create AFDCustomDomain Resource

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

Constructor syntax

new AFDCustomDomain(name: string, args: AFDCustomDomainArgs, opts?: CustomResourceOptions);
@overload
def AFDCustomDomain(resource_name: str,
                    args: AFDCustomDomainArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def AFDCustomDomain(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    host_name: Optional[str] = None,
                    profile_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    azure_dns_zone: Optional[ResourceReferenceArgs] = None,
                    custom_domain_name: Optional[str] = None,
                    extended_properties: Optional[Mapping[str, str]] = None,
                    pre_validated_custom_domain_resource_id: Optional[ResourceReferenceArgs] = None,
                    tls_settings: Optional[AFDDomainHttpsParametersArgs] = None)
func NewAFDCustomDomain(ctx *Context, name string, args AFDCustomDomainArgs, opts ...ResourceOption) (*AFDCustomDomain, error)
public AFDCustomDomain(string name, AFDCustomDomainArgs args, CustomResourceOptions? opts = null)
public AFDCustomDomain(String name, AFDCustomDomainArgs args)
public AFDCustomDomain(String name, AFDCustomDomainArgs args, CustomResourceOptions options)
type: azure-native:cdn:AFDCustomDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AFDCustomDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AFDCustomDomainArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AFDCustomDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AFDCustomDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AFDCustomDomainArgs
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 afdcustomDomainResource = new AzureNative.Cdn.AFDCustomDomain("afdcustomDomainResource", new()
{
    HostName = "string",
    ProfileName = "string",
    ResourceGroupName = "string",
    AzureDnsZone = new AzureNative.Cdn.Inputs.ResourceReferenceArgs
    {
        Id = "string",
    },
    CustomDomainName = "string",
    ExtendedProperties = 
    {
        { "string", "string" },
    },
    PreValidatedCustomDomainResourceId = new AzureNative.Cdn.Inputs.ResourceReferenceArgs
    {
        Id = "string",
    },
    TlsSettings = new AzureNative.Cdn.Inputs.AFDDomainHttpsParametersArgs
    {
        CertificateType = "string",
        MinimumTlsVersion = AzureNative.Cdn.AfdMinimumTlsVersion.TLS10,
        Secret = new AzureNative.Cdn.Inputs.ResourceReferenceArgs
        {
            Id = "string",
        },
    },
});
Copy
example, err := cdn.NewAFDCustomDomain(ctx, "afdcustomDomainResource", &cdn.AFDCustomDomainArgs{
	HostName:          pulumi.String("string"),
	ProfileName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	AzureDnsZone: &cdn.ResourceReferenceArgs{
		Id: pulumi.String("string"),
	},
	CustomDomainName: pulumi.String("string"),
	ExtendedProperties: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	PreValidatedCustomDomainResourceId: &cdn.ResourceReferenceArgs{
		Id: pulumi.String("string"),
	},
	TlsSettings: &cdn.AFDDomainHttpsParametersArgs{
		CertificateType:   pulumi.String("string"),
		MinimumTlsVersion: cdn.AfdMinimumTlsVersionTLS10,
		Secret: &cdn.ResourceReferenceArgs{
			Id: pulumi.String("string"),
		},
	},
})
Copy
var afdcustomDomainResource = new AFDCustomDomain("afdcustomDomainResource", AFDCustomDomainArgs.builder()
    .hostName("string")
    .profileName("string")
    .resourceGroupName("string")
    .azureDnsZone(ResourceReferenceArgs.builder()
        .id("string")
        .build())
    .customDomainName("string")
    .extendedProperties(Map.of("string", "string"))
    .preValidatedCustomDomainResourceId(ResourceReferenceArgs.builder()
        .id("string")
        .build())
    .tlsSettings(AFDDomainHttpsParametersArgs.builder()
        .certificateType("string")
        .minimumTlsVersion("TLS10")
        .secret(ResourceReferenceArgs.builder()
            .id("string")
            .build())
        .build())
    .build());
Copy
afdcustom_domain_resource = azure_native.cdn.AFDCustomDomain("afdcustomDomainResource",
    host_name="string",
    profile_name="string",
    resource_group_name="string",
    azure_dns_zone={
        "id": "string",
    },
    custom_domain_name="string",
    extended_properties={
        "string": "string",
    },
    pre_validated_custom_domain_resource_id={
        "id": "string",
    },
    tls_settings={
        "certificate_type": "string",
        "minimum_tls_version": azure_native.cdn.AfdMinimumTlsVersion.TLS10,
        "secret": {
            "id": "string",
        },
    })
Copy
const afdcustomDomainResource = new azure_native.cdn.AFDCustomDomain("afdcustomDomainResource", {
    hostName: "string",
    profileName: "string",
    resourceGroupName: "string",
    azureDnsZone: {
        id: "string",
    },
    customDomainName: "string",
    extendedProperties: {
        string: "string",
    },
    preValidatedCustomDomainResourceId: {
        id: "string",
    },
    tlsSettings: {
        certificateType: "string",
        minimumTlsVersion: azure_native.cdn.AfdMinimumTlsVersion.TLS10,
        secret: {
            id: "string",
        },
    },
});
Copy
type: azure-native:cdn:AFDCustomDomain
properties:
    azureDnsZone:
        id: string
    customDomainName: string
    extendedProperties:
        string: string
    hostName: string
    preValidatedCustomDomainResourceId:
        id: string
    profileName: string
    resourceGroupName: string
    tlsSettings:
        certificateType: string
        minimumTlsVersion: TLS10
        secret:
            id: string
Copy

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

HostName This property is required. string
The host name of the domain. Must be a domain name.
ProfileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
AzureDnsZone Pulumi.AzureNative.Cdn.Inputs.ResourceReference
Resource reference to the Azure DNS zone
CustomDomainName Changes to this property will trigger replacement. string
Name of the domain under the profile which is unique globally
ExtendedProperties Dictionary<string, string>
Key-Value pair representing migration properties for domains.
PreValidatedCustomDomainResourceId Pulumi.AzureNative.Cdn.Inputs.ResourceReference
Resource reference to the Azure resource where custom domain ownership was prevalidated
TlsSettings Pulumi.AzureNative.Cdn.Inputs.AFDDomainHttpsParameters
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
HostName This property is required. string
The host name of the domain. Must be a domain name.
ProfileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
AzureDnsZone ResourceReferenceArgs
Resource reference to the Azure DNS zone
CustomDomainName Changes to this property will trigger replacement. string
Name of the domain under the profile which is unique globally
ExtendedProperties map[string]string
Key-Value pair representing migration properties for domains.
PreValidatedCustomDomainResourceId ResourceReferenceArgs
Resource reference to the Azure resource where custom domain ownership was prevalidated
TlsSettings AFDDomainHttpsParametersArgs
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
hostName This property is required. String
The host name of the domain. Must be a domain name.
profileName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.
azureDnsZone ResourceReference
Resource reference to the Azure DNS zone
customDomainName Changes to this property will trigger replacement. String
Name of the domain under the profile which is unique globally
extendedProperties Map<String,String>
Key-Value pair representing migration properties for domains.
preValidatedCustomDomainResourceId ResourceReference
Resource reference to the Azure resource where custom domain ownership was prevalidated
tlsSettings AFDDomainHttpsParameters
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
hostName This property is required. string
The host name of the domain. Must be a domain name.
profileName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
azureDnsZone ResourceReference
Resource reference to the Azure DNS zone
customDomainName Changes to this property will trigger replacement. string
Name of the domain under the profile which is unique globally
extendedProperties {[key: string]: string}
Key-Value pair representing migration properties for domains.
preValidatedCustomDomainResourceId ResourceReference
Resource reference to the Azure resource where custom domain ownership was prevalidated
tlsSettings AFDDomainHttpsParameters
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
host_name This property is required. str
The host name of the domain. Must be a domain name.
profile_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Resource group within the Azure subscription.
azure_dns_zone ResourceReferenceArgs
Resource reference to the Azure DNS zone
custom_domain_name Changes to this property will trigger replacement. str
Name of the domain under the profile which is unique globally
extended_properties Mapping[str, str]
Key-Value pair representing migration properties for domains.
pre_validated_custom_domain_resource_id ResourceReferenceArgs
Resource reference to the Azure resource where custom domain ownership was prevalidated
tls_settings AFDDomainHttpsParametersArgs
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
hostName This property is required. String
The host name of the domain. Must be a domain name.
profileName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.
azureDnsZone Property Map
Resource reference to the Azure DNS zone
customDomainName Changes to this property will trigger replacement. String
Name of the domain under the profile which is unique globally
extendedProperties Map<String>
Key-Value pair representing migration properties for domains.
preValidatedCustomDomainResourceId Property Map
Resource reference to the Azure resource where custom domain ownership was prevalidated
tlsSettings Property Map
The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
DeploymentStatus string
DomainValidationState string
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
Provisioning status
SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse
Read only system data
Type string
Resource type.
ValidationProperties Pulumi.AzureNative.Cdn.Outputs.DomainValidationPropertiesResponse
Values the customer needs to validate domain ownership
AzureApiVersion string
The Azure API version of the resource.
DeploymentStatus string
DomainValidationState string
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
Provisioning status
SystemData SystemDataResponse
Read only system data
Type string
Resource type.
ValidationProperties DomainValidationPropertiesResponse
Values the customer needs to validate domain ownership
azureApiVersion String
The Azure API version of the resource.
deploymentStatus String
domainValidationState String
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
Provisioning status
systemData SystemDataResponse
Read only system data
type String
Resource type.
validationProperties DomainValidationPropertiesResponse
Values the customer needs to validate domain ownership
azureApiVersion string
The Azure API version of the resource.
deploymentStatus string
domainValidationState string
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name.
provisioningState string
Provisioning status
systemData SystemDataResponse
Read only system data
type string
Resource type.
validationProperties DomainValidationPropertiesResponse
Values the customer needs to validate domain ownership
azure_api_version str
The Azure API version of the resource.
deployment_status str
domain_validation_state str
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name.
provisioning_state str
Provisioning status
system_data SystemDataResponse
Read only system data
type str
Resource type.
validation_properties DomainValidationPropertiesResponse
Values the customer needs to validate domain ownership
azureApiVersion String
The Azure API version of the resource.
deploymentStatus String
domainValidationState String
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
Provisioning status
systemData Property Map
Read only system data
type String
Resource type.
validationProperties Property Map
Values the customer needs to validate domain ownership

Supporting Types

AFDDomainHttpsParameters
, AFDDomainHttpsParametersArgs

CertificateType This property is required. string | Pulumi.AzureNative.Cdn.AfdCertificateType
Defines the source of the SSL certificate.
MinimumTlsVersion Pulumi.AzureNative.Cdn.AfdMinimumTlsVersion
TLS protocol version that will be used for Https
Secret Pulumi.AzureNative.Cdn.Inputs.ResourceReference
Resource reference to the secret. ie. subs/rg/profile/secret
CertificateType This property is required. string | AfdCertificateType
Defines the source of the SSL certificate.
MinimumTlsVersion AfdMinimumTlsVersion
TLS protocol version that will be used for Https
Secret ResourceReference
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. String | AfdCertificateType
Defines the source of the SSL certificate.
minimumTlsVersion AfdMinimumTlsVersion
TLS protocol version that will be used for Https
secret ResourceReference
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. string | AfdCertificateType
Defines the source of the SSL certificate.
minimumTlsVersion AfdMinimumTlsVersion
TLS protocol version that will be used for Https
secret ResourceReference
Resource reference to the secret. ie. subs/rg/profile/secret
certificate_type This property is required. str | AfdCertificateType
Defines the source of the SSL certificate.
minimum_tls_version AfdMinimumTlsVersion
TLS protocol version that will be used for Https
secret ResourceReference
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. String | "CustomerCertificate" | "ManagedCertificate" | "AzureFirstPartyManagedCertificate"
Defines the source of the SSL certificate.
minimumTlsVersion "TLS10" | "TLS12"
TLS protocol version that will be used for Https
secret Property Map
Resource reference to the secret. ie. subs/rg/profile/secret

AFDDomainHttpsParametersResponse
, AFDDomainHttpsParametersResponseArgs

CertificateType This property is required. string
Defines the source of the SSL certificate.
MinimumTlsVersion string
TLS protocol version that will be used for Https
Secret Pulumi.AzureNative.Cdn.Inputs.ResourceReferenceResponse
Resource reference to the secret. ie. subs/rg/profile/secret
CertificateType This property is required. string
Defines the source of the SSL certificate.
MinimumTlsVersion string
TLS protocol version that will be used for Https
Secret ResourceReferenceResponse
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. String
Defines the source of the SSL certificate.
minimumTlsVersion String
TLS protocol version that will be used for Https
secret ResourceReferenceResponse
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. string
Defines the source of the SSL certificate.
minimumTlsVersion string
TLS protocol version that will be used for Https
secret ResourceReferenceResponse
Resource reference to the secret. ie. subs/rg/profile/secret
certificate_type This property is required. str
Defines the source of the SSL certificate.
minimum_tls_version str
TLS protocol version that will be used for Https
secret ResourceReferenceResponse
Resource reference to the secret. ie. subs/rg/profile/secret
certificateType This property is required. String
Defines the source of the SSL certificate.
minimumTlsVersion String
TLS protocol version that will be used for Https
secret Property Map
Resource reference to the secret. ie. subs/rg/profile/secret

AfdCertificateType
, AfdCertificateTypeArgs

CustomerCertificate
CustomerCertificate
ManagedCertificate
ManagedCertificate
AzureFirstPartyManagedCertificate
AzureFirstPartyManagedCertificate
AfdCertificateTypeCustomerCertificate
CustomerCertificate
AfdCertificateTypeManagedCertificate
ManagedCertificate
AfdCertificateTypeAzureFirstPartyManagedCertificate
AzureFirstPartyManagedCertificate
CustomerCertificate
CustomerCertificate
ManagedCertificate
ManagedCertificate
AzureFirstPartyManagedCertificate
AzureFirstPartyManagedCertificate
CustomerCertificate
CustomerCertificate
ManagedCertificate
ManagedCertificate
AzureFirstPartyManagedCertificate
AzureFirstPartyManagedCertificate
CUSTOMER_CERTIFICATE
CustomerCertificate
MANAGED_CERTIFICATE
ManagedCertificate
AZURE_FIRST_PARTY_MANAGED_CERTIFICATE
AzureFirstPartyManagedCertificate
"CustomerCertificate"
CustomerCertificate
"ManagedCertificate"
ManagedCertificate
"AzureFirstPartyManagedCertificate"
AzureFirstPartyManagedCertificate

AfdMinimumTlsVersion
, AfdMinimumTlsVersionArgs

TLS10
TLS10
TLS12
TLS12
AfdMinimumTlsVersionTLS10
TLS10
AfdMinimumTlsVersionTLS12
TLS12
TLS10
TLS10
TLS12
TLS12
TLS10
TLS10
TLS12
TLS12
TLS10
TLS10
TLS12
TLS12
"TLS10"
TLS10
"TLS12"
TLS12

DomainValidationPropertiesResponse
, DomainValidationPropertiesResponseArgs

ExpirationDate This property is required. string
The date time that the token expires
ValidationToken This property is required. string
Challenge used for DNS TXT record or file based validation
ExpirationDate This property is required. string
The date time that the token expires
ValidationToken This property is required. string
Challenge used for DNS TXT record or file based validation
expirationDate This property is required. String
The date time that the token expires
validationToken This property is required. String
Challenge used for DNS TXT record or file based validation
expirationDate This property is required. string
The date time that the token expires
validationToken This property is required. string
Challenge used for DNS TXT record or file based validation
expiration_date This property is required. str
The date time that the token expires
validation_token This property is required. str
Challenge used for DNS TXT record or file based validation
expirationDate This property is required. String
The date time that the token expires
validationToken This property is required. String
Challenge used for DNS TXT record or file based validation

ResourceReference
, ResourceReferenceArgs

Id string
Resource ID.
Id string
Resource ID.
id String
Resource ID.
id string
Resource ID.
id str
Resource ID.
id String
Resource ID.

ResourceReferenceResponse
, ResourceReferenceResponseArgs

Id string
Resource ID.
Id string
Resource ID.
id String
Resource ID.
id string
Resource ID.
id str
Resource ID.
id String
Resource ID.

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:AFDCustomDomain domain1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi