Condividi tramite


PostgreSqlFlexibleServerTuningOptionCollection Class

Definition

A class representing a collection of PostgreSqlFlexibleServerTuningOptionResource and their operations. Each PostgreSqlFlexibleServerTuningOptionResource in the collection will belong to the same instance of PostgreSqlFlexibleServerResource. To get a PostgreSqlFlexibleServerTuningOptionCollection instance call the GetPostgreSqlFlexibleServerTuningOptions method from an instance of PostgreSqlFlexibleServerResource.

public class PostgreSqlFlexibleServerTuningOptionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerTuningOptionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerTuningOptionResource>
type PostgreSqlFlexibleServerTuningOptionCollection = class
    inherit ArmCollection
    interface seq<PostgreSqlFlexibleServerTuningOptionResource>
    interface IEnumerable
    interface IAsyncEnumerable<PostgreSqlFlexibleServerTuningOptionResource>
Public Class PostgreSqlFlexibleServerTuningOptionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of PostgreSqlFlexibleServerTuningOptionResource), IEnumerable(Of PostgreSqlFlexibleServerTuningOptionResource)
Inheritance
PostgreSqlFlexibleServerTuningOptionCollection
Implements

Constructors

Name Description
PostgreSqlFlexibleServerTuningOptionCollection()

Initializes a new instance of the PostgreSqlFlexibleServerTuningOptionCollection class for mocking.

Properties

Name Description
Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Name Description
Exists(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
ExistsAsync(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
Get(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Gets the tuning options of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
GetAll(CancellationToken)

Lists the tuning options of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions
  • Operation Id: TuningOptions_ListByServer
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
GetAllAsync(CancellationToken)

Lists the tuning options of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions
  • Operation Id: TuningOptions_ListByServer
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
GetAsync(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Gets the tuning options of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
GetIfExists(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
GetIfExistsAsync(PostgreSqlFlexibleServerTuningOptionType, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}
  • Operation Id: TuningOptions_Get
  • Default Api Version: 2025-08-01
  • Resource: PostgreSqlFlexibleServerTuningOptionResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<PostgreSqlFlexibleServerTuningOptionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlFlexibleServerTuningOptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to