Skip to content

Commit

Permalink
Update schema json files based-on v1.71.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored and github-actions[bot] committed Nov 30, 2024
1 parent e4530ca commit 2eef49f
Show file tree
Hide file tree
Showing 65 changed files with 4,236 additions and 23 deletions.
87 changes: 87 additions & 0 deletions docs/json/data-sources/cdm_job_execution_records.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_cdm_job_execution_records": {
"block": {
"attributes": {
"cluster_id": {
"type": "string",
"description": "Specifies the cluster ID.",
"required": true
},
"id": {
"type": "string",
"computed": true
},
"job_name": {
"type": "string",
"description": "Specifies the job name.",
"required": true
},
"records": {
"type": [
"list",
[
"object",
{
"counters": [
"list",
[
"object",
{
"bytes_read": "number",
"bytes_written": "number",
"file_skipped": "number",
"files_read": "number",
"files_written": "number",
"rows_read": "number",
"rows_written": "number",
"rows_written_skipped": "number",
"total_files": "number",
"total_size": "number"
}
]
],
"creation_date": "string",
"creation_user": "string",
"delete_rows": "number",
"error_details": "string",
"error_summary": "string",
"execute_date": "string",
"external_id": "string",
"is_delete_job": "bool",
"is_execute_auto": "bool",
"is_incrementing": "bool",
"is_stoping_increment": "string",
"last_udpate_user": "string",
"last_update_date": "string",
"progress": "number",
"status": "string",
"submission_id": "number",
"update_rows": "number",
"write_rows": "number"
}
]
],
"description": "Indicates the records.",
"computed": true
},
"region": {
"type": "string",
"computed": true
}
}
},
"product": {
"short": "CDM",
"name": "Cloud Data Migration",
"catalog": "Migration",
"name_cn": "云数据迁移",
"catalog_cn": "迁移"
}
}
}
}
}
}
79 changes: 79 additions & 0 deletions docs/json/data-sources/cph_encode_servers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_cph_encode_servers": {
"block": {
"attributes": {
"encode_servers": {
"type": [
"list",
[
"object",
{
"access_infos": [
"list",
[
"object",
{
"access_port": "number",
"listen_port": "number",
"public_ip": "string",
"server_ip": "string",
"server_ipv6": "string",
"type": "string"
}
]
],
"encode_server_id": "string",
"encode_server_ip": "string",
"encode_server_ipv6": "string",
"encode_server_name": "string",
"keypair_name": "string",
"server_id": "string",
"status": "number",
"type": "number"
}
]
],
"description": "The encode server list.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
},
"server_id": {
"type": "string",
"description": "Specifies the CPH server ID.",
"optional": true
},
"status": {
"type": "string",
"description": "Specifies the encode server status.",
"optional": true
},
"type": {
"type": "string",
"description": "Specifies the encode server type. The valid value can be **0** (server), **1** (container).",
"optional": true
}
}
},
"product": {
"short": "CPH",
"name": "Cloud Phone",
"catalog": "Compute",
"name_cn": "云手机",
"catalog_cn": "计算"
}
}
}
}
}
}
49 changes: 49 additions & 0 deletions docs/json/data-sources/cph_server_bandwidths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_cph_server_bandwidths": {
"block": {
"attributes": {
"bandwidths": {
"type": [
"list",
[
"object",
{
"bandwidth_charge_mode": "number",
"bandwidth_id": "string",
"bandwidth_name": "string",
"bandwidth_size": "number",
"bandwidth_type": "number",
"created_at": "string",
"updated_at": "string"
}
]
],
"description": "The bandwidth list of CPH server.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
}
}
},
"product": {
"short": "CPH",
"name": "Cloud Phone",
"catalog": "Compute",
"name_cn": "云手机",
"catalog_cn": "计算"
}
}
}
}
}
}
77 changes: 77 additions & 0 deletions docs/json/data-sources/css_scan_tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_css_scan_tasks": {
"block": {
"attributes": {
"cluster_id": {
"type": "string",
"description": "Specifies the ID of the CSS cluster.",
"required": true
},
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
},
"scan_tasks": {
"type": [
"list",
[
"object",
{
"created_at": "string",
"description": "string",
"id": "string",
"name": "string",
"smn_fail_reason": "string",
"smn_status": "string",
"status": "number",
"summary": [
"list",
[
"object",
{
"high": "number",
"medium": "number",
"suggestion": "number"
}
]
],
"task_risks": [
"list",
[
"object",
{
"description": "string",
"level": "string",
"risk": "string",
"suggestion": "string"
}
]
]
}
]
],
"description": "The scan tasks.",
"computed": true
}
}
},
"product": {
"short": "CSS",
"name": "Cloud Search Service",
"catalog": "Analytics",
"name_cn": "云搜索服务",
"catalog_cn": "大数据"
}
}
}
}
}
}
78 changes: 78 additions & 0 deletions docs/json/data-sources/css_snapshots.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_css_snapshots": {
"block": {
"attributes": {
"backups": {
"type": [
"list",
[
"object",
{
"backup_expected_start_time": "string",
"backup_keep_day": "number",
"backup_method": "string",
"backup_period": "string",
"backup_type": "string",
"bucket_name": "string",
"cluster_id": "string",
"cluster_name": "string",
"created_at": "string",
"datastore": [
"list",
[
"object",
{
"type": "string",
"version": "string"
}
]
],
"description": "string",
"end_time": "string",
"failed_shards": "number",
"id": "string",
"indices": "string",
"name": "string",
"restore_status": "string",
"start_time": "string",
"status": "string",
"total_shards": "number",
"updated_at": "string",
"version": "string"
}
]
],
"description": "The snapshot list.",
"computed": true
},
"cluster_id": {
"type": "string",
"description": "Specifies the ID of the cluster.",
"required": true
},
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
}
}
},
"product": {
"short": "CSS",
"name": "Cloud Search Service",
"catalog": "Analytics",
"name_cn": "云搜索服务",
"catalog_cn": "大数据"
}
}
}
}
}
}
Loading

0 comments on commit 2eef49f

Please sign in to comment.