Instance
This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Instance
.
Initializers
import { datasource } from '@alicloud/ros-cdk-ecs'
new datasource.Instance(scope: Construct, id: string, props: InstanceProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
InstanceProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: InstanceProps
enableResourcePropertyConstraint
Optional
- Type: boolean
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 toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-ecs'
datasource.Instance.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrActionOnMaintenance |
@alicloud/ros-cdk-core.IResolvable |
Attribute ActionOnMaintenance: The O&M action attribute of the instance. |
attrAutoRebootTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute AutoRebootTime: Automatic reboot time after instance configuration change. |
attrAutoReleaseTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance. |
attrAutoRenewEnabled |
@alicloud/ros-cdk-core.IResolvable |
Attribute AutoRenewEnabled: Whether automatic renewal has been set. |
attrClusterId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ClusterId: The ID of the cluster to which the instance belongs. |
attrCpu |
@alicloud/ros-cdk-core.IResolvable |
Attribute Cpu: The number of vCPUs. |
attrCpuOptions |
@alicloud/ros-cdk-core.IResolvable |
Attribute CpuOptions: Details about the CPU options. |
attrCreateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: The create time. |
attrCreditSpecification |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreditSpecification: The performance mode of the burstable instance. |
attrDedicatedHostAttribute |
@alicloud/ros-cdk-core.IResolvable |
Attribute DedicatedHostAttribute: Details about the dedicated host. |
attrDedicatedInstanceAttribute |
@alicloud/ros-cdk-core.IResolvable |
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host. |
attrDeletionProtection |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeletionProtection: The release protection attribute of the instance. |
attrDeploymentSetGroupNo |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set. |
attrDeploymentSetId |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed. |
attrDescription |
@alicloud/ros-cdk-core.IResolvable |
Attribute Description: The description of the instance. |
attrDeviceAvailable |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance. |
attrDuration |
@alicloud/ros-cdk-core.IResolvable |
Attribute Duration: The duration of automatic renewal. |
attrEcsCapacityReservationAttr |
@alicloud/ros-cdk-core.IResolvable |
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance. |
attrEipAddress |
@alicloud/ros-cdk-core.IResolvable |
Attribute EipAddress: Details about the EIP associated with the instance. |
attrExpiredTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute ExpiredTime: The time when the instance expires. |
attrGpuAmount |
@alicloud/ros-cdk-core.IResolvable |
Attribute GpuAmount: The number of GPUs for the instance type. |
attrGpuSpec |
@alicloud/ros-cdk-core.IResolvable |
Attribute GpuSpec: The category of GPUs for the instance type. |
attrHostName |
@alicloud/ros-cdk-core.IResolvable |
Attribute HostName: The hostname of the instance. |
attrHpcClusterId |
@alicloud/ros-cdk-core.IResolvable |
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs. |
attrImageId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ImageId: The ID of the image. |
attrInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceId: The ID of the instance. |
attrInstanceName |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceName: The name of the instance. |
attrInstanceNetworkType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceNetworkType: The network type of the instance. |
attrInstanceType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceType: The instance type of the instance. |
attrInstanceTypeFamily |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceTypeFamily: The instance family of the instance. |
attrInternetChargeType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InternetChargeType: The billing method for network usage. |
attrInternetMaxBandwidthIn |
@alicloud/ros-cdk-core.IResolvable |
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth. |
attrInternetMaxBandwidthOut |
@alicloud/ros-cdk-core.IResolvable |
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth. |
attrIoOptimized |
@alicloud/ros-cdk-core.IResolvable |
Attribute IoOptimized: Specifies whether the instance is I/O optimized. |
attrKeyPairName |
@alicloud/ros-cdk-core.IResolvable |
Attribute KeyPairName: The name of the SSH key pair bound to the instance. |
attrLocalStorageAmount |
@alicloud/ros-cdk-core.IResolvable |
Attribute LocalStorageAmount: The number of local disks attached to the instance. |
attrLocalStorageCapacity |
@alicloud/ros-cdk-core.IResolvable |
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance. |
attrMaintenanceWindows |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaintenanceWindows: The list of operations window instances. |
attrMemory |
@alicloud/ros-cdk-core.IResolvable |
Attribute Memory: The memory size of the instance. |
attrMetadataOptions |
@alicloud/ros-cdk-core.IResolvable |
Attribute MetadataOptions: Details about the metadata options. |
attrNetworkInterfaces |
@alicloud/ros-cdk-core.IResolvable |
Attribute NetworkInterfaces: Details about the ENIs bound to the instance. |
attrNotifyOnMaintenance |
@alicloud/ros-cdk-core.IResolvable |
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down. |
attrOperationLocks |
@alicloud/ros-cdk-core.IResolvable |
Attribute OperationLocks: The reasons why the instance was locked. |
attrOsName |
@alicloud/ros-cdk-core.IResolvable |
Attribute OsName: The name of the operating system of the instance. |
attrOsNameEn |
@alicloud/ros-cdk-core.IResolvable |
Attribute OsNameEn: The English name of the operating system of the instance. |
attrOsType |
@alicloud/ros-cdk-core.IResolvable |
Attribute OsType: The type of the operating system of the instance. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: The billing method of the instance. |
attrPeriodUnit |
@alicloud/ros-cdk-core.IResolvable |
Attribute PeriodUnit: Renewal unit. |
attrPrivatePoolOptionsId |
@alicloud/ros-cdk-core.IResolvable |
Attribute PrivatePoolOptionsId: Private pool ID. |
attrPrivatePoolOptionsMatchCriteria |
@alicloud/ros-cdk-core.IResolvable |
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance. |
attrPublicIpAddress |
@alicloud/ros-cdk-core.IResolvable |
Attribute PublicIpAddress: The public IP addresses of the instance. |
attrRdmaIpAddress |
@alicloud/ros-cdk-core.IResolvable |
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance. |
attrRecyclable |
@alicloud/ros-cdk-core.IResolvable |
Attribute Recyclable: Indicates whether the instance can be recycled. |
attrRenewalStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute RenewalStatus: The automatic renewal status of the instance. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs. |
attrSaleCycle |
@alicloud/ros-cdk-core.IResolvable |
Attribute SaleCycle: Instance billing cycles. |
attrSecurityGroupIds |
@alicloud/ros-cdk-core.IResolvable |
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs. |
attrSerialNumber |
@alicloud/ros-cdk-core.IResolvable |
Attribute SerialNumber: The serial number of the instance. |
attrSpotDuration |
@alicloud/ros-cdk-core.IResolvable |
Attribute SpotDuration: The protection period of the preemptible instance. |
attrSpotPriceLimit |
@alicloud/ros-cdk-core.IResolvable |
Attribute SpotPriceLimit: The maximum hourly price of the instance. |
attrSpotStrategy |
@alicloud/ros-cdk-core.IResolvable |
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance. |
attrStartTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute StartTime: The time when the instance was last started. |
attrStoppedMode |
@alicloud/ros-cdk-core.IResolvable |
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped. |
attrTags |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tags: The tags of the instance. |
attrUserData |
@alicloud/ros-cdk-core.IResolvable |
Attribute UserData: The custom data of the instance. |
attrVpcAttributes |
@alicloud/ros-cdk-core.IResolvable |
Attribute VpcAttributes: The VPC attributes of the instance. |
attrZoneId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ZoneId: The zone ID of the instance. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrActionOnMaintenance
Required
public readonly attrActionOnMaintenance: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ActionOnMaintenance: The O&M action attribute of the instance.
attrAutoRebootTime
Required
public readonly attrAutoRebootTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoRebootTime: Automatic reboot time after instance configuration change.
attrAutoReleaseTime
Required
public readonly attrAutoReleaseTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.
attrAutoRenewEnabled
Required
public readonly attrAutoRenewEnabled: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoRenewEnabled: Whether automatic renewal has been set.
attrClusterId
Required
public readonly attrClusterId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ClusterId: The ID of the cluster to which the instance belongs.
attrCpu
Required
public readonly attrCpu: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Cpu: The number of vCPUs.
attrCpuOptions
Required
public readonly attrCpuOptions: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CpuOptions: Details about the CPU options.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The create time.
attrCreditSpecification
Required
public readonly attrCreditSpecification: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreditSpecification: The performance mode of the burstable instance.
attrDedicatedHostAttribute
Required
public readonly attrDedicatedHostAttribute: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostAttribute: Details about the dedicated host.
It is an array that consists of the DedicatedHostClusterId, DedicatedHostId, and DedicatedHostName parameters.
attrDedicatedInstanceAttribute
Required
public readonly attrDedicatedInstanceAttribute: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.
attrDeletionProtection
Required
public readonly attrDeletionProtection: IResolvable;
- Type: @alicloud/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.
attrDeploymentSetGroupNo
Required
public readonly attrDeploymentSetGroupNo: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.
attrDeploymentSetId
Required
public readonly attrDeploymentSetId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.
attrDescription
Required
public readonly attrDescription: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Description: The description of the instance.
attrDeviceAvailable
Required
public readonly attrDeviceAvailable: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.
attrDuration
Required
public readonly attrDuration: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Duration: The duration of automatic renewal.
attrEcsCapacityReservationAttr
Required
public readonly attrEcsCapacityReservationAttr: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.
attrEipAddress
Required
public readonly attrEipAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EipAddress: Details about the EIP associated with the instance.
attrExpiredTime
Required
public readonly attrExpiredTime: IResolvable;
- Type: @alicloud/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.
attrGpuAmount
Required
public readonly attrGpuAmount: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute GpuAmount: The number of GPUs for the instance type.
attrGpuSpec
Required
public readonly attrGpuSpec: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute GpuSpec: The category of GPUs for the instance type.
attrHostName
Required
public readonly attrHostName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostName: The hostname of the instance.
attrHpcClusterId
Required
public readonly attrHpcClusterId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.
attrImageId
Required
public readonly attrImageId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageId: The ID of the image.
attrInstanceId
Required
public readonly attrInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceId: The ID of the instance.
attrInstanceName
Required
public readonly attrInstanceName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceName: The name of the instance.
Fuzzy search with the asterisk (*) wildcard characters is supported.
attrInstanceNetworkType
Required
public readonly attrInstanceNetworkType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
attrInstanceType
Required
public readonly attrInstanceType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceType: The instance type of the instance.
attrInstanceTypeFamily
Required
public readonly attrInstanceTypeFamily: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceTypeFamily: The instance family of the instance.
attrInternetChargeType
Required
public readonly attrInternetChargeType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InternetChargeType: The billing method for network usage.
attrInternetMaxBandwidthIn
Required
public readonly attrInternetMaxBandwidthIn: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.
Unit: Mbit/s.
attrInternetMaxBandwidthOut
Required
public readonly attrInternetMaxBandwidthOut: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.
Unit: Mbit/s.
attrIoOptimized
Required
public readonly attrIoOptimized: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IoOptimized: Specifies whether the instance is I/O optimized.
attrKeyPairName
Required
public readonly attrKeyPairName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute KeyPairName: The name of the SSH key pair bound to the instance.
attrLocalStorageAmount
Required
public readonly attrLocalStorageAmount: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LocalStorageAmount: The number of local disks attached to the instance.
attrLocalStorageCapacity
Required
public readonly attrLocalStorageCapacity: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.
attrMaintenanceWindows
Required
public readonly attrMaintenanceWindows: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MaintenanceWindows: The list of operations window instances.
attrMemory
Required
public readonly attrMemory: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Memory: The memory size of the instance.
Unit: MiB.
attrMetadataOptions
Required
public readonly attrMetadataOptions: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MetadataOptions: Details about the metadata options.
attrNetworkInterfaces
Required
public readonly attrNetworkInterfaces: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute NetworkInterfaces: Details about the ENIs bound to the instance.
attrNotifyOnMaintenance
Required
public readonly attrNotifyOnMaintenance: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.
attrOperationLocks
Required
public readonly attrOperationLocks: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OperationLocks: The reasons why the instance was locked.
attrOsName
Required
public readonly attrOsName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OsName: The name of the operating system of the instance.
attrOsNameEn
Required
public readonly attrOsNameEn: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OsNameEn: The English name of the operating system of the instance.
attrOsType
Required
public readonly attrOsType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OsType: The type of the operating system of the instance.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: The billing method of the instance.
attrPeriodUnit
Required
public readonly attrPeriodUnit: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PeriodUnit: Renewal unit.
attrPrivatePoolOptionsId
Required
public readonly attrPrivatePoolOptionsId: IResolvable;
- Type: @alicloud/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.
attrPrivatePoolOptionsMatchCriteria
Required
public readonly attrPrivatePoolOptionsMatchCriteria: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.
attrPublicIpAddress
Required
public readonly attrPublicIpAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PublicIpAddress: The public IP addresses of the instance.
attrRdmaIpAddress
Required
public readonly attrRdmaIpAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.
attrRecyclable
Required
public readonly attrRecyclable: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Recyclable: Indicates whether the instance can be recycled.
attrRenewalStatus
Required
public readonly attrRenewalStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RenewalStatus: The automatic renewal status of the instance.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/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.
attrSaleCycle
Required
public readonly attrSaleCycle: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SaleCycle: Instance billing cycles.
attrSecurityGroupIds
Required
public readonly attrSecurityGroupIds: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.
attrSerialNumber
Required
public readonly attrSerialNumber: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SerialNumber: The serial number of the instance.
attrSpotDuration
Required
public readonly attrSpotDuration: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SpotDuration: The protection period of the preemptible instance.
Unit: hours.
attrSpotPriceLimit
Required
public readonly attrSpotPriceLimit: IResolvable;
- Type: @alicloud/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.
attrSpotStrategy
Required
public readonly attrSpotStrategy: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.
attrStartTime
Required
public readonly attrStartTime: IResolvable;
- Type: @alicloud/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.
attrStoppedMode
Required
public readonly attrStoppedMode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tags of the instance.
attrUserData
Required
public readonly attrUserData: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute UserData: The custom data of the instance.
attrVpcAttributes
Required
public readonly attrVpcAttributes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VpcAttributes: The VPC attributes of the instance.
attrZoneId
Required
public readonly attrZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ZoneId: The zone ID of the instance.