Skip to content

DatasourceProps

Properties for defining a Datasource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paifeaturestore-datasource

Initializer

using AlibabaCloud.SDK.ROS.CDK.Paifeaturestore;
new DatasourceProps {
    object DatasourceName,
    object InstanceId,
    object Type,
    object Uri,
    object WorkspaceId,
    object Config = null
};

Properties

Name Type Description
DatasourceName object Property datasourceName: The datasource name.
InstanceId object Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.
Type object Property type: Data source type.
Uri object Property uri: The resource address of the datasource.
WorkspaceId object Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.
Config object Property config: Resource configuration information.

DatasourceNameRequired

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

Property datasourceName: The datasource name.

Start with a letter or number and contain only letters, numbers, and underscores. The maximum length cannot exceed 63.


InstanceIdRequired

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

Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.


TypeRequired

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

Property type: Data source type.

The value is as follows:

  • Hologres
  • GraphCompute
  • FeatureDB
  • MaxCompute.

UriRequired

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

Property uri: The resource address of the datasource.

The maximum length cannot exceed 64.


WorkspaceIdRequired

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

Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.


ConfigOptional

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

Property config: Resource configuration information.

The string format is json.