SqlVulnerabilityAssessmentScanResource.GetAsync Method

Definition

Overloads

Name Description
GetAsync(Guid, CancellationToken)

Provides a compatibility shim for the GetAsync operation preserved from the previous public API surface.

GetAsync(String, CancellationToken)

Gets the scan details of a single scan record.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
  • Resource. : SqlVulnerabilityAssessmentScanResource.

GetAsync(Guid, CancellationToken)

Source:
SqlVulnerabilityAssessmentScanResource.cs
Source:
SqlVulnerabilityAssessmentScanResource.cs

Provides a compatibility shim for the GetAsync operation preserved from the previous public API surface.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>> GetAsync(Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
Public Overridable Function GetAsync (workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlVulnerabilityAssessmentScanResource))

Parameters

workspaceId
Guid

The value preserved for API compatibility.

cancellationToken
CancellationToken

The value preserved for API compatibility.

Returns

The compatibility result.

Applies to

GetAsync(String, CancellationToken)

Source:
SqlVulnerabilityAssessmentScanResource.cs

Gets the scan details of a single scan record.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
  • Resource. : SqlVulnerabilityAssessmentScanResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>> GetAsync(string databaseName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
Public Overridable Function GetAsync (Optional databaseName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlVulnerabilityAssessmentScanResource))

Parameters

databaseName
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to