Deactivation

New-DataStreamDeactivation

Synopsis

Deactivate a stream.

Syntax

New-DataStreamDeactivation [-StreamID] <Int32> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Deactivates the latest version of a stream. Deactivating a stream means that, in approximately an hour, you stop receiving logs for the properties that this stream monitors and the stream's status changes to DEACTIVATED.

To start receiving log files again, you can activate the stream at any time using the New-DataStreamActivation operation.

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.

‑Section

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

‑StreamID
Required

Your stream's ID.

Related Links