Skip to content

DatabaseProps

Properties for defining a Database.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-dms-database

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dms;
new DatabaseProps {
    object Host,
    object Port,
    object SchemaName,
    object RefreshOptions = null,
    object Sid = null,
    object Tid = null
};

Properties

Name Type Description
Host object Property host: Database connection address.
Port object Property port: Database connection port.
SchemaName object Property schemaName: Database schema name.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Sid object Property sid: Database SID.
Tid object Property tid: The tenant ID.

HostRequired

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

Property host: Database connection address.


PortRequired

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

Property port: Database connection port.


SchemaNameRequired

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

Property schemaName: Database schema name.


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.

SidOptional

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

Property sid: Database SID.


TidOptional

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

Property tid: The tenant ID.