Skip to content

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.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


enableResourcePropertyConstraintOptional

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

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

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

xRequired

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

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrActionOnMaintenanceRequired

func AttrActionOnMaintenance() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrAutoRebootTimeRequired

func AttrAutoRebootTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AutoRebootTime: Automatic reboot time after instance configuration change.


AttrAutoReleaseTimeRequired

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.


AttrAutoRenewEnabledRequired

func AttrAutoRenewEnabled() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AutoRenewEnabled: Whether automatic renewal has been set.


AttrClusterIdRequired

func AttrClusterId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrCpuRequired

func AttrCpu() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Cpu: The number of vCPUs.


AttrCpuOptionsRequired

func AttrCpuOptions() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CpuOptions: Details about the CPU options.


AttrCreateTimeRequired

func AttrCreateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CreateTime: The create time.


AttrCreditSpecificationRequired

func AttrCreditSpecification() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CreditSpecification: The performance mode of the burstable instance.


AttrDedicatedHostAttributeRequired

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.


AttrDedicatedInstanceAttributeRequired

func AttrDedicatedInstanceAttribute() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrDeletionProtectionRequired

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.


AttrDeploymentSetGroupNoRequired

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.


AttrDeploymentSetIdRequired

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.


AttrDescriptionRequired

func AttrDescription() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Description: The description of the instance.


AttrDeviceAvailableRequired

func AttrDeviceAvailable() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrDurationRequired

func AttrDuration() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Duration: The duration of automatic renewal.


AttrEcsCapacityReservationAttrRequired

func AttrEcsCapacityReservationAttr() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrEipAddressRequired

func AttrEipAddress() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrExpiredTimeRequired

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.


AttrGpuAmountRequired

func AttrGpuAmount() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrGpuSpecRequired

func AttrGpuSpec() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrHostNameRequired

func AttrHostName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HostName: The hostname of the instance.


AttrHpcClusterIdRequired

func AttrHpcClusterId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrImageIdRequired

func AttrImageId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ImageId: The ID of the image.


AttrInstanceIdRequired

func AttrInstanceId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceId: The ID of the instance.


AttrInstanceNameRequired

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.


AttrInstanceNetworkTypeRequired

func AttrInstanceNetworkType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceNetworkType: The network type of the instance.


AttrInstanceTypeRequired

func AttrInstanceType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceType: The instance type of the instance.


AttrInstanceTypeFamilyRequired

func AttrInstanceTypeFamily() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceTypeFamily: The instance family of the instance.


AttrInternetChargeTypeRequired

func AttrInternetChargeType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InternetChargeType: The billing method for network usage.


AttrInternetMaxBandwidthInRequired

func AttrInternetMaxBandwidthIn() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.

Unit: Mbit/s.


AttrInternetMaxBandwidthOutRequired

func AttrInternetMaxBandwidthOut() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.

Unit: Mbit/s.


AttrIoOptimizedRequired

func AttrIoOptimized() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrKeyPairNameRequired

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.


AttrLocalStorageAmountRequired

func AttrLocalStorageAmount() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrLocalStorageCapacityRequired

func AttrLocalStorageCapacity() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrMaintenanceWindowsRequired

func AttrMaintenanceWindows() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute MaintenanceWindows: The list of operations window instances.


AttrMemoryRequired

func AttrMemory() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Memory: The memory size of the instance.

Unit: MiB.


AttrMetadataOptionsRequired

func AttrMetadataOptions() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute MetadataOptions: Details about the metadata options.


AttrNetworkInterfacesRequired

func AttrNetworkInterfaces() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrNotifyOnMaintenanceRequired

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.


AttrOperationLocksRequired

func AttrOperationLocks() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute OperationLocks: The reasons why the instance was locked.


AttrOsNameRequired

func AttrOsName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrOsNameEnRequired

func AttrOsNameEn() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrOsTypeRequired

func AttrOsType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrPaymentTypeRequired

func AttrPaymentType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PaymentType: The billing method of the instance.


AttrPeriodUnitRequired

func AttrPeriodUnit() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PeriodUnit: Renewal unit.


AttrPrivatePoolOptionsIdRequired

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.


AttrPrivatePoolOptionsMatchCriteriaRequired

func AttrPrivatePoolOptionsMatchCriteria() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrPublicIpAddressRequired

func AttrPublicIpAddress() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PublicIpAddress: The public IP addresses of the instance.


AttrRdmaIpAddressRequired

func AttrRdmaIpAddress() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrRecyclableRequired

func AttrRecyclable() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Recyclable: Indicates whether the instance can be recycled.


AttrRenewalStatusRequired

func AttrRenewalStatus() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute RenewalStatus: The automatic renewal status of the instance.


AttrResourceGroupIdRequired

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.


AttrSaleCycleRequired

func AttrSaleCycle() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SaleCycle: Instance billing cycles.


AttrSecurityGroupIdsRequired

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.


AttrSerialNumberRequired

func AttrSerialNumber() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SerialNumber: The serial number of the instance.


AttrSpotDurationRequired

func AttrSpotDuration() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SpotDuration: The protection period of the preemptible instance.

Unit: hours.


AttrSpotPriceLimitRequired

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.


AttrSpotStrategyRequired

func AttrSpotStrategy() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrStartTimeRequired

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.


AttrStoppedModeRequired

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.


AttrTagsRequired

func AttrTags() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Tags: The tags of the instance.


AttrUserDataRequired

func AttrUserData() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute UserData: The custom data of the instance.


AttrVpcAttributesRequired

func AttrVpcAttributes() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute VpcAttributes: The VPC attributes of the instance.


AttrZoneIdRequired

func AttrZoneId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ZoneId: The zone ID of the instance.