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);
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 dictionary
The following arguments are supported:
- Db
Instance Class Changes to this property will trigger replacement.
- The db instance class.
- Db
Instance Description Changes to this property will trigger replacement.
- The db instance description.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- Network
Type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group Id Changes to this property will trigger replacement.
- The ID of the resource group.
- Status
Changes to this property will trigger replacement.
- 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.
- Vpc
Id Changes to this property will trigger replacement.
- The ID of the VPC network.
- Vswitch
Id Changes to this property will trigger replacement.
- The id of the vswitch.
- Zone
Id Changes to this property will trigger replacement.
- The ID of the zone.
- Db
Instance Class Changes to this property will trigger replacement.
- The db instance class.
- Db
Instance Description Changes to this property will trigger replacement.
- The db instance description.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- Network
Type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group Id Changes to this property will trigger replacement.
- The ID of the resource group.
- Status
Changes to this property will trigger replacement.
- 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.
- Vpc
Id Changes to this property will trigger replacement.
- The ID of the VPC network.
- Vswitch
Id Changes to this property will trigger replacement.
- The id of the vswitch.
- Zone
Id Changes to this property will trigger replacement.
- The ID of the zone.
- db
Instance Class Changes to this property will trigger replacement.
- The db instance class.
- db
Instance Description Changes to this property will trigger replacement.
- The db instance description.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- network
Type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- 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.
- vpc
Id Changes to this property will trigger replacement.
- The ID of the VPC network.
- vswitch
Id Changes to this property will trigger replacement.
- The id of the vswitch.
- zone
Id Changes to this property will trigger replacement.
- The ID of the zone.
- db
Instance Class Changes to this property will trigger replacement.
- The db instance class.
- db
Instance Description Changes to this property will trigger replacement.
- The db instance description.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- network
Type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - output
File string - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- 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.
- vpc
Id Changes to this property will trigger replacement.
- The ID of the VPC network.
- vswitch
Id Changes to this property will trigger replacement.
- The id of the vswitch.
- zone
Id Changes to this property will trigger replacement.
- The ID of the zone.
- db_
instance_ class Changes to this property will trigger replacement.
- The db instance class.
- db_
instance_ description Changes to this property will trigger replacement.
- The db instance description.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- network_
type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - 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.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The ID of the VPC network.
- vswitch_
id Changes to this property will trigger replacement.
- The id of the vswitch.
- zone_
id Changes to this property will trigger replacement.
- The ID of the zone.
- db
Instance Class Changes to this property will trigger replacement.
- The db instance class.
- db
Instance Description Changes to this property will trigger replacement.
- The db instance description.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Serverless Instance IDs.
- network
Type Changes to this property will trigger replacement.
- The network type of the instance. Valid values:
Classic
orVPC
. - output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- 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.
- vpc
Id Changes to this property will trigger replacement.
- The ID of the VPC network.
- vswitch
Id Changes to this property will trigger replacement.
- The id of the vswitch.
- zone
Id Changes to this property will trigger replacement.
- 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> - Db
Instance stringClass - Db
Instance stringDescription - Enable
Details bool - Network
Type string - Output
File string - Resource
Group stringId - Status string
- Dictionary<string, string>
- Vpc
Id string - Vswitch
Id string - Zone
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Instances
[]Get
Serverless Instances Instance - Db
Instance stringClass - Db
Instance stringDescription - Enable
Details bool - Network
Type string - Output
File string - Resource
Group stringId - Status string
- map[string]string
- Vpc
Id string - Vswitch
Id string - Zone
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instances
List<Get
Serverless Instances Instance> - db
Instance StringClass - db
Instance StringDescription - enable
Details Boolean - network
Type String - output
File String - resource
Group StringId - status String
- Map<String,String>
- vpc
Id String - vswitch
Id String - zone
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- instances
Get
Serverless Instances Instance[] - db
Instance stringClass - db
Instance stringDescription - enable
Details boolean - network
Type string - output
File string - resource
Group stringId - status string
- {[key: string]: string}
- vpc
Id string - vswitch
Id string - zone
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- instances
Sequence[Get
Serverless 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>
- db
Instance StringClass - db
Instance StringDescription - enable
Details Boolean - network
Type String - output
File String - resource
Group StringId - status String
- Map<String>
- vpc
Id String - vswitch
Id String - zone
Id String
Supporting Types
GetServerlessInstancesInstance
- Capacity
Unit This property is required. int - The read/write throughput consumed by the instance.
- Db
Instance Class This property is required. string - The db instance class.
- Db
Instance Description This property is required. string - The db instance description.
- Db
Instance Id This property is required. string - 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. string - The database engine of the instance.
- Engine
Version This property is required. string - The database version number. Valid values:
4.2
. - Expire
Time 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.
- Kind
Code 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. - Lock
Mode This property is required. string - The locked status of the instance.
- Maintain
End Time 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. - Maintain
Start Time 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. - 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. string - The network type of the instance.
- Payment
Type This property is required. string - The Payment type of the instance.
- Protocol
Type This property is required. string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - Resource
Group Id This property is required. string - The ID of the resource group.
- Security
Ip Groups This property is required. List<Pulumi.Ali Cloud. Mongo DB. Inputs. Get Serverless Instances Instance Security Ip Group> - The security ip list.
- Status
This property is required. string - The status of the instance.
- Storage
Engine This property is required. string - The storage engine used by the instance.
This property is required. Dictionary<string, string>- The tag of the resource.
- Vpc
Auth Mode This property is required. string - Intranet secret free access mode.
- Vpc
Id This property is required. string - The ID of the VPC network.
- Vswitch
Id This property is required. string - The id of the vswitch.
- Zone
Id 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. string - The db instance class.
- Db
Instance Description This property is required. string - The db instance description.
- Db
Instance Id This property is required. string - 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. string - The database engine of the instance.
- Engine
Version This property is required. string - The database version number. Valid values:
4.2
. - Expire
Time 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.
- Kind
Code 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. - Lock
Mode This property is required. string - The locked status of the instance.
- Maintain
End Time 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. - Maintain
Start Time 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. - 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. string - The network type of the instance.
- Payment
Type This property is required. string - The Payment type of the instance.
- Protocol
Type This property is required. string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - Resource
Group Id This property is required. string - The ID of the resource group.
- Security
Ip Groups This property is required. []GetServerless Instances Instance Security Ip Group - The security ip list.
- Status
This property is required. string - The status of the instance.
- Storage
Engine This property is required. string - The storage engine used by the instance.
This property is required. map[string]string- The tag of the resource.
- Vpc
Auth Mode This property is required. string - Intranet secret free access mode.
- Vpc
Id This property is required. string - The ID of the VPC network.
- Vswitch
Id This property is required. string - The id of the vswitch.
- Zone
Id This property is required. string - The ID of the zone.
- capacity
Unit This property is required. Integer - The read/write throughput consumed by the instance.
- db
Instance Class This property is required. String - The db instance class.
- db
Instance Description This property is required. String - The db instance description.
- db
Instance Id This property is required. String - The db instance id.
- db
Instance Release Protection This property is required. Boolean - The db instance release protection.
- db
Instance Storage This property is required. Integer - The db instance storage.
- engine
This property is required. String - The database engine of the instance.
- engine
Version This property is required. String - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code 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. - lock
Mode This property is required. String - The locked status of the instance.
- maintain
End Time 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. - maintain
Start Time 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. - max
Connections This property is required. Integer - Instance maximum connections.
- max
Iops This property is required. Integer - The maximum IOPS of the instance.
- network
Type This property is required. String - The network type of the instance.
- payment
Type This property is required. String - The Payment type of the instance.
- protocol
Type This property is required. String - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group Id This property is required. String - The ID of the resource group.
- security
Ip Groups This property is required. List<GetServerless Instances Instance Security Ip Group> - The security ip list.
- status
This property is required. String - The status of the instance.
- storage
Engine This property is required. String - The storage engine used by the instance.
This property is required. Map<String,String>- The tag of the resource.
- vpc
Auth Mode This property is required. String - Intranet secret free access mode.
- vpc
Id This property is required. String - The ID of the VPC network.
- vswitch
Id This property is required. String - The id of the vswitch.
- zone
Id This property is required. String - The ID of the zone.
- capacity
Unit This property is required. number - The read/write throughput consumed by the instance.
- db
Instance Class This property is required. string - The db instance class.
- db
Instance Description This property is required. string - The db instance description.
- db
Instance Id This property is required. string - The db instance id.
- db
Instance Release Protection This property is required. boolean - The db instance release protection.
- db
Instance Storage This property is required. number - The db instance storage.
- engine
This property is required. string - The database engine of the instance.
- engine
Version This property is required. string - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code 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. - lock
Mode This property is required. string - The locked status of the instance.
- maintain
End Time 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. - maintain
Start Time 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. - max
Connections This property is required. number - Instance maximum connections.
- max
Iops This property is required. number - The maximum IOPS of the instance.
- network
Type This property is required. string - The network type of the instance.
- payment
Type This property is required. string - The Payment type of the instance.
- protocol
Type This property is required. string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group Id This property is required. string - The ID of the resource group.
- security
Ip Groups This property is required. GetServerless Instances Instance Security Ip Group[] - The security ip list.
- status
This property is required. string - The status of the instance.
- storage
Engine This property is required. string - The storage engine used by the instance.
This property is required. {[key: string]: string}- The tag of the resource.
- vpc
Auth Mode This property is required. string - Intranet secret free access mode.
- vpc
Id This property is required. string - The ID of the VPC network.
- vswitch
Id This property is required. string - The id of the vswitch.
- zone
Id 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[GetServerless Instances Instance Security Ip Group] - 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.
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.
- capacity
Unit This property is required. Number - The read/write throughput consumed by the instance.
- db
Instance Class This property is required. String - The db instance class.
- db
Instance Description This property is required. String - The db instance description.
- db
Instance Id This property is required. String - The db instance id.
- db
Instance Release Protection This property is required. Boolean - The db instance release protection.
- db
Instance Storage This property is required. Number - The db instance storage.
- engine
This property is required. String - The database engine of the instance.
- engine
Version This property is required. String - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code 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. - lock
Mode This property is required. String - The locked status of the instance.
- maintain
End Time 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. - maintain
Start Time 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. - max
Connections This property is required. Number - Instance maximum connections.
- max
Iops This property is required. Number - The maximum IOPS of the instance.
- network
Type This property is required. String - The network type of the instance.
- payment
Type This property is required. String - The Payment type of the instance.
- protocol
Type This property is required. String - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group Id This property is required. String - The ID of the resource group.
- security
Ip Groups This property is required. List<Property Map> - The security ip list.
- status
This property is required. String - The status of the instance.
- storage
Engine This property is required. String - The storage engine used by the instance.
This property is required. Map<String>- The tag of the resource.
- vpc
Auth Mode This property is required. String - Intranet secret free access mode.
- vpc
Id This property is required. String - The ID of the VPC network.
- vswitch
Id This property is required. String - The id of the vswitch.
- zone
Id This property is required. String - The ID of the zone.
GetServerlessInstancesInstanceSecurityIpGroup
- Security
Ip Group Attribute This property is required. string - The attribute of the IP whitelist. This parameter is empty by default.
- Security
Ip Group Name This property is required. string - The name of the IP whitelist.
- Security
Ip List This property is required. string - The IP addresses in the whitelist.
- Security
Ip Group Attribute This property is required. string - The attribute of the IP whitelist. This parameter is empty by default.
- Security
Ip Group Name This property is required. string - The name of the IP whitelist.
- Security
Ip List This property is required. string - The IP addresses in the whitelist.
- security
Ip Group Attribute This property is required. String - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip Group Name This property is required. String - The name of the IP whitelist.
- security
Ip List This property is required. String - The IP addresses in the whitelist.
- security
Ip Group Attribute This property is required. string - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip Group Name This property is required. string - The name of the IP whitelist.
- security
Ip List 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.
- security
Ip Group Attribute This property is required. String - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip Group Name This property is required. String - The name of the IP whitelist.
- security
Ip List 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.