PostgreSqlFlexibleServerTuningOptionCollection.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerTuningOptionResource>> GetAsync(Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerTuningOptionType tuningOption, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerTuningOptionType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerTuningOptionResource>>
override this.GetAsync : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerTuningOptionType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerTuningOptionResource>>
Public Overridable Function GetAsync (tuningOption As PostgreSqlFlexibleServerTuningOptionType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerTuningOptionResource))
Parameters
- tuningOption
- PostgreSqlFlexibleServerTuningOptionType
The name of the tuning option.
- cancellationToken
- CancellationToken
The cancellation token to use.