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. |
‑BodyConditionally required |
A request body, either as a |
‑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 |
‑NameConditionally required |
A human-readable name for the policy set. |
‑RegionConditionally 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 |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑TypeConditionally required |
The type of media this policy set manages, either |
Related Links
Updated 3 months ago
