Match target

Get-AppSecMatchTarget

Synopsis

Get a match target.

Syntax

Get-AppSecMatchTarget [-ConfigName] <String> [-VersionNumber] <String> [-TargetID <Int32>] [-OmitChildObjectName] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AppSecMatchTarget -ConfigID <Int32> [-VersionNumber] <String> [-TargetID <Int32>] [-OmitChildObjectName] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all match targets in your configuration or returns a specific match target by its 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.

‑ConfigID
Conditionally required

Your configuration's ID.

‑ConfigName
Conditionally required

The name of your security configuration.

‑EdgeRCFile

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

‑OmitChildObjectName

If present, the function omits names of child objects such as client lists from the response object. IDs are always returned.

‑Section

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

‑TargetID

Your match target's ID.

‑VersionNumber
Required

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

Related Links