Role Class
Describes a role on the cluster.
- Inheritance
-
msrest.serialization.ModelRole
Constructor
Role(*, name: str | None = None, min_instance_count: int | None = None, target_instance_count: int | None = None, vm_group_name: str | None = None, autoscale_configuration: Autoscale | None = None, hardware_profile: HardwareProfile | None = None, os_profile: OsProfile | None = None, virtual_network_profile: VirtualNetworkProfile | None = None, data_disks_groups: List[DataDisksGroups] | None = None, script_actions: List[ScriptAction] | None = None, encrypt_data_disks: bool | None = False, **kwargs)
Parameters
Name | Description |
---|---|
name
Required
|
The name of the role. |
min_instance_count
Required
|
The minimum instance count of the cluster. |
target_instance_count
Required
|
The instance count of the cluster. |
vm_group_name
Required
|
The name of the virtual machine group. |
autoscale_configuration
Required
|
The autoscale configurations. |
hardware_profile
Required
|
The hardware profile. |
os_profile
Required
|
The operating system profile. |
virtual_network_profile
Required
|
The virtual network profile. |
data_disks_groups
Required
|
The data disks groups for the role. |
script_actions
Required
|
The list of script actions on the role. |
encrypt_data_disks
Required
|
Indicates whether encrypt the data disks. |
Keyword-Only Parameters
Name | Description |
---|---|
name
Required
|
|
min_instance_count
Required
|
|
target_instance_count
Required
|
|
vm_group_name
Required
|
|
autoscale_configuration
Required
|
|
hardware_profile
Required
|
|
os_profile
Required
|
|
virtual_network_profile
Required
|
|
data_disks_groups
Required
|
|
script_actions
Required
|
|
encrypt_data_disks
Required
|
|
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python