< Back

Unpublish-AzureRmCdnEndpointContent

Thu Apr 04, 2019 5:39 am

NAME Unpublish-AzureRmCdnEndpointContent



SYNOPSIS

Purges a CDN endpoint.





SYNTAX

Unpublish-AzureRmCdnEndpointContent -CdnEndpoint <PSEndpoint> [-DefaultProfile <IAzureContextContainer>] [-PassThru] -PurgeContent <String[]>

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



Unpublish-AzureRmCdnEndpointContent [-DefaultProfile <IAzureContextContainer>] -EndpointName <String> [-PassThru] -ProfileName <String>

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





DESCRIPTION

The Unpublish-AzureRmCdnEndpointContent cmdlet purges the content from an Azure Content Delivery Network (CDN) endpoint.





PARAMETERS

-CdnEndpoint <PSEndpoint>

Specifies the endpoint that this cmdlet purges.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

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 name of the endpoint that this cmdlet purges.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ProfileName <String>

Specifies the name of the profile to which the endpoint belongs.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PurgeContent <String[]>

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



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

System.Boolean







NOTES









1:















RELATED LINKS

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

Publish-AzureRmCdnEndpointContent