Freigeben über


MockableWorkloadOrchestrationSubscriptionResource.GetEdgeTargetsAsync Method

Definition

List by subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Edge/targets
  • Operation Id: Target_ListBySubscription
  • Default Api Version: 2025-06-01
  • Resource: EdgeTargetResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.WorkloadOrchestration.EdgeTargetResource> GetEdgeTargetsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeTargetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WorkloadOrchestration.EdgeTargetResource>
override this.GetEdgeTargetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WorkloadOrchestration.EdgeTargetResource>
Public Overridable Function GetEdgeTargetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EdgeTargetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of EdgeTargetResource that may take multiple service requests to iterate over.

Applies to