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. |
AdditionalAttributes
Optional
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
EipAddresses
Optional
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 (,).
Filters
Optional
Filters interface{}
- Type: interface{}
Property filters: Filter value when querying resources.
HpcClusterId
Optional
HpcClusterId interface{}
- Type: interface{}
Property hpcClusterId: The ID of the High Performance Computing (HPC) cluster to which the instance belongs.
ImageId
Optional
ImageId interface{}
- Type: interface{}
Property imageId: The ID of the image.
InnerIpAddresses
Optional
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 (,).
InstanceChargeType
Optional
InstanceChargeType interface{}
- Type: interface{}
Property instanceChargeType: The billing method of the instance.
Valid values: PostPaid: pay-as-you-go PrePaid: subscription
InstanceId
Optional
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 (,).
InstanceIds
Optional
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 (,).
InstanceName
Optional
InstanceName interface{}
- Type: interface{}
Property instanceName: The name of the instance.
Fuzzy search with the asterisk (*) wildcard is supported.
InstanceNetworkType
Optional
InstanceNetworkType interface{}
- Type: interface{}
Property instanceNetworkType: The network type of the instance.
Valid values: classic: classic network vpc: VPC
InstanceType
Optional
InstanceType interface{}
- Type: interface{}
Property instanceType: The instance type of the instance.
InstanceTypeFamily
Optional
InstanceTypeFamily interface{}
- Type: interface{}
Property instanceTypeFamily: The instance family of the instance.
InternetChargeType
Optional
InternetChargeType interface{}
- Type: interface{}
Property internetChargeType: The billing method for network usage.
Valid values: PayByBandwidth: pay-by-bandwidth PayByTraffic: pay-by-traffic
IoOptimized
Optional
IoOptimized interface{}
- Type: interface{}
Property ioOptimized: Specifies whether the instance is I\/O optimized.
Ipv6Address
Optional
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.
KeyPairName
Optional
KeyPairName interface{}
- Type: interface{}
Property keyPairName: The name of the SSH key pair bound to the instance.
PrivateIpAddresses
Optional
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 (,).
PublicIpAddresses
Optional
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 (,).
RdmaIpAddresses
Optional
RdmaIpAddresses interface{}
- Type: interface{}
Property rdmaIpAddresses: The Remote Direct Memory Access (RDMA) IP addresses of HPC instances.
RefreshOptions
Optional
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.
ResourceGroupId
Optional
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.
SecurityGroupId
Optional
SecurityGroupId interface{}
- Type: interface{}
Property securityGroupId: The ID of the security group to which the instance belongs.
Status
Optional
Status interface{}
- Type: interface{}
Property status: The state of the instance.
Valid values: Pending Running Starting Stopping Stopped
Tags
Optional
Tags *[]TagsProperty
- Type: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.datasource.RosInstances.TagsProperty
Property tags: Tags of instance.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the virtual private cloud (VPC).
VSwitchId
Optional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The ID of the vSwitch.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: The zone ID of the instance.