You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"alicloud_ecs_dedicated_host" {
source="./modules/alicloud/r/alicloud_ecs_dedicated_host"# action_on_maintenance - (optional) is a type of stringaction_on_maintenance=null# auto_placement - (optional) is a type of stringauto_placement=null# auto_release_time - (optional) is a type of stringauto_release_time=null# auto_renew - (optional) is a type of boolauto_renew=null# auto_renew_period - (optional) is a type of numberauto_renew_period=null# dedicated_host_name - (optional) is a type of stringdedicated_host_name=null# dedicated_host_type - (required) is a type of stringdedicated_host_type=null# description - (optional) is a type of stringdescription=null# detail_fee - (optional) is a type of booldetail_fee=null# dry_run - (optional) is a type of booldry_run=null# expired_time - (optional) is a type of stringexpired_time=null# payment_type - (optional) is a type of stringpayment_type=null# resource_group_id - (optional) is a type of stringresource_group_id=null# sale_cycle - (optional) is a type of stringsale_cycle=null# tags - (optional) is a type of map of stringtags={}
# zone_id - (optional) is a type of stringzone_id=nullnetwork_attributes=[{
slb_udp_timeout =null
udp_timeout =null
}]
timeouts=[{
create =null
update =null
}]
}
resource"alicloud_ecs_dedicated_host""this" {
# action_on_maintenance - (optional) is a type of stringaction_on_maintenance=var.action_on_maintenance# auto_placement - (optional) is a type of stringauto_placement=var.auto_placement# auto_release_time - (optional) is a type of stringauto_release_time=var.auto_release_time# auto_renew - (optional) is a type of boolauto_renew=var.auto_renew# auto_renew_period - (optional) is a type of numberauto_renew_period=var.auto_renew_period# dedicated_host_name - (optional) is a type of stringdedicated_host_name=var.dedicated_host_name# dedicated_host_type - (required) is a type of stringdedicated_host_type=var.dedicated_host_type# description - (optional) is a type of stringdescription=var.description# detail_fee - (optional) is a type of booldetail_fee=var.detail_fee# dry_run - (optional) is a type of booldry_run=var.dry_run# expired_time - (optional) is a type of stringexpired_time=var.expired_time# payment_type - (optional) is a type of stringpayment_type=var.payment_type# resource_group_id - (optional) is a type of stringresource_group_id=var.resource_group_id# sale_cycle - (optional) is a type of stringsale_cycle=var.sale_cycle# tags - (optional) is a type of map of stringtags=var.tags# zone_id - (optional) is a type of stringzone_id=var.zone_iddynamic"network_attributes" {
for_each=var.network_attributescontent {
# slb_udp_timeout - (optional) is a type of numberslb_udp_timeout=network_attributes.value["slb_udp_timeout"]
# udp_timeout - (optional) is a type of numberudp_timeout=network_attributes.value["udp_timeout"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}