Policy version
Get-CloudletPolicyVersion
Synopsis
Get a policy version.
Syntax
Get-CloudletPolicyVersion -PolicyID <Int32> [-Legacy] [-Size <Int32>] [-Page <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-CloudletPolicyVersion -PolicyID <Int32> [-Version <String>] [-Legacy] [-OmitRules] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Gets all versions of a given Cloudlet policy or returns a specific policy version. The -Version
parameter is an integer or the word latest
. Use the -Legacy
switch to specify v2 policies; otherwise, the command will apply only to v3 (shared) policies.
When listing all versions, you can control paging with the -Page
and -Size
parameters as well as include the Cloudlet rules in the version response with the -IncludeRules
switch parameter.
When retrieving a specific version of a v2 policy, you can also optionally omit its rules from the output with the -OmitRules
switch parameter.
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. |
‑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. |
‑Page |
Specifies a page number for batched results, starting at zero. |
‑PolicyID Required |
Your cloudlet policy's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑Size |
Specifies the number of objects on a page, at least |
‑Version |
Version number. Can be an integer or the word |
Related Links
Updated 16 days ago