Zone

Get-EdnsZone

Synopsis

Get zones.

Syntax

Get-EdnsZone [-ContractIDs <String>] [-SubzoneGrant] [-SortBy <String>] [-Types <String>] [-Search <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdnsZone -Zone <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all Edge DNS zones you have access to manage or returns a specific zone.

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.

‑ContractIDs

Your contract's ID.

‑EdgeRCFile

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

‑Search

Displays only record sets whose NAME or RDATA field matches this value. The entire record set, that is all records with the same name and type are shown if any record in the set has a NAME or RDATA that matches the value case-insensitively.

‑Section

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

‑SortBy

Sorts the list on the specified fields. You can specify multiple fields as a comma-separated list. Placing a dash before a field name sorts it in descending order. Allowed fields include name and type.

‑SubzoneGrant

If included, limits the list of Edge DNS zones where subzoneGrants matches the specified boolean.

‑Types

Displays only record sets that match one of the provided types. Specifies multiple fields as a comma-separated list. Ignores illegal or disallowed record types.

‑Zone
Conditionally required

Your zone's name

Related Links