ServerVulnerabilityAssessmentCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • 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.NullableResponse<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>> GetIfExistsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>>
override this.GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentResource>>
Public Overridable Function GetIfExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ServerVulnerabilityAssessmentResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to