Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
chengxiangdong committed Jan 20, 2025
2 parents 2803e7e + 1a3f2b3 commit 8b398a6
Show file tree
Hide file tree
Showing 54 changed files with 6,485 additions and 176 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/as_configurations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: "Auto Scaling"
subcategory: "Auto Scaling (AS)"
---

# hcs_as_configurations
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/as_groups.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: "Auto Scaling"
subcategory: "Auto Scaling (AS)"
---

# hcs_as_groups
Expand Down
24 changes: 24 additions & 0 deletions docs/data-sources/gaussdb_opengauss_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ subcategory: "GaussDB"

Use this data source to get available HuaweiCloudStack gaussdb opengauss instance.

-> **NOTE:** If the endpoint is manually configured, **opengaussv31** should be configured.

## Example Usage

```hcl
Expand Down Expand Up @@ -80,29 +82,51 @@ In addition to all arguments above, the following attributes are exported:
The `volume` block supports:

* `type` - Indicates the volume type.

* `size` - Indicates the volume size.

<a name="opengauss_datastore"></a>
The `datastore` block supports:

* `engine` - Indicates the database engine.

* `version` - Indicates the database version.

<a name="opengauss_backup_strategy"></a>
The `backup_strategy` block supports:

* `start_time` - Indicates the backup time window.

* `keep_days` - Indicates the number of days to retain the generated

<a name="opengauss_nodes"></a>
The `nodes` block contains:

* `id` - Indicates the node ID.

* `name` - Indicates the node name.

* `status` - Indicates the node status.

* `role` - Indicates whether the node support reduce.

* `availability_zone` - Indicates the availability zone where the node resides.

* `private_ip` - Indicates the internal IP address of the node. This parameter is valid only for CN nodes in the
distributed edition. This parameter is valid for all nodes in the centralized edition.
The parameter value exists after the ECS is created.

* `public_ip` - Indicates the bound external IP address of the node. This parameter is valid only for CN nodes in the
distributed edition. This parameter is valid for all nodes in the centralized edition.
The parameter value exists after the ECS is created and bound to an EIP.

* `data_ip` - Indicates the data ip of the node.

* `bms_hs_ip` - IP address of the high-speed NIC, which is a dedicated IP field of the BMS instance and is used for
data synchronization.

* `management_ip` - Indicates the management ip of the node.

<a name="opengauss_ha"></a>
The `ha` block supports:

Expand Down
24 changes: 24 additions & 0 deletions docs/data-sources/gaussdb_opengauss_instances.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ subcategory: "GaussDB"

Use this data source to get available HuaweiCloudStack gaussdb opengauss instances.

-> **NOTE:** If the endpoint is manually configured, **opengaussv31** should be configured.

## Example Usage

```hcl
Expand Down Expand Up @@ -96,29 +98,51 @@ The `instances` block supports:
The `volume` block supports:

* `type` - Indicates the volume type.

* `size` - Indicates the volume size.

<a name="opengauss_datastore"></a>
The `datastore` block supports:

* `engine` - Indicates the database engine.

* `version` - Indicates the database version.

<a name="opengauss_backup_strategy"></a>
The `backup_strategy` block supports:

* `start_time` - Indicates the backup time window.

* `keep_days` - Indicates the number of days to retain the generated

<a name="opengauss_nodes"></a>
The `nodes` block contains:

* `id` - Indicates the node ID.

* `name` - Indicates the node name.

* `status` - Indicates the node status.

* `role` - Indicates whether the node support reduce.

* `availability_zone` - Indicates the availability zone where the node resides.

* `private_ip` - Indicates the internal IP address of the node. This parameter is valid only for CN nodes in the
distributed edition. This parameter is valid for all nodes in the centralized edition.
The parameter value exists after the ECS is created.

* `public_ip` - Indicates the bound external IP address of the node. This parameter is valid only for CN nodes in the
distributed edition. This parameter is valid for all nodes in the centralized edition.
The parameter value exists after the ECS is created and bound to an EIP.

* `data_ip` - Indicates the data ip of the node.

* `bms_hs_ip` - IP address of the high-speed NIC, which is a dedicated IP field of the BMS instance and is used for
data synchronization.

* `management_ip` - Indicates the management ip of the node.

<a name="opengauss_ha"></a>
The `ha` block supports:

Expand Down
79 changes: 79 additions & 0 deletions docs/data-sources/sfs_turbos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
subcategory: "SFS Turbo"
layout: "huaweicloudstack"
page_title: "HuaweiCloudStack: hcs_sfs_turbos"
description: ""
---

# hcs_sfs_turbos

Use this data source to get the list of the available SFS turbos.

## Example Usage

```hcl
variable "sfs_turbo_name" {}
data "hcs_sfs_turbos" "test" {
name = var.sfs_turbo_name
}
```

## Argument Reference

The following arguments are supported:

* `region` - (Optional, String) Specifies the region in which to obtain the SFS turbo file systems.
If omitted, the provider-level region will be used.

* `name` - (Optional, String) Specifies the name of the SFS turbo file system.

* `size` - (Optional, Int) Specifies the capacity of the SFS turbo file system, in GB.

* `share_proto` - (Optional, String) Specifies the protocol of the SFS turbo file system. The valid value is **NFS**.

* `share_type` - (Optional, String) Specifies the type of the SFS turbo file system.
Valid values are **sfsturbo.ssd** or **sfsturbo.hdd**.

* `enterprise_project_id` - (Optional, String) The enterprise project ID of the SFS turbo file system.

## Attribute Reference

In addition to all arguments above, the following attributes are exported:

* `id` - The data source ID.

* `turbos` - The list of the SFS turbo file systems. The [object](#turbo) structure is documented below.

<a name="turbo"></a>
The `turbos` block supports:

* `id` - The data source ID of the SFS turbo file system.

* `name` - The name of the SFS turbo file system.

* `size` - The capacity of the SFS turbo file system.

* `share_proto` - The protocol of the SFS turbo file system.

* `share_type` - The type of the SFS turbo file system.

* `enterprise_project_id` - The enterprise project ID of the SFS turbo file system.

* `version` - The version of the SFS turbo file system.

* `enhanced` - Whether the SFS turbo file system is enhanced.

* `availability_zone` - The availability zone where the SFS turbo file system is located.

* `available_capacity` - The available capacity of the SFS turbo file system, in GB.

* `export_location` - The mount point of the SFS turbo file system.

* `crypt_key_id` - The ID of a KMS key to encrypt the SFS turbo file system.

* `vpc_id` - The ID of the VPC to which the SFS turbo belongs.

* `subnet_id` - The **network ID** of the subnet to which the SFS turbo belongs.

* `security_group_id` - The ID of the security group to which the SFS turbo belongs.
Loading

0 comments on commit 8b398a6

Please sign in to comment.