共用方式為


RoleEligibilityScheduleRequestCollection Class

Definition

A class representing a collection of RoleEligibilityScheduleRequestResource and their operations. Each RoleEligibilityScheduleRequestResource in the collection will belong to the same instance of ArmResource. To get a RoleEligibilityScheduleRequestCollection instance call the GetRoleEligibilityScheduleRequests method from an instance of ArmResource.

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

Constructors

RoleEligibilityScheduleRequestCollection()

Initializes a new instance of the RoleEligibilityScheduleRequestCollection 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, RoleEligibilityScheduleRequestData, CancellationToken)

Creates a role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Create
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
CreateOrUpdateAsync(WaitUntil, String, RoleEligibilityScheduleRequestData, CancellationToken)

Creates a role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Create
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
Get(String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetAll(String, CancellationToken)

Gets role eligibility schedule requests for a scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests
  • Operation Id: RoleEligibilityScheduleRequests_ListForScope
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetAllAsync(String, CancellationToken)

Gets role eligibility schedule requests for a scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests
  • Operation Id: RoleEligibilityScheduleRequests_ListForScope
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetAsync(String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
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<RoleEligibilityScheduleRequestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RoleEligibilityScheduleRequestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to