Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:mongodb/getServerlessInstances:getServerlessInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Db
Instance stringClass - The db instance class.
- Db
Instance stringDescription - The db instance description.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids List<string>
- A list of Serverless Instance IDs.
- Network
Type string - 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 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.
- Vpc
Id string - The ID of the VPC network.
- Vswitch
Id string - The id of the vswitch.
- Zone
Id string - The ID of the zone.
- Db
Instance stringClass - The db instance class.
- Db
Instance stringDescription - The db instance description.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of Serverless Instance IDs.
- Network
Type string - 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 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.
- Vpc
Id string - The ID of the VPC network.
- Vswitch
Id string - The id of the vswitch.
- Zone
Id string - The ID of the zone.
- db
Instance StringClass - The db instance class.
- db
Instance StringDescription - The db instance description.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Serverless Instance IDs.
- network
Type String - 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 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.
- vpc
Id String - The ID of the VPC network.
- vswitch
Id String - The id of the vswitch.
- zone
Id String - The ID of the zone.
- db
Instance stringClass - The db instance class.
- db
Instance stringDescription - The db instance description.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of Serverless Instance IDs.
- network
Type string - 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 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.
- vpc
Id string - The ID of the VPC network.
- vswitch
Id string - The id of the vswitch.
- zone
Id 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 totrue
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
orVPC
. - 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.
- db
Instance StringClass - The db instance class.
- db
Instance StringDescription - The db instance description.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Serverless Instance IDs.
- network
Type String - 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 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.
- vpc
Id String - The ID of the VPC network.
- vswitch
Id String - The id of the vswitch.
- zone
Id 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> - 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 int - The read/write throughput consumed by the instance.
- Db
Instance stringClass - The db instance class.
- Db
Instance stringDescription - The db instance description.
- Db
Instance stringId - The db instance id.
- Db
Instance boolRelease Protection - The db instance release protection.
- Db
Instance intStorage - The db instance storage.
- Engine string
- The database engine of the instance.
- Engine
Version string - The database version number. Valid values:
4.2
. - Expire
Time 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.
- Kind
Code string - Indicates the type of the instance. Valid values:
0
: physical machine.1
: ECS.2
: DOCKER.18
: k8s new architecture instance. - Lock
Mode string - The locked status of the instance.
- Maintain
End stringTime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - Maintain
Start stringTime - 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 string - The network type of the instance.
- Payment
Type string - The Payment type of the instance.
- Protocol
Type string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - Resource
Group stringId - The ID of the resource group.
- Security
Ip 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.
- Storage
Engine string - The storage engine used by the instance.
- Dictionary<string, string>
- The tag of the resource.
- Vpc
Auth stringMode - Intranet secret free access mode.
- Vpc
Id string - The ID of the VPC network.
- Vswitch
Id string - The id of the vswitch.
- Zone
Id string - The ID of the zone.
- Capacity
Unit int - The read/write throughput consumed by the instance.
- Db
Instance stringClass - The db instance class.
- Db
Instance stringDescription - The db instance description.
- Db
Instance stringId - The db instance id.
- Db
Instance boolRelease Protection - The db instance release protection.
- Db
Instance intStorage - The db instance storage.
- Engine string
- The database engine of the instance.
- Engine
Version string - The database version number. Valid values:
4.2
. - Expire
Time 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.
- Kind
Code string - Indicates the type of the instance. Valid values:
0
: physical machine.1
: ECS.2
: DOCKER.18
: k8s new architecture instance. - Lock
Mode string - The locked status of the instance.
- Maintain
End stringTime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - Maintain
Start stringTime - 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 string - The network type of the instance.
- Payment
Type string - The Payment type of the instance.
- Protocol
Type string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - Resource
Group stringId - The ID of the resource group.
- Security
Ip []GetGroups Serverless Instances Instance Security Ip Group - The security ip list.
- Status string
- The status of the instance.
- Storage
Engine string - The storage engine used by the instance.
- map[string]string
- The tag of the resource.
- Vpc
Auth stringMode - Intranet secret free access mode.
- Vpc
Id string - The ID of the VPC network.
- Vswitch
Id string - The id of the vswitch.
- Zone
Id string - The ID of the zone.
- capacity
Unit Integer - The read/write throughput consumed by the instance.
- db
Instance StringClass - The db instance class.
- db
Instance StringDescription - The db instance description.
- db
Instance StringId - The db instance id.
- db
Instance BooleanRelease Protection - The db instance release protection.
- db
Instance IntegerStorage - The db instance storage.
- engine String
- The database engine of the instance.
- engine
Version String - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code String - Indicates the type of the instance. Valid values:
0
: physical machine.1
: ECS.2
: DOCKER.18
: k8s new architecture instance. - lock
Mode String - The locked status of the instance.
- maintain
End StringTime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - maintain
Start StringTime - The end time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - max
Connections Integer - Instance maximum connections.
- max
Iops Integer - The maximum IOPS of the instance.
- network
Type String - The network type of the instance.
- payment
Type String - The Payment type of the instance.
- protocol
Type String - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group StringId - The ID of the resource group.
- security
Ip List<GetGroups Serverless Instances Instance Security Ip Group> - The security ip list.
- status String
- The status of the instance.
- storage
Engine String - The storage engine used by the instance.
- Map<String,String>
- The tag of the resource.
- vpc
Auth StringMode - Intranet secret free access mode.
- vpc
Id String - The ID of the VPC network.
- vswitch
Id String - The id of the vswitch.
- zone
Id String - The ID of the zone.
- capacity
Unit number - The read/write throughput consumed by the instance.
- db
Instance stringClass - The db instance class.
- db
Instance stringDescription - The db instance description.
- db
Instance stringId - The db instance id.
- db
Instance booleanRelease Protection - The db instance release protection.
- db
Instance numberStorage - The db instance storage.
- engine string
- The database engine of the instance.
- engine
Version string - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code string - Indicates the type of the instance. Valid values:
0
: physical machine.1
: ECS.2
: DOCKER.18
: k8s new architecture instance. - lock
Mode string - The locked status of the instance.
- maintain
End stringTime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - maintain
Start stringTime - The end time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - max
Connections number - Instance maximum connections.
- max
Iops number - The maximum IOPS of the instance.
- network
Type string - The network type of the instance.
- payment
Type string - The Payment type of the instance.
- protocol
Type string - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group stringId - The ID of the resource group.
- security
Ip GetGroups Serverless Instances Instance Security Ip Group[] - The security ip list.
- status string
- The status of the instance.
- storage
Engine string - The storage engine used by the instance.
- {[key: string]: string}
- The tag of the resource.
- vpc
Auth stringMode - Intranet secret free access mode.
- vpc
Id string - The ID of the VPC network.
- vswitch
Id string - The id of the vswitch.
- zone
Id 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: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_ strtime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - maintain_
start_ strtime - 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_ 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.
- capacity
Unit Number - The read/write throughput consumed by the instance.
- db
Instance StringClass - The db instance class.
- db
Instance StringDescription - The db instance description.
- db
Instance StringId - The db instance id.
- db
Instance BooleanRelease Protection - The db instance release protection.
- db
Instance NumberStorage - The db instance storage.
- engine String
- The database engine of the instance.
- engine
Version String - The database version number. Valid values:
4.2
. - expire
Time 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.
- kind
Code String - Indicates the type of the instance. Valid values:
0
: physical machine.1
: ECS.2
: DOCKER.18
: k8s new architecture instance. - lock
Mode String - The locked status of the instance.
- maintain
End StringTime - The start time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - maintain
Start StringTime - The end time of the maintenance window. The time is in the
HH:mmZ
format. The time is displayed in UTC. - max
Connections Number - Instance maximum connections.
- max
Iops Number - The maximum IOPS of the instance.
- network
Type String - The network type of the instance.
- payment
Type String - The Payment type of the instance.
- protocol
Type String - The access protocol type of the instance. Valid values:
mongodb
,dynamodb
. - resource
Group StringId - The ID of the resource group.
- security
Ip List<Property Map>Groups - The security ip list.
- status String
- The status of the instance.
- storage
Engine String - The storage engine used by the instance.
- Map<String>
- The tag of the resource.
- vpc
Auth StringMode - Intranet secret free access mode.
- vpc
Id String - The ID of the VPC network.
- vswitch
Id String - The id of the vswitch.
- zone
Id String - The ID of the zone.
GetServerlessInstancesInstanceSecurityIpGroup
- Security
Ip stringGroup Attribute - The attribute of the IP whitelist. This parameter is empty by default.
- Security
Ip stringGroup Name - The name of the IP whitelist.
- Security
Ip stringList - The IP addresses in the whitelist.
- Security
Ip stringGroup Attribute - The attribute of the IP whitelist. This parameter is empty by default.
- Security
Ip stringGroup Name - The name of the IP whitelist.
- Security
Ip stringList - The IP addresses in the whitelist.
- security
Ip StringGroup Attribute - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip StringGroup Name - The name of the IP whitelist.
- security
Ip StringList - The IP addresses in the whitelist.
- security
Ip stringGroup Attribute - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip stringGroup Name - The name of the IP whitelist.
- security
Ip 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.
- security
Ip StringGroup Attribute - The attribute of the IP whitelist. This parameter is empty by default.
- security
Ip StringGroup Name - The name of the IP whitelist.
- security
Ip 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
alicloud
Terraform Provider.