Share via


Role Class

Definition

Describes a role on the cluster.

public class Role
type Role = class
Public Class Role
Inheritance
Role

Constructors

Role()

Initializes a new instance of the Role class.

Role(String, Nullable<Int32>, Nullable<Int32>, String, Autoscale, HardwareProfile, OsProfile, VirtualNetworkProfile, IList<DataDisksGroups>, IList<ScriptAction>, Nullable<Boolean>)

Initializes a new instance of the Role class.

Properties

AutoscaleConfiguration

Gets or sets the autoscale configurations.

DataDisksGroups

Gets or sets the data disks groups for the role.

EncryptDataDisks

Gets or sets indicates whether encrypt the data disks.

HardwareProfile

Gets or sets the hardware profile.

MinInstanceCount

Gets or sets the minimum instance count of the cluster.

Name

Gets or sets the name of the role.

OsProfile

Gets or sets the operating system profile.

ScriptActions

Gets or sets the list of script actions on the role.

TargetInstanceCount

Gets or sets the instance count of the cluster.

VirtualNetworkProfile

Gets or sets the virtual network profile.

VMGroupName

Gets or sets the name of the virtual machine group.

Applies to