Compartir a través de


SecurityAssessmentCollection.Get Método

Definición

Obtención de una evaluación de seguridad en el recurso examinado

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

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