CustomDomainConfigurationArgs

data class CustomDomainConfigurationArgs(val certificateUrl: Output<String>? = null, val expectedTxtRecordName: Output<String>? = null, val expectedTxtRecordValue: Output<String>? = null, val fullyQualifiedDomainName: Output<String>, val identity: Output<CustomDomainIdentityArgs>? = null, val validationState: Output<Either<String, CustomDomainValidationState>>? = null) : ConvertibleToJava<CustomDomainConfigurationArgs>

A custom domain configuration that allows users to publish to their own domain name.

Constructors

Link copied to clipboard
constructor(certificateUrl: Output<String>? = null, expectedTxtRecordName: Output<String>? = null, expectedTxtRecordValue: Output<String>? = null, fullyQualifiedDomainName: Output<String>, identity: Output<CustomDomainIdentityArgs>? = null, validationState: Output<Either<String, CustomDomainValidationState>>? = null)

Properties

Link copied to clipboard
val certificateUrl: Output<String>? = null

The URL for the certificate that is used for publishing to the custom domain. We currently support certificates stored in Azure Key Vault only. While certificate URL can be either versioned URL of the following format https://{key-vault-name}.vault.azure.net/certificates/{certificate-name}/{version-id}, or unversioned URL of the following format (e.g., https://contosovault.vault.azure.net/certificates/contosocert, we support unversioned certificate URL only (e.g., https://contosovault.vault.azure.net/certificates/contosocert)

Link copied to clipboard
val expectedTxtRecordName: Output<String>? = null

Expected DNS TXT record name. Event Grid will check for a TXT record with this name in the DNS record set of the custom domain name to prove ownership over the domain. The values under this TXT record must contain the expected TXT record value.

Link copied to clipboard
val expectedTxtRecordValue: Output<String>? = null

Expected DNS TXT record value. Event Grid will check for a TXT record with this value in the DNS record set of the custom domain name to prove ownership over the domain.

Link copied to clipboard

Fully Qualified Domain Name (FQDN) for the custom domain.

Link copied to clipboard
val identity: Output<CustomDomainIdentityArgs>? = null

Identity info for accessing the certificate for the custom domain. This identity info must match an identity that has been set on the namespace.

Link copied to clipboard
val validationState: Output<Either<String, CustomDomainValidationState>>? = null

Validation state for the custom domain. This is a read only property and is initially set to 'Pending' and will be updated to 'Approved' by Event Grid only after ownership of the domain name has been successfully validated.

Functions

Link copied to clipboard
open override fun toJava(): CustomDomainConfigurationArgs