New-AzFrontDoorCdnPurgeParametersObject

Create an in-memory object for AfdPurgeParameters.

Syntax

New-AzFrontDoorCdnPurgeParametersObject
   -ContentPath <String[]>
   [-Domain <String[]>]
   [<CommonParameters>]

Description

Create an in-memory object for AfdPurgeParameters.

Examples

Example 1: Create an in-memory object for AfdPurgeParameters

$contentPath = "/a"
$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath

ContentPath
-----------
{/a}

Create an in-memory object for AfdPurgeParameters

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

-Domain

List of domains.

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

Outputs

AfdPurgeParameters