Domain

Synopsis

Add domains

Syntax

New-DOMDomain -DomainName <String[]> -ValidationScope <String[]> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-DOMDomain -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Add domains to validate.

For each domain you create DomainName you provide you must also provide a ValidationScope of either HOST, WILDCARD or DOMAIN.

If you provide more than one entry for DomainName, the used value for ValidationScope will be the one at the same position in the provided list.

For example, the first DomainName will be paired with the first ValidationScope, the second the second, and so on.

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.

‑Body
Conditionally required

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑DomainName
Conditionally required

Name of the domain.

‑EdgeRCFile

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

‑Section

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

‑ValidationScope
Conditionally required

Validation scope of the domain. For HOST, the scope is only the exactly specified domain. For WILDCARD, the scope covers any hostname within one subdomain level. For DOMAIN, the scope covers any hostnames under the domain, regardless of the level of subdomains.

Related Links