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. |
EcsSpecRequired
public object EcsSpec { get; set; }
- Type: object
Property ecsSpec: The ECS specification of the instance.
ImageUrlRequired
public object ImageUrl { get; set; }
- Type: object
Property imageUrl: The mirror address.
InstanceNameRequired
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.
AccessibilityOptional
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.
DatasetsOptional
public object Datasets { get; set; }
- Type: object
Property datasets: A collection of datasets.
EnvironmentVariablesOptional
public object EnvironmentVariables { get; set; }
- Type: object
Property environmentVariables: Environment variable.
LabelsOptional
public object Labels { get; set; }
- Type: object
Property labels: User-defined labels.
SaveImageOptional
public object SaveImage { get; set; }
- Type: object
Property saveImage: Whether to close the instance after saving the environment.
UserVpcOptional
public object UserVpc { get; set; }
- Type: object
Property userVpc: User vpc configuration.
WorkspaceIdOptional
public object WorkspaceId { get; set; }
- Type: object
Property workspaceId: The Id of the workspace.