< Back

New-AzureRmCdnCustomDomain

Thu Apr 04, 2019 5:39 am

NAME New-AzureRmCdnCustomDomain



SYNOPSIS

Creates a custom domain for a CDN endpoint.





SYNTAX

New-AzureRmCdnCustomDomain -CdnEndpoint <PSEndpoint> -CustomDomainName <String> [-DefaultProfile <IAzureContextContainer>] -HostName <String>

[-Confirm] [-WhatIf] [<CommonParameters>]



New-AzureRmCdnCustomDomain -CustomDomainName <String> [-DefaultProfile <IAzureContextContainer>] -EndpointName <String> -HostName <String>

-ProfileName <String> -ResourceGroupName <String> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The New-AzureRmCdnCustomDomain cmdlet creates a custom domain for the Azure Content Delivery Network (CDN) endpoint.





PARAMETERS

-CdnEndpoint <PSEndpoint>

Specifies the CDN endpoint object to which the custom domain is added.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-CustomDomainName <String>

Specifies the resource 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.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-HostName <String>

Specifies the host name of 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 to which the custom domain belongs.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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.CustomDomain.PSCustomDomain







NOTES









1:















RELATED LINKS

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

Get-AzureRmCdnCustomDomain

Remove-AzureRmCdnCustomDomain

Test-AzureRmCdnCustomDomain