IInstance
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: com.aliyun.ros.cdk.paidswapi.datasource.Instance, com.aliyun.ros.cdk.paidswapi.datasource.IInstance
Represents a Instance.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrAccessibility | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Accessibility: Whether the workspace is visible to others. |
attrDatasets | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Datasets: A collection of datasets. |
attrEcsSpec | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EcsSpec: The ECS specification of the instance. |
attrImageUrl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ImageUrl: The mirror address. |
attrInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceId: The ID of the resource. |
attrInstanceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceName: The instance name. |
attrLabels | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Labels: User-defined labels. |
attrPaymentType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PaymentType: The payment type of the resource. |
attrWorkspaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute WorkspaceId: The Id of the workspace. |
props | InstanceProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrAccessibilityRequired
public java.lang.Object getAttrAccessibility();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Accessibility: Whether the workspace is visible to others.
attrDatasetsRequired
public java.lang.Object getAttrDatasets();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Datasets: A collection of datasets.
attrEcsSpecRequired
public java.lang.Object getAttrEcsSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EcsSpec: The ECS specification of the instance.
attrImageUrlRequired
public java.lang.Object getAttrImageUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ImageUrl: The mirror address.
attrInstanceIdRequired
public java.lang.Object getAttrInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: The ID of the resource.
attrInstanceNameRequired
public java.lang.Object getAttrInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceName: The instance name.
attrLabelsRequired
public java.lang.Object getAttrLabels();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Labels: User-defined labels.
attrPaymentTypeRequired
public java.lang.Object getAttrPaymentType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PaymentType: The payment type of the resource.
attrWorkspaceIdRequired
public java.lang.Object getAttrWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute WorkspaceId: The Id of the workspace.
propsRequired
public InstanceProps getProps();
- Type: InstanceProps