VirtualMachineScaleSetsOperations.GetOSUpgradeHistory(String, String, CancellationToken) Method

Definition

Gets list of OS upgrades on a VM scale set instance.

public virtual Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo> GetOSUpgradeHistory (string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOSUpgradeHistory : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
override this.GetOSUpgradeHistory : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
Public Overridable Function GetOSUpgradeHistory (resourceGroupName As String, vmScaleSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of UpgradeOperationHistoricalStatusInfo)

Parameters

resourceGroupName
System.String

The name of the resource group.

vmScaleSetName
System.String

The name of the VM scale set.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<UpgradeOperationHistoricalStatusInfo>

Exceptions

System.ArgumentNullException

resourceGroupName or vmScaleSetName is null.

Applies to