MockableComputeBulkActionsArmClient.GetOccurrenceByVmsAsync Method

Definition

List OccurrenceExtensionResource resources by parent

  • Request Path. : /{resourceUri}/providers/Microsoft.Compute/associatedOccurrences.
  • Operation Id. : OccurrenceExtension_ListOccurrenceByVms.
  • Default Api Version. : 2026-08-06-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceExtension> GetOccurrenceByVmsAsync(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOccurrenceByVmsAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceExtension>
override this.GetOccurrenceByVmsAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceExtension>
Public Overridable Function GetOccurrenceByVmsAsync (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OccurrenceExtension)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

scope is null.

Applies to