diff --git a/docs/json/data-sources/cdm_job_execution_records.json b/docs/json/data-sources/cdm_job_execution_records.json new file mode 100644 index 0000000000..78cfc832de --- /dev/null +++ b/docs/json/data-sources/cdm_job_execution_records.json @@ -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": "迁移" + } + } + } + } + } +} diff --git a/docs/json/data-sources/cph_encode_servers.json b/docs/json/data-sources/cph_encode_servers.json new file mode 100644 index 0000000000..388ceb2b0b --- /dev/null +++ b/docs/json/data-sources/cph_encode_servers.json @@ -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": "计算" + } + } + } + } + } +} diff --git a/docs/json/data-sources/cph_server_bandwidths.json b/docs/json/data-sources/cph_server_bandwidths.json new file mode 100644 index 0000000000..77e2d2f03c --- /dev/null +++ b/docs/json/data-sources/cph_server_bandwidths.json @@ -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": "计算" + } + } + } + } + } +} diff --git a/docs/json/data-sources/css_scan_tasks.json b/docs/json/data-sources/css_scan_tasks.json new file mode 100644 index 0000000000..15507d8168 --- /dev/null +++ b/docs/json/data-sources/css_scan_tasks.json @@ -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": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/css_snapshots.json b/docs/json/data-sources/css_snapshots.json new file mode 100644 index 0000000000..05b85a868b --- /dev/null +++ b/docs/json/data-sources/css_snapshots.json @@ -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": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dbss_rds_databases.json b/docs/json/data-sources/dbss_rds_databases.json new file mode 100644 index 0000000000..cb731ce6dd --- /dev/null +++ b/docs/json/data-sources/dbss_rds_databases.json @@ -0,0 +1,57 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dbss_rds_databases": { + "block": { + "attributes": { + "databases": { + "type": [ + "list", + [ + "object", + { + "enterprise_project_id": "string", + "id": "string", + "instance_name": "string", + "ip": "string", + "is_supported": "bool", + "name": "string", + "port": "string", + "status": "string", + "type": "string", + "version": "string" + } + ] + ], + "description": "The RDS database 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 + }, + "type": { + "type": "string", + "description": "Specifies the RDS database type.", + "required": true + } + } + }, + "product": { + "short": "DBSS", + "name": "Database Security Service", + "catalog": "Security & Compliance", + "name_cn": "数据库安全服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ddm_killing_sessions_audit_logs.json b/docs/json/data-sources/ddm_killing_sessions_audit_logs.json new file mode 100644 index 0000000000..d0e24b083a --- /dev/null +++ b/docs/json/data-sources/ddm_killing_sessions_audit_logs.json @@ -0,0 +1,62 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ddm_killing_sessions_audit_logs": { + "block": { + "attributes": { + "end_time": { + "type": "string", + "description": "Specifies the end time in UTC, accurate to milliseconds.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the DDM instance ID or ID of the associated RDS instance.", + "required": true + }, + "process_audit_logs": { + "type": [ + "list", + [ + "object", + { + "execute_time": "string", + "execute_user_name": "string", + "instance_id": "string", + "instance_name": "string", + "process_id": "string" + } + ] + ], + "description": "Indicates the list of killing sessions audit log.", + "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 + }, + "start_time": { + "type": "string", + "description": "Specifies the start time in UTC, accurate to milliseconds.", + "required": true + } + } + }, + "product": { + "short": "DDM", + "name": "Distributed Database Middleware", + "catalog": "Databases", + "name_cn": "分布式数据库中间件", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ddm_logical_sessions.json b/docs/json/data-sources/ddm_logical_sessions.json new file mode 100644 index 0000000000..572b135df4 --- /dev/null +++ b/docs/json/data-sources/ddm_logical_sessions.json @@ -0,0 +1,60 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ddm_logical_sessions": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the DDM instance ID.", + "required": true + }, + "keyword": { + "type": "string", + "description": "Specifies the keyword filtered by the session result.", + "optional": true + }, + "logical_processes": { + "type": [ + "list", + [ + "object", + { + "command": "string", + "db": "string", + "host": "string", + "id": "string", + "info": "string", + "state": "string", + "time": "string", + "user": "string" + } + ] + ], + "description": "Indicates the logical sessions.", + "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": "DDM", + "name": "Distributed Database Middleware", + "catalog": "Databases", + "name_cn": "分布式数据库中间件", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ddm_physical_sessions.json b/docs/json/data-sources/ddm_physical_sessions.json new file mode 100644 index 0000000000..deded92b76 --- /dev/null +++ b/docs/json/data-sources/ddm_physical_sessions.json @@ -0,0 +1,61 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ddm_physical_sessions": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the ID of the associated RDS instance.", + "required": true + }, + "keyword": { + "type": "string", + "description": "Specifies the Keyword filtered by the sessions result. It can contain a maximum of 255 characters.", + "optional": true + }, + "physical_processes": { + "type": [ + "list", + [ + "object", + { + "command": "string", + "db": "string", + "host": "string", + "id": "number", + "info": "string", + "state": "string", + "time": "number", + "trx_executed_time": "number", + "user": "string" + } + ] + ], + "description": "Indicates the physical session information list.", + "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": "DDM", + "name": "Distributed Database Middleware", + "catalog": "Databases", + "name_cn": "分布式数据库中间件", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dds_quotas.json b/docs/json/data-sources/dds_quotas.json new file mode 100644 index 0000000000..214bfb443f --- /dev/null +++ b/docs/json/data-sources/dds_quotas.json @@ -0,0 +1,46 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dds_quotas": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "quotas": { + "type": [ + "list", + [ + "object", + { + "mode": "string", + "quota": "number", + "type": "string", + "used": "number" + } + ] + ], + "description": "Indicates the quotas information.", + "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": "DDS", + "name": "Document Database Service", + "catalog": "Databases", + "name_cn": "文档数据库服务", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_kafka_background_tasks.json b/docs/json/data-sources/dms_kafka_background_tasks.json new file mode 100644 index 0000000000..0073ae5453 --- /dev/null +++ b/docs/json/data-sources/dms_kafka_background_tasks.json @@ -0,0 +1,65 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_kafka_background_tasks": { + "block": { + "attributes": { + "begin_time": { + "type": "string", + "description": "Specifies the time of task where the query starts. The format is YYYYMMDDHHmmss.", + "optional": true + }, + "end_time": { + "type": "string", + "description": "Specifies the time of task where the query ends. The format is YYYYMMDDHHmmss.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": 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 + }, + "tasks": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "id": "string", + "name": "string", + "params": "string", + "status": "string", + "updated_at": "string", + "user_id": "string", + "user_name": "string" + } + ] + ], + "description": "Indicates the task list.", + "computed": true + } + } + }, + "product": { + "short": "Kafka", + "name": "Distributed Message Service for Kafka", + "catalog": "Middleware", + "name_cn": "分布式消息服务 Kafka", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_kafka_messages.json b/docs/json/data-sources/dms_kafka_messages.json new file mode 100644 index 0000000000..443e2f6502 --- /dev/null +++ b/docs/json/data-sources/dms_kafka_messages.json @@ -0,0 +1,92 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_kafka_messages": { + "block": { + "attributes": { + "download": { + "type": "bool", + "description": "Whether download is required.", + "optional": true + }, + "end_time": { + "type": "string", + "description": "Specifies the end time, a Unix timestamp in millisecond.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "keyword": { + "type": "string", + "description": "Specifies the keyword.", + "optional": true + }, + "message_offset": { + "type": "string", + "description": "Specifies the message offset.", + "optional": true + }, + "messages": { + "type": [ + "list", + [ + "object", + { + "app_id": "string", + "huge_message": "bool", + "key": "string", + "message_id": "string", + "message_offset": "number", + "partition": "number", + "size": "number", + "tag": "string", + "timestamp": "string", + "value": "string" + } + ] + ], + "description": "Indicates the message list.", + "computed": true + }, + "partition": { + "type": "string", + "description": "Specifies the partition.", + "optional": 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 + }, + "start_time": { + "type": "string", + "description": "Specifies the start time, a Unix timestamp in millisecond.", + "optional": true + }, + "topic": { + "type": "string", + "description": "Specifies the topic name.", + "required": true + } + } + }, + "product": { + "short": "Kafka", + "name": "Distributed Message Service for Kafka", + "catalog": "Middleware", + "name_cn": "分布式消息服务 Kafka", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rabbitmq_background_tasks.json b/docs/json/data-sources/dms_rabbitmq_background_tasks.json new file mode 100644 index 0000000000..58416538f2 --- /dev/null +++ b/docs/json/data-sources/dms_rabbitmq_background_tasks.json @@ -0,0 +1,65 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rabbitmq_background_tasks": { + "block": { + "attributes": { + "begin_time": { + "type": "string", + "description": "Specifies the time of task where the query starts. The format is YYYYMMDDHHmmss.", + "optional": true + }, + "end_time": { + "type": "string", + "description": "Specifies the time of task where the query ends. The format is YYYYMMDDHHmmss.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": 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 + }, + "tasks": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "id": "string", + "name": "string", + "params": "string", + "status": "string", + "updated_at": "string", + "user_id": "string", + "user_name": "string" + } + ] + ], + "description": "Indicates the task list.", + "computed": true + } + } + }, + "product": { + "short": "RabbitMQ", + "name": "Distributed Message Service for RabbitMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RabbitMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rocketmq_consumer_group_access_users.json b/docs/json/data-sources/dms_rocketmq_consumer_group_access_users.json new file mode 100644 index 0000000000..943ccddd87 --- /dev/null +++ b/docs/json/data-sources/dms_rocketmq_consumer_group_access_users.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rocketmq_consumer_group_access_users": { + "block": { + "attributes": { + "group": { + "type": "string", + "description": "Specifies the consumer group.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "policies": { + "type": [ + "list", + [ + "object", + { + "access_key": "string", + "admin": "bool", + "perm": "string", + "white_remote_address": "string" + } + ] + ], + "description": "Indicates the user list.", + "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": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rocketmq_consumers.json b/docs/json/data-sources/dms_rocketmq_consumers.json new file mode 100644 index 0000000000..ec1bb1013b --- /dev/null +++ b/docs/json/data-sources/dms_rocketmq_consumers.json @@ -0,0 +1,82 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rocketmq_consumers": { + "block": { + "attributes": { + "clients": { + "type": [ + "list", + [ + "object", + { + "client_address": "string", + "client_id": "string", + "language": "string", + "subscriptions": [ + "list", + [ + "object", + { + "expression": "string", + "topic": "string", + "type": "string" + } + ] + ], + "version": "string" + } + ] + ], + "description": "Indicates the list of consumer subscription details.", + "computed": true + }, + "group": { + "type": "string", + "description": "Specifies the consumer group name.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "is_detail": { + "type": "bool", + "description": "Specifies whether to query the consumer details.", + "optional": true + }, + "online": { + "type": "bool", + "description": "Indicates whether the consumer group is online.", + "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 + }, + "subscription_consistency": { + "type": "bool", + "description": "Indicates whether subscriptions are consistent.", + "computed": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rocketmq_message_traces.json b/docs/json/data-sources/dms_rocketmq_message_traces.json new file mode 100644 index 0000000000..3cfaa866d3 --- /dev/null +++ b/docs/json/data-sources/dms_rocketmq_message_traces.json @@ -0,0 +1,72 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rocketmq_message_traces": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "message_id": { + "type": "string", + "description": "Specifies the message ID.", + "required": 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 + }, + "traces": { + "type": [ + "list", + [ + "object", + { + "body_length": "number", + "client_host": "string", + "consume_status": "number", + "cost_time": "number", + "from_transaction_check": "bool", + "group_name": "string", + "keys": "string", + "message_id": "string", + "message_type": "string", + "offset_message_id": "string", + "request_id": "string", + "retry_times": "number", + "store_host": "string", + "success": "bool", + "tags": "string", + "time": "string", + "topic": "string", + "trace_type": "string", + "transaction_id": "string", + "transaction_state": "string" + } + ] + ], + "description": "Specifies the message trace list.", + "computed": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rocketmq_messages.json b/docs/json/data-sources/dms_rocketmq_messages.json new file mode 100644 index 0000000000..c1732a1874 --- /dev/null +++ b/docs/json/data-sources/dms_rocketmq_messages.json @@ -0,0 +1,93 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rocketmq_messages": { + "block": { + "attributes": { + "end_time": { + "type": "string", + "description": "Specifies the end time, a Unix timestamp in millisecond.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "key": { + "type": "string", + "description": "Specifies the message key.", + "optional": true + }, + "message_id": { + "type": "string", + "description": "Specifies the message ID.", + "optional": true + }, + "messages": { + "type": [ + "list", + [ + "object", + { + "body": "string", + "body_crc": "number", + "born_host": "string", + "born_time": "string", + "message_id": "string", + "property_list": [ + "list", + [ + "object", + { + "name": "string", + "value": "string" + } + ] + ], + "queue_id": "number", + "queue_offset": "number", + "reconsume_times": "number", + "store_host": "string", + "store_size": "number", + "store_time": "string" + } + ] + ], + "description": "Indicates the message list.", + "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 + }, + "start_time": { + "type": "string", + "description": "Specifies the start time, a Unix timestamp in millisecond.", + "optional": true + }, + "topic": { + "type": "string", + "description": "Specifies the topic name.", + "required": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dms_rocketmq_topic_access_users.json b/docs/json/data-sources/dms_rocketmq_topic_access_users.json new file mode 100644 index 0000000000..aee3bcabf7 --- /dev/null +++ b/docs/json/data-sources/dms_rocketmq_topic_access_users.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dms_rocketmq_topic_access_users": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "policies": { + "type": [ + "list", + [ + "object", + { + "access_key": "string", + "admin": "bool", + "perm": "string", + "white_remote_address": "string" + } + ] + ], + "description": "Indicates the user list.", + "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 + }, + "topic": { + "type": "string", + "description": "Specifies the topic name.", + "required": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/iotda_data_backlog_policies.json b/docs/json/data-sources/iotda_data_backlog_policies.json new file mode 100644 index 0000000000..f425408f5a --- /dev/null +++ b/docs/json/data-sources/iotda_data_backlog_policies.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_iotda_data_backlog_policies": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "policies": { + "type": [ + "list", + [ + "object", + { + "backlog_size": "number", + "backlog_time": "number", + "description": "string", + "id": "string", + "name": "string" + } + ] + ], + "computed": true + }, + "policy_name": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IoTDA", + "name": "IoT Device Access", + "catalog": "Internet of Things", + "name_cn": "设备接入", + "catalog_cn": "IoT物联网" + } + } + } + } + } +} diff --git a/docs/json/data-sources/live_domains.json b/docs/json/data-sources/live_domains.json new file mode 100644 index 0000000000..792efb851c --- /dev/null +++ b/docs/json/data-sources/live_domains.json @@ -0,0 +1,64 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_live_domains": { + "block": { + "attributes": { + "domains": { + "type": [ + "list", + [ + "object", + { + "cname": "string", + "created_at": "string", + "enterprise_project_id": "string", + "ingest_domain_name": "string", + "is_ipv6": "bool", + "name": "string", + "region": "string", + "service_area": "string", + "status": "string", + "status_describe": "string", + "type": "string", + "vendor": "string" + } + ] + ], + "description": "The domain name list.", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "description": "Specifies the enterprise project ID.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the domain name.", + "optional": 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": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/data-sources/lts_groups.json b/docs/json/data-sources/lts_groups.json index 59b6411c86..8df389d454 100644 --- a/docs/json/data-sources/lts_groups.json +++ b/docs/json/data-sources/lts_groups.json @@ -12,6 +12,7 @@ "object", { "created_at": "string", + "enterprise_project_id": "string", "id": "string", "name": "string", "tags": [ diff --git a/docs/json/data-sources/organizations_accounts.json b/docs/json/data-sources/organizations_accounts.json index 218b31b4d3..edb73a6046 100644 --- a/docs/json/data-sources/organizations_accounts.json +++ b/docs/json/data-sources/organizations_accounts.json @@ -11,10 +11,12 @@ [ "object", { + "description": "string", "id": "string", "join_method": "string", "joined_at": "string", "name": "string", + "status": "string", "urn": "string" } ] diff --git a/docs/json/data-sources/organizations_resource_instances.json b/docs/json/data-sources/organizations_resource_instances.json new file mode 100644 index 0000000000..a1958f01c0 --- /dev/null +++ b/docs/json/data-sources/organizations_resource_instances.json @@ -0,0 +1,91 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_organizations_resource_instances": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "resource_type": { + "type": "string", + "required": true + }, + "resources": { + "type": [ + "list", + [ + "object", + { + "resource_id": "string", + "resource_name": "string", + "tags": [ + "list", + [ + "object", + { + "key": "string", + "value": "string" + } + ] + ] + } + ] + ], + "computed": true + }, + "without_any_tag": { + "type": "bool", + "optional": true + } + }, + "block_types": { + "matches": { + "block": { + "attributes": { + "key": { + "type": "string", + "required": true + }, + "value": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "list" + }, + "tags": { + "block": { + "attributes": { + "key": { + "type": "string", + "required": true + }, + "values": { + "type": [ + "list", + "string" + ], + "required": true + } + } + }, + "nesting_mode": "list" + } + } + }, + "product": { + "short": "Organizations", + "name": "Organizations", + "catalog": "Management & Governance", + "name_cn": "组织", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/organizations_resource_tags.json b/docs/json/data-sources/organizations_resource_tags.json new file mode 100644 index 0000000000..5da312aa5e --- /dev/null +++ b/docs/json/data-sources/organizations_resource_tags.json @@ -0,0 +1,52 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_organizations_resource_tags": { + "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 + }, + "resource_type": { + "type": "string", + "description": "Specifies the resource type.", + "required": true + }, + "tags": { + "type": [ + "list", + [ + "object", + { + "key": "string", + "values": [ + "list", + "string" + ] + } + ] + ], + "description": "Indicates the list of tags.", + "computed": true + } + } + }, + "product": { + "short": "Organizations", + "name": "Organizations", + "catalog": "Management & Governance", + "name_cn": "组织", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rds_mysql_proxies.json b/docs/json/data-sources/rds_mysql_proxies.json new file mode 100644 index 0000000000..cda919e8ed --- /dev/null +++ b/docs/json/data-sources/rds_mysql_proxies.json @@ -0,0 +1,139 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rds_mysql_proxies": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the ID of RDS MySQL instance.", + "required": true + }, + "max_proxy_node_num": { + "type": "number", + "description": "Indicates the maximum number of proxy nodes that can be selected for a database proxy.", + "computed": true + }, + "max_proxy_num": { + "type": "number", + "description": "Indicates the maximum number of database proxies that can be enabled at the same time.", + "computed": true + }, + "proxy_list": { + "type": [ + "list", + [ + "object", + { + "master_instance": [ + "list", + [ + "object", + { + "id": "string", + "weight": "number" + } + ] + ], + "proxy": [ + "list", + [ + "object", + { + "address": "string", + "alt_flag": "bool", + "connection_pool_type": "string", + "delay_threshold_in_seconds": "number", + "dns_name": "string", + "flavor_info": [ + "list", + [ + "object", + { + "code": "string", + "group_type": "string" + } + ] + ], + "force_read_only": "bool", + "id": "string", + "memory": "string", + "mode": "string", + "name": "string", + "node_num": "number", + "nodes": [ + "list", + [ + "object", + { + "az_code": "string", + "frozen_flag": "number", + "id": "string", + "role": "string", + "status": "string" + } + ] + ], + "pay_mode": "string", + "port": "number", + "proxy_mode": "string", + "route_mode": "number", + "seconds_level_monitor_fun_status": "string", + "ssl_option": "bool", + "status": "string", + "subnet_id": "string", + "support_balance_route_mode": "bool", + "support_proxy_ssl": "bool", + "support_switch_connection_pool_type": "bool", + "support_transaction_split": "bool", + "transaction_split": "string", + "vcpus": "string" + } + ] + ], + "proxy_security_group_check_result": "bool", + "readonly_instances": [ + "list", + [ + "object", + { + "id": "string", + "weight": "number" + } + ] + ] + } + ] + ], + "description": "Indicates the proxy information list of a RDS MySQL instance.", + "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 + }, + "support_balance_route_mode_for_favored_version": { + "type": "bool", + "description": "Indicates whether the load balancing routing mode can be set when", + "computed": true + } + } + }, + "product": { + "short": "RDS", + "name": "Relational Database Service", + "catalog": "Databases", + "name_cn": "云数据库", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rds_mysql_proxy_flavors.json b/docs/json/data-sources/rds_mysql_proxy_flavors.json new file mode 100644 index 0000000000..bd2f883d5e --- /dev/null +++ b/docs/json/data-sources/rds_mysql_proxy_flavors.json @@ -0,0 +1,62 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rds_mysql_proxy_flavors": { + "block": { + "attributes": { + "flavor_groups": { + "type": [ + "list", + [ + "object", + { + "flavors": [ + "list", + [ + "object", + { + "az_status": [ + "map", + "string" + ], + "code": "string", + "db_type": "string", + "id": "string", + "memory": "string", + "vcpus": "string" + } + ] + ], + "group_type": "string" + } + ] + ], + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "RDS", + "name": "Relational Database Service", + "catalog": "Databases", + "name_cn": "云数据库", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_histories.json b/docs/json/data-sources/rms_resource_histories.json new file mode 100644 index 0000000000..2e80626223 --- /dev/null +++ b/docs/json/data-sources/rms_resource_histories.json @@ -0,0 +1,101 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_histories": { + "block": { + "attributes": { + "earlier_time": { + "type": "string", + "description": "Specifies the start time of the query.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "items": { + "type": [ + "list", + [ + "object", + { + "capture_time": "string", + "domain_id": "string", + "relations": [ + "list", + [ + "object", + { + "from_resource_id": "string", + "from_resource_type": "string", + "relation_type": "string", + "to_resource_id": "string", + "to_resource_type": "string" + } + ] + ], + "resource": [ + "list", + [ + "object", + { + "checksum": "string", + "created": "string", + "ep_id": "string", + "ep_name": "string", + "id": "string", + "name": "string", + "project_id": "string", + "project_name": "string", + "properties": "string", + "provider": "string", + "provisioning_state": "string", + "region_id": "string", + "tags": [ + "map", + "string" + ], + "type": "string", + "updated": "string" + } + ] + ], + "resource_id": "string", + "resource_type": "string", + "status": "string" + } + ] + ], + "description": "The resource history list.", + "computed": true + }, + "later_time": { + "type": "string", + "description": "Specifies the end time of the query.", + "optional": 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 + }, + "resource_id": { + "type": "string", + "description": "Specifies the resource ID.", + "required": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_relations_details.json b/docs/json/data-sources/rms_resource_relations_details.json new file mode 100644 index 0000000000..cad212e219 --- /dev/null +++ b/docs/json/data-sources/rms_resource_relations_details.json @@ -0,0 +1,57 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_relations_details": { + "block": { + "attributes": { + "direction": { + "type": "string", + "description": "Specifies the direction of a resource relationship.", + "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 + }, + "relations": { + "type": [ + "list", + [ + "object", + { + "from_resource_id": "string", + "from_resource_type": "string", + "relation_type": "string", + "to_resource_id": "string", + "to_resource_type": "string" + } + ] + ], + "description": "The list of resource relationships.", + "computed": true + }, + "resource_id": { + "type": "string", + "description": "Specifies the resource ID.", + "required": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/smn_logtanks.json b/docs/json/data-sources/smn_logtanks.json new file mode 100644 index 0000000000..ee2dbcef42 --- /dev/null +++ b/docs/json/data-sources/smn_logtanks.json @@ -0,0 +1,52 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_smn_logtanks": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "logtanks": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "id": "string", + "log_group_id": "string", + "log_stream_id": "string", + "updated_at": "string" + } + ] + ], + "description": "The cloud logs.", + "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 + }, + "topic_urn": { + "type": "string", + "description": "Specifies the topic URN.", + "required": true + } + } + }, + "product": { + "short": "SMN", + "name": "Simple Message Notification", + "catalog": "Management & Governance", + "name_cn": "消息通知服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/smn_subscriptions.json b/docs/json/data-sources/smn_subscriptions.json new file mode 100644 index 0000000000..aeef96735e --- /dev/null +++ b/docs/json/data-sources/smn_subscriptions.json @@ -0,0 +1,77 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_smn_subscriptions": { + "block": { + "attributes": { + "endpoint": { + "type": "string", + "description": "Specifies the subscription endpoint.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "protocol": { + "type": "string", + "description": "Specifies the protocol name.", + "optional": 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 + }, + "status": { + "type": "string", + "description": "Specifies the subscription status.", + "optional": true + }, + "subscriptions": { + "type": [ + "list", + [ + "object", + { + "endpoint": "string", + "filter_polices": [ + "list", + [ + "object", + { + "name": "string", + "string_equals": [ + "list", + "string" + ] + } + ] + ], + "owner": "string", + "protocol": "string", + "remark": "string", + "status": "number", + "subscription_urn": "string", + "topic_urn": "string" + } + ] + ], + "description": "The subscription list.", + "computed": true + } + } + }, + "product": { + "short": "SMN", + "name": "Simple Message Notification", + "catalog": "Management & Governance", + "name_cn": "消息通知服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/smn_topic_subscriptions.json b/docs/json/data-sources/smn_topic_subscriptions.json new file mode 100644 index 0000000000..b9f781bae5 --- /dev/null +++ b/docs/json/data-sources/smn_topic_subscriptions.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_smn_topic_subscriptions": { + "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 + }, + "subscriptions": { + "type": [ + "list", + [ + "object", + { + "endpoint": "string", + "filter_polices": [ + "list", + [ + "object", + { + "name": "string", + "string_equals": [ + "list", + "string" + ] + } + ] + ], + "owner": "string", + "protocol": "string", + "remark": "string", + "status": "number", + "subscription_urn": "string", + "topic_urn": "string" + } + ] + ], + "description": "The subscription list.", + "computed": true + }, + "topic_urn": { + "type": "string", + "description": "Specifies the topic URN.", + "required": true + } + } + }, + "product": { + "short": "SMN", + "name": "Simple Message Notification", + "catalog": "Management & Governance", + "name_cn": "消息通知服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/cce_autopilot_addon.json b/docs/json/resources/cce_autopilot_addon.json new file mode 100644 index 0000000000..f6f0a9680b --- /dev/null +++ b/docs/json/resources/cce_autopilot_addon.json @@ -0,0 +1,71 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_cce_autopilot_addon": { + "block": { + "attributes": { + "addon_template_name": { + "type": "string", + "required": true + }, + "alias": { + "type": "string", + "optional": true, + "computed": true + }, + "cluster_id": { + "type": "string", + "required": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "optional": true, + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "values": { + "type": [ + "map", + "string" + ], + "required": true + }, + "version": { + "type": "string", + "optional": true, + "computed": true + } + } + }, + "product": { + "short": "CCE", + "name": "Cloud Container Engine", + "catalog": "Containers", + "name_cn": "云容器引擎", + "catalog_cn": "容器" + } + } + } + } + } +} diff --git a/docs/json/resources/cce_autopilot_cluster.json b/docs/json/resources/cce_autopilot_cluster.json index 413af2f764..56e4614912 100644 --- a/docs/json/resources/cce_autopilot_cluster.json +++ b/docs/json/resources/cce_autopilot_cluster.json @@ -68,6 +68,10 @@ "type": "string", "optional": true }, + "eip_id": { + "type": "string", + "optional": true + }, "enable_autopilot": { "type": "bool", "optional": true, diff --git a/docs/json/resources/cce_node.json b/docs/json/resources/cce_node.json index bb0a05d8eb..ab01c84ebc 100644 --- a/docs/json/resources/cce_node.json +++ b/docs/json/resources/cce_node.json @@ -207,11 +207,11 @@ "required": true, "forcenew": true } - } + }, + "description": "schema:{\"Required\":true};" }, "nesting_mode": "list", - "forcenew": true, - "min_items": 1 + "forcenew": true }, "extend_params": { "block": { diff --git a/docs/json/resources/cce_node_pool.json b/docs/json/resources/cce_node_pool.json index c097c149da..e6f6cb9fdc 100644 --- a/docs/json/resources/cce_node_pool.json +++ b/docs/json/resources/cce_node_pool.json @@ -162,7 +162,14 @@ "subnet_id": { "type": "string", "optional": true, - "forcenew": true + "computed": true + }, + "subnet_list": { + "type": [ + "list", + "string" + ], + "optional": true }, "tag_policy_on_existing_nodes": { "type": "string", @@ -223,11 +230,11 @@ "required": true, "forcenew": true } - } + }, + "description": "schema:{\"Required\":true};" }, "nesting_mode": "list", - "forcenew": true, - "min_items": 1 + "forcenew": true }, "extend_params": { "block": { diff --git a/docs/json/resources/cdn_domain.json b/docs/json/resources/cdn_domain.json index 3c11d29dc3..d3318341a0 100644 --- a/docs/json/resources/cdn_domain.json +++ b/docs/json/resources/cdn_domain.json @@ -413,6 +413,11 @@ "computed": true, "sensitive": true }, + "scm_certificate_id": { + "type": "string", + "optional": true, + "computed": true + }, "tls_version": { "type": "string", "optional": true, diff --git a/docs/json/resources/cph_phone_property.json b/docs/json/resources/cph_phone_property.json new file mode 100644 index 0000000000..06b9a6b594 --- /dev/null +++ b/docs/json/resources/cph_phone_property.json @@ -0,0 +1,51 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_cph_phone_property": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + }, + "block_types": { + "phones": { + "block": { + "attributes": { + "phone_id": { + "type": "string", + "description": "Specifies the phone ID.", + "required": true + }, + "property": { + "type": "string", + "description": "Specifies the phone property, the format is json string.", + "required": true + } + }, + "description": "Specifies the CPH phones." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + } + } + }, + "product": { + "short": "CPH", + "name": "Cloud Phone", + "catalog": "Compute", + "name_cn": "云手机", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/cph_phone_restart.json b/docs/json/resources/cph_phone_restart.json new file mode 100644 index 0000000000..a9119b0826 --- /dev/null +++ b/docs/json/resources/cph_phone_restart.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_cph_phone_restart": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "image_id": { + "type": "string", + "description": "Specifies the image ID of the CPH phone.", + "optional": true + }, + "region": { + "type": "string", + "computed": true + } + }, + "block_types": { + "phones": { + "block": { + "attributes": { + "phone_id": { + "type": "string", + "description": "Specifies the phone ID.", + "required": true + }, + "property": { + "type": "string", + "description": "Specifies the phone property.", + "optional": true + } + }, + "description": "Specifies the CPH phones." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + } + } + }, + "product": { + "short": "CPH", + "name": "Cloud Phone", + "catalog": "Compute", + "name_cn": "云手机", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/cph_server.json b/docs/json/resources/cph_server.json index b70c50e89a..907f4b3f9d 100644 --- a/docs/json/resources/cph_server.json +++ b/docs/json/resources/cph_server.json @@ -165,6 +165,47 @@ "forcenew": true, "max_items": 1 }, + "phone_data_volume": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "description": "The creation time.", + "computed": true + }, + "updated_at": { + "type": "string", + "description": "The update time.", + "computed": true + }, + "volume_id": { + "type": "string", + "description": "The volume ID.", + "computed": true + }, + "volume_name": { + "type": "string", + "description": "The volume name.", + "computed": true + }, + "volume_size": { + "type": "number", + "description": "Specifies the volume size, the unit is GB.", + "optional": true, + "forcenew": true + }, + "volume_type": { + "type": "string", + "description": "Specifies the volume type.", + "optional": true, + "forcenew": true + } + }, + "description": "The phone data volume." + }, + "nesting_mode": "list", + "max_items": 1 + }, "ports": { "block": { "attributes": { @@ -188,6 +229,32 @@ }, "nesting_mode": "list", "forcenew": true + }, + "server_share_data_volume": { + "block": { + "attributes": { + "size": { + "type": "number", + "description": "Specifies the share volume size, the unit is GB.", + "optional": true, + "forcenew": true + }, + "version": { + "type": "number", + "description": "The share volume type.", + "computed": true + }, + "volume_type": { + "type": "string", + "description": "Specifies the share volume type.", + "optional": true, + "forcenew": true + } + }, + "description": "The server share data volume." + }, + "nesting_mode": "list", + "max_items": 1 } } }, diff --git a/docs/json/resources/dbss_ecs_database.json b/docs/json/resources/dbss_ecs_database.json new file mode 100644 index 0000000000..28613440c2 --- /dev/null +++ b/docs/json/resources/dbss_ecs_database.json @@ -0,0 +1,98 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dbss_ecs_database": { + "block": { + "attributes": { + "agent_url": { + "type": [ + "list", + "string" + ], + "computed": true + }, + "audit_status": { + "type": "string", + "computed": true + }, + "charset": { + "type": "string", + "optional": true, + "computed": true + }, + "db_classification": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "instance_name": { + "type": "string", + "optional": true, + "computed": true + }, + "ip": { + "type": "string", + "required": true, + "forcenew": true + }, + "lts_audit_switch": { + "type": "number", + "optional": true + }, + "name": { + "type": "string", + "required": true, + "forcenew": true + }, + "os": { + "type": "string", + "required": true, + "forcenew": true + }, + "port": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "optional": true, + "computed": true + }, + "type": { + "type": "string", + "required": true, + "forcenew": true + }, + "version": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "DBSS", + "name": "Database Security Service", + "catalog": "Security & Compliance", + "name_cn": "数据库安全服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/dbss_instance.json b/docs/json/resources/dbss_instance.json index 8de7470866..d54d4b9348 100644 --- a/docs/json/resources/dbss_instance.json +++ b/docs/json/resources/dbss_instance.json @@ -5,6 +5,10 @@ "huaweicloud_dbss_instance": { "block": { "attributes": { + "action": { + "type": "string", + "optional": true + }, "auto_renew": { "type": "string", "description": "Whether auto renew is enabled. Valid values are \"true\" and \"false\".", @@ -42,8 +46,7 @@ "type": "string", "description": "The description of the instance.", "optional": true, - "computed": true, - "forcenew": true + "computed": true }, "enterprise_project_id": { "type": "string", @@ -81,8 +84,7 @@ "name": { "type": "string", "description": "The instance name.", - "required": true, - "forcenew": true + "required": true }, "period": { "type": "number", diff --git a/docs/json/resources/ddm_logical_sessions_kill.json b/docs/json/resources/ddm_logical_sessions_kill.json new file mode 100644 index 0000000000..d5bbce80ce --- /dev/null +++ b/docs/json/resources/ddm_logical_sessions_kill.json @@ -0,0 +1,42 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ddm_logical_sessions_kill": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "process_ids": { + "type": [ + "list", + "string" + ], + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "DDM", + "name": "Distributed Database Middleware", + "catalog": "Databases", + "name_cn": "分布式数据库中间件", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/ddm_physical_sessions_kill.json b/docs/json/resources/ddm_physical_sessions_kill.json new file mode 100644 index 0000000000..a583ba620f --- /dev/null +++ b/docs/json/resources/ddm_physical_sessions_kill.json @@ -0,0 +1,42 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ddm_physical_sessions_kill": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "process_ids": { + "type": [ + "list", + "string" + ], + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "DDM", + "name": "Distributed Database Middleware", + "catalog": "Databases", + "name_cn": "分布式数据库中间件", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_kafka_background_task_delete.json b/docs/json/resources/dms_kafka_background_task_delete.json new file mode 100644 index 0000000000..eb35307eca --- /dev/null +++ b/docs/json/resources/dms_kafka_background_task_delete.json @@ -0,0 +1,39 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_kafka_background_task_delete": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "task_id": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "Kafka", + "name": "Distributed Message Service for Kafka", + "catalog": "Middleware", + "name_cn": "分布式消息服务 Kafka", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_kafka_message_offset_reset.json b/docs/json/resources/dms_kafka_message_offset_reset.json new file mode 100644 index 0000000000..7bbffda175 --- /dev/null +++ b/docs/json/resources/dms_kafka_message_offset_reset.json @@ -0,0 +1,66 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_kafka_message_offset_reset": { + "block": { + "attributes": { + "group": { + "type": "string", + "description": "Specifies the consumer group.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true, + "forcenew": true + }, + "message_offset": { + "type": "string", + "description": "Specifies the message offset.", + "optional": true, + "forcenew": true + }, + "partition": { + "type": "number", + "description": "Specifies the partition number.", + "required": true, + "forcenew": 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 + }, + "timestamp": { + "type": "string", + "description": "Specifies the message offset. The value is a Unix timestamp, in millisecond", + "optional": true, + "forcenew": true + }, + "topic": { + "type": "string", + "description": "Specifies the topic name.", + "optional": true, + "forcenew": true + } + } + }, + "product": { + "short": "Kafka", + "name": "Distributed Message Service for Kafka", + "catalog": "Middleware", + "name_cn": "分布式消息服务 Kafka", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_rabbitmq_background_task_delete.json b/docs/json/resources/dms_rabbitmq_background_task_delete.json new file mode 100644 index 0000000000..6317d862db --- /dev/null +++ b/docs/json/resources/dms_rabbitmq_background_task_delete.json @@ -0,0 +1,39 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_rabbitmq_background_task_delete": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "task_id": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "RabbitMQ", + "name": "Distributed Message Service for RabbitMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RabbitMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_rocketmq_consumption_verify.json b/docs/json/resources/dms_rocketmq_consumption_verify.json new file mode 100644 index 0000000000..15855486cc --- /dev/null +++ b/docs/json/resources/dms_rocketmq_consumption_verify.json @@ -0,0 +1,72 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_rocketmq_consumption_verify": { + "block": { + "attributes": { + "client_id": { + "type": "string", + "optional": true, + "forcenew": true + }, + "group": { + "type": "string", + "optional": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "message_id_list": { + "type": [ + "list", + "string" + ], + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "resend_results": { + "type": [ + "list", + [ + "object", + { + "error_code": "string", + "error_message": "string", + "message_id": "string" + } + ] + ], + "description": "Indicates the verify results.", + "computed": true + }, + "topic": { + "type": "string", + "optional": true, + "forcenew": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_rocketmq_dead_letter_resend.json b/docs/json/resources/dms_rocketmq_dead_letter_resend.json new file mode 100644 index 0000000000..8aa42d6cad --- /dev/null +++ b/docs/json/resources/dms_rocketmq_dead_letter_resend.json @@ -0,0 +1,62 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_rocketmq_dead_letter_resend": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "message_id_list": { + "type": [ + "list", + "string" + ], + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "resend_results": { + "type": [ + "list", + [ + "object", + { + "error_code": "string", + "error_message": "string", + "message_id": "string" + } + ] + ], + "description": "Indicates the resend results.", + "computed": true + }, + "topic": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_rocketmq_message_offset_reset.json b/docs/json/resources/dms_rocketmq_message_offset_reset.json new file mode 100644 index 0000000000..45fbbc8de0 --- /dev/null +++ b/docs/json/resources/dms_rocketmq_message_offset_reset.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dms_rocketmq_message_offset_reset": { + "block": { + "attributes": { + "group": { + "type": "string", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "timestamp": { + "type": "string", + "required": true, + "forcenew": true + }, + "topic": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "RocketMQ", + "name": "Distributed Message Service for RocketMQ", + "catalog": "Middleware", + "name_cn": "分布式消息服务 RocketMQ", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/hss_cce_protection.json b/docs/json/resources/hss_cce_protection.json new file mode 100644 index 0000000000..9b1cbe236d --- /dev/null +++ b/docs/json/resources/hss_cce_protection.json @@ -0,0 +1,165 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_hss_cce_protection": { + "block": { + "attributes": { + "agent_version": { + "type": "string", + "description": "Specifies the agent version.", + "optional": true + }, + "auto_upgrade": { + "type": "bool", + "description": "Specifies whether to enable automatic agent upgrade.", + "optional": true, + "computed": true + }, + "cce_protection_type": { + "type": "string", + "description": "Specifies the CCE protection type.", + "required": true + }, + "charging_mode": { + "type": "string", + "description": "Specifies the charging mode.", + "required": true + }, + "cluster_id": { + "type": "string", + "description": "Specifies the CCE cluster ID.", + "required": true, + "forcenew": true + }, + "cluster_name": { + "type": "string", + "description": "Specifies the CCE cluster name.", + "required": true + }, + "cluster_type": { + "type": "string", + "description": "Specifies the CCE cluster type.", + "required": true, + "forcenew": true + }, + "enterprise_project_id": { + "type": "string", + "description": "Specifies the enterprise project ID.", + "optional": true, + "forcenew": true + }, + "fail_reason": { + "type": "string", + "description": "The reasons for protection failure.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "invoked_service": { + "type": "string", + "description": "Specifies the invoked service.", + "optional": true + }, + "node_total_num": { + "type": "number", + "description": "The total number of cluster nodes.", + "computed": true + }, + "prefer_packet_cycle": { + "type": "bool", + "description": "Specifies whether to prefer the package period quota.", + "optional": true, + "computed": true + }, + "protect_interrupt_node_num": { + "type": "number", + "description": "The number of nodes interrupted by cluster protection.", + "computed": true + }, + "protect_node_num": { + "type": "number", + "description": "The number of nodes in the cluster that have protection enabled.", + "computed": true + }, + "protect_status": { + "type": "string", + "description": "The protection status.", + "computed": true + }, + "protect_type": { + "type": "string", + "description": "The protection type.", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "unprotect_node_num": { + "type": "number", + "description": "The number of unprotected nodes in the cluster.", + "computed": true + }, + "vpc_id": { + "type": "string", + "description": "The VPC ID.", + "computed": true + } + }, + "block_types": { + "runtime_info": { + "block": { + "attributes": { + "runtime_name": { + "type": "string", + "optional": true + }, + "runtime_path": { + "type": "string", + "optional": true + } + }, + "description": "Specifies the container runtime configuration." + }, + "nesting_mode": "list" + }, + "schedule_info": { + "block": { + "attributes": { + "node_selector": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "pod_tolerances": { + "type": [ + "list", + "string" + ], + "optional": true + } + }, + "description": "Specifies the node scheduling information." + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "HSS", + "name": "Host Security Service", + "catalog": "Security & Compliance", + "name_cn": "企业主机安全", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/identity_acl.json b/docs/json/resources/identity_acl.json index d72598f72f..1c4807ebf2 100644 --- a/docs/json/resources/identity_acl.json +++ b/docs/json/resources/identity_acl.json @@ -29,8 +29,7 @@ } } }, - "nesting_mode": "set", - "max_items": 200 + "nesting_mode": "set" }, "ip_ranges": { "block": { @@ -45,8 +44,7 @@ } } }, - "nesting_mode": "set", - "max_items": 200 + "nesting_mode": "set" } } }, diff --git a/docs/json/resources/identity_provider_conversion.json b/docs/json/resources/identity_provider_conversion.json index 3bb8835cd2..118555d66b 100644 --- a/docs/json/resources/identity_provider_conversion.json +++ b/docs/json/resources/identity_provider_conversion.json @@ -56,14 +56,12 @@ } }, "nesting_mode": "list", - "min_items": 1, - "max_items": 10 + "min_items": 1 } } }, "nesting_mode": "list", - "min_items": 1, - "max_items": 10 + "min_items": 1 } } }, diff --git a/docs/json/resources/iotda_data_backlog_policy.json b/docs/json/resources/iotda_data_backlog_policy.json new file mode 100644 index 0000000000..e69fcc2cc2 --- /dev/null +++ b/docs/json/resources/iotda_data_backlog_policy.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_iotda_data_backlog_policy": { + "block": { + "attributes": { + "backlog_size": { + "type": "string", + "optional": true, + "computed": true + }, + "backlog_time": { + "type": "string", + "optional": true, + "computed": true + }, + "description": { + "type": "string", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "optional": true, + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IoTDA", + "name": "IoT Device Access", + "catalog": "Internet of Things", + "name_cn": "设备接入", + "catalog_cn": "IoT物联网" + } + } + } + } + } +} diff --git a/docs/json/resources/iotda_device_message.json b/docs/json/resources/iotda_device_message.json new file mode 100644 index 0000000000..6ae200753f --- /dev/null +++ b/docs/json/resources/iotda_device_message.json @@ -0,0 +1,150 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_iotda_device_message": { + "block": { + "attributes": { + "created_time": { + "type": "string", + "computed": true + }, + "device_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "encoding": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "error_info": { + "type": [ + "list", + [ + "object", + { + "error_code": "string", + "error_msg": "string" + } + ] + ], + "computed": true + }, + "finished_time": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "message": { + "type": "string", + "required": true, + "forcenew": true + }, + "message_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "name": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "payload_format": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "topic": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "topic_full_name": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "ttl": { + "type": "string", + "optional": true, + "forcenew": true + } + }, + "block_types": { + "properties": { + "block": { + "attributes": { + "correlation_data": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "response_topic": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + } + }, + "block_types": { + "user_properties": { + "block": { + "attributes": { + "prop_key": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "prop_value": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + } + } + }, + "nesting_mode": "list", + "forcenew": true + } + } + }, + "nesting_mode": "list", + "forcenew": true, + "max_items": 1 + } + } + }, + "product": { + "short": "IoTDA", + "name": "IoT Device Access", + "catalog": "Internet of Things", + "name_cn": "设备接入", + "catalog_cn": "IoT物联网" + } + } + } + } + } +} diff --git a/docs/json/resources/lts_group.json b/docs/json/resources/lts_group.json index 50b41794cc..2cfd5bc01f 100644 --- a/docs/json/resources/lts_group.json +++ b/docs/json/resources/lts_group.json @@ -9,6 +9,13 @@ "type": "string", "computed": true }, + "enterprise_project_id": { + "type": "string", + "description": "The enterprise project ID to which the log group belongs.", + "optional": true, + "computed": true, + "forcenew": true + }, "group_name": { "type": "string", "required": true, diff --git a/docs/json/resources/organizations_account.json b/docs/json/resources/organizations_account.json index b7758adc2a..424e82ac05 100644 --- a/docs/json/resources/organizations_account.json +++ b/docs/json/resources/organizations_account.json @@ -10,23 +10,30 @@ "optional": true, "forcenew": true }, + "description": { + "type": "string", + "optional": true + }, "email": { "type": "string", "optional": true, + "computed": true, "forcenew": true }, "id": { "type": "string", "computed": true }, + "intl_number_prefix": { + "type": "string", + "computed": true + }, "joined_at": { "type": "string", - "description": "Indicates the time when the account was created.", "computed": true }, "joined_method": { "type": "string", - "description": "Indicates how an account joined an organization.", "computed": true }, "name": { @@ -37,13 +44,13 @@ }, "parent_id": { "type": "string", - "description": "Specifies the ID of the root or organization unit in which you want to create a new account.", "optional": true, "computed": true }, "phone": { "type": "string", "optional": true, + "computed": true, "forcenew": true }, "tags": { @@ -55,7 +62,6 @@ }, "urn": { "type": "string", - "description": "Indicates the uniform resource name of the account.", "computed": true } } diff --git a/docs/json/resources/rds_mysql_proxy.json b/docs/json/resources/rds_mysql_proxy.json new file mode 100644 index 0000000000..e829bc1ae6 --- /dev/null +++ b/docs/json/resources/rds_mysql_proxy.json @@ -0,0 +1,196 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_rds_mysql_proxy": { + "block": { + "attributes": { + "address": { + "type": "string", + "computed": true + }, + "alt_flag": { + "type": "bool", + "computed": true + }, + "connection_pool_type": { + "type": "string", + "computed": true + }, + "delay_threshold_in_seconds": { + "type": "number", + "computed": true + }, + "dns_name": { + "type": "string", + "computed": true + }, + "flavor": { + "type": "string", + "required": true, + "forcenew": true + }, + "flavor_group_type": { + "type": "string", + "computed": true + }, + "force_read_only": { + "type": "bool", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "memory": { + "type": "string", + "computed": true + }, + "mode": { + "type": "string", + "computed": true + }, + "node_num": { + "type": "number", + "required": true, + "forcenew": true + }, + "nodes": { + "type": [ + "list", + [ + "object", + { + "az_code": "string", + "frozen_flag": "number", + "id": "string", + "role": "string", + "status": "string" + } + ] + ], + "computed": true + }, + "pay_mode": { + "type": "string", + "computed": true + }, + "port": { + "type": "number", + "computed": true + }, + "proxy_mode": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "proxy_name": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "route_mode": { + "type": "number", + "optional": true, + "computed": true + }, + "seconds_level_monitor_fun_status": { + "type": "string", + "computed": true + }, + "ssl_option": { + "type": "bool", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "subnet_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "support_balance_route_mode": { + "type": "bool", + "computed": true + }, + "support_proxy_ssl": { + "type": "bool", + "computed": true + }, + "support_switch_connection_pool_type": { + "type": "bool", + "computed": true + }, + "support_transaction_split": { + "type": "bool", + "computed": true + }, + "transaction_split": { + "type": "string", + "computed": true + }, + "vcpus": { + "type": "string", + "computed": true + } + }, + "block_types": { + "master_node_weight": { + "block": { + "attributes": { + "id": { + "type": "string", + "required": true + }, + "weight": { + "type": "number", + "required": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "readonly_nodes_weight": { + "block": { + "attributes": { + "id": { + "type": "string", + "required": true + }, + "weight": { + "type": "number", + "required": true + } + } + }, + "nesting_mode": "set" + } + } + }, + "product": { + "short": "RDS", + "name": "Relational Database Service", + "catalog": "Databases", + "name_cn": "云数据库", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/rds_mysql_proxy_restart.json b/docs/json/resources/rds_mysql_proxy_restart.json new file mode 100644 index 0000000000..434ad7de5e --- /dev/null +++ b/docs/json/resources/rds_mysql_proxy_restart.json @@ -0,0 +1,39 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_rds_mysql_proxy_restart": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "proxy_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "RDS", + "name": "Relational Database Service", + "catalog": "Databases", + "name_cn": "云数据库", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/rms_remediation_configuration.json b/docs/json/resources/rms_remediation_configuration.json new file mode 100644 index 0000000000..ab090f3ceb --- /dev/null +++ b/docs/json/resources/rms_remediation_configuration.json @@ -0,0 +1,122 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_rms_remediation_configuration": { + "block": { + "attributes": { + "auth_type": { + "type": "string", + "description": "The authorization type for remediation configurations.", + "optional": true + }, + "auth_value": { + "type": "string", + "description": "The information of dependent service authorization.", + "optional": true + }, + "automatic": { + "type": "bool", + "description": "Whether remediation is automatic.", + "optional": true + }, + "created_at": { + "type": "string", + "description": "The time when the remediation configuration was created.", + "computed": true + }, + "created_by": { + "type": "string", + "description": "The user who created the remediation configuration.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "maximum_attempts": { + "type": "number", + "description": "The maximum number of retries allowed within a specified period.", + "optional": true, + "computed": true + }, + "policy_assignment_id": { + "type": "string", + "description": "The policy assignment ID.", + "required": true + }, + "region": { + "type": "string", + "description": "The region in which to create the resource. If omitted, the provider-level region will be used.", + "computed": true + }, + "retry_attempt_seconds": { + "type": "number", + "description": "The time period during which the number of attempts specified in the maximum_attempts can be tried.", + "optional": true, + "computed": true + }, + "target_id": { + "type": "string", + "description": "The ID of a remediation object.", + "required": true + }, + "target_type": { + "type": "string", + "description": "The execution method of remediation.", + "required": true + }, + "updated_at": { + "type": "string", + "description": "The time when the remediation configuration was updated.", + "computed": true + } + }, + "block_types": { + "resource_parameter": { + "block": { + "attributes": { + "resource_id": { + "type": "string", + "description": "The parameter name for passing the resource ID.", + "required": true + } + }, + "description": "The dynamic parameter of remediation." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "static_parameter": { + "block": { + "attributes": { + "var_key": { + "type": "string", + "description": "The static parameter name.", + "optional": true + }, + "var_value": { + "type": "string", + "description": "The static parameter value.", + "optional": true + } + }, + "description": "The static parameters for the remediation execution." + }, + "nesting_mode": "list" + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_image_server.json b/docs/json/resources/workspace_app_image_server.json new file mode 100644 index 0000000000..10978d5dc1 --- /dev/null +++ b/docs/json/resources/workspace_app_image_server.json @@ -0,0 +1,241 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_image_server": { + "block": { + "attributes": { + "availability_zone": { + "type": "string", + "description": "The availability zone of the image server.", + "optional": true, + "forcenew": true + }, + "created_at": { + "type": "string", + "description": "The creation time of the image server, in RFC3339 format.", + "computed": true + }, + "description": { + "type": "string", + "description": "The description of the image server.", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "description": "The ID of the enterprise project to which the image server belong.", + "optional": true, + "computed": true, + "forcenew": true + }, + "extra_session_size": { + "type": "number", + "description": "The number of additional sessions for a single server.", + "optional": true, + "forcenew": true + }, + "extra_session_type": { + "type": "string", + "description": "The additional session type.", + "optional": true, + "forcenew": true + }, + "flavor_id": { + "type": "string", + "description": "The flavor ID of the image server.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "image_id": { + "type": "string", + "description": "The basic image ID of the image server.", + "required": true, + "forcenew": true + }, + "image_source_product_id": { + "type": "string", + "description": "The basic image product ID of the image server.", + "optional": true, + "forcenew": true + }, + "image_type": { + "type": "string", + "description": "The basic image type of the image server.", + "required": true, + "forcenew": true + }, + "is_delete_associated_resources": { + "type": "bool", + "description": "Whether to delete resources associated with this image server after deleting it.", + "optional": true + }, + "is_vdi": { + "type": "bool", + "description": "The session mode of the image server.", + "optional": true, + "forcenew": true + }, + "name": { + "type": "string", + "description": "The name of the image server.", + "required": true + }, + "ou_name": { + "type": "string", + "description": "The OU name corresponding to the AD server.", + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "spec_code": { + "type": "string", + "description": "The specification code of the basic image to which the image server belongs.", + "optional": true, + "computed": true, + "forcenew": true + }, + "subnet_id": { + "type": "string", + "description": "The subnet ID to which the image server belongs.", + "required": true, + "forcenew": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "description": "The key/value pairs to associate with the image server.", + "optional": true, + "forcenew": true + }, + "vpc_id": { + "type": "string", + "description": "The VPC ID to which the image server belongs.", + "required": true, + "forcenew": true + } + }, + "block_types": { + "authorize_accounts": { + "block": { + "attributes": { + "account": { + "type": "string", + "description": "The name of the account.", + "required": true, + "forcenew": true + }, + "domain": { + "type": "string", + "description": "The domain name of the Workspace service.", + "optional": true, + "forcenew": true + }, + "type": { + "type": "string", + "description": "The type of the account.", + "required": true, + "forcenew": true + } + }, + "description": "The list of the management accounts for creating the image." + }, + "nesting_mode": "set", + "forcenew": true, + "min_items": 1 + }, + "root_volume": { + "block": { + "attributes": { + "size": { + "type": "number", + "description": "The disk size of the image server, in GB.", + "required": true, + "forcenew": true + }, + "type": { + "type": "string", + "description": "The disk type of the image server.", + "required": true, + "forcenew": true + } + }, + "description": "The system disk configuration of the image server." + }, + "nesting_mode": "list", + "forcenew": true, + "min_items": 1, + "max_items": 1 + }, + "route_policy": { + "block": { + "attributes": { + "cpu_threshold": { + "type": "number", + "description": "The CPU usage of the server.", + "optional": true, + "forcenew": true + }, + "max_session": { + "type": "number", + "description": "The number of session connections of the server.", + "optional": true, + "forcenew": true + }, + "mem_threshold": { + "type": "number", + "description": "The memory usage of the server.", + "optional": true, + "forcenew": true + } + }, + "description": "The session scheduling policy of the server associated with the image server." + }, + "nesting_mode": "list", + "forcenew": true, + "max_items": 1 + }, + "scheduler_hints": { + "block": { + "attributes": { + "dedicated_host_id": { + "type": "string", + "description": "The ID of the dedicate host.", + "optional": true, + "forcenew": true + }, + "tenancy": { + "type": "string", + "description": "The type of the dedicate host.", + "optional": true, + "forcenew": true + } + }, + "description": "The configuration of the dedicate host." + }, + "nesting_mode": "list", + "forcenew": true, + "max_items": 1 + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_nas_storage.json b/docs/json/resources/workspace_app_nas_storage.json new file mode 100644 index 0000000000..30b222fd55 --- /dev/null +++ b/docs/json/resources/workspace_app_nas_storage.json @@ -0,0 +1,70 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_nas_storage": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the NAS storage.", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "description": "The region where the NAS storage is located.", + "computed": true + } + }, + "block_types": { + "storage_metadata": { + "block": { + "attributes": { + "export_location": { + "type": "string", + "description": "The storage access URL.", + "computed": true + }, + "storage_class": { + "type": "string", + "description": "The storage type.", + "required": true, + "forcenew": true + }, + "storage_handle": { + "type": "string", + "description": "The storage name.", + "required": true, + "forcenew": true + } + }, + "description": "The metadata of the corresponding storage." + }, + "nesting_mode": "list", + "forcenew": true, + "min_items": 1, + "max_items": 1 + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_personal_folders.json b/docs/json/resources/workspace_app_personal_folders.json new file mode 100644 index 0000000000..5aea38f805 --- /dev/null +++ b/docs/json/resources/workspace_app_personal_folders.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_personal_folders": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "The region where the personal folders are located.", + "computed": true + }, + "storage_id": { + "type": "string", + "description": "The NAS storage ID to which the personal folders belong.", + "required": true, + "forcenew": true + } + }, + "block_types": { + "assignments": { + "block": { + "attributes": { + "attach": { + "type": "string", + "description": "The object name of personal folder assignment.", + "required": true, + "forcenew": true + }, + "attach_type": { + "type": "string", + "description": "The type of personal folder assignment.", + "optional": true, + "computed": true, + "forcenew": true + }, + "policy_statement_id": { + "type": "string", + "description": "The ID of the storage permission policy.", + "required": true, + "forcenew": true + } + }, + "description": "The assignment configuration of personal folders." + }, + "nesting_mode": "set", + "forcenew": true, + "min_items": 1 + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_server.json b/docs/json/resources/workspace_app_server.json new file mode 100644 index 0000000000..ba7f0c47c3 --- /dev/null +++ b/docs/json/resources/workspace_app_server.json @@ -0,0 +1,166 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_server": { + "block": { + "attributes": { + "auto_renew": { + "type": "string", + "optional": true + }, + "availability_zone": { + "type": "string", + "description": "The availability zone of the server.", + "optional": true, + "computed": true, + "forcenew": true + }, + "charging_mode": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "description": { + "type": "string", + "description": "The description of the server.", + "optional": true + }, + "flavor_id": { + "type": "string", + "description": "The flavor ID of the server.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "maintain_status": { + "type": "bool", + "description": "Whether to enable maintenance mode.", + "optional": true + }, + "name": { + "type": "string", + "description": "The name of the server.", + "optional": true, + "computed": true + }, + "os_type": { + "type": "string", + "description": "The operating system type of the server.", + "optional": true, + "computed": true, + "forcenew": true + }, + "ou_name": { + "type": "string", + "description": "The OU name corresponding to the AD server.", + "optional": true + }, + "period": { + "type": "number", + "optional": true, + "forcenew": true + }, + "period_unit": { + "type": "string", + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "server_group_id": { + "type": "string", + "description": "The server group ID to which the server belongs.", + "required": true, + "forcenew": true + }, + "subnet_id": { + "type": "string", + "description": "The subnet ID to which the server belongs.", + "required": true, + "forcenew": true + }, + "type": { + "type": "string", + "description": "The type of the server.", + "required": true, + "forcenew": true + }, + "update_access_agent": { + "type": "bool", + "description": "Whether to automatically upgrade protocol component.", + "optional": true, + "default": true + }, + "vpc_id": { + "type": "string", + "description": "The VPC ID to which the server belongs.", + "required": true, + "forcenew": true + } + }, + "block_types": { + "root_volume": { + "block": { + "attributes": { + "size": { + "type": "number", + "description": "The disk size of the server, in GB.", + "required": true, + "forcenew": true + }, + "type": { + "type": "string", + "description": "The disk type of the server.", + "required": true, + "forcenew": true + } + }, + "description": "The system disk configuration of the server." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "scheduler_hints": { + "block": { + "attributes": { + "dedicated_host_id": { + "type": "string", + "description": "The ID of the dedicate host.", + "optional": true, + "forcenew": true + }, + "tenancy": { + "type": "string", + "description": "The type of the dedicate host.", + "optional": true, + "forcenew": true + } + }, + "description": "The configuration of the dedicate host." + }, + "nesting_mode": "list", + "forcenew": true, + "max_items": 1 + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_storage_policy.json b/docs/json/resources/workspace_app_storage_policy.json new file mode 100644 index 0000000000..6fda57f02e --- /dev/null +++ b/docs/json/resources/workspace_app_storage_policy.json @@ -0,0 +1,46 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_storage_policy": { + "block": { + "attributes": { + "client_actions": { + "type": [ + "set", + "string" + ], + "description": "The collection of permissions that client can use to access storage.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "The region where the custom storage permission policy is located.", + "computed": true + }, + "server_actions": { + "type": [ + "set", + "string" + ], + "description": "The collection of permissions that server can use to access storage.", + "required": true + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/workspace_app_warehouse_app.json b/docs/json/resources/workspace_app_warehouse_app.json new file mode 100644 index 0000000000..785f953aed --- /dev/null +++ b/docs/json/resources/workspace_app_warehouse_app.json @@ -0,0 +1,70 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_workspace_app_warehouse_app": { + "block": { + "attributes": { + "category": { + "type": "string", + "description": "The category of the application.", + "required": true + }, + "description": { + "type": "string", + "description": "The description of the application.", + "optional": true + }, + "file_store_path": { + "type": "string", + "description": "The storage path of the OBS bucket where the application is located.", + "required": true, + "forcenew": true + }, + "icon": { + "type": "string", + "description": "The icon of the application.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the application.", + "required": true + }, + "os_type": { + "type": "string", + "description": "The operating system type of the application.", + "required": true + }, + "region": { + "type": "string", + "computed": true + }, + "version": { + "type": "string", + "description": "The version of the application.", + "required": true + }, + "version_name": { + "type": "string", + "description": "The version name of the application.", + "required": true + } + } + }, + "product": { + "short": "Workspace", + "name": "Workspace", + "catalog": "Business Applications", + "name_cn": "云桌面", + "catalog_cn": "企业应用" + } + } + } + } + } +}