Share via


JitRequestCollection Class

Definition

A class representing a collection of JitRequestResource and their operations. Each JitRequestResource in the collection will belong to the same instance of ResourceGroupResource. To get a JitRequestCollection instance call the GetJitRequests method from an instance of ResourceGroupResource.

public class JitRequestCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Resources.JitRequestResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.JitRequestResource>
type JitRequestCollection = class
    inherit ArmCollection
    interface seq<JitRequestResource>
    interface IEnumerable
    interface IAsyncEnumerable<JitRequestResource>
Public Class JitRequestCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of JitRequestResource), IEnumerable(Of JitRequestResource)
Inheritance
JitRequestCollection
Implements

Constructors

JitRequestCollection()

Initializes a new instance of the JitRequestCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, JitRequestData, CancellationToken)

Creates or updates the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: jitRequests_CreateOrUpdate
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
CreateOrUpdateAsync(WaitUntil, String, JitRequestData, CancellationToken)

Creates or updates the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: jitRequests_CreateOrUpdate
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
Get(String, CancellationToken)

Gets the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
GetAll(CancellationToken)

Retrieves all JIT requests within the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests
  • Operation Id: jitRequests_ListByResourceGroup
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
GetAllAsync(CancellationToken)

Retrieves all JIT requests within the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests
  • Operation Id: jitRequests_ListByResourceGroup
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
GetAsync(String, CancellationToken)

Gets the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<JitRequestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<JitRequestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to