文档

alicloud_ecd_network_package

更新时间:
一键部署

Provides a ECD Network Package resource.

For information about ECD Network Package and how to use it, see What is Network Package.

-> NOTE: Available since v1.142.0.

Example Usage

Basic Usage

provider "alicloud" {
  region = "cn-hangzhou"
}

data "alicloud_ecd_simple_office_sites" "default" {
  status     = "REGISTERED"
  name_regex = "default"
}

resource "alicloud_ecd_network_package" "default" {
  bandwidth      = 10
  office_site_id = data.alicloud_ecd_simple_office_sites.default.ids.0
}

Argument Reference

The following arguments are supported:

  • bandwidth - (Required) The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.
  • internet_charge_type - (Optional, ForceNew) The internet charge type of package.
  • office_site_id - (Required, ForceNew) The ID of office site.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Network Package.
  • status - The status of network package. Valid values: Creating, InUse, Releasing,Released.

Import

ECD Network Package can be imported using the id, e.g.

$ terraform import alicloud_ecd_network_package.example <id>

  • 本页导读 (0)
文档反馈