Skip to content

InstancesProps

Properties for defining a Instances.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mongodb;
new InstancesProps {
    object ChargeType = null,
    object ConnectionDomain = null,
    object DbInstanceClass = null,
    object DbInstanceDescription = null,
    object DbInstanceId = null,
    object DbInstanceStatus = null,
    object DbInstanceType = null,
    object EngineVersion = null,
    object Expired = null,
    object NetworkType = null,
    object RefreshOptions = null,
    object ReplicationFactor = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null,
    object VpcId = null,
    object VSwitchId = null,
    object ZoneId = null
};

Properties

Name Type Description
ChargeType object Property chargeType: The billing method of the instance.
ConnectionDomain object Property connectionDomain: The endpoint of the node.
DbInstanceClass object Property dbInstanceClass: The instance type.
DbInstanceDescription object Property dbInstanceDescription: The description of the instance.
DbInstanceId object Property dbInstanceId: The ID of the instance.
DbInstanceStatus object Property dbInstanceStatus: The state of the instance.
DbInstanceType object Property dbInstanceType: The category of the instance.
EngineVersion object Property engineVersion: The database engine version of the instance.
Expired object Property expired: Specifies whether the instance expires.
NetworkType object Property networkType: The network type of the instance.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ReplicationFactor object Property replicationFactor: The number of nodes in a replica set instance.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
Tags AlibabaCloud.SDK.ROS.CDK.Mongodb.datasource.RosInstances.TagsProperty[] Property tags: Tags of instance.
VpcId object Property vpcId: The VPC ID of the instance.
VSwitchId object Property vSwitchId: The vSwitch ID of the instance.
ZoneId object Property zoneId: The zone ID of the instance.

ChargeTypeOptional

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

Property chargeType: The billing method of the instance.

Valid values: PostPaid: pay-as-you-go PrePaid: subscription


ConnectionDomainOptional

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

Property connectionDomain: The endpoint of the node.

You can call the DescribeDBInstanceAttribute operation to query the endpoint of the node.


DbInstanceClassOptional

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

Property dbInstanceClass: The instance type.

For more information about valid values, see Instance types.


DbInstanceDescriptionOptional

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

Property dbInstanceDescription: The description of the instance.


DbInstanceIdOptional

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

Property dbInstanceId: The ID of the instance.


DbInstanceStatusOptional

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

Property dbInstanceStatus: The state of the instance.

For more information about valid values, see Instance states.


DbInstanceTypeOptional

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

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.


EngineVersionOptional

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

Property engineVersion: The database engine version of the instance.

Valid values: 5.0 4.4 4.2 4.0 3.4


ExpiredOptional

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

Property expired: Specifies whether the instance expires.

Valid values: true: The instance expires. false: The instance does not expire.


NetworkTypeOptional

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

Property networkType: The network type of the instance.

Valid values: Classic Vpc


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.

ReplicationFactorOptional

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

Property replicationFactor: The number of nodes in a replica set instance.

Valid values: 3, 5, and 7.


ResourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


TagsOptional

public TagsProperty[] Tags { get; set; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Mongodb.datasource.RosInstances.TagsProperty[]

Property tags: Tags of instance.


VpcIdOptional

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

Property vpcId: The VPC ID of the instance.


VSwitchIdOptional

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

Property vSwitchId: The vSwitch ID of the instance.


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.