Skip to content

Commit 887b10c

Browse files
niuzhenguogithub-actions[bot]
authored andcommitted
Update schema json files based-on v1.70.0
1 parent 349e431 commit 887b10c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2405
-22
lines changed

docs/json/data-sources/compute_instance.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"map",
124124
"string"
125125
],
126-
"computed": true
126+
"optional": true
127127
},
128128
"user_data": {
129129
"type": "string",

docs/json/data-sources/compute_instances.json

+7
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@
121121
"status": {
122122
"type": "string",
123123
"optional": true
124+
},
125+
"tags": {
126+
"type": [
127+
"map",
128+
"string"
129+
],
130+
"optional": true
124131
}
125132
}
126133
},
+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"provider_schemas": {
3+
"huaweicloud/huaweicloud": {
4+
"data_source_schemas": {
5+
"huaweicloud_cph_phones": {
6+
"block": {
7+
"attributes": {
8+
"id": {
9+
"type": "string",
10+
"computed": true
11+
},
12+
"phone_name": {
13+
"type": "string",
14+
"description": "Specifies the cloud phone name and support fuzzy query.",
15+
"optional": true
16+
},
17+
"phones": {
18+
"type": [
19+
"list",
20+
[
21+
"object",
22+
{
23+
"availability_zone": "string",
24+
"create_time": "string",
25+
"image_id": "string",
26+
"image_version": "string",
27+
"imei": "string",
28+
"metadata": [
29+
"list",
30+
[
31+
"object",
32+
{
33+
"order_id": "string",
34+
"product_id": "string"
35+
}
36+
]
37+
],
38+
"phone_id": "string",
39+
"phone_model_name": "string",
40+
"phone_name": "string",
41+
"server_id": "string",
42+
"status": "number",
43+
"traffic_type": "string",
44+
"type": "number",
45+
"update_time": "string",
46+
"vnc_enable": "string",
47+
"volume_mode": "number"
48+
}
49+
]
50+
],
51+
"description": "The cloud phone list.",
52+
"computed": true
53+
},
54+
"region": {
55+
"type": "string",
56+
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
57+
"computed": true
58+
},
59+
"server_id": {
60+
"type": "string",
61+
"description": "Specifies the cloud phone server ID.",
62+
"optional": true
63+
},
64+
"status": {
65+
"type": "number",
66+
"description": "Specifies the cloud phone status.",
67+
"optional": true
68+
},
69+
"type": {
70+
"type": "string",
71+
"description": "Specifies the cloud phone type.",
72+
"optional": true
73+
}
74+
}
75+
},
76+
"product": {
77+
"short": "CPH",
78+
"name": "Cloud Phone",
79+
"catalog": "Compute",
80+
"name_cn": "云手机",
81+
"catalog_cn": "计算"
82+
}
83+
}
84+
}
85+
}
86+
}
87+
}
+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"provider_schemas": {
3+
"huaweicloud/huaweicloud": {
4+
"data_source_schemas": {
5+
"huaweicloud_cph_servers": {
6+
"block": {
7+
"attributes": {
8+
"create_since": {
9+
"type": "string",
10+
"description": "The creation start time. For example, **2024-10-15 15:04:05**.",
11+
"optional": true
12+
},
13+
"create_until": {
14+
"type": "string",
15+
"description": "The creation end time. For example, **2024-10-15 15:04:05**.",
16+
"optional": true
17+
},
18+
"id": {
19+
"type": "string",
20+
"computed": true
21+
},
22+
"network_version": {
23+
"type": "string",
24+
"description": "Specifies whether the cloud phone server is a custom network identifier.",
25+
"optional": true
26+
},
27+
"phone_flavor": {
28+
"type": "string",
29+
"description": "Specifies the cloud phone flavor name.",
30+
"optional": true
31+
},
32+
"region": {
33+
"type": "string",
34+
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
35+
"computed": true
36+
},
37+
"server_id": {
38+
"type": "string",
39+
"description": "Specifies the cloud phone server ID.",
40+
"optional": true
41+
},
42+
"server_name": {
43+
"type": "string",
44+
"description": "Specifies the cloud phone server name and support fuzzy query.",
45+
"optional": true
46+
},
47+
"servers": {
48+
"type": [
49+
"list",
50+
[
51+
"object",
52+
{
53+
"addresses": [
54+
"list",
55+
[
56+
"object",
57+
{
58+
"public_ip": "string",
59+
"server_ip": "string"
60+
}
61+
]
62+
],
63+
"availability_zone": "string",
64+
"cidr": "string",
65+
"create_time": "string",
66+
"enterprise_project_id": "string",
67+
"keypair_name": "string",
68+
"metadata": [
69+
"list",
70+
[
71+
"object",
72+
{
73+
"order_id": "string",
74+
"product_id": "string"
75+
}
76+
]
77+
],
78+
"network_version": "string",
79+
"phone_flavor": "string",
80+
"resource_project_id": "string",
81+
"server_flavor": "string",
82+
"server_id": "string",
83+
"server_name": "string",
84+
"status": "number",
85+
"subnet_cidr": "string",
86+
"subnet_id": "string",
87+
"update_time": "string",
88+
"vpc_cidr": "string",
89+
"vpc_id": "string"
90+
}
91+
]
92+
],
93+
"description": "The cloud phone server list.",
94+
"computed": true
95+
},
96+
"status": {
97+
"type": "string",
98+
"description": "Specifies the server status.",
99+
"optional": true
100+
}
101+
}
102+
},
103+
"product": {
104+
"short": "CPH",
105+
"name": "Cloud Phone",
106+
"catalog": "Compute",
107+
"name_cn": "云手机",
108+
"catalog_cn": "计算"
109+
}
110+
}
111+
}
112+
}
113+
}
114+
}
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"provider_schemas": {
3+
"huaweicloud/huaweicloud": {
4+
"data_source_schemas": {
5+
"huaweicloud_dds_error_logs": {
6+
"block": {
7+
"attributes": {
8+
"end_time": {
9+
"type": "string",
10+
"description": "Specifies the end time in the **yyyy-mm-ddThh:mm:ssZ** format.",
11+
"required": true
12+
},
13+
"error_logs": {
14+
"type": [
15+
"list",
16+
[
17+
"object",
18+
{
19+
"log_time": "string",
20+
"node_id": "string",
21+
"node_name": "string",
22+
"raw_message": "string",
23+
"severity": "string"
24+
}
25+
]
26+
],
27+
"description": "Indicates the list of the error logs.",
28+
"computed": true
29+
},
30+
"id": {
31+
"type": "string",
32+
"computed": true
33+
},
34+
"instance_id": {
35+
"type": "string",
36+
"description": "Specifies the ID of the instance.",
37+
"required": true
38+
},
39+
"keywords": {
40+
"type": [
41+
"list",
42+
"string"
43+
],
44+
"description": "Specifies the full-text log search based on multiple keywords, indicating that all keywords are matched.",
45+
"optional": true
46+
},
47+
"node_id": {
48+
"type": "string",
49+
"description": "Specifies the node ID.",
50+
"optional": true
51+
},
52+
"region": {
53+
"type": "string",
54+
"description": "Specifies the region in which to query the resource.",
55+
"computed": true
56+
},
57+
"severity": {
58+
"type": "string",
59+
"description": "Specifies the log level.",
60+
"optional": true
61+
},
62+
"start_time": {
63+
"type": "string",
64+
"description": "Specifies the start time in the **yyyy-mm-ddThh:mm:ssZ** format.",
65+
"required": true
66+
}
67+
}
68+
},
69+
"product": {
70+
"short": "DDS",
71+
"name": "Document Database Service",
72+
"catalog": "Databases",
73+
"name_cn": "文档数据库服务",
74+
"catalog_cn": "数据库"
75+
}
76+
}
77+
}
78+
}
79+
}
80+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"provider_schemas": {
3+
"huaweicloud/huaweicloud": {
4+
"data_source_schemas": {
5+
"huaweicloud_dms_kafka_message_diagnosis_tasks": {
6+
"block": {
7+
"attributes": {
8+
"id": {
9+
"type": "string",
10+
"computed": true
11+
},
12+
"instance_id": {
13+
"type": "string",
14+
"description": "Specifies the kafka instance ID.",
15+
"required": true
16+
},
17+
"region": {
18+
"type": "string",
19+
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
20+
"computed": true
21+
},
22+
"report_list": {
23+
"type": [
24+
"list",
25+
[
26+
"object",
27+
{
28+
"accumulated_partitions": "number",
29+
"begin_time": "string",
30+
"end_time": "string",
31+
"group_name": "string",
32+
"report_id": "string",
33+
"status": "string",
34+
"topic_name": "string"
35+
}
36+
]
37+
],
38+
"description": "Indicates the diagnosis reports.",
39+
"computed": true
40+
}
41+
}
42+
},
43+
"product": {
44+
"short": "Kafka",
45+
"name": "Distributed Message Service for Kafka",
46+
"catalog": "Middleware",
47+
"name_cn": "分布式消息服务 Kafka",
48+
"catalog_cn": "应用中间件"
49+
}
50+
}
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)