Skip to content

Commit

Permalink
Move deprecated resources to Deprecated section on docs (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored Aug 21, 2020
1 parent d1d84cf commit 0efbc0c
Show file tree
Hide file tree
Showing 13 changed files with 73 additions and 67 deletions.
2 changes: 1 addition & 1 deletion website/docs/d/compute_availability_zones_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Use this data source to get a list of availability zones from HuaweiCloud

-> **NOTE:** It has been deprecated, use `huaweicloud_availability_zones` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_availability_zones` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/networking_network_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Use this data source to get the ID of an available HuaweiCloud network.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_subnet_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc_subnet` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/networking_subnet_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Use this data source to get the ID of an available HuaweiCloud subnet.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_subnet_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc_subnet` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/s3_bucket_object.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# huaweicloud\_s3\_bucket\_object

-> **NOTE:** It has been deprecated, use `huaweicloud obs` instead.
!> **Warning:** It has been deprecated, use `huaweicloud obs` instead.

The S3 object data source allows access to the metadata and
_optionally_ (see below) content of an object stored inside S3 bucket.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/networking_floatingip_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# huaweicloud\_networking\_floatingip_v2

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_eip_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_eip` instead.

Manages a V2 floating IP resource within HuaweiCloud Neutron (networking)

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/networking_network_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Manages a V2 Neutron network resource within HuaweiCloud.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_subnet_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc_subnet` instead.

## Example Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Manages a V2 router interface resource within HuaweiCloud.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/networking_router_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Manages a V2 router resource within HuaweiCloud.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/networking_subnet_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-

Manages a V2 Neutron subnet resource within HuaweiCloud.

-> **NOTE:** It has been deprecated, use `huaweicloud_vpc_subnet_v1` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_vpc_subnet` instead.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/s3_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# huaweicloud\_s3\_bucket

-> **NOTE:** It has been deprecated, use `huaweicloud_obs_bucket` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_obs_bucket` instead.

Provides a S3 bucket resource.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/s3_bucket_object.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# huaweicloud\_s3\_bucket\_object

-> **NOTE:** It has been deprecated, use `huaweicloud_obs_bucket_object` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_obs_bucket_object` instead.

Provides a S3 bucket object resource.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/s3_bucket_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# huaweicloud\_s3\_bucket\_policy

-> **NOTE:** It has been deprecated, use `huaweicloud obs` instead.
!> **Warning:** It has been deprecated, use `huaweicloud_obs_bucket_policy` instead.

Attaches a policy to an S3 bucket resource.

Expand Down
116 changes: 61 additions & 55 deletions website/huaweicloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -403,14 +403,6 @@
<li>
<a href="#">Elastic Cloud Server (ECS)</a>
<ul class="nav">
<li>
<a href="#">Data Sources</a>
<ul class="nav nav-auto-expand">
<li>
<a href="/docs/providers/huaweicloud/d/compute_availability_zones_v2.html">huaweicloud_compute_availability_zones_v2</a>
</li>
</ul>
</li>
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">
Expand All @@ -432,9 +424,6 @@
<li>
<a href="/docs/providers/huaweicloud/r/compute_volume_attach_v2.html">huaweicloud_compute_volume_attach_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/ecs_instance_v1.html">huaweicloud_ecs_instance_v1</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -507,9 +496,6 @@
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">
<li>
<a href="/docs/providers/huaweicloud/r/blockstorage_volume_v2.html">huaweicloud_blockstorage_volume_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/evs_volume.html">huaweicloud_evs_volume</a>
</li>
Expand Down Expand Up @@ -763,14 +749,6 @@
<li>
<a href="#">Object Storage Service (OBS)</a>
<ul class="nav">
<li>
<a href="#">Data Sources</a>
<ul class="nav nav-auto-expand">
<li>
<a href="/docs/providers/huaweicloud/d/s3_bucket_object.html">huaweicloud_s3_bucket_object</a>
</li>
</ul>
</li>
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">
Expand All @@ -783,15 +761,6 @@
<li>
<a href="/docs/providers/huaweicloud/r/obs_bucket_policy.html">huaweicloud_obs_bucket_policy</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket.html">huaweicloud_s3_bucket</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket_object.html">huaweicloud_s3_bucket_object</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket_policy.html">huaweicloud_s3_object_policy</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -934,12 +903,6 @@
<li>
<a href="/docs/providers/huaweicloud/d/networking_secgroup_v2.html">huaweicloud_networking_secgroup_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/d/networking_subnet_v2.html">huaweicloud_networking_subnet_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/d/networking_network_v2.html">huaweicloud_networking_network_v2</a>
</li>
</ul>
</li>
<li>
Expand Down Expand Up @@ -984,24 +947,6 @@
<li>
<a href="/docs/providers/huaweicloud/r/networking_vip_associate_v2.html">huaweicloud_networking_vip_associate_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_route_v2.html">huaweicloud_networking_router_route_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_v2.html">huaweicloud_networking_router_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_subnet_v2.html">huaweicloud_networking_subnet_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_network_v2.html">huaweicloud_networking_network_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_interface_v2.html">huaweicloud_networking_router_interface_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_floatingip_v2.html">huaweicloud_networking_floatingip_v2</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -1060,6 +1005,67 @@
</li>
</ul>
</li>

<li>
<a href="#">Deprecated Resources</a>
<ul class="nav">
<li>
<a href="#">Data Sources</a>
<ul class="nav nav-auto-expand">
<li>
<a href="/docs/providers/huaweicloud/d/compute_availability_zones_v2.html">huaweicloud_compute_availability_zones_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/d/networking_subnet_v2.html">huaweicloud_networking_subnet_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/d/networking_network_v2.html">huaweicloud_networking_network_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/d/s3_bucket_object.html">huaweicloud_s3_bucket_object</a>
</li>
</ul>
</li>
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">
<li>
<a href="/docs/providers/huaweicloud/r/blockstorage_volume_v2.html">huaweicloud_blockstorage_volume_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/ecs_instance_v1.html">huaweicloud_ecs_instance_v1</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_route_v2.html">huaweicloud_networking_router_route_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_v2.html">huaweicloud_networking_router_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_subnet_v2.html">huaweicloud_networking_subnet_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_network_v2.html">huaweicloud_networking_network_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_router_interface_v2.html">huaweicloud_networking_router_interface_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/networking_floatingip_v2.html">huaweicloud_networking_floatingip_v2</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket.html">huaweicloud_s3_bucket</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket_object.html">huaweicloud_s3_bucket_object</a>
</li>
<li>
<a href="/docs/providers/huaweicloud/r/s3_bucket_policy.html">huaweicloud_s3_object_policy</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
Expand Down

0 comments on commit 0efbc0c

Please sign in to comment.