Edit

Share via


New-AzCdnLoadParametersObject

Create an in-memory object for LoadParameters.

Syntax

Default (Default)

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

Description

Create an in-memory object for LoadParameters.

Examples

Example 1: Create an in-memory object for LoadParameters

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

Create an in-memory object for LoadParameters

Parameters

-ContentPath

The path to the content to be loaded. Path should be a relative file URL of the origin.

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

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

LoadParameters