Share via


MockableComputeScheduleArmClient.GetAssociatedOccurrences Method

Definition

List OccurrenceExtensionResource resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.ComputeSchedule/associatedOccurrences
  • Operation Id: OccurrenceExtensionResource_GetAssociatedOccurrences
  • Default Api Version: 2025-04-15-preview
public virtual Azure.Pageable<Azure.ResourceManager.ComputeSchedule.Models.OccurrenceExtensionResourceData> GetAssociatedOccurrences(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAssociatedOccurrences : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ComputeSchedule.Models.OccurrenceExtensionResourceData>
override this.GetAssociatedOccurrences : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ComputeSchedule.Models.OccurrenceExtensionResourceData>
Public Overridable Function GetAssociatedOccurrences (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OccurrenceExtensionResourceData)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

scope is null.

Applies to