< Back
New-AzureRmCdnEndpoint
Post
NAME New-AzureRmCdnEndpoint
SYNOPSIS
Creates a CDN endpoint.
SYNTAX
New-AzureRmCdnEndpoint -CdnProfile <PSProfile> [-ContentTypesToCompress <String[]>] [-DefaultProfile <IAzureContextContainer>] -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 {IgnoreQueryString | BypassCaching | UseQueryString | NotSet}] [-Tag <Hashtable>] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzureRmCdnEndpoint [-ContentTypesToCompress <String[]>] [-DefaultProfile <IAzureContextContainer>] -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 {IgnoreQueryString | BypassCaching | UseQueryString | NotSet}] -ResourceGroupName <String>
[-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmCdnEndpoint cmdlet creates an Azure Content Delivery Network (CDN) endpoint.
PARAMETERS
-CdnProfile <PSProfile>
Specifies the CDN profile object to which the endpoint is added.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ContentTypesToCompress <String[]>
Specifies an array of content types to compress from the edge node to the client.
Required? false
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
-GeoFilters <PSGeoFilter[]>
The list of geo filters that applies to this endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HttpPort <Int32>
Specifies the HTTP port number on the origin server.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HttpsPort <Int32>
Specifies the HTTPS port number on the origin server.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsCompressionEnabled <Boolean>
Indicates whether compression is enabled for the endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsHttpAllowed <Boolean>
Indicates whether the endpoint enables HTTP traffic.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsHttpsAllowed <Boolean>
Indicates whether the endpoint enables HTTPS traffic.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Specifies the resource location of the endpoint.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OptimizationType <String>
Specifies any optimization this endpoint has.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginHostHeader <String>
Specifies the origin host head of the endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginHostName <String>
Specifies the host name of the origin server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginName <String>
Specifies the resource name of the origin server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginPath <String>
Specifies the path of the origin server.
Required? false
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
-QueryStringCachingBehavior <PSQueryStringCachingBehavior>
Specifies the behavior of CDN endpoint when a query string is in the request URL.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group to which this endpoint belongs.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Tag <Hashtable>
The tags to associate with the Azure CDN endpoint.
Required? false
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
PSProfile
Parameter 'CdnProfile' accepts value of type 'PSProfile' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.Cdn.Models.Endpoint.PSEndpoint
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... dnendpoint
Get-AzureRmCdnEndpoint
Remove-AzureRmCdnEndpoint
Set-AzureRmCdnEndpoint
Start-AzureRmCdnEndpoint
Stop-AzureRmCdnEndpoint
SYNOPSIS
Creates a CDN endpoint.
SYNTAX
New-AzureRmCdnEndpoint -CdnProfile <PSProfile> [-ContentTypesToCompress <String[]>] [-DefaultProfile <IAzureContextContainer>] -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 {IgnoreQueryString | BypassCaching | UseQueryString | NotSet}] [-Tag <Hashtable>] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzureRmCdnEndpoint [-ContentTypesToCompress <String[]>] [-DefaultProfile <IAzureContextContainer>] -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 {IgnoreQueryString | BypassCaching | UseQueryString | NotSet}] -ResourceGroupName <String>
[-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmCdnEndpoint cmdlet creates an Azure Content Delivery Network (CDN) endpoint.
PARAMETERS
-CdnProfile <PSProfile>
Specifies the CDN profile object to which the endpoint is added.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ContentTypesToCompress <String[]>
Specifies an array of content types to compress from the edge node to the client.
Required? false
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
-GeoFilters <PSGeoFilter[]>
The list of geo filters that applies to this endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HttpPort <Int32>
Specifies the HTTP port number on the origin server.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HttpsPort <Int32>
Specifies the HTTPS port number on the origin server.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsCompressionEnabled <Boolean>
Indicates whether compression is enabled for the endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsHttpAllowed <Boolean>
Indicates whether the endpoint enables HTTP traffic.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsHttpsAllowed <Boolean>
Indicates whether the endpoint enables HTTPS traffic.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Specifies the resource location of the endpoint.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OptimizationType <String>
Specifies any optimization this endpoint has.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginHostHeader <String>
Specifies the origin host head of the endpoint.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginHostName <String>
Specifies the host name of the origin server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginName <String>
Specifies the resource name of the origin server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OriginPath <String>
Specifies the path of the origin server.
Required? false
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
-QueryStringCachingBehavior <PSQueryStringCachingBehavior>
Specifies the behavior of CDN endpoint when a query string is in the request URL.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group to which this endpoint belongs.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Tag <Hashtable>
The tags to associate with the Azure CDN endpoint.
Required? false
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
PSProfile
Parameter 'CdnProfile' accepts value of type 'PSProfile' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.Cdn.Models.Endpoint.PSEndpoint
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... dnendpoint
Get-AzureRmCdnEndpoint
Remove-AzureRmCdnEndpoint
Set-AzureRmCdnEndpoint
Start-AzureRmCdnEndpoint
Stop-AzureRmCdnEndpoint