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. |
EcsSpecRequired
EcsSpec interface{}
- Type: interface{}
Property ecsSpec: The ECS specification of the instance.
ImageUrlRequired
ImageUrl interface{}
- Type: interface{}
Property imageUrl: The mirror address.
InstanceNameRequired
InstanceName interface{}
- Type: interface{}
Property instanceName: The instance name.
Format requirements:
- Can only contain letters, numbers and underscores (_).
- It cannot exceed 27 characters.
AccessibilityOptional
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.
DatasetsOptional
Datasets interface{}
- Type: interface{}
Property datasets: A collection of datasets.
EnvironmentVariablesOptional
EnvironmentVariables interface{}
- Type: interface{}
Property environmentVariables: Environment variable.
LabelsOptional
Labels interface{}
- Type: interface{}
Property labels: User-defined labels.
SaveImageOptional
SaveImage interface{}
- Type: interface{}
Property saveImage: Whether to close the instance after saving the environment.
UserVpcOptional
UserVpc interface{}
- Type: interface{}
Property userVpc: User vpc configuration.
WorkspaceIdOptional
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: The Id of the workspace.