Publish-AzureRmCdnEndpointContent

Loads content to an endpoint.

Syntax

Publish-AzureRmCdnEndpointContent
       -EndpointName <String>
       -ProfileName <String>
       -ResourceGroupName <String>
       -LoadContent <String[]>
       [-PassThru]
       [-DefaultProfile <IAzureContextContainer>]
       [<CommonParameters>]
Publish-AzureRmCdnEndpointContent
       -CdnEndpoint <PSEndpoint>
       -LoadContent <String[]>
       [-PassThru]
       [-DefaultProfile <IAzureContextContainer>]
       [<CommonParameters>]

Description

The Publish-AzureRmCdnEndpointContent cmdlet loads content from an origin server for the Azure Content Delivery Network (CDN) endpoint.

Examples

1:

Required Parameters

-CdnEndpoint

Sepcifies the CDN endpoint.

Type:Microsoft.Azure.Commands.Cdn.Models.Endpoint.PSEndpoint
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
-LoadContent

Specifies an array of relative paths for the content on the origin server that this cmdlet publishes.

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

Specifies the name of the profile to which the origin server belongs.

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 origin server belongs.

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

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

PSEndpoint

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

Outputs

System.Boolean