InstancesProps
Properties for defining a Instances
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-instances
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new InstancesProps {
object AdditionalAttributes = null,
object EipAddresses = null,
object Filters = null,
object HpcClusterId = null,
object ImageId = null,
object InnerIpAddresses = null,
object InstanceChargeType = null,
object InstanceId = null,
object InstanceIds = null,
object InstanceName = null,
object InstanceNetworkType = null,
object InstanceType = null,
object InstanceTypeFamily = null,
object InternetChargeType = null,
object IoOptimized = null,
object Ipv6Address = null,
object KeyPairName = null,
object PrivateIpAddresses = null,
object PublicIpAddresses = null,
object RdmaIpAddresses = null,
object RefreshOptions = null,
object ResourceGroupId = null,
object SecurityGroupId = null,
object Status = null,
TagsProperty[] Tags = null,
object VpcId = null,
object VSwitchId = null,
object ZoneId = null
};
Properties
Name | Type | Description |
---|---|---|
AdditionalAttributes |
object |
Property additionalAttributes: The value of attribute N. |
EipAddresses |
object |
Property eipAddresses: The elastic IP addresses (EIPs) of instances. |
Filters |
object |
Property filters: Filter value when querying resources. |
HpcClusterId |
object |
Property hpcClusterId: The ID of the High Performance Computing (HPC) cluster to which the instance belongs. |
ImageId |
object |
Property imageId: The ID of the image. |
InnerIpAddresses |
object |
Property innerIpAddresses: The internal IP addresses of instances located in the classic network. |
InstanceChargeType |
object |
Property instanceChargeType: The billing method of the instance. |
InstanceId |
object |
Property instanceId: The IDs of instances. |
InstanceIds |
object |
Property instanceIds: The IDs of instances. |
InstanceName |
object |
Property instanceName: The name of the instance. |
InstanceNetworkType |
object |
Property instanceNetworkType: The network type of the instance. |
InstanceType |
object |
Property instanceType: The instance type of the instance. |
InstanceTypeFamily |
object |
Property instanceTypeFamily: The instance family of the instance. |
InternetChargeType |
object |
Property internetChargeType: The billing method for network usage. |
IoOptimized |
object |
Property ioOptimized: Specifies whether the instance is I\/O optimized. |
Ipv6Address |
object |
Property ipv6Address: IPv6 address N of the elastic network interface (ENI). |
KeyPairName |
object |
Property keyPairName: The name of the SSH key pair bound to the instance. |
PrivateIpAddresses |
object |
Property privateIpAddresses: The private IP addresses of instances located in VPCs. |
PublicIpAddresses |
object |
Property publicIpAddresses: The public IP addresses of instances. |
RdmaIpAddresses |
object |
Property rdmaIpAddresses: The Remote Direct Memory Access (RDMA) IP addresses of HPC instances. |
RefreshOptions |
object |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the instance belongs. |
SecurityGroupId |
object |
Property securityGroupId: The ID of the security group to which the instance belongs. |
Status |
object |
Property status: The state of the instance. |
Tags |
AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosInstances.TagsProperty[] |
Property tags: Tags of instance. |
VpcId |
object |
Property vpcId: The ID of the virtual private cloud (VPC). |
VSwitchId |
object |
Property vSwitchId: The ID of the vSwitch. |
ZoneId |
object |
Property zoneId: The zone ID of the instance. |
AdditionalAttributes
Optional
public object AdditionalAttributes { get; set; }
- Type: object
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
public object EipAddresses { get; set; }
- Type: object
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
public object Filters { get; set; }
- Type: object
Property filters: Filter value when querying resources.
HpcClusterId
Optional
public object HpcClusterId { get; set; }
- Type: object
Property hpcClusterId: The ID of the High Performance Computing (HPC) cluster to which the instance belongs.
ImageId
Optional
public object ImageId { get; set; }
- Type: object
Property imageId: The ID of the image.
InnerIpAddresses
Optional
public object InnerIpAddresses { get; set; }
- Type: object
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
public object InstanceChargeType { get; set; }
- Type: object
Property instanceChargeType: The billing method of the instance.
Valid values: PostPaid: pay-as-you-go PrePaid: subscription
InstanceId
Optional
public object InstanceId { get; set; }
- Type: object
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
public object InstanceIds { get; set; }
- Type: object
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
public object InstanceName { get; set; }
- Type: object
Property instanceName: The name of the instance.
Fuzzy search with the asterisk (*) wildcard is supported.
InstanceNetworkType
Optional
public object InstanceNetworkType { get; set; }
- Type: object
Property instanceNetworkType: The network type of the instance.
Valid values: classic: classic network vpc: VPC
InstanceType
Optional
public object InstanceType { get; set; }
- Type: object
Property instanceType: The instance type of the instance.
InstanceTypeFamily
Optional
public object InstanceTypeFamily { get; set; }
- Type: object
Property instanceTypeFamily: The instance family of the instance.
InternetChargeType
Optional
public object InternetChargeType { get; set; }
- Type: object
Property internetChargeType: The billing method for network usage.
Valid values: PayByBandwidth: pay-by-bandwidth PayByTraffic: pay-by-traffic
IoOptimized
Optional
public object IoOptimized { get; set; }
- Type: object
Property ioOptimized: Specifies whether the instance is I\/O optimized.
Ipv6Address
Optional
public object Ipv6Address { get; set; }
- Type: object
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
public object KeyPairName { get; set; }
- Type: object
Property keyPairName: The name of the SSH key pair bound to the instance.
PrivateIpAddresses
Optional
public object PrivateIpAddresses { get; set; }
- Type: object
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
public object PublicIpAddresses { get; set; }
- Type: object
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
public object RdmaIpAddresses { get; set; }
- Type: object
Property rdmaIpAddresses: The Remote Direct Memory Access (RDMA) IP addresses of HPC instances.
RefreshOptions
Optional
public object RefreshOptions { get; set; }
- Type: object
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
public object ResourceGroupId { get; set; }
- Type: object
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
public object SecurityGroupId { get; set; }
- Type: object
Property securityGroupId: The ID of the security group to which the instance belongs.
Status
Optional
public object Status { get; set; }
- Type: object
Property status: The state of the instance.
Valid values: Pending Running Starting Stopping Stopped
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosInstances.TagsProperty[]
Property tags: Tags of instance.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC).
VSwitchId
Optional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch.
ZoneId
Optional
public object ZoneId { get; set; }
- Type: object
Property zoneId: The zone ID of the instance.