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
|
|
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python