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

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

Syntax

Test-AzureRmCdnCustomDomain
    -EndpointName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    -CustomDomainHostName <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [<CommonParameters>]
Test-AzureRmCdnCustomDomain
    -CustomDomainHostName <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    -CdnEndpoint <PSEndpoint>
    [<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

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

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