Skip to content

InstanceClassesProps

Properties for defining a InstanceClasses.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-mongodb-instanceclasses

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mongodb;
new InstanceClassesProps {
    object DbType = null,
    object InstanceChargeType = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    object ZoneId = null
};

Properties

Name Type Description
DbType object Property dbType: The database engine type of the instance.
InstanceChargeType object Property instanceChargeType: The billing method of the instance.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
ZoneId object Property zoneId: The zone ID of the instance.

DbTypeOptional

public object DbType { get; set; }
  • Type: object

Property dbType: The database engine type of the instance.

normal: replica set instance sharding: sharded cluster instance


InstanceChargeTypeOptional

public object InstanceChargeType { get; set; }
  • Type: object

Property instanceChargeType: The billing method of the instance.

Default value: PostPaid. Valid values: PrePaid: subscription PostPaid: pay-as-you-go


RefreshOptionsOptional

public object RefreshOptions { get; set; }
  • Type: object

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.

ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


ZoneIdOptional

public object ZoneId { get; set; }
  • Type: object

Property zoneId: The zone ID of the instance.

You can call the DescribeRegions operation to query the most recent zone list.