Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.mongodb.getSpecs
Explore with Pulumi AI
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:
- Output
File string - File name where to save data source results.
- Region
Id string - The region ID to query.
- Output
File string - File name where to save data source results.
- Region
Id string - The region ID to query.
- output
File String - File name where to save data source results.
- region
Id String - The region ID to query.
- output
File string - File name where to save data source results.
- region
Id 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.
- output
File String - File name where to save data source results.
- region
Id 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
Get
Specs Specs - A list of supported node specification information for MongoDB instances.
- Total
Count int - The total count of region query.
- Output
File string - Region
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Specs
Get
Specs Specs - A list of supported node specification information for MongoDB instances.
- Total
Count int - The total count of region query.
- Output
File string - Region
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- specs
Get
Specs Specs - A list of supported node specification information for MongoDB instances.
- total
Count Integer - The total count of region query.
- output
File String - region
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- specs
Get
Specs Specs - A list of supported node specification information for MongoDB instances.
- total
Count number - The total count of region query.
- output
File string - region
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- specs
Get
Specs Specs - 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.
- total
Count Number - The total count of region query.
- output
File String - region
Id String
Supporting Types
GetSpecsSpecs
- Config
Server List<GetNode Specs Specs Specs Config Server Node Spec> - The collection of config server node specs.
- Mongos
Node List<GetSpecs Specs Specs Mongos Node Spec> - The collection of mongos node specs.
- Node
Specs List<GetSpecs Specs Node Spec> - The collection of node specs.
- List<Get
Specs Specs Shard Node Spec> - The collection of shard node specs.
- Config
Server []GetNode Specs Specs Specs Config Server Node Spec - The collection of config server node specs.
- Mongos
Node []GetSpecs Specs Specs Mongos Node Spec - The collection of mongos node specs.
- Node
Specs []GetSpecs Specs Node Spec - The collection of node specs.
- []Get
Specs Specs Shard Node Spec - The collection of shard node specs.
- config
Server List<GetNode Specs Specs Specs Config Server Node Spec> - The collection of config server node specs.
- mongos
Node List<GetSpecs Specs Specs Mongos Node Spec> - The collection of mongos node specs.
- node
Specs List<GetSpecs Specs Node Spec> - The collection of node specs.
- List<Get
Specs Specs Shard Node Spec> - The collection of shard node specs.
- config
Server GetNode Specs Specs Specs Config Server Node Spec[] - The collection of config server node specs.
- mongos
Node GetSpecs Specs Specs Mongos Node Spec[] - The collection of mongos node specs.
- node
Specs GetSpecs Specs Node Spec[] - The collection of node specs.
- Get
Specs Specs Shard Node Spec[] - The collection of shard node specs.
- config_
server_ Sequence[Getnode_ specs Specs Specs Config Server Node Spec] - The collection of config server node specs.
- mongos_
node_ Sequence[Getspecs Specs Specs Mongos Node Spec] - The collection of mongos node specs.
- node_
specs Sequence[GetSpecs Specs Node Spec] - The collection of node specs.
- Sequence[Get
Specs Specs Shard Node Spec] - The collection of shard node specs.
- config
Server List<Property Map>Node Specs - The collection of config server node specs.
- mongos
Node List<Property Map>Specs - The collection of mongos node specs.
- node
Specs List<Property Map> - The collection of node specs.
- List<Property Map>
- The collection of shard node specs.
GetSpecsSpecsConfigServerNodeSpec
- Cpu
Num double - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In intGb - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- Cpu
Num float64 - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In intGb - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- cpu
Num Double - The cpu cores.
- max
Conn Integer - The max connections.
- max
Storage Integer - The max storage.
- mem
In IntegerGb - The memory in GB.
- min
Storage Integer - The min storage.
- spec
Name String - The shard node spec name.
- cpu
Num number - The cpu cores.
- max
Conn number - The max connections.
- max
Storage number - The max storage.
- mem
In numberGb - The memory in GB.
- min
Storage number - The min storage.
- spec
Name 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_ intgb - The memory in GB.
- min_
storage int - The min storage.
- spec_
name str - The shard node spec name.
- cpu
Num Number - The cpu cores.
- max
Conn Number - The max connections.
- max
Storage Number - The max storage.
- mem
In NumberGb - The memory in GB.
- min
Storage Number - The min storage.
- spec
Name String - The shard node spec name.
GetSpecsSpecsMongosNodeSpec
GetSpecsSpecsNodeSpec
- Cpu
Num double - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In doubleDb - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- Cpu
Num float64 - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In float64Db - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- cpu
Num Double - The cpu cores.
- max
Conn Integer - The max connections.
- max
Storage Integer - The max storage.
- mem
In DoubleDb - The memory in GB.
- min
Storage Integer - The min storage.
- spec
Name String - The shard node spec name.
- cpu
Num number - The cpu cores.
- max
Conn number - The max connections.
- max
Storage number - The max storage.
- mem
In numberDb - The memory in GB.
- min
Storage number - The min storage.
- spec
Name 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_ floatdb - The memory in GB.
- min_
storage int - The min storage.
- spec_
name str - The shard node spec name.
- cpu
Num Number - The cpu cores.
- max
Conn Number - The max connections.
- max
Storage Number - The max storage.
- mem
In NumberDb - The memory in GB.
- min
Storage Number - The min storage.
- spec
Name String - The shard node spec name.
GetSpecsSpecsShardNodeSpec
- Cpu
Num double - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In intGb - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- Cpu
Num float64 - The cpu cores.
- Max
Conn int - The max connections.
- Max
Storage int - The max storage.
- Mem
In intGb - The memory in GB.
- Min
Storage int - The min storage.
- Spec
Name string - The shard node spec name.
- cpu
Num Double - The cpu cores.
- max
Conn Integer - The max connections.
- max
Storage Integer - The max storage.
- mem
In IntegerGb - The memory in GB.
- min
Storage Integer - The min storage.
- spec
Name String - The shard node spec name.
- cpu
Num number - The cpu cores.
- max
Conn number - The max connections.
- max
Storage number - The max storage.
- mem
In numberGb - The memory in GB.
- min
Storage number - The min storage.
- spec
Name 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_ intgb - The memory in GB.
- min_
storage int - The min storage.
- spec_
name str - The shard node spec name.
- cpu
Num Number - The cpu cores.
- max
Conn Number - The max connections.
- max
Storage Number - The max storage.
- mem
In NumberGb - The memory in GB.
- min
Storage Number - The min storage.
- spec
Name 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.