Share via


ManagedDatabaseSecurityAlertPolicyCollection.GetAll(CancellationToken) Method

Definition

Gets a list of managed database's security alert policies.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to