Compartilhar via


SecurityAssessmentResource.GetAsync Método

Definição

Obter uma avaliação de segurança em seu recurso verificado

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • IdAssessments_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAssessmentResource>> GetAsync (Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAssessmentResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentODataExpand> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAssessmentResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of SecurityAssessmentODataExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityAssessmentResource))

Parâmetros

expand
Nullable<SecurityAssessmentODataExpand>

Expanda OData. Opcional.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a