共用方式為


ScriptActionProfile Class

Definition

The script action profile.

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

Constructors

ScriptActionProfile(String, String, String, IEnumerable<String>)

Initializes a new instance of ScriptActionProfile.

Properties

Name

Script name.

Parameters

Additional parameters for the script action. It should be space-separated list of arguments required for script execution.

ScriptActionProfileType

Type of the script action. Supported type is bash scripts.

Services

List of services to apply the script action.

ShouldPersist

Specify if the script should persist on the cluster.

TimeoutInMinutes

Timeout duration for the script action in minutes.

UriString

Url of the script file.

Explicit Interface Implementations

IJsonModel<ScriptActionProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScriptActionProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptActionProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptActionProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScriptActionProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to