Share via


ResourcesSubscriptionMockingExtension.GetJitRequestDefinitionsAsync Method

Definition

Retrieves all JIT requests within the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Solutions/jitRequests
  • Operation Id: jitRequests_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.JitRequestResource> GetJitRequestDefinitionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetJitRequestDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.JitRequestResource>
override this.GetJitRequestDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.JitRequestResource>
Public Overridable Function GetJitRequestDefinitionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of JitRequestResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to