共用方式為


ManagedServerSecurityAlertPolicyCollection.GetAll(CancellationToken) Method

Definition

Get the managed server's threat detection policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/securityAlertPolicies
  • Operation Id: ManagedServerSecurityAlertPolicies_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedServerSecurityAlertPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.ManagedServerSecurityAlertPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedServerSecurityAlertPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedServerSecurityAlertPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedServerSecurityAlertPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ManagedServerSecurityAlertPolicyResource that may take multiple service requests to iterate over.

Applies to