InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paidswapi-instance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpaidswapi"
&alicloudroscdkpaidswapi.InstanceProps {
EcsSpec: interface{},
ImageUrl: interface{},
InstanceName: interface{},
Accessibility: interface{},
Datasets: interface{},
EnvironmentVariables: interface{},
Labels: interface{},
SaveImage: interface{},
UserVpc: interface{},
WorkspaceId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
EcsSpec |
interface{} |
Property ecsSpec: The ECS specification of the instance. |
ImageUrl |
interface{} |
Property imageUrl: The mirror address. |
InstanceName |
interface{} |
Property instanceName: The instance name. |
Accessibility |
interface{} |
Property accessibility: Whether the workspace is visible to others. |
Datasets |
interface{} |
Property datasets: A collection of datasets. |
EnvironmentVariables |
interface{} |
Property environmentVariables: Environment variable. |
Labels |
interface{} |
Property labels: User-defined labels. |
SaveImage |
interface{} |
Property saveImage: Whether to close the instance after saving the environment. |
UserVpc |
interface{} |
Property userVpc: User vpc configuration. |
WorkspaceId |
interface{} |
Property workspaceId: The Id of the workspace. |
EcsSpec
Required
EcsSpec interface{}
- Type: interface{}
Property ecsSpec: The ECS specification of the instance.
ImageUrl
Required
ImageUrl interface{}
- Type: interface{}
Property imageUrl: The mirror address.
InstanceName
Required
InstanceName interface{}
- Type: interface{}
Property instanceName: The instance name.
Format requirements:
- Can only contain letters, numbers and underscores (_).
- It cannot exceed 27 characters.
Accessibility
Optional
Accessibility interface{}
- Type: interface{}
Property accessibility: Whether the workspace is visible to others.
Valid values:
- PUBLIC: Visible to all users of the workspace.
- PRIVATE: Only visible to yourself and the administrator of the workspace.
Datasets
Optional
Datasets interface{}
- Type: interface{}
Property datasets: A collection of datasets.
EnvironmentVariables
Optional
EnvironmentVariables interface{}
- Type: interface{}
Property environmentVariables: Environment variable.
Labels
Optional
Labels interface{}
- Type: interface{}
Property labels: User-defined labels.
SaveImage
Optional
SaveImage interface{}
- Type: interface{}
Property saveImage: Whether to close the instance after saving the environment.
UserVpc
Optional
UserVpc interface{}
- Type: interface{}
Property userVpc: User vpc configuration.
WorkspaceId
Optional
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: The Id of the workspace.