Skip to content

IInstance

  • Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource

  • Implemented By: Instance, IInstance

Represents a Instance.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrHostName object Attribute HostName: Host name of created instance.
AttrInnerIp object Attribute InnerIp: Inner IP address of the specified instance.
AttrInstanceId object Attribute InstanceId: The instance ID of created ecs instance.
AttrPrimaryNetworkInterfaceId object Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.
AttrPrivateIp object Attribute PrivateIp: Private IP address of created ecs instance.
AttrPublicIp object Attribute PublicIp: Public IP address of created ecs instance.
AttrSecurityGroupIds object Attribute SecurityGroupIds: Security group ID list of created instance.
AttrZoneId object Attribute ZoneId: Zone ID of created instance.
Props InstanceProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.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 Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrHostNameRequired

public object AttrHostName { get; }
  • Type: object

Attribute HostName: Host name of created instance.


AttrInnerIpRequired

public object AttrInnerIp { get; }
  • Type: object

Attribute InnerIp: Inner IP address of the specified instance.

Only for classical instance.


AttrInstanceIdRequired

public object AttrInstanceId { get; }
  • Type: object

Attribute InstanceId: The instance ID of created ecs instance.


AttrPrimaryNetworkInterfaceIdRequired

public object AttrPrimaryNetworkInterfaceId { get; }
  • Type: object

Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.


AttrPrivateIpRequired

public object AttrPrivateIp { get; }
  • Type: object

Attribute PrivateIp: Private IP address of created ecs instance.

Only for VPC instance.


AttrPublicIpRequired

public object AttrPublicIp { get; }
  • Type: object

Attribute PublicIp: Public IP address of created ecs instance.


AttrSecurityGroupIdsRequired

public object AttrSecurityGroupIds { get; }
  • Type: object

Attribute SecurityGroupIds: Security group ID list of created instance.


AttrZoneIdRequired

public object AttrZoneId { get; }
  • Type: object

Attribute ZoneId: Zone ID of created instance.


PropsRequired

public InstanceProps Props { get; }