Dela via


ServerThreatProtectionSettingsModelCollection.GetAll Method

Definition

Get a list of server's Threat Protection state.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings
  • Operation Id: ServerThreatProtectionSettings_ListByServer
  • Default Api Version: 2024-08-01
  • Resource: ServerThreatProtectionSettingsModelResource
public virtual Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServerThreatProtectionSettingsModelResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to