EdgeWorker

Copy-EdgeWorker

Synopsis

Clone an EdgeWorker.

Syntax

Copy-EdgeWorker -EdgeWorkerName <String> -NewName <String> -GroupID <Int32> -ResourceTierID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Copy-EdgeWorker -EdgeWorkerID <Int32> -NewName <String> -GroupID <Int32> -ResourceTierID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Clones an EdgeWorker to a new ID that has a different resource tier.

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.

‑EdgeRCFile

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

‑EdgeWorkerID
Conditionally required

Your EdgeWorker's ID.

‑EdgeWorkerName
Conditionally required

Your Edge Worker's name.

‑GroupID
Required

Your group's ID.

‑NewName
Required

A name for the new Edge Worker.

‑ResourceTierID
Required

An ID of a resource tier.

‑Section

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

Related Links



Did this page help you?