vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getDbConfigGroup
Explore with Pulumi AI
Use this data source to get the information on a db config group resource.
New since v0.1.7.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const dbConfigGroup = vkcs.getDbConfigGroup({
id: "7a914e84-8fcf-46f8-bbe5-a8337ba090f4",
});
import pulumi
import pulumi_vkcs as vkcs
db_config_group = vkcs.get_db_config_group(id="7a914e84-8fcf-46f8-bbe5-a8337ba090f4")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.LookupDbConfigGroup(ctx, &vkcs.LookupDbConfigGroupArgs{
Id: pulumi.StringRef("7a914e84-8fcf-46f8-bbe5-a8337ba090f4"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var dbConfigGroup = Vkcs.GetDbConfigGroup.Invoke(new()
{
Id = "7a914e84-8fcf-46f8-bbe5-a8337ba090f4",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetDbConfigGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var dbConfigGroup = VkcsFunctions.getDbConfigGroup(GetDbConfigGroupArgs.builder()
.id("7a914e84-8fcf-46f8-bbe5-a8337ba090f4")
.build());
}
}
variables:
dbConfigGroup:
fn::invoke:
function: vkcs:getDbConfigGroup
arguments:
id: 7a914e84-8fcf-46f8-bbe5-a8337ba090f4
Using getDbConfigGroup
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 getDbConfigGroup(args: GetDbConfigGroupArgs, opts?: InvokeOptions): Promise<GetDbConfigGroupResult>
function getDbConfigGroupOutput(args: GetDbConfigGroupOutputArgs, opts?: InvokeOptions): Output<GetDbConfigGroupResult>
def get_db_config_group(config_group_id: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbConfigGroupResult
def get_db_config_group_output(config_group_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbConfigGroupResult]
func LookupDbConfigGroup(ctx *Context, args *LookupDbConfigGroupArgs, opts ...InvokeOption) (*LookupDbConfigGroupResult, error)
func LookupDbConfigGroupOutput(ctx *Context, args *LookupDbConfigGroupOutputArgs, opts ...InvokeOption) LookupDbConfigGroupResultOutput
> Note: This function is named LookupDbConfigGroup
in the Go SDK.
public static class GetDbConfigGroup
{
public static Task<GetDbConfigGroupResult> InvokeAsync(GetDbConfigGroupArgs args, InvokeOptions? opts = null)
public static Output<GetDbConfigGroupResult> Invoke(GetDbConfigGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbConfigGroupResult> getDbConfigGroup(GetDbConfigGroupArgs args, InvokeOptions options)
public static Output<GetDbConfigGroupResult> getDbConfigGroup(GetDbConfigGroupArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getDbConfigGroup:getDbConfigGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Config
Group stringId - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - Id string
- optional string → The UUID of the config_group.
- Region string
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
- Config
Group stringId - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - Id string
- optional string → The UUID of the config_group.
- Region string
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
- config
Group StringId - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - id String
- optional string → The UUID of the config_group.
- region String
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
- config
Group stringId - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - id string
- optional string → The UUID of the config_group.
- region string
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
- config_
group_ strid - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - id str
- optional string → The UUID of the config_group.
- region str
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
- config
Group StringId - optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the
id
attribute instead. - id String
- optional string → The UUID of the config_group.
- region String
- optional string → The region in which to obtain the service client. If omitted, the
region
argument of the provider is used.New since v0.4.0.
getDbConfigGroup Result
The following output properties are available:
- Config
Group stringId - Created string
- string → Timestamp of config group's creation.
- Datastores
List<Get
Db Config Group Datastore> - list → Object that represents datastore of backup
- Description string
- string → The description of the config group.
- Id string
- Name string
- string → The name of the config group.
- Region string
- Updated string
- string → Timestamp of config group's last update.
- Values Dictionary<string, string>
- map of string → Map of configuration parameters in format "key": "value".
- Config
Group stringId - Created string
- string → Timestamp of config group's creation.
- Datastores
[]Get
Db Config Group Datastore - list → Object that represents datastore of backup
- Description string
- string → The description of the config group.
- Id string
- Name string
- string → The name of the config group.
- Region string
- Updated string
- string → Timestamp of config group's last update.
- Values map[string]string
- map of string → Map of configuration parameters in format "key": "value".
- config
Group StringId - created String
- string → Timestamp of config group's creation.
- datastores
List<Get
Db Config Group Datastore> - list → Object that represents datastore of backup
- description String
- string → The description of the config group.
- id String
- name String
- string → The name of the config group.
- region String
- updated String
- string → Timestamp of config group's last update.
- values Map<String,String>
- map of string → Map of configuration parameters in format "key": "value".
- config
Group stringId - created string
- string → Timestamp of config group's creation.
- datastores
Get
Db Config Group Datastore[] - list → Object that represents datastore of backup
- description string
- string → The description of the config group.
- id string
- name string
- string → The name of the config group.
- region string
- updated string
- string → Timestamp of config group's last update.
- values {[key: string]: string}
- map of string → Map of configuration parameters in format "key": "value".
- config_
group_ strid - created str
- string → Timestamp of config group's creation.
- datastores
Sequence[Get
Db Config Group Datastore] - list → Object that represents datastore of backup
- description str
- string → The description of the config group.
- id str
- name str
- string → The name of the config group.
- region str
- updated str
- string → Timestamp of config group's last update.
- values Mapping[str, str]
- map of string → Map of configuration parameters in format "key": "value".
- config
Group StringId - created String
- string → Timestamp of config group's creation.
- datastores List<Property Map>
- list → Object that represents datastore of backup
- description String
- string → The description of the config group.
- id String
- name String
- string → The name of the config group.
- region String
- updated String
- string → Timestamp of config group's last update.
- values Map<String>
- map of string → Map of configuration parameters in format "key": "value".
Supporting Types
GetDbConfigGroupDatastore
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.