diff --git a/docs/json/data-sources/ccm_certificates.json b/docs/json/data-sources/ccm_certificates.json new file mode 100644 index 0000000000..e0772b1591 --- /dev/null +++ b/docs/json/data-sources/ccm_certificates.json @@ -0,0 +1,72 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ccm_certificates": { + "block": { + "attributes": { + "certificates": { + "type": [ + "list", + [ + "object", + { + "brand": "string", + "deploy_support": "bool", + "description": "string", + "domain": "string", + "domain_count": "number", + "domain_type": "string", + "enterprise_project_id": "string", + "expire_time": "string", + "id": "string", + "name": "string", + "sans": "string", + "signature_algorithm": "string", + "status": "string", + "type": "string", + "validity_period": "number", + "wildcard_count": "number" + } + ] + ], + "computed": true + }, + "deploy_support": { + "type": "bool", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "optional": true + } + } + }, + "product": { + "short": "CCM", + "name": "Cloud Certificate Manager Service", + "catalog": "Security & Compliance", + "name_cn": "云证书管理服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dws_quotas.json b/docs/json/data-sources/dws_quotas.json new file mode 100644 index 0000000000..06ff7666f8 --- /dev/null +++ b/docs/json/data-sources/dws_quotas.json @@ -0,0 +1,46 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dws_quotas": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "quotas": { + "type": [ + "list", + [ + "object", + { + "limit": "number", + "type": "string", + "unit": "string", + "used": "number" + } + ] + ], + "description": "All quotas that match the filter parameters.", + "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": "DWS", + "name": "Data Warehouse Service", + "catalog": "Analytics", + "name_cn": "数据仓库服务", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/evs_availability_zones.json b/docs/json/data-sources/evs_availability_zones.json new file mode 100644 index 0000000000..687796b213 --- /dev/null +++ b/docs/json/data-sources/evs_availability_zones.json @@ -0,0 +1,44 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_evs_availability_zones": { + "block": { + "attributes": { + "availability_zones": { + "type": [ + "list", + [ + "object", + { + "is_available": "bool", + "name": "string" + } + ] + ], + "description": "The list of availability zones.", + "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": "EVS", + "name": "Elastic Volume Service", + "catalog": "Storage", + "name_cn": "云硬盘", + "catalog_cn": "存储" + } + } + } + } + } +} diff --git a/docs/json/data-sources/evs_volume_types.json b/docs/json/data-sources/evs_volume_types.json new file mode 100644 index 0000000000..4703234a18 --- /dev/null +++ b/docs/json/data-sources/evs_volume_types.json @@ -0,0 +1,55 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_evs_volume_types": { + "block": { + "attributes": { + "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 + }, + "types": { + "type": [ + "list", + [ + "object", + { + "description": "string", + "extra_specs": [ + "list", + [ + "object", + { + "available_availability_zones": "string", + "sold_out_availability_zones": "string" + } + ] + ], + "id": "string", + "name": "string" + } + ] + ], + "description": "The list of volume types.", + "computed": true + } + } + }, + "product": { + "short": "EVS", + "name": "Elastic Volume Service", + "catalog": "Storage", + "name_cn": "云硬盘", + "catalog_cn": "存储" + } + } + } + } + } +} diff --git a/docs/json/data-sources/scm_certificates.json b/docs/json/data-sources/scm_certificates.json index f89327ef51..f0da9d5cda 100644 --- a/docs/json/data-sources/scm_certificates.json +++ b/docs/json/data-sources/scm_certificates.json @@ -30,17 +30,14 @@ } ] ], - "description": "Certificate list. For details, see Data structure of the Certificate field.", "computed": true }, "deploy_support": { "type": "bool", - "description": "Whether to support deployment.", "optional": true }, "enterprise_project_id": { "type": "string", - "description": "The enterprise project id of the project.", "optional": true }, "id": { @@ -49,7 +46,6 @@ }, "name": { "type": "string", - "description": "Certificate name.", "optional": true }, "region": { @@ -58,7 +54,6 @@ }, "status": { "type": "string", - "description": "Certificate status.", "optional": true } } diff --git a/docs/json/data-sources/sfs_turbo_data_tasks.json b/docs/json/data-sources/sfs_turbo_data_tasks.json new file mode 100644 index 0000000000..65c8db29e7 --- /dev/null +++ b/docs/json/data-sources/sfs_turbo_data_tasks.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_sfs_turbo_data_tasks": { + "block": { + "attributes": { + "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 + }, + "share_id": { + "type": "string", + "description": "Specifies the ID of the SFS Turbo file system to which the data tasks belong.", + "required": true + }, + "status": { + "type": "string", + "description": "Specifies the status of the data task.", + "optional": true + }, + "tasks": { + "type": [ + "list", + [ + "object", + { + "dest_prefix": "string", + "dest_target": "string", + "end_time": "string", + "id": "string", + "message": "string", + "src_prefix": "string", + "src_target": "string", + "start_time": "string", + "status": "string", + "type": "string" + } + ] + ], + "description": "The list of the data task.", + "computed": true + }, + "type": { + "type": "string", + "description": "Specifies the type of the data task.", + "optional": true + } + } + }, + "product": { + "short": "SFS", + "name": "Scalable File Service(General Purpose File System)", + "catalog": "Storage", + "name_cn": "弹性文件服务(通用文件系统)", + "catalog_cn": "存储" + } + } + } + } + } +} diff --git a/docs/json/resources/cce_node_pool_nodes_add.json b/docs/json/resources/cce_node_pool_nodes_add.json new file mode 100644 index 0000000000..cdfde48317 --- /dev/null +++ b/docs/json/resources/cce_node_pool_nodes_add.json @@ -0,0 +1,51 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_cce_node_pool_nodes_add": { + "block": { + "attributes": { + "cluster_id": { + "type": "string", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "nodepool_id": { + "type": "string", + "required": true + }, + "region": { + "type": "string", + "computed": true + } + }, + "block_types": { + "node_list": { + "block": { + "attributes": { + "server_id": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "list", + "min_items": 1 + } + } + }, + "product": { + "short": "CCE", + "name": "Cloud Container Engine", + "catalog": "Containers", + "name_cn": "云容器引擎", + "catalog_cn": "容器" + } + } + } + } + } +} diff --git a/docs/json/resources/ccm_certificate_import.json b/docs/json/resources/ccm_certificate_import.json new file mode 100644 index 0000000000..b770ce8132 --- /dev/null +++ b/docs/json/resources/ccm_certificate_import.json @@ -0,0 +1,108 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ccm_certificate_import": { + "block": { + "attributes": { + "authentifications": { + "type": [ + "list", + [ + "object", + { + "domain": "string", + "record_name": "string", + "record_type": "string", + "record_value": "string" + } + ] + ], + "computed": true + }, + "certificate": { + "type": "string", + "required": true, + "forcenew": true + }, + "certificate_chain": { + "type": "string", + "optional": true, + "forcenew": true + }, + "domain": { + "type": "string", + "computed": true + }, + "domain_count": { + "type": "number", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true, + "forcenew": true + }, + "not_after": { + "type": "string", + "computed": true + }, + "not_before": { + "type": "string", + "computed": true + }, + "private_key": { + "type": "string", + "required": true, + "forcenew": true + }, + "push_support": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + } + }, + "block_types": { + "target": { + "block": { + "attributes": { + "project": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "service": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "list" + } + } + }, + "product": { + "short": "CCM", + "name": "Cloud Certificate Manager Service", + "catalog": "Security & Compliance", + "name_cn": "云证书管理服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/dds_backup.json b/docs/json/resources/dds_backup.json index 8601771751..630cbc670e 100644 --- a/docs/json/resources/dds_backup.json +++ b/docs/json/resources/dds_backup.json @@ -7,7 +7,7 @@ "attributes": { "begin_time": { "type": "string", - "description": "Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss.\nThe value is in UTC format.", + "description": "Indicates the start time of the backup.", "computed": true }, "datastore": { @@ -26,14 +26,14 @@ }, "description": { "type": "string", - "description": "Specifies the manual backup description", + "description": "Specifies the manual backup description.", "optional": true, "computed": true, "forcenew": true }, "end_time": { "type": "string", - "description": "Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss.\nThe value is in UTC format.", + "description": "Indicates the end time of the backup.", "computed": true }, "id": { diff --git a/docs/json/resources/gaussdb_mysql_proxy.json b/docs/json/resources/gaussdb_mysql_proxy.json index 343fa93503..abde6fc400 100644 --- a/docs/json/resources/gaussdb_mysql_proxy.json +++ b/docs/json/resources/gaussdb_mysql_proxy.json @@ -11,8 +11,7 @@ }, "flavor": { "type": "string", - "required": true, - "forcenew": true + "required": true }, "id": { "type": "string", @@ -23,17 +22,118 @@ "required": true, "forcenew": true }, + "new_node_auto_add_status": { + "type": "string", + "optional": true, + "computed": true + }, + "new_node_weight": { + "type": "number", + "optional": true + }, "node_num": { "type": "number", "required": true }, + "nodes": { + "type": [ + "list", + [ + "object", + { + "az_code": "string", + "frozen_flag": "number", + "id": "string", + "name": "string", + "role": "string", + "status": "string" + } + ] + ], + "computed": true + }, "port": { "type": "number", + "optional": true, + "computed": true + }, + "proxy_mode": { + "type": "string", + "optional": true, + "forcenew": true + }, + "proxy_name": { + "type": "string", + "optional": true, "computed": true }, "region": { "type": "string", "computed": true + }, + "route_mode": { + "type": "number", + "optional": true, + "computed": true, + "forcenew": true + }, + "subnet_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + } + }, + "block_types": { + "master_node_weight": { + "block": { + "attributes": { + "id": { + "type": "string", + "required": true + }, + "weight": { + "type": "number", + "required": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "parameters": { + "block": { + "attributes": { + "elem_type": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "value": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "set" + }, + "readonly_nodes_weight": { + "block": { + "attributes": { + "id": { + "type": "string", + "required": true + }, + "weight": { + "type": "number", + "required": true + } + } + }, + "nesting_mode": "set" } } }, diff --git a/docs/json/resources/lts_log_converge.json b/docs/json/resources/lts_log_converge.json index 0527b39d81..086e51cd7e 100644 --- a/docs/json/resources/lts_log_converge.json +++ b/docs/json/resources/lts_log_converge.json @@ -20,6 +20,12 @@ "required": true, "forcenew": true }, + "management_project_id": { + "type": "string", + "description": "The administrator project ID that required for first-time use.", + "optional": true, + "computed": true + }, "member_account_id": { "type": "string", "description": "The member account ID to which the converged logs belong.", diff --git a/docs/json/resources/sfs_turbo_data_task.json b/docs/json/resources/sfs_turbo_data_task.json new file mode 100644 index 0000000000..ed3e8297d5 --- /dev/null +++ b/docs/json/resources/sfs_turbo_data_task.json @@ -0,0 +1,75 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_sfs_turbo_data_task": { + "block": { + "attributes": { + "dest_prefix": { + "type": "string", + "optional": true, + "forcenew": true + }, + "dest_target": { + "type": "string", + "required": true, + "forcenew": true + }, + "end_time": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "message": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "share_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "src_prefix": { + "type": "string", + "optional": true, + "forcenew": true + }, + "src_target": { + "type": "string", + "required": true, + "forcenew": true + }, + "start_time": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "type": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "SFS", + "name": "Scalable File Service(General Purpose File System)", + "catalog": "Storage", + "name_cn": "弹性文件服务(通用文件系统)", + "catalog_cn": "存储" + } + } + } + } + } +} diff --git a/docs/json/resources/smn_subscription_filter_policy.json b/docs/json/resources/smn_subscription_filter_policy.json new file mode 100644 index 0000000000..6b8b226fd0 --- /dev/null +++ b/docs/json/resources/smn_subscription_filter_policy.json @@ -0,0 +1,58 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_smn_subscription_filter_policy": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "subscription_urn": { + "type": "string", + "description": "Specifies the resource identifier of the subscriber.", + "required": true + } + }, + "block_types": { + "filter_policies": { + "block": { + "attributes": { + "name": { + "type": "string", + "description": "Specifies the filter policy name. The policy name must be unique.", + "required": true + }, + "string_equals": { + "type": [ + "set", + "string" + ], + "description": "Specifies the string array for exact match.", + "required": true + } + }, + "description": "Specifies the message filter policies of a subscriber." + }, + "nesting_mode": "set", + "min_items": 1 + } + } + }, + "product": { + "short": "SMN", + "name": "Simple Message Notification", + "catalog": "Management & Governance", + "name_cn": "消息通知服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +}