VirtualMachineScaleSet Class
Describes a Virtual Machine Scale 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.v2017_12_01.models._models_py3.ResourceVirtualMachineScaleSet
Constructor
VirtualMachineScaleSet(*, location: str, tags: Dict[str, str] | None = None, sku: _models.Sku | None = None, plan: _models.Plan | None = None, identity: _models.VirtualMachineScaleSetIdentity | None = None, zones: List[str] | None = None, upgrade_policy: _models.UpgradePolicy | None = None, virtual_machine_profile: _models.VirtualMachineScaleSetVMProfile | None = None, overprovision: bool | None = None, single_placement_group: bool | None = None, zone_balance: bool | None = None, platform_fault_domain_count: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
Resource location. Required. |
tags
|
Resource tags. |
sku
|
The virtual machine scale set sku. |
plan
|
Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save. |
identity
|
The identity of the virtual machine scale set, if configured. |
zones
|
The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set. |
upgrade_policy
|
The upgrade policy. |
virtual_machine_profile
|
The virtual machine profile. |
overprovision
|
Specifies whether the Virtual Machine Scale Set should be overprovisioned. |
single_placement_group
|
When true this limits the scale set to a single placement group, of max size 100 virtual machines. |
zone_balance
|
Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. |
platform_fault_domain_count
|
Fault Domain count for each placement group. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. Required. |
tags
|
Resource tags. |
sku
|
The virtual machine scale set sku. |
plan
|
Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save. |
identity
|
The identity of the virtual machine scale set, if configured. |
zones
|
The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set. |
upgrade_policy
|
The upgrade policy. |
virtual_machine_profile
|
The virtual machine profile. |
provisioning_state
|
The provisioning state, which only appears in the response. |
overprovision
|
Specifies whether the Virtual Machine Scale Set should be overprovisioned. |
unique_id
|
Specifies the ID which uniquely identifies a Virtual Machine Scale Set. |
single_placement_group
|
When true this limits the scale set to a single placement group, of max size 100 virtual machines. |
zone_balance
|
Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. |
platform_fault_domain_count
|
Fault Domain count for each placement group. |
Azure SDK for Python