Policy
New-IVMPolicy
Synopsis
Create or modify a policy.
Syntax
New-IVMPolicy [-PolicySetID] <String> [-PolicyID] <String> [-Network] <String> [[-ContractID] <String>] [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates a new IVM policy. Make sure to check whether a policy with the specified ID doesn't already exist by running the Get-IVMPolicy
operation. Otherwise, the existing policy will be updated.
Note: If your account has multiple IVM-enabled contracts, you need to provide 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 Required |
A request body, either as a |
‑ContractID |
Your contract's ID. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Network Required |
A type of network to execute the API request on, either |
‑PolicyID Required |
Your image or video policy's ID. To get a policy's ID, run |
‑PolicySetID Required |
Your policy set's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated about 6 hours ago