Udostępnij za pośrednictwem


RoleAssignmentScheduleRequestResource.ValidateAsync Method

Definition

Validates a new role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}/validate
  • Operation Id: RoleAssignmentScheduleRequests_Validate
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>> ValidateAsync (Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
override this.ValidateAsync : Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>>
Public Overridable Function ValidateAsync (data As RoleAssignmentScheduleRequestData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentScheduleRequestResource))

Parameters

data
RoleAssignmentScheduleRequestData

Parameters for the role assignment schedule request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to