AuthorizationExtensions.GetRoleAssignmentScheduleRequest Method

Definition

Overloads

Name Description
GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

GetRoleAssignmentScheduleRequest(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule request. <item> Mocking. To mock this method, please mock GetRoleAssignmentScheduleRequest(ResourceIdentifier, String, CancellationToken) instead. </item>

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Source:
AuthorizationExtensions.cs
Source:
AuthorizationExtensions.cs

Get the specified role assignment schedule request.

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

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. <item> Mocking. To mock this method, please mock GetRoleAssignmentScheduleRequest(ResourceIdentifier, String, CancellationToken) instead. </item>

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 the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

roleAssignmentScheduleRequestName
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

client is null.

Applies to