Policy
Get-CloudletPolicy
Synopsis
Get a policy.
Syntax
Get-CloudletPolicy [-Legacy] [-Page <String>] [-Size <Int32>] [-GroupID <Int32>] [-IncludeDeleted] [-CloudletID <String>] [-All] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-CloudletPolicy [-PolicyID <Int32>] [-Legacy] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Gets all Cloudlet policies or returns a specific policy by its ID. When listing all policies, you can control paging with the -Page and -Size parameters. When listing v2 policies, you can additionally limit them by group ID or Cloudlet ID and include deleted policies with the -IncludeDeleted 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. | 
| ‑All | Following paging links until exhausted, returning all policies. | 
| ‑CloudletID | For GET operations, returns only policies for this particular  | 
| ‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to  | 
| ‑GroupID | Your group's ID. | 
| ‑IncludeDeleted | For GET operations, if present, this includes deleted policies in the results. | 
| ‑Legacy | If present, this indicates that your policy is legacy (v2). Without this switch, v3 of the Cloudlets API is used. | 
| ‑Page | Specifies a page number for batched results, starting at zero. | 
| ‑PolicyID | 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  | 
Related Links
Updated 4 months ago
