Partager via


SecurityAssessmentResource.GetAsync Méthode

Définition

Obtenir une évaluation de sécurité sur votre ressource analysée

  • Chemin de la requête/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • IdAssessments_Get d’opération
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))

Paramètres

expand
Nullable<SecurityAssessmentODataExpand>

Développez OData. Optionnel.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à