Policy version rule
New-CloudletPolicyVersionRule
Synopsis
Add a version rule.
Syntax
New-CloudletPolicyVersionRule [-PolicyID] <Int32> [-Version] <String> [-Body] <Object> [[-Index] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Adds a new rule to an existing policy version. You can add only one rule at a time. This command applies only to v2 policies.
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 |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Index |
The order within the current list of rules where you want to add the new rule. If you do not set this parameter, the new rule is added to the end of the current rule list. For Cloudlets, the first rule listed is the first rule evaluated. |
‑PolicyID Required |
Your cloudlet policy's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑Version Required |
Version number. Can be an integer or the word |
Related Links
Updated 8 days ago