UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

119 lines (118 loc) 5.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Server parameter. * * Uses Azure REST API version 2024-08-01. In version 2.x of the Azure Native provider, it used API version 2022-12-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, 2025-01-01-preview, 2025-06-01-preview, 2025-08-01. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Configuration extends pulumi.CustomResource { /** * Get an existing Configuration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Configuration; /** * Returns true if the given object is an instance of Configuration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Configuration; /** * Allowed values of the server parameter. */ readonly allowedValues: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Data type of the server parameter. */ readonly dataType: pulumi.Output<string>; /** * Value assigned by default to the server parameter. */ readonly defaultValue: pulumi.Output<string>; /** * Description of the server parameter. */ readonly description: pulumi.Output<string>; /** * Link pointing to the documentation of the server parameter. */ readonly documentationLink: pulumi.Output<string>; /** * Indicates if the value assigned to the server parameter is pending a server restart for the value to take effect. */ readonly isConfigPendingRestart: pulumi.Output<boolean>; /** * Indicates if it's a dynamic (true) or static (false) server parameter. Static server parameters require a server restart after changing the value assigned to it, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to it, for the change to take effect. */ readonly isDynamicConfig: pulumi.Output<boolean>; /** * Indicates if it's a read-only (true) or modifiable (false) server parameter. */ readonly isReadOnly: pulumi.Output<boolean>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Source of the value assigned to the server parameter. Required to update the value assigned to a specific modifiable server parameter. */ readonly source: pulumi.Output<string | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.dbforpostgresql.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Units in which the server parameter value is expressed. */ readonly unit: pulumi.Output<string>; /** * Value of the server parameter (also known as configuration). Required to update the value assigned to a specific modifiable server parameter. */ readonly value: pulumi.Output<string | undefined>; /** * Create a Configuration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Configuration resource. */ export interface ConfigurationArgs { /** * Name of the server parameter. */ configurationName?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the server. */ serverName: pulumi.Input<string>; /** * Source of the value assigned to the server parameter. Required to update the value assigned to a specific modifiable server parameter. */ source?: pulumi.Input<string>; /** * Value of the server parameter (also known as configuration). Required to update the value assigned to a specific modifiable server parameter. */ value?: pulumi.Input<string>; }