Instance
This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Instance
, which is used to query the information about an Elastic Compute Service (ECS) instance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
datasource.NewInstance(scope Construct, id *string, props InstanceProps, enableResourcePropertyConstraint *bool) Instance
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
InstanceProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Required
- Type: InstanceProps
enableResourcePropertyConstraint
Optional
- Type: *bool
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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
datasource.Instance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
Ref |
*string |
No description. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this resource is defined. |
Resource |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource |
No description. |
AttrActionOnMaintenance |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ActionOnMaintenance: The O&M action attribute of the instance. |
AttrAutoRebootTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AutoRebootTime: Automatic reboot time after instance configuration change. |
AttrAutoReleaseTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance. |
AttrAutoRenewEnabled |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AutoRenewEnabled: Whether automatic renewal has been set. |
AttrClusterId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ClusterId: The ID of the cluster to which the instance belongs. |
AttrCpu |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Cpu: The number of vCPUs. |
AttrCpuOptions |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CpuOptions: Details about the CPU options. |
AttrCreateTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreateTime: The create time. |
AttrCreditSpecification |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreditSpecification: The performance mode of the burstable instance. |
AttrDedicatedHostAttribute |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DedicatedHostAttribute: Details about the dedicated host. |
AttrDedicatedInstanceAttribute |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host. |
AttrDeletionProtection |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeletionProtection: The release protection attribute of the instance. |
AttrDeploymentSetGroupNo |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set. |
AttrDeploymentSetId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed. |
AttrDescription |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Description: The description of the instance. |
AttrDeviceAvailable |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance. |
AttrDuration |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Duration: The duration of automatic renewal. |
AttrEcsCapacityReservationAttr |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance. |
AttrEipAddress |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EipAddress: Details about the EIP associated with the instance. |
AttrExpiredTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ExpiredTime: The time when the instance expires. |
AttrGpuAmount |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute GpuAmount: The number of GPUs for the instance type. |
AttrGpuSpec |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute GpuSpec: The category of GPUs for the instance type. |
AttrHostName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute HostName: The hostname of the instance. |
AttrHpcClusterId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs. |
AttrImageId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ImageId: The ID of the image. |
AttrInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceId: The ID of the instance. |
AttrInstanceName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceName: The name of the instance. |
AttrInstanceNetworkType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceNetworkType: The network type of the instance. |
AttrInstanceType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceType: The instance type of the instance. |
AttrInstanceTypeFamily |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceTypeFamily: The instance family of the instance. |
AttrInternetChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InternetChargeType: The billing method for network usage. |
AttrInternetMaxBandwidthIn |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth. |
AttrInternetMaxBandwidthOut |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth. |
AttrIoOptimized |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IoOptimized: Specifies whether the instance is I/O optimized. |
AttrKeyPairName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute KeyPairName: The name of the SSH key pair bound to the instance. |
AttrLocalStorageAmount |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LocalStorageAmount: The number of local disks attached to the instance. |
AttrLocalStorageCapacity |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance. |
AttrMaintenanceWindows |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MaintenanceWindows: The list of operations window instances. |
AttrMemory |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Memory: The memory size of the instance. |
AttrMetadataOptions |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MetadataOptions: Details about the metadata options. |
AttrNetworkInterfaces |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute NetworkInterfaces: Details about the ENIs bound to the instance. |
AttrNotifyOnMaintenance |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down. |
AttrOperationLocks |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute OperationLocks: The reasons why the instance was locked. |
AttrOsName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute OsName: The name of the operating system of the instance. |
AttrOsNameEn |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute OsNameEn: The English name of the operating system of the instance. |
AttrOsType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute OsType: The type of the operating system of the instance. |
AttrPaymentType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PaymentType: The billing method of the instance. |
AttrPeriodUnit |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PeriodUnit: Renewal unit. |
AttrPrivatePoolOptionsId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PrivatePoolOptionsId: Private pool ID. |
AttrPrivatePoolOptionsMatchCriteria |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance. |
AttrPublicIpAddress |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PublicIpAddress: The public IP addresses of the instance. |
AttrRdmaIpAddress |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance. |
AttrRecyclable |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Recyclable: Indicates whether the instance can be recycled. |
AttrRenewalStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RenewalStatus: The automatic renewal status of the instance. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs. |
AttrSaleCycle |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SaleCycle: Instance billing cycles. |
AttrSecurityGroupIds |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs. |
AttrSerialNumber |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SerialNumber: The serial number of the instance. |
AttrSpotDuration |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SpotDuration: The protection period of the preemptible instance. |
AttrSpotPriceLimit |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SpotPriceLimit: The maximum hourly price of the instance. |
AttrSpotStrategy |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance. |
AttrStartTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute StartTime: The time when the instance was last started. |
AttrStoppedMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped. |
AttrTags |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Tags: The tags of the instance. |
AttrUserData |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute UserData: The custom data of the instance. |
AttrVpcAttributes |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcAttributes: The VPC attributes of the instance. |
AttrZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ZoneId: The zone ID of the instance. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrActionOnMaintenance
Required
func AttrActionOnMaintenance() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ActionOnMaintenance: The O&M action attribute of the instance.
AttrAutoRebootTime
Required
func AttrAutoRebootTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AutoRebootTime: Automatic reboot time after instance configuration change.
AttrAutoReleaseTime
Required
func AttrAutoReleaseTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.
AttrAutoRenewEnabled
Required
func AttrAutoRenewEnabled() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AutoRenewEnabled: Whether automatic renewal has been set.
AttrClusterId
Required
func AttrClusterId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ClusterId: The ID of the cluster to which the instance belongs.
AttrCpu
Required
func AttrCpu() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Cpu: The number of vCPUs.
AttrCpuOptions
Required
func AttrCpuOptions() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CpuOptions: Details about the CPU options.
AttrCreateTime
Required
func AttrCreateTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreateTime: The create time.
AttrCreditSpecification
Required
func AttrCreditSpecification() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreditSpecification: The performance mode of the burstable instance.
AttrDedicatedHostAttribute
Required
func AttrDedicatedHostAttribute() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DedicatedHostAttribute: Details about the dedicated host.
It is an array that consists of the DedicatedHostClusterId, DedicatedHostId, and DedicatedHostName parameters.
AttrDedicatedInstanceAttribute
Required
func AttrDedicatedInstanceAttribute() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.
AttrDeletionProtection
Required
func AttrDeletionProtection() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrDeploymentSetGroupNo() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.
AttrDeploymentSetId
Required
func AttrDeploymentSetId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.
AttrDescription
Required
func AttrDescription() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Description: The description of the instance.
AttrDeviceAvailable
Required
func AttrDeviceAvailable() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.
AttrDuration
Required
func AttrDuration() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Duration: The duration of automatic renewal.
AttrEcsCapacityReservationAttr
Required
func AttrEcsCapacityReservationAttr() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.
AttrEipAddress
Required
func AttrEipAddress() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EipAddress: Details about the EIP associated with the instance.
AttrExpiredTime
Required
func AttrExpiredTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrGpuAmount() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute GpuAmount: The number of GPUs for the instance type.
AttrGpuSpec
Required
func AttrGpuSpec() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute GpuSpec: The category of GPUs for the instance type.
AttrHostName
Required
func AttrHostName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HostName: The hostname of the instance.
AttrHpcClusterId
Required
func AttrHpcClusterId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.
AttrImageId
Required
func AttrImageId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ImageId: The ID of the image.
AttrInstanceId
Required
func AttrInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceId: The ID of the instance.
AttrInstanceName
Required
func AttrInstanceName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceName: The name of the instance.
Fuzzy search with the asterisk (*) wildcard characters is supported.
AttrInstanceNetworkType
Required
func AttrInstanceNetworkType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
AttrInstanceType
Required
func AttrInstanceType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceType: The instance type of the instance.
AttrInstanceTypeFamily
Required
func AttrInstanceTypeFamily() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceTypeFamily: The instance family of the instance.
AttrInternetChargeType
Required
func AttrInternetChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InternetChargeType: The billing method for network usage.
AttrInternetMaxBandwidthIn
Required
func AttrInternetMaxBandwidthIn() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.
Unit: Mbit/s.
AttrInternetMaxBandwidthOut
Required
func AttrInternetMaxBandwidthOut() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.
Unit: Mbit/s.
AttrIoOptimized
Required
func AttrIoOptimized() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute IoOptimized: Specifies whether the instance is I/O optimized.
AttrKeyPairName
Required
func AttrKeyPairName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute KeyPairName: The name of the SSH key pair bound to the instance.
AttrLocalStorageAmount
Required
func AttrLocalStorageAmount() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LocalStorageAmount: The number of local disks attached to the instance.
AttrLocalStorageCapacity
Required
func AttrLocalStorageCapacity() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.
AttrMaintenanceWindows
Required
func AttrMaintenanceWindows() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaintenanceWindows: The list of operations window instances.
AttrMemory
Required
func AttrMemory() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Memory: The memory size of the instance.
Unit: MiB.
AttrMetadataOptions
Required
func AttrMetadataOptions() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MetadataOptions: Details about the metadata options.
AttrNetworkInterfaces
Required
func AttrNetworkInterfaces() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute NetworkInterfaces: Details about the ENIs bound to the instance.
AttrNotifyOnMaintenance
Required
func AttrNotifyOnMaintenance() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.
AttrOperationLocks
Required
func AttrOperationLocks() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute OperationLocks: The reasons why the instance was locked.
AttrOsName
Required
func AttrOsName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute OsName: The name of the operating system of the instance.
AttrOsNameEn
Required
func AttrOsNameEn() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute OsNameEn: The English name of the operating system of the instance.
AttrOsType
Required
func AttrOsType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute OsType: The type of the operating system of the instance.
AttrPaymentType
Required
func AttrPaymentType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PaymentType: The billing method of the instance.
AttrPeriodUnit
Required
func AttrPeriodUnit() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PeriodUnit: Renewal unit.
AttrPrivatePoolOptionsId
Required
func AttrPrivatePoolOptionsId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrPrivatePoolOptionsMatchCriteria() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.
AttrPublicIpAddress
Required
func AttrPublicIpAddress() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PublicIpAddress: The public IP addresses of the instance.
AttrRdmaIpAddress
Required
func AttrRdmaIpAddress() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.
AttrRecyclable
Required
func AttrRecyclable() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Recyclable: Indicates whether the instance can be recycled.
AttrRenewalStatus
Required
func AttrRenewalStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RenewalStatus: The automatic renewal status of the instance.
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrSaleCycle() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SaleCycle: Instance billing cycles.
AttrSecurityGroupIds
Required
func AttrSecurityGroupIds() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.
AttrSerialNumber
Required
func AttrSerialNumber() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SerialNumber: The serial number of the instance.
AttrSpotDuration
Required
func AttrSpotDuration() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SpotDuration: The protection period of the preemptible instance.
Unit: hours.
AttrSpotPriceLimit
Required
func AttrSpotPriceLimit() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrSpotStrategy() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.
AttrStartTime
Required
func AttrStartTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func AttrStoppedMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.
AttrTags
Required
func AttrTags() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Tags: The tags of the instance.
AttrUserData
Required
func AttrUserData() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute UserData: The custom data of the instance.
AttrVpcAttributes
Required
func AttrVpcAttributes() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcAttributes: The VPC attributes of the instance.
AttrZoneId
Required
func AttrZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ZoneId: The zone ID of the instance.