Policy history

Get-IVMPolicyHistory

Synopsis

Get policy history.

Syntax

Get-IVMPolicyHistory [-PolicySetID] <String> [-PolicyID] <String> [-Network] <String> [[-ContractID] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets the policy history by its policy ID. The operation returns the full state of the policy at various points in time.

Note: If your account has multiple IVM-enabled contracts, you need to specify the contract ID.

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.

‑ContractID

Your contract's ID.

‑EdgeRCFile

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

‑Network
Required

A type of network to execute the API request on, either Staging or Production.

‑PolicyID
Required

Your image or video policy's ID. To get a policy's ID, run Get-IVMPolicy. Use in conjunction with the -Url, -TransformationType, and -Size parameters.

‑PolicySetID
Required

Your policy set's ID.

‑Section

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

Related Links