Proxy

Set-EDNSProxy

Synopsis

Update a proxy.

Syntax

Set-EDNSProxy [-ProxyID] <String> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the proxy.

Due to the complexity of the request body, it is recommended to retrieve the proxy with Get-EDNSProxy, edit the response object locally, and pipe 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.

‑EdgeRCFile

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

‑ProxyID
Alias: ‑id
Required

The proxy ID you're working with.

‑Section

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

Related Links


Did this page help you?