New-​Azure​Rm​Cdn​Endpoint

Creates a CDN endpoint.

Syntax

New-AzureRmCdnEndpoint
   -CdnProfile <PSProfile>
   [-ContentTypesToCompress <String[]>]
   -EndpointName <String>
   [-GeoFilters <PSGeoFilter[]>]
   [-HttpPort <Int32>]
   [-HttpsPort <Int32>]
   [-IsCompressionEnabled <Boolean>]
   [-IsHttpAllowed <Boolean>]
   [-IsHttpsAllowed <Boolean>]
   [-OptimizationType <String>]
   [-OriginHostHeader <String>]
   -OriginHostName <String>
   -OriginName <String>
   [-OriginPath <String>]
   [-QueryStringCachingBehavior <PSQueryStringCachingBehavior>]
   [-Tags <Hashtable>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
New-AzureRmCdnEndpoint
   [-ContentTypesToCompress <String[]>]
   -EndpointName <String>
   [-GeoFilters <PSGeoFilter[]>]
   [-HttpPort <Int32>]
   [-HttpsPort <Int32>]
   [-IsCompressionEnabled <Boolean>]
   [-IsHttpAllowed <Boolean>]
   [-IsHttpsAllowed <Boolean>]
   -Location <String>
   [-OptimizationType <String>]
   [-OriginHostHeader <String>]
   -OriginHostName <String>
   -OriginName <String>
   [-OriginPath <String>]
   -ProfileName <String>
   [-QueryStringCachingBehavior <PSQueryStringCachingBehavior>]
   -ResourceGroupName <String>
   [-Tags <Hashtable>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

The New-AzureRmCdnEndpoint cmdlet creates an Azure Content Delivery Network (CDN) endpoint.

Examples

1:

Required Parameters

-CdnProfile

Specifies the CDN profile object to which the endpoint is added.

Type:PSProfile
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
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
-Location

Specifies the resource location of the endpoint.

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

Specifies the host name of the origin server.

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

Specifies the resource name of the origin server.

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 this endpoint 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
-ContentTypesToCompress

Specifies an array of content types to compress from the edge node to the client.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GeoFilters

The list of geo filters that applies to this endpoint.

Type:PSGeoFilter[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HttpPort

Specifies the HTTP port number on the origin server.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HttpsPort

Specifies the HTTPS port number on the origin server.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsCompressionEnabled

Indicates whether compression is enabled for the endpoint.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsHttpAllowed

Indicates whether the endpoint enables HTTP traffic.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsHttpsAllowed

Indicates whether the endpoint enables HTTPS traffic.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OptimizationType

Specifies any optimization this endpoint has.

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

Specifies the origin host head of the endpoint.

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

Specifies the path of the origin server.

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

Specifies the behavior of CDN endpoint when a query string is in the request URL.

Type:PSQueryStringCachingBehavior
Parameter Sets:IgnoreQueryString, BypassCaching, UseQueryString, NotSet
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tags

Specifies a hash table of the tags that associated with this resource.

Type:Hashtable
Position:Named
Default value:None
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