日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

alicloud_ddosbgp_ip

更新時間:

Provides a Ddos Bgp Ip resource.

For information about Ddos Bgp Ip and how to use it, see What is Ip.

-> NOTE: Available since v1.180.0.

Example Usage

Basic Usage


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

variable "name" {
  default = "tf-example"
}
data "alicloud_resource_manager_resource_groups" "default" {}
resource "alicloud_ddosbgp_instance" "instance" {
  name             = var.name
  base_bandwidth   = 20
  bandwidth        = -1
  ip_count         = 100
  ip_type          = "IPv4"
  normal_bandwidth = 100
  type             = "Enterprise"
}

resource "alicloud_eip_address" "default" {
  address_name = var.name
}

resource "alicloud_ddosbgp_ip" "default" {
  instance_id       = alicloud_ddosbgp_instance.instance.id
  ip                = alicloud_eip_address.default.ip_address
  resource_group_id = data.alicloud_resource_manager_resource_groups.default.groups.0.id
}

Argument Reference

The following arguments are supported:

  • instance_id - (Required, ForceNew) The ID of the native protection enterprise instance to be operated.
  • ip - (Required, ForceNew) The IP address.
  • resource_group_id - (Optional, ForceNew) The ID of the resource group.
  • member_uid - (Optional, ForceNew, Available since v1.225.1) The member account id of the IP address.

Attributes Reference

The following attributes are exported:

  • id - The resource ID of Ip. The value formats as <instance_id>:<ip>.
  • status - The current state of the IP address. Valid Value: normal, hole_begin.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 1 mins) Used when creating the Ddos Bgp Ip.
  • delete - (Defaults to 1 mins) Used when deleting the Ddos Bgp Ip.

Import

Ddos Bgp Ip can be imported using the id, e.g.

$ terraform import alicloud_ddosbgp_ip.example <instance_id>:<ip>