import * as pulumi from "@pulumi/pulumi"; /** * Sets a Node Configuration value on Azure Cosmos DB for PostgreSQL Cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const examplePostgresqlCluster = new azure.cosmosdb.PostgresqlCluster("example", { * name: "examplecluster", * resourceGroupName: example.name, * location: example.location, * administratorLoginPassword: "H@Sh1CoR3!", * coordinatorStorageQuotaInMb: 131072, * coordinatorVcoreCount: 2, * nodeCount: 2, * nodeStorageQuotaInMb: 131072, * nodeVcores: 2, * }); * const examplePostgresqlNodeConfiguration = new azure.cosmosdb.PostgresqlNodeConfiguration("example", { * name: "array_nulls", * clusterId: examplePostgresqlCluster.id, * value: "on", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DBforPostgreSQL` - 2022-11-08 * * ## Import * * Node Configurations on Azure Cosmos DB for PostgreSQL Clusters can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cosmosdb/postgresqlNodeConfiguration:PostgresqlNodeConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/nodeConfigurations/array_nulls * ``` */ export declare class PostgresqlNodeConfiguration extends pulumi.CustomResource { /** * Get an existing PostgresqlNodeConfiguration 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PostgresqlNodeConfigurationState, opts?: pulumi.CustomResourceOptions): PostgresqlNodeConfiguration; /** * Returns true if the given object is an instance of PostgresqlNodeConfiguration. 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 PostgresqlNodeConfiguration; /** * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created. */ readonly clusterId: pulumi.Output; /** * The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ readonly value: pulumi.Output; /** * Create a PostgresqlNodeConfiguration 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: PostgresqlNodeConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PostgresqlNodeConfiguration resources. */ export interface PostgresqlNodeConfigurationState { /** * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created. */ clusterId?: pulumi.Input; /** * The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ value?: pulumi.Input; } /** * The set of arguments for constructing a PostgresqlNodeConfiguration resource. */ export interface PostgresqlNodeConfigurationArgs { /** * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created. */ clusterId: pulumi.Input; /** * The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ value: pulumi.Input; }