Policy version rule

Set-CloudletPolicyVersionRule

Synopsis

Update a version rule.

Syntax

Set-CloudletPolicyVersionRule [-PolicyID] <Int32> [-Version] <String> [-AkaRuleID] <String> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates attributes of an existing rule within a policy version. This command only 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.

‑AkaRuleID
Required

The ID of the rule within the policy version.

‑Body
Required

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑PolicyID
Required

Your cloudlet policy's ID.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑Version
Required

Version number. Can be an integer or the word latest.

Related Links