Datacenter

Remove-GTMDatacenter

Synopsis

Remove a data center.

Syntax

Remove-GTMDatacenter [-DomainName] <String> [-DatacenterID] <Int32> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Removes a data center. You can only remove a data center when no properties or resources are assigned to it.

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.

‑DatacenterID
Required

A numeric D of the data center.

‑DomainName
Required

The full GTM domain name.

‑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.

Related Links