AvailabilitySet Class
Specifies information about the availability set that the virtual machine should be assigned
to. Virtual machines specified in the same availability set are allocated to different nodes to
maximize availability. For more information about availability sets, see Manage the
availability of virtual machines.
<br>``<br>
For more information on Azure planned maintenance, see Planned
maintenance for virtual machines in Azure
<br>``<br>
Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute.v2015_06_15.models._models_py3.ResourceAvailabilitySet
Constructor
AvailabilitySet(*, location: str, tags: Dict[str, str] | None = None, platform_update_domain_count: int | None = None, platform_fault_domain_count: int | None = None, virtual_machines: List[_models.SubResource] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
Resource location. Required. |
tags
|
Resource tags. |
platform_update_domain_count
|
Update Domain count. |
platform_fault_domain_count
|
Fault Domain count. |
virtual_machines
|
A list of references to all virtual machines in the availability set. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. Required. |
tags
|
Resource tags. |
platform_update_domain_count
|
Update Domain count. |
platform_fault_domain_count
|
Fault Domain count. |
virtual_machines
|
A list of references to all virtual machines in the availability set. |
statuses
|
The resource status information. |
Azure SDK for Python