Configuration version

Get-AppSecConfigurationVersion

Synopsis

Get configuration version details.

Syntax

Get-AppSecConfigurationVersion [-ConfigName] <String> [-Detail] [-Page <Int32>] [-PageSize <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AppSecConfigurationVersion [-ConfigName] <String> [-VersionNumber] <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AppSecConfigurationVersion -ConfigID <Int32> [-Detail] [-Page <Int32>] [-PageSize <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AppSecConfigurationVersion -ConfigID <Int32> [-VersionNumber] <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all versions of a configuration or returns a specific configuration version by its version number.

To get a more extensive object with detailed information about a version's security policies, rate policies, rules, and other additional settings, run the Export-AppSecConfiguration operation.

When making a request, you can specify a configuration by its name or ID. The -VersionNumber parameter is an integer or the word latest.

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.

‑ConfigID
Conditionally required

Your configuration's ID.

‑ConfigName
Conditionally required

The name of your security configuration.

‑Detail

If present, the results contain detailed information on versions. If absent, the results contain summary information on versions.

‑EdgeRCFile

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

‑Page

The index of the result page. If the value is -1, then pagination is ignored. The default value is 1.

‑PageSize

The number of items on each result page. The default value is 25.

‑Section

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

‑VersionNumber
Conditionally required

A configuration's version. Can be an integer or the word latest.

Related Links