New-​Azure​Rm​Cdn​Custom​Domain

Creates a custom domain for a CDN endpoint.

Syntax

New-AzureRmCdnCustomDomain
   -CdnEndpoint <PSEndpoint>
   -CustomDomainName <String>
   -HostName <String>
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
New-AzureRmCdnCustomDomain
   -CustomDomainName <String>
   -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.

Examples

1:

Required Parameters

-CdnEndpoint

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

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

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

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

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

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False