InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paidswapi-instance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Paidswapi;
new InstanceProps {
object EcsSpec,
object ImageUrl,
object InstanceName,
object Accessibility = null,
object Datasets = null,
object EnvironmentVariables = null,
object Labels = null,
object SaveImage = null,
object UserVpc = null,
object WorkspaceId = null
};
Properties
Name | Type | Description |
---|---|---|
EcsSpec |
object |
Property ecsSpec: The ECS specification of the instance. |
ImageUrl |
object |
Property imageUrl: The mirror address. |
InstanceName |
object |
Property instanceName: The instance name. |
Accessibility |
object |
Property accessibility: Whether the workspace is visible to others. |
Datasets |
object |
Property datasets: A collection of datasets. |
EnvironmentVariables |
object |
Property environmentVariables: Environment variable. |
Labels |
object |
Property labels: User-defined labels. |
SaveImage |
object |
Property saveImage: Whether to close the instance after saving the environment. |
UserVpc |
object |
Property userVpc: User vpc configuration. |
WorkspaceId |
object |
Property workspaceId: The Id of the workspace. |
EcsSpec
Required
public object EcsSpec { get; set; }
- Type: object
Property ecsSpec: The ECS specification of the instance.
ImageUrl
Required
public object ImageUrl { get; set; }
- Type: object
Property imageUrl: The mirror address.
InstanceName
Required
public object InstanceName { get; set; }
- Type: object
Property instanceName: The instance name.
Format requirements:
- Can only contain letters, numbers and underscores (_).
- It cannot exceed 27 characters.
Accessibility
Optional
public object Accessibility { get; set; }
- Type: object
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
public object Datasets { get; set; }
- Type: object
Property datasets: A collection of datasets.
EnvironmentVariables
Optional
public object EnvironmentVariables { get; set; }
- Type: object
Property environmentVariables: Environment variable.
Labels
Optional
public object Labels { get; set; }
- Type: object
Property labels: User-defined labels.
SaveImage
Optional
public object SaveImage { get; set; }
- Type: object
Property saveImage: Whether to close the instance after saving the environment.
UserVpc
Optional
public object UserVpc { get; set; }
- Type: object
Property userVpc: User vpc configuration.
WorkspaceId
Optional
public object WorkspaceId { get; set; }
- Type: object
Property workspaceId: The Id of the workspace.