VirtualMachineScaleSetRollingUpgradesOperations Class
警告
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
VirtualMachineScaleSetRollingUpgradesOperations(*args, **kwargs)
begin_cancel |
Cancels the current virtual machine scale set rolling upgrade. |
begin_start_extension_upgrade |
Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. |
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. |
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 |
---|---|
Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.
begin_start_extension_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 |
---|---|
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 |
---|---|
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 |
---|---|
models = <module 'azure.mgmt.compute.v2020_06_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2020_06_01\\models\\__init__.py'>
Azure SDK for Python に関するフィードバック
Azure SDK for Python はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。