1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. mongodb
  5. getServerlessInstances
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.mongodb.getServerlessInstances

Explore with Pulumi AI

This data source provides the Mongodb Serverless Instances of the current Alibaba Cloud user.

NOTE: Available in v1.148.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = alicloud.mongodb.getServerlessInstances({
    ids: ["example_value"],
    dbInstanceClass: "example_value",
    dbInstanceDescription: "example_value",
    networkType: "VPC",
    resourceGroupId: "example_value",
    status: "Running",
    vpcId: "example_value",
    vswitchId: "example_value",
    zoneId: "example_value",
    tags: {
        Created: "MongodbServerlessInstance",
        For: "TF",
    },
});
export const mongodbServerlessInstanceId1 = example.then(example => example.instances?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.mongodb.get_serverless_instances(ids=["example_value"],
    db_instance_class="example_value",
    db_instance_description="example_value",
    network_type="VPC",
    resource_group_id="example_value",
    status="Running",
    vpc_id="example_value",
    vswitch_id="example_value",
    zone_id="example_value",
    tags={
        "Created": "MongodbServerlessInstance",
        "For": "TF",
    })
pulumi.export("mongodbServerlessInstanceId1", example.instances[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mongodb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := mongodb.GetServerlessInstances(ctx, &mongodb.GetServerlessInstancesArgs{
			Ids: []string{
				"example_value",
			},
			DbInstanceClass:       pulumi.StringRef("example_value"),
			DbInstanceDescription: pulumi.StringRef("example_value"),
			NetworkType:           pulumi.StringRef("VPC"),
			ResourceGroupId:       pulumi.StringRef("example_value"),
			Status:                pulumi.StringRef("Running"),
			VpcId:                 pulumi.StringRef("example_value"),
			VswitchId:             pulumi.StringRef("example_value"),
			ZoneId:                pulumi.StringRef("example_value"),
			Tags: map[string]interface{}{
				"Created": "MongodbServerlessInstance",
				"For":     "TF",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("mongodbServerlessInstanceId1", example.Instances[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var example = AliCloud.MongoDB.GetServerlessInstances.Invoke(new()
    {
        Ids = new[]
        {
            "example_value",
        },
        DbInstanceClass = "example_value",
        DbInstanceDescription = "example_value",
        NetworkType = "VPC",
        ResourceGroupId = "example_value",
        Status = "Running",
        VpcId = "example_value",
        VswitchId = "example_value",
        ZoneId = "example_value",
        Tags = 
        {
            { "Created", "MongodbServerlessInstance" },
            { "For", "TF" },
        },
    });

    return new Dictionary<string, object?>
    {
        ["mongodbServerlessInstanceId1"] = example.Apply(getServerlessInstancesResult => getServerlessInstancesResult.Instances[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.mongodb.MongodbFunctions;
import com.pulumi.alicloud.mongodb.inputs.GetServerlessInstancesArgs;
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 example = MongodbFunctions.getServerlessInstances(GetServerlessInstancesArgs.builder()
            .ids("example_value")
            .dbInstanceClass("example_value")
            .dbInstanceDescription("example_value")
            .networkType("VPC")
            .resourceGroupId("example_value")
            .status("Running")
            .vpcId("example_value")
            .vswitchId("example_value")
            .zoneId("example_value")
            .tags(Map.ofEntries(
                Map.entry("Created", "MongodbServerlessInstance"),
                Map.entry("For", "TF")
            ))
            .build());

        ctx.export("mongodbServerlessInstanceId1", example.applyValue(getServerlessInstancesResult -> getServerlessInstancesResult.instances()[0].id()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: alicloud:mongodb:getServerlessInstances
      arguments:
        ids:
          - example_value
        dbInstanceClass: example_value
        dbInstanceDescription: example_value
        networkType: VPC
        resourceGroupId: example_value
        status: Running
        vpcId: example_value
        vswitchId: example_value
        zoneId: example_value
        tags:
          Created: MongodbServerlessInstance
          For: TF
outputs:
  mongodbServerlessInstanceId1: ${example.instances[0].id}
Copy

Using getServerlessInstances

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 getServerlessInstances(args: GetServerlessInstancesArgs, opts?: InvokeOptions): Promise<GetServerlessInstancesResult>
function getServerlessInstancesOutput(args: GetServerlessInstancesOutputArgs, opts?: InvokeOptions): Output<GetServerlessInstancesResult>
Copy
def get_serverless_instances(db_instance_class: Optional[str] = None,
                             db_instance_description: Optional[str] = None,
                             enable_details: Optional[bool] = None,
                             ids: Optional[Sequence[str]] = None,
                             network_type: Optional[str] = None,
                             output_file: Optional[str] = None,
                             resource_group_id: Optional[str] = None,
                             status: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None,
                             vpc_id: Optional[str] = None,
                             vswitch_id: Optional[str] = None,
                             zone_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetServerlessInstancesResult
def get_serverless_instances_output(db_instance_class: Optional[pulumi.Input[str]] = None,
                             db_instance_description: Optional[pulumi.Input[str]] = None,
                             enable_details: Optional[pulumi.Input[bool]] = None,
                             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             network_type: Optional[pulumi.Input[str]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             resource_group_id: Optional[pulumi.Input[str]] = None,
                             status: Optional[pulumi.Input[str]] = None,
                             tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                             vpc_id: Optional[pulumi.Input[str]] = None,
                             vswitch_id: Optional[pulumi.Input[str]] = None,
                             zone_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetServerlessInstancesResult]
Copy
func GetServerlessInstances(ctx *Context, args *GetServerlessInstancesArgs, opts ...InvokeOption) (*GetServerlessInstancesResult, error)
func GetServerlessInstancesOutput(ctx *Context, args *GetServerlessInstancesOutputArgs, opts ...InvokeOption) GetServerlessInstancesResultOutput
Copy

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

public static class GetServerlessInstances 
{
    public static Task<GetServerlessInstancesResult> InvokeAsync(GetServerlessInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetServerlessInstancesResult> Invoke(GetServerlessInstancesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerlessInstancesResult> getServerlessInstances(GetServerlessInstancesArgs args, InvokeOptions options)
public static Output<GetServerlessInstancesResult> getServerlessInstances(GetServerlessInstancesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:mongodb/getServerlessInstances:getServerlessInstances
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DbInstanceClass Changes to this property will trigger replacement. string
The db instance class.
DbInstanceDescription Changes to this property will trigger replacement. string
The db instance description.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. List<string>
A list of Serverless Instance IDs.
NetworkType Changes to this property will trigger replacement. string
The network type of the instance. Valid values: Classic or VPC.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
Status Changes to this property will trigger replacement. string
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
VpcId Changes to this property will trigger replacement. string
The ID of the VPC network.
VswitchId Changes to this property will trigger replacement. string
The id of the vswitch.
ZoneId Changes to this property will trigger replacement. string
The ID of the zone.
DbInstanceClass Changes to this property will trigger replacement. string
The db instance class.
DbInstanceDescription Changes to this property will trigger replacement. string
The db instance description.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. []string
A list of Serverless Instance IDs.
NetworkType Changes to this property will trigger replacement. string
The network type of the instance. Valid values: Classic or VPC.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
Status Changes to this property will trigger replacement. string
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
Tags map[string]string
A mapping of tags to assign to the resource.
VpcId Changes to this property will trigger replacement. string
The ID of the VPC network.
VswitchId Changes to this property will trigger replacement. string
The id of the vswitch.
ZoneId Changes to this property will trigger replacement. string
The ID of the zone.
dbInstanceClass Changes to this property will trigger replacement. String
The db instance class.
dbInstanceDescription Changes to this property will trigger replacement. String
The db instance description.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Serverless Instance IDs.
networkType Changes to this property will trigger replacement. String
The network type of the instance. Valid values: Classic or VPC.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
status Changes to this property will trigger replacement. String
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
tags Map<String,String>
A mapping of tags to assign to the resource.
vpcId Changes to this property will trigger replacement. String
The ID of the VPC network.
vswitchId Changes to this property will trigger replacement. String
The id of the vswitch.
zoneId Changes to this property will trigger replacement. String
The ID of the zone.
dbInstanceClass Changes to this property will trigger replacement. string
The db instance class.
dbInstanceDescription Changes to this property will trigger replacement. string
The db instance description.
enableDetails boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. string[]
A list of Serverless Instance IDs.
networkType Changes to this property will trigger replacement. string
The network type of the instance. Valid values: Classic or VPC.
outputFile string
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
status Changes to this property will trigger replacement. string
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
vpcId Changes to this property will trigger replacement. string
The ID of the VPC network.
vswitchId Changes to this property will trigger replacement. string
The id of the vswitch.
zoneId Changes to this property will trigger replacement. string
The ID of the zone.
db_instance_class Changes to this property will trigger replacement. str
The db instance class.
db_instance_description Changes to this property will trigger replacement. str
The db instance description.
enable_details bool
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Serverless Instance IDs.
network_type Changes to this property will trigger replacement. str
The network type of the instance. Valid values: Classic or VPC.
output_file str
File name where to save data source results (after running pulumi preview).
resource_group_id Changes to this property will trigger replacement. str
The ID of the resource group.
status Changes to this property will trigger replacement. str
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
vpc_id Changes to this property will trigger replacement. str
The ID of the VPC network.
vswitch_id Changes to this property will trigger replacement. str
The id of the vswitch.
zone_id Changes to this property will trigger replacement. str
The ID of the zone.
dbInstanceClass Changes to this property will trigger replacement. String
The db instance class.
dbInstanceDescription Changes to this property will trigger replacement. String
The db instance description.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Serverless Instance IDs.
networkType Changes to this property will trigger replacement. String
The network type of the instance. Valid values: Classic or VPC.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
status Changes to this property will trigger replacement. String
The instance status. Valid values: Creating, DBInstanceClassChanging, DBInstanceNetTypeChanging, Deleting, EngineVersionUpgrading, GuardSwitching, HASwitching, Importing, ImportingFromOthers, LinkSwitching, MinorVersionUpgrading, NodeCreating, NodeDeleting, Rebooting, Restoring, Running, SSLModifying, TDEModifying, TempDBInstanceCreating, Transing, TransingToOthers, released.
tags Map<String>
A mapping of tags to assign to the resource.
vpcId Changes to this property will trigger replacement. String
The ID of the VPC network.
vswitchId Changes to this property will trigger replacement. String
The id of the vswitch.
zoneId Changes to this property will trigger replacement. String
The ID of the zone.

getServerlessInstances Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Instances List<Pulumi.AliCloud.MongoDB.Outputs.GetServerlessInstancesInstance>
DbInstanceClass string
DbInstanceDescription string
EnableDetails bool
NetworkType string
OutputFile string
ResourceGroupId string
Status string
Tags Dictionary<string, string>
VpcId string
VswitchId string
ZoneId string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Instances []GetServerlessInstancesInstance
DbInstanceClass string
DbInstanceDescription string
EnableDetails bool
NetworkType string
OutputFile string
ResourceGroupId string
Status string
Tags map[string]string
VpcId string
VswitchId string
ZoneId string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instances List<GetServerlessInstancesInstance>
dbInstanceClass String
dbInstanceDescription String
enableDetails Boolean
networkType String
outputFile String
resourceGroupId String
status String
tags Map<String,String>
vpcId String
vswitchId String
zoneId String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
instances GetServerlessInstancesInstance[]
dbInstanceClass string
dbInstanceDescription string
enableDetails boolean
networkType string
outputFile string
resourceGroupId string
status string
tags {[key: string]: string}
vpcId string
vswitchId string
zoneId string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
instances Sequence[GetServerlessInstancesInstance]
db_instance_class str
db_instance_description str
enable_details bool
network_type str
output_file str
resource_group_id str
status str
tags Mapping[str, str]
vpc_id str
vswitch_id str
zone_id str
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instances List<Property Map>
dbInstanceClass String
dbInstanceDescription String
enableDetails Boolean
networkType String
outputFile String
resourceGroupId String
status String
tags Map<String>
vpcId String
vswitchId String
zoneId String

Supporting Types

GetServerlessInstancesInstance

CapacityUnit This property is required. int
The read/write throughput consumed by the instance.
DbInstanceClass This property is required. string
The db instance class.
DbInstanceDescription This property is required. string
The db instance description.
DbInstanceId This property is required. string
The db instance id.
DbInstanceReleaseProtection This property is required. bool
The db instance release protection.
DbInstanceStorage This property is required. int
The db instance storage.
Engine This property is required. string
The database engine of the instance.
EngineVersion This property is required. string
The database version number. Valid values: 4.2.
ExpireTime This property is required. string
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
Id This property is required. string
The ID of the Serverless Instance.
KindCode This property is required. string
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
LockMode This property is required. string
The locked status of the instance.
MaintainEndTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaintainStartTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaxConnections This property is required. int
Instance maximum connections.
MaxIops This property is required. int
The maximum IOPS of the instance.
NetworkType This property is required. string
The network type of the instance.
PaymentType This property is required. string
The Payment type of the instance.
ProtocolType This property is required. string
The access protocol type of the instance. Valid values: mongodb, dynamodb.
ResourceGroupId This property is required. string
The ID of the resource group.
SecurityIpGroups This property is required. List<Pulumi.AliCloud.MongoDB.Inputs.GetServerlessInstancesInstanceSecurityIpGroup>
The security ip list.
Status This property is required. string
The status of the instance.
StorageEngine This property is required. string
The storage engine used by the instance.
Tags This property is required. Dictionary<string, string>
The tag of the resource.
VpcAuthMode This property is required. string
Intranet secret free access mode.
VpcId This property is required. string
The ID of the VPC network.
VswitchId This property is required. string
The id of the vswitch.
ZoneId This property is required. string
The ID of the zone.
CapacityUnit This property is required. int
The read/write throughput consumed by the instance.
DbInstanceClass This property is required. string
The db instance class.
DbInstanceDescription This property is required. string
The db instance description.
DbInstanceId This property is required. string
The db instance id.
DbInstanceReleaseProtection This property is required. bool
The db instance release protection.
DbInstanceStorage This property is required. int
The db instance storage.
Engine This property is required. string
The database engine of the instance.
EngineVersion This property is required. string
The database version number. Valid values: 4.2.
ExpireTime This property is required. string
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
Id This property is required. string
The ID of the Serverless Instance.
KindCode This property is required. string
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
LockMode This property is required. string
The locked status of the instance.
MaintainEndTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaintainStartTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaxConnections This property is required. int
Instance maximum connections.
MaxIops This property is required. int
The maximum IOPS of the instance.
NetworkType This property is required. string
The network type of the instance.
PaymentType This property is required. string
The Payment type of the instance.
ProtocolType This property is required. string
The access protocol type of the instance. Valid values: mongodb, dynamodb.
ResourceGroupId This property is required. string
The ID of the resource group.
SecurityIpGroups This property is required. []GetServerlessInstancesInstanceSecurityIpGroup
The security ip list.
Status This property is required. string
The status of the instance.
StorageEngine This property is required. string
The storage engine used by the instance.
Tags This property is required. map[string]string
The tag of the resource.
VpcAuthMode This property is required. string
Intranet secret free access mode.
VpcId This property is required. string
The ID of the VPC network.
VswitchId This property is required. string
The id of the vswitch.
ZoneId This property is required. string
The ID of the zone.
capacityUnit This property is required. Integer
The read/write throughput consumed by the instance.
dbInstanceClass This property is required. String
The db instance class.
dbInstanceDescription This property is required. String
The db instance description.
dbInstanceId This property is required. String
The db instance id.
dbInstanceReleaseProtection This property is required. Boolean
The db instance release protection.
dbInstanceStorage This property is required. Integer
The db instance storage.
engine This property is required. String
The database engine of the instance.
engineVersion This property is required. String
The database version number. Valid values: 4.2.
expireTime This property is required. String
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
id This property is required. String
The ID of the Serverless Instance.
kindCode This property is required. String
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
lockMode This property is required. String
The locked status of the instance.
maintainEndTime This property is required. String
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. String
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. Integer
Instance maximum connections.
maxIops This property is required. Integer
The maximum IOPS of the instance.
networkType This property is required. String
The network type of the instance.
paymentType This property is required. String
The Payment type of the instance.
protocolType This property is required. String
The access protocol type of the instance. Valid values: mongodb, dynamodb.
resourceGroupId This property is required. String
The ID of the resource group.
securityIpGroups This property is required. List<GetServerlessInstancesInstanceSecurityIpGroup>
The security ip list.
status This property is required. String
The status of the instance.
storageEngine This property is required. String
The storage engine used by the instance.
tags This property is required. Map<String,String>
The tag of the resource.
vpcAuthMode This property is required. String
Intranet secret free access mode.
vpcId This property is required. String
The ID of the VPC network.
vswitchId This property is required. String
The id of the vswitch.
zoneId This property is required. String
The ID of the zone.
capacityUnit This property is required. number
The read/write throughput consumed by the instance.
dbInstanceClass This property is required. string
The db instance class.
dbInstanceDescription This property is required. string
The db instance description.
dbInstanceId This property is required. string
The db instance id.
dbInstanceReleaseProtection This property is required. boolean
The db instance release protection.
dbInstanceStorage This property is required. number
The db instance storage.
engine This property is required. string
The database engine of the instance.
engineVersion This property is required. string
The database version number. Valid values: 4.2.
expireTime This property is required. string
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
id This property is required. string
The ID of the Serverless Instance.
kindCode This property is required. string
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
lockMode This property is required. string
The locked status of the instance.
maintainEndTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. number
Instance maximum connections.
maxIops This property is required. number
The maximum IOPS of the instance.
networkType This property is required. string
The network type of the instance.
paymentType This property is required. string
The Payment type of the instance.
protocolType This property is required. string
The access protocol type of the instance. Valid values: mongodb, dynamodb.
resourceGroupId This property is required. string
The ID of the resource group.
securityIpGroups This property is required. GetServerlessInstancesInstanceSecurityIpGroup[]
The security ip list.
status This property is required. string
The status of the instance.
storageEngine This property is required. string
The storage engine used by the instance.
tags This property is required. {[key: string]: string}
The tag of the resource.
vpcAuthMode This property is required. string
Intranet secret free access mode.
vpcId This property is required. string
The ID of the VPC network.
vswitchId This property is required. string
The id of the vswitch.
zoneId This property is required. string
The ID of the zone.
capacity_unit This property is required. int
The read/write throughput consumed by the instance.
db_instance_class This property is required. str
The db instance class.
db_instance_description This property is required. str
The db instance description.
db_instance_id This property is required. str
The db instance id.
db_instance_release_protection This property is required. bool
The db instance release protection.
db_instance_storage This property is required. int
The db instance storage.
engine This property is required. str
The database engine of the instance.
engine_version This property is required. str
The database version number. Valid values: 4.2.
expire_time This property is required. str
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
id This property is required. str
The ID of the Serverless Instance.
kind_code This property is required. str
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
lock_mode This property is required. str
The locked status of the instance.
maintain_end_time This property is required. str
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintain_start_time This property is required. str
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
max_connections This property is required. int
Instance maximum connections.
max_iops This property is required. int
The maximum IOPS of the instance.
network_type This property is required. str
The network type of the instance.
payment_type This property is required. str
The Payment type of the instance.
protocol_type This property is required. str
The access protocol type of the instance. Valid values: mongodb, dynamodb.
resource_group_id This property is required. str
The ID of the resource group.
security_ip_groups This property is required. Sequence[GetServerlessInstancesInstanceSecurityIpGroup]
The security ip list.
status This property is required. str
The status of the instance.
storage_engine This property is required. str
The storage engine used by the instance.
tags This property is required. Mapping[str, str]
The tag of the resource.
vpc_auth_mode This property is required. str
Intranet secret free access mode.
vpc_id This property is required. str
The ID of the VPC network.
vswitch_id This property is required. str
The id of the vswitch.
zone_id This property is required. str
The ID of the zone.
capacityUnit This property is required. Number
The read/write throughput consumed by the instance.
dbInstanceClass This property is required. String
The db instance class.
dbInstanceDescription This property is required. String
The db instance description.
dbInstanceId This property is required. String
The db instance id.
dbInstanceReleaseProtection This property is required. Boolean
The db instance release protection.
dbInstanceStorage This property is required. Number
The db instance storage.
engine This property is required. String
The database engine of the instance.
engineVersion This property is required. String
The database version number. Valid values: 4.2.
expireTime This property is required. String
The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
id This property is required. String
The ID of the Serverless Instance.
kindCode This property is required. String
Indicates the type of the instance. Valid values: 0: physical machine. 1: ECS. 2: DOCKER. 18: k8s new architecture instance.
lockMode This property is required. String
The locked status of the instance.
maintainEndTime This property is required. String
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. String
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. Number
Instance maximum connections.
maxIops This property is required. Number
The maximum IOPS of the instance.
networkType This property is required. String
The network type of the instance.
paymentType This property is required. String
The Payment type of the instance.
protocolType This property is required. String
The access protocol type of the instance. Valid values: mongodb, dynamodb.
resourceGroupId This property is required. String
The ID of the resource group.
securityIpGroups This property is required. List<Property Map>
The security ip list.
status This property is required. String
The status of the instance.
storageEngine This property is required. String
The storage engine used by the instance.
tags This property is required. Map<String>
The tag of the resource.
vpcAuthMode This property is required. String
Intranet secret free access mode.
vpcId This property is required. String
The ID of the VPC network.
vswitchId This property is required. String
The id of the vswitch.
zoneId This property is required. String
The ID of the zone.

GetServerlessInstancesInstanceSecurityIpGroup

SecurityIpGroupAttribute This property is required. string
The attribute of the IP whitelist. This parameter is empty by default.
SecurityIpGroupName This property is required. string
The name of the IP whitelist.
SecurityIpList This property is required. string
The IP addresses in the whitelist.
SecurityIpGroupAttribute This property is required. string
The attribute of the IP whitelist. This parameter is empty by default.
SecurityIpGroupName This property is required. string
The name of the IP whitelist.
SecurityIpList This property is required. string
The IP addresses in the whitelist.
securityIpGroupAttribute This property is required. String
The attribute of the IP whitelist. This parameter is empty by default.
securityIpGroupName This property is required. String
The name of the IP whitelist.
securityIpList This property is required. String
The IP addresses in the whitelist.
securityIpGroupAttribute This property is required. string
The attribute of the IP whitelist. This parameter is empty by default.
securityIpGroupName This property is required. string
The name of the IP whitelist.
securityIpList This property is required. string
The IP addresses in the whitelist.
security_ip_group_attribute This property is required. str
The attribute of the IP whitelist. This parameter is empty by default.
security_ip_group_name This property is required. str
The name of the IP whitelist.
security_ip_list This property is required. str
The IP addresses in the whitelist.
securityIpGroupAttribute This property is required. String
The attribute of the IP whitelist. This parameter is empty by default.
securityIpGroupName This property is required. String
The name of the IP whitelist.
securityIpList This property is required. String
The IP addresses in the whitelist.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.