WorkspaceManagedSqlServerVulnerabilityAssessmentsOperationsExtensions.ListAsync Method

Definition

Lists the vulnerability assessment policies associated with a server.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment>> ListAsync (this Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment>>
<Extension()>
Public Function ListAsync (operations As IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ServerVulnerabilityAssessment))

Parameters

operations
IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists the vulnerability assessment policies associated with a workspace managed sql server.

Applies to