Schema

Get-CloudletSchema

Synopsis

Get a schema.

Syntax

Get-CloudletSchema -CloudletType <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-CloudletSchema -SchemaName <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets all Cloudlet schemas or returns a specific schema by its Cloudlet type. The -CloudletType parameter is translated automatically from the product name, for example, Phased Release, to its API-specific type code, for example, CD.

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.

‑CloudletType
Conditionally required

The name of the cloudlet type, for example, Phased Release. This is translated to the correct 2- or 3-letter code automatically.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑SchemaName
Conditionally required

The name of the JSON schema file. JSON schema filenames include:

- create-policy.json

- update-policy.json

- clone-policy.json

- create-nimbus

- update-nimbus

- match_rule-{cloudletCode}�1.0.json

The value for the cloudletCode is either ALB, AP, AS, CD, ER, FR, IG, or VP.

‑Section

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

Related Links