Udostępnij za pośrednictwem


RuntimeScriptAction Class

Definition

Describes a script action on a running cluster.

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

Constructors

RuntimeScriptAction(String, Uri, IEnumerable<String>)

Initializes a new instance of RuntimeScriptAction.

Properties

ApplicationName

The application name of the script action, if any.

Name

The name of the script action.

Parameters

The parameters for the script.

Roles

The list of roles where script will be executed.

Uri

The URI to the script.

Explicit Interface Implementations

IJsonModel<RuntimeScriptAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RuntimeScriptAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RuntimeScriptAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RuntimeScriptAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RuntimeScriptAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to