DatasourceProps
Properties for defining a Datasource.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paifeaturestore-datasource
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpaifeaturestore"
&alicloudroscdkpaifeaturestore.DatasourceProps {
DatasourceName: interface{},
InstanceId: interface{},
Type: interface{},
Uri: interface{},
WorkspaceId: interface{},
Config: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DatasourceName | interface{} | Property datasourceName: The datasource name. |
InstanceId | interface{} | Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface. |
Type | interface{} | Property type: Data source type. |
Uri | interface{} | Property uri: The resource address of the datasource. |
WorkspaceId | interface{} | Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface. |
Config | interface{} | Property config: Resource configuration information. |
DatasourceNameRequired
DatasourceName interface{}
- Type: interface{}
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
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.
TypeRequired
Type interface{}
- Type: interface{}
Property type: Data source type.
The value is as follows:
- Hologres
- GraphCompute
- FeatureDB
- MaxCompute.
UriRequired
Uri interface{}
- Type: interface{}
Property uri: The resource address of the datasource.
The maximum length cannot exceed 64.
WorkspaceIdRequired
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.
ConfigOptional
Config interface{}
- Type: interface{}
Property config: Resource configuration information.
The string format is json.