Share via


ManagedInstanceAdvancedThreatProtectionCollection.GetAllAsync Method

Definition

Get the managed instance's Advanced Threat Protection settings.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to