VirtualMachineScaleSetResource.GetOSUpgradeHistoryAsync 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.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
- Operation Id: VirtualMachineScaleSets_GetOSUpgradeHistory
- Default Api Version: 2024-07-01
- Resource: VirtualMachineScaleSetResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo> GetOSUpgradeHistoryAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetOSUpgradeHistoryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
override this.GetOSUpgradeHistoryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfo>
Public Overridable Function GetOSUpgradeHistoryAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of UpgradeOperationHistoricalStatusInfo)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of UpgradeOperationHistoricalStatusInfo that may take multiple service requests to iterate over.