Available hostnames

Get-AppSecAvailableHostnames

Synopsis

Get available hostnames for a new configuration.

Syntax

Get-AppSecAvailableHostnames [-GroupId] <String> [-ContractId] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets the hostnames for a given contract and group.

Use this operation for a new configuration, and use Get-AppSecSelectableHostnames to see a list of hostnames you can add to an existing configuration. This operation shows you every acceptable hostname you can use, whereas the other hostname operation omits any hostnames already included in your configuration.

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
Required

Your contract's ID.

‑EdgeRCFile

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

‑GroupId
Required

Your group's ID.

‑Section

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

Related Links