Delen via


AuthorizationExtensions.GetRoleAssignmentScheduleRequest Method

Definition

Overloads

GetRoleAssignmentScheduleRequest(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
GetRoleAssignmentScheduleRequest(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

GetRoleAssignmentScheduleRequest(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 Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource> GetRoleAssignmentScheduleRequest (this Azure.ResourceManager.ArmResource armResource, string roleAssignmentScheduleRequestName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleRequest : Azure.ResourceManager.ArmResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
<Extension()>
Public Function GetRoleAssignmentScheduleRequest (armResource As ArmResource, roleAssignmentScheduleRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As 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

GetRoleAssignmentScheduleRequest(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 Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource> GetRoleAssignmentScheduleRequest (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string roleAssignmentScheduleRequestName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleRequest : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
<Extension()>
Public Function GetRoleAssignmentScheduleRequest (client As ArmClient, scope As ResourceIdentifier, roleAssignmentScheduleRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As 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