共用方式為


RoleEligibilityScheduleInstanceCollection Class

Definition

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

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

Constructors

RoleEligibilityScheduleInstanceCollection()

Initializes a new instance of the RoleEligibilityScheduleInstanceCollection 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/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
Get(String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetAll(String, CancellationToken)

Gets role eligibility schedule instances of a role eligibility schedule.

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

Gets role eligibility schedule instances of a role eligibility schedule.

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

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RoleEligibilityScheduleInstanceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to