Domain
New-GTMDomain
Synopsis
Create a domain.
Syntax
New-GTMDomain [-Body] <Object> [[-ContractID] <String>] [[-GroupID] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates a new GTM domain. You can also use this function to clone an existing GTM. Another way is to retrieve its settings via the Get-GTMDomain
operation, edit them locally, and pipe the result to this function.
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 Required |
A request body, either as a |
‑ContractID |
Your contract's ID. If your GTM client credential has access to more than one contract, you need to specify under which contract to provision the domain. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑GroupID |
Your group's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 3 days ago