This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.cdn.getCustomDomain
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an existing custom domain within an endpoint. Azure REST API version: 2023-05-01.
Other available API versions: 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01.
Using getCustomDomain
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomDomain(args: GetCustomDomainArgs, opts?: InvokeOptions): Promise<GetCustomDomainResult>
function getCustomDomainOutput(args: GetCustomDomainOutputArgs, opts?: InvokeOptions): Output<GetCustomDomainResult>def get_custom_domain(custom_domain_name: Optional[str] = None,
                      endpoint_name: Optional[str] = None,
                      profile_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetCustomDomainResult
def get_custom_domain_output(custom_domain_name: Optional[pulumi.Input[str]] = None,
                      endpoint_name: Optional[pulumi.Input[str]] = None,
                      profile_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetCustomDomainResult]func LookupCustomDomain(ctx *Context, args *LookupCustomDomainArgs, opts ...InvokeOption) (*LookupCustomDomainResult, error)
func LookupCustomDomainOutput(ctx *Context, args *LookupCustomDomainOutputArgs, opts ...InvokeOption) LookupCustomDomainResultOutput> Note: This function is named LookupCustomDomain in the Go SDK.
public static class GetCustomDomain 
{
    public static Task<GetCustomDomainResult> InvokeAsync(GetCustomDomainArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomDomainResult> Invoke(GetCustomDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
public static Output<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cdn:getCustomDomain
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CustomDomain stringName 
- Name of the custom domain within an endpoint.
- EndpointName string
- Name of the endpoint under the profile which is unique globally.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- CustomDomain stringName 
- Name of the custom domain within an endpoint.
- EndpointName string
- Name of the endpoint under the profile which is unique globally.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- customDomain StringName 
- Name of the custom domain within an endpoint.
- endpointName String
- Name of the endpoint under the profile which is unique globally.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- customDomain stringName 
- Name of the custom domain within an endpoint.
- endpointName string
- Name of the endpoint under the profile which is unique globally.
- profileName string
- Name of the CDN profile which is unique within the resource group.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- custom_domain_ strname 
- Name of the custom domain within an endpoint.
- endpoint_name str
- Name of the endpoint under the profile which is unique globally.
- profile_name str
- Name of the CDN profile which is unique within the resource group.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- customDomain StringName 
- Name of the custom domain within an endpoint.
- endpointName String
- Name of the endpoint under the profile which is unique globally.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getCustomDomain Result
The following output properties are available:
- CustomHttps stringProvisioning State 
- Provisioning status of the custom domain.
- CustomHttps stringProvisioning Substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- HostName string
- The host name of the custom domain. Must be a domain name.
- Id string
- Resource ID.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning status of Custom Https of the custom domain.
- ResourceState string
- Resource status of the custom domain.
- SystemData Pulumi.Azure Native. Cdn. Outputs. System Data Response 
- Read only system data
- Type string
- Resource type.
- CustomHttps Pulumi.Parameters Azure | Pulumi.Native. Cdn. Outputs. Cdn Managed Https Parameters Response Azure Native. Cdn. Outputs. User Managed Https Parameters Response 
- Certificate parameters for securing custom HTTPS
- ValidationData string
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
- CustomHttps stringProvisioning State 
- Provisioning status of the custom domain.
- CustomHttps stringProvisioning Substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- HostName string
- The host name of the custom domain. Must be a domain name.
- Id string
- Resource ID.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning status of Custom Https of the custom domain.
- ResourceState string
- Resource status of the custom domain.
- SystemData SystemData Response 
- Read only system data
- Type string
- Resource type.
- CustomHttps CdnParameters Managed | UserHttps Parameters Response Managed Https Parameters Response 
- Certificate parameters for securing custom HTTPS
- ValidationData string
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
- customHttps StringProvisioning State 
- Provisioning status of the custom domain.
- customHttps StringProvisioning Substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- hostName String
- The host name of the custom domain. Must be a domain name.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning status of Custom Https of the custom domain.
- resourceState String
- Resource status of the custom domain.
- systemData SystemData Response 
- Read only system data
- type String
- Resource type.
- customHttps CdnParameters Managed | UserHttps Parameters Response Managed Https Parameters Response 
- Certificate parameters for securing custom HTTPS
- validationData String
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
- customHttps stringProvisioning State 
- Provisioning status of the custom domain.
- customHttps stringProvisioning Substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- hostName string
- The host name of the custom domain. Must be a domain name.
- id string
- Resource ID.
- name string
- Resource name.
- provisioningState string
- Provisioning status of Custom Https of the custom domain.
- resourceState string
- Resource status of the custom domain.
- systemData SystemData Response 
- Read only system data
- type string
- Resource type.
- customHttps CdnParameters Managed | UserHttps Parameters Response Managed Https Parameters Response 
- Certificate parameters for securing custom HTTPS
- validationData string
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
- custom_https_ strprovisioning_ state 
- Provisioning status of the custom domain.
- custom_https_ strprovisioning_ substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- host_name str
- The host name of the custom domain. Must be a domain name.
- id str
- Resource ID.
- name str
- Resource name.
- provisioning_state str
- Provisioning status of Custom Https of the custom domain.
- resource_state str
- Resource status of the custom domain.
- system_data SystemData Response 
- Read only system data
- type str
- Resource type.
- custom_https_ Cdnparameters Managed | UserHttps Parameters Response Managed Https Parameters Response 
- Certificate parameters for securing custom HTTPS
- validation_data str
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
- customHttps StringProvisioning State 
- Provisioning status of the custom domain.
- customHttps StringProvisioning Substate 
- Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
- hostName String
- The host name of the custom domain. Must be a domain name.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning status of Custom Https of the custom domain.
- resourceState String
- Resource status of the custom domain.
- systemData Property Map
- Read only system data
- type String
- Resource type.
- customHttps Property Map | Property MapParameters 
- Certificate parameters for securing custom HTTPS
- validationData String
- Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
Supporting Types
CdnCertificateSourceParametersResponse    
- CertificateType string
- Type of certificate used
- TypeName string
- CertificateType string
- Type of certificate used
- TypeName string
- certificateType String
- Type of certificate used
- typeName String
- certificateType string
- Type of certificate used
- typeName string
- certificate_type str
- Type of certificate used
- type_name str
- certificateType String
- Type of certificate used
- typeName String
CdnManagedHttpsParametersResponse    
- CertificateSource Pulumi.Parameters Azure Native. Cdn. Inputs. Cdn Certificate Source Parameters Response 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- ProtocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- MinimumTls stringVersion 
- TLS protocol version that will be used for Https
- CertificateSource CdnParameters Certificate Source Parameters Response 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- ProtocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- MinimumTls stringVersion 
- TLS protocol version that will be used for Https
- certificateSource CdnParameters Certificate Source Parameters Response 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- protocolType String
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls StringVersion 
- TLS protocol version that will be used for Https
- certificateSource CdnParameters Certificate Source Parameters Response 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- protocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls stringVersion 
- TLS protocol version that will be used for Https
- certificate_source_ Cdnparameters Certificate Source Parameters Response 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- protocol_type str
- Defines the TLS extension protocol that is used for secure delivery.
- minimum_tls_ strversion 
- TLS protocol version that will be used for Https
- certificateSource Property MapParameters 
- Defines the certificate source parameters using CDN managed certificate for enabling SSL.
- protocolType String
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls StringVersion 
- TLS protocol version that will be used for Https
KeyVaultCertificateSourceParametersResponse     
- DeleteRule string
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- ResourceGroup stringName 
- Resource group of the user's Key Vault containing the SSL certificate
- SecretName string
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- SubscriptionId string
- Subscription Id of the user's Key Vault containing the SSL certificate
- TypeName string
- UpdateRule string
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- VaultName string
- The name of the user's Key Vault containing the SSL certificate
- SecretVersion string
- The version(GUID) of Key Vault Secret in Key Vault.
- DeleteRule string
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- ResourceGroup stringName 
- Resource group of the user's Key Vault containing the SSL certificate
- SecretName string
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- SubscriptionId string
- Subscription Id of the user's Key Vault containing the SSL certificate
- TypeName string
- UpdateRule string
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- VaultName string
- The name of the user's Key Vault containing the SSL certificate
- SecretVersion string
- The version(GUID) of Key Vault Secret in Key Vault.
- deleteRule String
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- resourceGroup StringName 
- Resource group of the user's Key Vault containing the SSL certificate
- secretName String
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- subscriptionId String
- Subscription Id of the user's Key Vault containing the SSL certificate
- typeName String
- updateRule String
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- vaultName String
- The name of the user's Key Vault containing the SSL certificate
- secretVersion String
- The version(GUID) of Key Vault Secret in Key Vault.
- deleteRule string
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- resourceGroup stringName 
- Resource group of the user's Key Vault containing the SSL certificate
- secretName string
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- subscriptionId string
- Subscription Id of the user's Key Vault containing the SSL certificate
- typeName string
- updateRule string
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- vaultName string
- The name of the user's Key Vault containing the SSL certificate
- secretVersion string
- The version(GUID) of Key Vault Secret in Key Vault.
- delete_rule str
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- resource_group_ strname 
- Resource group of the user's Key Vault containing the SSL certificate
- secret_name str
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- subscription_id str
- Subscription Id of the user's Key Vault containing the SSL certificate
- type_name str
- update_rule str
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- vault_name str
- The name of the user's Key Vault containing the SSL certificate
- secret_version str
- The version(GUID) of Key Vault Secret in Key Vault.
- deleteRule String
- Describes the action that shall be taken when the certificate is removed from Key Vault.
- resourceGroup StringName 
- Resource group of the user's Key Vault containing the SSL certificate
- secretName String
- The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- subscriptionId String
- Subscription Id of the user's Key Vault containing the SSL certificate
- typeName String
- updateRule String
- Describes the action that shall be taken when the certificate is updated in Key Vault.
- vaultName String
- The name of the user's Key Vault containing the SSL certificate
- secretVersion String
- The version(GUID) of Key Vault Secret in Key Vault.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- 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
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- 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
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- 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
- createdBy stringType 
- The type of identity that created the resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- An identifier for the identity that last modified the resource
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- An identifier for the identity that last modified the resource
- last_modified_ strby_ type 
- 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
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
UserManagedHttpsParametersResponse    
- CertificateSource Pulumi.Parameters Azure Native. Cdn. Inputs. Key Vault Certificate Source Parameters Response 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- ProtocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- MinimumTls stringVersion 
- TLS protocol version that will be used for Https
- CertificateSource KeyParameters Vault Certificate Source Parameters Response 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- ProtocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- MinimumTls stringVersion 
- TLS protocol version that will be used for Https
- certificateSource KeyParameters Vault Certificate Source Parameters Response 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- protocolType String
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls StringVersion 
- TLS protocol version that will be used for Https
- certificateSource KeyParameters Vault Certificate Source Parameters Response 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- protocolType string
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls stringVersion 
- TLS protocol version that will be used for Https
- certificate_source_ Keyparameters Vault Certificate Source Parameters Response 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- protocol_type str
- Defines the TLS extension protocol that is used for secure delivery.
- minimum_tls_ strversion 
- TLS protocol version that will be used for Https
- certificateSource Property MapParameters 
- Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
- protocolType String
- Defines the TLS extension protocol that is used for secure delivery.
- minimumTls StringVersion 
- TLS protocol version that will be used for Https
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 v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi