共用方式為


VirtualMachineScaleSetRollingUpgradeResource.GetAsync Method

Definition

Gets the status of the latest virtual machine scale set rolling upgrade.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest
  • Operation Id: VirtualMachineScaleSetRollingUpgrades_GetLatest
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetRollingUpgradeResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradeResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradeResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradeResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualMachineScaleSetRollingUpgradeResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to