InstanceClassesProps
Properties for defining a InstanceClasses
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-mongodb-instanceclasses
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmongodb/datasource"
&datasource.InstanceClassesProps {
DbType: interface{},
InstanceChargeType: interface{},
RefreshOptions: interface{},
ResourceGroupId: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DbType |
interface{} |
Property dbType: The database engine type of the instance. |
InstanceChargeType |
interface{} |
Property instanceChargeType: The billing method of the instance. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
ZoneId |
interface{} |
Property zoneId: The zone ID of the instance. |
DbType
Optional
DbType interface{}
- Type: interface{}
Property dbType: The database engine type of the instance.
normal: replica set instance sharding: sharded cluster instance
InstanceChargeType
Optional
InstanceChargeType interface{}
- Type: interface{}
Property instanceChargeType: The billing method of the instance.
Default value: PostPaid. Valid values: PrePaid: subscription PostPaid: pay-as-you-go
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
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.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: The zone ID of the instance.
You can call the DescribeRegions operation to query the most recent zone list.