Compartir a través de


SecurityAssessmentCollection.Exists Método

Definición

Comprueba si el recurso existe en Azure.

  • Ruta de acceso de solicitud/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • IdAssessments_Get de operación
public virtual Azure.Response<bool> Exists (string assessmentName, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand> * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand> * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (assessmentName As String, Optional expand As Nullable(Of SecurityAssessmentODataExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parámetros

assessmentName
String

Clave de evaluación: clave única para el tipo de evaluación.

expand
Nullable<SecurityAssessmentODataExpand>

OData expande. Opcional.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

assessmentName es una cadena vacía y se espera que no esté vacía.

assessmentName es null.

Se aplica a