Policy set

New-IVMPolicySet

Synopsis

Create a policy set.

Syntax

New-IVMPolicySet -Name <String> -Region <String> -Type <String> [-DefaultPolicy <Object>] [-ContractID <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-IVMPolicySet -Body <Object> [-ContractID <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new IVM policy set of either the IMAGE or VIDEO type in a specified geographic region. You can tab through the -Region and -Type options to see what values are acceptable.

Note: If your account has multiple IVM-enabled contracts, you need to specify the contract ID.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑Body
Conditionally required

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑ContractID

Your contract's ID.

‑DefaultPolicy

The default policy to deploy the policy set with. If unspecified, the policy set will use the system default.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Name
Conditionally required

A human-readable name for the policy set.

‑Region
Conditionally required

The geographic region for which the media using this policy set is optimized. Altering the value on an existing policy set voids previously cached images and videos and requires their transformation again.

The supported geographic regions are US, EMEA, ASIA, AUSTRALIA, JAPAN, or CHINA. EMEA is Europe, the Middle East, and Africa.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑Type
Conditionally required

The type of media this policy set manages, either IMAGE or VIDEO.

Related Links