Partilhar via


SecurityCenterExtensions.GetSecurityAssessmentsAsync Método

Definição

Obter avaliações de segurança em todos os seus recursos verificados dentro de um escopo

  • Caminho da solicitação/{scope}/providers/Microsoft.Security/assessments
  • IdAssessments_List de operação
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAssessmentResource> GetSecurityAssessmentsAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityAssessmentsAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAssessmentResource>
<Extension()>
Public Function GetSecurityAssessmentsAsync (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityAssessmentResource)

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

scope
ResourceIdentifier

O escopo ao qual o recurso será aplicado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a