WorkspaceResourceProps
Properties for defining a WorkspaceResource.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspaceresource
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai"
&alicloudroscdkpai.WorkspaceResourceProps {
EnvType: interface{},
ResourceType: interface{},
WorkspaceId: interface{},
WorkspaceResourceName: interface{},
GroupName: interface{},
IsDefault: interface{},
Spec: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
EnvType | interface{} | Property envType: Environment type, possible values: - dev: Development environment. |
ResourceType | interface{} | Property resourceType: The resource types. |
WorkspaceId | interface{} | Property workspaceId: The ID of the workspace to which the workspace belongs. |
WorkspaceResourceName | interface{} | Property workspaceResourceName: The resource name. |
GroupName | interface{} | Property groupName: Resource group name. |
IsDefault | interface{} | Property isDefault: Whether it is the default resource, each resource type has a default resource. |
Spec | interface{} | Property spec: Resource configuration, required for public resource groups of DLC, enter the content: {"clusterType": "share"}. |
EnvTypeRequired
EnvType interface{}
- Type: interface{}
Property envType: Environment type, possible values: - dev: Development environment.
- prod: Production environment.
ResourceTypeRequired
ResourceType interface{}
- Type: interface{}
Property resourceType: The resource types.
Valid values: MaxCompute ECS Lingjun ACS FLINK
WorkspaceIdRequired
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: The ID of the workspace to which the workspace belongs.
WorkspaceResourceNameRequired
WorkspaceResourceName interface{}
- Type: interface{}
Property workspaceResourceName: The resource name.
GroupNameOptional
GroupName interface{}
- Type: interface{}
Property groupName: Resource group name.
If you want to obtain a resource group name, see ListResources.
IsDefaultOptional
IsDefault interface{}
- Type: interface{}
Property isDefault: Whether it is the default resource, each resource type has a default resource.
Possible values:
- true: is the default resource.
- false: Not the default resource.
SpecOptional
Spec interface{}
- Type: interface{}
Property spec: Resource configuration, required for public resource groups of DLC, enter the content: {"clusterType": "share"}.