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

RoleEligibilityScheduleRequestResource.ValidateAsync 方法

定义

验证新的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}/validate
  • 操作IdRoleEligibilityScheduleRequests_Validate
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource>> ValidateAsync (Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource>>
override this.ValidateAsync : Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestResource>>
Public Overridable Function ValidateAsync (data As RoleEligibilityScheduleRequestData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleEligibilityScheduleRequestResource))

参数

data
RoleEligibilityScheduleRequestData

角色资格计划请求的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于