Test-​Azure​Rm​Cdn​Custom​Domain

Checks whether a custom domain can be added to an endpoint.

Syntax

Test-AzureRmCdnCustomDomain
    -CdnEndpoint <PSEndpoint>
    -CustomDomainHostName <String>
    [<CommonParameters>]
Test-AzureRmCdnCustomDomain
    -CustomDomainHostName <String>
    -EndpointName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    [<CommonParameters>]

Description

The Test-AzureRmCdnCustomDomain cmdlet checks whether a custom domain can be added to an endpoint by validating the CName mapping.

Examples

1:

Required Parameters

-CdnEndpoint

Specifies the endpoint to which you want to add the custom domain.

Type:PSEndpoint
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-CustomDomainHostName

Specifies the host name of the custom domain.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EndpointName

Specifies the name of the endpoint to which you want to add the custom domain.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProfileName

Specifies the name of the profile.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False