Edit

Share via


New-AzFrontDoorCdnPurgeParametersObject

Create an in-memory object for AfdPurgeParameters.

Syntax

Default (Default)

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.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Domain

List of domains.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

AfdPurgeParameters