Share via


ServerVulnerabilityAssessmentResource.GetAsync(CancellationToken) Method

Definition

Gets a server vulnerability assessment onboarding statuses on a given resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}
  • Operation Id: ServerVulnerabilityAssessment_Get
  • Default Api Version: 2020-01-01
  • Resource: ServerVulnerabilityAssessmentResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServerVulnerabilityAssessmentResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to