다음을 통해 공유


AuthorizationExtensions.GetRoleAssignmentScheduleRequestAsync Method

Definition

Overloads

GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
GetRoleAssignmentScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource

GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Source:
AuthorizationExtensions.cs
Source:
AuthorizationExtensions.cs

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>> GetRoleAssignmentScheduleRequestAsync (this Azure.ResourceManager.ArmResource armResource, string roleAssignmentScheduleRequestName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleRequestAsync : Azure.ResourceManager.ArmResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
<Extension()>
Public Function GetRoleAssignmentScheduleRequestAsync (armResource As ArmResource, roleAssignmentScheduleRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentScheduleRequestResource))

Parameters

armResource
ArmResource

The ArmResource instance the method will execute against.

roleAssignmentScheduleRequestName
String

The name (guid) of the role assignment schedule request to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

armResource or roleAssignmentScheduleRequestName is null.

roleAssignmentScheduleRequestName is an empty string, and was expected to be non-empty.

Applies to

GetRoleAssignmentScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Source:
AuthorizationExtensions.cs
Source:
AuthorizationExtensions.cs

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>> GetRoleAssignmentScheduleRequestAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string roleAssignmentScheduleRequestName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleRequestAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
<Extension()>
Public Function GetRoleAssignmentScheduleRequestAsync (client As ArmClient, scope As ResourceIdentifier, roleAssignmentScheduleRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentScheduleRequestResource))

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

roleAssignmentScheduleRequestName
String

The name (guid) of the role assignment schedule request to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client or roleAssignmentScheduleRequestName is null.

roleAssignmentScheduleRequestName is an empty string, and was expected to be non-empty.

Applies to