Revision

Get-EdgeworkerRevision

Synopsis

Get a revision.

Syntax

Get-EdgeworkerRevision -EdgeWorkerName <String> [-RevisionID <String>] [-Version <String>] [-ActivationID <Int32>] [-Network <String>] [-PinnedOnly] [-CurrentlyPinned] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeworkerRevision -EdgeWorkerID <Int32> [-RevisionID <String>] [-Version <String>] [-ActivationID <Int32>] [-Network <String>] [-PinnedOnly] [-CurrentlyPinned] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all revisions of an EdgeWorker or retrieves an individual revision by its ID. To limit the results when listing all revisions, use the filter parameters, such as -Version, -ActivationID, -Network, -PinnedOnly, and -CurrentlyPinned. 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.

‑ActivationID

Your EdgeWorker activation's ID.

‑CurrentlyPinned

When enabled, limits results to show only revisions that are currently pinned.

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

‑Network

When enabled, limits results to show only versions activated on a specific network, either STAGING or PRODUCTION. Pair this with activeOnNetwork=true to get the version that's currently active on the specified network.

‑PinnedOnly

When enabled, limits results to show only currently or previously pinned revisions.

‑RevisionID

Your EdgeWorkers revision's ID.

‑Section

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

‑Version

Your EdgeWorker's version, either an integer or the word latest.

Related Links