Share via


ScriptParameter Class

Definition

An parameter that the script will accept.

public class ScriptParameter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Avs.Models.ScriptParameter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Avs.Models.ScriptParameter>
public class ScriptParameter
type ScriptParameter = class
    interface IJsonModel<ScriptParameter>
    interface IPersistableModel<ScriptParameter>
type ScriptParameter = class
Public Class ScriptParameter
Implements IJsonModel(Of ScriptParameter), IPersistableModel(Of ScriptParameter)
Public Class ScriptParameter
Inheritance
ScriptParameter
Implements

Properties

Description

User friendly description of the parameter.

Name

The parameter name that the script will expect a parameter value for.

Optional

Is this parameter required or optional.

ParameterType

The type of parameter the script is expecting. psCredential is a PSCredentialObject

Visibility

Should this parameter be visible to arm and passed in the parameters argument when executing

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScriptParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ScriptParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptParameter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptParameter>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ScriptParameter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to