Deactivation

Get-EdgeWorkerDeactivation

Synopsis

Get a deactivation.

Syntax

Get-EdgeWorkerDeactivation -EdgeWorkerName <String> [-DeactivationID <String>] [-Version <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-EdgeWorkerDeactivation -EdgeWorkerID <Int32> [-DeactivationID <String>] [-Version <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all EdgeWorker deactivations or returns a specific deactivation record by its ID. You can specify an EdgeWorker by either its name, ID, or version. The -Version parameter is a specific version number or the word latest.

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.

‑DeactivationID

Your EdgeWorker deactivation's ID.

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

‑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