Sdílet prostřednictvím


VirtualMachineScaleSetResource.GetInstanceView(CancellationToken) Method

Definition

Gets the status of a VM scale set instance.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to