Udostępnij za pośrednictwem


ManagedDatabaseAdvancedThreatProtectionCollection.GetAll Method

Definition

Gets a list of managed database's Advanced Threat Protection states.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to