Origin

New-MSLOrigin

Synopsis

Create a new origin.

Syntax

New-MSLOrigin [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a Media Services live origin for the stream. You can associate this origin hostname with an Adaptive Media Delivery configuration.

Note: Due to the complexity of the request body, it may be easier to retrieve an existing origin (should one exist), edit the details locally, and pipe to this function.

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.

‑Body
Required

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

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

Related Links