Freigeben über


SecurityAssessmentResource.GetAsync Methode

Definition

Abrufen einer Sicherheitsbewertung für Ihre gescannte Ressource

  • Anforderungspfad/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Vorgang IdAssessments_Get
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))

Parameter

expand
Nullable<SecurityAssessmentODataExpand>

OData erweitern. Optional.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: