RoleAssignmentScheduleRequestResource.ValidateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters for the role assignment schedule request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.