Share via


ResourcesSubscriptionMockingExtension.GetJitRequestDefinitions Method

Definition

Retrieves all JIT requests within the subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to