你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleAssignmentScheduleRequestResource.Validate 方法

定义

验证新的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}/validate
  • 操作IdRoleAssignmentScheduleRequests_Validate
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource> Validate (Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Validate : Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
override this.Validate : Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleRequestResource>
Public Overridable Function Validate (data As RoleAssignmentScheduleRequestData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentScheduleRequestResource)

参数

data
RoleAssignmentScheduleRequestData

角色分配计划请求的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于