1. Packages
  2. Volcengine
  3. API Docs
  4. mongodb
  5. getSpecs
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.mongodb.getSpecs

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of mongodb specs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.mongodb.getSpecs({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.mongodb.get_specs()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodb.GetSpecs(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Mongodb.GetSpecs.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.mongodb.MongodbFunctions;
    import com.pulumi.volcengine.mongodb.inputs.GetSpecsArgs;
    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 foo = MongodbFunctions.getSpecs();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:mongodb:getSpecs
          Arguments: {}
    

    Using getSpecs

    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 getSpecs(args: GetSpecsArgs, opts?: InvokeOptions): Promise<GetSpecsResult>
    function getSpecsOutput(args: GetSpecsOutputArgs, opts?: InvokeOptions): Output<GetSpecsResult>
    def get_specs(output_file: Optional[str] = None,
                  region_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetSpecsResult
    def get_specs_output(output_file: Optional[pulumi.Input[str]] = None,
                  region_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetSpecsResult]
    func GetSpecs(ctx *Context, args *GetSpecsArgs, opts ...InvokeOption) (*GetSpecsResult, error)
    func GetSpecsOutput(ctx *Context, args *GetSpecsOutputArgs, opts ...InvokeOption) GetSpecsResultOutput

    > Note: This function is named GetSpecs in the Go SDK.

    public static class GetSpecs 
    {
        public static Task<GetSpecsResult> InvokeAsync(GetSpecsArgs args, InvokeOptions? opts = null)
        public static Output<GetSpecsResult> Invoke(GetSpecsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSpecsResult> getSpecs(GetSpecsArgs args, InvokeOptions options)
    public static Output<GetSpecsResult> getSpecs(GetSpecsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:mongodb/getSpecs:getSpecs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    RegionId string
    The region ID to query.
    OutputFile string
    File name where to save data source results.
    RegionId string
    The region ID to query.
    outputFile String
    File name where to save data source results.
    regionId String
    The region ID to query.
    outputFile string
    File name where to save data source results.
    regionId string
    The region ID to query.
    output_file str
    File name where to save data source results.
    region_id str
    The region ID to query.
    outputFile String
    File name where to save data source results.
    regionId String
    The region ID to query.

    getSpecs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Specs GetSpecsSpecs
    A list of supported node specification information for MongoDB instances.
    TotalCount int
    The total count of region query.
    OutputFile string
    RegionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Specs GetSpecsSpecs
    A list of supported node specification information for MongoDB instances.
    TotalCount int
    The total count of region query.
    OutputFile string
    RegionId string
    id String
    The provider-assigned unique ID for this managed resource.
    specs GetSpecsSpecs
    A list of supported node specification information for MongoDB instances.
    totalCount Integer
    The total count of region query.
    outputFile String
    regionId String
    id string
    The provider-assigned unique ID for this managed resource.
    specs GetSpecsSpecs
    A list of supported node specification information for MongoDB instances.
    totalCount number
    The total count of region query.
    outputFile string
    regionId string
    id str
    The provider-assigned unique ID for this managed resource.
    specs GetSpecsSpecs
    A list of supported node specification information for MongoDB instances.
    total_count int
    The total count of region query.
    output_file str
    region_id str
    id String
    The provider-assigned unique ID for this managed resource.
    specs Property Map
    A list of supported node specification information for MongoDB instances.
    totalCount Number
    The total count of region query.
    outputFile String
    regionId String

    Supporting Types

    GetSpecsSpecs

    ConfigServerNodeSpecs List<GetSpecsSpecsConfigServerNodeSpec>
    The collection of config server node specs.
    MongosNodeSpecs List<GetSpecsSpecsMongosNodeSpec>
    The collection of mongos node specs.
    NodeSpecs List<GetSpecsSpecsNodeSpec>
    The collection of node specs.
    ShardNodeSpecs List<GetSpecsSpecsShardNodeSpec>
    The collection of shard node specs.
    ConfigServerNodeSpecs []GetSpecsSpecsConfigServerNodeSpec
    The collection of config server node specs.
    MongosNodeSpecs []GetSpecsSpecsMongosNodeSpec
    The collection of mongos node specs.
    NodeSpecs []GetSpecsSpecsNodeSpec
    The collection of node specs.
    ShardNodeSpecs []GetSpecsSpecsShardNodeSpec
    The collection of shard node specs.
    configServerNodeSpecs List<GetSpecsSpecsConfigServerNodeSpec>
    The collection of config server node specs.
    mongosNodeSpecs List<GetSpecsSpecsMongosNodeSpec>
    The collection of mongos node specs.
    nodeSpecs List<GetSpecsSpecsNodeSpec>
    The collection of node specs.
    shardNodeSpecs List<GetSpecsSpecsShardNodeSpec>
    The collection of shard node specs.
    configServerNodeSpecs GetSpecsSpecsConfigServerNodeSpec[]
    The collection of config server node specs.
    mongosNodeSpecs GetSpecsSpecsMongosNodeSpec[]
    The collection of mongos node specs.
    nodeSpecs GetSpecsSpecsNodeSpec[]
    The collection of node specs.
    shardNodeSpecs GetSpecsSpecsShardNodeSpec[]
    The collection of shard node specs.
    config_server_node_specs Sequence[GetSpecsSpecsConfigServerNodeSpec]
    The collection of config server node specs.
    mongos_node_specs Sequence[GetSpecsSpecsMongosNodeSpec]
    The collection of mongos node specs.
    node_specs Sequence[GetSpecsSpecsNodeSpec]
    The collection of node specs.
    shard_node_specs Sequence[GetSpecsSpecsShardNodeSpec]
    The collection of shard node specs.
    configServerNodeSpecs List<Property Map>
    The collection of config server node specs.
    mongosNodeSpecs List<Property Map>
    The collection of mongos node specs.
    nodeSpecs List<Property Map>
    The collection of node specs.
    shardNodeSpecs List<Property Map>
    The collection of shard node specs.

    GetSpecsSpecsConfigServerNodeSpec

    CpuNum double
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInGb int
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    CpuNum float64
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInGb int
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    cpuNum Double
    The cpu cores.
    maxConn Integer
    The max connections.
    maxStorage Integer
    The max storage.
    memInGb Integer
    The memory in GB.
    minStorage Integer
    The min storage.
    specName String
    The shard node spec name.
    cpuNum number
    The cpu cores.
    maxConn number
    The max connections.
    maxStorage number
    The max storage.
    memInGb number
    The memory in GB.
    minStorage number
    The min storage.
    specName string
    The shard node spec name.
    cpu_num float
    The cpu cores.
    max_conn int
    The max connections.
    max_storage int
    The max storage.
    mem_in_gb int
    The memory in GB.
    min_storage int
    The min storage.
    spec_name str
    The shard node spec name.
    cpuNum Number
    The cpu cores.
    maxConn Number
    The max connections.
    maxStorage Number
    The max storage.
    memInGb Number
    The memory in GB.
    minStorage Number
    The min storage.
    specName String
    The shard node spec name.

    GetSpecsSpecsMongosNodeSpec

    CpuNum double
    The cpu cores.
    MaxConn int
    The max connections.
    MemInGb double
    The memory in GB.
    SpecName string
    The shard node spec name.
    CpuNum float64
    The cpu cores.
    MaxConn int
    The max connections.
    MemInGb float64
    The memory in GB.
    SpecName string
    The shard node spec name.
    cpuNum Double
    The cpu cores.
    maxConn Integer
    The max connections.
    memInGb Double
    The memory in GB.
    specName String
    The shard node spec name.
    cpuNum number
    The cpu cores.
    maxConn number
    The max connections.
    memInGb number
    The memory in GB.
    specName string
    The shard node spec name.
    cpu_num float
    The cpu cores.
    max_conn int
    The max connections.
    mem_in_gb float
    The memory in GB.
    spec_name str
    The shard node spec name.
    cpuNum Number
    The cpu cores.
    maxConn Number
    The max connections.
    memInGb Number
    The memory in GB.
    specName String
    The shard node spec name.

    GetSpecsSpecsNodeSpec

    CpuNum double
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInDb double
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    CpuNum float64
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInDb float64
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    cpuNum Double
    The cpu cores.
    maxConn Integer
    The max connections.
    maxStorage Integer
    The max storage.
    memInDb Double
    The memory in GB.
    minStorage Integer
    The min storage.
    specName String
    The shard node spec name.
    cpuNum number
    The cpu cores.
    maxConn number
    The max connections.
    maxStorage number
    The max storage.
    memInDb number
    The memory in GB.
    minStorage number
    The min storage.
    specName string
    The shard node spec name.
    cpu_num float
    The cpu cores.
    max_conn int
    The max connections.
    max_storage int
    The max storage.
    mem_in_db float
    The memory in GB.
    min_storage int
    The min storage.
    spec_name str
    The shard node spec name.
    cpuNum Number
    The cpu cores.
    maxConn Number
    The max connections.
    maxStorage Number
    The max storage.
    memInDb Number
    The memory in GB.
    minStorage Number
    The min storage.
    specName String
    The shard node spec name.

    GetSpecsSpecsShardNodeSpec

    CpuNum double
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInGb int
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    CpuNum float64
    The cpu cores.
    MaxConn int
    The max connections.
    MaxStorage int
    The max storage.
    MemInGb int
    The memory in GB.
    MinStorage int
    The min storage.
    SpecName string
    The shard node spec name.
    cpuNum Double
    The cpu cores.
    maxConn Integer
    The max connections.
    maxStorage Integer
    The max storage.
    memInGb Integer
    The memory in GB.
    minStorage Integer
    The min storage.
    specName String
    The shard node spec name.
    cpuNum number
    The cpu cores.
    maxConn number
    The max connections.
    maxStorage number
    The max storage.
    memInGb number
    The memory in GB.
    minStorage number
    The min storage.
    specName string
    The shard node spec name.
    cpu_num float
    The cpu cores.
    max_conn int
    The max connections.
    max_storage int
    The max storage.
    mem_in_gb int
    The memory in GB.
    min_storage int
    The min storage.
    spec_name str
    The shard node spec name.
    cpuNum Number
    The cpu cores.
    maxConn Number
    The max connections.
    maxStorage Number
    The max storage.
    memInGb Number
    The memory in GB.
    minStorage Number
    The min storage.
    specName String
    The shard node spec name.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine