alicloud_cen_instance
更新时间:
Provides a Cloud Enterprise Network (CEN) Instance resource.
For information about Cloud Enterprise Network (CEN) Instance and how to use it, see What is Instance.
-> NOTE: Available since v1.15.0.
Example Usage
Basic Usage
variable "name" {
default = "terraform-example"
}
resource "alicloud_cen_instance" "default" {
cen_instance_name = var.name
description = var.name
}
Argument Reference
The following arguments are supported:
protection_level
- (Optional, Available since v1.76.0) The level of CIDR block overlapping. Default value:REDUCE
.resource_group_id
- (Optional, Available since v1.232.0) The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.cen_instance_name
- (Optional, Available since v1.98.0) The name of the CEN Instance. The name can be empty or1
to128
characters in length and cannot start withhttp://
orhttps://
.description
- (Optional) The description of the CEN Instance. The description can be empty or1
to256
characters in length and cannot start withhttp://
orhttps://
.tags
- (Optional, Available since v1.80.0) A mapping of tags to assign to the resource.name
- (Optional, Deprecated since v1.98.0) Fieldname
has been deprecated from provider version 1.98.0. New fieldcen_instance_name
instead.
Attributes Reference
The following attributes are exported:
id
- The resource ID in terraform of Instance.status
- The status of the Instance.
Timeouts
-> NOTE: Available since v1.48.0.
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 6 mins) Used when create the Instance.update
- (Defaults to 5 mins) Used when update the Instance.delete
- (Defaults to 10 mins) Used when delete the Instance.
Import
Cloud Enterprise Network (CEN) Instance can be imported using the id, e.g.
$ terraform import alicloud_cen_instance.example <id>
文档内容是否对您有帮助?