Editar

Partilhar via


New-AzCdnPurgeParametersObject

Create an in-memory object for PurgeParameters.

Syntax

New-AzCdnPurgeParametersObject
   -ContentPath <String[]>
   [<CommonParameters>]

Description

Create an in-memory object for PurgeParameters.

Examples

Example 1: Create an in-memory object for PurgeParameters

$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg")
New-AzCdnPurgeParametersObject -ContentPath $contentPath

ContentPath
-----------
{/movies/amazing.mp4, /pictures/pic1.jpg}

Create an in-memory object for PurgeParameters

Parameters

-ContentPath

The path to the content to be purged. Can describe a file path or a wild card directory.

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

Outputs

PurgeParameters