Compartir a través de


SecurityAssessmentResource.GetSecuritySubAssessment Método

Definición

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

  • Ruta de acceso de solicitud/{ámbito}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments/{subAssessmentName}
  • IdSubAssessments_Get de operación
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource> GetSecuritySubAssessment (string subAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecuritySubAssessment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
override this.GetSecuritySubAssessment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
Public Overridable Function GetSecuritySubAssessment (subAssessmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecuritySubAssessmentResource)

Parámetros

subAssessmentName
String

Clave Sub-Assessment: clave única para el tipo de subavaluación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

subAssessmentName es una cadena vacía y se esperaba que no estuviera vacía.

subAssessmentName es null.

Se aplica a