Sdílet prostřednictvím


ScriptAction Class

Definition

Describes a script action on role on the cluster.

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

Constructors

ScriptAction(String, Uri, String)

Initializes a new instance of ScriptAction.

Properties

Name

The name of the script action.

Parameters

The parameters for the script provided.

Uri

The URI to the script.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScriptAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScriptAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScriptAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to