Sdílet prostřednictvím


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.

Constructor

VirtualMachineScaleSet(*, location: str, tags: Dict[str, str] | None = None, sku: _models.Sku | None = None, identity: _models.VirtualMachineScaleSetIdentity | None = None, upgrade_policy: _models.UpgradePolicy | None = None, virtual_machine_profile: _models.VirtualMachineScaleSetVMProfile | None = None, over_provision: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

Default value: None
sku
Sku

The virtual machine scale set sku.

Default value: None
identity

The identity of the virtual machine scale set, if configured.

Default value: None
upgrade_policy

The upgrade policy.

Default value: None
virtual_machine_profile

The virtual machine profile.

Default value: None
over_provision

Specifies whether the Virtual Machine Scale Set should be overprovisioned.

Default value: None

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

sku
Sku

The virtual machine scale set sku.

identity

The identity of the virtual machine scale set, if configured.

upgrade_policy

The upgrade policy.

virtual_machine_profile

The virtual machine profile.

provisioning_state
str

The provisioning state, which only appears in the response.

over_provision

Specifies whether the Virtual Machine Scale Set should be overprovisioned.