1. Packages
  2. Azure Native
  3. API Docs
  4. dbforpostgresql
  5. getConfiguration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.dbforpostgresql.getConfiguration

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets information about a configuration of server.

Uses Azure REST API version 2024-08-01.

Other available API versions: 2022-12-01, 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the version guide for details.

Using getConfiguration

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getConfiguration(args: GetConfigurationArgs, opts?: InvokeOptions): Promise<GetConfigurationResult>
function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: InvokeOptions): Output<GetConfigurationResult>
Copy
def get_configuration(configuration_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      server_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetConfigurationResult
def get_configuration_output(configuration_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      server_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationResult]
Copy
func LookupConfiguration(ctx *Context, args *LookupConfigurationArgs, opts ...InvokeOption) (*LookupConfigurationResult, error)
func LookupConfigurationOutput(ctx *Context, args *LookupConfigurationOutputArgs, opts ...InvokeOption) LookupConfigurationResultOutput
Copy

> Note: This function is named LookupConfiguration in the Go SDK.

public static class GetConfiguration 
{
    public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationResult> Invoke(GetConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConfigurationResult> getConfiguration(GetConfigurationArgs args, InvokeOptions options)
public static Output<GetConfigurationResult> getConfiguration(GetConfigurationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:dbforpostgresql:getConfiguration
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server configuration.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
ConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server configuration.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
configurationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.
configurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
configuration_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the server configuration.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
server_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the server.
configurationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.

getConfiguration Result

The following output properties are available:

AllowedValues string
Allowed values of the configuration.
AzureApiVersion string
The Azure API version of the resource.
DataType string
Data type of the configuration.
DefaultValue string
Default value of the configuration.
Description string
Description of the configuration.
DocumentationLink string
Configuration documentation link.
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
IsConfigPendingRestart bool
Configuration is pending restart or not.
IsDynamicConfig bool
Configuration dynamic or static.
IsReadOnly bool
Configuration read-only or not.
Name string
The name of the resource
SystemData Pulumi.AzureNative.DBforPostgreSQL.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Unit string
Configuration unit.
Source string
Source of the configuration. Required to update the configuration.
Value string
Value of the configuration. Required to update the configuration.
AllowedValues string
Allowed values of the configuration.
AzureApiVersion string
The Azure API version of the resource.
DataType string
Data type of the configuration.
DefaultValue string
Default value of the configuration.
Description string
Description of the configuration.
DocumentationLink string
Configuration documentation link.
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
IsConfigPendingRestart bool
Configuration is pending restart or not.
IsDynamicConfig bool
Configuration dynamic or static.
IsReadOnly bool
Configuration read-only or not.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Unit string
Configuration unit.
Source string
Source of the configuration. Required to update the configuration.
Value string
Value of the configuration. Required to update the configuration.
allowedValues String
Allowed values of the configuration.
azureApiVersion String
The Azure API version of the resource.
dataType String
Data type of the configuration.
defaultValue String
Default value of the configuration.
description String
Description of the configuration.
documentationLink String
Configuration documentation link.
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
isConfigPendingRestart Boolean
Configuration is pending restart or not.
isDynamicConfig Boolean
Configuration dynamic or static.
isReadOnly Boolean
Configuration read-only or not.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
unit String
Configuration unit.
source String
Source of the configuration. Required to update the configuration.
value String
Value of the configuration. Required to update the configuration.
allowedValues string
Allowed values of the configuration.
azureApiVersion string
The Azure API version of the resource.
dataType string
Data type of the configuration.
defaultValue string
Default value of the configuration.
description string
Description of the configuration.
documentationLink string
Configuration documentation link.
id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
isConfigPendingRestart boolean
Configuration is pending restart or not.
isDynamicConfig boolean
Configuration dynamic or static.
isReadOnly boolean
Configuration read-only or not.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
unit string
Configuration unit.
source string
Source of the configuration. Required to update the configuration.
value string
Value of the configuration. Required to update the configuration.
allowed_values str
Allowed values of the configuration.
azure_api_version str
The Azure API version of the resource.
data_type str
Data type of the configuration.
default_value str
Default value of the configuration.
description str
Description of the configuration.
documentation_link str
Configuration documentation link.
id str
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
is_config_pending_restart bool
Configuration is pending restart or not.
is_dynamic_config bool
Configuration dynamic or static.
is_read_only bool
Configuration read-only or not.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
unit str
Configuration unit.
source str
Source of the configuration. Required to update the configuration.
value str
Value of the configuration. Required to update the configuration.
allowedValues String
Allowed values of the configuration.
azureApiVersion String
The Azure API version of the resource.
dataType String
Data type of the configuration.
defaultValue String
Default value of the configuration.
description String
Description of the configuration.
documentationLink String
Configuration documentation link.
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
isConfigPendingRestart Boolean
Configuration is pending restart or not.
isDynamicConfig Boolean
Configuration dynamic or static.
isReadOnly Boolean
Configuration read-only or not.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
unit String
Configuration unit.
source String
Source of the configuration. Required to update the configuration.
value String
Value of the configuration. Required to update the configuration.

Supporting Types

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi