diff --git a/docs/json/data-sources/aom_aggregation_metrics.json b/docs/json/data-sources/aom_aggregation_metrics.json new file mode 100644 index 0000000000..6faecfdec0 --- /dev/null +++ b/docs/json/data-sources/aom_aggregation_metrics.json @@ -0,0 +1,45 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_aggregation_metrics": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "service_metrics": { + "type": [ + "list", + [ + "object", + { + "metrics": [ + "list", + "string" + ], + "service": "string" + } + ] + ], + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/aom_alarm_rules.json b/docs/json/data-sources/aom_alarm_rules.json new file mode 100644 index 0000000000..0765830494 --- /dev/null +++ b/docs/json/data-sources/aom_alarm_rules.json @@ -0,0 +1,231 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_alarm_rules": { + "block": { + "attributes": { + "alarm_rule_name": { + "type": "string", + "optional": true + }, + "alarm_rule_status": { + "type": "string", + "optional": true + }, + "alarm_rule_type": { + "type": "string", + "optional": true + }, + "alarm_rules": { + "type": [ + "list", + [ + "object", + { + "alarm_notifications": [ + "list", + [ + "object", + { + "bind_notification_rule_id": "string", + "notification_enable": "bool", + "notification_type": "string", + "notify_frequency": "string", + "notify_resolved": "bool", + "notify_triggered": "bool", + "route_group_enable": "bool", + "route_group_rule": "string" + } + ] + ], + "alarm_rule_id": "string", + "created_at": "string", + "description": "string", + "enable": "bool", + "enterprise_project_id": "string", + "event_alarm_spec": [ + "list", + [ + "object", + { + "alarm_source": "string", + "event_source": "string", + "monitor_objects": [ + "list", + [ + "map", + "string" + ] + ], + "trigger_conditions": [ + "list", + [ + "object", + { + "aggregation_window": "number", + "event_name": "string", + "frequency": "string", + "operator": "string", + "thresholds": [ + "map", + "number" + ], + "trigger_type": "string" + } + ] + ] + } + ] + ], + "metric_alarm_spec": [ + "list", + [ + "object", + { + "alarm_tags": [ + "list", + [ + "object", + { + "auto_tags": [ + "list", + "string" + ], + "custom_annotations": [ + "list", + "string" + ], + "custom_tags": [ + "list", + "string" + ] + } + ] + ], + "monitor_objects": [ + "list", + [ + "map", + "string" + ] + ], + "monitor_type": "string", + "no_data_conditions": [ + "list", + [ + "object", + { + "no_data_alert_state": "string", + "no_data_timeframe": "number", + "notify_no_data": "bool" + } + ] + ], + "recovery_conditions": [ + "list", + [ + "object", + { + "recovery_timeframe": "number" + } + ] + ], + "trigger_conditions": [ + "list", + [ + "object", + { + "aggregate_type": "string", + "aggregation_type": "string", + "aggregation_window": "string", + "aom_monitor_level": "string", + "expression": "string", + "metric_labels": [ + "list", + "string" + ], + "metric_name": "string", + "metric_namespace": "string", + "metric_query_mode": "string", + "metric_statistic_method": "string", + "metric_unit": "string", + "mix_promql": "string", + "operator": "string", + "promql": "string", + "promql_expr": [ + "set", + "string" + ], + "promql_for": "string", + "query_match": "string", + "query_param": "string", + "thresholds": [ + "map", + "string" + ], + "trigger_interval": "string", + "trigger_times": "string", + "trigger_type": "string" + } + ] + ] + } + ] + ], + "name": "string", + "prom_instance_id": "string", + "status": "string", + "type": "string", + "updated_at": "string" + } + ] + ], + "computed": true + }, + "bind_notification_rule_id": { + "type": "string", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true + }, + "event_severity": { + "type": "string", + "optional": true + }, + "event_source": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "prom_instance_id": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "computed": true + }, + "related_cce_clusters": { + "type": "string", + "optional": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/aom_alarm_rules_templates.json b/docs/json/data-sources/aom_alarm_rules_templates.json new file mode 100644 index 0000000000..a8c6b1a39b --- /dev/null +++ b/docs/json/data-sources/aom_alarm_rules_templates.json @@ -0,0 +1,247 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_alarm_rules_templates": { + "block": { + "attributes": { + "enterprise_project_id": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "template_id": { + "type": "string", + "optional": true + }, + "templates": { + "type": [ + "list", + [ + "object", + { + "alarm_template_spec_list": [ + "list", + [ + "object", + { + "alarm_notification": [ + "list", + [ + "object", + { + "bind_notification_rule_id": "string", + "notification_enable": "bool", + "notification_type": "string", + "notify_frequency": "string", + "notify_resolved": "bool", + "notify_triggered": "bool", + "route_group_enable": "bool", + "route_group_rule": "string" + } + ] + ], + "alarm_template_spec_items": [ + "list", + [ + "object", + { + "alarm_rule_description": "string", + "alarm_rule_name": "string", + "alarm_rule_type": "string", + "event_alarm_spec": [ + "list", + [ + "object", + { + "alarm_source": "string", + "alarm_subtype": "string", + "event_source": "string", + "monitor_object_templates": [ + "list", + "string" + ], + "monitor_objects": [ + "list", + [ + "map", + "string" + ] + ], + "trigger_conditions": [ + "list", + [ + "object", + { + "aggregation_window": "number", + "event_name": "string", + "frequency": "string", + "operator": "string", + "thresholds": [ + "map", + "number" + ], + "trigger_type": "string" + } + ] + ] + } + ] + ], + "metric_alarm_spec": [ + "list", + [ + "object", + { + "alarm_source": "string", + "alarm_subtype": "string", + "alarm_tags": [ + "list", + [ + "object", + { + "auto_tags": [ + "list", + "string" + ], + "custom_annotations": [ + "list", + "string" + ], + "custom_tags": [ + "list", + "string" + ] + } + ] + ], + "monitor_type": "string", + "no_data_conditions": [ + "list", + [ + "object", + { + "no_data_alert_state": "string", + "no_data_timeframe": "number", + "notify_no_data": "bool" + } + ] + ], + "recovery_conditions": [ + "list", + [ + "object", + { + "recovery_timeframe": "number" + } + ] + ], + "trigger_conditions": [ + "list", + [ + "object", + { + "aggregate_type": "string", + "aggregation_type": "string", + "aggregation_window": "string", + "aom_monitor_level": "string", + "expression": "string", + "metric_labels": [ + "list", + "string" + ], + "metric_name": "string", + "metric_namespace": "string", + "metric_query_mode": "string", + "metric_statistic_method": "string", + "metric_unit": "string", + "mix_promql": "string", + "operator": "string", + "promql": "string", + "promql_expr": [ + "list", + "string" + ], + "promql_for": "string", + "query_match": "string", + "thresholds": [ + "map", + "string" + ], + "trigger_interval": "string", + "trigger_times": "string", + "trigger_type": "string" + } + ] + ] + } + ] + ] + } + ] + ], + "related_cce_clusters": [ + "list", + "string" + ], + "related_cloud_service": "string", + "related_prometheus_instances": [ + "list", + "string" + ] + } + ] + ], + "created_at": "string", + "description": "string", + "enterprise_project_id": "string", + "id": "string", + "name": "string", + "templating": [ + "list", + [ + "object", + { + "list": [ + "list", + [ + "object", + { + "description": "string", + "name": "string", + "query": "string", + "type": "string" + } + ] + ] + } + ] + ], + "type": "string", + "updated_at": "string" + } + ] + ], + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/aom_dashboards.json b/docs/json/data-sources/aom_dashboards.json new file mode 100644 index 0000000000..fd1a0504e8 --- /dev/null +++ b/docs/json/data-sources/aom_dashboards.json @@ -0,0 +1,69 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_dashboards": { + "block": { + "attributes": { + "dashboard_type": { + "type": "string", + "optional": true + }, + "dashboards": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "created_by": "string", + "dashboard_tags": [ + "list", + [ + "map", + "string" + ] + ], + "dashboard_title": "string", + "dashboard_title_en": "string", + "dashboard_type": "string", + "display": "bool", + "enterprise_project_id": "string", + "folder_id": "string", + "folder_title": "string", + "id": "string", + "is_favorite": "bool", + "updated_at": "string", + "updated_by": "string", + "version": "string" + } + ] + ], + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/aom_dashboards_folders.json b/docs/json/data-sources/aom_dashboards_folders.json new file mode 100644 index 0000000000..1a4a1fa6e7 --- /dev/null +++ b/docs/json/data-sources/aom_dashboards_folders.json @@ -0,0 +1,57 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_dashboards_folders": { + "block": { + "attributes": { + "enterprise_project_id": { + "type": "string", + "optional": true + }, + "folders": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "created_by": "string", + "dashboard_ids": [ + "list", + "string" + ], + "display": "bool", + "enterprise_project_id": "string", + "folder_title": "string", + "folder_title_en": "string", + "id": "string", + "is_template": "bool", + "updated_at": "string" + } + ] + ], + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/aom_organization_accounts.json b/docs/json/data-sources/aom_organization_accounts.json new file mode 100644 index 0000000000..4417a648c9 --- /dev/null +++ b/docs/json/data-sources/aom_organization_accounts.json @@ -0,0 +1,45 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_aom_organization_accounts": { + "block": { + "attributes": { + "accounts": { + "type": [ + "list", + [ + "object", + { + "id": "string", + "join_method": "string", + "joined_at": "string", + "name": "string", + "urn": "string" + } + ] + ], + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/cce_node.json b/docs/json/data-sources/cce_node.json index 69c74d7caa..049ee491ed 100644 --- a/docs/json/data-sources/cce_node.json +++ b/docs/json/data-sources/cce_node.json @@ -38,6 +38,10 @@ "type": "string", "computed": true }, + "enterprise_project_id": { + "type": "string", + "computed": true + }, "flavor_id": { "type": "string", "computed": true diff --git a/docs/json/data-sources/cce_node_pool.json b/docs/json/data-sources/cce_node_pool.json index 7af1f564d1..8cd50ef878 100644 --- a/docs/json/data-sources/cce_node_pool.json +++ b/docs/json/data-sources/cce_node_pool.json @@ -34,6 +34,10 @@ ], "computed": true }, + "enterprise_project_id": { + "type": "string", + "computed": true + }, "extend_param": { "type": [ "map", diff --git a/docs/json/data-sources/cce_nodes.json b/docs/json/data-sources/cce_nodes.json index 7deee39781..969efea4f3 100644 --- a/docs/json/data-sources/cce_nodes.json +++ b/docs/json/data-sources/cce_nodes.json @@ -55,6 +55,7 @@ ] ], "ecs_group_id": "string", + "enterprise_project_id": "string", "flavor_id": "string", "id": "string", "key_pair": "string", diff --git a/docs/json/data-sources/ccm_private_certificate_export.json b/docs/json/data-sources/ccm_private_certificate_export.json index 568da166ba..9adf7c7904 100644 --- a/docs/json/data-sources/ccm_private_certificate_export.json +++ b/docs/json/data-sources/ccm_private_certificate_export.json @@ -15,8 +15,7 @@ }, "certificate_id": { "type": "string", - "required": true, - "forcenew": true + "required": true }, "enc_certificate": { "type": "string", @@ -68,8 +67,7 @@ }, "type": { "type": "string", - "required": true, - "forcenew": true + "required": true } } }, diff --git a/docs/json/data-sources/ces_alarm_templates.json b/docs/json/data-sources/ces_alarm_templates.json new file mode 100644 index 0000000000..9808c7a6fd --- /dev/null +++ b/docs/json/data-sources/ces_alarm_templates.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ces_alarm_templates": { + "block": { + "attributes": { + "alarm_templates": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "description": "string", + "name": "string", + "template_id": "string", + "type": "string" + } + ] + ], + "description": "The alarm template list.", + "computed": true + }, + "dimension_name": { + "type": "string", + "description": "Specifies the resource dimension.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the name of an alarm template.", + "optional": true + }, + "namespace": { + "type": "string", + "description": "Specifies the namespace of a service.", + "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 + }, + "type": { + "type": "string", + "description": "Specifies the alarm template type.", + "optional": true + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ces_dashboard_widgets.json b/docs/json/data-sources/ces_dashboard_widgets.json new file mode 100644 index 0000000000..588d5d6936 --- /dev/null +++ b/docs/json/data-sources/ces_dashboard_widgets.json @@ -0,0 +1,106 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ces_dashboard_widgets": { + "block": { + "attributes": { + "dashboard_id": { + "type": "string", + "description": "Specifies the dashboard ID.", + "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 + }, + "widgets": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "location": [ + "list", + [ + "object", + { + "height": "number", + "left": "number", + "top": "number", + "width": "number" + } + ] + ], + "metric_display_mode": "string", + "metrics": [ + "list", + [ + "object", + { + "alias": [ + "list", + "string" + ], + "dimensions": [ + "list", + [ + "object", + { + "filter_type": "string", + "name": "string", + "values": [ + "list", + "string" + ] + } + ] + ], + "metric_name": "string", + "namespace": "string" + } + ] + ], + "properties": [ + "list", + [ + "object", + { + "filter": "string", + "order": "string", + "top_n": "number" + } + ] + ], + "threshold": "number", + "threshold_enabled": "bool", + "title": "string", + "unit": "string", + "view": "string", + "widget_id": "string" + } + ] + ], + "description": "The dashboard widget list.", + "computed": true + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ces_dashboards.json b/docs/json/data-sources/ces_dashboards.json new file mode 100644 index 0000000000..e76f2fe612 --- /dev/null +++ b/docs/json/data-sources/ces_dashboards.json @@ -0,0 +1,69 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ces_dashboards": { + "block": { + "attributes": { + "dashboard_id": { + "type": "string", + "description": "Specifies the dashboard ID.", + "optional": true + }, + "dashboards": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "creator_name": "string", + "dashboard_id": "string", + "enterprise_project_id": "string", + "is_favorite": "bool", + "name": "string", + "row_widget_num": "number" + } + ] + ], + "description": "The dashboard list.", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "description": "Specifies the enterprise project ID.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "is_favorite": { + "type": "bool", + "description": "Specifies whether a dashboard in an enterprise project is added to favorites.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the dashboard 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": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ces_events.json b/docs/json/data-sources/ces_events.json new file mode 100644 index 0000000000..24525101c0 --- /dev/null +++ b/docs/json/data-sources/ces_events.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ces_events": { + "block": { + "attributes": { + "events": { + "type": [ + "list", + [ + "object", + { + "event_count": "number", + "event_name": "string", + "event_type": "string", + "latest_event_source": "string", + "latest_occur_time": "string" + } + ] + ], + "description": "The event records.", + "computed": true + }, + "from": { + "type": "string", + "description": "Specifies the start time of the query.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the event 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 + }, + "to": { + "type": "string", + "description": "Specifies the end time of the query.", + "optional": true + }, + "type": { + "type": "string", + "description": "Specifies the event type.", + "optional": true + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/ces_resource_group_service_resources.json b/docs/json/data-sources/ces_resource_group_service_resources.json new file mode 100644 index 0000000000..22bca83526 --- /dev/null +++ b/docs/json/data-sources/ces_resource_group_service_resources.json @@ -0,0 +1,78 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_ces_resource_group_service_resources": { + "block": { + "attributes": { + "dim_name": { + "type": "string", + "description": "Specifies the dimension name.", + "optional": true + }, + "dim_value": { + "type": "string", + "description": "Specifies the dimension value. Fuzzy match is not supported.", + "optional": true + }, + "group_id": { + "type": "string", + "description": "Specifies the resource group ID.", + "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 + }, + "resources": { + "type": [ + "list", + [ + "object", + { + "dimensions": [ + "list", + [ + "object", + { + "name": "string", + "value": "string" + } + ] + ], + "status": "string" + } + ] + ], + "description": "The resources in a resource group.", + "computed": true + }, + "service": { + "type": "string", + "description": "Specifies the service type.", + "required": true + }, + "status": { + "type": "string", + "description": "Specifies the health status.", + "optional": true + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/cfw_access_control_logs.json b/docs/json/data-sources/cfw_access_control_logs.json index 1e78bf2a79..1ebecb889c 100644 --- a/docs/json/data-sources/cfw_access_control_logs.json +++ b/docs/json/data-sources/cfw_access_control_logs.json @@ -15,6 +15,11 @@ "description": "Specifies the application protocol.", "optional": true }, + "dst_city_name": { + "type": "string", + "description": "Specifies the destination city name.", + "optional": true + }, "dst_ip": { "type": "string", "description": "Specifies the destination IP address.", @@ -25,6 +30,11 @@ "description": "Specifies the destination port.", "optional": true }, + "dst_province_name": { + "type": "string", + "description": "Specifies the destination province name.", + "optional": true + }, "dst_region_name": { "type": "string", "description": "Specifies the destination region name.", @@ -37,7 +47,7 @@ }, "enterprise_project_id": { "type": "string", - "description": "Specifies the enterprise project id.", + "description": "Specifies the enterprise project ID.", "optional": true }, "fw_instance_id": { @@ -57,9 +67,13 @@ { "action": "string", "app": "string", + "dst_city_id": "string", + "dst_city_name": "string", "dst_host": "string", "dst_ip": "string", "dst_port": "number", + "dst_province_id": "string", + "dst_province_name": "string", "dst_region_id": "string", "dst_region_name": "string", "hit_time": "string", @@ -67,8 +81,12 @@ "protocol": "string", "rule_id": "string", "rule_name": "string", + "src_city_id": "string", + "src_city_name": "string", "src_ip": "string", "src_port": "number", + "src_province_id": "string", + "src_province_name": "string", "src_region_id": "string", "src_region_name": "string" } @@ -87,6 +105,11 @@ "description": "Specifies the rule name.", "optional": true }, + "src_city_name": { + "type": "string", + "description": "Specifies the source city name.", + "optional": true + }, "src_ip": { "type": "string", "description": "Specifies the source IP address.", @@ -97,6 +120,11 @@ "description": "Specifies the source port.", "optional": true }, + "src_province_name": { + "type": "string", + "description": "Specifies the source province name.", + "optional": true + }, "src_region_name": { "type": "string", "description": "Specifies the source region name.", diff --git a/docs/json/data-sources/cfw_attack_logs.json b/docs/json/data-sources/cfw_attack_logs.json index b691b34628..c9f256b2c5 100644 --- a/docs/json/data-sources/cfw_attack_logs.json +++ b/docs/json/data-sources/cfw_attack_logs.json @@ -25,6 +25,11 @@ "description": "Specifies the intrusion event type.", "optional": true }, + "dst_city_name": { + "type": "string", + "description": "Specifies the destination city name.", + "optional": true + }, "dst_ip": { "type": "string", "description": "Specifies the destination IP address.", @@ -35,6 +40,11 @@ "description": "Specifies the destination port.", "optional": true }, + "dst_province_name": { + "type": "string", + "description": "Specifies the destination province name.", + "optional": true + }, "dst_region_name": { "type": "string", "description": "Specifies the destination region name.", @@ -81,8 +91,12 @@ "attack_rule_id": "string", "attack_type": "string", "direction": "string", + "dst_city_id": "string", + "dst_city_name": "string", "dst_ip": "string", "dst_port": "number", + "dst_province_id": "string", + "dst_province_name": "string", "dst_region_id": "string", "dst_region_name": "string", "event_time": "string", @@ -106,8 +120,12 @@ ], "protocol": "string", "source": "string", + "src_city_id": "string", + "src_city_name": "string", "src_ip": "string", "src_port": "number", + "src_province_id": "string", + "src_province_name": "string", "src_region_id": "string", "src_region_name": "string" } @@ -121,6 +139,11 @@ "description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.", "computed": true }, + "src_city_name": { + "type": "string", + "description": "Specifies the source city name.", + "optional": true + }, "src_ip": { "type": "string", "description": "Specifies the source IP address.", @@ -131,6 +154,11 @@ "description": "Specifies the source port.", "optional": true }, + "src_province_name": { + "type": "string", + "description": "Specifies the source province name.", + "optional": true + }, "src_region_name": { "type": "string", "description": "Specifies the source region name.", diff --git a/docs/json/data-sources/cfw_flow_logs.json b/docs/json/data-sources/cfw_flow_logs.json index 3886d1c026..3b1fe54d75 100644 --- a/docs/json/data-sources/cfw_flow_logs.json +++ b/docs/json/data-sources/cfw_flow_logs.json @@ -15,6 +15,11 @@ "description": "Specifies the direction. The values can be **out2in** and **in2out**.", "optional": true }, + "dst_city_name": { + "type": "string", + "description": "Specifies the destination city name.", + "optional": true + }, "dst_ip": { "type": "string", "description": "Specifies the destination IP address.", @@ -25,6 +30,11 @@ "description": "Specifies the destination port.", "optional": true }, + "dst_province_name": { + "type": "string", + "description": "Specifies the destination province name.", + "optional": true + }, "dst_region_name": { "type": "string", "description": "Specifies the destination region name.", @@ -58,17 +68,25 @@ "app": "string", "bytes": "number", "direction": "string", + "dst_city_id": "string", + "dst_city_name": "string", "dst_host": "string", "dst_ip": "string", "dst_port": "number", + "dst_province_id": "string", + "dst_province_name": "string", "dst_region_id": "string", "dst_region_name": "string", "end_time": "string", "log_id": "string", "packets": "number", "protocol": "string", + "src_city_id": "string", + "src_city_name": "string", "src_ip": "string", "src_port": "number", + "src_province_id": "string", + "src_province_name": "string", "src_region_id": "string", "src_region_name": "string", "start_time": "string" @@ -83,6 +101,11 @@ "description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.", "computed": true }, + "src_city_name": { + "type": "string", + "description": "Specifies the source city name.", + "optional": true + }, "src_ip": { "type": "string", "description": "Specifies the source IP address.", @@ -93,6 +116,11 @@ "description": "Specifies the source port.", "optional": true }, + "src_province_name": { + "type": "string", + "description": "Specifies the source province name.", + "optional": true + }, "src_region_name": { "type": "string", "description": "Specifies the source region name.", diff --git a/docs/json/data-sources/csms_secret_versions.json b/docs/json/data-sources/csms_secret_versions.json new file mode 100644 index 0000000000..e6a598a014 --- /dev/null +++ b/docs/json/data-sources/csms_secret_versions.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_csms_secret_versions": { + "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 + }, + "secret_name": { + "type": "string", + "description": "Specifies the secret name to which the versions belong.", + "required": true + }, + "versions": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "expire_time": "string", + "id": "string", + "kms_key_id": "string", + "secret_name": "string", + "version_stages": [ + "list", + "string" + ] + } + ] + ], + "description": "The list of the versions.", + "computed": true + } + } + }, + "product": { + "short": "CSMS", + "name": "Cloud Secret Management Service", + "catalog": "Security & Compliance", + "name_cn": "数据加密服务-凭据管理", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dataarts_architecture_table_models.json b/docs/json/data-sources/dataarts_architecture_table_models.json new file mode 100644 index 0000000000..503c6851a8 --- /dev/null +++ b/docs/json/data-sources/dataarts_architecture_table_models.json @@ -0,0 +1,151 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dataarts_architecture_table_models": { + "block": { + "attributes": { + "created_by": { + "type": "string", + "description": "Specifies the name of the creator of the table model.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "model_id": { + "type": "string", + "description": "Specifies the model ID to which the table model belongs.", + "required": true + }, + "name": { + "type": "string", + "description": "Specifies the Chinese or English name of the table model.", + "optional": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "description": "Specifies the status of the table model.", + "optional": true + }, + "subject_id": { + "type": "string", + "description": "Specifies the subject ID to which the table model belongs.", + "optional": true + }, + "tables": { + "type": [ + "list", + [ + "object", + { + "attributes": [ + "list", + [ + "object", + { + "code": "string", + "created_at": "string", + "data_type": "string", + "data_type_extend": "string", + "description": "string", + "domain_type": "string", + "extend_field": "bool", + "id": "string", + "is_foreign_key": "bool", + "is_partition_key": "bool", + "is_primary_key": "bool", + "name": "string", + "name_en": "string", + "not_null": "bool", + "ordinal": "number", + "stand_row_id": "string", + "updated_at": "string" + } + ] + ], + "business_asset_status": "string", + "catalog_path": "string", + "code": "string", + "compression": "string", + "configs": "string", + "created_at": "string", + "created_by": "string", + "data_format": "string", + "data_quality_status": "string", + "db_name": "string", + "description": "string", + "dev_physical_table_status": "string", + "dev_version": "string", + "dirty_out_database": "string", + "dirty_out_prefix": "string", + "dirty_out_suffix": "string", + "dirty_out_switch": "bool", + "distribute": "string", + "distribute_column": "string", + "dlf_task_id": "string", + "dw_id": "string", + "dw_type": "string", + "env_type": "string", + "extend_info": "string", + "has_related_logic_table": "bool", + "has_related_physical_table": "bool", + "id": "string", + "is_partition": "bool", + "logic_tb_guid": "string", + "logic_tb_id": "string", + "meta_data_link_status": "string", + "model_id": "string", + "obs_location": "string", + "owner": "string", + "parent_table_code": "string", + "parent_table_id": "string", + "parent_table_name": "string", + "partition_conf": "string", + "physical_table_name": "string", + "physical_table_status": "string", + "prod_version": "string", + "queue_name": "string", + "related_logic_table_id": "string", + "schema": "string", + "status": "string", + "subject_id": "string", + "summary_status": "string", + "table_name": "string", + "table_type": "string", + "tb_guid": "string", + "tb_id": "string", + "technical_asset_status": "string", + "updated_at": "string", + "updated_by": "string", + "use_recently_partition": "bool" + } + ] + ], + "description": "All table models that match the filter parameters.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID of DataArts Architecture.", + "required": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dataarts_dataservice_apps.json b/docs/json/data-sources/dataarts_dataservice_apps.json new file mode 100644 index 0000000000..fdd24cc326 --- /dev/null +++ b/docs/json/data-sources/dataarts_dataservice_apps.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dataarts_dataservice_apps": { + "block": { + "attributes": { + "apps": { + "type": [ + "list", + [ + "object", + { + "app_key": "string", + "app_secret": "string", + "app_type": "string", + "create_user": "string", + "created_at": "string", + "description": "string", + "id": "string", + "name": "string", + "update_user": "string", + "updated_at": "string" + } + ] + ], + "description": "All applications that match the filter parameters.", + "computed": true + }, + "dlm_type": { + "type": "string", + "description": "The type of DLM engine.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the applications to be fuzzy queried.", + "optional": true + }, + "region": { + "type": "string", + "description": "The region where the applications are located.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "The ID of the workspace to which the applications belong.", + "required": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dataarts_dataservice_authorized_apps.json b/docs/json/data-sources/dataarts_dataservice_authorized_apps.json new file mode 100644 index 0000000000..8cd555e163 --- /dev/null +++ b/docs/json/data-sources/dataarts_dataservice_authorized_apps.json @@ -0,0 +1,74 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dataarts_dataservice_authorized_apps": { + "block": { + "attributes": { + "api_id": { + "type": "string", + "description": "The ID of the API used to authorize the APPs.", + "required": true + }, + "apps": { + "type": [ + "list", + [ + "object", + { + "approved_at": "string", + "expired_at": "string", + "id": "string", + "instance_id": "string", + "instance_name": "string", + "name": "string", + "relationship_type": "string", + "static_params": [ + "list", + [ + "object", + { + "name": "string", + "value": "string" + } + ] + ] + } + ] + ], + "description": "All APPs authorized by API.", + "computed": true + }, + "dlm_type": { + "type": "string", + "description": "The type of DLM engine.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "The region where the API is located.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "The ID of the workspace to which the API belongs.", + "required": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dataarts_quality_tasks.json b/docs/json/data-sources/dataarts_quality_tasks.json new file mode 100644 index 0000000000..4f0c4d20b9 --- /dev/null +++ b/docs/json/data-sources/dataarts_quality_tasks.json @@ -0,0 +1,81 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dataarts_quality_tasks": { + "block": { + "attributes": { + "category_id": { + "type": "string", + "description": "The category ID to which the quality tasks belong.", + "optional": true + }, + "creator": { + "type": "string", + "description": "The name of the quality task creator.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The name of the quality task.", + "optional": true + }, + "region": { + "type": "string", + "description": "The region where the quality tasks are located.", + "computed": true + }, + "schedule_status": { + "type": "string", + "description": "The schedule status of the quality task.", + "optional": true + }, + "start_time": { + "type": "string", + "description": "The start time of the query interval for the most recent run time.", + "optional": true + }, + "tasks": { + "type": [ + "list", + [ + "object", + { + "category_id": "string", + "created_at": "string", + "creator": "string", + "id": "number", + "last_run_time": "string", + "name": "string", + "schedule_interval": "string", + "schedule_period": "string", + "schedule_status": "string" + } + ] + ], + "description": "All quality tasks that match the filter parameters.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "The workspace ID to which the quality tasks belong.", + "required": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dws_alarm_subscriptions.json b/docs/json/data-sources/dws_alarm_subscriptions.json new file mode 100644 index 0000000000..c35dbfadcb --- /dev/null +++ b/docs/json/data-sources/dws_alarm_subscriptions.json @@ -0,0 +1,51 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dws_alarm_subscriptions": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to query the resource.", + "computed": true + }, + "subscriptions": { + "type": [ + "list", + [ + "object", + { + "alarm_level": "string", + "enable": "number", + "id": "string", + "language": "string", + "name": "string", + "notification_target": "string", + "notification_target_name": "string", + "notification_target_type": "string", + "time_zone": "string" + } + ] + ], + "description": "All alarm subscriptions that match the filter parameters.", + "computed": true + } + } + }, + "product": { + "short": "DWS", + "name": "Data Warehouse Service", + "catalog": "Analytics", + "name_cn": "数据仓库服务", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dws_cluster_logs.json b/docs/json/data-sources/dws_cluster_logs.json new file mode 100644 index 0000000000..8c55f531d4 --- /dev/null +++ b/docs/json/data-sources/dws_cluster_logs.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dws_cluster_logs": { + "block": { + "attributes": { + "cluster_id": { + "type": "string", + "description": "Specifies the DWS cluster ID to which the logs belong.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "logs": { + "type": [ + "list", + [ + "object", + { + "access_url": "string", + "description": "string", + "id": "string", + "type": "string" + } + ] + ], + "description": "All LTS logs that match the filter parameters.", + "computed": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.", + "computed": true + }, + "status": { + "type": "string", + "description": "Whether the LTS log function is enabled.", + "computed": true + } + } + }, + "product": { + "short": "DWS", + "name": "Data Warehouse Service", + "catalog": "Analytics", + "name_cn": "数据仓库服务", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dws_snapshot_policies.json b/docs/json/data-sources/dws_snapshot_policies.json new file mode 100644 index 0000000000..5f008491c5 --- /dev/null +++ b/docs/json/data-sources/dws_snapshot_policies.json @@ -0,0 +1,72 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dws_snapshot_policies": { + "block": { + "attributes": { + "cluster_id": { + "type": "string", + "description": "Specifies the DWS cluster ID to which the snapshot policies belong.", + "required": true + }, + "device_name": { + "type": "string", + "description": "The device on which the snapshots are stored.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "keep_day": { + "type": "number", + "description": "The number of days to retain the generated automated snapshot.", + "computed": true + }, + "policies": { + "type": [ + "list", + [ + "object", + { + "backup_level": "string", + "id": "string", + "name": "string", + "next_fire_time": "string", + "strategy": "string", + "type": "string", + "updated_at": "string" + } + ] + ], + "description": "All automated snapshot policies that match the filter parameters.", + "computed": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.", + "computed": true + }, + "server_ips": { + "type": [ + "list", + "string" + ], + "description": "The shared IP addresses of the NFS corresponding to the snapshots.", + "computed": true + } + } + }, + "product": { + "short": "DWS", + "name": "Data Warehouse Service", + "catalog": "Analytics", + "name_cn": "数据仓库服务", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/dws_workload_plans.json b/docs/json/data-sources/dws_workload_plans.json new file mode 100644 index 0000000000..d96355955f --- /dev/null +++ b/docs/json/data-sources/dws_workload_plans.json @@ -0,0 +1,57 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_dws_workload_plans": { + "block": { + "attributes": { + "cluster_id": { + "type": "string", + "description": "Specifies the DWS cluster ID to which the workload plans belong.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "logical_cluster_name": { + "type": "string", + "description": "Specifies the logical cluster name to which the workload plans belong.", + "optional": true + }, + "plans": { + "type": [ + "list", + [ + "object", + { + "cluster_id": "string", + "current_stage_name": "string", + "id": "string", + "name": "string", + "status": "string" + } + ] + ], + "description": "All workload plans that match the filter parameters.", + "computed": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.", + "computed": true + } + } + }, + "product": { + "short": "DWS", + "name": "Data Warehouse Service", + "catalog": "Analytics", + "name_cn": "数据仓库服务", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/data-sources/eg_custom_event_channels.json b/docs/json/data-sources/eg_custom_event_channels.json index 625459c83e..3d2221b122 100644 --- a/docs/json/data-sources/eg_custom_event_channels.json +++ b/docs/json/data-sources/eg_custom_event_channels.json @@ -5,11 +5,6 @@ "huaweicloud_eg_custom_event_channels": { "block": { "attributes": { - "channel_id": { - "type": "string", - "description": "The channel ID used to query specified custom event channel.", - "optional": true - }, "channels": { "type": [ "list", @@ -18,7 +13,7 @@ { "created_at": "string", "cross_account_ids": [ - "set", + "list", "string" ], "description": "string", diff --git a/docs/json/data-sources/eg_event_channels.json b/docs/json/data-sources/eg_event_channels.json new file mode 100644 index 0000000000..d810930197 --- /dev/null +++ b/docs/json/data-sources/eg_event_channels.json @@ -0,0 +1,67 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_eg_event_channels": { + "block": { + "attributes": { + "channels": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "cross_account_ids": [ + "list", + "string" + ], + "description": "string", + "enterprise_project_id": "string", + "id": "string", + "name": "string", + "provider_type": "string", + "updated_at": "string" + } + ] + ], + "description": "All event channels that match the filter parameters.", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "description": "The ID of the enterprise project to which the event channels belong.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "The channel name used to query specified event channel.", + "optional": true + }, + "provider_type": { + "type": "string", + "description": "The type of the event channels to be queried.", + "optional": true + }, + "region": { + "type": "string", + "description": "The region where the event channels are located." + } + } + }, + "product": { + "short": "EG", + "name": "EventGrid", + "catalog": "Middleware", + "name_cn": "事件网格", + "catalog_cn": "应用中间件" + } + } + } + } + } +} diff --git a/docs/json/data-sources/elb_loadbalancers.json b/docs/json/data-sources/elb_loadbalancers.json index 1cf0213984..0d6ad2daed 100644 --- a/docs/json/data-sources/elb_loadbalancers.json +++ b/docs/json/data-sources/elb_loadbalancers.json @@ -55,6 +55,7 @@ "cross_vpc_backend": "bool", "description": "string", "enterprise_project_id": "string", + "gw_flavor_id": "string", "id": "string", "ipv4_address": "string", "ipv4_port_id": "string", @@ -63,6 +64,7 @@ "ipv6_network_id": "string", "l4_flavor_id": "string", "l7_flavor_id": "string", + "loadbalancer_type": "string", "min_l7_flavor_id": "string", "name": "string", "protection_reason": "string", diff --git a/docs/json/data-sources/rms_advanced_query.json b/docs/json/data-sources/rms_advanced_query.json new file mode 100644 index 0000000000..2650714593 --- /dev/null +++ b/docs/json/data-sources/rms_advanced_query.json @@ -0,0 +1,54 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_advanced_query": { + "block": { + "attributes": { + "expression": { + "type": "string", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "query_info": { + "type": [ + "list", + [ + "object", + { + "select_fields": [ + "list", + "string" + ] + } + ] + ], + "computed": true + }, + "results": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_assignment_package_results.json b/docs/json/data-sources/rms_assignment_package_results.json new file mode 100644 index 0000000000..9f2b5792c2 --- /dev/null +++ b/docs/json/data-sources/rms_assignment_package_results.json @@ -0,0 +1,52 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_assignment_package_results": { + "block": { + "attributes": { + "assignment_package_id": { + "type": "string", + "description": "Specifies the assignment package name.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "policy_assignment_name": { + "type": "string", + "description": "Specifies the policy assignment name. Fuzzy search is supported.", + "optional": true + }, + "value": { + "type": [ + "list", + [ + "object", + { + "compliance_state": "string", + "evaluation_time": "string", + "policy_assignment_id": "string", + "policy_assignment_name": "string", + "resource_id": "string" + } + ] + ], + "description": "The details about compliance results of assignments in an assignment package.", + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_assignment_package_scores.json b/docs/json/data-sources/rms_assignment_package_scores.json new file mode 100644 index 0000000000..ab8ed068ad --- /dev/null +++ b/docs/json/data-sources/rms_assignment_package_scores.json @@ -0,0 +1,45 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_assignment_package_scores": { + "block": { + "attributes": { + "assignment_package_name": { + "type": "string", + "description": "Specifies the assignment package name.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "value": { + "type": [ + "list", + [ + "object", + { + "id": "string", + "name": "string", + "score": "string" + } + ] + ], + "description": "The scores of assignment packages.", + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_aggregator_advanced_query.json b/docs/json/data-sources/rms_resource_aggregator_advanced_query.json new file mode 100644 index 0000000000..056e9e4127 --- /dev/null +++ b/docs/json/data-sources/rms_resource_aggregator_advanced_query.json @@ -0,0 +1,59 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_aggregator_advanced_query": { + "block": { + "attributes": { + "aggregator_id": { + "type": "string", + "description": "Specifies the resource aggregator ID.", + "required": true + }, + "expression": { + "type": "string", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "query_info": { + "type": [ + "list", + [ + "object", + { + "select_fields": [ + "list", + "string" + ] + } + ] + ], + "computed": true + }, + "results": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_aggregator_discovered_resources.json b/docs/json/data-sources/rms_resource_aggregator_discovered_resources.json new file mode 100644 index 0000000000..05263efebc --- /dev/null +++ b/docs/json/data-sources/rms_resource_aggregator_discovered_resources.json @@ -0,0 +1,81 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_aggregator_discovered_resources": { + "block": { + "attributes": { + "aggregator_id": { + "type": "string", + "description": "Specifies the resource aggregator ID.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "resource_type": { + "type": "string", + "optional": true + }, + "resources": { + "type": [ + "list", + [ + "object", + { + "region_id": "string", + "resource_id": "string", + "resource_name": "string", + "service": "string", + "source_account_id": "string", + "type": "string" + } + ] + ], + "computed": true + }, + "service_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "filter": { + "block": { + "attributes": { + "account_id": { + "type": "string", + "optional": true + }, + "region_id": { + "type": "string", + "optional": true + }, + "resource_id": { + "type": "string", + "optional": true + }, + "resource_name": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_aggregator_policy_assignments.json b/docs/json/data-sources/rms_resource_aggregator_policy_assignments.json new file mode 100644 index 0000000000..ffeb9e6148 --- /dev/null +++ b/docs/json/data-sources/rms_resource_aggregator_policy_assignments.json @@ -0,0 +1,86 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_aggregator_policy_assignments": { + "block": { + "attributes": { + "aggregator_id": { + "type": "string", + "description": "Specifies the resource aggregator ID.", + "required": true + }, + "assignments": { + "type": [ + "list", + [ + "object", + { + "account_id": "string", + "account_name": "string", + "compliance": [ + "list", + [ + "object", + { + "compliance_state": "string", + "resource_details": [ + "list", + [ + "object", + { + "compliant_count": "number", + "non_compliant_count": "number" + } + ] + ] + } + ] + ], + "policy_assignment_id": "string", + "policy_assignment_name": "string" + } + ] + ], + "computed": true + }, + "id": { + "type": "string", + "computed": true + } + }, + "block_types": { + "filter": { + "block": { + "attributes": { + "account_id": { + "type": "string", + "optional": true + }, + "compliance_state": { + "type": "string", + "optional": true + }, + "policy_assignment_name": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/rms_resource_aggregator_policy_states.json b/docs/json/data-sources/rms_resource_aggregator_policy_states.json new file mode 100644 index 0000000000..9014303fab --- /dev/null +++ b/docs/json/data-sources/rms_resource_aggregator_policy_states.json @@ -0,0 +1,73 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_rms_resource_aggregator_policy_states": { + "block": { + "attributes": { + "account_id": { + "type": "string", + "optional": true + }, + "aggregator_id": { + "type": "string", + "description": "Specifies the resource aggregator ID.", + "required": true + }, + "compliance_state": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "policy_assignment_name": { + "type": "string", + "optional": true + }, + "resource_id": { + "type": "string", + "optional": true + }, + "resource_name": { + "type": "string", + "optional": true + }, + "states": { + "type": [ + "list", + [ + "object", + { + "compliance_state": "string", + "domain_id": "string", + "evaluation_time": "string", + "policy_assignment_id": "string", + "policy_assignment_name": "string", + "policy_definition_id": "string", + "region_id": "string", + "resource_id": "string", + "resource_name": "string", + "resource_provider": "string", + "resource_type": "string", + "trigger_type": "string" + } + ] + ], + "computed": true + } + } + }, + "product": { + "short": "Config", + "name": "Config", + "catalog": "Management & Governance", + "name_cn": "配置审计", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_alert_rule_templates.json b/docs/json/data-sources/secmaster_alert_rule_templates.json new file mode 100644 index 0000000000..fb87d04719 --- /dev/null +++ b/docs/json/data-sources/secmaster_alert_rule_templates.json @@ -0,0 +1,95 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_alert_rule_templates": { + "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 + }, + "severity": { + "type": [ + "list", + "string" + ], + "description": "Specifies the list of the severity.", + "optional": true + }, + "templates": { + "type": [ + "list", + [ + "object", + { + "custom_properties": [ + "map", + "string" + ], + "data_source": "string", + "event_grouping": "bool", + "id": "string", + "name": "string", + "query": "string", + "query_plan": [ + "list", + [ + "object", + { + "execution_delay": "number", + "overtime_interval": "number", + "query_interval": "number", + "query_interval_unit": "string", + "time_window": "number", + "time_window_unit": "string" + } + ] + ], + "query_type": "string", + "severity": "string", + "triggers": [ + "list", + [ + "object", + { + "accumulated_times": "number", + "expression": "string", + "mode": "string", + "operator": "string", + "severity": "string" + } + ] + ], + "updated_at": "string", + "version": "string" + } + ] + ], + "description": "The alert rule templates.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_alert_rules.json b/docs/json/data-sources/secmaster_alert_rules.json new file mode 100644 index 0000000000..8ea56267f8 --- /dev/null +++ b/docs/json/data-sources/secmaster_alert_rules.json @@ -0,0 +1,123 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_alert_rules": { + "block": { + "attributes": { + "alert_rules": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "created_by": "string", + "custom_properties": [ + "map", + "string" + ], + "deleted_at": "string", + "event_grouping": "bool", + "id": "string", + "name": "string", + "pipeline_id": "string", + "pipeline_name": "string", + "query_plan": [ + "list", + [ + "object", + { + "execution_delay": "number", + "overtime_interval": "number", + "query_interval": "number", + "query_interval_unit": "string", + "time_window": "number", + "time_window_unit": "string" + } + ] + ], + "query_rule": "string", + "query_type": "string", + "severity": "string", + "status": "string", + "triggers": [ + "list", + [ + "object", + { + "accumulated_times": "number", + "expression": "string", + "mode": "string", + "operator": "string", + "severity": "string" + } + ] + ], + "updated_at": "string", + "updated_by": "string" + } + ] + ], + "description": "The alert rules.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the alert rule name. Fuzzy match is supported.", + "optional": true + }, + "pipeline_id": { + "type": "string", + "description": "Specifies the pipeline ID.", + "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 + }, + "rule_id": { + "type": "string", + "description": "Specifies the alert rule ID.", + "optional": true + }, + "severity": { + "type": [ + "list", + "string" + ], + "description": "Specifies the list of the severity.", + "optional": true + }, + "status": { + "type": [ + "list", + "string" + ], + "description": "Specifies the list of the status. The value can be **ENABLED** and **DISABLED**.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_alerts.json b/docs/json/data-sources/secmaster_alerts.json new file mode 100644 index 0000000000..797459a12c --- /dev/null +++ b/docs/json/data-sources/secmaster_alerts.json @@ -0,0 +1,287 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_alerts": { + "block": { + "attributes": { + "alerts": { + "type": [ + "list", + [ + "object", + { + "arrive_time": "string", + "close_comment": "string", + "close_reason": "string", + "count": "number", + "created_at": "string", + "creator": "string", + "data_class_id": "string", + "data_source": [ + "list", + [ + "object", + { + "product_feature": "string", + "product_name": "string", + "source_type": "number" + } + ] + ], + "debugging_data": "string", + "description": "string", + "domain_id": "string", + "environment": [ + "list", + [ + "object", + { + "cross_workspace_id": "string", + "domain_id": "string", + "project_id": "string", + "region_id": "string", + "vendor_type": "string" + } + ] + ], + "file_info": [ + "list", + [ + "object", + { + "file_attr": "string", + "file_content": "string", + "file_hash": "string", + "file_md5": "string", + "file_new_path": "string", + "file_path": "string", + "file_sha256": "string" + } + ] + ], + "first_occurrence_time": "string", + "id": "string", + "labels": "string", + "last_occurrence_time": "string", + "level": "string", + "malware": [ + "list", + [ + "object", + { + "malware_class": "string", + "malware_family": "string" + } + ] + ], + "name": "string", + "network_list": [ + "list", + [ + "object", + { + "dest_domain": "string", + "dest_geo": [ + "list", + [ + "object", + { + "city_code": "string", + "country_code": "string", + "latitude": "number", + "longitude": "number" + } + ] + ], + "dest_ip": "string", + "dest_port": "string", + "direction": "string", + "protocol": "string", + "src_domain": "string", + "src_geo": [ + "list", + [ + "object", + { + "city_code": "string", + "country_code": "string", + "latitude": "number", + "longitude": "number" + } + ] + ], + "src_ip": "string", + "src_port": "string" + } + ] + ], + "owner": "string", + "planned_closure_time": "string", + "process": [ + "list", + [ + "object", + { + "process_child_cmdline": "string", + "process_child_name": "string", + "process_child_path": "string", + "process_child_pid": "number", + "process_child_uid": "number", + "process_cmdline": "string", + "process_launche_time": "string", + "process_name": "string", + "process_parent_cmdline": "string", + "process_parent_name": "string", + "process_parent_path": "string", + "process_parent_pid": "number", + "process_parent_uid": "number", + "process_path": "string", + "process_pid": "number", + "process_terminate_time": "string", + "process_uid": "number" + } + ] + ], + "project_id": "string", + "region_id": "string", + "remediation": [ + "list", + [ + "object", + { + "recommendation": "string", + "url": "string" + } + ] + ], + "resource_list": [ + "list", + [ + "object", + { + "domain_id": "string", + "ep_id": "string", + "ep_name": "string", + "id": "string", + "name": "string", + "project_id": "string", + "provider": "string", + "region_id": "string", + "tags": "string", + "type": "string" + } + ] + ], + "stage": "string", + "status": "string", + "type": [ + "list", + [ + "object", + { + "alert_type": "string", + "category": "string" + } + ] + ], + "updated_at": "string", + "user_info": [ + "list", + [ + "object", + { + "user_id": "string", + "user_name": "string" + } + ] + ], + "verification_status": "string", + "version": "string", + "workspace_id": "string" + } + ] + ], + "description": "The alert list.", + "computed": true + }, + "from_date": { + "type": "string", + "description": "Specifies the search start time.", + "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 + }, + "to_date": { + "type": "string", + "description": "Specifies the search end time.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the ID of the workspace to which the alert belongs.", + "required": true + } + }, + "block_types": { + "condition": { + "block": { + "attributes": { + "logics": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression logic.", + "optional": true + } + }, + "block_types": { + "conditions": { + "block": { + "attributes": { + "data": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression content.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the expression name.", + "optional": true + } + }, + "description": "Specifies the condition expression list." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the search condition expression." + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_baseline_check_results.json b/docs/json/data-sources/secmaster_baseline_check_results.json new file mode 100644 index 0000000000..f246e71609 --- /dev/null +++ b/docs/json/data-sources/secmaster_baseline_check_results.json @@ -0,0 +1,61 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_baseline_check_results": { + "block": { + "attributes": { + "baseline_check_results": { + "type": [ + "list", + "string" + ], + "description": "The list of baseline check result.", + "computed": true + }, + "condition": { + "type": [ + "map", + "string" + ], + "description": "Specifies the condition expression.", + "optional": true + }, + "from_date": { + "type": "string", + "description": "Specifies the start time of the baseline check.", + "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 + }, + "to_date": { + "type": "string", + "description": "Specifies the end time of the baseline check.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_incidents.json b/docs/json/data-sources/secmaster_incidents.json new file mode 100644 index 0000000000..7366a17203 --- /dev/null +++ b/docs/json/data-sources/secmaster_incidents.json @@ -0,0 +1,146 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_incidents": { + "block": { + "attributes": { + "from_date": { + "type": "string", + "description": "Specifies the search start time.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "incidents": { + "type": [ + "list", + [ + "object", + { + "arrive_time": "string", + "close_comment": "string", + "close_reason": "string", + "count": "number", + "created_at": "string", + "creator": "string", + "data_source": [ + "list", + [ + "object", + { + "product_feature": "string", + "product_name": "string", + "source_type": "number" + } + ] + ], + "debugging_data": "string", + "description": "string", + "domain_id": "string", + "first_occurrence_time": "string", + "id": "string", + "ipdrr_phase": "string", + "labels": "string", + "last_occurrence_time": "string", + "level": "string", + "name": "string", + "owner": "string", + "planned_closure_time": "string", + "project_id": "string", + "region_id": "string", + "stage": "string", + "status": "string", + "type": [ + "list", + [ + "object", + { + "category": "string", + "incident_type": "string" + } + ] + ], + "updated_at": "string", + "verification_status": "string", + "version": "string", + "workspace_id": "string" + } + ] + ], + "description": "The incident 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 + }, + "to_date": { + "type": "string", + "description": "Specifies the search end time.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the ID of the workspace to which the incident belongs.", + "required": true + } + }, + "block_types": { + "condition": { + "block": { + "attributes": { + "logics": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression logic.", + "optional": true + } + }, + "block_types": { + "conditions": { + "block": { + "attributes": { + "data": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression content.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the expression name.", + "optional": true + } + }, + "description": "Specifies the condition expression list." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the search condition expression." + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_indicators.json b/docs/json/data-sources/secmaster_indicators.json new file mode 100644 index 0000000000..f64d796e94 --- /dev/null +++ b/docs/json/data-sources/secmaster_indicators.json @@ -0,0 +1,162 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_indicators": { + "block": { + "attributes": { + "data_class_id": { + "type": "string", + "description": "Specifies the data class ID.", + "optional": true + }, + "from_date": { + "type": "string", + "description": "Specifies the search start time.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the indicator IDs.", + "optional": true + }, + "indicators": { + "type": [ + "list", + [ + "object", + { + "confidence": "number", + "created_at": "string", + "data_class_id": "string", + "data_source": [ + "list", + [ + "object", + { + "domain_id": "string", + "project_id": "string", + "region_id": "string", + "source_type": "number" + } + ] + ], + "environment": [ + "list", + [ + "object", + { + "domain_id": "string", + "project_id": "string", + "region_id": "string", + "vendor_type": "string" + } + ] + ], + "first_occurrence_time": "string", + "granularity": "number", + "id": "string", + "is_deleted": "bool", + "last_occurrence_time": "string", + "name": "string", + "project_id": "string", + "revoked": "bool", + "status": "string", + "threat_degree": "string", + "type": [ + "list", + [ + "object", + { + "id": "string", + "indicator_type": "string" + } + ] + ], + "updated_at": "string", + "value": "string", + "workspace_id": "string" + } + ] + ], + "description": "The list of indicators.", + "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 + }, + "to_date": { + "type": "string", + "description": "Specifies the search end time.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the ID of the workspace to which the indicator belongs.", + "required": true + } + }, + "block_types": { + "condition": { + "block": { + "attributes": { + "logics": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression logic.", + "optional": true + } + }, + "block_types": { + "conditions": { + "block": { + "attributes": { + "data": { + "type": [ + "list", + "string" + ], + "description": "Specifies the expression content.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the expression name.", + "optional": true + } + }, + "description": "Specifies the condition expression list." + }, + "nesting_mode": "list" + } + }, + "description": "Specifies the search condition expression." + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_metric_results.json b/docs/json/data-sources/secmaster_metric_results.json new file mode 100644 index 0000000000..fe4132f056 --- /dev/null +++ b/docs/json/data-sources/secmaster_metric_results.json @@ -0,0 +1,112 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_metric_results": { + "block": { + "attributes": { + "cache": { + "type": "string", + "description": "Specifies whether the cache is enabled.", + "optional": true + }, + "field_ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the indicator card IDs.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "interactive_params": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "description": "Specifies the interactive parameters.", + "optional": true + }, + "metric_ids": { + "type": [ + "list", + "string" + ], + "description": "Specifies the metrics IDs.", + "required": true + }, + "metric_results": { + "type": [ + "list", + [ + "object", + { + "data_rows": [ + "list", + [ + "object", + { + "data_row": [ + "list", + "string" + ] + } + ] + ], + "id": "string", + "labels": [ + "list", + "string" + ] + } + ] + ], + "description": "The metric results.", + "computed": true + }, + "params": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "description": "Specifies the parameter list of the metric.", + "optional": true + }, + "region": { + "type": "string", + "description": "Specifies the region in which to query the data source. If omitted, the provider-level region will be used.", + "computed": true + }, + "timespan": { + "type": "string", + "description": "Specifies the time range for querying metrics.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_playbook_instances.json b/docs/json/data-sources/secmaster_playbook_instances.json new file mode 100644 index 0000000000..1967c896bc --- /dev/null +++ b/docs/json/data-sources/secmaster_playbook_instances.json @@ -0,0 +1,121 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_playbook_instances": { + "block": { + "attributes": { + "data_class_name": { + "type": "string", + "description": "Specifies the data class name.", + "optional": true + }, + "data_object_name": { + "type": "string", + "description": "Specifies the data object name.", + "optional": true + }, + "from_date": { + "type": "string", + "description": "Specifies the search start time.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "instances": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "data_class": [ + "list", + [ + "object", + { + "id": "string", + "name": "string" + } + ] + ], + "data_object": [ + "list", + [ + "object", + { + "content": "string", + "created_at": "string", + "data_class_id": "string", + "id": "string", + "name": "string", + "project_id": "string", + "updated_at": "string" + } + ] + ], + "id": "string", + "name": "string", + "playbook": [ + "list", + [ + "object", + { + "id": "string", + "name": "string", + "version": "string", + "version_id": "string" + } + ] + ], + "project_id": "string", + "status": "string", + "trigger_type": "string", + "updated_at": "string" + } + ] + ], + "description": "The playbook instance 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 + }, + "status": { + "type": "string", + "description": "Specifies the playbook instance status.", + "optional": true + }, + "to_date": { + "type": "string", + "description": "Specifies the search end time.", + "optional": true + }, + "trigger_type": { + "type": "string", + "description": "Specifies the triggering type.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_playbook_versions.json b/docs/json/data-sources/secmaster_playbook_versions.json new file mode 100644 index 0000000000..b0c4567573 --- /dev/null +++ b/docs/json/data-sources/secmaster_playbook_versions.json @@ -0,0 +1,89 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_playbook_versions": { + "block": { + "attributes": { + "enabled": { + "type": "string", + "description": "Specifies whether this version is activated.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "playbook_id": { + "type": "string", + "description": "Specifies the playbook ID.", + "required": true + }, + "playbook_versions": { + "type": [ + "list", + [ + "object", + { + "action_strategy": "string", + "approve_name": "string", + "created_at": "string", + "creator_id": "string", + "data_class_id": "string", + "data_class_name": "string", + "data_object_delete": "bool", + "data_object_update": "bool", + "dataobject_create": "bool", + "description": "string", + "enabled": "bool", + "id": "string", + "modifier_id": "string", + "playbook_id": "string", + "project_id": "string", + "rule_enabled": "bool", + "rule_id": "string", + "status": "string", + "trigger_type": "string", + "type": "number", + "updated_at": "string", + "version": "string" + } + ] + ], + "description": "The playbook version 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 + }, + "status": { + "type": "string", + "description": "Specifies the playbook version status.", + "optional": true + }, + "type": { + "type": "string", + "description": "Specifies the version type.", + "optional": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_playbooks.json b/docs/json/data-sources/secmaster_playbooks.json new file mode 100644 index 0000000000..77129f7620 --- /dev/null +++ b/docs/json/data-sources/secmaster_playbooks.json @@ -0,0 +1,85 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_playbooks": { + "block": { + "attributes": { + "data_class_name": { + "type": "string", + "description": "Specifies the data class name.", + "optional": true + }, + "description": { + "type": "string", + "description": "Specifies the playbook description.", + "optional": true + }, + "enabled": { + "type": "string", + "description": "Specifies whether the playbook is enabled. The value can be **true** or **false**.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "description": "Specifies the playbook name.", + "optional": true + }, + "playbooks": { + "type": [ + "list", + [ + "object", + { + "approve_role": "string", + "created_at": "string", + "data_class_id": "string", + "data_class_name": "string", + "description": "string", + "edit_role": "string", + "enabled": "bool", + "id": "string", + "name": "string", + "owner_id": "string", + "project_id": "string", + "reject_version_id": "string", + "unaudited_version_id": "string", + "updated_at": "string", + "user_role": "string", + "version": "string", + "version_id": "string", + "workspace_id": "string" + } + ] + ], + "description": "The playbook 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 + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_workflows.json b/docs/json/data-sources/secmaster_workflows.json new file mode 100644 index 0000000000..197bc6fd14 --- /dev/null +++ b/docs/json/data-sources/secmaster_workflows.json @@ -0,0 +1,96 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_workflows": { + "block": { + "attributes": { + "data_class_id": { + "type": "string", + "description": "Specifies the data class ID.", + "optional": true + }, + "data_class_name": { + "type": "string", + "description": "Specifies the data class name.", + "optional": true + }, + "description": { + "type": "string", + "description": "Specifies the workflow description.", + "optional": true + }, + "enabled": { + "type": "string", + "description": "Specifies whether the version is enabled. The value can be **true** and **false**.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "last_version": { + "type": "string", + "description": "Specifies whether the version is the latest. The value can be **true** and **false**.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the workflow 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 + }, + "type": { + "type": "string", + "description": "Specifies the workflow type.", + "optional": true + }, + "workflows": { + "type": [ + "list", + [ + "object", + { + "approve_role": "string", + "current_approval_version_id": "string", + "current_rejected_version_id": "string", + "data_class_id": "string", + "description": "string", + "edit_role": "string", + "enabled": "bool", + "engine_type": "string", + "id": "string", + "name": "string", + "type": "string", + "use_role": "string", + "version_id": "string", + "workspace_id": "string" + } + ] + ], + "description": "The workflow list.", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "Specifies the workspace ID.", + "required": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/secmaster_workspaces.json b/docs/json/data-sources/secmaster_workspaces.json new file mode 100644 index 0000000000..c8b5923265 --- /dev/null +++ b/docs/json/data-sources/secmaster_workspaces.json @@ -0,0 +1,97 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "data_source_schemas": { + "huaweicloud_secmaster_workspaces": { + "block": { + "attributes": { + "create_time_end": { + "type": "string", + "description": "Specifies the creation end time, for example, 2024-04-2T16:08:09Z+0800.", + "optional": true + }, + "create_time_start": { + "type": "string", + "description": "Specifies the creation start time, for example, 2024-04-26T16:08:09Z+0800.", + "optional": true + }, + "description": { + "type": "string", + "description": "Specifies the workspace description.", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "description": "Specifies the enterprise project ID.", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "ids": { + "type": "string", + "description": "Specifies the workspace IDs, which is separated by commas (,).", + "optional": true + }, + "is_view": { + "type": "string", + "description": "Specifies whether to query the view. The value can be **true** or **false**.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the workspace 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 + }, + "view_bind_id": { + "type": "string", + "description": "Specifies the space ID bound to the view.", + "optional": true + }, + "view_bind_name": { + "type": "string", + "description": "Specifies the space name bound to the view.", + "optional": true + }, + "workspaces": { + "type": [ + "list", + [ + "object", + { + "created_at": "string", + "description": "string", + "enterprise_project_id": "string", + "enterprise_project_name": "string", + "id": "string", + "is_view": "bool", + "name": "string", + "updated_at": "string", + "view_bind_id": "string", + "view_bind_name": "string" + } + ] + ], + "description": "The list of workspaces.", + "computed": true + } + } + }, + "product": { + "short": "SecMaster", + "name": "SecMaster", + "catalog": "Security & Compliance", + "name_cn": "安全云脑", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/data-sources/waf_domains.json b/docs/json/data-sources/waf_domains.json index bc2b1818cf..0610a47584 100644 --- a/docs/json/data-sources/waf_domains.json +++ b/docs/json/data-sources/waf_domains.json @@ -15,6 +15,7 @@ [ "object", { + "access_code": "string", "access_status": "number", "charging_mode": "string", "created_at": "string", diff --git a/docs/json/resources/aom_alarm_rules_template.json b/docs/json/resources/aom_alarm_rules_template.json new file mode 100644 index 0000000000..7643720473 --- /dev/null +++ b/docs/json/resources/aom_alarm_rules_template.json @@ -0,0 +1,440 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_aom_alarm_rules_template": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "type": { + "type": "string", + "required": true + }, + "updated_at": { + "type": "string", + "computed": true + } + }, + "block_types": { + "alarm_template_spec_list": { + "block": { + "attributes": { + "related_cce_clusters": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "related_cloud_service": { + "type": "string", + "optional": true + }, + "related_prometheus_instances": { + "type": [ + "set", + "string" + ], + "optional": true + } + }, + "block_types": { + "alarm_notification": { + "block": { + "attributes": { + "bind_notification_rule_id": { + "type": "string", + "optional": true + }, + "notification_enable": { + "type": "bool", + "optional": true, + "computed": true + }, + "notification_type": { + "type": "string", + "required": true + }, + "notify_frequency": { + "type": "string", + "optional": true, + "computed": true + }, + "notify_resolved": { + "type": "bool", + "optional": true, + "computed": true + }, + "notify_triggered": { + "type": "bool", + "optional": true, + "computed": true + }, + "route_group_enable": { + "type": "bool", + "optional": true, + "computed": true + }, + "route_group_rule": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "alarm_template_spec_items": { + "block": { + "attributes": { + "alarm_rule_description": { + "type": "string", + "optional": true + }, + "alarm_rule_name": { + "type": "string", + "required": true + }, + "alarm_rule_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "event_alarm_spec": { + "block": { + "attributes": { + "alarm_source": { + "type": "string", + "optional": true + }, + "alarm_subtype": { + "type": "string", + "optional": true + }, + "event_source": { + "type": "string", + "optional": true + }, + "monitor_object_templates": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "monitor_objects": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "optional": true + } + }, + "block_types": { + "trigger_conditions": { + "block": { + "attributes": { + "aggregation_window": { + "type": "number", + "optional": true + }, + "event_name": { + "type": "string", + "optional": true + }, + "frequency": { + "type": "string", + "optional": true + }, + "operator": { + "type": "string", + "optional": true + }, + "thresholds": { + "type": [ + "map", + "number" + ], + "optional": true + }, + "trigger_type": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "set" + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "metric_alarm_spec": { + "block": { + "attributes": { + "alarm_source": { + "type": "string", + "optional": true + }, + "alarm_subtype": { + "type": "string", + "optional": true + }, + "monitor_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "alarm_tags": { + "block": { + "attributes": { + "auto_tags": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "custom_annotations": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "custom_tags": { + "type": [ + "set", + "string" + ], + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "no_data_conditions": { + "block": { + "attributes": { + "no_data_alert_state": { + "type": "string", + "optional": true + }, + "no_data_timeframe": { + "type": "number", + "optional": true + }, + "notify_no_data": { + "type": "bool", + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "recovery_conditions": { + "block": { + "attributes": { + "recovery_timeframe": { + "type": "number", + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "trigger_conditions": { + "block": { + "attributes": { + "aggregate_type": { + "type": "string", + "optional": true + }, + "aggregation_type": { + "type": "string", + "optional": true + }, + "aggregation_window": { + "type": "string", + "optional": true + }, + "aom_monitor_level": { + "type": "string", + "optional": true + }, + "expression": { + "type": "string", + "optional": true + }, + "metric_labels": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "metric_name": { + "type": "string", + "optional": true + }, + "metric_namespace": { + "type": "string", + "optional": true + }, + "metric_query_mode": { + "type": "string", + "required": true + }, + "metric_statistic_method": { + "type": "string", + "optional": true + }, + "metric_unit": { + "type": "string", + "optional": true + }, + "mix_promql": { + "type": "string", + "optional": true + }, + "operator": { + "type": "string", + "optional": true + }, + "promql": { + "type": "string", + "optional": true + }, + "promql_expr": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "promql_for": { + "type": "string", + "optional": true + }, + "query_match": { + "type": "string", + "optional": true + }, + "thresholds": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "trigger_interval": { + "type": "string", + "optional": true + }, + "trigger_times": { + "type": "string", + "optional": true + }, + "trigger_type": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "set" + } + } + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "nesting_mode": "set" + } + } + }, + "nesting_mode": "list", + "min_items": 1 + }, + "templating": { + "block": { + "block_types": { + "list": { + "block": { + "attributes": { + "description": { + "type": "string", + "optional": true + }, + "name": { + "type": "string", + "required": true + }, + "query": { + "type": "string", + "optional": true + }, + "type": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "set", + "min_items": 1 + } + } + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/aom_cloud_service_access.json b/docs/json/resources/aom_cloud_service_access.json new file mode 100644 index 0000000000..ffadf1340e --- /dev/null +++ b/docs/json/resources/aom_cloud_service_access.json @@ -0,0 +1,49 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_aom_cloud_service_access": { + "block": { + "attributes": { + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "service": { + "type": "string", + "required": true, + "forcenew": true + }, + "tag_sync": { + "type": "string", + "required": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/aom_dashboard.json b/docs/json/resources/aom_dashboard.json new file mode 100644 index 0000000000..fdb0f50050 --- /dev/null +++ b/docs/json/resources/aom_dashboard.json @@ -0,0 +1,62 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_aom_dashboard": { + "block": { + "attributes": { + "dashboard_tags": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "optional": true + }, + "dashboard_title": { + "type": "string", + "required": true + }, + "dashboard_type": { + "type": "string", + "required": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "folder_title": { + "type": "string", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "is_favorite": { + "type": "bool", + "optional": true, + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/aom_dashboards_folder.json b/docs/json/resources/aom_dashboards_folder.json new file mode 100644 index 0000000000..e28c177286 --- /dev/null +++ b/docs/json/resources/aom_dashboards_folder.json @@ -0,0 +1,58 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_aom_dashboards_folder": { + "block": { + "attributes": { + "created_by": { + "type": "string", + "computed": true + }, + "dashboard_ids": { + "type": [ + "list", + "string" + ], + "computed": true + }, + "delete_all": { + "type": "bool", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "folder_title": { + "type": "string", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "is_template": { + "type": "bool", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "AOM", + "name": "Application Operations Management", + "catalog": "Management & Governance", + "name_cn": "应用运维管理", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/aomv4_alarm_rule.json b/docs/json/resources/aomv4_alarm_rule.json new file mode 100644 index 0000000000..b05b3fbdd7 --- /dev/null +++ b/docs/json/resources/aomv4_alarm_rule.json @@ -0,0 +1,372 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_aomv4_alarm_rule": { + "block": { + "attributes": { + "alarm_rule_id": { + "type": "string", + "computed": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "enable": { + "type": "bool", + "optional": true, + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true, + "forcenew": true + }, + "prom_instance_id": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "type": { + "type": "string", + "required": true, + "forcenew": true + }, + "updated_at": { + "type": "string", + "computed": true + } + }, + "block_types": { + "alarm_notifications": { + "block": { + "attributes": { + "bind_notification_rule_id": { + "type": "string", + "optional": true + }, + "notification_enable": { + "type": "bool", + "optional": true, + "computed": true + }, + "notification_type": { + "type": "string", + "required": true + }, + "notify_frequency": { + "type": "string", + "optional": true, + "computed": true + }, + "notify_resolved": { + "type": "bool", + "optional": true, + "computed": true + }, + "notify_triggered": { + "type": "bool", + "optional": true, + "computed": true + }, + "route_group_enable": { + "type": "bool", + "optional": true, + "computed": true + }, + "route_group_rule": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "event_alarm_spec": { + "block": { + "attributes": { + "alarm_source": { + "type": "string", + "required": true, + "forcenew": true + }, + "event_source": { + "type": "string", + "required": true + }, + "monitor_objects": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "optional": true + } + }, + "block_types": { + "trigger_conditions": { + "block": { + "attributes": { + "aggregation_window": { + "type": "number", + "optional": true + }, + "event_name": { + "type": "string", + "optional": true + }, + "frequency": { + "type": "string", + "optional": true, + "computed": true + }, + "operator": { + "type": "string", + "optional": true + }, + "thresholds": { + "type": [ + "map", + "number" + ], + "optional": true + }, + "trigger_type": { + "type": "string", + "required": true + } + } + }, + "nesting_mode": "set" + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "metric_alarm_spec": { + "block": { + "attributes": { + "monitor_objects": { + "type": [ + "list", + [ + "map", + "string" + ] + ], + "optional": true + }, + "monitor_type": { + "type": "string", + "required": true, + "forcenew": true + } + }, + "block_types": { + "alarm_tags": { + "block": { + "attributes": { + "auto_tags": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "custom_annotations": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "custom_tags": { + "type": [ + "set", + "string" + ], + "optional": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "no_data_conditions": { + "block": { + "attributes": { + "no_data_alert_state": { + "type": "string", + "optional": true + }, + "no_data_timeframe": { + "type": "number", + "optional": true + }, + "notify_no_data": { + "type": "bool", + "optional": true, + "computed": true + } + } + }, + "nesting_mode": "list", + "max_items": 1 + }, + "recovery_conditions": { + "block": { + "attributes": { + "recovery_timeframe": { + "type": "number", + "optional": true + } + } + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "trigger_conditions": { + "block": { + "attributes": { + "aggregate_type": { + "type": "string", + "optional": true + }, + "aggregation_type": { + "type": "string", + "optional": true + }, + "aggregation_window": { + "type": "string", + "optional": true + }, + "aom_monitor_level": { + "type": "string", + "optional": true + }, + "expression": { + "type": "string", + "optional": true + }, + "metric_labels": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "metric_name": { + "type": "string", + "required": true + }, + "metric_namespace": { + "type": "string", + "optional": true + }, + "metric_query_mode": { + "type": "string", + "required": true + }, + "metric_statistic_method": { + "type": "string", + "optional": true + }, + "metric_unit": { + "type": "string", + "optional": true + }, + "mix_promql": { + "type": "string", + "optional": true + }, + "operator": { + "type": "string", + "optional": true + }, + "promql": { + "type": "string", + "required": true + }, + "promql_expr": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "promql_for": { + "type": "string", + "optional": true, + "computed": true + }, + "query_match": { + "type": "string", + "optional": true + }, + "query_param": { + "type": "string", + "optional": true + }, + "thresholds": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "trigger_interval": { + "type": "string", + "optional": true + }, + "trigger_times": { + "type": "string", + "optional": true + }, + "trigger_type": { + "type": "string", + "optional": true + } + } + }, + "nesting_mode": "set" + } + } + }, + "nesting_mode": "list", + "max_items": 1 + } + } + } + } + } + } + } +} diff --git a/docs/json/resources/cce_node.json b/docs/json/resources/cce_node.json index 9460aeaa0d..9dd3adfd45 100644 --- a/docs/json/resources/cce_node.json +++ b/docs/json/resources/cce_node.json @@ -50,6 +50,12 @@ "optional": true, "forcenew": true }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, "fixed_ip": { "type": "string", "optional": true, diff --git a/docs/json/resources/cce_node_attach.json b/docs/json/resources/cce_node_attach.json index cc433d6589..feb1a13650 100644 --- a/docs/json/resources/cce_node_attach.json +++ b/docs/json/resources/cce_node_attach.json @@ -45,6 +45,10 @@ "type": "string", "computed": true }, + "enterprise_project_id": { + "type": "string", + "computed": true + }, "flavor_id": { "type": "string", "computed": true diff --git a/docs/json/resources/cce_node_pool.json b/docs/json/resources/cce_node_pool.json index 91fe1bf30a..89e23dcc45 100644 --- a/docs/json/resources/cce_node_pool.json +++ b/docs/json/resources/cce_node_pool.json @@ -40,6 +40,11 @@ "optional": true, "forcenew": true }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, "flavor_id": { "type": "string", "required": true, diff --git a/docs/json/resources/ccm_private_ca_restore.json b/docs/json/resources/ccm_private_ca_restore.json new file mode 100644 index 0000000000..65fceedf10 --- /dev/null +++ b/docs/json/resources/ccm_private_ca_restore.json @@ -0,0 +1,36 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ccm_private_ca_restore": { + "block": { + "attributes": { + "ca_id": { + "type": "string", + "description": "ID of the CA you want to restore.", + "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": "CCM", + "name": "Cloud Certificate Manager Service", + "catalog": "Security & Compliance", + "name_cn": "云证书管理服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/ccm_private_ca_revoke.json b/docs/json/resources/ccm_private_ca_revoke.json new file mode 100644 index 0000000000..2a877b00a7 --- /dev/null +++ b/docs/json/resources/ccm_private_ca_revoke.json @@ -0,0 +1,39 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ccm_private_ca_revoke": { + "block": { + "attributes": { + "ca_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "reason": { + "type": "string", + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "CCM", + "name": "Cloud Certificate Manager Service", + "catalog": "Security & Compliance", + "name_cn": "云证书管理服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/ccm_private_certificate_revoke.json b/docs/json/resources/ccm_private_certificate_revoke.json new file mode 100644 index 0000000000..bcabdc4bb9 --- /dev/null +++ b/docs/json/resources/ccm_private_certificate_revoke.json @@ -0,0 +1,39 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ccm_private_certificate_revoke": { + "block": { + "attributes": { + "certificate_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "reason": { + "type": "string", + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "CCM", + "name": "Cloud Certificate Manager Service", + "catalog": "Security & Compliance", + "name_cn": "云证书管理服务", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/ces_alarm_template.json b/docs/json/resources/ces_alarm_template.json index a810c29a84..6da9c5baee 100644 --- a/docs/json/resources/ces_alarm_template.json +++ b/docs/json/resources/ces_alarm_template.json @@ -12,7 +12,7 @@ }, "delete_associate_alarm": { "type": "bool", - "description": "Specifies whether delete the alarm rule which the alarm template associated with", + "description": "Specifies whether delete the alarm rule which the alarm template associated with.", "optional": true }, "description": { @@ -35,9 +35,9 @@ "computed": true }, "type": { - "type": "string", - "description": "Indicates the type of the CES alarm template.", - "computed": true + "type": "number", + "description": "Specifies the type of the CES alarm template.", + "optional": true } }, "block_types": { @@ -62,8 +62,8 @@ }, "dimension_name": { "type": "string", - "description": "Specifies the Resource dimension.", - "required": true + "description": "Specifies the resource dimension.", + "optional": true }, "filter": { "type": "string", diff --git a/docs/json/resources/ces_dashboard.json b/docs/json/resources/ces_dashboard.json new file mode 100644 index 0000000000..f9e97b5249 --- /dev/null +++ b/docs/json/resources/ces_dashboard.json @@ -0,0 +1,65 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ces_dashboard": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "description": "The creation time of the dashboard.", + "computed": true + }, + "creator_name": { + "type": "string", + "description": "The creator name of the dashboard.", + "computed": true + }, + "dashboard_id": { + "type": "string", + "description": "Specifies the copied dashboard ID.", + "optional": true + }, + "enterprise_project_id": { + "type": "string", + "description": "Specifies the enterprise project ID of the dashboard.", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "is_favorite": { + "type": "bool", + "description": "Specifies whether the dashboard is favorite.", + "optional": true + }, + "name": { + "type": "string", + "description": "Specifies the dashboard name.", + "required": true + }, + "region": { + "type": "string", + "computed": true + }, + "row_widget_num": { + "type": "number", + "description": "Specifies the monitoring view display mode.", + "required": true + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/ces_dashboard_widget.json b/docs/json/resources/ces_dashboard_widget.json new file mode 100644 index 0000000000..13f6db5f79 --- /dev/null +++ b/docs/json/resources/ces_dashboard_widget.json @@ -0,0 +1,175 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ces_dashboard_widget": { + "block": { + "attributes": { + "created_at": { + "type": "string", + "description": "When the dashboard widget was created.", + "computed": true + }, + "dashboard_id": { + "type": "string", + "description": "Specifies the dashboard ID.", + "required": true + }, + "id": { + "type": "string", + "computed": true + }, + "metric_display_mode": { + "type": "string", + "description": "Specifies how many metrics will be displayed on one widget.", + "required": true + }, + "region": { + "type": "string", + "computed": true + }, + "title": { + "type": "string", + "description": "Specifies the dashboard widget title.", + "required": true + }, + "unit": { + "type": "string", + "description": "Specifies the metric unit.", + "optional": true, + "computed": true + }, + "view": { + "type": "string", + "description": "Specifies the graph type.", + "required": true + } + }, + "block_types": { + "location": { + "block": { + "attributes": { + "height": { + "type": "number", + "description": "Specifies the dashboard widget height.", + "required": true + }, + "left": { + "type": "number", + "description": "Specifies the grids between the widget and the left side of the dashboard.", + "required": true + }, + "top": { + "type": "number", + "description": "Specifies the grids between the widget and the top of the dashboard.", + "required": true + }, + "width": { + "type": "number", + "description": "Specifies the dashboard widget width.", + "required": true + } + }, + "description": "Specifies the dashboard widget coordinates." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + }, + "metrics": { + "block": { + "attributes": { + "alias": { + "type": [ + "list", + "string" + ], + "description": "Specifies the alias list of metrics.", + "optional": true + }, + "metric_name": { + "type": "string", + "description": "Specifies the metric name.", + "required": true + }, + "namespace": { + "type": "string", + "description": "Specifies the cloud service dimension.", + "required": true + } + }, + "block_types": { + "dimensions": { + "block": { + "attributes": { + "filter_type": { + "type": "string", + "description": "Specifies the resource type.", + "required": true + }, + "name": { + "type": "string", + "description": "Specifies the dimension name.", + "required": true + }, + "values": { + "type": [ + "list", + "string" + ], + "description": "Specifies the dimension value list.", + "optional": true + } + }, + "description": "Specifies the dimension list." + }, + "nesting_mode": "list", + "min_items": 1, + "max_items": 1 + } + }, + "description": "Specifies the metric list." + }, + "nesting_mode": "list", + "min_items": 1 + }, + "properties": { + "block": { + "attributes": { + "filter": { + "type": "string", + "description": "Specifies how metric data is aggregated.", + "optional": true, + "computed": true + }, + "order": { + "type": "string", + "description": "Specifies how top n resources by a metric are sorted on a dashboard widget.", + "optional": true, + "computed": true + }, + "top_n": { + "type": "number", + "description": "Specifies the top n resources sorted by a metric.", + "required": true + } + }, + "description": "Specifies additional information" + }, + "nesting_mode": "list", + "max_items": 1 + } + } + }, + "product": { + "short": "CES", + "name": "Cloud Eye", + "catalog": "Management & Governance", + "name_cn": "云监控服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/csms_secret.json b/docs/json/resources/csms_secret.json index 96167ee06c..f40b01b19a 100644 --- a/docs/json/resources/csms_secret.json +++ b/docs/json/resources/csms_secret.json @@ -13,6 +13,18 @@ "type": "string", "optional": true }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, + "event_subscriptions": { + "type": [ + "set", + "string" + ], + "optional": true + }, "expire_time": { "type": "number", "optional": true, @@ -54,6 +66,12 @@ "optional": true, "sensitive": true }, + "secret_type": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, "status": { "type": "string", "computed": true @@ -64,6 +82,13 @@ "string" ], "optional": true + }, + "version_stages": { + "type": [ + "list", + "string" + ], + "computed": true } } }, diff --git a/docs/json/resources/csms_secret_version_state.json b/docs/json/resources/csms_secret_version_state.json new file mode 100644 index 0000000000..08c2d5e7e2 --- /dev/null +++ b/docs/json/resources/csms_secret_version_state.json @@ -0,0 +1,46 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_csms_secret_version_state": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true, + "forcenew": true + }, + "region": { + "type": "string" + }, + "secret_name": { + "type": "string", + "required": true, + "forcenew": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "version_id": { + "type": "string", + "required": true + } + } + }, + "product": { + "short": "CSMS", + "name": "Cloud Secret Management Service", + "catalog": "Security & Compliance", + "name_cn": "数据加密服务-凭据管理", + "catalog_cn": "安全与合规" + } + } + } + } + } +} diff --git a/docs/json/resources/dataarts_architecture_batch_publish.json b/docs/json/resources/dataarts_architecture_batch_publish.json new file mode 100644 index 0000000000..88a0b025d5 --- /dev/null +++ b/docs/json/resources/dataarts_architecture_batch_publish.json @@ -0,0 +1,83 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dataarts_architecture_batch_publish": { + "block": { + "attributes": { + "approver_user_id": { + "type": "string", + "description": "Specifies the user ID of the architecture reviewer.", + "required": true, + "forcenew": true + }, + "approver_user_name": { + "type": "string", + "description": "Specifies the user name of the architecture reviewer.", + "required": true, + "forcenew": true + }, + "fast_approval": { + "type": "bool", + "description": "Specifies whether to automatically review.", + "optional": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "schedule_time": { + "type": "string", + "description": "Specifies scheduling time of the DataArts quality job.", + "optional": true, + "forcenew": true + }, + "workspace_id": { + "type": "string", + "description": "The ID of DataArts Studio workspace.", + "required": true, + "forcenew": true + } + }, + "block_types": { + "biz_infos": { + "block": { + "attributes": { + "biz_id": { + "type": "string", + "description": "Specifies the ID of the object to be published.", + "required": true, + "forcenew": true + }, + "biz_type": { + "type": "string", + "description": "Specifies the type of the object to be published.", + "required": true, + "forcenew": true + } + }, + "description": "Specifies the list of objects to be published." + }, + "nesting_mode": "list", + "forcenew": true, + "min_items": 1 + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/resources/dataarts_architecture_batch_publishment.json b/docs/json/resources/dataarts_architecture_batch_publishment.json index c1e2759372..28f962ec67 100644 --- a/docs/json/resources/dataarts_architecture_batch_publishment.json +++ b/docs/json/resources/dataarts_architecture_batch_publishment.json @@ -17,12 +17,6 @@ "required": true, "forcenew": true }, - "fast_approval": { - "type": "bool", - "description": "Whether to automatically review.", - "optional": true, - "forcenew": true - }, "id": { "type": "string", "computed": true @@ -31,6 +25,12 @@ "type": "string", "computed": true }, + "schedule_time": { + "type": "string", + "description": "Specifies scheduling time of the DataArts quality job.", + "optional": true, + "forcenew": true + }, "workspace_id": { "type": "string", "description": "The ID of DataArts Studio workspace.", @@ -55,7 +55,7 @@ "forcenew": true } }, - "description": "Specifies the list of the business information." + "description": "Specifies the list of objects to be published." }, "nesting_mode": "list", "forcenew": true, diff --git a/docs/json/resources/dataarts_architecture_batch_unpublish.json b/docs/json/resources/dataarts_architecture_batch_unpublish.json new file mode 100644 index 0000000000..eddf43e0f4 --- /dev/null +++ b/docs/json/resources/dataarts_architecture_batch_unpublish.json @@ -0,0 +1,77 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dataarts_architecture_batch_unpublish": { + "block": { + "attributes": { + "approver_user_id": { + "type": "string", + "description": "Specifies the user ID of the architecture reviewer.", + "required": true, + "forcenew": true + }, + "approver_user_name": { + "type": "string", + "description": "Specifies the user name of the architecture reviewer.", + "required": true, + "forcenew": true + }, + "fast_approval": { + "type": "bool", + "description": "Specifies whether to automatically review.", + "optional": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "workspace_id": { + "type": "string", + "description": "The ID of DataArts Studio workspace.", + "required": true, + "forcenew": true + } + }, + "block_types": { + "biz_infos": { + "block": { + "attributes": { + "biz_id": { + "type": "string", + "description": "Specifies the ID of the object to be published.", + "required": true, + "forcenew": true + }, + "biz_type": { + "type": "string", + "description": "Specifies the type of the object to be published.", + "required": true, + "forcenew": true + } + }, + "description": "Specifies the list of objects to be unpublished." + }, + "nesting_mode": "list", + "forcenew": true, + "min_items": 1 + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/resources/dataarts_architecture_table_model.json b/docs/json/resources/dataarts_architecture_table_model.json index 1b6a8a91af..7c57a4ffe3 100644 --- a/docs/json/resources/dataarts_architecture_table_model.json +++ b/docs/json/resources/dataarts_architecture_table_model.json @@ -203,7 +203,7 @@ "computed": true }, "reversed": { - "type": "string", + "type": "bool", "optional": true, "computed": true }, diff --git a/docs/json/resources/dataarts_dataservice_api.json b/docs/json/resources/dataarts_dataservice_api.json index 94a5aa90c6..55fdfa9314 100644 --- a/docs/json/resources/dataarts_dataservice_api.json +++ b/docs/json/resources/dataarts_dataservice_api.json @@ -333,8 +333,7 @@ "example_value": { "type": "string", "description": "The example value of the response parameter.", - "optional": true, - "computed": true + "optional": true }, "field": { "type": "string", diff --git a/docs/json/resources/dataarts_dataservice_api_auth.json b/docs/json/resources/dataarts_dataservice_api_auth.json new file mode 100644 index 0000000000..9d835474c9 --- /dev/null +++ b/docs/json/resources/dataarts_dataservice_api_auth.json @@ -0,0 +1,56 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dataarts_dataservice_api_auth": { + "block": { + "attributes": { + "api_id": { + "type": "string", + "description": "The ID of the published API.", + "required": true, + "forcenew": true + }, + "app_ids": { + "type": [ + "list", + "string" + ], + "description": "The list of application IDs that used to authorize API.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "The exclusive cluster ID to which the published API belongs.", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "description": "The region where the API and APP(s) are located." + }, + "workspace_id": { + "type": "string", + "description": "The workspace ID to which the API and APP(s) belong.", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/resources/dataarts_dataservice_api_auth_action.json b/docs/json/resources/dataarts_dataservice_api_auth_action.json new file mode 100644 index 0000000000..80c0ee3efc --- /dev/null +++ b/docs/json/resources/dataarts_dataservice_api_auth_action.json @@ -0,0 +1,59 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_dataarts_dataservice_api_auth_action": { + "block": { + "attributes": { + "api_id": { + "type": "string", + "description": "The ID of the published API that to be operated.", + "required": true, + "forcenew": true + }, + "app_id": { + "type": "string", + "description": "The ID of the APP to be operated.", + "required": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "The exclusive cluster ID to which the published API belongs.", + "required": true, + "forcenew": true + }, + "region": { + "type": "string", + "description": "The region where the published API and APP to be operated are located." + }, + "type": { + "type": "string", + "description": "The operation type of the authorization.", + "required": true, + "forcenew": true + }, + "workspace_id": { + "type": "string", + "description": "The workspace ID to which the published API and APP to be operated belong.", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "DataArtsStudio", + "name": "DataArts Studio", + "catalog": "Analytics", + "name_cn": "数据治理中心", + "catalog_cn": "大数据" + } + } + } + } + } +} diff --git a/docs/json/resources/dws_cluster.json b/docs/json/resources/dws_cluster.json index 84646d032f..1c1b77bd45 100644 --- a/docs/json/resources/dws_cluster.json +++ b/docs/json/resources/dws_cluster.json @@ -195,8 +195,7 @@ "string" ], "description": "The key/value pairs to associate with the cluster.", - "optional": true, - "computed": true + "optional": true }, "task_status": { "type": "string", @@ -239,8 +238,7 @@ "eip_id": { "type": "string", "description": "The EIP ID.", - "optional": true, - "computed": true + "optional": true }, "public_bind_type": { "type": "string", @@ -251,7 +249,6 @@ } }, "nesting_mode": "list", - "forcenew": true, "max_items": 1 }, "volume": { @@ -269,8 +266,7 @@ "optional": true, "computed": true } - }, - "description": "schema: Required" + } }, "nesting_mode": "list", "forcenew": true, diff --git a/docs/json/resources/elb_certificate_private_key_echo.json b/docs/json/resources/elb_certificate_private_key_echo.json new file mode 100644 index 0000000000..280db55342 --- /dev/null +++ b/docs/json/resources/elb_certificate_private_key_echo.json @@ -0,0 +1,29 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_elb_certificate_private_key_echo": { + "block": { + "attributes": { + "id": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "ELB", + "name": "Elastic Load Balance", + "catalog": "Networking", + "name_cn": "弹性负载均衡", + "catalog_cn": "网络" + } + } + } + } + } +} diff --git a/docs/json/resources/elb_loadbalancer.json b/docs/json/resources/elb_loadbalancer.json index 15c0764b34..701c2fc872 100644 --- a/docs/json/resources/elb_loadbalancer.json +++ b/docs/json/resources/elb_loadbalancer.json @@ -82,6 +82,10 @@ "type": "bool", "computed": true }, + "gw_flavor_id": { + "type": "string", + "computed": true + }, "id": { "type": "string", "computed": true @@ -148,6 +152,12 @@ "optional": true, "computed": true }, + "loadbalancer_type": { + "type": "string", + "optional": true, + "computed": true, + "forcenew": true + }, "name": { "type": "string", "required": true diff --git a/docs/json/resources/gaussdb_mysql_instance.json b/docs/json/resources/gaussdb_mysql_instance.json index 357a9d3cd7..ec40626fb5 100644 --- a/docs/json/resources/gaussdb_mysql_instance.json +++ b/docs/json/resources/gaussdb_mysql_instance.json @@ -107,10 +107,12 @@ }, "port": { "type": "number", + "optional": true, "computed": true }, "private_write_ip": { "type": "string", + "optional": true, "computed": true }, "read_replicas": { @@ -125,7 +127,7 @@ "security_group_id": { "type": "string", "optional": true, - "forcenew": true + "computed": true }, "sql_filter_enabled": { "type": "bool", diff --git a/docs/json/resources/gaussdb_mysql_instance_restart.json b/docs/json/resources/gaussdb_mysql_instance_restart.json new file mode 100644 index 0000000000..fde1d75df8 --- /dev/null +++ b/docs/json/resources/gaussdb_mysql_instance_restart.json @@ -0,0 +1,44 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_gaussdb_mysql_instance_restart": { + "block": { + "attributes": { + "delay": { + "type": "bool", + "optional": true, + "forcenew": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "node_id": { + "type": "string", + "optional": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "GaussDBforMySQL", + "name": "GaussDB(for MySQL)", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB(for MySQL)", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/gaussdb_opengauss_database.json b/docs/json/resources/gaussdb_opengauss_database.json new file mode 100644 index 0000000000..73b7d4b653 --- /dev/null +++ b/docs/json/resources/gaussdb_opengauss_database.json @@ -0,0 +1,85 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_gaussdb_opengauss_database": { + "block": { + "attributes": { + "character_set": { + "type": "string", + "description": "Specifies the database character set.", + "optional": true, + "computed": true, + "forcenew": true + }, + "compatibility_type": { + "type": "string", + "description": "Indicates the database compatibility type.", + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "description": "Specifies the ID of the GaussDB instance.", + "required": true, + "forcenew": true + }, + "lc_collate": { + "type": "string", + "description": "Specifies the database collation.", + "optional": true, + "computed": true, + "forcenew": true + }, + "lc_ctype": { + "type": "string", + "description": "Specifies the database classification.", + "optional": true, + "computed": true, + "forcenew": true + }, + "name": { + "type": "string", + "description": "Specifies the database name.", + "required": true, + "forcenew": true + }, + "owner": { + "type": "string", + "description": "Specifies the database user.", + "optional": true, + "computed": true, + "forcenew": true + }, + "region": { + "type": "string", + "computed": true + }, + "size": { + "type": "string", + "description": "Indicates the database size.", + "computed": true + }, + "template": { + "type": "string", + "description": "Specifies the name of the database template.", + "optional": true, + "forcenew": true + } + } + }, + "product": { + "short": "GaussDB", + "name": "GaussDB", + "catalog": "Databases", + "name_cn": "云数据库 GaussDB", + "catalog_cn": "数据库" + } + } + } + } + } +} diff --git a/docs/json/resources/identity_policy.json b/docs/json/resources/identity_policy.json new file mode 100644 index 0000000000..e5d9ed3f4b --- /dev/null +++ b/docs/json/resources/identity_policy.json @@ -0,0 +1,65 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_identity_policy": { + "block": { + "attributes": { + "attachment_count": { + "type": "number", + "computed": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "default_version_id": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "path": { + "type": "string", + "optional": true + }, + "policy_document": { + "type": "string", + "required": true + }, + "policy_type": { + "type": "string", + "computed": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "urn": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IAM", + "name": "Identity and Access Management", + "catalog": "Management & Governance", + "name_cn": "统一身份认证服务", + "catalog_cn": "管理与监管" + } + } + } + } + } +} diff --git a/docs/json/resources/images_image.json b/docs/json/resources/images_image.json index 0d0878a494..7c94e73665 100644 --- a/docs/json/resources/images_image.json +++ b/docs/json/resources/images_image.json @@ -87,6 +87,10 @@ "computed": true, "forcenew": true }, + "region": { + "type": "string", + "computed": true + }, "status": { "type": "string", "computed": true diff --git a/docs/json/resources/ims_cbr_whole_image.json b/docs/json/resources/ims_cbr_whole_image.json new file mode 100644 index 0000000000..460f96d9d1 --- /dev/null +++ b/docs/json/resources/ims_cbr_whole_image.json @@ -0,0 +1,100 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ims_cbr_whole_image": { + "block": { + "attributes": { + "active_at": { + "type": "string", + "computed": true + }, + "backup_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "data_origin": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "disk_format": { + "type": "string", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "is_delete_backup": { + "type": "bool", + "optional": true + }, + "max_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "min_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "os_version": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "visibility": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IMS", + "name": "Image Management Service", + "catalog": "Compute", + "name_cn": "镜像服务", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/ims_ecs_system_image.json b/docs/json/resources/ims_ecs_system_image.json new file mode 100644 index 0000000000..7355083203 --- /dev/null +++ b/docs/json/resources/ims_ecs_system_image.json @@ -0,0 +1,100 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ims_ecs_system_image": { + "block": { + "attributes": { + "active_at": { + "type": "string", + "computed": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "data_origin": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "disk_format": { + "type": "string", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "image_size": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "max_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "min_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "os_version": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "visibility": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IMS", + "name": "Image Management Service", + "catalog": "Compute", + "name_cn": "镜像服务", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/ims_ecs_whole_image.json b/docs/json/resources/ims_ecs_whole_image.json new file mode 100644 index 0000000000..3640bdfc71 --- /dev/null +++ b/docs/json/resources/ims_ecs_whole_image.json @@ -0,0 +1,109 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ims_ecs_whole_image": { + "block": { + "attributes": { + "active_at": { + "type": "string", + "computed": true + }, + "backup_id": { + "type": "string", + "computed": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "data_origin": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "disk_format": { + "type": "string", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "instance_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "is_delete_backup": { + "type": "bool", + "optional": true + }, + "max_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "min_ram": { + "type": "number", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "os_version": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "vault_id": { + "type": "string", + "required": true, + "forcenew": true + }, + "visibility": { + "type": "string", + "computed": true + } + } + }, + "product": { + "short": "IMS", + "name": "Image Management Service", + "catalog": "Compute", + "name_cn": "镜像服务", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/ims_evs_data_image.json b/docs/json/resources/ims_evs_data_image.json new file mode 100644 index 0000000000..bef0879c9c --- /dev/null +++ b/docs/json/resources/ims_evs_data_image.json @@ -0,0 +1,94 @@ +{ + "provider_schemas": { + "huaweicloud/huaweicloud": { + "resource_schemas": { + "huaweicloud_ims_evs_data_image": { + "block": { + "attributes": { + "active_at": { + "type": "string", + "computed": true + }, + "created_at": { + "type": "string", + "computed": true + }, + "data_origin": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "disk_format": { + "type": "string", + "computed": true + }, + "enterprise_project_id": { + "type": "string", + "optional": true, + "computed": true + }, + "id": { + "type": "string", + "computed": true + }, + "image_size": { + "type": "string", + "computed": true + }, + "min_disk": { + "type": "number", + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "os_type": { + "type": "string", + "computed": true + }, + "region": { + "type": "string", + "computed": true + }, + "status": { + "type": "string", + "computed": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "updated_at": { + "type": "string", + "computed": true + }, + "visibility": { + "type": "string", + "computed": true + }, + "volume_id": { + "type": "string", + "required": true, + "forcenew": true + } + } + }, + "product": { + "short": "IMS", + "name": "Image Management Service", + "catalog": "Compute", + "name_cn": "镜像服务", + "catalog_cn": "计算" + } + } + } + } + } +} diff --git a/docs/json/resources/kms_key.json b/docs/json/resources/kms_key.json index fc15db3141..f567e531b2 100644 --- a/docs/json/resources/kms_key.json +++ b/docs/json/resources/kms_key.json @@ -20,8 +20,7 @@ "enterprise_project_id": { "type": "string", "optional": true, - "computed": true, - "forcenew": true + "computed": true }, "expiration_time": { "type": "string", diff --git a/docs/json/resources/kps_keypair.json b/docs/json/resources/kps_keypair.json index c85acb1cc6..3ac2f620fb 100644 --- a/docs/json/resources/kps_keypair.json +++ b/docs/json/resources/kps_keypair.json @@ -36,6 +36,10 @@ "computed": true, "forcenew": true }, + "kms_key_id": { + "type": "string", + "optional": true + }, "kms_key_name": { "type": "string", "optional": true @@ -65,6 +69,11 @@ "optional": true, "computed": true, "forcenew": true + }, + "user_id": { + "type": "string", + "optional": true, + "computed": true } } }, diff --git a/docs/json/resources/lts_host_group.json b/docs/json/resources/lts_host_group.json index c3c16fa9ce..6cc072596a 100644 --- a/docs/json/resources/lts_host_group.json +++ b/docs/json/resources/lts_host_group.json @@ -5,6 +5,12 @@ "huaweicloud_lts_host_group": { "block": { "attributes": { + "agent_access_type": { + "type": "string", + "description": "Specifies the type of the host group.", + "optional": true, + "computed": true + }, "created_at": { "type": "string", "description": "The creation time.", @@ -22,6 +28,14 @@ "type": "string", "computed": true }, + "labels": { + "type": [ + "set", + "string" + ], + "description": "Specifies the custom label list of the host group.", + "optional": true + }, "name": { "type": "string", "description": "Specifies the name of the host group.", @@ -40,7 +54,7 @@ }, "type": { "type": "string", - "description": "Specifies the type of the host group.", + "description": "Specifies the type of the host.", "required": true, "forcenew": true }, diff --git a/docs/json/resources/vpcep_endpoint.json b/docs/json/resources/vpcep_endpoint.json index 0c1bfb8beb..1851aa521b 100644 --- a/docs/json/resources/vpcep_endpoint.json +++ b/docs/json/resources/vpcep_endpoint.json @@ -41,6 +41,16 @@ "type": "number", "computed": true }, + "policy_document": { + "type": "string", + "optional": true, + "computed": true + }, + "policy_statement": { + "type": "string", + "optional": true, + "computed": true + }, "private_domain_name": { "type": "string", "computed": true diff --git a/docs/json/resources/waf_domain.json b/docs/json/resources/waf_domain.json index cc3d1f117b..207a267663 100644 --- a/docs/json/resources/waf_domain.json +++ b/docs/json/resources/waf_domain.json @@ -5,6 +5,10 @@ "huaweicloud_waf_domain": { "block": { "attributes": { + "access_code": { + "type": "string", + "computed": true + }, "access_status": { "type": "number", "computed": true