Condividi tramite


MockableComputeScheduleArmClient.GetAssociatedOccurrences Method

Definition

List OccurrenceExtensionResource resources by parent

  • Request Path. : /{resourceUri}/providers/Microsoft.ComputeSchedule/associatedOccurrences.
  • Operation Id. : OccurrenceExtension_ListOccurrenceByVms.
  • Default Api Version. : 2026-03-01-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.

scope is an empty string, and was expected to be non-empty.

Applies to