InstancesProps
Properties for defining a Instances
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-mongodb-instances
Initializer
import { datasource } from '@alicloud/ros-cdk-mongodb'
const instancesProps: datasource.InstancesProps = { ... }
Properties
Name | Type | Description |
---|---|---|
chargeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property chargeType: The billing method of the instance. |
connectionDomain |
string | @alicloud/ros-cdk-core.IResolvable |
Property connectionDomain: The endpoint of the node. |
dbInstanceClass |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbInstanceClass: The instance type. |
dbInstanceDescription |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbInstanceDescription: The description of the instance. |
dbInstanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbInstanceId: The ID of the instance. |
dbInstanceStatus |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbInstanceStatus: The state of the instance. |
dbInstanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbInstanceType: The category of the instance. |
engineVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property engineVersion: The database engine version of the instance. |
expired |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property expired: Specifies whether the instance expires. |
networkType |
string | @alicloud/ros-cdk-core.IResolvable |
Property networkType: The network type of the instance. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
replicationFactor |
string | @alicloud/ros-cdk-core.IResolvable |
Property replicationFactor: The number of nodes in a replica set instance. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
tags |
@alicloud/ros-cdk-mongodb.datasource.RosInstances.TagsProperty[] |
Property tags: Tags of instance. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The VPC ID of the instance. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: The vSwitch ID of the instance. |
zoneId |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneId: The zone ID of the instance. |
chargeType
Optional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property chargeType: The billing method of the instance.
Valid values: PostPaid: pay-as-you-go PrePaid: subscription
connectionDomain
Optional
public readonly connectionDomain: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property connectionDomain: The endpoint of the node.
You can call the DescribeDBInstanceAttribute operation to query the endpoint of the node.
dbInstanceClass
Optional
public readonly dbInstanceClass: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceClass: The instance type.
For more information about valid values, see Instance types.
dbInstanceDescription
Optional
public readonly dbInstanceDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceDescription: The description of the instance.
dbInstanceId
Optional
public readonly dbInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceId: The ID of the instance.
dbInstanceStatus
Optional
public readonly dbInstanceStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceStatus: The state of the instance.
For more information about valid values, see Instance states.
dbInstanceType
Optional
public readonly dbInstanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceType: The category of the instance.
Default value: replicate. Valid values: sharding: sharded cluster instance replicate: replica set or standalone instance Note To query the list of sharded cluster instances, you must set the parameter to sharding. This operation displays the list of replica set and standalone instances when the parameter uses the default value replicate.
engineVersion
Optional
public readonly engineVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property engineVersion: The database engine version of the instance.
Valid values: 5.0 4.4 4.2 4.0 3.4
expired
Optional
public readonly expired: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property expired: Specifies whether the instance expires.
Valid values: true: The instance expires. false: The instance does not expire.
networkType
Optional
public readonly networkType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkType: The network type of the instance.
Valid values: Classic Vpc
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.
replicationFactor
Optional
public readonly replicationFactor: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property replicationFactor: The number of nodes in a replica set instance.
Valid values: 3, 5, and 7.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
tags
Optional
public readonly tags: TagsProperty[];
- Type: @alicloud/ros-cdk-mongodb.datasource.RosInstances.TagsProperty[]
Property tags: Tags of instance.
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The VPC ID of the instance.
vSwitchId
Optional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The vSwitch ID of the instance.
zoneId
Optional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: The zone ID of the instance.
You can call the DescribeRegions operation to query the most recent zone list.