Revision

Set-EdgeworkerRevision

Synopsis

Pin or unpin an active revision.

Syntax

Set-EdgeworkerRevision -EdgeWorkerName <String> -RevisionID <String> -Operation <String> [-Note <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-EdgeworkerRevision -EdgeWorkerID <Int32> -RevisionID <String> -Operation <String> [-Note <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Pins or unpins a specific revision of an EdgeWorker. You can specify an EdgeWorker by either its name or ID.

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.

‑Note

A note to specify why the revision is being reactivated.

‑Operation
Required

Specifies whether to pin or unpin an active revision.

‑RevisionID
Required

Your EdgeWorkers revision's ID.

‑Section

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

Related Links