< Back

Test-AzureRmCdnCustomDomain

Thu Apr 04, 2019 5:39 am

NAME Test-AzureRmCdnCustomDomain



SYNOPSIS

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





SYNTAX

Test-AzureRmCdnCustomDomain -CdnEndpoint <PSEndpoint> -CustomDomainHostName <String> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]



Test-AzureRmCdnCustomDomain -CustomDomainHostName <String> [-DefaultProfile <IAzureContextContainer>] -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.





PARAMETERS

-CdnEndpoint <PSEndpoint>

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



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-CustomDomainHostName <String>

Specifies the host name of the custom domain.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-EndpointName <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProfileName <String>

Specifies the name of the profile.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSEndpoint

Parameter 'CdnEndpoint' accepts value of type 'PSEndpoint' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Cdn.Models.Endpoint.PSValidateCustomDomainOutput







NOTES









1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... stomdomain

Get-AzureRmCdnCustomDomain

New-AzureRmCdnCustomDomain

Remove-AzureRmCdnCustomDomain