Partilhar via


GalleryApplicationCustomActionParameter Class

Definition

The definition of a parameter that can be passed to a custom action of a Gallery Application Version.

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

Constructors

GalleryApplicationCustomActionParameter(String)

Initializes a new instance of GalleryApplicationCustomActionParameter.

Properties

DefaultValue

The default value of the parameter. Only applies to string types.

Description

A description to help users understand what this parameter means.

IsRequired

Indicates whether this parameter must be passed when running the custom action.

Name

The name of the custom action. Must be unique within the Gallery Application Version.

ParameterType

Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryApplicationCustomActionParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryApplicationCustomActionParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryApplicationCustomActionParameter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryApplicationCustomActionParameter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryApplicationCustomActionParameter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to