Policy version
Set-CloudletPolicyVersion
Synopsis
Update a policy version.
Syntax
Set-CloudletPolicyVersion [-PolicyID] <Int32> [-Legacy] [-Version] <String> [-Body] <Object> [-OmitRules] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates the description and match rules for a given version of a Cloudlet policy. Use the -Legacy switch to specify v2 policies; otherwise, this command will apply only to v3 policies. The -Version parameter is an integer or the word latest.
Note: Request bodies are automatically sanitized to enable you to retrieve a version with the
Get-CloudletPolicyVersionoperation, edit it locally, and pipe the object to this command.
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. |
‑BodyRequired |
A request body, either as a |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Legacy |
If present, this indicates that your policy is legacy (v2). Without this switch, v3 of the Cloudlets API is used. |
‑OmitRules |
Excludes the match rules from the results. |
‑PolicyIDRequired |
Your cloudlet policy's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑VersionRequired |
Version number. Can be an integer or the word |
Related Links
Updated 4 months ago
