Datacenter

Set-GTMDatacenter

Synopsis

Update a data center.

Syntax

Set-GTMDatacenter [-DomainName] <String> [-DatacenterID] <String> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates a data center.

Note: Due to the complexity of the request body, it's recommended that you pull down the existing datacenter, edit it locally, and pipe the object 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 PSCustomObject or a string. This parameter supports pipelining.

‑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