Alibaba Cloud v3.75.0 published on Friday, Mar 7, 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);
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)
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
	})
}
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),
    };
});
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()));
    }
}
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}
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>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]func GetServerlessInstances(ctx *Context, args *GetServerlessInstancesArgs, opts ...InvokeOption) (*GetServerlessInstancesResult, error)
func GetServerlessInstancesOutput(ctx *Context, args *GetServerlessInstancesOutputArgs, opts ...InvokeOption) GetServerlessInstancesResultOutput> 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)
}public static CompletableFuture<GetServerlessInstancesResult> getServerlessInstances(GetServerlessInstancesArgs args, InvokeOptions options)
public static Output<GetServerlessInstancesResult> getServerlessInstances(GetServerlessInstancesArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:mongodb/getServerlessInstances:getServerlessInstances
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DbInstance stringClass 
- The db instance class.
- DbInstance stringDescription 
- The db instance description.
- EnableDetails bool
- Default to false. Set it totruecan output more details about resource attributes.
- Ids List<string>
- A list of Serverless Instance IDs.
- NetworkType string
- The network type of the instance. Valid values: ClassicorVPC.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- ResourceGroup stringId 
- The ID of the resource group.
- Status 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.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- VpcId string
- The ID of the VPC network.
- VswitchId string
- The id of the vswitch.
- ZoneId string
- The ID of the zone.
- DbInstance stringClass 
- The db instance class.
- DbInstance stringDescription 
- The db instance description.
- EnableDetails bool
- Default to false. Set it totruecan output more details about resource attributes.
- Ids []string
- A list of Serverless Instance IDs.
- NetworkType string
- The network type of the instance. Valid values: ClassicorVPC.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- ResourceGroup stringId 
- The ID of the resource group.
- Status 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.
- map[string]string
- A mapping of tags to assign to the resource.
- VpcId string
- The ID of the VPC network.
- VswitchId string
- The id of the vswitch.
- ZoneId string
- The ID of the zone.
- dbInstance StringClass 
- The db instance class.
- dbInstance StringDescription 
- The db instance description.
- enableDetails Boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids List<String>
- A list of Serverless Instance IDs.
- networkType String
- The network type of the instance. Valid values: ClassicorVPC.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- resourceGroup StringId 
- The ID of the resource group.
- status 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.
- Map<String,String>
- A mapping of tags to assign to the resource.
- vpcId String
- The ID of the VPC network.
- vswitchId String
- The id of the vswitch.
- zoneId String
- The ID of the zone.
- dbInstance stringClass 
- The db instance class.
- dbInstance stringDescription 
- The db instance description.
- enableDetails boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids string[]
- A list of Serverless Instance IDs.
- networkType string
- The network type of the instance. Valid values: ClassicorVPC.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- resourceGroup stringId 
- The ID of the resource group.
- status 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.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpcId string
- The ID of the VPC network.
- vswitchId string
- The id of the vswitch.
- zoneId string
- The ID of the zone.
- db_instance_ strclass 
- The db instance class.
- db_instance_ strdescription 
- The db instance description.
- enable_details bool
- Default to false. Set it totruecan output more details about resource attributes.
- ids Sequence[str]
- A list of Serverless Instance IDs.
- network_type str
- The network type of the instance. Valid values: ClassicorVPC.
- output_file str
- File name where to save data source results (after running pulumi preview).
- resource_group_ strid 
- The ID of the resource group.
- status 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.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- vpc_id str
- The ID of the VPC network.
- vswitch_id str
- The id of the vswitch.
- zone_id str
- The ID of the zone.
- dbInstance StringClass 
- The db instance class.
- dbInstance StringDescription 
- The db instance description.
- enableDetails Boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids List<String>
- A list of Serverless Instance IDs.
- networkType String
- The network type of the instance. Valid values: ClassicorVPC.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- resourceGroup StringId 
- The ID of the resource group.
- status 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.
- Map<String>
- A mapping of tags to assign to the resource.
- vpcId String
- The ID of the VPC network.
- vswitchId String
- The id of the vswitch.
- zoneId 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.Ali Cloud. Mongo DB. Outputs. Get Serverless Instances Instance> 
- DbInstance stringClass 
- DbInstance stringDescription 
- EnableDetails bool
- NetworkType string
- OutputFile string
- ResourceGroup stringId 
- Status string
- Dictionary<string, string>
- VpcId string
- VswitchId string
- ZoneId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Instances
[]GetServerless Instances Instance 
- DbInstance stringClass 
- DbInstance stringDescription 
- EnableDetails bool
- NetworkType string
- OutputFile string
- ResourceGroup stringId 
- Status string
- 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<GetServerless Instances Instance> 
- dbInstance StringClass 
- dbInstance StringDescription 
- enableDetails Boolean
- networkType String
- outputFile String
- resourceGroup StringId 
- status String
- Map<String,String>
- vpcId String
- vswitchId String
- zoneId String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- instances
GetServerless Instances Instance[] 
- dbInstance stringClass 
- dbInstance stringDescription 
- enableDetails boolean
- networkType string
- outputFile string
- resourceGroup stringId 
- status string
- {[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[GetServerless Instances Instance] 
- db_instance_ strclass 
- db_instance_ strdescription 
- enable_details bool
- network_type str
- output_file str
- resource_group_ strid 
- status str
- 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>
- dbInstance StringClass 
- dbInstance StringDescription 
- enableDetails Boolean
- networkType String
- outputFile String
- resourceGroup StringId 
- status String
- Map<String>
- vpcId String
- vswitchId String
- zoneId String
Supporting Types
GetServerlessInstancesInstance   
- CapacityUnit int
- The read/write throughput consumed by the instance.
- DbInstance stringClass 
- The db instance class.
- DbInstance stringDescription 
- The db instance description.
- DbInstance stringId 
- The db instance id.
- DbInstance boolRelease Protection 
- The db instance release protection.
- DbInstance intStorage 
- The db instance storage.
- Engine string
- The database engine of the instance.
- EngineVersion string
- The database version number. Valid values: 4.2.
- ExpireTime string
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- Id string
- The ID of the Serverless Instance.
- KindCode string
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- LockMode string
- The locked status of the instance.
- MaintainEnd stringTime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- MaintainStart stringTime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- MaxConnections int
- Instance maximum connections.
- MaxIops int
- The maximum IOPS of the instance.
- NetworkType string
- The network type of the instance.
- PaymentType string
- The Payment type of the instance.
- ProtocolType string
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- ResourceGroup stringId 
- The ID of the resource group.
- SecurityIp List<Pulumi.Groups Ali Cloud. Mongo DB. Inputs. Get Serverless Instances Instance Security Ip Group> 
- The security ip list.
- Status string
- The status of the instance.
- StorageEngine string
- The storage engine used by the instance.
- Dictionary<string, string>
- The tag of the resource.
- VpcAuth stringMode 
- Intranet secret free access mode.
- VpcId string
- The ID of the VPC network.
- VswitchId string
- The id of the vswitch.
- ZoneId string
- The ID of the zone.
- CapacityUnit int
- The read/write throughput consumed by the instance.
- DbInstance stringClass 
- The db instance class.
- DbInstance stringDescription 
- The db instance description.
- DbInstance stringId 
- The db instance id.
- DbInstance boolRelease Protection 
- The db instance release protection.
- DbInstance intStorage 
- The db instance storage.
- Engine string
- The database engine of the instance.
- EngineVersion string
- The database version number. Valid values: 4.2.
- ExpireTime string
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- Id string
- The ID of the Serverless Instance.
- KindCode string
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- LockMode string
- The locked status of the instance.
- MaintainEnd stringTime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- MaintainStart stringTime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- MaxConnections int
- Instance maximum connections.
- MaxIops int
- The maximum IOPS of the instance.
- NetworkType string
- The network type of the instance.
- PaymentType string
- The Payment type of the instance.
- ProtocolType string
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- ResourceGroup stringId 
- The ID of the resource group.
- SecurityIp []GetGroups Serverless Instances Instance Security Ip Group 
- The security ip list.
- Status string
- The status of the instance.
- StorageEngine string
- The storage engine used by the instance.
- map[string]string
- The tag of the resource.
- VpcAuth stringMode 
- Intranet secret free access mode.
- VpcId string
- The ID of the VPC network.
- VswitchId string
- The id of the vswitch.
- ZoneId string
- The ID of the zone.
- capacityUnit Integer
- The read/write throughput consumed by the instance.
- dbInstance StringClass 
- The db instance class.
- dbInstance StringDescription 
- The db instance description.
- dbInstance StringId 
- The db instance id.
- dbInstance BooleanRelease Protection 
- The db instance release protection.
- dbInstance IntegerStorage 
- The db instance storage.
- engine String
- The database engine of the instance.
- engineVersion String
- The database version number. Valid values: 4.2.
- expireTime String
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- id String
- The ID of the Serverless Instance.
- kindCode String
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- lockMode String
- The locked status of the instance.
- maintainEnd StringTime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maintainStart StringTime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maxConnections Integer
- Instance maximum connections.
- maxIops Integer
- The maximum IOPS of the instance.
- networkType String
- The network type of the instance.
- paymentType String
- The Payment type of the instance.
- protocolType String
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- resourceGroup StringId 
- The ID of the resource group.
- securityIp List<GetGroups Serverless Instances Instance Security Ip Group> 
- The security ip list.
- status String
- The status of the instance.
- storageEngine String
- The storage engine used by the instance.
- Map<String,String>
- The tag of the resource.
- vpcAuth StringMode 
- Intranet secret free access mode.
- vpcId String
- The ID of the VPC network.
- vswitchId String
- The id of the vswitch.
- zoneId String
- The ID of the zone.
- capacityUnit number
- The read/write throughput consumed by the instance.
- dbInstance stringClass 
- The db instance class.
- dbInstance stringDescription 
- The db instance description.
- dbInstance stringId 
- The db instance id.
- dbInstance booleanRelease Protection 
- The db instance release protection.
- dbInstance numberStorage 
- The db instance storage.
- engine string
- The database engine of the instance.
- engineVersion string
- The database version number. Valid values: 4.2.
- expireTime string
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- id string
- The ID of the Serverless Instance.
- kindCode string
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- lockMode string
- The locked status of the instance.
- maintainEnd stringTime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maintainStart stringTime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maxConnections number
- Instance maximum connections.
- maxIops number
- The maximum IOPS of the instance.
- networkType string
- The network type of the instance.
- paymentType string
- The Payment type of the instance.
- protocolType string
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- resourceGroup stringId 
- The ID of the resource group.
- securityIp GetGroups Serverless Instances Instance Security Ip Group[] 
- The security ip list.
- status string
- The status of the instance.
- storageEngine string
- The storage engine used by the instance.
- {[key: string]: string}
- The tag of the resource.
- vpcAuth stringMode 
- Intranet secret free access mode.
- vpcId string
- The ID of the VPC network.
- vswitchId string
- The id of the vswitch.
- zoneId string
- The ID of the zone.
- capacity_unit int
- The read/write throughput consumed by the instance.
- db_instance_ strclass 
- The db instance class.
- db_instance_ strdescription 
- The db instance description.
- db_instance_ strid 
- The db instance id.
- db_instance_ boolrelease_ protection 
- The db instance release protection.
- db_instance_ intstorage 
- The db instance storage.
- engine str
- The database engine of the instance.
- engine_version str
- The database version number. Valid values: 4.2.
- expire_time str
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- id str
- The ID of the Serverless Instance.
- kind_code str
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- lock_mode str
- The locked status of the instance.
- maintain_end_ strtime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maintain_start_ strtime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- max_connections int
- Instance maximum connections.
- max_iops int
- The maximum IOPS of the instance.
- network_type str
- The network type of the instance.
- payment_type str
- The Payment type of the instance.
- protocol_type str
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- resource_group_ strid 
- The ID of the resource group.
- security_ip_ Sequence[Getgroups Serverless Instances Instance Security Ip Group] 
- The security ip list.
- status str
- The status of the instance.
- storage_engine str
- The storage engine used by the instance.
- Mapping[str, str]
- The tag of the resource.
- vpc_auth_ strmode 
- Intranet secret free access mode.
- vpc_id str
- The ID of the VPC network.
- vswitch_id str
- The id of the vswitch.
- zone_id str
- The ID of the zone.
- capacityUnit Number
- The read/write throughput consumed by the instance.
- dbInstance StringClass 
- The db instance class.
- dbInstance StringDescription 
- The db instance description.
- dbInstance StringId 
- The db instance id.
- dbInstance BooleanRelease Protection 
- The db instance release protection.
- dbInstance NumberStorage 
- The db instance storage.
- engine String
- The database engine of the instance.
- engineVersion String
- The database version number. Valid values: 4.2.
- expireTime String
- The time when the subscription instance expires. The time is in the yyyy-MM-ddTHH:mmZformat. The time is displayed in UTC.
- id String
- The ID of the Serverless Instance.
- kindCode String
- Indicates the type of the instance. Valid values: 0: physical machine.1: ECS.2: DOCKER.18: k8s new architecture instance.
- lockMode String
- The locked status of the instance.
- maintainEnd StringTime 
- The start time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maintainStart StringTime 
- The end time of the maintenance window. The time is in the HH:mmZformat. The time is displayed in UTC.
- maxConnections Number
- Instance maximum connections.
- maxIops Number
- The maximum IOPS of the instance.
- networkType String
- The network type of the instance.
- paymentType String
- The Payment type of the instance.
- protocolType String
- The access protocol type of the instance. Valid values: mongodb,dynamodb.
- resourceGroup StringId 
- The ID of the resource group.
- securityIp List<Property Map>Groups 
- The security ip list.
- status String
- The status of the instance.
- storageEngine String
- The storage engine used by the instance.
- Map<String>
- The tag of the resource.
- vpcAuth StringMode 
- Intranet secret free access mode.
- vpcId String
- The ID of the VPC network.
- vswitchId String
- The id of the vswitch.
- zoneId String
- The ID of the zone.
GetServerlessInstancesInstanceSecurityIpGroup      
- SecurityIp stringGroup Attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- SecurityIp stringGroup Name 
- The name of the IP whitelist.
- SecurityIp stringList 
- The IP addresses in the whitelist.
- SecurityIp stringGroup Attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- SecurityIp stringGroup Name 
- The name of the IP whitelist.
- SecurityIp stringList 
- The IP addresses in the whitelist.
- securityIp StringGroup Attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- securityIp StringGroup Name 
- The name of the IP whitelist.
- securityIp StringList 
- The IP addresses in the whitelist.
- securityIp stringGroup Attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- securityIp stringGroup Name 
- The name of the IP whitelist.
- securityIp stringList 
- The IP addresses in the whitelist.
- security_ip_ strgroup_ attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- security_ip_ strgroup_ name 
- The name of the IP whitelist.
- security_ip_ strlist 
- The IP addresses in the whitelist.
- securityIp StringGroup Attribute 
- The attribute of the IP whitelist. This parameter is empty by default.
- securityIp StringGroup Name 
- The name of the IP whitelist.
- securityIp StringList 
- 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 alicloudTerraform Provider.