Element

Add-NetworkListElement

Synopsis

Add an element.

Syntax

Add-NetworkListElement [-NetworkListID] <String> [-Element] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Adds the specified element to the network list. If the network list's type is IP, the value needs to be a URL-encoded IP address or CIDR block. If the type is GEO, it's a two-character country code.

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.

‑EdgeRCFile

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

‑Element
Required

An element to add to the network list.

‑NetworkListID
Required

Your network list's ID.

‑Section

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

Related Links