Skip to content

Commit

Permalink
Add Shared Bandwidth V2 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo committed Sep 9, 2019
1 parent b3252ba commit 22834f6
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
52 changes: 52 additions & 0 deletions website/docs/r/vpc_bandwidth_v2.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
layout: "huaweicloud"
page_title: "HuaweiCloud: huaweicloud_vpc_bandwidth_v2"
sidebar_current: "docs-huaweicloud-resource-vpc-bandwidth-v2"
description: |-
Manages a V2 Shared Bandwidth resource within HuaweiCloud.
---

# huaweicloud_vpc_bandwidth_v2

Manages a Shared Bandwidth resource within HuaweiCloud.

## Example Usage

```hcl
resource "huaweicloud_vpc_bandwidth_v2" "bandwidth_1" {
name = "bandwidth_1"
size = 5
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The name of the Shared Bandwidth.

* `size` - (Required) The size of the Shared Bandwidth. The value ranges from 5 to 2000 G.

* `enterprise_project_id` - (Optional) The enterprise project id of the Shared Bandwidth. Changing this creates a new bandwidth.


## Attributes Reference

The following attributes are exported:

* `id` - ID of the Shared Bandwidth.

* `name` - See Argument Reference above.

* `size` - See Argument Reference above.

* `enterprise_project_id` - See Argument Reference above.

## Import

Shared Bandwidths can be imported using the `id`, e.g.

```
$ terraform import huaweicloud_vpc_bandwidth_v2.bandwidth_1 7117d38e-4c8f-4624-a505-bd96b97d024c
```
3 changes: 3 additions & 0 deletions website/huaweicloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,9 @@
<li<%= sidebar_current("docs-huaweicloud-resource-networking-secgroup-rule-v2") %>>
<a href="/docs/providers/huaweicloud/r/networking_secgroup_rule_v2.html">huaweicloud_networking_secgroup_rule_v2</a>
</li>
<li<%= sidebar_current("docs-huaweicloud-resource-vpc-bandwidth-v2") %>>
<a href="/docs/providers/huaweicloud/r/vpc_bandwidth_v2.html">huaweicloud_vpc_bandwidth_v2</a>
</li>
<li<%= sidebar_current("docs-huaweicloud-resource-vpc-eip-v1") %>>
<a href="/docs/providers/huaweicloud/r/vpc_eip_v1.html">huaweicloud_vpc_eip_v1</a>
</li>
Expand Down

0 comments on commit 22834f6

Please sign in to comment.