Skip to content

DBClustersProps

Properties for defining a DBClusters.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbclusters

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardb/datasource"
&datasource.DBClustersProps {
    DbClusterId: interface{},
    DbType: interface{},
    DbVersion: interface{},
    Description: interface{},
    Expired: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
}

Properties

Name Type Description
DbClusterId interface{} Property dbClusterId: The ID of the cluster.
DbType interface{} Property dbType: The database engine that the cluster runs.
DbVersion interface{} Property dbVersion: The version of the database engine that the cluster runs.
Description interface{} Property description: The description of the cluster.
Expired interface{} Property expired: Indicates whether the cluster has expired.
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.

DbClusterIdOptional

DbClusterId interface{}
  • Type: interface{}

Property dbClusterId: The ID of the cluster.


DbTypeOptional

DbType interface{}
  • Type: interface{}

Property dbType: The database engine that the cluster runs.


DbVersionOptional

DbVersion interface{}
  • Type: interface{}

Property dbVersion: The version of the database engine that the cluster runs.

The range of the MySQL version number is as follows: *** 5.6 * * * *** 5.7 * * * *** 8.0 * * * The value range of PostgreSQL version number is as follows: *** 11 * * * *** 14 * * * The Oracle version number is 11.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the cluster.


ExpiredOptional

Expired interface{}
  • Type: interface{}

Property expired: Indicates whether the cluster has expired.

Valid values: true false


RefreshOptionsOptional

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.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.