Share via


RoleEligibilityScheduleCollection Class

Definition

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

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

Constructors

RoleEligibilityScheduleCollection()

Initializes a new instance of the RoleEligibilityScheduleCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
Get(String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetAll(String, CancellationToken)

Gets role eligibility schedules for a resource scope.

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

Gets role eligibility schedules for a resource scope.

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

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RoleEligibilityScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to