Data stream

Synopsis

Get a stream.

Syntax

Get-DataStream [-LogType <String>] [-GroupID <Int32>] [-ObjectName <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-DataStream [-LogType <String>] [-StreamID <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all streams or returns a specific stream by its ID.

If retrieving a specific stream, you can optionally specify its version.

Without specifying it, the latest version is returned by default.

When listing all streams, you can filter the results by group ID or property name.

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.

‑GroupID

Your group's ID.

‑LogType

Defines the stream's log type: CDN, EdgeWorkers, Edge DNS or Global Traffic Management logs. For details, see Log types.

‑ObjectName

Filters down streams for a specific property, also referred to as an object. Allows up to five comma-delimited property names to specify a larger subset.

‑Section

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

‑StreamID

Your stream's ID.

‑Version

Your stream's version. If omitted, the operation returns the latest stream version.

Related Links