Policy version activation
New-CloudletPolicyActivation
Synopsis
Activate a policy version.
Syntax
New-CloudletPolicyActivation -PolicyID <Int32> -Version <String> -Network <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-CloudletPolicyActivation -PolicyID <Int32> -Version <String> [-Legacy] [-AdditionalPropertyNames <String>] -Network <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Activates a Cloudlet policy version. Use the -Legacy
switch to specify v2 policies; otherwise, the command will apply only to v3 policies.
When using v2 policies, you can also provide additional properties with the -AdditionalPropertyNames
parameter. You can also specify multiple properties as a comma-separated string.
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. |
‑AdditionalPropertyNames |
An array of one or more additional properties that you want to activate with the Cloudlet policy. Once activated, the property and policy are permanently linked. |
‑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. |
‑Network Required |
Returns only activations for the selected network, either |
‑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 2 days ago