Skip to content

Instance

This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Instance.

Initializers

import com.aliyun.ros.cdk.ecs.datasource.Instance;
Instance.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: Instance ID.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

instanceIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: Instance ID.


refreshOptionsOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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.

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.ecs.datasource.Instance;
Instance.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

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

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrActionOnMaintenanceRequired

public IResolvable getAttrActionOnMaintenance();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrAutoRebootTimeRequired

public IResolvable getAttrAutoRebootTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute AutoRebootTime: Automatic reboot time after instance configuration change.


attrAutoReleaseTimeRequired

public IResolvable getAttrAutoReleaseTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrAutoRenewEnabledRequired

public IResolvable getAttrAutoRenewEnabled();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute AutoRenewEnabled: Whether automatic renewal has been set.


attrClusterIdRequired

public IResolvable getAttrClusterId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrCpuRequired

public IResolvable getAttrCpu();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Cpu: The number of vCPUs.


attrCpuOptionsRequired

public IResolvable getAttrCpuOptions();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CpuOptions: Details about the CPU options.


attrCreateTimeRequired

public IResolvable getAttrCreateTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The create time.


attrCreditSpecificationRequired

public IResolvable getAttrCreditSpecification();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CreditSpecification: The performance mode of the burstable instance.


attrDedicatedHostAttributeRequired

public IResolvable getAttrDedicatedHostAttribute();
  • Type: 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 IResolvable getAttrDedicatedInstanceAttribute();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrDeletionProtectionRequired

public IResolvable getAttrDeletionProtection();
  • Type: 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 IResolvable getAttrDeploymentSetGroupNo();
  • Type: 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 IResolvable getAttrDeploymentSetId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrDescriptionRequired

public IResolvable getAttrDescription();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the instance.


attrDeviceAvailableRequired

public IResolvable getAttrDeviceAvailable();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrDurationRequired

public IResolvable getAttrDuration();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Duration: The duration of automatic renewal.


attrEcsCapacityReservationAttrRequired

public IResolvable getAttrEcsCapacityReservationAttr();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrEipAddressRequired

public IResolvable getAttrEipAddress();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrExpiredTimeRequired

public IResolvable getAttrExpiredTime();
  • Type: 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 IResolvable getAttrGpuAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrGpuSpecRequired

public IResolvable getAttrGpuSpec();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrHostNameRequired

public IResolvable getAttrHostName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HostName: The hostname of the instance.


attrHpcClusterIdRequired

public IResolvable getAttrHpcClusterId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrImageIdRequired

public IResolvable getAttrImageId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ImageId: The ID of the image.


attrInstanceIdRequired

public IResolvable getAttrInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The ID of the instance.


attrInstanceNameRequired

public IResolvable getAttrInstanceName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceName: The name of the instance.

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


attrInstanceNetworkTypeRequired

public IResolvable getAttrInstanceNetworkType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceNetworkType: The network type of the instance.


attrInstanceTypeRequired

public IResolvable getAttrInstanceType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceType: The instance type of the instance.


attrInstanceTypeFamilyRequired

public IResolvable getAttrInstanceTypeFamily();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceTypeFamily: The instance family of the instance.


attrInternetChargeTypeRequired

public IResolvable getAttrInternetChargeType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InternetChargeType: The billing method for network usage.


attrInternetMaxBandwidthInRequired

public IResolvable getAttrInternetMaxBandwidthIn();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.

Unit: Mbit/s.


attrInternetMaxBandwidthOutRequired

public IResolvable getAttrInternetMaxBandwidthOut();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.

Unit: Mbit/s.


attrIoOptimizedRequired

public IResolvable getAttrIoOptimized();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrKeyPairNameRequired

public IResolvable getAttrKeyPairName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrLocalStorageAmountRequired

public IResolvable getAttrLocalStorageAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrLocalStorageCapacityRequired

public IResolvable getAttrLocalStorageCapacity();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrMaintenanceWindowsRequired

public IResolvable getAttrMaintenanceWindows();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MaintenanceWindows: The list of operations window instances.


attrMemoryRequired

public IResolvable getAttrMemory();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Memory: The memory size of the instance.

Unit: MiB.


attrMetadataOptionsRequired

public IResolvable getAttrMetadataOptions();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MetadataOptions: Details about the metadata options.


attrNetworkInterfacesRequired

public IResolvable getAttrNetworkInterfaces();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrNotifyOnMaintenanceRequired

public IResolvable getAttrNotifyOnMaintenance();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrOperationLocksRequired

public IResolvable getAttrOperationLocks();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute OperationLocks: The reasons why the instance was locked.


attrOsNameRequired

public IResolvable getAttrOsName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrOsNameEnRequired

public IResolvable getAttrOsNameEn();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrOsTypeRequired

public IResolvable getAttrOsType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrPaymentTypeRequired

public IResolvable getAttrPaymentType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PaymentType: The billing method of the instance.


attrPeriodUnitRequired

public IResolvable getAttrPeriodUnit();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PeriodUnit: Renewal unit.


attrPrivatePoolOptionsIdRequired

public IResolvable getAttrPrivatePoolOptionsId();
  • Type: 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 IResolvable getAttrPrivatePoolOptionsMatchCriteria();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrPublicIpAddressRequired

public IResolvable getAttrPublicIpAddress();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PublicIpAddress: The public IP addresses of the instance.


attrRdmaIpAddressRequired

public IResolvable getAttrRdmaIpAddress();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrRecyclableRequired

public IResolvable getAttrRecyclable();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Recyclable: Indicates whether the instance can be recycled.


attrRenewalStatusRequired

public IResolvable getAttrRenewalStatus();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute RenewalStatus: The automatic renewal status of the instance.


attrResourceGroupIdRequired

public IResolvable getAttrResourceGroupId();
  • Type: 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 IResolvable getAttrSaleCycle();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SaleCycle: Instance billing cycles.


attrSecurityGroupIdsRequired

public IResolvable getAttrSecurityGroupIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrSerialNumberRequired

public IResolvable getAttrSerialNumber();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SerialNumber: The serial number of the instance.


attrSpotDurationRequired

public IResolvable getAttrSpotDuration();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SpotDuration: The protection period of the preemptible instance.

Unit: hours.


attrSpotPriceLimitRequired

public IResolvable getAttrSpotPriceLimit();
  • Type: 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 IResolvable getAttrSpotStrategy();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrStartTimeRequired

public IResolvable getAttrStartTime();
  • Type: 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 IResolvable getAttrStoppedMode();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrTagsRequired

public IResolvable getAttrTags();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The tags of the instance.


attrUserDataRequired

public IResolvable getAttrUserData();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute UserData: The custom data of the instance.


attrVpcAttributesRequired

public IResolvable getAttrVpcAttributes();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute VpcAttributes: The VPC attributes of the instance.


attrZoneIdRequired

public IResolvable getAttrZoneId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ZoneId: The zone ID of the instance.