共用方式為


SynapseServerSecurityAlertPolicyCollection.GetAllAsync Method

Definition

Get workspace managed sql server's threat detection policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SynapseServerSecurityAlertPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SynapseServerSecurityAlertPolicyResource that may take multiple service requests to iterate over.

Applies to