Udostępnij za pośrednictwem


RoleAssignmentScheduleInstanceCollection Class

Definition

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

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

Constructors

RoleAssignmentScheduleInstanceCollection()

Initializes a new instance of the RoleAssignmentScheduleInstanceCollection 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/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
Get(String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetAll(String, CancellationToken)

Gets role assignment schedule instances of a role assignment schedule.

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

Gets role assignment schedule instances of a role assignment schedule.

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

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RoleAssignmentScheduleInstanceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to