1. Packages
  2. Volcengine
  3. API Docs
  4. mongodb
  5. Specs
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.mongodb.Specs

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Specs({});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.mongodb.specs()
Copy
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.Specs(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Mongodb.Specs.Invoke();

});
Copy
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.SpecsArgs;
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.Specs();

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:mongodb:Specs
      Arguments: {}
Copy

Using Specs

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 specs(args: SpecsArgs, opts?: InvokeOptions): Promise<SpecsResult>
function specsOutput(args: SpecsOutputArgs, opts?: InvokeOptions): Output<SpecsResult>
Copy
def specs(output_file: Optional[str] = None,
          region_id: Optional[str] = None,
          opts: Optional[InvokeOptions] = None) -> SpecsResult
def specs_output(output_file: Optional[pulumi.Input[str]] = None,
          region_id: Optional[pulumi.Input[str]] = None,
          opts: Optional[InvokeOptions] = None) -> Output[SpecsResult]
Copy
func Specs(ctx *Context, args *SpecsArgs, opts ...InvokeOption) (*SpecsResult, error)
func SpecsOutput(ctx *Context, args *SpecsOutputArgs, opts ...InvokeOption) SpecsResultOutput
Copy
public static class Specs 
{
    public static Task<SpecsResult> InvokeAsync(SpecsArgs args, InvokeOptions? opts = null)
    public static Output<SpecsResult> Invoke(SpecsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<SpecsResult> specs(SpecsArgs args, InvokeOptions options)
public static Output<SpecsResult> specs(SpecsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:mongodb:Specs
  arguments:
    # arguments dictionary
Copy

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.

Specs Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Specs SpecsSpecs
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 SpecsSpecs
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 SpecsSpecs
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 SpecsSpecs
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 SpecsSpecs
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

SpecsSpecs

MongosNodeSpecs This property is required. List<SpecsSpecsMongosNodeSpec>
The collection of mongos node specs.
NodeSpecs This property is required. List<SpecsSpecsNodeSpec>
The collection of node specs.
ShardNodeSpecs This property is required. List<SpecsSpecsShardNodeSpec>
The collection of shard node specs.
MongosNodeSpecs This property is required. []SpecsSpecsMongosNodeSpec
The collection of mongos node specs.
NodeSpecs This property is required. []SpecsSpecsNodeSpec
The collection of node specs.
ShardNodeSpecs This property is required. []SpecsSpecsShardNodeSpec
The collection of shard node specs.
mongosNodeSpecs This property is required. List<SpecsSpecsMongosNodeSpec>
The collection of mongos node specs.
nodeSpecs This property is required. List<SpecsSpecsNodeSpec>
The collection of node specs.
shardNodeSpecs This property is required. List<SpecsSpecsShardNodeSpec>
The collection of shard node specs.
mongosNodeSpecs This property is required. SpecsSpecsMongosNodeSpec[]
The collection of mongos node specs.
nodeSpecs This property is required. SpecsSpecsNodeSpec[]
The collection of node specs.
shardNodeSpecs This property is required. SpecsSpecsShardNodeSpec[]
The collection of shard node specs.
mongos_node_specs This property is required. Sequence[SpecsSpecsMongosNodeSpec]
The collection of mongos node specs.
node_specs This property is required. Sequence[SpecsSpecsNodeSpec]
The collection of node specs.
shard_node_specs This property is required. Sequence[SpecsSpecsShardNodeSpec]
The collection of shard node specs.
mongosNodeSpecs This property is required. List<Property Map>
The collection of mongos node specs.
nodeSpecs This property is required. List<Property Map>
The collection of node specs.
shardNodeSpecs This property is required. List<Property Map>
The collection of shard node specs.

SpecsSpecsMongosNodeSpec

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

SpecsSpecsNodeSpec

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

SpecsSpecsShardNodeSpec

CpuNum This property is required. double
The cpu cores.
MaxConn This property is required. int
The max connections.
MaxStorage This property is required. int
The max storage.
MemInGb This property is required. int
The memory in GB.
SpecName This property is required. string
The shard node spec name.
CpuNum This property is required. float64
The cpu cores.
MaxConn This property is required. int
The max connections.
MaxStorage This property is required. int
The max storage.
MemInGb This property is required. int
The memory in GB.
SpecName This property is required. string
The shard node spec name.
cpuNum This property is required. Double
The cpu cores.
maxConn This property is required. Integer
The max connections.
maxStorage This property is required. Integer
The max storage.
memInGb This property is required. Integer
The memory in GB.
specName This property is required. String
The shard node spec name.
cpuNum This property is required. number
The cpu cores.
maxConn This property is required. number
The max connections.
maxStorage This property is required. number
The max storage.
memInGb This property is required. number
The memory in GB.
specName This property is required. string
The shard node spec name.
cpu_num This property is required. float
The cpu cores.
max_conn This property is required. int
The max connections.
max_storage This property is required. int
The max storage.
mem_in_gb This property is required. int
The memory in GB.
spec_name This property is required. str
The shard node spec name.
cpuNum This property is required. Number
The cpu cores.
maxConn This property is required. Number
The max connections.
maxStorage This property is required. Number
The max storage.
memInGb This property is required. Number
The memory in GB.
specName This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine