From 9b2e980e3d6245a67b1bb97d36615d46286a596f Mon Sep 17 00:00:00 2001 From: niuzhenguo Date: Fri, 13 Dec 2024 09:18:51 +0000 Subject: [PATCH] Update schema json files based-on v1.71.2 --- .../apig_orchestration_rules.json | 64 + .../data-sources/cse_nacos_namespaces.json | 49 + ...stance_parameter_modification_records.json | 59 + .../gaussdb_opengauss_databases.json | 50 + .../gaussdb_opengauss_flavors.json | 71 ++ .../gaussdb_opengauss_instance_nodes.json | 76 ++ docs/json/data-sources/live_recordings.json | 127 ++ docs/json/data-sources/live_transcodings.json | 74 ++ .../rms_remediation_execution_statuses.json | 86 ++ docs/json/data-sources/rms_resource_tags.json | 57 + .../resources/apig_orchestration_rule.json | 76 ++ docs/json/resources/cfw_acl_rule.json | 8 + docs/json/resources/cse_nacos_namespace.json | 40 + docs/json/resources/dbss_rds_database.json | 104 ++ docs/json/resources/dms_kafka_instance.json | 29 + docs/json/resources/dns_endpoint.json | 5 - .../resources/dns_endpoint_assignment.json | 82 ++ .../resources/gaussdb_opengauss_database.json | 1 - .../gaussdb_opengauss_eip_associate.json | 49 + .../resources/gaussdb_opengauss_instance.json | 23 +- ...ssdb_opengauss_primary_standby_switch.json | 55 + docs/json/resources/live_channel.json | 1057 +++++++++++++++++ docs/json/resources/live_geo_blocking.json | 49 + .../resources/live_https_certificate.json | 160 +++ .../resources/live_referer_validation.json | 53 + docs/json/resources/live_url_validation.json | 51 + .../resources/rms_assignment_package.json | 6 +- 27 files changed, 2550 insertions(+), 11 deletions(-) create mode 100644 docs/json/data-sources/apig_orchestration_rules.json create mode 100644 docs/json/data-sources/cse_nacos_namespaces.json create mode 100644 docs/json/data-sources/dds_instance_parameter_modification_records.json create mode 100644 docs/json/data-sources/gaussdb_opengauss_databases.json create mode 100644 docs/json/data-sources/gaussdb_opengauss_flavors.json create mode 100644 docs/json/data-sources/gaussdb_opengauss_instance_nodes.json create mode 100644 docs/json/data-sources/live_recordings.json create mode 100644 docs/json/data-sources/live_transcodings.json create mode 100644 docs/json/data-sources/rms_remediation_execution_statuses.json create mode 100644 docs/json/data-sources/rms_resource_tags.json create mode 100644 docs/json/resources/apig_orchestration_rule.json create mode 100644 docs/json/resources/cse_nacos_namespace.json create mode 100644 docs/json/resources/dbss_rds_database.json create mode 100644 docs/json/resources/dns_endpoint_assignment.json create mode 100644 docs/json/resources/gaussdb_opengauss_eip_associate.json create mode 100644 docs/json/resources/gaussdb_opengauss_primary_standby_switch.json create mode 100644 docs/json/resources/live_channel.json create mode 100644 docs/json/resources/live_geo_blocking.json create mode 100644 docs/json/resources/live_https_certificate.json create mode 100644 docs/json/resources/live_referer_validation.json create mode 100644 docs/json/resources/live_url_validation.json diff --git a/docs/json/data-sources/apig_orchestration_rules.json b/docs/json/data-sources/apig_orchestration_rules.json new file mode 100644 index 0000000000..cec886a88c --- /dev/null +++ b/docs/json/data-sources/apig_orchestration_rules.json @@ -0,0 +1,64 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_apig_orchestration_rules": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "The ID of the dedicated instance to which the orchestration rules belong.", + "required": true + }, + "name": { + "type": "string", + "description": "The name of the orchestration rule to be queried, fuzzy matching is supported.", + "optional": true + }, + "region": { + "type": "string", + "description": "The region where the orchestration rules are located.", + "computed": true + }, + "rule_id": { + "type": "string", + "description": "The ID of the orchestration rule to be queried.", + "optional": true + }, + "rules": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "id": "string", + "is_preprocessing": "bool", + "mapped_param": "string", + "name": "string", + "strategy": "string", + "updated_at": "string" + } + ] + ], + "description": "All orchestration rules that match the filter parameters.", + "computed": true + } + } + }, + "product": { + "short": "APIG", + "name": "API Gateway", + "catalog": "Middleware", + "name_cn": "API网关", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/cse_nacos_namespaces.json b/docs/json/data-sources/cse_nacos_namespaces.json new file mode 100644 index 0000000000..9663e59638 --- /dev/null +++ b/docs/json/data-sources/cse_nacos_namespaces.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_cse_nacos_namespaces": { + "block": { + "attributes": { + "engine_id": { + "type": "string", + "description": "The ID of the Nacos microservice engine to which the namespaces belong.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "namespaces": { + "type": [ + "list", + [ + "object", + { + "id": "string", + "name": "string" + } + ] + ], + "description": "All queried Nacos namespaces.", + "computed": true + }, + "region": { + "type": "string", + "description": "The region where the Nacos namespaces are located.", + "computed": true + } + } + }, + "product": { + "short": "CSE", + "name": "Cloud Service Engine", + "catalog": "Middleware", + "name_cn": "微服务引擎", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dds_instance_parameter_modification_records.json b/docs/json/data-sources/dds_instance_parameter_modification_records.json new file mode 100644 index 0000000000..5f13457607 --- /dev/null +++ b/docs/json/data-sources/dds_instance_parameter_modification_records.json @@ -0,0 +1,59 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dds_instance_parameter_modification_records": { + "block": { + "attributes": { + "entity_id": { + "type": "string", + "description": "Specifies the entity ID.", + "optional": true + }, + "histories": { + "type": [ + "list", + [ + "object", + { + "applied": "bool", + "applied_at": "string", + "new_value": "string", + "old_value": "string", + "parameter_name": "string", + "update_result": "string", + "updated_at": "string" + } + ] + ], + "description": "Indicates the modification records.", + "computed": 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 + } + } + }, + "product": { + "short": "DDS", + "name": "Document Database Service", + "catalog": "Databases", + "name_cn": "文档数据库服务", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/gaussdb_opengauss_databases.json b/docs/json/data-sources/gaussdb_opengauss_databases.json new file mode 100644 index 0000000000..4ec54cf683 --- /dev/null +++ b/docs/json/data-sources/gaussdb_opengauss_databases.json @@ -0,0 +1,50 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_gaussdb_opengauss_databases": { + "block": { + "attributes": { + "databases": { + "type": [ + "list", + [ + "object", + { + "character_set": "string", + "compatibility_type": "string", + "lc_collate": "string", + "name": "string", + "owner": "string", + "size": "string" + } + ] + ], + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/gaussdb_opengauss_flavors.json b/docs/json/data-sources/gaussdb_opengauss_flavors.json new file mode 100644 index 0000000000..be04b83717 --- /dev/null +++ b/docs/json/data-sources/gaussdb_opengauss_flavors.json @@ -0,0 +1,71 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_gaussdb_opengauss_flavors": { + "block": { + "attributes": { + "flavors": { + "type": [ + "list", + [ + "object", + { + "availability_zone": [ + "list", + "string" + ], + "az_status": [ + "map", + "string" + ], + "group_type": "string", + "name": "string", + "ram": "string", + "spec_code": "string", + "vcpus": "string", + "version": "string" + } + ] + ], + "description": "Indicates the list of the flavors.", + "computed": true + }, + "ha_mode": { + "type": "string", + "description": "Specifies the instance type.", + "optional": 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 + }, + "spec_code": { + "type": "string", + "description": "Specifies the specification code.", + "optional": true + }, + "version": { + "type": "string", + "description": "Specifies the version of the GaussDB OpenGauss.", + "optional": true + } + } + }, + "product": { + "short": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/gaussdb_opengauss_instance_nodes.json b/docs/json/data-sources/gaussdb_opengauss_instance_nodes.json new file mode 100644 index 0000000000..3f56a6952a --- /dev/null +++ b/docs/json/data-sources/gaussdb_opengauss_instance_nodes.json @@ -0,0 +1,76 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_gaussdb_opengauss_instance_nodes": { + "block": { + "attributes": { + "availability_zone_id": { + "type": "string", + "description": "Specifies the ID of the AZ where the primary component is located.", + "optional": true + }, + "component_type": { + "type": "string", + "description": "Specifies the component type.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the instance ID.", + "required": true + }, + "nodes": { + "type": [ + "list", + [ + "object", + { + "availability_zone_id": "string", + "components": [ + "list", + [ + "object", + { + "detail": "string", + "distributed_id": "string", + "id": "string", + "role": "string", + "status": "string", + "type": "string" + } + ] + ], + "description": "string", + "id": "string", + "name": "string", + "status": "string" + } + ] + ], + "description": "Indicates the list of nodes.", + "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": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/data-sources/live_recordings.json b/docs/json/data-sources/live_recordings.json new file mode 100644 index 0000000000..8ef09364ad --- /dev/null +++ b/docs/json/data-sources/live_recordings.json @@ -0,0 +1,127 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_live_recordings": { + "block": { + "attributes": { + "app_name": { + "type": "string", + "description": "Specifies the application name of the recording rule.", + "optional": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the ingest domain name to which the recording rules belong.", + "optional": 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 + }, + "rules": { + "type": [ + "list", + [ + "object", + { + "app_name": "string", + "created_at": "string", + "default_record_config": [ + "list", + [ + "object", + { + "flv": [ + "list", + [ + "object", + { + "file_naming": "string", + "max_stream_pause_length": "number", + "recording_length": "number" + } + ] + ], + "hls": [ + "list", + [ + "object", + { + "file_naming": "string", + "max_stream_pause_length": "number", + "record_slice_duration": "number", + "recording_length": "number", + "ts_file_naming": "string" + } + ] + ], + "mp4": [ + "list", + [ + "object", + { + "file_naming": "string", + "max_stream_pause_length": "number", + "recording_length": "number" + } + ] + ], + "obs": [ + "list", + [ + "object", + { + "bucket": "string", + "object": "string", + "region": "string" + } + ] + ], + "record_format": [ + "list", + "string" + ] + } + ] + ], + "domain_name": "string", + "id": "string", + "stream_name": "string", + "type": "string", + "updated_at": "string" + } + ] + ], + "description": "The list of the recording rules.", + "computed": true + }, + "stream_name": { + "type": "string", + "description": "Specifies the stream name of the recording rule.", + "optional": true + }, + "type": { + "type": "string", + "description": "Specifies the recording type of the recording rule.", + "optional": true + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/data-sources/live_transcodings.json b/docs/json/data-sources/live_transcodings.json new file mode 100644 index 0000000000..7af13241b4 --- /dev/null +++ b/docs/json/data-sources/live_transcodings.json @@ -0,0 +1,74 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_live_transcodings": { + "block": { + "attributes": { + "app_name": { + "type": "string", + "description": "Specifies the application name of the transcoding template.", + "optional": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the ingest domain name to which the transcoding templates blong.", + "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 + }, + "templates": { + "type": [ + "list", + [ + "object", + { + "app_name": "string", + "quality_info": [ + "list", + [ + "object", + { + "bitrate": "number", + "bitrate_adaptive": "string", + "frame_rate": "number", + "gop": "number", + "height": "number", + "i_frame_interval": "number", + "i_frame_policy": "string", + "low_bitrate_hd": "string", + "name": "string", + "protocol": "string", + "quality": "string", + "video_encoding": "string", + "width": "number" + } + ] + ] + } + ] + ], + "description": "The list of the transcoding templates.", + "computed": true + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_remediation_execution_statuses.json b/docs/json/data-sources/rms_remediation_execution_statuses.json new file mode 100644 index 0000000000..ab7bd8738a --- /dev/null +++ b/docs/json/data-sources/rms_remediation_execution_statuses.json @@ -0,0 +1,86 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_remediation_execution_statuses": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "policy_assignment_id": { + "type": "string", + "description": "The policy assignment 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 + }, + "value": { + "type": [ + "list", + [ + "object", + { + "invocation_time": "string", + "message": "string", + "resource_key": [ + "list", + [ + "object", + { + "resource_id": "string", + "resource_provider": "string", + "resource_type": "string" + } + ] + ], + "state": "string" + } + ] + ], + "description": "The compliance rule remediation execution results.", + "computed": true + } + }, + "block_types": { + "resource_keys": { + "block": { + "attributes": { + "resource_id": { + "type": "string", + "description": "The resource ID.", + "required": true + }, + "resource_provider": { + "type": "string", + "description": "The cloud service name.", + "required": true + }, + "resource_type": { + "type": "string", + "description": "The resource type.", + "required": true + } + }, + "description": "The list of query criteria required to collect remediation results." + }, + "nesting_mode": "list" + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_tags.json b/docs/json/data-sources/rms_resource_tags.json new file mode 100644 index 0000000000..1d547ae96c --- /dev/null +++ b/docs/json/data-sources/rms_resource_tags.json @@ -0,0 +1,57 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_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_id": { + "type": "string", + "description": "Specifies the resource ID.", + "optional": true + }, + "resource_type": { + "type": "string", + "description": "Specifies the resource type.", + "required": true + }, + "tags": { + "type": [ + "list", + [ + "object", + { + "key": "string", + "values": [ + "list", + "string" + ] + } + ] + ], + "description": "The tags.", + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/apig_orchestration_rule.json b/docs/json/resources/apig_orchestration_rule.json new file mode 100644 index 0000000000..6c0b63e49c --- /dev/null +++ b/docs/json/resources/apig_orchestration_rule.json @@ -0,0 +1,76 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_apig_orchestration_rule": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "description": "The creation time of the orchestration rule, in RFC3339 format.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "The ID of the dedicated instance to which the orchestration rule belongs.", + "required": true, + "forcenew": true + }, + "is_preprocessing": { + "type": "bool", + "description": "Whether rule is a preprocessing rule.", + "optional": true, + "forcenew": true + }, + "map": { + "type": [ + "list", + "string" + ], + "description": "The list of orchestration mapping rules, each item should be in JSON format.", + "optional": true + }, + "mapped_param": { + "type": "string", + "description": "The parameter configuration after orchestration, in JSON format.", + "optional": true, + "forcenew": true + }, + "name": { + "type": "string", + "description": "The name of the orchestration rule.", + "required": true + }, + "region": { + "type": "string", + "description": "The region where the orchestration rule is located.", + "computed": true + }, + "strategy": { + "type": "string", + "description": "The type of the orchestration rule.", + "required": true + }, + "updated_at": { + "type": "string", + "description": "The latest update time of the orchestration rule, in RFC3339 format.", + "computed": true + } + } + }, + "product": { + "short": "APIG", + "name": "API Gateway", + "catalog": "Middleware", + "name_cn": "API网关", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/cfw_acl_rule.json b/docs/json/resources/cfw_acl_rule.json index c428f1d085..6f0b3ee827 100644 --- a/docs/json/resources/cfw_acl_rule.json +++ b/docs/json/resources/cfw_acl_rule.json @@ -15,6 +15,14 @@ "description": "The address type.", "required": true }, + "applications": { + "type": [ + "set", + "string" + ], + "description": "The application list.", + "optional": true + }, "description": { "type": "string", "description": "The rule description.", diff --git a/docs/json/resources/cse_nacos_namespace.json b/docs/json/resources/cse_nacos_namespace.json new file mode 100644 index 0000000000..a75ce76df5 --- /dev/null +++ b/docs/json/resources/cse_nacos_namespace.json @@ -0,0 +1,40 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_cse_nacos_namespace": { + "block": { + "attributes": { + "engine_id": { + "type": "string", + "description": "The ID of the Nacos microservice engine to which the namespace belongs.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the Nacos namespace.", + "required": true + }, + "region": { + "type": "string", + "description": "The region where the Nacos namespace is located.", + "computed": true + } + } + }, + "product": { + "short": "CSE", + "name": "Cloud Service Engine", + "catalog": "Middleware", + "name_cn": "微服务引擎", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/resources/dbss_rds_database.json b/docs/json/resources/dbss_rds_database.json new file mode 100644 index 0000000000..6bc9965bf3 --- /dev/null +++ b/docs/json/resources/dbss_rds_database.json @@ -0,0 +1,104 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dbss_rds_database": { + "block": { + "attributes": { + "agent_url": { + "type": [ + "list", + "string" + ], + "computed": true + }, + "audit_status": { + "type": "string", + "computed": true + }, + "charset": { + "type": "string", + "computed": true + }, + "db_classification": { + "type": "string", + "computed": true + }, + "db_id": { + "type": "string", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "instance_name": { + "type": "string", + "computed": true + }, + "ip": { + "type": "string", + "computed": true + }, + "lts_audit_switch": { + "type": "number", + "optional": true + }, + "name": { + "type": "string", + "computed": true + }, + "os": { + "type": "string", + "computed": true + }, + "port": { + "type": "string", + "computed": true + }, + "rds_audit_switch_mismatch": { + "type": "bool", + "computed": true + }, + "rds_id": { + "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", + "computed": true + } + } + }, + "product": { + "short": "DBSS", + "name": "Database Security Service", + "catalog": "Security & Compliance", + "name_cn": "数据库安全服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/dms_kafka_instance.json b/docs/json/resources/dms_kafka_instance.json index 2bc8e500bd..dd6a08d841 100644 --- a/docs/json/resources/dms_kafka_instance.json +++ b/docs/json/resources/dms_kafka_instance.json @@ -189,6 +189,35 @@ "type": "number", "computed": true }, + "port_protocols": { + "type": [ + "list", + [ + "object", + { + "private_plain_address": "string", + "private_plain_domain_name": "string", + "private_plain_enable": "bool", + "private_sasl_plaintext_address": "string", + "private_sasl_plaintext_domain_name": "string", + "private_sasl_plaintext_enable": "bool", + "private_sasl_ssl_address": "string", + "private_sasl_ssl_domain_name": "string", + "private_sasl_ssl_enable": "bool", + "public_plain_address": "string", + "public_plain_domain_name": "string", + "public_plain_enable": "bool", + "public_sasl_plaintext_address": "string", + "public_sasl_plaintext_domain_name": "string", + "public_sasl_plaintext_enable": "bool", + "public_sasl_ssl_address": "string", + "public_sasl_ssl_domain_name": "string", + "public_sasl_ssl_enable": "bool" + } + ] + ], + "computed": true + }, "product_id": { "type": "string", "optional": true diff --git a/docs/json/resources/dns_endpoint.json b/docs/json/resources/dns_endpoint.json index d289290aef..6396623817 100644 --- a/docs/json/resources/dns_endpoint.json +++ b/docs/json/resources/dns_endpoint.json @@ -51,11 +51,6 @@ "type": "string", "computed": true }, - "ip": { - "type": "string", - "optional": true, - "computed": true - }, "ip_address_id": { "type": "string", "computed": true diff --git a/docs/json/resources/dns_endpoint_assignment.json b/docs/json/resources/dns_endpoint_assignment.json new file mode 100644 index 0000000000..14c0a39123 --- /dev/null +++ b/docs/json/resources/dns_endpoint_assignment.json @@ -0,0 +1,82 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dns_endpoint_assignment": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "description": "The creation time of the endpoint, in RFC3339 format.", + "computed": true + }, + "direction": { + "type": "string", + "description": "The direction of the endpoint.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the endpoint.", + "required": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "description": "The current status of the endpoint.", + "computed": true + }, + "vpc_id": { + "type": "string", + "description": "The VPC ID associated with the endpoint.", + "computed": true + } + }, + "block_types": { + "assignments": { + "block": { + "attributes": { + "ip_address": { + "type": "string", + "description": "The IP address associated with the endpoint.", + "required": true + }, + "ip_address_id": { + "type": "string", + "description": "The ID of the IP address associated with the endpoint.", + "computed": true + }, + "subnet_id": { + "type": "string", + "description": "The subnet ID to which the IP address belongs.", + "required": true + } + }, + "description": "The list of the IP addresses of the endpoint." + }, + "nesting_mode": "set", + "min_items": 2, + "max_items": 6 + } + } + }, + "product": { + "short": "DNS", + "name": "Domain Name Service", + "catalog": "Business Applications", + "name_cn": "云解析服务", + "catalog_cn": "企业应用" + } + } + } + } + } +} diff --git a/docs/json/resources/gaussdb_opengauss_database.json b/docs/json/resources/gaussdb_opengauss_database.json index 73b7d4b653..2c94abcad1 100644 --- a/docs/json/resources/gaussdb_opengauss_database.json +++ b/docs/json/resources/gaussdb_opengauss_database.json @@ -38,7 +38,6 @@ "type": "string", "description": "Specifies the database classification.", "optional": true, - "computed": true, "forcenew": true }, "name": { diff --git a/docs/json/resources/gaussdb_opengauss_eip_associate.json b/docs/json/resources/gaussdb_opengauss_eip_associate.json new file mode 100644 index 0000000000..f11f1ea030 --- /dev/null +++ b/docs/json/resources/gaussdb_opengauss_eip_associate.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_gaussdb_opengauss_eip_associate": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "node_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "public_ip": { + "type": "string", + "required": true, + "forcenew": true + }, + "public_ip_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/gaussdb_opengauss_instance.json b/docs/json/resources/gaussdb_opengauss_instance.json index 796e84b9b2..98cc411359 100644 --- a/docs/json/resources/gaussdb_opengauss_instance.json +++ b/docs/json/resources/gaussdb_opengauss_instance.json @@ -34,6 +34,18 @@ "type": "string", "computed": true }, + "disk_encryption_id": { + "type": "string", + "optional": true + }, + "enable_force_switch": { + "type": "bool", + "optional": true + }, + "enable_single_float_ip": { + "type": "bool", + "optional": true + }, "endpoints": { "type": [ "list", @@ -43,7 +55,8 @@ }, "enterprise_project_id": { "type": "string", - "optional": true + "optional": true, + "computed": true }, "flavor": { "type": "string", @@ -130,6 +143,7 @@ "security_group_id": { "type": "string", "optional": true, + "computed": true, "forcenew": true }, "sharding_num": { @@ -209,6 +223,13 @@ "consistency": { "type": "string", "optional": true, + "computed": true, + "forcenew": true + }, + "instance_mode": { + "type": "string", + "optional": true, + "computed": true, "forcenew": true }, "mode": { diff --git a/docs/json/resources/gaussdb_opengauss_primary_standby_switch.json b/docs/json/resources/gaussdb_opengauss_primary_standby_switch.json new file mode 100644 index 0000000000..f63ad620ff --- /dev/null +++ b/docs/json/resources/gaussdb_opengauss_primary_standby_switch.json @@ -0,0 +1,55 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_gaussdb_opengauss_primary_standby_switch": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + }, + "block_types": { + "shards": { + "block": { + "attributes": { + "component_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "node_id": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "nesting_mode": "list", + "forcenew": true, + "min_items": 1 + } + } + }, + "product": { + "short": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/live_channel.json b/docs/json/resources/live_channel.json new file mode 100644 index 0000000000..acc392e94a --- /dev/null +++ b/docs/json/resources/live_channel.json @@ -0,0 +1,1057 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_live_channel": { + "block": { + "attributes": { + "app_name": { + "type": "string", + "description": "Specifies the group name or application name.", + "required": true, + "forcenew": true + }, + "channel_id": { + "type": "string", + "description": "Specifies the unique channel ID.", + "optional": true, + "computed": true, + "forcenew": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the channel streaming domain name.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the channel name.", + "optional": true + }, + "region": { + "type": "string", + "computed": true + }, + "state": { + "type": "string", + "description": "Specifies the channel status.", + "required": true + } + }, + "block_types": { + "encoder_settings": { + "block": { + "attributes": { + "template_id": { + "type": "string", + "description": "Specifies the transcoding template ID.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the transcoding template configuration." + }, + "nesting_mode": "list" + }, + "encoder_settings_expand": { + "block": { + "block_types": { + "audio_descriptions": { + "block": { + "attributes": { + "audio_selector_name": { + "type": "string", + "description": "Specifies the audio selector name.", + "required": true + }, + "language_code": { + "type": "string", + "description": "Specifies the language code.", + "optional": true, + "computed": true + }, + "language_code_control": { + "type": "string", + "description": "Specifies the language code control configuration.", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the name of the audio output configuration.", + "required": true + }, + "stream_name": { + "type": "string", + "description": "Specifies the stream name.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the description of the audio output configuration." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the audio output configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "endpoints": { + "block": { + "block_types": { + "dash_package": { + "block": { + "attributes": { + "ad_marker": { + "type": "string", + "description": "Specifies the advertising marker.", + "optional": true, + "computed": true + }, + "playlist_window_seconds": { + "type": "number", + "description": "Specifies the window length of the channel live broadcast return shard.", + "optional": true, + "computed": true + }, + "segment_duration_seconds": { + "type": "number", + "description": "Specifies the duration of the channel output segment.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the customer-defined streaming address.", + "required": true + } + }, + "block_types": { + "encryption": { + "block": { + "attributes": { + "level": { + "type": "string", + "description": "Specifies the level.", + "optional": true, + "computed": true + }, + "request_mode": { + "type": "string", + "description": "Specifies the request mode.", + "required": true + }, + "resource_id": { + "type": "string", + "description": "Specifies the customer-generated DRM content ID.", + "required": true + }, + "speke_version": { + "type": "string", + "description": "Specifies the DRM spec version number.", + "required": true + }, + "system_ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the system ID enumeration values.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the DRM address of the key.", + "required": true + }, + "urn": { + "type": "string", + "description": "Specifies the URN of the function graph.", + "optional": true + } + }, + "block_types": { + "http_headers": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key field name in the request header.", + "required": true + }, + "value": { + "type": "string", + "description": "Specifies the value corresponding to the key in the request header.", + "required": true + } + }, + "description": "Specifies the authentication information that needs to be added to the DRM request header." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the encrypted information." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "request_args": { + "block": { + "block_types": { + "live": { + "block": { + "attributes": { + "delay": { + "type": "string", + "description": "Specifies the delay field.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the live broadcast configuration." + }, + "nesting_mode": "list" + }, + "record": { + "block": { + "attributes": { + "end_time": { + "type": "string", + "description": "Specifies the end time.", + "optional": true, + "computed": true + }, + "format": { + "type": "string", + "description": "Specifies the format.", + "optional": true, + "computed": true + }, + "start_time": { + "type": "string", + "description": "Specifies the start time.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the recording and playback related configuration." + }, + "nesting_mode": "list" + }, + "timeshift": { + "block": { + "attributes": { + "back_time": { + "type": "string", + "description": "Specifies the time shift duration field name.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the time-shift playback configuration." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the play related configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "stream_selection": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key used for bitrate filtering in streaming URLs.", + "optional": true, + "computed": true + }, + "max_bandwidth": { + "type": "number", + "description": "Specifies the maximum code rate.", + "optional": true, + "computed": true + }, + "min_bandwidth": { + "type": "number", + "description": "Specifies the minimum code rate.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the stream selection." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the DASH packaging information." + }, + "nesting_mode": "list" + }, + "hls_package": { + "block": { + "attributes": { + "ad_marker": { + "type": [ + "list", + "string" + ], + "description": "Specifies the advertising marker.", + "optional": true + }, + "hls_version": { + "type": "string", + "description": "Specifies the HLS version number.", + "optional": true, + "computed": true + }, + "playlist_window_seconds": { + "type": "number", + "description": "Specifies the window length of the channel live broadcast return shard.", + "optional": true, + "computed": true + }, + "segment_duration_seconds": { + "type": "number", + "description": "Specifies the duration of the channel output segment.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the customer-defined streaming address.", + "required": true + } + }, + "block_types": { + "encryption": { + "block": { + "attributes": { + "level": { + "type": "string", + "description": "Specifies the level.", + "optional": true, + "computed": true + }, + "request_mode": { + "type": "string", + "description": "Specifies the request mode.", + "required": true + }, + "resource_id": { + "type": "string", + "description": "Specifies the customer-generated DRM content ID.", + "required": true + }, + "speke_version": { + "type": "string", + "description": "Specifies the DRM spec version number.", + "required": true + }, + "system_ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the system ID enumeration values.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the DRM address of the key.", + "required": true + }, + "urn": { + "type": "string", + "description": "Specifies the URN of the function graph.", + "optional": true + } + }, + "block_types": { + "http_headers": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key field name in the request header.", + "required": true + }, + "value": { + "type": "string", + "description": "Specifies the value corresponding to the key in the request header.", + "required": true + } + }, + "description": "Specifies the authentication information that needs to be added to the DRM request header." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the encrypted information." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "request_args": { + "block": { + "block_types": { + "live": { + "block": { + "attributes": { + "delay": { + "type": "string", + "description": "Specifies the delay field.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the live broadcast configuration." + }, + "nesting_mode": "list" + }, + "record": { + "block": { + "attributes": { + "end_time": { + "type": "string", + "description": "Specifies the end time.", + "optional": true, + "computed": true + }, + "format": { + "type": "string", + "description": "Specifies the format.", + "optional": true, + "computed": true + }, + "start_time": { + "type": "string", + "description": "Specifies the start time.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the recording and playback related configuration." + }, + "nesting_mode": "list" + }, + "timeshift": { + "block": { + "attributes": { + "back_time": { + "type": "string", + "description": "Specifies the time shift duration field name.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the time-shift playback configuration." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the play related configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "stream_selection": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key used for bitrate filtering in streaming URLs.", + "optional": true, + "computed": true + }, + "max_bandwidth": { + "type": "number", + "description": "Specifies the maximum code rate.", + "optional": true, + "computed": true + }, + "min_bandwidth": { + "type": "number", + "description": "Specifies the minimum code rate.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the stream selection." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the HLS packaging information." + }, + "nesting_mode": "list" + }, + "mss_package": { + "block": { + "attributes": { + "delay_segment": { + "type": "number", + "description": "Specifies the delayed playback time.", + "optional": true, + "computed": true + }, + "playlist_window_seconds": { + "type": "number", + "description": "Specifies the window length of the channel live broadcast return shard.", + "optional": true, + "computed": true + }, + "segment_duration_seconds": { + "type": "number", + "description": "Specifies the duration of the channel output segment.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the customer-defined streaming address.", + "required": true + } + }, + "block_types": { + "encryption": { + "block": { + "attributes": { + "level": { + "type": "string", + "description": "Specifies the level.", + "optional": true, + "computed": true + }, + "request_mode": { + "type": "string", + "description": "Specifies the request mode.", + "required": true + }, + "resource_id": { + "type": "string", + "description": "Specifies the customer-generated DRM content ID.", + "required": true + }, + "speke_version": { + "type": "string", + "description": "Specifies the DRM spec version number.", + "required": true + }, + "system_ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the system ID enumeration values.", + "required": true + }, + "url": { + "type": "string", + "description": "Specifies the DRM address of the key.", + "required": true + }, + "urn": { + "type": "string", + "description": "Specifies the URN of the function graph.", + "optional": true + } + }, + "block_types": { + "http_headers": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key field name in the request header.", + "required": true + }, + "value": { + "type": "string", + "description": "Specifies the value corresponding to the key in the request header.", + "required": true + } + }, + "description": "Specifies the authentication information that needs to be added to the DRM request header." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the encrypted information." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "request_args": { + "block": { + "block_types": { + "live": { + "block": { + "attributes": { + "delay": { + "type": "string", + "description": "Specifies the delay field.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the live broadcast configuration." + }, + "nesting_mode": "list" + }, + "record": { + "block": { + "attributes": { + "end_time": { + "type": "string", + "description": "Specifies the end time.", + "optional": true, + "computed": true + }, + "format": { + "type": "string", + "description": "Specifies the format.", + "optional": true, + "computed": true + }, + "start_time": { + "type": "string", + "description": "Specifies the start time.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the recording and playback related configuration." + }, + "nesting_mode": "list" + }, + "timeshift": { + "block": { + "attributes": { + "back_time": { + "type": "string", + "description": "Specifies the time shift duration field name.", + "optional": true, + "computed": true + }, + "unit": { + "type": "string", + "description": "Specifies the unit.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the time-shift playback configuration." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the play related configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "stream_selection": { + "block": { + "attributes": { + "key": { + "type": "string", + "description": "Specifies the key used for bitrate filtering in streaming URLs.", + "optional": true, + "computed": true + }, + "max_bandwidth": { + "type": "number", + "description": "Specifies the maximum code rate.", + "optional": true, + "computed": true + }, + "min_bandwidth": { + "type": "number", + "description": "Specifies the minimum code rate.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the stream selection." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the MSS packaging information." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the channel outflow information." + }, + "nesting_mode": "list", + "min_items": 1 + }, + "input": { + "block": { + "attributes": { + "ad_triggers": { + "type": [ + "list", + "string" + ], + "description": "Specifies the ad trigger configuration.", + "optional": true, + "computed": true + }, + "input_protocol": { + "type": "string", + "description": "Specifies the channel input protocol.", + "required": true, + "forcenew": true + }, + "ip_port_mode": { + "type": "bool", + "description": "Specifies the IP port mode.", + "optional": true, + "computed": true + }, + "ip_whitelist": { + "type": "string", + "description": "Specifies the IP whitelist when protocol is **SRT_PUSH**.", + "optional": true, + "computed": true + }, + "max_bandwidth_limit": { + "type": "number", + "description": "Specifies the maximum bandwidth that needs to be configured when the inbound protocol is\n**HLS_PULL**.", + "optional": true, + "computed": true + }, + "scte35_source": { + "type": "string", + "description": "Specifies the advertisement scte35 signal source.", + "optional": true, + "computed": true + } + }, + "block_types": { + "audio_selectors": { + "block": { + "attributes": { + "name": { + "type": "string", + "description": "Specifies the name of the audio selector.", + "required": true + } + }, + "block_types": { + "selector_settings": { + "block": { + "block_types": { + "audio_hls_selection": { + "block": { + "attributes": { + "group_id": { + "type": "string", + "description": "Specifies the HLS audio selector gid.", + "required": true + }, + "name": { + "type": "string", + "description": "Specifies the HLS audio selector name.", + "required": true + } + }, + "description": "Specifies the HLS selector configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "audio_language_selection": { + "block": { + "attributes": { + "language_code": { + "type": "string", + "description": "Specifies the language abbreviation.", + "required": true + }, + "language_selection_policy": { + "type": "string", + "description": "Specifies the language output strategy.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the language selector configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "audio_pid_selection": { + "block": { + "attributes": { + "pid": { + "type": "number", + "description": "Specifies the value of PID.", + "required": true + } + }, + "description": "Specifies the PID selector configuration." + }, + "nesting_mode": "list", + "max_items": 1 + } + }, + "description": "Specifies the audio selector configuration." + }, + "nesting_mode": "list", + "max_items": 1 + } + }, + "description": "Specifies the audio selector configuration." + }, + "nesting_mode": "list" + }, + "failover_conditions": { + "block": { + "attributes": { + "input_loss_threshold_msec": { + "type": "number", + "description": "Specifies the duration threshold of inflow stop.", + "optional": true, + "computed": true + }, + "input_preference": { + "type": "string", + "description": "Specifies the input preference type.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the configuration of switching between primary and backup audio and video\nstream URLs." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "secondary_sources": { + "block": { + "attributes": { + "backup_urls": { + "type": [ + "list", + "string" + ], + "description": "Specifies the list of backup stream addresses.", + "optional": true, + "computed": true + }, + "bitrate": { + "type": "number", + "description": "Specifies the bitrate.", + "optional": true, + "computed": true + }, + "bitrate_for3u8": { + "type": "bool", + "description": "Specifies whether to use bitrate to fix the bitrate.", + "optional": true, + "computed": true + }, + "height": { + "type": "number", + "description": "Specifies the resolution corresponds to the high value.", + "optional": true, + "computed": true + }, + "latency": { + "type": "number", + "description": "Specifies the streaming delay when the channel type is **SRT_PULL**.", + "optional": true, + "computed": true + }, + "passphrase": { + "type": "string", + "description": "Specifies the encrypted information when the protocol is **SRT_PUSH**.", + "optional": true, + "computed": true + }, + "stream_id": { + "type": "string", + "description": "Specifies the stream ID of the stream pull address when the channel type is **SRT_PULL**.", + "optional": true, + "computed": true + }, + "url": { + "type": "string", + "description": "Specifies the channel source stream URL.", + "optional": true, + "computed": true + }, + "width": { + "type": "number", + "description": "Specifies the resolution corresponds to the width value.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the prepared stream array." + }, + "nesting_mode": "list" + }, + "sources": { + "block": { + "attributes": { + "backup_urls": { + "type": [ + "list", + "string" + ], + "description": "Specifies the list of backup stream addresses.", + "optional": true, + "computed": true + }, + "bitrate": { + "type": "number", + "description": "Specifies the bitrate.", + "optional": true, + "computed": true + }, + "bitrate_for3u8": { + "type": "bool", + "description": "Specifies whether to use bitrate to fix the bitrate.", + "optional": true, + "computed": true + }, + "enable_snapshot": { + "type": "bool", + "description": "Specifies whether to use this stream to take screenshots.", + "optional": true, + "computed": true + }, + "height": { + "type": "number", + "description": "Specifies the resolution corresponds to the high value.", + "optional": true, + "computed": true + }, + "latency": { + "type": "number", + "description": "Specifies the streaming delay when the channel type is **SRT_PULL**.", + "optional": true, + "computed": true + }, + "passphrase": { + "type": "string", + "description": "Specifies the encrypted information when the protocol is **SRT_PUSH**.", + "optional": true, + "computed": true + }, + "stream_id": { + "type": "string", + "description": "Specifies the stream ID of the stream pull address when the channel type is **SRT_PULL**.", + "optional": true, + "computed": true + }, + "url": { + "type": "string", + "description": "Specifies the channel source stream URL, used for external streaming.", + "optional": true, + "computed": true + }, + "width": { + "type": "number", + "description": "Specifies the resolution corresponds to the width value.", + "optional": true, + "computed": true + } + }, + "description": "Specifies the channel main source stream information." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the channel input information." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "record_settings": { + "block": { + "attributes": { + "rollingbuffer_duration": { + "type": "number", + "description": "Specifies the maximum playback recording time.", + "required": true + } + }, + "description": "Specifies the configuration for replaying a recording." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/resources/live_geo_blocking.json b/docs/json/resources/live_geo_blocking.json new file mode 100644 index 0000000000..f21687e450 --- /dev/null +++ b/docs/json/resources/live_geo_blocking.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_live_geo_blocking": { + "block": { + "attributes": { + "app_name": { + "type": "string", + "description": "Specifies the application name.", + "required": true + }, + "area_whitelist": { + "type": [ + "set", + "string" + ], + "description": "Specifies the list of supported areas. An empty list indicates no restriction.", + "required": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the streaming domain name.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "The region in which to create 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/resources/live_https_certificate.json b/docs/json/resources/live_https_certificate.json new file mode 100644 index 0000000000..ae456660f3 --- /dev/null +++ b/docs/json/resources/live_https_certificate.json @@ -0,0 +1,160 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_live_https_certificate": { + "block": { + "attributes": { + "certificate": { + "type": "string", + "description": "Specifies the certificate body.", + "optional": true, + "forcenew": true + }, + "certificate_format": { + "type": "string", + "description": "Specifies the certificate format.", + "optional": true, + "computed": true, + "forcenew": true + }, + "certificate_key": { + "type": "string", + "description": "Specifies the private key", + "optional": true, + "forcenew": true, + "sensitive": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the streaming domain name", + "required": true, + "forcenew": true + }, + "force_redirect": { + "type": "bool", + "description": "Specifies whether to enable redirection.", + "optional": true, + "computed": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to create the resource. If omitted, the provider-level region will be used.", + "computed": true + } + }, + "block_types": { + "gm_certificate": { + "block": { + "attributes": { + "cert_id": { + "type": "string", + "description": "Specifies the SCM certificate ID.", + "optional": true, + "forcenew": true + }, + "cert_name": { + "type": "string", + "description": "Specifies the SCM certificate name.", + "optional": true, + "forcenew": true + }, + "enc_certificate": { + "type": "string", + "description": "Specifies the Chinese (SM) encryption certificate body", + "optional": true, + "forcenew": true + }, + "enc_certificate_key": { + "type": "string", + "description": "Specifies the Chinese (SM) encryption private key", + "optional": true, + "forcenew": true, + "sensitive": true + }, + "sign_certificate": { + "type": "string", + "description": "Specifies the Chinese (SM) signature certificate body", + "optional": true, + "forcenew": true + }, + "sign_certificate_key": { + "type": "string", + "description": "Specifies the Chinese (SM) signature private key", + "optional": true, + "forcenew": true, + "sensitive": true + }, + "source": { + "type": "string", + "description": "Specifies the certificate source.", + "optional": true, + "computed": true, + "forcenew": true + } + }, + "description": "Specifies the GM certificate configuration." + }, + "nesting_mode": "list", + "max_items": 1 + }, + "tls_certificate": { + "block": { + "attributes": { + "cert_id": { + "type": "string", + "description": "Specifies the SCM certificate ID.", + "optional": true, + "forcenew": true + }, + "cert_name": { + "type": "string", + "description": "Specifies the SCM certificate name.", + "optional": true, + "forcenew": true + }, + "certificate": { + "type": "string", + "description": "Specifies the certificate body.", + "optional": true, + "forcenew": true + }, + "certificate_key": { + "type": "string", + "description": "Specifies the private key.", + "optional": true, + "forcenew": true, + "sensitive": true + }, + "source": { + "type": "string", + "description": "Specifies the certificate source.", + "optional": true, + "computed": true, + "forcenew": true + } + }, + "description": "Specifies the TLS certificate configuration." + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/resources/live_referer_validation.json b/docs/json/resources/live_referer_validation.json new file mode 100644 index 0000000000..19ab508e7d --- /dev/null +++ b/docs/json/resources/live_referer_validation.json @@ -0,0 +1,53 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_live_referer_validation": { + "block": { + "attributes": { + "domain_name": { + "type": "string", + "description": "Specifies the streaming domain name to which the referer validation belongs.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "referer_auth_list": { + "type": [ + "list", + "string" + ], + "description": "Specifies the domain name list.", + "required": true + }, + "referer_config_empty": { + "type": "string", + "description": "Specifies whether the referer header is included.", + "required": true + }, + "referer_white_list": { + "type": "string", + "description": "Specifies whether the referer is in the trustlist.", + "required": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/resources/live_url_validation.json b/docs/json/resources/live_url_validation.json new file mode 100644 index 0000000000..457d86e1ec --- /dev/null +++ b/docs/json/resources/live_url_validation.json @@ -0,0 +1,51 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_live_url_validation": { + "block": { + "attributes": { + "auth_type": { + "type": "string", + "description": "Specifies the signing method of the URL validation.", + "required": true + }, + "domain_name": { + "type": "string", + "description": "Specifies the domain name to which the URL validation belongs.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "key": { + "type": "string", + "description": "Specifies the URL validation key value.", + "required": true, + "sensitive": true + }, + "region": { + "type": "string", + "computed": true + }, + "timeout": { + "type": "number", + "description": "Specifies the timeout interval of URL validation.", + "required": true + } + } + }, + "product": { + "short": "Live", + "name": "Live", + "catalog": "Media Services", + "name_cn": "视频直播", + "catalog_cn": "视频" + } + } + } + } + } +} diff --git a/docs/json/resources/rms_assignment_package.json b/docs/json/resources/rms_assignment_package.json index e735d2d108..61e4e38452 100644 --- a/docs/json/resources/rms_assignment_package.json +++ b/docs/json/resources/rms_assignment_package.json @@ -24,8 +24,7 @@ "name": { "type": "string", "description": "Specifies the assignment package name.", - "required": true, - "forcenew": true + "required": true }, "stack_id": { "type": "string", @@ -83,8 +82,7 @@ }, "description": "Specifies the parameters of an assignment package." }, - "nesting_mode": "set", - "forcenew": true + "nesting_mode": "set" } } },