Skip to content

IInstance

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.ecs.datasource.Instance, com.aliyun.ros.cdk.ecs.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.
attrActionOnMaintenance java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ActionOnMaintenance: The O&M action attribute of the instance.
attrAutoRebootTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoRebootTime: Automatic reboot time after instance configuration change.
attrAutoReleaseTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.
attrAutoRenewEnabled java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoRenewEnabled: Whether automatic renewal has been set.
attrClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ClusterId: The ID of the cluster to which the instance belongs.
attrCpu java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Cpu: The number of vCPUs.
attrCpuOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CpuOptions: Details about the CPU options.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The create time.
attrCreditSpecification java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreditSpecification: The performance mode of the burstable instance.
attrDedicatedHostAttribute java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DedicatedHostAttribute: Details about the dedicated host.
attrDedicatedInstanceAttribute java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.
attrDeletionProtection java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeletionProtection: The release protection attribute of the instance.
attrDeploymentSetGroupNo java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.
attrDeploymentSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description of the instance.
attrDeviceAvailable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.
attrDuration java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Duration: The duration of automatic renewal.
attrEcsCapacityReservationAttr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.
attrEipAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EipAddress: Details about the EIP associated with the instance.
attrExpiredTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExpiredTime: The time when the instance expires.
attrGpuAmount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GpuAmount: The number of GPUs for the instance type.
attrGpuSpec java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GpuSpec: The category of GPUs for the instance type.
attrHostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HostName: The hostname of the instance.
attrHpcClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.
attrImageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageId: The ID of the image.
attrInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: The ID of the instance.
attrInstanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceName: The name of the instance.
attrInstanceNetworkType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceNetworkType: The network type of the instance.
attrInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceType: The instance type of the instance.
attrInstanceTypeFamily java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceTypeFamily: The instance family of the instance.
attrInternetChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InternetChargeType: The billing method for network usage.
attrInternetMaxBandwidthIn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.
attrInternetMaxBandwidthOut java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.
attrIoOptimized java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute IoOptimized: Specifies whether the instance is I/O optimized.
attrKeyPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute KeyPairName: The name of the SSH key pair bound to the instance.
attrLocalStorageAmount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LocalStorageAmount: The number of local disks attached to the instance.
attrLocalStorageCapacity java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.
attrMaintenanceWindows java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MaintenanceWindows: The list of operations window instances.
attrMemory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Memory: The memory size of the instance.
attrMetadataOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MetadataOptions: Details about the metadata options.
attrNetworkInterfaces java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NetworkInterfaces: Details about the ENIs bound to the instance.
attrNotifyOnMaintenance java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.
attrOperationLocks java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OperationLocks: The reasons why the instance was locked.
attrOsName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OsName: The name of the operating system of the instance.
attrOsNameEn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OsNameEn: The English name of the operating system of the instance.
attrOsType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OsType: The type of the operating system of the instance.
attrPaymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PaymentType: The billing method of the instance.
attrPeriodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PeriodUnit: Renewal unit.
attrPrivatePoolOptionsId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PrivatePoolOptionsId: Private pool ID.
attrPrivatePoolOptionsMatchCriteria java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.
attrPublicIpAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PublicIpAddress: The public IP addresses of the instance.
attrRdmaIpAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.
attrRecyclable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Recyclable: Indicates whether the instance can be recycled.
attrRenewalStatus java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RenewalStatus: The automatic renewal status of the instance.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
attrSaleCycle java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SaleCycle: Instance billing cycles.
attrSecurityGroupIds java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.
attrSerialNumber java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SerialNumber: The serial number of the instance.
attrSpotDuration java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SpotDuration: The protection period of the preemptible instance.
attrSpotPriceLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SpotPriceLimit: The maximum hourly price of the instance.
attrSpotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.
attrStartTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StartTime: The time when the instance was last started.
attrStoppedMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The tags of the instance.
attrUserData java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute UserData: The custom data of the instance.
attrVpcAttributes java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpcAttributes: The VPC attributes of the instance.
attrZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneId: The zone ID of the instance.
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.


attrActionOnMaintenanceRequired

public java.lang.Object getAttrActionOnMaintenance();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ActionOnMaintenance: The O&M action attribute of the instance.


attrAutoRebootTimeRequired

public java.lang.Object getAttrAutoRebootTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AutoRebootTime: Automatic reboot time after instance configuration change.


attrAutoReleaseTimeRequired

public java.lang.Object getAttrAutoReleaseTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.


attrAutoRenewEnabledRequired

public java.lang.Object getAttrAutoRenewEnabled();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AutoRenewEnabled: Whether automatic renewal has been set.


attrClusterIdRequired

public java.lang.Object getAttrClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ClusterId: The ID of the cluster to which the instance belongs.


attrCpuRequired

public java.lang.Object getAttrCpu();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Cpu: The number of vCPUs.


attrCpuOptionsRequired

public java.lang.Object getAttrCpuOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CpuOptions: Details about the CPU options.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The create time.


attrCreditSpecificationRequired

public java.lang.Object getAttrCreditSpecification();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreditSpecification: The performance mode of the burstable instance.


attrDedicatedHostAttributeRequired

public java.lang.Object getAttrDedicatedHostAttribute();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DedicatedHostAttribute: Details about the dedicated host.

It is an array that consists of the DedicatedHostClusterId, DedicatedHostId, and DedicatedHostName parameters.


attrDedicatedInstanceAttributeRequired

public java.lang.Object getAttrDedicatedInstanceAttribute();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.


attrDeletionProtectionRequired

public java.lang.Object getAttrDeletionProtection();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DeletionProtection: The release protection attribute of the instance.

This parameter indicates whether you can use the ECS console or call the DeleteInstance operation to release the instance.


attrDeploymentSetGroupNoRequired

public java.lang.Object getAttrDeploymentSetGroupNo();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.


attrDeploymentSetIdRequired

public java.lang.Object getAttrDeploymentSetId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the instance.


attrDeviceAvailableRequired

public java.lang.Object getAttrDeviceAvailable();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.


attrDurationRequired

public java.lang.Object getAttrDuration();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Duration: The duration of automatic renewal.


attrEcsCapacityReservationAttrRequired

public java.lang.Object getAttrEcsCapacityReservationAttr();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.


attrEipAddressRequired

public java.lang.Object getAttrEipAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EipAddress: Details about the EIP associated with the instance.


attrExpiredTimeRequired

public java.lang.Object getAttrExpiredTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ExpiredTime: The time when the instance expires.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrGpuAmountRequired

public java.lang.Object getAttrGpuAmount();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute GpuAmount: The number of GPUs for the instance type.


attrGpuSpecRequired

public java.lang.Object getAttrGpuSpec();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute GpuSpec: The category of GPUs for the instance type.


attrHostNameRequired

public java.lang.Object getAttrHostName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute HostName: The hostname of the instance.


attrHpcClusterIdRequired

public java.lang.Object getAttrHpcClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.


attrImageIdRequired

public java.lang.Object getAttrImageId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ImageId: The ID of the image.


attrInstanceIdRequired

public java.lang.Object getAttrInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The ID of the instance.


attrInstanceNameRequired

public java.lang.Object getAttrInstanceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceName: The name of the instance.

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


attrInstanceNetworkTypeRequired

public java.lang.Object getAttrInstanceNetworkType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceNetworkType: The network type of the instance.


attrInstanceTypeRequired

public java.lang.Object getAttrInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceType: The instance type of the instance.


attrInstanceTypeFamilyRequired

public java.lang.Object getAttrInstanceTypeFamily();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceTypeFamily: The instance family of the instance.


attrInternetChargeTypeRequired

public java.lang.Object getAttrInternetChargeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InternetChargeType: The billing method for network usage.


attrInternetMaxBandwidthInRequired

public java.lang.Object getAttrInternetMaxBandwidthIn();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.

Unit: Mbit/s.


attrInternetMaxBandwidthOutRequired

public java.lang.Object getAttrInternetMaxBandwidthOut();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.

Unit: Mbit/s.


attrIoOptimizedRequired

public java.lang.Object getAttrIoOptimized();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute IoOptimized: Specifies whether the instance is I/O optimized.


attrKeyPairNameRequired

public java.lang.Object getAttrKeyPairName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute KeyPairName: The name of the SSH key pair bound to the instance.


attrLocalStorageAmountRequired

public java.lang.Object getAttrLocalStorageAmount();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LocalStorageAmount: The number of local disks attached to the instance.


attrLocalStorageCapacityRequired

public java.lang.Object getAttrLocalStorageCapacity();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.


attrMaintenanceWindowsRequired

public java.lang.Object getAttrMaintenanceWindows();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MaintenanceWindows: The list of operations window instances.


attrMemoryRequired

public java.lang.Object getAttrMemory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Memory: The memory size of the instance.

Unit: MiB.


attrMetadataOptionsRequired

public java.lang.Object getAttrMetadataOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MetadataOptions: Details about the metadata options.


attrNetworkInterfacesRequired

public java.lang.Object getAttrNetworkInterfaces();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute NetworkInterfaces: Details about the ENIs bound to the instance.


attrNotifyOnMaintenanceRequired

public java.lang.Object getAttrNotifyOnMaintenance();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.


attrOperationLocksRequired

public java.lang.Object getAttrOperationLocks();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OperationLocks: The reasons why the instance was locked.


attrOsNameRequired

public java.lang.Object getAttrOsName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OsName: The name of the operating system of the instance.


attrOsNameEnRequired

public java.lang.Object getAttrOsNameEn();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OsNameEn: The English name of the operating system of the instance.


attrOsTypeRequired

public java.lang.Object getAttrOsType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OsType: The type of the operating system of the instance.


attrPaymentTypeRequired

public java.lang.Object getAttrPaymentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PaymentType: The billing method of the instance.


attrPeriodUnitRequired

public java.lang.Object getAttrPeriodUnit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PeriodUnit: Renewal unit.


attrPrivatePoolOptionsIdRequired

public java.lang.Object getAttrPrivatePoolOptionsId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PrivatePoolOptionsId: Private pool ID.

When the return value is open, the private pool ID is the private pool ID assigned when the system automatically matches.


attrPrivatePoolOptionsMatchCriteriaRequired

public java.lang.Object getAttrPrivatePoolOptionsMatchCriteria();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.


attrPublicIpAddressRequired

public java.lang.Object getAttrPublicIpAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PublicIpAddress: The public IP addresses of the instance.


attrRdmaIpAddressRequired

public java.lang.Object getAttrRdmaIpAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.


attrRecyclableRequired

public java.lang.Object getAttrRecyclable();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Recyclable: Indicates whether the instance can be recycled.


attrRenewalStatusRequired

public java.lang.Object getAttrRenewalStatus();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RenewalStatus: The automatic renewal status of the instance.


attrResourceGroupIdRequired

public java.lang.Object getAttrResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute 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.


attrSaleCycleRequired

public java.lang.Object getAttrSaleCycle();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SaleCycle: Instance billing cycles.


attrSecurityGroupIdsRequired

public java.lang.Object getAttrSecurityGroupIds();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.


attrSerialNumberRequired

public java.lang.Object getAttrSerialNumber();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SerialNumber: The serial number of the instance.


attrSpotDurationRequired

public java.lang.Object getAttrSpotDuration();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SpotDuration: The protection period of the preemptible instance.

Unit: hours.


attrSpotPriceLimitRequired

public java.lang.Object getAttrSpotPriceLimit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SpotPriceLimit: The maximum hourly price of the instance.

It can be accurate to three decimal places. This parameter is valid only when the SpotStrategy parameter is set to SpotWithPriceLimit.


attrSpotStrategyRequired

public java.lang.Object getAttrSpotStrategy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.


attrStartTimeRequired

public java.lang.Object getAttrStartTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute StartTime: The time when the instance was last started.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrStoppedModeRequired

public java.lang.Object getAttrStoppedMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.


attrTagsRequired

public java.lang.Object getAttrTags();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The tags of the instance.


attrUserDataRequired

public java.lang.Object getAttrUserData();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute UserData: The custom data of the instance.


attrVpcAttributesRequired

public java.lang.Object getAttrVpcAttributes();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute VpcAttributes: The VPC attributes of the instance.


attrZoneIdRequired

public java.lang.Object getAttrZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ZoneId: The zone ID of the instance.


propsRequired

public InstanceProps getProps();