1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. mongodb
  5. getServerlessInstances
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.mongodb.getServerlessInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:mongodb/getServerlessInstances:getServerlessInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbInstanceClass string
    The db instance class.
    DbInstanceDescription string
    The db instance description.
    EnableDetails bool
    Default to false. Set it to true can 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: Classic or VPC.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    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.
    Tags 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.
    DbInstanceClass string
    The db instance class.
    DbInstanceDescription string
    The db instance description.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of Serverless Instance IDs.
    NetworkType 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 string
    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.
    Tags 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.
    dbInstanceClass String
    The db instance class.
    dbInstanceDescription String
    The db instance description.
    enableDetails Boolean
    Default to false. Set it to true can 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: Classic or VPC.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    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.
    tags 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.
    dbInstanceClass string
    The db instance class.
    dbInstanceDescription string
    The db instance description.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of Serverless Instance IDs.
    networkType 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 string
    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.
    tags {[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_class str
    The db instance class.
    db_instance_description str
    The db instance description.
    enable_details bool
    Default to false. Set it to true can 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: Classic or VPC.
    output_file str
    File name where to save data source results (after running pulumi preview).
    resource_group_id str
    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.
    tags 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.
    dbInstanceClass String
    The db instance class.
    dbInstanceDescription String
    The db instance description.
    enableDetails Boolean
    Default to false. Set it to true can 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: Classic or VPC.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    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.
    tags 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.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 int
    The read/write throughput consumed by the instance.
    DbInstanceClass string
    The db instance class.
    DbInstanceDescription string
    The db instance description.
    DbInstanceId string
    The db instance id.
    DbInstanceReleaseProtection bool
    The db instance release protection.
    DbInstanceStorage int
    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:mmZ format. 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.
    MaintainEndTime string
    The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
    MaintainStartTime string
    The end time of the maintenance window. The time is in the HH:mmZ format. 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.
    ResourceGroupId string
    The ID of the resource group.
    SecurityIpGroups List<Pulumi.AliCloud.MongoDB.Inputs.GetServerlessInstancesInstanceSecurityIpGroup>
    The security ip list.
    Status string
    The status of the instance.
    StorageEngine string
    The storage engine used by the instance.
    Tags Dictionary<string, string>
    The tag of the resource.
    VpcAuthMode string
    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.
    DbInstanceClass string
    The db instance class.
    DbInstanceDescription string
    The db instance description.
    DbInstanceId string
    The db instance id.
    DbInstanceReleaseProtection bool
    The db instance release protection.
    DbInstanceStorage int
    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:mmZ format. 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.
    MaintainEndTime string
    The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
    MaintainStartTime string
    The end time of the maintenance window. The time is in the HH:mmZ format. 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.
    ResourceGroupId string
    The ID of the resource group.
    SecurityIpGroups []GetServerlessInstancesInstanceSecurityIpGroup
    The security ip list.
    Status string
    The status of the instance.
    StorageEngine string
    The storage engine used by the instance.
    Tags map[string]string
    The tag of the resource.
    VpcAuthMode string
    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.
    dbInstanceClass String
    The db instance class.
    dbInstanceDescription String
    The db instance description.
    dbInstanceId String
    The db instance id.
    dbInstanceReleaseProtection Boolean
    The db instance release protection.
    dbInstanceStorage Integer
    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:mmZ format. 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.
    maintainEndTime String
    The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
    maintainStartTime String
    The end time of the maintenance window. The time is in the HH:mmZ format. 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.
    resourceGroupId String
    The ID of the resource group.
    securityIpGroups List<GetServerlessInstancesInstanceSecurityIpGroup>
    The security ip list.
    status String
    The status of the instance.
    storageEngine String
    The storage engine used by the instance.
    tags Map<String,String>
    The tag of the resource.
    vpcAuthMode String
    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.
    dbInstanceClass string
    The db instance class.
    dbInstanceDescription string
    The db instance description.
    dbInstanceId string
    The db instance id.
    dbInstanceReleaseProtection boolean
    The db instance release protection.
    dbInstanceStorage number
    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:mmZ format. 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.
    maintainEndTime string
    The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
    maintainStartTime string
    The end time of the maintenance window. The time is in the HH:mmZ format. 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.
    resourceGroupId string
    The ID of the resource group.
    securityIpGroups GetServerlessInstancesInstanceSecurityIpGroup[]
    The security ip list.
    status string
    The status of the instance.
    storageEngine string
    The storage engine used by the instance.
    tags {[key: string]: string}
    The tag of the resource.
    vpcAuthMode string
    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_class str
    The db instance class.
    db_instance_description str
    The db instance description.
    db_instance_id str
    The db instance id.
    db_instance_release_protection bool
    The db instance release protection.
    db_instance_storage int
    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:mmZ format. 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_time 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 str
    The end time of the maintenance window. The time is in the HH:mmZ format. 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_id str
    The ID of the resource group.
    security_ip_groups Sequence[GetServerlessInstancesInstanceSecurityIpGroup]
    The security ip list.
    status str
    The status of the instance.
    storage_engine str
    The storage engine used by the instance.
    tags Mapping[str, str]
    The tag of the resource.
    vpc_auth_mode str
    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.
    dbInstanceClass String
    The db instance class.
    dbInstanceDescription String
    The db instance description.
    dbInstanceId String
    The db instance id.
    dbInstanceReleaseProtection Boolean
    The db instance release protection.
    dbInstanceStorage Number
    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:mmZ format. 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.
    maintainEndTime String
    The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
    maintainStartTime String
    The end time of the maintenance window. The time is in the HH:mmZ format. 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.
    resourceGroupId String
    The ID of the resource group.
    securityIpGroups List<Property Map>
    The security ip list.
    status String
    The status of the instance.
    storageEngine String
    The storage engine used by the instance.
    tags Map<String>
    The tag of the resource.
    vpcAuthMode String
    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

    SecurityIpGroupAttribute string
    The attribute of the IP whitelist. This parameter is empty by default.
    SecurityIpGroupName string
    The name of the IP whitelist.
    SecurityIpList string
    The IP addresses in the whitelist.
    SecurityIpGroupAttribute string
    The attribute of the IP whitelist. This parameter is empty by default.
    SecurityIpGroupName string
    The name of the IP whitelist.
    SecurityIpList string
    The IP addresses in the whitelist.
    securityIpGroupAttribute String
    The attribute of the IP whitelist. This parameter is empty by default.
    securityIpGroupName String
    The name of the IP whitelist.
    securityIpList String
    The IP addresses in the whitelist.
    securityIpGroupAttribute string
    The attribute of the IP whitelist. This parameter is empty by default.
    securityIpGroupName string
    The name of the IP whitelist.
    securityIpList string
    The IP addresses in the whitelist.
    security_ip_group_attribute str
    The attribute of the IP whitelist. This parameter is empty by default.
    security_ip_group_name str
    The name of the IP whitelist.
    security_ip_list str
    The IP addresses in the whitelist.
    securityIpGroupAttribute String
    The attribute of the IP whitelist. This parameter is empty by default.
    securityIpGroupName String
    The name of the IP whitelist.
    securityIpList 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.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi