VirtualMachineScaleSetRollingUpgradesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_machine_scale_set_rolling_upgrades> attribute.
- Inheritance
-
builtins.objectVirtualMachineScaleSetRollingUpgradesOperations
Constructor
VirtualMachineScaleSetRollingUpgradesOperations(*args, **kwargs)
Methods
begin_cancel |
Cancels the current virtual machine scale set rolling upgrade. |
begin_start_os_upgrade |
Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. |
get_latest |
Gets the status of the latest virtual machine scale set rolling upgrade. |
begin_cancel
Cancels the current virtual machine scale set rolling upgrade.
begin_cancel(resource_group_name: str, vm_scale_set_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_start_os_upgrade
Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.
begin_start_os_upgrade(resource_group_name: str, vm_scale_set_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_latest
Gets the status of the latest virtual machine scale set rolling upgrade.
get_latest(resource_group_name: str, vm_scale_set_name: str, **kwargs: Any) -> RollingUpgradeStatusInfo
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
Returns
Type | Description |
---|---|
RollingUpgradeStatusInfo or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.compute.v2018_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2018_04_01\\models\\__init__.py'>
Azure SDK for Python