다음을 통해 공유


HDInsightClusterRole Class

Definition

Describes a role on the cluster.

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

Constructors

HDInsightClusterRole()

Initializes a new instance of HDInsightClusterRole.

Properties

AutoScaleConfiguration

The autoscale configurations.

DataDisksGroups

The data disks groups for the role.

EncryptDataDisks

Indicates whether encrypt the data disks.

HardwareVmSize

The size of the VM.

MinInstanceCount

The minimum instance count of the cluster.

Name

The name of the role.

OSLinuxProfile

The Linux OS profile.

ScriptActions

The list of script actions on the role.

TargetInstanceCount

The instance count of the cluster.

VirtualNetworkProfile

The virtual network profile.

VmGroupName

The name of the virtual machine group.

Explicit Interface Implementations

IJsonModel<HDInsightClusterRole>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HDInsightClusterRole>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HDInsightClusterRole>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HDInsightClusterRole>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HDInsightClusterRole>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to