Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-instances

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.InstancesProps {
    AdditionalAttributes: interface{},
    EipAddresses: interface{},
    Filters: interface{},
    HpcClusterId: interface{},
    ImageId: interface{},
    InnerIpAddresses: interface{},
    InstanceChargeType: interface{},
    InstanceId: interface{},
    InstanceIds: interface{},
    InstanceName: interface{},
    InstanceNetworkType: interface{},
    InstanceType: interface{},
    InstanceTypeFamily: interface{},
    InternetChargeType: interface{},
    IoOptimized: interface{},
    Ipv6Address: interface{},
    KeyPairName: interface{},
    PrivateIpAddresses: interface{},
    PublicIpAddresses: interface{},
    RdmaIpAddresses: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    SecurityGroupId: interface{},
    Status: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosInstances.TagsProperty,
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
AdditionalAttributes interface{} Property additionalAttributes: The value of attribute N.
EipAddresses interface{} Property eipAddresses: The elastic IP addresses (EIPs) of instances.
Filters interface{} Property filters: Filter value when querying resources.
HpcClusterId interface{} Property hpcClusterId: The ID of the High Performance Computing (HPC) cluster to which the instance belongs.
ImageId interface{} Property imageId: The ID of the image.
InnerIpAddresses interface{} Property innerIpAddresses: The internal IP addresses of instances located in the classic network.
InstanceChargeType interface{} Property instanceChargeType: The billing method of the instance.
InstanceId interface{} Property instanceId: The IDs of instances.
InstanceIds interface{} Property instanceIds: The IDs of instances.
InstanceName interface{} Property instanceName: The name of the instance.
InstanceNetworkType interface{} Property instanceNetworkType: The network type of the instance.
InstanceType interface{} Property instanceType: The instance type of the instance.
InstanceTypeFamily interface{} Property instanceTypeFamily: The instance family of the instance.
InternetChargeType interface{} Property internetChargeType: The billing method for network usage.
IoOptimized interface{} Property ioOptimized: Specifies whether the instance is I\/O optimized.
Ipv6Address interface{} Property ipv6Address: IPv6 address N of the elastic network interface (ENI).
KeyPairName interface{} Property keyPairName: The name of the SSH key pair bound to the instance.
PrivateIpAddresses interface{} Property privateIpAddresses: The private IP addresses of instances located in VPCs.
PublicIpAddresses interface{} Property publicIpAddresses: The public IP addresses of instances.
RdmaIpAddresses interface{} Property rdmaIpAddresses: The Remote Direct Memory Access (RDMA) IP addresses of HPC instances.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which the instance belongs.
SecurityGroupId interface{} Property securityGroupId: The ID of the security group to which the instance belongs.
Status interface{} Property status: The state of the instance.
Tags *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosInstances.TagsProperty Property tags: Tags of instance.
VpcId interface{} Property vpcId: The ID of the virtual private cloud (VPC).
VSwitchId interface{} Property vSwitchId: The ID of the vSwitch.
ZoneId interface{} Property zoneId: The zone ID of the instance.

AdditionalAttributesOptional

AdditionalAttributes interface{}
  • Type: interface{}

Property additionalAttributes: The value of attribute N.

Valid values of N: 1 to 20. Valid values: META_OPTIONS: instance metadata DDH_CLUSTER: dedicated host cluster NETWORK_PRIMARY_ENI_IP: secondary IP address associated with the primary ENI of the instance


EipAddressesOptional

EipAddresses interface{}
  • Type: interface{}

Property eipAddresses: The elastic IP addresses (EIPs) of instances.

This parameter is valid when InstanceNetworkType is set to vpc. The value can be a JSON array that consists of up to 100 IP addresses. Separate the IP addresses with commas (,).


FiltersOptional

Filters interface{}
  • Type: interface{}

Property filters: Filter value when querying resources.


HpcClusterIdOptional

HpcClusterId interface{}
  • Type: interface{}

Property hpcClusterId: The ID of the High Performance Computing (HPC) cluster to which the instance belongs.


ImageIdOptional

ImageId interface{}
  • Type: interface{}

Property imageId: The ID of the image.


InnerIpAddressesOptional

InnerIpAddresses interface{}
  • Type: interface{}

Property innerIpAddresses: The internal IP addresses of instances located in the classic network.

This parameter is valid when InstanceNetworkType is set to classic. The value can be a JSON array that consists of up to 100 IP addresses. Separate the IP addresses with commas (,).


InstanceChargeTypeOptional

InstanceChargeType interface{}
  • Type: interface{}

Property instanceChargeType: The billing method of the instance.

Valid values: PostPaid: pay-as-you-go PrePaid: subscription


InstanceIdOptional

InstanceId interface{}
  • Type: interface{}

Property instanceId: The IDs of instances.

The value can be a JSON array that consists of up to 100 instance IDs. Separate the instance IDs with commas (,).


InstanceIdsOptional

InstanceIds interface{}
  • Type: interface{}

Property instanceIds: The IDs of instances.

The value can be a JSON array that consists of up to 100 instance IDs. Separate the instance IDs with commas (,).


InstanceNameOptional

InstanceName interface{}
  • Type: interface{}

Property instanceName: The name of the instance.

Fuzzy search with the asterisk (*) wildcard is supported.


InstanceNetworkTypeOptional

InstanceNetworkType interface{}
  • Type: interface{}

Property instanceNetworkType: The network type of the instance.

Valid values: classic: classic network vpc: VPC


InstanceTypeOptional

InstanceType interface{}
  • Type: interface{}

Property instanceType: The instance type of the instance.


InstanceTypeFamilyOptional

InstanceTypeFamily interface{}
  • Type: interface{}

Property instanceTypeFamily: The instance family of the instance.


InternetChargeTypeOptional

InternetChargeType interface{}
  • Type: interface{}

Property internetChargeType: The billing method for network usage.

Valid values: PayByBandwidth: pay-by-bandwidth PayByTraffic: pay-by-traffic


IoOptimizedOptional

IoOptimized interface{}
  • Type: interface{}

Property ioOptimized: Specifies whether the instance is I\/O optimized.


Ipv6AddressOptional

Ipv6Address interface{}
  • Type: interface{}

Property ipv6Address: IPv6 address N of the elastic network interface (ENI).

You can specify multiple IPv6 addresses. Valid values of N: 1 to 100.


KeyPairNameOptional

KeyPairName interface{}
  • Type: interface{}

Property keyPairName: The name of the SSH key pair bound to the instance.


PrivateIpAddressesOptional

PrivateIpAddresses interface{}
  • Type: interface{}

Property privateIpAddresses: The private IP addresses of instances located in VPCs.

This parameter is valid when InstanceNetworkType is set to vpc. The value can be a JSON array that consists of up to 100 IP addresses. Separate the IP addresses with commas (,).


PublicIpAddressesOptional

PublicIpAddresses interface{}
  • Type: interface{}

Property publicIpAddresses: The public IP addresses of instances.

The value can be a JSON array that consists of up to 100 IP addresses. Separate the IP addresses with commas (,).


RdmaIpAddressesOptional

RdmaIpAddresses interface{}
  • Type: interface{}

Property rdmaIpAddresses: The Remote Direct Memory Access (RDMA) IP addresses of HPC instances.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group to which the instance belongs.

If this parameter is specified to query resources,up to 1,000 resources that belong to the specified resource group can be displayed in the response.


SecurityGroupIdOptional

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: The ID of the security group to which the instance belongs.


StatusOptional

Status interface{}
  • Type: interface{}

Property status: The state of the instance.

Valid values: Pending Running Starting Stopping Stopped


TagsOptional

Tags *[]TagsProperty
  • Type: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosInstances.TagsProperty

Property tags: Tags of instance.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the virtual private cloud (VPC).


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The ID of the vSwitch.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: The zone ID of the instance.