Megosztás a következőn keresztül:


GalleryApplicationCustomAction Class

Definition

A custom action that can be performed with a Gallery Application Version.

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

Constructors

GalleryApplicationCustomAction(String, String)

Initializes a new instance of GalleryApplicationCustomAction.

Properties

Description

Description to help the users understand what this custom action does.

Name

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

Parameters

The parameters that this custom action uses.

Script

The script to run when executing this custom action.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryApplicationCustomAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryApplicationCustomAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryApplicationCustomAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryApplicationCustomAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryApplicationCustomAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to