Modifier

Partager via


New-AzCdnLoadParametersObject

Create an in-memory object for LoadParameters.

Syntax

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.

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

Outputs

LoadParameters