MockableMaintenanceArmClient.GetUpdatesByParentAsync Method

Definition

Get updates to resources.

  • Request Path. : /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates.
  • Operation Id. : UpdatesOperationGroup_ListParent.
  • Default Api Version. : 2023-10-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate> GetUpdatesByParentAsync(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdatesByParentAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate>
override this.GetUpdatesByParentAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate>
Public Overridable Function GetUpdatesByParentAsync (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MaintenanceUpdate)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MaintenanceUpdate that may take multiple service requests to iterate over.

Exceptions

scope is null.

Applies to