Skip to content

Commit 6a35570

Browse files
authored
docs(modelarts/node_pool_nodes|resource_pool_nodes): modify description of the fields (#7387)
1 parent 867a602 commit 6a35570

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/data-sources/modelartsv2_node_pool_nodes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ The `metadata` block supports:
6464

6565
* `creation_timestamp` - The creation timestamp of the node.
6666

67-
* `labels` - The labels of the node.
67+
* `labels` - The labels of the node, in JSON format.
6868

69-
* `annotations` - The annotation configuration of the node.
69+
* `annotations` - The annotation configuration of the node, in JSON format.
7070

7171
<a name="v2modelarts_node_pool_nodes_spec"></a>
7272
The `spec` block supports:
7373

7474
* `flavor` - The flavor of the node.
7575

76-
* `extend_params` - The extend parameters of the node.
76+
* `extend_params` - The extend parameters of the node, in JSON format.
7777

7878
* `host_network` - The network configuration of the node.
7979
The [host_network](#v2modelarts_node_pool_nodes_spec_host_network) structure is documented below.

docs/data-sources/modelartsv2_resource_pool_nodes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ The `metadata` block supports:
5757

5858
* `creation_timestamp` - The creation timestamp of the node.
5959

60-
* `labels` - The labels of the node.
60+
* `labels` - The labels of the node, in JSON format.
6161

62-
* `annotations` - The annotation configuration of the node.
62+
* `annotations` - The annotation configuration of the node, in JSON format.
6363

6464
<a name="modelartsv2_resource_pool_nodes_spec"></a>
6565
The `spec` block supports:
6666

6767
* `flavor` - The flavor of the node.
6868

69-
* `extend_params` - The extend parameters of the node.
69+
* `extend_params` - The extend parameters of the node, in JSON format.
7070

7171
* `host_network` - The network configuration of the node.
7272
The [host_network](#modelartsv2_resource_pool_nodes_spec_host_network) structure is documented below.

huaweicloud/services/modelarts/data_source_huaweicloud_modelartsv2_node_pool_nodes.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ func dataSourceV2NodePoolNodeMetadataSchema() *schema.Resource {
8888
"labels": {
8989
Type: schema.TypeString,
9090
Computed: true,
91-
Description: `The labels of the node.`,
91+
Description: `The labels of the node, in JSON format.`,
9292
},
9393
"annotations": {
9494
Type: schema.TypeString,
9595
Computed: true,
96-
Description: `The annotation configuration of the node.`,
96+
Description: `The annotation configuration of the node, in JSON format.`,
9797
},
9898
},
9999
}
@@ -110,7 +110,7 @@ func dataSourceV2NodePoolNodeSpecSchema() *schema.Resource {
110110
"extend_params": {
111111
Type: schema.TypeString,
112112
Computed: true,
113-
Description: `The extend parameters of the node.`,
113+
Description: `The extend parameters of the node, in JSON format.`,
114114
},
115115
"host_network": {
116116
Type: schema.TypeList,

huaweicloud/services/modelarts/data_source_huaweicloud_modelartsv2_resource_pool_nodes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func dataSourceV2ResourcePoolNodeSpecSchema() *schema.Resource {
105105
"extend_params": {
106106
Type: schema.TypeString,
107107
Computed: true,
108-
Description: `The extend parameters of the node.`,
108+
Description: `The extend parameters of the node, in JSON format.`,
109109
},
110110
"host_network": {
111111
Type: schema.TypeList,

0 commit comments

Comments
 (0)