Compartir a través de


SecurityAutomationResource.ValidateAsync Método

Definición

Valida el modelo de automatización de seguridad antes de crear o actualizar. Los errores de validación se devuelven al cliente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}/validate
  • IdAutomations_Validate de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationValidationStatus>> ValidateAsync (Azure.ResourceManager.SecurityCenter.SecurityAutomationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.ResourceManager.SecurityCenter.SecurityAutomationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationValidationStatus>>
override this.ValidateAsync : Azure.ResourceManager.SecurityCenter.SecurityAutomationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationValidationStatus>>
Public Overridable Function ValidateAsync (data As SecurityAutomationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityAutomationValidationStatus))

Parámetros

data
SecurityAutomationData

Recurso de automatización de seguridad.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

data es null.

Se aplica a