alicloud_eflo_node
更新时间:2025-04-24 12:53:15
Provides a Eflo Node resource.
Large computing node.
For information about Eflo Node and how to use it, see What is Node.
-> NOTE: Available since v1.246.0.
Example Usage
Basic Usage
# Before executing this example, you need to confirm with the product team whether the resources are sufficient or you will get an error message with "Failure to check order before create instance"
variable "name" {
default = "terraform-example"
}
provider "alicloud" {
region = "cn-hangzhou"
}
data "alicloud_resource_manager_resource_groups" "default" {}
resource "alicloud_eflo_node" "default" {
period = "36"
discount_level = "36"
billing_cycle = "1month"
classify = "gpuserver"
zone = "cn-hangzhou-b"
product_form = "instance"
payment_ratio = "0"
hpn_zone = "B1"
server_arch = "bmserver"
computing_server = "efg1.nvga1n"
stage_num = "36"
renewal_status = "AutoRenewal"
renew_period = "36"
status = "Unused"
}
Argument Reference
The following arguments are supported:
billing_cycle
- (Optional) Billing cycleclassify
- (Optional) Classificationcomputing_server
- (Optional) Node Modeldiscount_level
- (Optional) Offer Informationhpn_zone
- (Optional) Cluster Numberpayment_ratio
- (Optional) Down payment ratioperiod
- (Optional, Int) Prepaid cycle. The unit is Month, please enter an integer multiple of 12 for the annual payment product.product_form
- (Optional) Formrenew_period
- (Optional, Int) Automatic renewal period, in months.
-> NOTE: When setting RenewalStatus
to AutoRenewal
, it must be set.
renewal_status
- (Optional) Automatic renewal status, value:- AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal.
The default ManualRenewal.
resource_group_id
- (Optional, Computed) The ID of the resource groupserver_arch
- (Optional) Architecturestage_num
- (Optional) Number of stagesstatus
- (Optional, Computed) The status of the resourcetags
- (Optional, Map) The tag of the resourcezone
- (Optional) Availability Zone
Attributes Reference
The following attributes are exported:
id
- The ID of the resource supplied above.create_time
- The creation time of the resource
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Node.delete
- (Defaults to 5 mins) Used when delete the Node.update
- (Defaults to 5 mins) Used when update the Node.
Import
Eflo Node can be imported using the id, e.g.
$ terraform import alicloud_eflo_node.example <id>
该文章对您有帮助吗?
- 本页导读 (1)
- Example Usage
- Argument Reference
- Attributes Reference
- Timeouts
- Import