import * as pulumi from "@pulumi/pulumi"; /** * Sets a Coordinator 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 test = new azure.core.ResourceGroup("test", { * name: "example-resources", * location: "West Europe", * }); * const example = new azure.cosmosdb.PostgresqlCluster("example", { * name: "examplecluster", * resourceGroupName: exampleAzurermResourceGroup.name, * location: exampleAzurermResourceGroup.location, * administratorLoginPassword: "H@Sh1CoR3!", * coordinatorStorageQuotaInMb: 131072, * coordinatorVcoreCount: 2, * nodeCount: 2, * nodeStorageQuotaInMb: 131072, * nodeVcores: 2, * }); * const examplePostgresqlCoordinatorConfiguration = new azure.cosmosdb.PostgresqlCoordinatorConfiguration("example", { * name: "array_nulls", * clusterId: example.id, * value: "on", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DBforPostgreSQL` - 2022-11-08 * * ## Import * * Coordinator Configurations on Azure Cosmos DB for PostgreSQL Clusters can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cosmosdb/postgresqlCoordinatorConfiguration:PostgresqlCoordinatorConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/coordinatorConfigurations/array_nulls * ``` */ export declare class PostgresqlCoordinatorConfiguration extends pulumi.CustomResource { /** * Get an existing PostgresqlCoordinatorConfiguration 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?: PostgresqlCoordinatorConfigurationState, opts?: pulumi.CustomResourceOptions): PostgresqlCoordinatorConfiguration; /** * Returns true if the given object is an instance of PostgresqlCoordinatorConfiguration. 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 PostgresqlCoordinatorConfiguration; /** * 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 Coordinator 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 Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ readonly value: pulumi.Output; /** * Create a PostgresqlCoordinatorConfiguration 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: PostgresqlCoordinatorConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PostgresqlCoordinatorConfiguration resources. */ export interface PostgresqlCoordinatorConfigurationState { /** * 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 Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ value?: pulumi.Input; } /** * The set of arguments for constructing a PostgresqlCoordinatorConfiguration resource. */ export interface PostgresqlCoordinatorConfigurationArgs { /** * 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 Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. */ value: pulumi.Input; }