SecurityCenterExtensions.GetSqlVulnerabilityAssessmentScanAsync Method

Definition

Overloads

Name Description
GetSqlVulnerabilityAssessmentScanAsync(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

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

GetSqlVulnerabilityAssessmentScanAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Gets the scan details of a single scan record. <item> Mocking. To mock this method, please mock GetSqlVulnerabilityAssessmentScanAsync(ResourceIdentifier, String, String, CancellationToken) instead. </item>

GetSqlVulnerabilityAssessmentScanAsync(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

Source:
SecurityCenterExtensions.cs
Source:
SecurityCenterExtensions.cs

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

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>> GetSqlVulnerabilityAssessmentScanAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string scanId, Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
static member GetSqlVulnerabilityAssessmentScanAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
<Extension()>
Public Function GetSqlVulnerabilityAssessmentScanAsync (client As ArmClient, scope As ResourceIdentifier, scanId As String, workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlVulnerabilityAssessmentScanResource))

Parameters

client
ArmClient

The value preserved for API compatibility.

scope
ResourceIdentifier

The value preserved for API compatibility.

scanId
String

The value preserved for API compatibility.

workspaceId
Guid

The value preserved for API compatibility.

cancellationToken
CancellationToken

The value preserved for API compatibility.

Returns

The compatibility result.

Exceptions

client or scanId is null.

scanId is an empty string, and was expected to be non-empty.

Applies to

GetSqlVulnerabilityAssessmentScanAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Source:
SecurityCenterExtensions.cs

Gets the scan details of a single scan record. <item> Mocking. To mock this method, please mock GetSqlVulnerabilityAssessmentScanAsync(ResourceIdentifier, String, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>> GetSqlVulnerabilityAssessmentScanAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string scanId, string databaseName = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSqlVulnerabilityAssessmentScanAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentScanResource>>
<Extension()>
Public Function GetSqlVulnerabilityAssessmentScanAsync (client As ArmClient, scope As ResourceIdentifier, scanId As String, Optional databaseName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlVulnerabilityAssessmentScanResource))

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

scanId
String
databaseName
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to