다음을 통해 공유


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to