VirtualMachineScaleSetsOperations.GetOSUpgradeHistory(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Exceptions
System.ArgumentNullException
resourceGroupName
or vmScaleSetName
is null.