CP codes per type

Get-MSLCPCode

Synopsis

List CP codes.

Syntax

Get-MSLCPCode [-Type] <String> [-Unused] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Obtains CP codes based on the provided -Type. You need a CP code to create a stream.

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.

‑Type
Required

The type of CP code. Specify INGEST to obtain the INGEST CP codes, DELIVERY for the delivery CP codes, and STORAGE for the storage CP codes.

‑Unused

When enabled, lists only CP codes that have not already been used to provision an origin.

Related Links