CP code

New-NetstorageCPCode

Synopsis

Create a CP code.

Syntax

New-NetstorageCPCode [-CPCodeName] <String> [-ContractID] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a CP code for use with NetStorage.

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.

‑CPCodeName
Required

A unique name you provide to identify your CP code.

‑ContractID
Required

The ID of the contract that contains your instance of NetStorage and a given group.

‑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