1. Packages
  2. Vkcs Provider
  3. API Docs
  4. getDbConfigGroup
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.getDbConfigGroup

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    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:

    ConfigGroupId string
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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.
    ConfigGroupId string
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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.
    configGroupId String
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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.
    configGroupId string
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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_id str
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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.
    configGroupId String
    optional deprecated string → The UUID of the config_group. Deprecated This argument is deprecated, please, use the id attribute instead.

    Deprecated: Deprecated

    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:

    ConfigGroupId string

    Deprecated: Deprecated

    Created string
    string → Timestamp of config group's creation.
    Datastores List<GetDbConfigGroupDatastore>
    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".
    ConfigGroupId string

    Deprecated: Deprecated

    Created string
    string → Timestamp of config group's creation.
    Datastores []GetDbConfigGroupDatastore
    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".
    configGroupId String

    Deprecated: Deprecated

    created String
    string → Timestamp of config group's creation.
    datastores List<GetDbConfigGroupDatastore>
    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".
    configGroupId string

    Deprecated: Deprecated

    created string
    string → Timestamp of config group's creation.
    datastores GetDbConfigGroupDatastore[]
    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_id str

    Deprecated: Deprecated

    created str
    string → Timestamp of config group's creation.
    datastores Sequence[GetDbConfigGroupDatastore]
    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".
    configGroupId String

    Deprecated: Deprecated

    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

    Type string
    string → Type of the datastore.
    Version string
    string → Version of the datastore.
    Type string
    string → Type of the datastore.
    Version string
    string → Version of the datastore.
    type String
    string → Type of the datastore.
    version String
    string → Version of the datastore.
    type string
    string → Type of the datastore.
    version string
    string → Version of the datastore.
    type str
    string → Type of the datastore.
    version str
    string → Version of the datastore.
    type String
    string → Type of the datastore.
    version String
    string → Version of the datastore.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs