Documentation ¶
Overview ¶
Use this data source to query detailed information of address template groups.
Example Usage ¶
```hcl
data "tencentcloud_address_template_groups" "name" { name = "test" }
```
Use this data source to query detailed information of address templates.
Example Usage ¶
```hcl
data "tencentcloud_address_templates" "name" { name = "test" }
```
Use this data source to query detailed information of apiGateway api_app_api
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_api_app_api" "example" { service_id = "service-nxz6yync" api_id = "api-0cvmf4x4" api_region = "ap-guangzhou" }
```
Use this data source to query detailed information of apigateway api_app_services
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_api_app_service" "example" { service_id = tencentcloud_api_gateway_api.example.service_id api_region = "ap-guangzhou" }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "APP" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "desc." default_value = "test@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 500 msg = "system error" desc = "system error code" converted_code = 5000 need_convert = true } }
```
Use this data source to query list information of api_gateway api_app
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_api_apps" "test" { api_app_id = ["app-rj8t6zx3"] api_app_name = ["app_test"] }
```
Use this data source to query list information of api_gateway api_doc Example Usage ```hcl data "tencentcloud_api_gateway_api_docs" "my_api_doc" { } ```
Use this data source to query API gateway access keys.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_api_key" "test" { secret_name = "my_api_key" status = "on" }
data "tencentcloud_api_gateway_api_keys" "name" { secret_name = tencentcloud_api_gateway_api_key.test.secret_name }
data "tencentcloud_api_gateway_api_keys" "id" { api_key_id = tencentcloud_api_gateway_api_key.test.id }
```
Use this data source to query detailed information of apiGateway api_plugins
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_api_plugins" "example" { api_id = "api-0cvmf4x4" service_id = "service-nxz6yync" environment_name = "test" }
```
Use this data source to query detailed information of apigateway api_usage_plan
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_api_usage_plans" "example" { service_id = tencentcloud_api_gateway_usage_plan_attachment.example.service_id }
resource "tencentcloud_api_gateway_usage_plan" "example" { usage_plan_name = "tf_example" usage_plan_desc = "desc." max_request_num = 100 max_request_num_pre_sec = 10 }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "SECRET" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "desc." default_value = "test@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 500 msg = "system error" desc = "system error code" converted_code = 5000 need_convert = true } }
resource "tencentcloud_api_gateway_usage_plan_attachment" "example" { usage_plan_id = tencentcloud_api_gateway_usage_plan.example.id service_id = tencentcloud_api_gateway_service.example.id environment = "release" bind_type = "API" api_id = tencentcloud_api_gateway_api.example.id }
```
Use this data source to query API gateway APIs.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "ck" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "api" { service_id = tencentcloud_api_gateway_service.service.id api_name = "hello" api_desc = "my hello api" auth_type = "NONE" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "GET" service_config_type = "HTTP" service_config_timeout = 15 service_config_url = "http://www.qq.com" service_config_path = "/user" service_config_method = "GET" response_type = "HTML" response_success_example = "success" response_fail_example = "fail" }
data "tencentcloud_api_gateway_apis" "id" { service_id = tencentcloud_api_gateway_service.service.id api_id = tencentcloud_api_gateway_api.api.id }
data "tencentcloud_api_gateway_apis" "name" { service_id = tencentcloud_api_gateway_service.service.id api_name = tencentcloud_api_gateway_api.api.api_name }
```
Use this data source to query detailed information of apiGateway bind_api_apps_status
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_bind_api_apps_status" "example" { service_id = "service-nxz6yync" api_ids = ["api-0cvmf4x4", "api-jvqlzolk"] filters { name = "ApiAppId" values = ["app-krljp4wn"] } }
```
Use this data source to query API gateway domain list.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_custom_domain" "foo" { service_id = "service-ohxqslqe" sub_domain = "tic-test.dnsv1.com" protocol = "http" net_type = "OUTER" is_default_mapping = "false" default_domain = "service-ohxqslqe-1259649581.gz.apigw.tencentcs.com" path_mappings = ["/good#test","/root#release"] }
data "tencentcloud_api_gateway_customer_domains" "id" { service_id = tencentcloud_api_gateway_custom_domain.foo.service_id }
```
Use this data source to query API gateway IP strategy.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "ck" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_ip_strategy" "test"{ service_id = tencentcloud_api_gateway_service.service.id strategy_name = "tf_test" strategy_type = "BLACK" strategy_data = "9.9.9.9" }
data "tencentcloud_api_gateway_ip_strategies" "id" { service_id = tencentcloud_api_gateway_ip_strategy.test.service_id }
data "tencentcloud_api_gateway_ip_strategies" "name" { service_id = tencentcloud_api_gateway_ip_strategy.test.service_id strategy_name = tencentcloud_api_gateway_ip_strategy.test.strategy_name }
```
Use this data source to query detailed information of apigateway plugin ¶
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_plugins" "example" { service_id = tencentcloud_api_gateway_service_release.example.service_id plugin_id = tencentcloud_api_gateway_plugin.example.id environment_name = "release" }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" tags = { testKey = "testValue" } release_limit = 500 pre_limit = 500 test_limit = 500 }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "hello" api_desc = "my hello api" auth_type = "NONE" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "GET" request_parameters { name = "name" position = "QUERY" type = "string" desc = "who are you?" default_value = "tom" required = true } service_config_type = "HTTP" service_config_timeout = 15 service_config_url = "http://www.qq.com" service_config_path = "/user" service_config_method = "GET" response_type = "HTML" response_success_example = "success" response_fail_example = "fail" response_error_codes { code = 500 msg = "system error" desc = "system error code" converted_code = 5000 need_convert = true } }
resource "tencentcloud_api_gateway_service_release" "example" { service_id = tencentcloud_api_gateway_api.example.service_id environment_name = "release" release_desc = "desc." }
resource "tencentcloud_api_gateway_plugin" "example" { plugin_name = "tf-example" plugin_type = "IPControl" plugin_data = jsonencode({ "type" : "white_list", "blocks" : "1.1.1.1", }) description = "desc." }
```
Use this data source to query detailed information of apiGateway service_environment_list
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_service_environment_list" "example" { service_id = "service-nxz6yync" }
```
Use this data source to query detailed information of apiGateway service_release_versions
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_service_release_versions" "example" { service_id = "service-nxz6yync" }
```
Use this data source to query API gateway services.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
data "tencentcloud_api_gateway_services" "name" { service_name = tencentcloud_api_gateway_service.service.service_name }
data "tencentcloud_api_gateway_services" "id" { service_id = tencentcloud_api_gateway_service.service.id }
```
Use this data source to query API gateway throttling APIs.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "api" { service_id = tencentcloud_api_gateway_service.service.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "SECRET" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "your email please?" default_value = "tom@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 10 msg = "system error" desc = "system error code" converted_code = -10 need_convert = true } release_limit = 100 pre_limit = 100 test_limit = 100 }
data "tencentcloud_api_gateway_throttling_apis" "id" { service_id = tencentcloud_api_gateway_api.service_id }
data "tencentcloud_api_gateway_throttling_apis" "foo" { service_id = tencentcloud_api_gateway_api.service.service_id environment_names = ["release", "test"] }
```
Use this data source to query API gateway throttling services.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" release_limit = 100 pre_limit = 100 test_limit = 100 }
data "tencentcloud_api_gateway_throttling_services" "id" { service_id = tencentcloud_api_gateway_service.service.id }
```
Use this data source to query detailed information of apigateway upstream ¶
Example Usage ¶
```hcl
data "tencentcloud_api_gateway_upstreams" "example" { upstream_id = "upstream-4n5bfklc" }
```
Filtered Queries ¶
```hcl
data "tencentcloud_api_gateway_upstreams" "example" { upstream_id = "upstream-4n5bfklc" filters { name = "ServiceId" values = "service-hvg0uueg" } }
```
Used to query the environment list bound by the plan.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_usage_plan" "plan" { usage_plan_name = "my_plan" usage_plan_desc = "nice plan" max_request_num = 100 max_request_num_pre_sec = 10 }
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_usage_plan_attachment" "attach_service" { usage_plan_id = tencentcloud_api_gateway_usage_plan.plan.id service_id = tencentcloud_api_gateway_service.service.id environment = "test" bind_type = "SERVICE" }
data "tencentcloud_api_gateway_usage_plan_environments" "environment_test" { usage_plan_id = tencentcloud_api_gateway_usage_plan_attachment.attach_service.usage_plan_id bind_type = "SERVICE" }
```
Use this data source to query API gateway usage plans.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_usage_plan" "plan" { usage_plan_name = "my_plan" usage_plan_desc = "nice plan" max_request_num = 100 max_request_num_pre_sec = 10 }
data "tencentcloud_api_gateway_usage_plans" "name" { usage_plan_name = tencentcloud_api_gateway_usage_plan.plan.usage_plan_name }
data "tencentcloud_api_gateway_usage_plans" "id" { usage_plan_id = tencentcloud_api_gateway_usage_plan.plan.id }
```
Use this data source to query detailed information of as advices ¶
Example Usage ¶
```hcl
data "tencentcloud_as_advices" "advices" { auto_scaling_group_ids = ["asc-lo0b94oy"] }
```
Use this data source to query detailed information of as instances ¶
Example Usage ¶
```hcl
resource "tencentcloud_as_scaling_group" "scaling_group" { scaling_group_name = "tf-as-group-ds-ins-basic" configuration_id = "your_launch_configuration_id" max_size = 1 min_size = 1 vpc_id = "your_vpc_id" subnet_ids = ["your_subnet_id"] tags = { "test" = "test" } }
data "tencentcloud_as_instances" "instances" { filters { name = "auto-scaling-group-id" values = [tencentcloud_as_scaling_group.scaling_group.id] } }
```
Use this data source to query detailed information of as last_activity
Example Usage ¶
```hcl
data "tencentcloud_as_last_activity" "last_activity" { auto_scaling_group_ids = ["asc-lo0b94oy"] }
```
Use this data source to query detailed information of as limits ¶
Example Usage ¶
```hcl data "tencentcloud_as_limits" "limits" {} ```
Use this data source to query scaling configuration information.
Example Usage ¶
```hcl
data "tencentcloud_as_scaling_configs" "as_configs" { configuration_id = "asc-oqio4yyj" result_output_file = "my_test_path" }
```
Use this data source to query the detail information of an existing autoscaling group.
Example Usage ¶
```hcl
data "tencentcloud_as_scaling_groups" "as_scaling_groups" { scaling_group_name = "myasgroup" configuration_id = "asc-oqio4yyj" result_output_file = "my_test_path" }
```
Use this data source to query detailed information of scaling policy.
Example Usage ¶
```hcl
data "tencentcloud_as_scaling_policies" "as_scaling_policies" { scaling_policy_id = "asg-mvyghxu7" result_output_file = "mytestpath" }
```
Use this data source to query the cos region list supported by the audit.
Example Usage ```hcl data "tencentcloud_audit_cos_regions" "foo" { } ```
Use this data source to query the key alias list specified with region supported by the audit.
Example Usage ```hcl
data "tencentcloud_audit_key_alias" "all" { region = "ap-hongkong" }
```
Use this data source to query detailed information of audits.
Example Usage ¶
```hcl
data "tencentcloud_audits" "audits" { name = "test" }
```
Use this data source to get the available regions. By default only `AVAILABLE` regions will be returned, but `UNAVAILABLE` regions can also be fetched when `include_unavailable` is specified.
Example Usage ¶
```hcl
data "tencentcloud_availability_regions" "my_favourite_region" { name = "ap-guangzhou" }
```
Use this data source to get the available zones in current region. By default only `AVAILABLE` zones will be returned, but `UNAVAILABLE` zones can also be fetched when `include_unavailable` is specified.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_availability_zones_by_product.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones" "my_favourite_zone" { name = "ap-guangzhou-3" }
```
Use this data source to get the available zones in current region. Must set product param to fetch the product infomations(e.g. => cvm, vpc). By default only `AVAILABLE` zones will be returned, but `UNAVAILABLE` zones can also be fetched when `include_unavailable` is specified.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "all" { product="cvm" }
```
Use this data source to query detailed information of bi project ¶
Example Usage ¶
```hcl
data "tencentcloud_bi_project" "project" { page_no = 1 keyword = "abc" all_page = true module_collection = "sys_common_user" }
```
Use this data source to query detailed information of bi user_project
Example Usage ¶
```hcl
data "tencentcloud_bi_user_project" "user_project" { project_id = 123 all_page = true }
```
Use this data source to query detailed information of cam account_summary
Example Usage ¶
```hcl
data "tencentcloud_cam_account_summary" "account_summary" { }
```
Use this data source to query detailed information of CAM group memberships ¶
Example Usage ¶
```hcl
data "tencentcloud_cam_group_memberships" "foo" { group_id = tencentcloud_cam_group.foo.id }
```
Use this data source to query detailed information of CAM group policy attachments ¶
Example Usage ¶
```hcl # query by group_id
data "tencentcloud_cam_group_policy_attachments" "foo" { group_id = tencentcloud_cam_group.foo.id }
query by group_id and policy_id ¶
data "tencentcloud_cam_group_policy_attachments" "bar" { group_id = tencentcloud_cam_group.foo.id policy_id = tencentcloud_cam_policy.foo.id }
```
Use this data source to query detailed information of CAM groups ¶
Example Usage ¶
```hcl # query by group_id
data "tencentcloud_cam_groups" "foo" { group_id = tencentcloud_cam_group.foo.id }
query by name ¶
data "tencentcloud_cam_groups" "bar" { name = "cam-group-test" }
```
Use this data source to query detailed information of cam list_attached_user_policy
Example Usage ¶
```hcl
data "tencentcloud_cam_list_attached_user_policy" "list_attached_user_policy" { target_uin = 100032767426 attach_type = 0 }
```
Use this data source to query detailed information of cam list_entities_for_policy
Example Usage ¶
```hcl
data "tencentcloud_cam_list_entities_for_policy" "list_entities_for_policy" { policy_id = 1 entity_filter = "All" }
```
Use this data source to query detailed information of cam oidc_config
Example Usage ¶
```hcl
data "tencentcloud_cam_oidc_config" "oidc_config" { name = "cls-kzilgv5m" }
output "identity_key" { value = data.tencentcloud_cam_oidc_config.oidc_config.identity_key }
output "identity_url" { value = data.tencentcloud_cam_oidc_config.oidc_config.identity_url }
```
Use this data source to query detailed information of CAM policies ¶
Example Usage ¶
```hcl # query by policy_id
data "tencentcloud_cam_policies" "foo" { policy_id = tencentcloud_cam_policy.foo.id }
query by policy_id and name ¶
data "tencentcloud_cam_policies" "bar" { policy_id = tencentcloud_cam_policy.foo.id name = "tf-auto-test" }
```
Use this data source to query detailed information of cam policy_granting_service_access
Example Usage ¶
```hcl
data "tencentcloud_cam_policy_granting_service_access" "policy_granting_service_access" { role_id = 4611686018436805021 service_type = "cam" }
```
Use this data source to query detailed information of CAM role policy attachments ¶
Example Usage ¶
```hcl # query by role_id
data "tencentcloud_cam_role_policy_attachments" "foo" { role_id = tencentcloud_cam_role.foo.id }
query by role_id and policy_id ¶
data "tencentcloud_cam_role_policy_attachments" "bar" { role_id = tencentcloud_cam_role.foo.id policy_id = tencentcloud_cam_policy.foo.id }
```
Use this data source to query detailed information of CAM roles ¶
Example Usage ¶
```hcl # query by role_id
data "tencentcloud_cam_roles" "foo" { role_id = tencentcloud_cam_role.foo.id }
query by name ¶
data "tencentcloud_cam_roles" "bar" { name = "cam-role-test" }
```
Use this data source to query detailed information of CAM SAML providers ¶
Example Usage ¶
```hcl
data "tencentcloud_cam_saml_providers" "foo" { name = "cam-test-provider" }
```
Use this data source to query detailed information of cam secret_last_used_time
Example Usage ¶
```hcl
data "tencentcloud_cam_secret_last_used_time" "secret_last_used_time" { secret_id_list = ["xxxx"] }
```
Use this data source to query detailed information of CAM user policy attachments ¶
Example Usage ¶
```hcl # query by user_id
data "tencentcloud_cam_user_policy_attachments" "foo" { user_id = tencentcloud_cam_user.foo.id }
query by user_id and policy_id ¶
data "tencentcloud_cam_user_policy_attachments" "bar" { user_id = tencentcloud_cam_user.foo.id policy_id = tencentcloud_cam_policy.foo.id }
```
Use this data source to query detailed information of CAM users ¶
Example Usage ¶
```hcl # query by name
data "tencentcloud_cam_users" "foo" { name = "cam-user-test" }
query by email ¶
data "tencentcloud_cam_users" "bar" { email = "hello@test.com" }
query by phone ¶
data "tencentcloud_cam_users" "far" { phone_num = "12345678910" }
```
Use this data source to query detailed information of cat metric_data Example Usage ```hcl
data "tencentcloud_cat_metric_data" "metric_data" { analyze_task_type = "AnalyzeTaskType_Network" metric_type = "gauge" field = "avg(\"ping_time\")" filters = [ "\"host\" = 'www.qq.com'", "time >= now()-1h", ] }
```
Use this data source to query detailed information of cat node ¶
Example Usage ¶
```hcl
data "tencentcloud_cat_node" "node"{ node_type = 1 location = 2 is_ipv6 = false }
```
Use this data source to query detailed information of cat probe data ¶
Example Usage ¶
```hcl
data "tencentcloud_cat_probe_data" "probe_data" { begin_time = 1667923200000 end_time = 1667996208428 task_type = "AnalyzeTaskType_Network" sort_field = "ProbeTime" ascending = true selected_fields = ["terraform"] offset = 0 limit = 20 task_id = ["task-knare1mk"] }
```
Use this data source to query detailed information of CBS snapshot policies.
Example Usage ¶
```hcl
data "tencentcloud_cbs_snapshot_policies" "policies" { snapshot_policy_id = "snap-f3io7adt" snapshot_policy_name = "test" }
```
Use this data source to query detailed information of CBS snapshots.
Example Usage ¶
```hcl
data "tencentcloud_cbs_snapshots" "snapshots" { snapshot_id = "snap-f3io7adt" result_output_file = "mytestpath" }
```
Use this data source to query detailed information of CBS storages.
Example Usage ¶
```hcl
data "tencentcloud_cbs_storages" "storages" { storage_id = "disk-kdt0sq6m" result_output_file = "mytestpath" }
```
The following snippet shows the new supported query params ¶
```hcl
data "tencentcloud_cbs_storages" "whats_new" { charge_type = ["POSTPAID_BY_HOUR", "PREPAID"] portable = true storage_state = ["ATTACHED"] instance_ips = ["10.0.0.2"] instance_name = ["my-instance"] tag_keys = ["foo"] tag_values = ["bar", "baz"] }
```
Use this data source to query detailed information of CBS storages in parallel.
Example Usage ¶
```hcl
data "tencentcloud_cbs_storages_set" "storages" { availability_zone = "ap-guangzhou-3" }
```
Use this data source to query detailed information of CCN bandwidth limits.
Example Usage ¶
```hcl
variable "other_region1" { default = "ap-shanghai" }
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
data "tencentcloud_ccn_bandwidth_limits" "limit" { ccn_id = tencentcloud_ccn.main.id }
resource "tencentcloud_ccn_bandwidth_limit" "limit1" { ccn_id = tencentcloud_ccn.main.id region = var.other_region1 bandwidth_limit = 500 }
```
Use this data source to query detailed information of ccn cross_border_compliance
Example Usage ¶
```hcl
data "tencentcloud_ccn_cross_border_compliance" "cross_border_compliance" { service_provider = "UNICOM" compliance_id = 10002 email = "test@tencent.com" service_start_date = "2020-07-29" service_end_date = "2021-07-29" state = "APPROVED" }
```
Use this data source to query detailed information of vpc cross_border_flow_monitor
Example Usage ¶
```hcl
data "tencentcloud_ccn_cross_border_flow_monitor" "cross_border_flow_monitor" { source_region = "ap-guangzhou" destination_region = "ap-singapore" ccn_id = "ccn-39lqkygf" ccn_uin = "979137" period = 60 start_time = "2023-01-01 00:00:00" end_time = "2023-01-01 01:00:00" }
```
Use this data source to query detailed information of ccn_cross_border_region_bandwidth_limits
-> **NOTE:** This resource is dedicated to Unicom.
Example Usage ¶
```hcl
data "tencentcloud_ccn_cross_border_region_bandwidth_limits" "ccn_region_bandwidth_limits" { filters { name = "source-region" values = ["ap-guangzhou"] } filters { name = "destination-region" values = ["ap-shanghai"] } }
```
Use this data source to query detailed information of CCN instances.
Example Usage ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
data "tencentcloud_ccn_instances" "id_instances" { ccn_id = tencentcloud_ccn.main.id }
data "tencentcloud_ccn_instances" "name_instances" { name = tencentcloud_ccn.main.name }
```
Use this data source to query detailed information of vpc tenant_ccn
Example Usage ¶
```hcl
data "tencentcloud_ccn_tenant_instances" "tenant_ccn" { ccn_ids = ["ccn-39lqkygf"] is_security_lock = ["true"] }
```
Use this data source to query CDH instances.
Example Usage ¶
```hcl
data "tencentcloud_cdh_instances" "list" { availability_zone = "ap-guangzhou-3" host_id = "host-d6s7i5q4" host_name = "test" host_state = "RUNNING" project_id = 1154137 }
```
Provides a resource to check or create a cdn Domain Verify Record ¶
~> **NOTE:**
Example Usage ¶
```hcl
data "tencentcloud_cdn_domain_verifier" "vr" { domain = "www.examplexxx123.com" auto_verify = true # auto create record if not verified freeze_record = true # once been freeze and verified, it will never be changed again }
locals { recordValue = data.tencentcloud_cdn_domain_verifier.record recordType = data.tencentcloud_cdn_domain_verifier.record_type }
```
Use this data source to query the detail information of CDN domain.
Example Usage ¶
```hcl
data "tencentcloud_cdn_domains" "foo" { domain = "xxxx.com" service_type = "web" full_url_cache = false origin_pull_protocol = "follow" https_switch = "on" }
```
Use this data source to query the detail information of CFS access group.
Example Usage ¶
```hcl
data "tencentcloud_cfs_access_groups" "access_groups" { access_group_id = "pgroup-7nx89k7l" name = "test" }
```
Use this data source to query the detail information of CFS access rule.
Example Usage ¶
```hcl
data "tencentcloud_cfs_access_rules" "access_rules" { access_group_id = "pgroup-7nx89k7l" access_rule_id = "rule-qcndbqzj" }
```
Use this data source to query detailed information of cfs available_zone
Example Usage ¶
```hcl data "tencentcloud_cfs_available_zone" "available_zone" {} ```
Use this data source to query detailed information of cfs file_system_clients
Example Usage ¶
```hcl
data "tencentcloud_cfs_file_system_clients" "file_system_clients" { file_system_id = "cfs-iobiaxtj" }
```
Use this data source to query the detail information of cloud file systems(CFS).
Example Usage ¶
```hcl
data "tencentcloud_cfs_file_systems" "file_systems" { file_system_id = "cfs-6hgquxmj" name = "test" availability_zone = "ap-guangzhou-3" }
```
Use this data source to query detailed information of cfs mount_targets
Example Usage ¶
```hcl
data "tencentcloud_cfs_mount_targets" "mount_targets" { file_system_id = "cfs-iobiaxtj" }
```
Use this data source to query detailed information of cfw edge_fw_switches
Example Usage ¶
```hcl data "tencentcloud_cfw_edge_fw_switches" "example" {} ```
Use this data source to query detailed information of cfw nat_fw_switches
Example Usage ¶
Query Nat instance'switch by instance id
```hcl
data "tencentcloud_cfw_nat_fw_switches" "example" { nat_ins_id = "cfwnat-18d2ba18" }
```
Or filter by switch status ¶
```hcl
data "tencentcloud_cfw_nat_fw_switches" "example" { nat_ins_id = "cfwnat-18d2ba18" status = 1 }
```
Use this data source to query detailed information of cfw vpc_fw_switches
Example Usage ¶
```hcl
data "tencentcloud_cfw_vpc_fw_switches" "example" { vpc_ins_id = "cfwg-c8c2de41" }
```
Use this data source to query detailed information of chdfs access_groups
Example Usage ¶
```hcl
data "tencentcloud_chdfs_access_groups" "access_groups" { vpc_id = "vpc-pewdpc0d" }
```
Use this data source to query detailed information of chdfs file_systems
Example Usage ¶
```hcl data "tencentcloud_chdfs_file_systems" "file_systems" {} ```
Use this data source to query detailed information of chdfs mount_points
Example Usage ¶
```hcl
data "tencentcloud_chdfs_mount_points" "mount_points" { file_system_id = "f14mpfy5lh4e" }
```
Use this data source to query detailed acl information of Ckafka ¶
Example Usage ¶
```hcl
data "tencentcloud_ckafka_acls" "foo" { instance_id = "ckafka-f9ife4zz" resource_type = "TOPIC" resource_name = "topic-tf-test" host = "2" }
```
Use this data source to query detailed information of ckafka connect_resource
Example Usage ¶
```hcl data "tencentcloud_ckafka_connect_resource" "connect_resource" { } ```
Use this data source to query detailed information of ckafka datahub_group_offsets
Example Usage ¶
```hcl data "tencentcloud_ckafka_datahub_group_offsets" "datahub_group_offsets" { } ```
Use this data source to query detailed information of ckafka datahub_task
Example Usage ¶
```hcl data "tencentcloud_ckafka_datahub_task" "datahub_task" { } ```
Use this data source to query detailed information of ckafka datahub_topic
Example Usage ¶
```hcl data "tencentcloud_ckafka_datahub_topic" "datahub_topic" { } ```
Use this data source to query detailed information of ckafka group ¶
Example Usage ¶
```hcl
data "tencentcloud_ckafka_group" "group" { instance_id = "ckafka-xxxxxxx" search_word = "xxxxxx" }
```
Use this data source to query detailed information of ckafka group_info
Example Usage ¶
```hcl
data "tencentcloud_ckafka_group_info" "group_info" { instance_id = "ckafka-xxxxxx" group_list = ["xxxxxx"] }
```
Use this data source to query detailed information of ckafka group_offsets
Example Usage ¶
```hcl
data "tencentcloud_ckafka_group_offsets" "group_offsets" { instance_id = "ckafka-xxxxxx" group = "xxxxxx" }
```
Use this data source to query detailed instance information of Ckafka ¶
Example Usage ¶
```hcl
data "tencentcloud_ckafka_instances" "foo" { instance_ids=["ckafka-vv7wpvae"] }
```
Use this data source to query detailed information of ckafka region ¶
Example Usage ¶
```hcl data "tencentcloud_ckafka_region" "region" { } ```
Use this data source to query detailed information of ckafka task_status
Example Usage ¶
```hcl
data "tencentcloud_ckafka_task_status" "task_status" { flow_id = 123456 }
```
Use this data source to query detailed information of ckafka topic_flow_ranking
Example Usage ¶
```hcl
data "tencentcloud_ckafka_topic_flow_ranking" "topic_flow_ranking" { instance_id = "ckafka-xxxxxx" ranking_type = "PRO" begin_date = "2023-05-29T00:00:00+08:00" end_date = "2021-05-29T23:59:59+08:00" }
```
Use this data source to query detailed information of ckafka topic_produce_connection
Example Usage ¶
```hcl
data "tencentcloud_ckafka_topic_produce_connection" "topic_produce_connection" { instance_id = "ckafka-xxxxxx" topic_name = "topic-xxxxxx" }
```
Use this data source to query detailed information of ckafka topic_subscribe_group
Example Usage ¶
```hcl
data "tencentcloud_ckafka_topic_subscribe_group" "topic_subscribe_group" { instance_id = "ckafka-xxxxxx" topic_name = "xxxxxx" }
```
Use this data source to query detailed information of ckafka topic_sync_replica
Example Usage ¶
```hcl
data "tencentcloud_ckafka_topic_sync_replica" "topic_sync_replica" { instance_id = "ckafka-xxxxxx" topic_name = "xxxxxx" }
```
Use this data source to query detailed information of ckafka topic.
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_topic" "foo" { instance_id = "ckafka-f9ife4zz" topic_name = "example" note = "topic note" replica_num = 2 partition_num = 1 enable_white_list = true ip_white_list = ["ip1","ip2"] clean_up_policy = "delete" sync_replica_min_num = 1 unclean_leader_election_enable = false segment = 3600000 retention = 60000 max_message_bytes = 1024 }
```
Use this data source to query detailed user information of Ckafka ¶
Example Usage ¶
```hcl
data "tencentcloud_ckafka_users" "foo" { instance_id = "ckafka-f9ife4zz" account_name = "test" }
```
Use this data source to query detailed information of ckafka zone ¶
Example Usage ¶
```hcl data "tencentcloud_ckafka_zone" "ckafka_zone" { } ```
Use this data source to query detailed information of CLB attachments ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_attachments" "clblab" { listener_id = "lbl-hh141sn9" clb_id = "lb-k2zjp9lv" rule_id = "loc-4xxr2cy7" }
```
Use this data source to query detailed information of clb cluster_resources
Example Usage ¶
```hcl
data "tencentcloud_clb_cluster_resources" "cluster_resources" { filters { name = "idle" values = ["True"] } }
```
Use this data source to query detailed information of clb cross_targets
Example Usage ¶
```hcl
data "tencentcloud_clb_cross_targets" "cross_targets" { filters { name = "vpc-id" values = ["vpc-4owdpnwr"] } }
```
Use this data source to query detailed information of clb exclusive_clusters
Example Usage ¶
```hcl
data "tencentcloud_clb_exclusive_clusters" "exclusive_clusters" { filters { name = "zone" values = ["ap-guangzhou-1"] } }
```
Use this data source to query detailed information of clb idle_loadbalancers
Example Usage ¶
```hcl
data "tencentcloud_clb_idle_instances" "idle_instance" { load_balancer_region = "ap-guangzhou" }
```
Use this data source to query detailed information of clb instance_by_cert_id
Example Usage ¶
```hcl
data "tencentcloud_clb_instance_by_cert_id" "instance_by_cert_id" { cert_ids = ["3a6B5y8v"] }
```
Use this data source to query detailed information of clb instance_detail
Example Usage ¶
```hcl
data "tencentcloud_clb_instance_detail" "instance_detail" { target_type = "NODE" }
```
Use this data source to query detailed information of clb instance_traffic
Example Usage ¶
```hcl
data "tencentcloud_clb_instance_traffic" "instance_traffic" { load_balancer_region = "ap-guangzhou" }
```
Use this data source to query detailed information of CLB ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_instances" "foo" { clb_id = "lb-k2zjp9lv" network_type = "OPEN" clb_name = "myclb" project_id = 0 result_output_file = "mytestpath" }
```
Use this data source to query detailed information of CLB listener rule ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_listener_rules" "foo" { clb_id = "lb-k2zjp9lv" listener_id = "lbl-mwr6vbtv" rule_id = "loc-inem40hz" domain = "abc.com" url = "/" scheduler = "WRR" }
```
Use this data source to query detailed information of CLB listener ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_listeners" "foo" { clb_id = "lb-k2zjp9lv" listener_id = "lbl-mwr6vbtv" protocol = "TCP" port = 80 }
```
Use this data source to query detailed information of clb listeners_by_targets
Example Usage ¶
```hcl
data "tencentcloud_clb_listeners_by_targets" "listeners_by_targets" { backends { vpc_id = "vpc-4owdpnwr" private_ip = "106.52.160.211" } }
```
Use this data source to query detailed information of CLB redirections ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_redirections" "foo" { clb_id = "lb-p7olt9e5" source_listener_id = "lbl-jc1dx6ju" target_listener_id = "lbl-asj1hzuo" source_rule_id = "loc-ft8fmngv" target_rule_id = "loc-4xxr2cy7" result_output_file = "mytestpath" }
```
Use this data source to query detailed information of clb resources ¶
Example Usage ¶
```hcl
data "tencentcloud_clb_resources" "resources" { filters { name = "isp" values = ["BGP"] } }
```
Use this data source to query detailed information of clb target_group_list
Example Usage ¶
```hcl
data "tencentcloud_clb_target_group_list" "target_group_list" { filters { name = "TargetGroupName" values = ["keep-tgg"] } }
```
Use this data source to query target group information.
Example Usage ¶
```hcl
resource "tencentcloud_clb_instance" "clb_basic" { network_type = "OPEN" clb_name = "tf-clb-rule-basic" }
resource "tencentcloud_clb_listener" "listener_basic" { clb_id = tencentcloud_clb_instance.clb_basic.id port = 1 protocol = "HTTP" listener_name = "listener_basic" }
resource "tencentcloud_clb_listener_rule" "rule_basic" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_id = tencentcloud_clb_listener.listener_basic.listener_id domain = "abc.com" url = "/" session_expire_time = 30 scheduler = "WRR" target_type = "TARGETGROUP" }
resource "tencentcloud_clb_target_group" "test"{ target_group_name = "test-target-keep-1" }
resource "tencentcloud_clb_target_group_attachment" "group" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_id = tencentcloud_clb_listener.listener_basic.listener_id rule_id = tencentcloud_clb_listener_rule.rule_basic.rule_id targrt_group_id = tencentcloud_clb_target_group.test.id }
data "tencentcloud_clb_target_groups" "target_group_info_id" { target_group_id = tencentcloud_clb_target_group.test.id }
```
Use this data source to query detailed information of clb target_health
Example Usage ¶
```hcl
data "tencentcloud_clb_target_health" "target_health" { load_balancer_ids = ["lb-5dnrkgry"] }
```
Use this data source to query detailed information of clickhouse backup job detail ¶
Example Usage ¶
```hcl
data "tencentcloud_clickhouse_backup_job_detail" "backup_job_detail" { instance_id = "cdwch-xxxxxx" back_up_job_id = 1234 }
```
Use this data source to query detailed information of clickhouse backup jobs ¶
Example Usage ¶
```hcl
data "tencentcloud_clickhouse_backup_jobs" "backup_jobs" { instance_id = "cdwch-xxxxxx" }
```
Use this data source to query detailed information of clickhouse backup tables ¶
Example Usage ¶
```hcl
data "tencentcloud_clickhouse_backup_tables" "backup_tables" { instance_id = "cdwch-xxxxxx" }
```
Use this data source to query detailed information of cls machine_group_configs
Example Usage ¶
```hcl
resource "tencentcloud_cls_machine_group" "group" { group_name = "tf-describe-mg-config-test" service_logging = true auto_update = true update_end_time = "19:05:00" update_start_time = "17:05:00" machine_group_type { type = "ip" values = [ "192.168.1.1", "192.168.1.2", ] } }
data "tencentcloud_cls_machine_group_configs" "machine_group_configs" { group_id = tencentcloud_cls_machine_group.group.id }
```
Use this data source to query detailed information of cls machines ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_machine_group" "group" { group_name = "tf-describe-mg-test" service_logging = true auto_update = true update_end_time = "19:05:00" update_start_time = "17:05:00" machine_group_type { type = "ip" values = [ "192.168.1.1", "192.168.1.2", ] } }
data "tencentcloud_cls_machines" "machines" { group_id = tencentcloud_cls_machine_group.group.id }
```
Use this data source to query detailed information of cls shipper_tasks
Example Usage ¶
```hcl
data "tencentcloud_cls_shipper_tasks" "shipper_tasks" { shipper_id = "dbde3c9b-ea16-4032-bc2a-d8fa65567a8e" start_time = 160749910700 end_time = 160749910800 }
```
Get all instances of the specific cluster.
Use this data source to get all instances in a specific cluster.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_kubernetes_clusters.
Example Usage ¶
```hcl
data "tencentcloud_container_cluster_instances" "foo_instance" { cluster_id = "cls-abcdefg" }
```
Get container clusters in the current region.
Use this data source to get container clusters in the current region. By default every clusters in current region will be returned.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_kubernetes_clusters.
Example Usage ¶
```hcl data "tencentcloud_container_clusters" "foo" { } ```
Use this data source to query the COS batch.
Example Usage ¶
```hcl
data "tencentcloud_cos_batchs" "cos_batchs" { uin = "xxxxxx" appid = "xxxxxx" }
```
Use this data source to query the COS bucket inventorys.
Example Usage ¶
```hcl
data "tencentcloud_cos_bucket_inventorys" "cos_bucket_inventorys" { bucket = "xxxxxx" }
```
Use this data source to query the COS bucket multipart uploads.
Example Usage ¶
```hcl
data "tencentcloud_cos_bucket_multipart_uploads" "cos_bucket_multipart_uploads" { bucket = "xxxxxx" }
```
Use this data source to query the metadata of an object stored inside a bucket.
Example Usage ¶
```hcl
data "tencentcloud_cos_bucket_object" "mycos" { bucket = "mycos-test-1258798060" key = "hello-world.py" result_output_file = "TFresults" }
```
Use this data source to query the COS buckets of the current Tencent Cloud user.
Example Usage ¶
```hcl
data "tencentcloud_cos_buckets" "cos_buckets" { bucket_prefix = "tf-bucket-" result_output_file = "mytestpath" }
```
Use this data source to query detailed information of css backup_stream
Example Usage ¶
```hcl
data "tencentcloud_css_backup_stream" "backup_stream" { stream_name = "live" }
```
Use this data source to query detailed information of css deliver_log_down_list
Example Usage ¶
```hcl data "tencentcloud_css_deliver_log_down_list" "deliver_log_down_list" { } ```
Use this data source to query detailed information of css domains ¶
Example Usage ¶
```hcl
data "tencentcloud_css_domains" "domains" { domain_type = 0 play_type = 1 is_delay_live = 0 }
```
Use this data source to query detailed information of css monitor_report
Example Usage ¶
```hcl
data "tencentcloud_css_monitor_report" "monitor_report" { monitor_id = "0e8a12b5-df2a-4a1b-aa98-97d5610aa142" }
```
Use this data source to query detailed information of css pad_templates
Example Usage ¶
```hcl data "tencentcloud_css_pad_templates" "pad_templates" { } ```
Use this data source to query detailed information of css pull_stream_task_status
Example Usage ¶
```hcl
data "tencentcloud_css_pull_stream_task_status" "pull_stream_task_status" { task_id = "63229997" }
```
Use this data source to query detailed information of css stream_monitor_list
Example Usage ¶
```hcl data "tencentcloud_css_stream_monitor_list" "stream_monitor_list" { } ```
Use this data source to query detailed information of css time_shift_record_detail
Example Usage ¶
```hcl
data "tencentcloud_css_time_shift_record_detail" "time_shift_record_detail" { domain = "177154.push.tlivecloud.com" app_name = "qqq" stream_name = "live" start_time = 1698768000 end_time = 1698820641 domain_group = "tf-test" trans_code_id = 0 }
```
Use this data source to query detailed information of css time_shift_stream_list
Example Usage ¶
```hcl
data "tencentcloud_css_time_shift_stream_list" "time_shift_stream_list" { start_time = 1698768000 end_time = 1698820641 stream_name = "live" domain = "177154.push.tlivecloud.com" domain_group = "tf-test" }
```
Use this data source to query detailed information of css watermarks ¶
Example Usage ¶
```hcl data "tencentcloud_css_watermarks" "watermarks" { } ```
Use this data source to query detailed information of css xp2p_detail_info_list
Example Usage ¶
```hcl
data "tencentcloud_css_xp2p_detail_info_list" "xp2p_detail_info_list" { query_time = "2023-11-01T14:55:01+08:00" type = ["live"] }
```
Use this data source to query detailed information of cvm chc_denied_actions
Example Usage ¶
```hcl
data "tencentcloud_cvm_chc_denied_actions" "chc_denied_actions" { chc_ids = ["chc-xxxxx"] }
```
Use this data source to query detailed information of cvm chc_hosts
Example Usage ¶
```hcl
data "tencentcloud_cvm_chc_hosts" "chc_hosts" { chc_ids = ["chc-xxxxxx"] filters { name = "zone" values = ["ap-guangzhou-7"] } }
```
Use this data source to query detailed information of cvm disaster_recover_group_quota
Example Usage ¶
```hcl data "tencentcloud_cvm_disaster_recover_group_quota" "disaster_recover_group_quota" { } ```
Use this data source to query detailed information of cvm image_quota
Example Usage ¶
```hcl data "tencentcloud_cvm_image_quota" "image_quota" { } ```
Use this data source to query detailed information of cvm image_share_permission
Example Usage ¶
```hcl
data "tencentcloud_cvm_image_share_permission" "image_share_permission" { image_id = "img-xxxxxx" }
```
Use this data source to query detailed information of cvm import_image_os
Example Usage ¶
```hcl data "tencentcloud_cvm_import_image_os" "import_image_os" { } ```
Use this data source to query detailed information of cvm instance_vnc_url
Example Usage ¶
```hcl
data "tencentcloud_cvm_instance_vnc_url" "instance_vnc_url" { instance_id = "ins-xxxxxxxx" }
```
Use this data source to query cvm instances modification.
Example Usage ¶
```hcl
data "tencentcloud_cvm_instances_modification" "foo" { instance_ids = ["ins-xxxxxxx"] }
```
Use this data source to query detailed information of cwp machines_simple
Example Usage ¶
```hcl
data "tencentcloud_cwp_machines_simple" "example" { machine_type = "CVM" machine_region = "ap-guangzhou" project_ids = [1210293, 1157652] }
```
Query by Keyword filter ¶
```hcl
data "tencentcloud_cwp_machines_simple" "example" { machine_type = "CVM" machine_region = "ap-guangzhou" project_ids = [0] filters { name = "Keywords" values = ["tf_example"] exact_match = true } }
```
Query by Version filter ¶
```hcl
data "tencentcloud_cwp_machines_simple" "example" { machine_type = "CVM" machine_region = "ap-guangzhou" project_ids = [0] filters { name = "Version" values = ["BASIC_VERSION"] exact_match = true } }
```
Query by TagId filter ¶
```hcl
data "tencentcloud_cwp_machines_simple" "example" { machine_type = "ALL" machine_region = "all-regions" filters { name = "TagId" values = ["13771"] exact_match = true } }
```
Use this data source to query detailed information of cynosdb account_all_grant_privileges
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_account_all_grant_privileges" "account_all_grant_privileges" { cluster_id = "cynosdbmysql-bws8h88b" account { account_name = "keep_dts" host = "%" } }
```
Use this data source to query detailed information of cynosdb accounts ¶
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_accounts" "accounts" { cluster_id = "cynosdbmysql-bws8h88b" account_names = ["root"] }
```
Use this data source to query detailed information of cynosdb audit_logs
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_audit_logs" "audit_logs" { instance_id = "cynosdbmysql-ins-afqx1hy0" start_time = "2023-06-18 10:00:00" end_time = "2023-06-18 10:00:02" order = "DESC" order_by = "timestamp" filter { host = ["30.50.207.176"] user = ["keep_dts"] policy_name = ["default_audit"] sql_type = "SELECT" sql = "SELECT @@max_allowed_packet" } }
```
Use this data source to query detailed information of cynosdb backup_download_url
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_backup_download_url" "backup_download_url" { cluster_id = "cynosdbmysql-bws8h88b" backup_id = 480782 }
```
Use this data source to query detailed information of cynosdb binlog_download_url
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_binlog_download_url" "binlog_download_url" { cluster_id = "cynosdbmysql-bws8h88b" binlog_id = 6202249 }
```
Use this data source to query detailed information of cynosdb cluster ¶
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_cluster" "cluster" { cluster_id = "cynosdbmysql-bws8h88b" database = "users" table = "tb_user_name" table_type = "all" }
```
Use this data source to query detailed information of cynosdb cluster_detail_databases
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_cluster_detail_databases" "cluster_detail_databases" { cluster_id = "cynosdbmysql-bws8h88b" db_name = "users" }
```
Use this data source to query detailed information of cynosdb cluster_instance_groups
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_cluster_instance_groups" "cluster_instance_groups" { cluster_id = xxxxxx; }
```
Use this data source to query detailed information of cynosdb cluster_param_logs
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_cluster_param_logs" "cluster_param_logs" { cluster_id = "cynosdbmysql-bws8h88b" instance_ids = ["cynosdbmysql-ins-afqx1hy0"] order_by = "CreateTime" order_by_type = "DESC" }
```
Use this data source to query detailed information of cynosdb cluster_params
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_cluster_params" "cluster_params" { cluster_id = "cynosdbmysql-bws8h88b" param_name = "innodb_checksum_algorithm" }
```
Use this data source to query detailed information of Cynosdb clusters.
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_clusters" "foo" { cluster_id = "cynosdbmysql-dzj5l8gz" project_id = 0 db_type = "MYSQL" cluster_name = "test" }
```
Use this data source to query detailed information of cynosdb describe_instance_error_logs
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_describe_instance_error_logs" "describe_instance_error_logs" { instance_id = "cynosdbmysql-ins-afqx1hy0" start_time = "2023-06-01 15:04:05" end_time = "2023-06-19 15:04:05" order_by = "Timestamp" order_by_type = "DESC" log_levels = ["note", "warning"] key_words = ["Aborted"] }
```
Use this data source to query detailed information of cynosdb describe_instance_slow_queries
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_describe_instance_slow_queries" "describe_instance_slow_queries" { cluster_id = "cynosdbmysql-bws8h88b" start_time = "2023-06-01 12:00:00" end_time = "2023-06-19 14:00:00" }
```
Use this data source to query detailed information of cynosdb instance_slow_queries
Example Usage ¶
Query slow queries of instance ```hcl
variable "cynosdb_cluster_id" { default = "default_cynosdb_cluster" }
data "tencentcloud_cynosdb_instance_slow_queries" "instance_slow_queries" { instance_id = var.cynosdb_cluster_id start_time = "2023-06-20 23:19:03" end_time = "2023-06-30 23:19:03" username = "keep_dts" host = "%%" database = "tf_ci_test" order_by = "QueryTime" order_by_type = "desc" }
```
Query slow queries by time range ```hcl
variable "cynosdb_cluster_id" { default = "default_cynosdb_cluster" }
data "tencentcloud_cynosdb_instance_slow_queries" "instance_slow_queries" { instance_id = var.cynosdb_cluster_id start_time = "2023-06-20 23:19:03" end_time = "2023-06-30 23:19:03" order_by = "QueryTime" order_by_type = "desc" }
```
Query slow queries by user and db name ```hcl
variable "cynosdb_cluster_id" { default = "default_cynosdb_cluster" }
data "tencentcloud_cynosdb_instance_slow_queries" "instance_slow_queries" { instance_id = var.cynosdb_cluster_id username = "keep_dts" host = "%%" database = "tf_ci_test" order_by = "QueryTime" order_by_type = "desc" }
```
Use this data source to query detailed information of Cynosdb instances.
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_instances" "foo" { instance_id = "cynosdbmysql-ins-0wln9u6w" project_id = 0 db_type = "MYSQL" instance_name = "test" }
```
Use this data source to query detailed information of cynosdb param_templates
Example Usage ¶
```hcl data "tencentcloud_cynosdb_param_templates" "param_templates" { } ```
Use this data source to query detailed information of cynosdb project_security_groups
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_project_security_groups" "project_security_groups" { project_id = 1250480 search_key = "自定义模版" }
```
Use this data source to query detailed information of cynosdb proxy_node
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_proxy_node" "proxy_node" { order_by = "CREATETIME" order_by_type = "DESC" filters { names = "ClusterId" values = "cynosdbmysql-cgd2gpwr" exact_match = false name = "ClusterId" } }
```
Use this data source to query detailed information of cynosdb proxy_version
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_proxy_version" "proxy_version" { cluster_id = "cynosdbmysql-bws8h88b" proxy_group_id = "cynosdbmysql-proxy-l6zf9t30" }
```
Use this data source to query detailed information of cynosdb resource_package_list
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_resource_package_list" "resource_package_list" { package_id = ["package-hy4d2ppl"] package_name = ["keep-package-disk"] package_type = ["DISK"] package_region = ["china"] status = ["using"] order_by = ["startTime"] order_direction = "DESC" }
```
Use this data source to query detailed information of cynosdb resource_package_sale_specs
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_resource_package_sale_specs" "resource_package_sale_specs" { instance_type = "cynosdb-serverless" package_region = "china" package_type = "CCU" }
```
Use this data source to query detailed information of cynosdb rollback_time_range
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_rollback_time_range" "rollback_time_range" { cluster_id = "cynosdbmysql-bws8h88b" }
```
Use this data source to query detailed information of cynosdb zone ¶
Example Usage ¶
```hcl
data "tencentcloud_cynosdb_zone" "zone" { include_virtual_zones = true show_permission = true }
```
Use this data source to query which instance types of Redis are available in a specific region.
Example Usage ¶
```hcl data "tencentcloud_cynosdb_zone_config" "foo" { } ```
Use this data source to query dayu CC http policies ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_cc_http_policies" "id_test" { resource_type = tencentcloud_dayu_cc_http_policy.test_policy.resource_type resource_id = tencentcloud_dayu_cc_http_policy.test_policy.resource_id policy_id = tencentcloud_dayu_cc_http_policy.test_policy.policy_id }
data "tencentcloud_dayu_cc_http_policies" "name_test" { resource_type = tencentcloud_dayu_cc_http_policy.test_policy.resource_type resource_id = tencentcloud_dayu_cc_http_policy.test_policy.resource_id name = tencentcloud_dayu_cc_http_policy.test_policy.name }
```
Use this data source to query dayu CC https policies ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_cc_https_policies" "name_test" { resource_type = tencentcloud_dayu_cc_https_policy.test_policy.resource_type resource_id = tencentcloud_dayu_cc_https_policy.test_policy.resource_id name = tencentcloud_dayu_cc_https_policy.test_policy.name }
data "tencentcloud_dayu_cc_https_policies" "id_test" { resource_type = tencentcloud_dayu_cc_https_policy.test_policy.resource_type resource_id = tencentcloud_dayu_cc_https_policy.test_policy.resource_id policy_id = tencentcloud_dayu_cc_https_policy.test_policy.policy_id }
```
Use this data source to query dayu DDoS policies ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_ddos_policies" "id_test" { resource_type = tencentcloud_dayu_ddos_policy.test_policy.resource_type policy_id = tencentcloud_dayu_ddos_policy.test_policy.policy_id }
```
Use this data source to query detailed information of dayu DDoS policy attachments ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_ddos_policy_attachments" "foo_type" { resource_type = tencentcloud_dayu_ddos_policy_attachment.dayu_ddos_policy_attachment.resource_type }
data "tencentcloud_dayu_ddos_policy_attachments" "foo_resource" { resource_id = tencentcloud_dayu_ddos_policy_attachment.dayu_ddos_policy_attachment.resource_id resource_type = tencentcloud_dayu_ddos_policy_attachment.dayu_ddos_policy_attachment.resource_type }
data "tencentcloud_dayu_ddos_policy_attachments" "foo_policy" { resource_type = tencentcloud_dayu_ddos_policy_attachment.dayu_ddos_policy_attachment.resource_type policy_id = tencentcloud_dayu_ddos_policy_attachment.dayu_ddos_policy_attachment.policy_id }
```
Use this data source to query dayu DDoS policy cases ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_ddos_policy_cases" "id_test" { resource_type = tencentcloud_dayu_ddos_policy_case.test_policy_case.resource_type scene_id = tencentcloud_dayu_ddos_policy_case.test_policy_case.scene_id }
```
Use this data source to query dayu eip rules ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_eip" "test" { resource_id="bgpip-000004xg" }
```
Use this data source to query dayu layer 4 rules ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_l4_rules" "name_test" { resource_type = tencentcloud_dayu_l4_rule.test_rule.resource_type resource_id = tencentcloud_dayu_l4_rule.test_rule.resource_id name = tencentcloud_dayu_l4_rule.test_rule.name }
data "tencentcloud_dayu_l4_rules" "id_test" { resource_type = tencentcloud_dayu_l4_rule.test_rule.resource_type resource_id = tencentcloud_dayu_l4_rule.test_rule.resource_id rule_id = tencentcloud_dayu_l4_rule.test_rule.rule_id }
```
Use this data source to query dayu new layer 4 rules ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_l4_rules_v2" "tencentcloud_dayu_l4_rules_v2" { business = "bgpip" }
```
Use this data source to query dayu layer 7 rules ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_l7_rules" "domain_test" { resource_type = tencentcloud_dayu_l7_rule.test_rule.resource_type resource_id = tencentcloud_dayu_l7_rule.test_rule.resource_id domain = tencentcloud_dayu_l7_rule.test_rule.domain }
data "tencentcloud_dayu_l7_rules" "id_test" { resource_type = tencentcloud_dayu_l7_rule.test_rule.resource_type resource_id = tencentcloud_dayu_l7_rule.test_rule.resource_id rule_id = tencentcloud_dayu_l7_rule.test_rule.rule_id }
```
Use this data source to query new dayu layer 7 rules ¶
Example Usage ¶
```hcl
data "tencentcloud_dayu_l7_rules_v2" "test" { business = "bgpip" domain = "qq.com" protocol = "https" }
```
Use this data source to query detailed information of dbbrain db_space_status
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_db_space_status" "db_space_status" { instance_id = "%s" range_days = 7 product = "mysql" }
```
Use this data source to query detailed information of dbbrain diag_db_instances
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_diag_db_instances" "diag_db_instances" { is_supported = true product = "mysql" instance_names = ["keep_preset_mysql"] }
```
Use this data source to query detailed information of dbbrain diag_event
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_diag_history" "diag_history" { instance_id = "%s" start_time = "%s" end_time = "%s" product = "mysql" }
data "tencentcloud_dbbrain_diag_event" "diag_event" { instance_id = "%s" event_id = data.tencentcloud_dbbrain_diag_history.diag_history.events.0.event_id product = "mysql" }
```
Use this data source to query detailed information of dbbrain diag_events
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_diag_events" "diag_events" { instance_ids = ["%s"] start_time = "%s" end_time = "%s" severities = [1,4,5] }
```
Use this data source to query detailed information of dbbrain diag_history
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_diag_history" "diag_history" { instance_id = "%s" start_time = "%s" end_time = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain health_scores
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_health_scores" "health_scores" { instance_id = "" time = "" product = "" }
```
Use this data source to query detailed information of dbbrain mysql_process_list
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_mysql_process_list" "mysql_process_list" { instance_id = local.mysql_id product = "mysql" }
```
Use this data source to query detailed information of dbbrain no_primary_key_tables
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_no_primary_key_tables" "no_primary_key_tables" { instance_id = "" date = "" product = "" }
```
Use this data source to query detailed information of dbbrain redis_top_big_keys
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_redis_top_big_keys" "redis_top_big_keys" { instance_id = local.redis_id date = "%s" product = "redis" sort_by = "Capacity" key_type = "string" }
```
Use this data source to query detailed information of dbbrain redis_top_key_prefix_list
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_redis_top_key_prefix_list" "redis_top_key_prefix_list" { instance_id = local.redis_id date = "%s" product = "redis" }
```
Use this data source to query detailed information of dbbrain security_audit_log_download_urls
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_security_audit_log_export_task" "task" { sec_audit_group_id = "%s" start_time = "%s" end_time = "%s" product = "mysql" danger_levels = [0,1,2] }
data "tencentcloud_dbbrain_security_audit_log_download_urls" "test" { sec_audit_group_id = "%s" async_request_id = tencentcloud_dbbrain_security_audit_log_export_task.task.async_request_id product = "mysql" }
```
Use this data source to query detailed information of dbbrain securityAuditLogExportTasks ¶
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_security_audit_log_export_task" "task" { sec_audit_group_id = "sec_audit_group_id" start_time = "start_time" end_time = "end_time" product = "mysql" danger_levels = [0,1,2] }
data "tencentcloud_dbbrain_security_audit_log_export_tasks" "tasks" { sec_audit_group_id = "sec_audit_group_id" product = "mysql" async_request_ids = [tencentcloud_dbbrain_security_audit_log_export_task.task.async_request_id] }
```
Use this data source to query detailed information of dbbrain slow_log_time_series_stats
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_slow_log_time_series_stats" "test" { instance_id = "%s" start_time = "%s" end_time = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain slow_log_top_sqls
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_slow_log_top_sqls" "test" { instance_id = "%s" start_time = "%s" end_time = "%s" sort_by = "QueryTimeMax" order_by = "ASC" product = "mysql" }
```
Use this data source to query detailed information of dbbrain slow_log_user_host_stats
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_slow_log_user_host_stats" "test" { instance_id = "%s" start_time = "%s" end_time = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain slow_log_user_sql_advice
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_slow_log_user_sql_advice" "test" { instance_id = "%s" sql_text = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain slow_logs
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_slow_logs" "slow_logs" { product = "mysql" instance_id = "%s" md5 = "4961208426639258265" start_time = "%s" end_time = "%s" }
```
Use this data source to query detailed information of dbbrain sqlFilters ¶
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_sql_filter" "sql_filter" { instance_id = "mysql_ins_id" session_token { user = "user" password = "password" } sql_type = "SELECT" filter_key = "test" max_concurrency = 10 duration = 3600 }
data "tencentcloud_dbbrain_sql_filters" "sql_filters" { instance_id = "mysql_ins_id" filter_ids = [tencentcloud_dbbrain_sql_filter.sql_filter.filter_id] }
```
Use this data source to query detailed information of dbbrain sql_templates
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_sql_templates" "sql_templates" { instance_id = "" schema = "" sql_text = "" product = "" }
```
Use this data source to query detailed information of dbbrain top_space_schema_time_series
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_top_space_schema_time_series" "top_space_schema_time_series" { instance_id = "%s" sort_by = "DataLength" start_date = "%s" end_date = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain top_space_schemas
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_top_space_schemas" "top_space_schemas" { instance_id = "%s" sort_by = "DataLength" product = "mysql" }
```
Use this data source to query detailed information of dbbrain top_space_table_time_series
Example Usage ¶
```hcl
data "tencentcloud_dbbrain_top_space_table_time_series" "top_space_table_time_series" { instance_id = "%s" sort_by = "DataLength" start_date = "%s" end_date = "%s" product = "mysql" }
```
Use this data source to query detailed information of dbbrain top_space_tables
Example Usage ¶
Sort by PhysicalFileSize ```hcl
data "tencentcloud_dbbrain_top_space_tables" "top_space_tables" { instance_id = "%s" sort_by = "PhysicalFileSize" product = "mysql" }
```
Sort by TotalLength ```hcl
data "tencentcloud_dbbrain_top_space_tables" "top_space_tables" { instance_id = "%s" sort_by = "PhysicalFileSize" product = "mysql" }
```
Use this data source to query detailed information of dc access_points
Example Usage ¶
```hcl
data "tencentcloud_dc_access_points" "access_points" { region_id = "ap-guangzhou" }
```
Use this data source to query detailed information of direct connect gateway route entries.
Example Usage ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
resource "tencentcloud_dc_gateway" "ccn_main" { name = "ci-cdg-ccn-test" network_instance_id = tencentcloud_ccn.main.id network_type = "CCN" gateway_type = "NORMAL" }
resource "tencentcloud_dc_gateway_ccn_route" "route1" { dcg_id = tencentcloud_dc_gateway.ccn_main.id cidr_block = "10.1.1.0/32" }
resource "tencentcloud_dc_gateway_ccn_route" "route2" { dcg_id = tencentcloud_dc_gateway.ccn_main.id cidr_block = "192.1.1.0/32" }
#You need to sleep for a few seconds because there is a cache on the server
data "tencentcloud_dc_gateway_ccn_routes" "test" { dcg_id = tencentcloud_dc_gateway.ccn_main.id }
```
Use this data source to query detailed information of direct connect gateway instances.
Example Usage ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
resource "tencentcloud_dc_gateway" "ccn_main" { name = "ci-cdg-ccn-test" network_instance_id = tencentcloud_ccn.main.id network_type = "CCN" gateway_type = "NORMAL" }
#You need to sleep for a few seconds because there is a cache on the server
data "tencentcloud_dc_gateway_instances" "name_select" { name = tencentcloud_dc_gateway.ccn_main.name }
data "tencentcloud_dc_gateway_instances" "id_select" { dcg_id = tencentcloud_dc_gateway.ccn_main.id }
```
Use this data source to query detailed information of DC instances.
Example Usage ¶
```hcl
data "tencentcloud_dc_instances" "name_select" { name = "t" }
data "tencentcloud_dc_instances" "id" { dcx_id = "dc-kax48sg7" }
```
Use this data source to query detailed information of dc internet_address_quota
Example Usage ¶
```hcl data "tencentcloud_dc_internet_address_quota" "internet_address_quota" {} ```
Use this data source to query detailed information of dc internet_address_statistics
Example Usage ¶
```hcl data "tencentcloud_dc_internet_address_statistics" "internet_address_statistics" {} ```
Use this data source to query detailed information of dc public_direct_connect_tunnel_routes
Example Usage ¶
```hcl
data "tencentcloud_dc_public_direct_connect_tunnel_routes" "public_direct_connect_tunnel_routes" { direct_connect_tunnel_id = "dcx-4z49tnws" }
```
Use this data source to query detailed information of dcdb accounts.
Example Usage ¶
```hcl
data "tencentcloud_dcdb_accounts" "foo" { instance_id = tencentcloud_dcdb_account.foo.instance_id }
```
Use this data source to query detailed information of dcdb database_objects
Example Usage ¶
```hcl
data "tencentcloud_dcdb_database_objects" "database_objects" { instance_id = "dcdbt-ow7t8lmc" db_name = <nil> }
```
Use this data source to query detailed information of dcdb database_tables
Example Usage ¶
```hcl
data "tencentcloud_dcdb_database_tables" "database_tables" { instance_id = "dcdbt-ow7t8lmc" db_name = <nil> table = <nil> table = <nil> cols { col = <nil> type = <nil> } }
```
Use this data source to query detailed information of dcdb databases ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_databases" "databases" { instance_id = "your_dcdb_instance_id" }
```
Use this data source to query detailed information of dcdb file_download_url
Example Usage ¶
```hcl
data "tencentcloud_dcdb_file_download_url" "file_download_url" { instance_id = local.dcdb_id shard_id = "shard-1b5r04az" file_path = "/cos_backup/test.txt" }
```
Use this data source to query detailed information of dcdb instance_node_info
Example Usage ¶
```hcl
data "tencentcloud_dcdb_instance_node_info" "instance_node_info" { instance_id = local.dcdb_id }
```
Use this data source to query detailed information of dcdb instances ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_instances" "instances1" { instance_ids = "your_dcdb_instance1_id" search_name = "instancename" search_key = "search_key" project_ids = [0] excluster_type = 0 is_filter_excluster = true excluster_type = 0 is_filter_vpc = true vpc_id = "your_vpc_id" subnet_id = "your_subnet_id" }
data "tencentcloud_dcdb_instances" "instances2" { instance_ids = ["your_dcdb_instance2_id"] }
data "tencentcloud_dcdb_instances" "instances3" { search_name = "instancename" search_key = "instances3" is_filter_excluster = false excluster_type = 2 }
```
Use this data source to query detailed information of dcdb log_files
Example Usage ¶
```hcl
data "tencentcloud_dcdb_log_files" "log_files" { instance_id = local.dcdb_id shard_id = "shard-1b5r04az" type = 1 }
```
Use this data source to query detailed information of dcdb orders ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_orders" "orders" { deal_names = ["2023061224903413767xxxx"] }
```
Use this data source to query detailed information of dcdb parameters ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_parameters" "parameters" { instance_id = "your_instance_id" }
```
Use this data source to query detailed information of dcdb price ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_price" "price" { instance_count = 1 zone = var.default_az period = 1 shard_node_count = 2 shard_memory = 2 shard_storage = 10 shard_count = 2 paymode = "postpaid" amount_unit = "pent" }
```
Use this data source to query detailed information of dcdb project_security_groups
Example Usage ¶
```hcl
data "tencentcloud_dcdb_project_security_groups" "project_security_groups" { product = "dcdb" project_id = 0 }
```
Use this data source to query detailed information of dcdb projects ¶
Example Usage ¶
```hcl data "tencentcloud_dcdb_projects" "projects" {} ```
Use this data source to query detailed information of dcdb renewal_price
Example Usage ¶
```hcl
data "tencentcloud_dcdb_renewal_price" "renewal_price" { instance_id = local.dcdb_id period = 1 amount_unit = "pent" }
```
Use this data source to query detailed information of dcdb sale_info
Example Usage ¶
```hcl
data "tencentcloud_dcdb_sale_info" "sale_info" { }
```
Use this data source to query detailed information of dcdb securityGroups ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_security_groups" "securityGroups" { instance_id = "your_instance_id" }
```
Use this data source to query detailed information of dcdb shard_spec
Example Usage ¶
```hcl data "tencentcloud_dcdb_shard_spec" "shard_spec" {} ```
Use this data source to query detailed information of dcdb shards ¶
Example Usage ¶
```hcl
data "tencentcloud_dcdb_shards" "shards" { instance_id = "your_instance_id" shard_instance_ids = ["shard1_id"] }
```
Use this data source to query detailed information of dcdb slow_logs
Example Usage ¶
```hcl
data "tencentcloud_dcdb_slow_logs" "slow_logs" { instance_id = local.dcdb_id start_time = "%s" end_time = "%s" shard_id = "shard-1b5r04az" db = "tf_test_db" order_by = "query_time_sum" order_by_type = "desc" slave = 0 }
```
Use this data source to query detailed information of dcdb upgrade_price
Example Usage ¶
```hcl
data "tencentcloud_dcdb_upgrade_price" "add_upgrade_price" { instance_id = local.dcdb_id upgrade_type = "ADD" add_shard_config { shard_count = 2 shard_memory = 2 shard_storage = 100 } amount_unit = "pent" }
data "tencentcloud_dcdb_upgrade_price" "expand_upgrade_price" { instance_id = local.dcdb_id upgrade_type = "EXPAND" expand_shard_config { shard_instance_ids = ["shard-1b5r04az"] shard_memory = 2 shard_storage = 40 shard_node_count = 2 } amount_unit = "pent" }
data "tencentcloud_dcdb_upgrade_price" "split_upgrade_price" { instance_id = local.dcdb_id upgrade_type = "SPLIT" split_shard_config { shard_instance_ids = ["shard-1b5r04az"] split_rate = 50 shard_memory = 2 shard_storage = 100 } amount_unit = "pent" }
```
Use this data source to query detailed information of dedicated tunnels instances.
Example Usage ¶
```hcl
data "tencentcloud_dcx_instances" "name_select" { name = "main" }
data "tencentcloud_dcx_instances" "id" { dcx_id = "dcx-3ikuw30k" }
```
Use this data source to query detailed information of dlc check_data_engine_config_pairs_validity
Example Usage ¶
```hcl
data "tencentcloud_dlc_check_data_engine_config_pairs_validity" "check_data_engine_config_pairs_validity" { child_image_version_id = "d3ftghd4-9a7e-4f64-a3f4-f38507c69742" }
```
Use this data source to query detailed information of dlc check_data_engine_image_can_be_rollback
Example Usage ¶
```hcl
data "tencentcloud_dlc_check_data_engine_image_can_be_rollback" "check_data_engine_image_can_be_rollback" { data_engine_id = "DataEngine-public-1308919341" }
```
Use this data source to query detailed information of dlc check_data_engine_image_can_be_upgrade
Example Usage ¶
```hcl
data "tencentcloud_dlc_check_data_engine_image_can_be_upgrade" "check_data_engine_image_can_be_upgrade" { data_engine_id = "DataEngine-cgkvbas6" }
```
Use this data source to query detailed information of dlc describe_data_engine
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_data_engine" "describe_data_engine" { data_engine_name = "testSpark" }
```
Use this data source to query detailed information of dlc describe_data_engine_image_versions
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_data_engine_image_versions" "describe_data_engine_image_versions" { engine_type = "SparkBatch" }
```
Use this data source to query detailed information of dlc describe_data_engine_python_spark_images
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_data_engine_python_spark_images" "describe_data_engine_python_spark_images" { child_image_version_id = "d3ftghd4-9a7e-4f64-a3f4-f38507c69742" }
```
Use this data source to query detailed information of dlc describe_engine_usage_info
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_engine_usage_info" "describe_engine_usage_info" { data_engine_id = "DataEngine-g5ds87d8" }
```
Use this data source to query detailed information of dlc describe_user_info
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_user_info" "describe_user_info" { user_id = "100032772113" type = "Group" sort_by = "create-time" sorting = "desc" }
```
Use this data source to query detailed information of dlc describe_user_roles
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_user_roles" "describe_user_roles" { fuzzy = "1" }
```
Use this data source to query detailed information of dlc describe_user_type
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_user_type" "describe_user_type" { user_id = "127382378" }
```
Use this data source to query detailed information of dlc describe_work_group_info
Example Usage ¶
```hcl
data "tencentcloud_dlc_describe_work_group_info" "describe_work_group_info" { work_group_id = 23181 type = "User" sort_by = "create-time" sorting = "desc" }
```
Use this data source to query detailed information of DNATs.
Example Usage ¶
```hcl # query by nat gateway id
data "tencentcloud_dnats" "foo" { nat_id = "nat-xfaq1" }
query by vpc id ¶
data "tencentcloud_dnats" "foo" { vpc_id = "vpc-xfqag" }
query by elastic ip ¶
data "tencentcloud_dnats" "foo" { elastic_ip = "123.207.115.136" }
```
Use this data source to query detailed information of dnspod domain_analytics
Example Usage ¶
```hcl
data "tencentcloud_dnspod_domain_analytics" "domain_analytics" { domain = "dnspod.cn" start_date = "2023-10-07" end_date = "2023-10-12" dns_format = "HOUR" # domain_id = 123 }
```
Use this data source to query detailed information of dnspod domain_list
Example Usage ¶
```hcl
data "tencentcloud_dnspod_domain_list" "domain_list" { type = "ALL" group_id = [1] keyword = "" sort_field = "UPDATED_ON" sort_type = "DESC" status = ["PAUSE"] package = [""] remark = "" updated_at_begin = "2021-05-01 03:00:00" updated_at_end = "2024-05-10 20:00:00" record_count_begin = 0 record_count_end = 100 project_id = -1 tags { tag_key = "created_by" tag_value = ["terraform"] } }
```
Use this data source to query detailed information of dnspod domain_log_list
Example Usage ¶
```hcl
data "tencentcloud_dnspod_domain_log_list" "domain_log_list" { domain = "iac-tf.cloud" domain_id = 123 }
```
Use this data source to query detailed information of dnspod record_analytics
Example Usage ¶
```hcl
data "tencentcloud_dnspod_record_analytics" "record_analytics" { domain = "iac-tf.cloud" start_date = "2023-09-07" end_date = "2023-11-07" subdomain = "www" dns_format = "HOUR" # domain_id = 123 }
```
Use this data source to query detailed information of dnspod record_line_list
Example Usage ¶
```hcl
data "tencentcloud_dnspod_record_line_list" "record_line_list" { domain = "iac-tf.cloud" domain_grade = "DP_FREE" domain_id = 123 }
```
Use this data source to query detailed information of dnspod record_list
Example Usage ¶
```hcl
data "tencentcloud_dnspod_record_list" "record_list" { domain = "iac-tf.cloud" # domain_id = 123 # sub_domain = "www" record_type = ["A", "NS", "CNAME", "NS", "AAAA"] # record_line = [""] group_id = [] keyword = "" sort_field = "UPDATED_ON" sort_type = "DESC" record_value = "bicycle.dnspod.net" record_status = ["ENABLE"] weight_begin = 0 weight_end = 100 mx_begin = 0 mx_end = 10 ttl_begin = 1 ttl_end = 864000 updated_at_begin = "2021-09-07" updated_at_end = "2023-12-07" remark = "" is_exact_sub_domain = true # project_id = -1 }
```
Use this data source to query detailed information of dnspod record_type
Example Usage ¶
```hcl
data "tencentcloud_dnspod_record_type" "record_type" { domain_grade = "DP_FREE" }
```
Use this data source to query dnspod record list.
Example Usage ¶
```hcl
data "tencentcloud_dnspod_records" "record" { domain = "example.com" subdomain = "www" }
output "result" { value = data.tencentcloud_dnspod_records.record.result }
```
Use verbose filter ¶
```hcl
data "tencentcloud_dnspod_records" "record" { domain = "example.com" subdomain = "www" limit = 100 record_type = "TXT" sort_field = "updated_on" sort_type = "DESC" }
output "result" { value = data.tencentcloud_dnspod_records.record.result }
```
Provide a datasource to query Domains.
Example Usage ¶
```hcl data "tencentcloud_domains" "foo" { } ```
Use this data source to query detailed information of dts compareTasks ¶
Example Usage ¶
```hcl
data "tencentcloud_dts_compare_tasks" "compareTasks" { job_id = "" }
```
Use this data source to query detailed information of dts migrate_db_instances
Example Usage ¶
```hcl
data "tencentcloud_dts_migrate_db_instances" "migrate_db_instances" { database_type = "mysql" migrate_role = "src" instance_id = "cdb-ffulb2sg" instance_name = "cdb_test" limit = 10 offset = 10 account_mode = "self" tmp_secret_id = "AKIDvBDyVmna9TadcS4YzfBZmkU5TbX12345" tmp_secret_key = "ZswjGWWHm24qMeiX6QUJsELDpC12345" tmp_token = "JOqqCPVuWdNZvlVDLxxx" }
```
Use this data source to query detailed information of dts migrateJobs ¶
Example Usage ¶
```hcl
resource "tencentcloud_dts_migrate_job" "migrate_job" { src_database_type = "mysql" dst_database_type = "cynosdbmysql" src_region = "ap-guangzhou" dst_region = "ap-guangzhou" instance_class = "small" job_name = "tf_test_migration_job" tags { tag_key = "aaa" tag_value = "bbb" } }
data "tencentcloud_dts_migrate_jobs" "all" {}
data "tencentcloud_dts_migrate_jobs" "job" { job_id = tencentcloud_dts_migrate_job.migrate_job.id job_name = tencentcloud_dts_migrate_job.migrate_job.job_name status = ["created"] }
data "tencentcloud_dts_migrate_jobs" "src_dest" {
src_region = "ap-guangzhou" src_database_type = ["mysql"] dst_region = "ap-guangzhou" dst_database_type = ["cynosdbmysql"] status = ["created"] tag_filters { tag_key = "aaa" tag_value = "bbb" } }
```
Use this data source to query detailed information of dts syncJobs ¶
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job" "job" { job_name = "tf_dts_test" pay_mode = "PostPay" src_database_type = "mysql" src_region = "ap-guangzhou" dst_database_type = "cynosdbmysql" dst_region = "ap-guangzhou" tags { tag_key = "aaa" tag_value = "bbb" } auto_renew = 0 instance_class = "micro" }
data "tencentcloud_dts_sync_jobs" "sync_jobs" { job_id = tencentcloud_dts_sync_job.job.id job_name = "tf_dts_test" }
```
Use this data source to query detailed information of eb bus ¶
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
data "tencentcloud_eb_bus" "bus" { order_by = "AddTime" order = "DESC" filters { values = ["Custom"] name = "Type" } depends_on = [ tencentcloud_eb_event_bus.foo ] }
```
Use this data source to query detailed information of eb event_rules Example Usage ```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus_rule" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_rule" "event_rule" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_name = "tf-event_rule" description = "event rule desc" enable = true event_pattern = jsonencode( { source = "apigw.cloud.tencent" type = [ "connector:apigw", ] } ) tags = { "createdBy" = "terraform" } }
data "tencentcloud_eb_event_rules" "event_rules" { event_bus_id = tencentcloud_eb_event_bus.foo.id order_by = "AddTime" order = "DESC" depends_on = [tencentcloud_eb_event_rule.event_rule] }
```
Use this data source to query detailed information of eb plateform_event_template
Example Usage ¶
```hcl
data "tencentcloud_eb_plateform_event_template" "plateform_event_template" { event_type = "eb_platform_test:TEST:ALL" }
```
Use this data source to query detailed information of eb platform_event_names
Example Usage ¶
```hcl
data "tencentcloud_eb_platform_event_names" "platform_event_names" { product_type = "" }
```
Use this data source to query detailed information of eb platform_event_patterns
Example Usage ¶
```hcl
data "tencentcloud_eb_platform_event_patterns" "platform_event_patterns" { product_type = "" }
```
Use this data source to query detailed information of eb platform_products
Example Usage ¶
```hcl data "tencentcloud_eb_platform_products" "platform_products" { } ```
Use this data source to query detailed information of eb eb_search
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_put_events" "put_events" { event_list { source = "ckafka.cloud.tencent" data = jsonencode( { "topic" : "test-topic", "Partition" : 1, "offset" : 37, "msgKey" : "test", "msgBody" : "Hello from Ckafka again!" } ) type = "connector:ckafka" subject = "qcs::ckafka:ap-guangzhou:uin/1250000000:ckafkaId/uin/1250000000/ckafka-123456" time = 1691572461939 } event_bus_id = tencentcloud_eb_event_bus.foo.id }
data "tencentcloud_eb_search" "eb_search" { start_time = 1691637288422 end_time = 1691648088422 event_bus_id = "eb-jzytzr4e" group_field = "RuleIds" filter { type = "OR" filters { key = "status" operator = "eq" value = "1" } } filter { type = "OR" filters { key = "type" operator = "eq" value = "connector:ckafka" } } # order_fields = [""] order_by = "desc" }
```
Provides an available EIP for the user.
The EIP data source fetch proper EIP from user's EIP pool.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_eips.
Example Usage ¶
```hcl
data "tencentcloud_eip" "my_eip" { filter { name = "address-status" values = ["UNBIND"] } }
```
Use this data source to query detailed information of vpc address_quota
Example Usage ¶
```hcl data "tencentcloud_eip_address_quota" "address_quota" {} ```
Use this data source to query detailed information of eip network_account_type
Example Usage ¶
```hcl data "tencentcloud_eip_network_account_type" "network_account_type" {} ```
Use this data source to query eip instances.
Example Usage ¶
```hcl
data "tencentcloud_eips" "foo" { eip_id = "eip-ry9h95hg" }
```
Provide a datasource to query EKS cluster credential info (offlined).
~> **NOTE:** This resource was offline no longer supported.
Example Usage ¶
```hcl
data "tencentcloud_eks_cluster_credential" "foo" { cluster_id = "cls-xxxxxxxx" }
example outputs ¶
output "addresses" { value = data.tencentcloud_eks_cluster_credential.cred.addresses }
output "ca_cert" { value = data.tencentcloud_eks_cluster_credential.cred.credential.ca_cert }
output "token" { value = data.tencentcloud_eks_cluster_credential.cred.credential.token }
output "public_lb_param" { value = data.tencentcloud_eks_cluster_credential.cred.public_lb.0.extra_param }
output "internal_lb_subnet" { value = data.tencentcloud_eks_cluster_credential.cred.internal_lb.0.subnet_id }
```
Use this data source to query elastic kubernetes cluster resource (offlined).
~> **NOTE:** This resource was offline and no longer supported.
Example Usage ¶
```
data "tencentcloud_eks_clusters" "foo" { cluster_id = "cls-xxxxxxxx" }
```
Use this data source to query detailed information of elasticsearch diagnose ¶
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_diagnose" "diagnose" { instance_id = "es-xxxxxx" date = "20231030" limit = 1 }
```
Use this data source to query detailed information of es elasticsearch_instance_logs
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_instance_logs" "elasticsearch_instance_logs" { instance_id = "es-xxxxxx" }
```
Use this data source to query detailed information of elasticsearch instance operations ¶
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_instance_operations" "instance_operations" { instance_id = "es-xxxxxx" start_time = "2018-01-01 00:00:00" end_time = "2023-10-31 10:12:45" }
```
Use this data source to query detailed information of elasticsearch instance plugin list ¶
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_instance_plugin_list" "instance_plugin_list" { instance_id = "es-xxxxxx" }
```
Use this data source to query elasticsearch instances.
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_instances" "foo" { instance_id = "es-17634f05" }
```
Use this data source to query detailed information of elasticsearch logstash_instance_logs
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_logstash_instance_logs" "logstash_instance_logs" { instance_id = "ls-xxxxxx" log_type = 1 start_time = "2023-10-31 10:30:00" end_time = "2023-10-31 10:30:10" }
```
Use this data source to query detailed information of elasticsearch logstash_instance_operations
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_logstash_instance_operations" "logstash_instance_operations" { instance_id = "ls-xxxxxx" start_time = "2018-01-01 00:00:00" end_time = "2023-10-31 10:12:45" }
```
Use this data source to query detailed information of elasticsearch views ¶
Example Usage ¶
```hcl
data "tencentcloud_elasticsearch_views" "views" { instance_id = "es-xxxxxx" }
```
Provides an available EMR for the user.
The EMR data source fetch proper EMR from user's EMR pool.
Example Usage ¶
```hcl
data "tencentcloud_emr" "my_emr" { display_strategy="clusterList" instance_ids=["emr-rnzqrleq"] }
```
Provides an available EMR for the user.
The EMR data source obtain the hardware node information by using the emr cluster ID.
Example Usage ¶
```hcl
data "tencentcloud_emr_nodes" "my_emr_nodes" { node_flag="master" instance_id="emr-rnzqrleq" }
```
Use this data source to query query ENIs.
Example Usage ¶
```hcl
data "tencentcloud_enis" "name" { name = "test eni" }
```
Use this data source to query detailed information of gaap access regions ¶
Example Usage ¶
```hcl data "tencentcloud_gaap_access_regions" "access_regions" { } ```
Use this data source to query detailed information of gaap access regions by dest region ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_access_regions_by_dest_region" "access_regions_by_dest_region" { dest_region = "SouthChina" }
```
Use this data source to query detailed information of gaap black header ¶
Example Usage ¶
```hcl data "tencentcloud_gaap_black_header" "black_header" { } ```
Use this data source to query GAAP certificate.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_certificate" "foo" { type = "BASIC" content = "test:tx2KGdo3zJg/." name = "test_certificate" }
data "tencentcloud_gaap_certificates" "foo" { id = tencentcloud_gaap_certificate.foo.id }
```
Use this data source to query detailed information of gaap check proxy create ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_check_proxy_create" "check_proxy_create" { access_region = "Guangzhou" real_server_region = "Beijing" bandwidth = 10 concurrent = 2 ip_address_version = "IPv4" network_type = "normal" package_type = "Thunder" http3_supported = 0 }
```
Use this data source to query detailed information of gaap country area mapping ¶
Example Usage ¶
```hcl data "tencentcloud_gaap_country_area_mapping" "country_area_mapping" { } ```
Use this data source to query detailed information of gaap custom header ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_custom_header" "custom_header" { rule_id = "rule-9sdhv655" }
```
Use this data source to query detailed information of gaap dest regions ¶
Example Usage ¶
```hcl data "tencentcloud_gaap_dest_regions" "dest_regions" { } ```
Use this data source to query detailed information of gaap domain error page infos ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_domain_error_page_infos" "domain_error_page_infos" { error_page_ids = ["errorPage-xxxxxx"] }
```
Use this data source to query custom GAAP HTTP domain error page info list.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource tencentcloud_gaap_layer7_listener "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = "%s" }
resource tencentcloud_gaap_http_domain "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" }
resource tencentcloud_gaap_domain_error_page "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = tencentcloud_gaap_http_domain.foo.domain error_codes = [406, 504] new_error_code = 502 body = "bad request" clear_headers = ["Content-Length", "X-TEST"] set_headers = { "X-TEST" = "test" } }
data tencentcloud_gaap_domain_error_pages "foo" { listener_id = tencentcloud_gaap_domain_error_page.foo.listener_id domain = tencentcloud_gaap_domain_error_page.foo.domain }
```
Use this data source to query detailed information of gaap and statistics proxy ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_group_and_statistics_proxy" "group_and_statistics_proxy" { project_id = 0 }
```
Use this data source to query forward domain of layer7 listeners.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
resource "tencentcloud_gaap_http_domain" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" }
data "tencentcloud_gaap_http_domains" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = tencentcloud_gaap_http_domain.foo.domain }
```
Use this data source to query forward rule of layer7 listeners.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" }
resource "tencentcloud_gaap_http_rule" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" path = "/" realserver_type = "IP" health_check = true realservers { id = tencentcloud_gaap_realserver.foo.id ip = tencentcloud_gaap_realserver.foo.ip port = 80 } }
data "tencentcloud_gaap_http_rules" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = tencentcloud_gaap_http_rule.foo.domain }
```
Use this data source to query gaap layer4 listeners.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" }
resource "tencentcloud_gaap_layer4_listener" "foo" { protocol = "TCP" name = "ci-test-gaap-4-listener" port = 80 realserver_type = "IP" proxy_id = tencentcloud_gaap_proxy.foo.id health_check = true interval = 5 connect_timeout = 2 realserver_bind_set { id = tencentcloud_gaap_realserver.foo.id ip = tencentcloud_gaap_realserver.foo.ip port = 80 } }
data "tencentcloud_gaap_layer4_listeners" "foo" { protocol = "TCP" proxy_id = tencentcloud_gaap_proxy.foo.id listener_id = tencentcloud_gaap_layer4_listener.foo.id }
```
Use this data source to query gaap layer7 listeners.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
data "tencentcloud_gaap_layer7_listeners" "listenerId" { protocol = "HTTP" proxy_id = tencentcloud_gaap_proxy.foo.id listener_id = tencentcloud_gaap_layer7_listener.foo.id }
```
Use this data source to query detailed information of gaap listener real servers ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_listener_real_servers" "listener_real_servers" { listener_id = "listener-xxxxxx" }
```
Use this data source to query detailed information of gaap listener statistics ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_listener_statistics" "listener_statistics" { listener_id = "listener-xxxxxx" start_time = "2023-10-19 00:00:00" end_time = "2023-10-19 23:59:59" metric_names = ["InBandwidth", "OutBandwidth", "InPackets", "OutPackets", "Concurrent"] granularity = 300 }
```
Use this data source to query gaap proxies.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
data "tencentcloud_gaap_proxies" "foo" { ids = [tencentcloud_gaap_proxy.foo.id] }
```
Use this data source to query detailed information of gaap proxies status ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxies_status" "proxies_status" { proxy_ids = ["link-xxxxxx"] }
```
Use this data source to query detailed information of gaap proxy and statistics listeners ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxy_and_statistics_listeners" "proxy_and_statistics_listeners" { project_id = 0 }
```
Use this data source to query detailed information of gaap proxy detail ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxy_detail" "proxy_detail" { proxy_id = "link-8lpyo88p" }
```
Use this data source to query detailed information of gaap proxy group statistics ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxy_group_statistics" "proxy_group_statistics" { group_id = "link-8lpyo88p" start_time = "2023-10-09 00:00:00" end_time = "2023-10-09 23:59:59" metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow"] granularity = 300 }
```
Use this data source to query detailed information of gaap proxy groups ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxy_groups" "proxy_groups" { project_id = 0 filters { name = "GroupId" values = ["lg-5anbbou5"] } }
```
Use this data source to query detailed information of gaap proxy statistics ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_proxy_statistics" "proxy_statistics" { proxy_id = "link-8lpyo88p" start_time = "2023-10-09 00:00:00" end_time = "2023-10-09 23:59:59" metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow", "InPackets", "OutPackets", "Concurrent", "HttpQPS", "HttpsQPS", "Latency", "PacketLoss"] granularity = 300 }
```
Use this data source to query detailed information of gaap real servers status ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_real_servers_status" "real_servers_status" { real_server_ids = ["rs-qcygnwpd"] }
```
Use this data source to query gaap realservers.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" }
data "tencentcloud_gaap_realservers" "foo" { ip = tencentcloud_gaap_realserver.foo.ip }
```
Use this data source to query detailed information of gaap region and price ¶
Example Usage ¶
```hcl data "tencentcloud_gaap_region_and_price" "region_and_price" { } ```
Use this data source to query detailed information of gaap resources by tag ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_resources_by_tag" "resources_by_tag" { tag_key = "tagKey" tag_value = "tagValue" }
```
Use this data source to query detailed information of gaap rule real servers ¶
Example Usage ¶
```hcl
data "tencentcloud_gaap_rule_real_servers" "rule_real_servers" { rule_id = "rule-xxxxxx" }
```
Use this data source to query security policies of GAAP proxy.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_security_policy" "foo" { proxy_id = tencentcloud_gaap_proxy.foo.id action = "ACCEPT" }
data "tencentcloud_gaap_security_policies" "foo" { id = tencentcloud_gaap_security_policy.foo.id }
```
Use this data source to query security policy rule.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_security_policy" "foo" { proxy_id = tencentcloud_gaap_proxy.foo.id action = "ACCEPT" }
resource "tencentcloud_gaap_security_rule" "foo" { policy_id = tencentcloud_gaap_security_policy.foo.id name = "ci-test-gaap-s-rule" cidr_ip = "1.1.1.1" action = "ACCEPT" protocol = "TCP" port = "80" }
data "tencentcloud_gaap_security_rules" "protocol" { policy_id = tencentcloud_gaap_security_policy.foo.id protocol = tencentcloud_gaap_security_rule.foo.protocol }
```
Use this data source to query detailed information of HA VIP EIP attachments ¶
Example Usage ¶
```hcl
data "tencentcloud_ha_vip_eip_attachments" "foo" { havip_id = "havip-kjqwe4ba" address_ip = "1.1.1.1" }
```
Use this data source to query detailed information of HA VIPs.
Example Usage ¶
```hcl
data "tencentcloud_ha_vips" "havips" { id = "havip-kjqwe4ba" name = "test" vpc_id = "vpc-gzea3dd7" subnet_id = "subnet-4d4m4cd4" address_ip = "10.0.4.16" }
```
Provides an available image for the user.
The Images data source fetch proper image, which could be one of the private images of the user and images of system resources provided by TencentCloud, as well as other public images and those available on the image market.
~> **NOTE:** This data source will be deprecated, please use `tencentcloud_images` instead.
Example Usage ¶
```hcl
data "tencentcloud_image" "my_favorate_image" { os_name = "centos" filter { name = "image-type" values = ["PUBLIC_IMAGE"] } }
```
Use this data source to query images.
Example Usage ¶
```hcl
data "tencentcloud_images" "foo" { image_type = ["PUBLIC_IMAGE"] os_name = "centos 7.5" }
```
Use this data source to query instances type.
Example Usage ¶
```hcl
data "tencentcloud_instance_types" "foo" { availability_zone = "ap-guangzhou-2" cpu_core_count = 2 memory_size = 4 }
data tencentcloud_instance_types "t1c1g" { cpu_core_count = 1 memory_size = 1 exclude_sold_out=true filter { name = "instance-charge-type" values = ["POSTPAID_BY_HOUR"] } filter { name = "zone" values = ["ap-shanghai-2"] } }
```
Use this data source to query cvm instances.
Example Usage ¶
```hcl
data "tencentcloud_instances" "foo" { instance_id = "ins-da412f5a" }
```
Use this data source to query cvm instances in parallel.
Example Usage ¶
```hcl
data "tencentcloud_instances_set" "foo" { vpc_id = "vpc-4owdpnwr" }
```
Use this data source to query key pairs.
Example Usage ¶
```hcl
data "tencentcloud_key_pairs" "foo" { key_id = "skey-ie97i3ml" }
data "tencentcloud_key_pairs" "name" { key_name = "^test$" }
```
Use this data source to query detailed information of kms key_lists
Example Usage ¶
```hcl
data "tencentcloud_kms_describe_keys" "example" { key_ids = [ "9ffacc8b-6461-11ee-a54e-525400dd8a7d", "bffae4ed-6465-11ee-90b2-5254000ef00e" ] }
```
Use this data source to query detailed information of kms get_parameters_for_import
Example Usage ¶
```hcl
data "tencentcloud_kms_get_parameters_for_import" "example" { key_id = "786aea8c-4aec-11ee-b601-525400281a45" wrapping_algorithm = "RSAES_OAEP_SHA_1" wrapping_key_spec = "RSA_2048" }
```
Use this data source to query detailed information of KMS key ¶
Example Usage ¶
```hcl
data "tencentcloud_kms_keys" "example" { search_key_alias = "tf_example" key_state = 0 origin = "TENCENT_KMS" key_usage = "ALL" }
```
Use this data source to query detailed information of kms list_algorithms
Example Usage ¶
```hcl data "tencentcloud_kms_list_algorithms" "example" {} ```
Use this data source to query detailed information of kms list_keys
Example Usage ¶
```hcl
data "tencentcloud_kms_list_keys" "example" { role = 1 }
```
Use this data source to query detailed information of kms public_key
Example Usage ¶
```hcl
data "tencentcloud_kms_public_key" "example" { key_id = tencentcloud_kms_key.example.id }
resource "tencentcloud_kms_key" "example" { alias = "tf-example-kms-key" description = "example of kms key" key_usage = "ASYMMETRIC_DECRYPT_RSA_2048" is_enabled = true pending_delete_window_in_days = 7 }
```
Use this data source to query detailed information of kms white_box_decrypt_key
Example Usage ¶
```hcl
data "tencentcloud_kms_white_box_decrypt_key" "example" { key_id = "244dab8c-6dad-11ea-80c6-5254006d0810" }
```
Use this data source to query detailed information of kms white_box_device_fingerprints
Example Usage ¶
```hcl
data "tencentcloud_kms_white_box_device_fingerprints" "example" { key_id = "244dab8c-6dad-11ea-80c6-5254006d0810" }
```
Use this data source to query detailed information of kms white_box_key_details
Example Usage ¶
```hcl
data "tencentcloud_kms_white_box_key_details" "example" { key_status = 0 }
```
Use this data source to query detailed information of kubernetes available_cluster_versions
Example Usage ¶
```hcl
data "tencentcloud_kubernetes_available_cluster_versions" "query_by_id" { cluster_id = "xxx" }
output "versions_id"{ description = "Query versions from id." value = data.tencentcloud_kubernetes_available_cluster_versions.query_by_id.versions }
data "tencentcloud_kubernetes_available_cluster_versions" "query_by_ids" { cluster_ids = ["xxx"] }
output "versions_ids"{ description = "Query versions from ids." value = data.tencentcloud_kubernetes_available_cluster_versions.query_by_ids.clusters }
```
Use this data source to query detailed information of kubernetes cluster addons.
Example Usage ¶
```hcl data "tencentcloud_kubernetes_charts" "name" {} ```
Use this data source to query detailed information of kubernetes cluster_authentication_options
Example Usage ¶
```hcl
data "tencentcloud_kubernetes_cluster_authentication_options" "cluster_authentication_options" { cluster_id = "cls-kzilgv5m" }
```
Provide a datasource to query cluster CommonNames.
Example Usage ¶
```hcl
data "tencentcloud_kubernetes_cluster_common_names" "foo" { cluster_id = "cls-12345678" subaccount_uins = ["1234567890", "0987654321"] }
```
Provide a datasource to query TKE cluster levels.
Example Usage ¶
```hcl data "tencentcloud_kubernetes_cluster_levels" "foo" {}
output "level5" { value = data.tencentcloud_kubernetes_cluster_levels.foo.list.0.alias }
```
Use this data source to query detailed information of kubernetes clusters.
Example Usage ¶
```hcl
data "tencentcloud_kubernetes_clusters" "name" { cluster_name = "terraform" }
data "tencentcloud_kubernetes_clusters" "id" { cluster_id = "cls-godovr32" }
```
Use this data source to query detailed information of all region lighthouse scene ¶
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_all_scene" "scene" { offset = 0 limit = 20 }
```
Use this data source to query detailed information of lighthouse bundle ¶
Example Usage ¶
```hcl data "tencentcloud_lighthouse_bundle" "bundle" { } ```
Use this data source to query detailed information of lighthouse disk_config
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_disk_config" "disk_config" { filters { name = "zone" values = ["ap-guangzhou-3"] } }
```
Use this data source to query detailed information of lighthouse disk ¶
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_disks" "disks" { disk_ids = ["lhdisk-xxxxxx"] }
```
Use this data source to query detailed information of lighthouse firewall_rules_template
Example Usage ¶
```hcl data "tencentcloud_lighthouse_firewall_rules_template" "firewall_rules_template" { } ```
Use this data source to query detailed information of lighthouse instance_blueprint
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_instance_blueprint" "instance_blueprint" { instance_ids = ["lhins-xxxxxx"] }
```
Use this data source to query detailed information of lighthouse instance_disk_num
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_instance_disk_num" "instance_disk_num" { instance_ids = ["lhins-xxxxxx"] }
```
Use this data source to query detailed information of lighthouse instance_traffic_package
Example Usage ¶
```hcl data "tencentcloud_lighthouse_instance_traffic_package" "instance_traffic_package" { } ```
Use this data source to query detailed information of lighthouse instance_vnc_url
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_instance_vnc_url" "instance_vnc_url" { instance_id = "lhins-123456" }
```
Use this data source to query detailed information of lighthouse modify_instance_bundle
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_modify_instance_bundle" "modify_instance_bundle" { instance_id = "lhins-xxxxxx" filters { name = "bundle-id" values = ["bundle_gen_mc_med2_02"] } }
```
Use this data source to query detailed information of lighthouse region ¶
Example Usage ¶
```hcl data "tencentcloud_lighthouse_region" "region" { } ```
Use this data source to query detailed information of lighthouse reset_instance_blueprint
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_reset_instance_blueprint" "reset_instance_blueprint" { instance_id = "lhins-123456" offset = 0 limit = 20 }
```
Use this data source to query detailed information of lighthouse scene with region ¶
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_scene" "scene" { offset = 0 limit = 20 }
```
Use this data source to query detailed information of lighthouse zone ¶
Example Usage ¶
```hcl
data "tencentcloud_lighthouse_zone" "zone" { order_field = "ZONE" order = "ASC" }
```
Use this data source to query detailed information of mariadb accounts ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_accounts" "accounts" { instance_id = "tdsql-4pzs5b67" }
```
Use this data source to query detailed information of mariadb database_objects
Example Usage ¶
```hcl
data "tencentcloud_mariadb_database_objects" "database_objects" { instance_id = "tdsql-n2fw7pn3" db_name = "mysql" }
```
Use this data source to query detailed information of mariadb database_table
Example Usage ¶
```hcl
data "tencentcloud_mariadb_database_table" "database_table" { instance_id = "tdsql-e9tklsgz" db_name = "mysql" table = "server_cost" }
```
Use this data source to query detailed information of mariadb databases ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_databases" "databases" { instance_id = "tdsql-e9tklsgz" }
```
Use this data source to query detailed information of mariadb dbInstances ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_db_instances" "dbInstances" { instance_ids = ["tdsql-ijxtqk5p"] project_ids = ["0"] vpc_id = "5556791" subnet_id = "3454730" }
```
Use this data source to query detailed information of mariadb dcn_detail
Example Usage ¶
```hcl
data "tencentcloud_mariadb_dcn_detail" "dcn_detail" { instance_id = "tdsql-9vqvls95" }
```
Use this data source to query detailed information of mariadb file_download_url
Example Usage ¶
```hcl
data "tencentcloud_mariadb_file_download_url" "file_download_url" { instance_id = "tdsql-9vqvls95" file_path = "/cos_backup/test.txt" }
```
Use this data source to query detailed information of mariadb flow ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_flow" "flow" { flow_id = 1307 }
```
Use this data source to query detailed information of mariadb instance_node_info
Example Usage ¶
```hcl
data "tencentcloud_mariadb_instance_node_info" "instance_node_info" { instance_id = "tdsql-9vqvls95" }
```
Use this data source to query detailed information of mariadb instance_specs
Example Usage ¶
```hcl data "tencentcloud_mariadb_instance_specs" "instance_specs" { } ```
Use this data source to query detailed information of mariadb log_files
Example Usage ¶
```hcl
data "tencentcloud_mariadb_log_files" "log_files" { instance_id = "tdsql-9vqvls95" type = 1 }
```
Use this data source to query detailed information of mariadb orders ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_orders" "orders" { deal_name = "20230607164033835942781" }
```
Use this data source to query detailed information of mariadb price ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_price" "price" { zone = "ap-guangzhou-3" node_count = 2 memory = 2 storage = 20 buy_count = 1 period = 1 paymode = "prepaid" }
```
Use this data source to query detailed information of mariadb project_security_groups
Example Usage ¶
```hcl
data "tencentcloud_mariadb_project_security_groups" "project_security_groups" { product = "mariadb" project_id = 0 }
```
Use this data source to query detailed information of mariadb renewal_price
Example Usage ¶
```hcl
data "tencentcloud_mariadb_renewal_price" "renewal_price" { instance_id = "tdsql-9vqvls95" period = 2 }
```
Use this data source to query detailed information of mariadb sale_info
Example Usage ¶
```hcl data "tencentcloud_mariadb_sale_info" "sale_info" { } ```
Use this data source to query detailed information of mariadb securityGroups ¶
Example Usage ¶
```hcl
data "tencentcloud_mariadb_security_groups" "securityGroups" { instance_id = "tdsql-4pzs5b67" product = "mariadb" }
```
Use this data source to query detailed information of mariadb slow_logs
Example Usage ¶
```hcl
data "tencentcloud_mariadb_slow_logs" "slow_logs" { instance_id = "tdsql-9vqvls95" start_time = "2023-06-01 14:55:20" order_by = "query_time_sum" order_by_type = "desc" slave = 0 }
```
Use this data source to query detailed information of mariadb upgrade_price
Example Usage ¶
```hcl
data "tencentcloud_mariadb_upgrade_price" "upgrade_price" { instance_id = "tdsql-9vqvls95" memory = 4 storage = 40 node_count = 2 }
```
Use this data source to query detailed information of mongodb instance_backups
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instance_backups" "instance_backups" { instance_id = "cmgo-9d0p6umb" backup_method = 0 }
```
Use this data source to query detailed information of mongodb instance_connections
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instance_connections" "instance_connections" { instance_id = "cmgo-9d0p6umb" }
```
Use this data source to query detailed information of mongodb instance_current_op
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instance_current_op" "instance_current_op" { instance_id = "cmgo-b43i3wkj" op = "command" order_by_type = "desc" }
```
Use this data source to query detailed information of mongodb instance_params
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instance_params" "instance_params" { instance_id = "cmgo-gwqk8669" }
```
Use this data source to query detailed information of mongodb instance_slow_log
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instance_slow_log" "instance_slow_log" { instance_id = "cmgo-9d0p6umb" start_time = "2019-06-01 10:00:00" end_time = "2019-06-02 12:00:00" slow_m_s = 100 format = "json" }
```
Use this data source to query detailed information of Mongodb instances.
Example Usage ¶
```hcl
data "tencentcloud_mongodb_instances" "mongodb" { instance_id = "cmgo-l6lwdsel" cluster_type = "REPLSET" }
```
Use this data source to query the available mongodb specifications for different zone.
Example Usage ¶
```hcl
data "tencentcloud_mongodb_zone_config" "mongodb" { available_zone = "ap-guangzhou-2" }
```
Use this data source to query detailed information of monitor alarm_all_namespaces
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_all_namespaces" "alarm_all_namespaces" { scene_type = "ST_ALARM" module = "monitor" monitor_types = ["MT_QCE"] ids = ["qaap_tunnel_l4_listeners"] }
```
Use this data source to query detailed information of monitor basic_alarms
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_basic_alarms" "alarms" { module = "monitor" start_time = 1696990903 end_time = 1697098903 occur_time_order = "DESC" project_ids = [0] view_names = ["cvm_device"] alarm_status = [1] instance_group_ids = [5497073] metric_names = ["cpu_usage"] }
```
Use this data source to query detailed information of monitor basic_metric
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_basic_metric" "alarm_metric" { namespace = "qce/cvm" metric_name = "WanOuttraffic" dimensions = ["uuid"] }
```
Use this data source to query detailed information of monitor alarm_conditions_template
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_conditions_template" "alarm_conditions_template" { module = "monitor" view_name = "cvm_device" group_name = "keep-template" group_id = "7803070" update_time_order = "desc=descending" policy_count_order = "asc=ascending" }
```
Use this data source to query detailed information of monitor alarm_history
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_history" "alarm_history" { module = "monitor" order = "DESC" start_time = 1696608000 end_time = 1697212799 monitor_types = ["MT_QCE"] project_ids = [0] namespaces { monitor_type = "CpuUsage" namespace = "cvm_device" } policy_name = "terraform_test" content = "CPU利用率 > 3%" policy_ids = ["policy-iejtp4ue"] }
```
Use this data source to query detailed information of monitor alarm_metric
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_metric" "alarm_metric" { module = "monitor" monitor_type = "Monitoring" namespace = "cvm_device" }
```
Use this data source to query detailed information of monitor alarm_monitor_type
Example Usage ¶
```hcl data "tencentcloud_monitor_alarm_monitor_type" "alarm_monitor_type" { } ```
Use this data source to query detailed information of monitor alarm_notice_callbacks
Example Usage ¶
```hcl data "tencentcloud_monitor_alarm_notice_callbacks" "alarm_notice_callbacks" { } ```
Use this data source to Interlude notification list.
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_notices" "notices" { order = "DESC" owner_uid = 1 name = "" receiver_type = "" user_ids = [] group_ids = [] notice_ids = [] }
```
Use this data source to query detailed information of monitor alarm_policy
Example Usage ¶
```hcl
data "tencentcloud_monitor_alarm_policy" "alarm_policy" { module = "monitor" policy_name = "terraform" monitor_types = ["MT_QCE"] namespaces = ["cvm_device"] project_ids = [0] notice_ids = ["notice-f2svbu3w"] rule_types = ["STATIC"] enable = [1] }
```
Use this data source to query policy group binding objects.
Example Usage ¶
```hcl
data "tencentcloud_monitor_policy_groups" "name" { name = "test" }
data "tencentcloud_monitor_binding_objects" "objects" { group_id = data.tencentcloud_monitor_policy_groups.name.list[0].group_id }
```
Use this data source to query monitor data. for complex queries, use (https://github.com/tencentyun/tencentcloud-exporter)
Example Usage ¶
```hcl data "tencentcloud_instances" "instances" { }
#cvm
data "tencentcloud_monitor_data" "cvm_monitor_data" { namespace = "QCE/CVM" metric_name = "CPUUsage" dimensions { name = "InstanceId" value = data.tencentcloud_instances.instances.instance_list[0].instance_id } period = 300 start_time = "2020-04-28T18:45:00+08:00" end_time = "2020-04-28T19:00:00+08:00" }
#cos
data "tencentcloud_monitor_data" "cos_monitor_data" { namespace = "QCE/COS" metric_name = "InternetTraffic" dimensions { name = "appid" value = "1258798060" } dimensions { name = "bucket" value = "test-1258798060" } period = 300 start_time = "2020-04-28T18:30:00+08:00" end_time = "2020-04-28T19:00:00+08:00" }
```
Use this data source to query detailed information of monitor grafana_plugin_overviews
Example Usage ¶
```hcl data "tencentcloud_monitor_grafana_plugin_overviews" "grafana_plugin_overviews" { } ```
Use this data source to query monitor policy conditions(There is a lot of data and it is recommended to output to a file)
Example Usage ¶
```hcl
data "tencentcloud_monitor_policy_conditions" "monitor_policy_conditions" { name = "Cloud Virtual Machine" result_output_file = "./tencentcloud_monitor_policy_conditions.txt" }
```
Use this data source to query monitor policy groups (There is a lot of data and it is recommended to output to a file)
Example Usage ¶
```hcl
data "tencentcloud_monitor_policy_groups" "groups" { policy_view_names = ["REDIS-CLUSTER", "cvm_device"] }
data "tencentcloud_monitor_policy_groups" "name" { name = "test" }
```
Use this data source to query monitor events(There is a lot of data and it is recommended to output to a file)
Example Usage ¶
```hcl
data "tencentcloud_monitor_product_event" "cvm_event_data" { start_time = 1588700283 is_alarm_config = 0 product_name = ["cvm"] }
```
Use this data source to query product namespace in monitor)
Example Usage ¶
```hcl
data "tencentcloud_monitor_product_namespace" "instances" { name = "Redis" }
```
Use this data source to query detailed information of monitor statistic_data
Example Usage ¶
```hcl
data "tencentcloud_monitor_statistic_data" "statistic_data" { module = "monitor" namespace = "QCE/TKE2" metric_names = ["cpu_usage"] conditions { key = "tke_cluster_instance_id" operator = "=" value = ["cls-mw2w40s7"] } }
```
Use this data source to query detailed information of monitor tmp_regions
Example Usage ¶
```hcl
data "tencentcloud_monitor_tmp_regions" "tmp_regions" { pay_mode = 1 }
```
Use this data source to query detailed information of mps media_meta_data
Example Usage ¶
Query the mps media meta data through COS ¶
```hcl
data "tencentcloud_cos_bucket_object" "object" { bucket = "keep-bucket-${local.app_id}" key = "/mps-test/test.mov" }
data "tencentcloud_mps_media_meta_data" "metadata" { input_info { type = "COS" cos_input_info { bucket = data.tencentcloud_cos_bucket_object.object.bucket region = "%s" object = data.tencentcloud_cos_bucket_object.object.key } } }
```
Use this data source to query detailed information of mps parse_live_stream_process_notification
Example Usage ¶
```hcl
data "tencentcloud_mps_parse_live_stream_process_notification" "parse_live_stream_process_notification" { content = "your_content" }
```
Use this data source to query detailed information of mps parse_notification
Example Usage ¶
```hcl
data "tencentcloud_mps_parse_notification" "parse_notification" { content = "your_content" }
```
Use this data source to query detailed information of mps schedules ¶
Example Usage ¶
Query the enabled schedules.
```hcl
data "tencentcloud_mps_schedules" "schedules" { status = "Enabled" }
```
Query the specified one.
```hcl
data "tencentcloud_mps_schedules" "schedules" { schedule_ids = [%d] trigger_type = "CosFileUpload" status = "Enabled" }
```
Use this data source to query detailed information of mps tasks ¶
Example Usage ¶
```hcl
data "tencentcloud_mps_tasks" "tasks" { status = "FINISH" limit = 20 }
```
Use this data source to query the list of backup databases.
Example Usage ¶
```hcl
data "tencentcloud_mysql_backup_list" "default" { mysql_id = "terraform-test-local-database" max_number = 10 result_output_file = "mytestpath" }
```
Use this data source to query detailed information of mysql backup_overview
Example Usage ¶
```hcl
data "tencentcloud_mysql_backup_overview" "backup_overview" { product = "mysql" }
```
Use this data source to query detailed information of mysql backup_summaries
Example Usage ¶
```hcl
data "tencentcloud_mysql_backup_summaries" "backup_summaries" { product = "mysql" order_by = "BackupVolume" order_direction = "ASC" }
```
Use this data source to query detailed information of mysql bin_log
Example Usage ¶
```hcl
data "tencentcloud_mysql_bin_log" "bin_log" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql binlog_backup_overview
Example Usage ¶
```hcl
data "tencentcloud_mysql_binlog_backup_overview" "binlog_backup_overview" { product = "mysql" }
```
Use this data source to query detailed information of mysql clone_list
Example Usage ¶
```hcl
data "tencentcloud_mysql_clone_list" "clone_list" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql data_backup_overview
Example Usage ¶
```hcl
data "tencentcloud_mysql_data_backup_overview" "data_backup_overview" { product = "mysql" }
```
Use this data source to query detailed information of mysql databases ¶
Example Usage ¶
```hcl
data "tencentcloud_mysql_databases" "databases" { instance_id = "cdb-c1nl9rpv" database_regexp = "" }
```
Use this data source to query detailed information of mysql db_features
Example Usage ¶
```hcl
data "tencentcloud_mysql_db_features" "db_features" { instance_id = "cdb-fitq5t9h" }
```
Provide a datasource to query default mysql parameters.
Example Usage ¶
```hcl
resource "tencentcloud_mysql_default_params" "mysql_57" { db_version = "5.7" }
```
Use this data source to query detailed information of mysql error_log
Example Usage ¶
```hcl
data "tencentcloud_mysql_error_log" "error_log" { instance_id = "cdb-fitq5t9h" start_time = 1683538307 end_time = 1686043908 key_words = ["Shutting"] inst_type = "slave" }
```
Use this data source to query detailed information of mysql inst_tables
Example Usage ¶
```hcl
data "tencentcloud_mysql_inst_tables" "inst_tables" { instance_id = "cdb-fitq5t9h" database = "tf_ci_test" # table_regexp = "" }
```
Use this data source to get information about a MySQL instance.
Example Usage ¶
```hcl
data "tencentcloud_mysql_instance" "mysql" { mysql_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql instance_charset
Example Usage ¶
```hcl
data "tencentcloud_mysql_instance_charset" "instance_charset" { instance_id = "" }
```
Use this data source to query detailed information of mysql instance_info
Example Usage ¶
```hcl
data "tencentcloud_mysql_instance_info" "instance_info" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql instance_param_record
Example Usage ¶
```hcl
data "tencentcloud_mysql_instance_param_record" "instance_param_record" { instance_id = "" }
```
Use this data source to query detailed information of mysql instance_reboot_time
Example Usage ¶
```hcl
data "tencentcloud_mysql_instance_reboot_time" "instance_reboot_time" { instance_ids = ["cdb-fitq5t9h"] }
```
Use this data source to get information about a parameter group of a database instance.
Example Usage ¶
```hcl
data "tencentcloud_mysql_parameter_list" "mysql" { mysql_id = "terraform-test-local-database" engine_version = "5.5" result_output_file = "mytestpath" }
```
Use this data source to query detailed information of mysql project_security_group
Example Usage ¶
```hcl
data "tencentcloud_mysql_project_security_group" "project_security_group" { project_id = 1250480 }
```
Use this data source to query detailed information of mysql proxy_custom
Example Usage ¶
```hcl
data "tencentcloud_mysql_proxy_custom" "proxy_custom" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql ro_min_scale
Example Usage ¶
```hcl
data "tencentcloud_mysql_ro_min_scale" "ro_min_scale" { # ro_instance_id = "" master_instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql rollback_range_time
Example Usage ¶
```hcl
data "tencentcloud_mysql_rollback_range_time" "rollback_range_time" { instance_ids = ["cdb-fitq5t9h"] }
```
Use this data source to query detailed information of mysql slow_log
Example Usage ¶
```hcl
data "tencentcloud_mysql_slow_log" "slow_log" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql slow_log_data
Example Usage ¶
```hcl
data "tencentcloud_mysql_slow_log_data" "slow_log_data" { instance_id = "cdb-fitq5t9h" start_time = 1682664459 end_time = 1684392459 user_hosts = ["169.254.128.158"] user_names = ["keep_dts"] data_bases = ["tf_ci_test"] sort_by = "Timestamp" order_by = "ASC" inst_type = "slave" }
```
Use this data source to query detailed information of mysql supported_privileges
Example Usage ¶
```hcl
data "tencentcloud_mysql_supported_privileges" "supported_privileges" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql switch_record
Example Usage ¶
```hcl
data "tencentcloud_mysql_switch_record" "switch_record" { instance_id = "cdb-fitq5t9h" }
```
Use this data source to query detailed information of mysql user_task
Example Usage ¶
```hcl
data "tencentcloud_mysql_user_task" "user_task" { instance_id = "cdb-fitq5t9h" async_request_id = "f2fe828c-773af816-0a08f542-94bb2a9c" task_types = [5] task_status = [2] start_time_begin = "2017-12-31 10:40:01" start_time_end = "2017-12-31 10:40:01" }
```
Use this data source to query the available database specifications for different regions. And a maximum of 20 requests can be initiated per second for this query.
Example Usage ¶
```hcl
data "tencentcloud_mysql_zone_config" "mysql" { region = "ap-guangzhou" result_output_file = "mytestpath" }
```
Use this data source to query detailed information of vpc nat_dc_route
Example Usage ¶
```hcl
data "tencentcloud_nat_dc_route" "nat_dc_route" { nat_gateway_id = "nat-gnxkey2e" vpc_id = "vpc-pyyv5k3v" }
```
Use this data source to query detailed information of VPN gateways.
Example Usage ¶
```hcl
data "tencentcloud_nat_gateway_snats" "snat" { nat_gateway_id = tencentcloud_nat_gateway.my_nat.id subnet_id = tencentcloud_nat_gateway_snat.my_subnet.id public_ip_addr = ["50.29.23.234"] description = "snat demo" result_output_file = "./snat.txt" }
```
Use this data source to query detailed information of NAT gateways.
Example Usage ¶
```hcl
data "tencentcloud_nat_gateways" "foo" { name = "main" vpc_id = "vpc-xfqag" id = "nat-xfaq1" }
```
The NATs data source lists a number of NATs resource information owned by an TencentCloud account.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_nat_gateways.
Example Usage ¶
```hcl # Query the NAT gateway by ID
data "tencentcloud_nats" "anat" { id = "nat-k6ualnp2" }
Query the list of normal NAT gateways ¶
data "tencentcloud_nats" "nat_state" { state = 0 }
Multi conditional query NAT gateway list ¶
data "tencentcloud_nats" "multi_nat" { name = "terraform test" vpc_id = "vpc-ezij4ltv" max_concurrent = 3000000 bandwidth = 500 }
```
Use this data source to query detailed information of oceanus check_savepoint
Example Usage ¶
```hcl
data "tencentcloud_oceanus_check_savepoint" "example" { job_id = "cql-314rw6w0" serial_id = "svp-52xkpymp" record_type = 1 savepoint_path = "cosn://52xkpymp-12345/12345/10000/cql-12345/2/flink-savepoints/savepoint-000000-12334" work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus clusters ¶
Example Usage ¶
Query all clusters ¶
```hcl data "tencentcloud_oceanus_clusters" "example" {} ```
Query the specified cluster ¶
```hcl
data "tencentcloud_oceanus_clusters" "example" { cluster_ids = ["cluster-5c42n3a5"] order_type = 1 filters { name = "name" values = ["tf_example"] } work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus job_submission_log
Example Usage ¶
```hcl
data "tencentcloud_oceanus_job_submission_log" "example" { job_id = "cql-314rw6w0" start_time = 1696130964345 end_time = 1698118169241 running_order_id = 0 order_type = "desc" }
```
Use this data source to query detailed information of oceanus resource_related_job
Example Usage ¶
```hcl
data "tencentcloud_oceanus_resource_related_job" "example" { resource_id = "resource-8y9lzcuz" desc_by_job_config_create_time = 0 resource_config_version = 1 work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus savepoint_list
Example Usage ¶
```hcl
data "tencentcloud_oceanus_savepoint_list" "example" { job_id = "cql-314rw6w0" work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus system_resource
Example Usage ¶
```hcl
data "tencentcloud_oceanus_system_resource" "example" { resource_ids = ["resource-abd503yt"] filters { name = "Name" values = ["tf_example"] } cluster_id = "cluster-n8yaia0p" flink_version = "Flink-1.11" }
```
Use this data source to query detailed information of oceanus tree_jobs
Example Usage ¶
```hcl
data "tencentcloud_oceanus_tree_jobs" "example" { work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus tree_resources
Example Usage ¶
```hcl
data "tencentcloud_oceanus_tree_resources" "example" { work_space_id = "space-2idq8wbr" }
```
Use this data source to query detailed information of oceanus work_spaces
Example Usage ¶
```hcl
data "tencentcloud_oceanus_work_spaces" "example" { order_type = 1 filters { name = "WorkSpaceName" values = ["tf_example"] } }
```
Use this data source to query detailed information of organization org_auth_node
Example Usage ¶
```hcl
data "tencentcloud_organization_org_auth_node" "org_auth_node" { }
```
Use this data source to query detailed information of organization org_financial_by_member
Example Usage ¶
```hcl
data "tencentcloud_organization_org_financial_by_member" "org_financial_by_member" { month = "2023-05" end_month = "2023-10" member_uins = [100015591986,100029796005] }
```
Use this data source to query detailed information of organization org_financial_by_month
Example Usage ¶
```hcl
data "tencentcloud_organization_org_financial_by_month" "org_financial_by_month" { end_month = "2023-05" member_uins = [100026517717] }
```
Use this data source to query detailed information of organization org_financial_by_product
Example Usage ¶
```hcl
data "tencentcloud_organization_org_financial_by_product" "org_financial_by_product" { month = "2023-05" end_month = "2023-09" product_codes = ["p_eip"] }
```
Use this data source to query placement groups.
Example Usage ¶
```hcl
data "tencentcloud_placement_groups" "foo" { placement_group_id = "ps-21q9ibvr" name = "test" }
```
Use this data source to query detailed information of postgresql backup_download_urls
Example Usage ¶
```hcl
data "tencentcloud_postgresql_log_backups" "log_backups" { min_finish_time = "%s" max_finish_time = "%s" filters { name = "db-instance-id" values = [local.pgsql_id] } order_by = "StartTime" order_by_type = "desc" }
data "tencentcloud_postgresql_backup_download_urls" "backup_download_urls" { db_instance_id = local.pgsql_id backup_type = "LogBackup" backup_id = data.tencentcloud_postgresql_log_backups.log_backups.log_backup_set.0.id url_expire_time = 12 backup_download_restriction { restriction_type = "NONE" vpc_restriction_effect = "ALLOW" vpc_id_set = [local.vpc_id] ip_restriction_effect = "ALLOW" ip_set = ["0.0.0.0"] } }
```
Use this data source to query detailed information of postgresql base_backups
Example Usage ¶
```hcl
data "tencentcloud_postgresql_base_backups" "base_backups" { min_finish_time = "%s" max_finish_time = "%s" order_by = "StartTime" order_by_type = "asc" }
data "tencentcloud_postgresql_base_backups" "base_backups" { filters { name = "db-instance-id" values = [local.pgsql_id] } order_by = "Size" order_by_type = "asc" }
```
Use this data source to query detailed information of postgresql db_instance_classes
Example Usage ¶
```hcl
data "tencentcloud_postgresql_db_instance_classes" "db_instance_classes" { zone = "ap-guangzhou-7" db_engine = "postgresql" db_major_version = "13" }
```
Use this data source to query detailed information of postgresql db_instance_versions
Example Usage ¶
```hcl data "tencentcloud_postgresql_db_instance_versions" "db_instance_versions" {} ```
Use this data source to query detailed information of postgresql default_parameters
Example Usage ¶
```hcl
data "tencentcloud_postgresql_default_parameters" "default_parameters" { db_major_version = "13" db_engine = "postgresql" }
```
Use this data source to query postgresql instances ¶
Example Usage ¶
```hcl
data "tencentcloud_postgresql_instances" "name" { name = "test" }
data "tencentcloud_postgresql_instances" "project" { project_id = 0 }
data "tencentcloud_postgresql_instances" "id" { id = "postgres-h9t4fde1" }
```
Use this data source to query detailed information of postgresql log_backups
Example Usage ¶
```hcl
data "tencentcloud_postgresql_log_backups" "log_backups" { min_finish_time = "%s" max_finish_time = "%s" filters { name = "db-instance-id" values = [local.pgsql_id] } order_by = "StartTime" order_by_type = "desc" }
```
Use this data source to query detailed information of postgresql parameter_templates
Example Usage ¶
```hcl
data "tencentcloud_postgresql_parameter_templates" "parameter_templates" { filters { name = "TemplateName" values = ["temp_name"] } filters { name = "DBEngine" values = ["postgresql"] } order_by = "CreateTime" order_by_type = "desc" }
```
Use this data source to query detailed information of postgresql read_only_groups
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_readonly_group" "group" { master_db_instance_id = "postgres-gzg9jb2n" name = "test-datasource" project_id = 0 vpc_id = "vpc-86v957zb" subnet_id = "subnet-enm92y0m" replay_lag_eliminate = 1 replay_latency_eliminate = 1 max_replay_lag = 100 max_replay_latency = 512 min_delay_eliminate_reserve = 1 }
data "tencentcloud_postgresql_readonly_groups" "read_only_groups" { filters { name = "db-master-instance-id" values = [tencentcloud_postgresql_readonly_group.group.master_db_instance_id] } order_by = "CreateTime" order_by_type = "asc" }
```
Use this data source to query detailed information of postgresql recovery_time
Example Usage ¶
```hcl
data "tencentcloud_postgresql_recovery_time" "recovery_time" { db_instance_id = local.pgsql_id }
```
Use this data source to query detailed information of postgresql regions ¶
Example Usage ¶
```hcl data "tencentcloud_postgresql_regions" "regions" {} ```
Use this data source to get the available product configs of the postgresql instance.
Example Usage ¶
```hcl
data "tencentcloud_postgresql_specinfos" "foo" { availability_zone = "ap-shanghai-2" }
```
Provide a datasource to query PostgreSQL Xlogs.
Example Usage ¶
```hcl
data "tencentcloud_postgresql_xlogs" "foo" { instance_id = "postgres-xxxxxxxx" start_time = "2022-01-01 00:00:00" end_time = "2022-01-07 01:02:03" }
```
Use this data source to query detailed information of postgresql zones ¶
Example Usage ¶
```hcl data "tencentcloud_postgresql_zones" "zones" {} ```
Use this data source to query detailed information of private dns records ¶
Example Usage ¶
```hcl
data "tencentcloud_private_dns_records" "private_dns_record" { zone_id = "zone-xxxxxx" filters { name = "Value" values = ["8.8.8.8"] } }
```
Use this data source to query detailed information of tag project ¶
Example Usage ¶
```hcl
data "tencentcloud_projects" "project" { all_list = 1 }
```
Use this data source to query detailed information of protocol template groups.
Example Usage ¶
```hcl
data "tencentcloud_protocol_template_groups" "name" { name = "test" }
```
Use this data source to query detailed information of protocol templates.
Example Usage ¶
```hcl
data "tencentcloud_protocol_templates" "name" { name = "test" }
```
Use this data source to query detailed information of pts scenario_with_jobs
Example Usage ¶
```hcl
data "tencentcloud_pts_scenario_with_jobs" "scenario_with_jobs" { project_ids = ["project-45vw7v82"] scenario_ids = ["scenario-koakp3h6"] scenario_name = "pts-jmeter" ascend = true ignore_script = true ignore_dataset = true scenario_type = "pts-jmeter" }
```
Use this data source to query detailed information of redis backup ¶
Example Usage ¶
```hcl
data "tencentcloud_redis_backup" "backup" { instance_id = "crs-c1nl9rpv" begin_time = "2023-04-07 03:57:30" end_time = "2023-04-07 03:57:56" status = [2] instance_name = "Keep-terraform" }
```
Use this data source to query detailed information of redis backup_download_info
Example Usage ¶
```hcl
data "tencentcloud_redis_backup_download_info" "backup_download_info" { instance_id = "crs-iw7d9wdd" backup_id = "641186639-8362913-1516672770" # limit_type = "NoLimit" # vpc_comparison_symbol = "In" # ip_comparison_symbol = "In" # limit_vpc { # region = "ap-guangzhou" # vpc_list = [""] # } # limit_ip = [""] }
```
Use this data source to query detailed information of redis instance_node_info
Example Usage ¶
```hcl
data "tencentcloud_redis_instance_node_info" "instance_node_info" { instance_id = "crs-c1nl9rpv" }
```
Use this data source to query detailed information of redis instance_shards
Example Usage ¶
```hcl
data "tencentcloud_redis_instance_shards" "instance_shards" { instance_id = "crs-c1nl9rpv" filter_slave = false }
```
Use this data source to query detailed information of redis instance_task_list
Example Usage ¶
```hcl
data "tencentcloud_redis_instance_task_list" "instance_task_list" { instance_id = "crs-c1nl9rpv" instance_name = "" project_ids = [""] task_types = [""] begin_time = "2021-12-30 00:00:00" end_time = "2021-12-30 00:00:00" task_status = [""] result = [""] operate_uin = [""] }
```
Use this data source to query detailed information of redis instance_zone_info
Example Usage ¶
```hcl
data "tencentcloud_redis_instance_zone_info" "instance_zone_info" { instance_id = "crs-c1nl9rpv" }
```
Use this data source to query the detail information of redis instance.
Example Usage ¶
```hcl
data "tencentcloud_redis_instances" "redislab" { zone = "ap-hongkong-1" search_key = "myredis" project_id = 0 limit = 20 result_output_file = "/tmp/redis_instances" }
```
Use this data source to query detailed information of redis param records ¶
Example Usage ¶
```hcl
data "tencentcloud_redis_param_records" "param_records" { instance_id = "crs-c1nl9rpv" }
```
Use this data source to query which instance types of Redis are available in a specific region.
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "redislab" { region = "ap-hongkong" result_output_file = "/temp/mytestpath" }
```
Use this data source to query reserved instances configuration.
Example Usage ¶
```hcl
data "tencentcloud_reserved_instance_configs" "config" { availability_zone = "na-siliconvalley-1" }
```
Use this data source to query reserved instances.
Example Usage ¶
```hcl
data "tencentcloud_reserved_instances" "instances" { availability_zone = "na-siliconvalley-1" instance_type = "S2.MEDIUM8" }
```
Provides details about a specific Route Table.
This resource can prove useful when a module accepts a Subnet id as an input variable and needs to, for example, add a route in the Route Table.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_vpc_route_tables.
Example Usage ¶
```hcl variable "route_table_id" {}
data "tencentcloud_route_table" "selected" { route_table_id = var.route_table_id }
resource "tencentcloud_route_entry" "rtb_entry_instance" { vpc_id = "{data.tencentcloud_route_table.selected.vpc_id}" route_table_id = var.route_table_id cidr_block = "10.4.8.0/24" next_type = "instance" next_hub = "10.16.1.7" }
```
Use this data source to query detailed information of rum custom_url
Example Usage ¶
```hcl
data "tencentcloud_rum_custom_url" "custom_url" { start_time = 1625444040 type = "top" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum event_url
Example Usage ¶
```hcl
data "tencentcloud_rum_event_url" "event_url" { start_time = 1625444040 type = "allcount" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum fetch_url
Example Usage ¶
```hcl
data "tencentcloud_rum_fetch_url" "fetch_url" { start_time = 1625444040 type = "allcount" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum fetch_url_info
Example Usage ¶
```hcl
data "tencentcloud_rum_fetch_url_info" "fetch_url_info" { start_time = 1625444040 type = "top" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum group_log
Example Usage ¶
```hcl
data "tencentcloud_rum_group_log" "group_log" { order_by = "desc" start_time = 1625444040000 query = "id:123 AND type:\"log\"" end_time = 1625454840000 project_id = 1 group_field = "level" }
```
Use this data source to query detailed information of rum log_export
Example Usage ¶
```hcl
data "tencentcloud_rum_log_export" "log_export" { name = "log" start_time = "1692594840000" query = "id:123 AND type: \"log\"" end_time = "1692609240000" project_id = 1 }
```
Use this data source to query detailed information of rum log_export_list
Example Usage ¶
```hcl
data "tencentcloud_rum_log_export_list" "log_export_list" { project_id = 1 }
```
Use this data source to query detailed information of rum log_list
Example Usage ¶
```hcl
data "tencentcloud_rum_log_list" "log_list" { order_by = "desc" start_time = 1625444040000 query = "id:123 AND type:\"log\"" end_time = 1625454840000 project_id = 1 }
```
Use this data source to query detailed information of rum log_stats_log_list
Example Usage ¶
```hcl
data "tencentcloud_rum_log_stats_log_list" "log_stats_log_list" { start_time = 1625444040 query = "id:123 AND type:\"log\"" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum log_url_statistics
Example Usage ¶
```hcl
data "tencentcloud_rum_log_url_statistics" "log_url_statistics" { start_time = 1625444040 type = "analysis" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum offlineLogConfig ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_offline_log_config" "offlineLogConfig" { project_key = "ZEYrYfvaYQ30jRdmPx" }
```
Use this data source to query detailed information of rum performance_page
Example Usage ¶
```hcl
data "tencentcloud_rum_performance_page" "performance_page" { project_id = 1 start_time = 1625444040 end_time = 1625454840 type = "pagepv" level = "1" }
```
Use this data source to query detailed information of rum project ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_project" "project" { instance_id = "rum-pasZKEI3RLgakj" }
```
Use this data source to query detailed information of rum pv_url_info
Example Usage ¶
```hcl
data "tencentcloud_rum_pv_url_info" "pv_url_info" { start_time = 1625444040 type = "pagepv" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum pv_url_statistics
Example Usage ¶
```hcl
data "tencentcloud_rum_pv_url_statistics" "pv_url_statistics" { start_time = 1625444040 type = "allcount" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum report_count
Example Usage ¶
```hcl
data "tencentcloud_rum_report_count" "report_count" { start_time = 1625444040 end_time = 1625454840 project_id = 1 report_type = "log" }
```
Use this data source to query detailed information of rum scores ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_scores" "scores" { end_time = "2023082215" start_time = "2023082214" project_id = 1 is_demo = 1 }
```
Use this data source to query detailed information of rum set_url_statistics
Example Usage ¶
```hcl
data "tencentcloud_rum_set_url_statistics" "set_url_statistics" { start_time = 1625444040 type = "allcount" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum sign ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_sign" "sign" { timeout = 1800 file_type = 1 }
```
Use this data source to query detailed information of rum static_project
Example Usage ¶
```hcl
data "tencentcloud_rum_static_project" "static_project" { start_time = 1625444040 type = "allcount" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum static_resource
Example Usage ¶
```hcl
data "tencentcloud_rum_static_resource" "static_resource" { start_time = 1625444040 type = "top" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum static_url
Example Usage ¶
```hcl
data "tencentcloud_rum_static_url" "static_url" { start_time = 1625444040 type = "pagepv" end_time = 1625454840 project_id = 1 }
```
Use this data source to query detailed information of rum taw_area
Example Usage ¶
```hcl
data "tencentcloud_rum_taw_area" "taw_area" { area_ids = area_keys = area_statuses = }
```
Use this data source to query detailed information of rum tawInstance ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_taw_instance" "taw_instance" { charge_statuses = [1,] charge_types = [1,] area_ids = [1,] instance_statuses = [2,] instance_ids = ["rum-pasZKEI3RLgakj",] }
```
Use this data source to query detailed information of rum web_vitals_page
Example Usage ¶
```hcl
data "tencentcloud_rum_web_vitals_page" "web_vitals_page" { start_time = 1625444040 end_time = 1625454840 project_id = 1 type = "from" }
```
Use this data source to query detailed information of rum whitelist ¶
Example Usage ¶
```hcl
data "tencentcloud_rum_whitelist" "whitelist" { instance_id = "rum-pasZKEI3RLgakj" }
```
Use this data source to query detailed information of scf account_info
Example Usage ¶
```hcl data "tencentcloud_scf_account_info" "account_info" {} ```
Use this data source to query detailed information of scf async_event_management
Example Usage ¶
```hcl
data "tencentcloud_scf_async_event_management" "async_event_management" { function_name = "keep-1676351130" namespace = "default" qualifier = "$LATEST" order = "ASC" orderby = "StartTime" }
```
Use this data source to query detailed information of scf async_event_status
Example Usage ¶
```hcl
data "tencentcloud_scf_async_event_status" "async_event_status" { invoke_request_id = "9de9405a-e33a-498d-bb59-e80b7bed1191" }
```
Use this data source to query detailed information of scf function_address
Example Usage ¶
```hcl
data "tencentcloud_scf_function_address" "function_address" { function_name = "keep-1676351130" namespace = "default" qualifier = "$LATEST" }
```
Use this data source to query detailed information of scf function_aliases
Example Usage ¶
```hcl
data "tencentcloud_scf_function_aliases" "function_aliases" { function_name = "keep-1676351130" namespace = "default" }
```
Use this data source to query detailed information of scf function_versions
Example Usage ¶
```hcl
data "tencentcloud_scf_function_versions" "function_versions" { function_name = "keep-1676351130" namespace = "default" }
```
Use this data source to query SCF functions.
Example Usage ¶
```hcl
resource "tencentcloud_scf_function" "foo" { name = "ci-test-function" handler = "main.do_it" runtime = "Python3.6" cos_bucket_name = "scf-code-1234567890" cos_object_name = "code.zip" cos_bucket_region = "ap-guangzhou" }
data "tencentcloud_scf_functions" "foo" { name = tencentcloud_scf_function.foo.name }
```
Use this data source to query detailed information of scf layer_versions
Example Usage ¶
```hcl
data "tencentcloud_scf_layer_versions" "layer_versions" { layer_name = "tf-test" }
```
Use this data source to query detailed information of scf layers ¶
Example Usage ¶
```hcl data "tencentcloud_scf_layers" "layers" {} ```
Use this data source to query SCF function logs.
Example Usage ¶
```hcl
resource "tencentcloud_scf_function" "foo" { name = "ci-test-function" handler = "main.do_it" runtime = "Python3.6" cos_bucket_name = "scf-code-1234567890" cos_object_name = "code.zip" cos_bucket_region = "ap-guangzhou" }
data "tencentcloud_scf_logs" "foo" { function_name = tencentcloud_scf_function.foo.name }
```
Use this data source to query SCF namespaces.
Example Usage ¶
```hcl
resource "tencentcloud_scf_namespace" "foo" { namespace = "ci-test-scf" }
data "tencentcloud_scf_namespaces" "foo" { namespace = tencentcloud_scf_namespace.foo.id }
```
Use this data source to query detailed information of scf request_status
Example Usage ¶
```hcl
data "tencentcloud_scf_request_status" "request_status" { function_name = "keep-1676351130" function_request_id = "9de9405a-e33a-498d-bb59-e80b7bed1191" namespace = "default" }
```
Use this data source to query detailed information of scf triggers ¶
Example Usage ¶
```hcl
data "tencentcloud_scf_triggers" "triggers" { function_name = "keep-1676351130" namespace = "default" order_by = "add_time" order = "DESC" }
```
Use this data source to query detailed information of security group.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_security_groups.
Example Usage ¶
```hcl
data "tencentcloud_security_group" "sglab" { security_group_id = tencentcloud_security_group.sglab.id }
```
Use this data source to query detailed information of security groups.
Example Usage ¶
```hcl
data "tencentcloud_security_groups" "sglab" { security_group_id = tencentcloud_security_group.sglab.id }
```
Use this data source to query detailed information of ses black_email_address
Example Usage ¶
```hcl
data "tencentcloud_ses_black_email_address" "black_email_address" { start_date = "2020-09-22" end_date = "2020-09-23" email_address = "xxx@mail.qcloud.com" task_id = "7000" }
```
Use this data source to query detailed information of ses email_identities
Example Usage ¶
```hcl data "tencentcloud_ses_email_identities" "email_identities" { } ```
Use this data source to query detailed information of ses receivers ¶
Example Usage ¶
```hcl
data "tencentcloud_ses_receivers" "receivers" { status = 3 key_word = "keep" }
```
Use this data source to query detailed information of ses send_email_status
Example Usage ¶
```hcl
data "tencentcloud_ses_send_email_status" "send_email_status" { request_date = "2020-09-22" message_id = "qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1" to_email_address = "example@cloud.com" }
```
Use this data source to query detailed information of ses send_tasks
Example Usage ¶
```hcl
data "tencentcloud_ses_send_tasks" "send_tasks" { status = 10 receiver_id = 1063742 task_type = 1 }
```
Use this data source to query detailed information of ses statistics_report
Example Usage ¶
```hcl
data "tencentcloud_ses_statistics_report" "statistics_report" { start_date = "2020-10-01" end_date = "2023-09-05" domain = "iac-tf.cloud" receiving_mailbox_type = "gmail.com" }
```
Use this data source to query the list of SQL Server account DB privileges.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_sqlserver_account_db_attachments" "test" { instance_id = tencentcloud_sqlserver_instance.example.id account_name = tencentcloud_sqlserver_account_db_attachment.example.account_name }
resource "tencentcloud_vpc" "vpc" { name = "example-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "example-vpc" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "example-sg" description = "desc." }
resource "tencentcloud_sqlserver_instance" "example" { name = "tf_example_sql" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name charge_type = "POSTPAID_BY_HOUR" period = 1 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.security_group.id] project_id = 0 memory = 2 storage = 20 maintenance_week_set = [1, 2, 3] maintenance_start_time = "01:00" maintenance_time_span = 3 tags = { "createBy" = "tfExample" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_instance.example.id name = "tfExampleDb" charset = "Chinese_PRC_BIN" remark = "remark desc." }
resource "tencentcloud_sqlserver_account" "example" { instance_id = tencentcloud_sqlserver_instance.example.id name = "tf_example_account" password = "PassWord@123" remark = "remark desc." }
resource "tencentcloud_sqlserver_account_db_attachment" "example" { instance_id = tencentcloud_sqlserver_instance.example.id account_name = tencentcloud_sqlserver_account.example.name db_name = tencentcloud_sqlserver_db.example.name privilege = "ReadWrite" }
```
Use this data source to query the list of SQL Server accounts.
Example Usage ¶
Pull instance account list ¶
```hcl
data "tencentcloud_sqlserver_accounts" "example" { instance_id = "mssql-3cdq7kx5" }
```
Pull instance account list Filter by name ¶
```hcl
data "tencentcloud_sqlserver_accounts" "example" { instance_id = "mssql-3cdq7kx5" name = "myaccount" }
```
Use this data source to query detailed information of sqlserver datasource_backup_by_flow_id
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
data "tencentcloud_sqlserver_backup_by_flow_id" "example" { instance_id = tencentcloud_sqlserver_general_backup.example.instance_id flow_id = tencentcloud_sqlserver_general_backup.example.flow_id }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_general_backup" "example" { instance_id = tencentcloud_sqlserver_db.example.id backup_name = "tf_example_backup" strategy = 0 }
```
Use this data source to query detailed information of sqlserver datasource_backup_command
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_backup_commands" "example" { backup_file_type = "FULL" data_base_name = "keep-publish-instance" is_recovery = "NO" }
```
Use this data source to query detailed information of sqlserver datasource_backup_upload_size
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_backup_upload_size" "example" { instance_id = "mssql-4gmc5805" backup_migration_id = "mssql-backup-migration-9tj0sxnz" }
```
Use this data source to query the list of SQL Server backups.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
data "tencentcloud_sqlserver_backups" "example" { instance_id = tencentcloud_sqlserver_general_backup.example.instance_id start_time = "2023-08-01 00:00:00" end_time = "2023-08-07 00:00:00" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_general_backup" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id backup_name = "tf_example_backup" strategy = 0 }
```
Filter by backup name ¶
```hcl
data "tencentcloud_sqlserver_backups" "example" { instance_id = tencentcloud_sqlserver_general_backup.example.instance_id start_time = "2023-08-01 00:00:00" end_time = "2023-08-07 00:00:00" backup_name = "tf-example-backup" }
```
Use this data source to query SQL Server basic instances ¶
Example Usage ¶
Filter instance by Id ¶
```hcl
data "tencentcloud_sqlserver_basic_instances" "example_id" { id = "mssql-3l3fgqn7" }
```
Filter instance by project Id ¶
```hcl
data "tencentcloud_sqlserver_basic_instances" "example_project" { project_id = 0 }
```
Filter instance by VPC/Subnet
```hcl
data "tencentcloud_sqlserver_basic_instances" "example_vpc" { vpc_id = "vpc-409mvdvv" subnet_id = "subnet-nf9n81ps" }
```
Use this data source to query detailed information of sqlserver datasource_cross_region_zone
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_cross_region_zone" "example" { instance_id = "mssql-qelbzgwf" }
```
Use this data source to query detailed information of sqlserver datasource_d_b_charsets
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_db_charsets" "example" { instance_id = "mssql-qelbzgwf" }
```
Use this data source to query DB resources for the specific SQL Server instance.
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_dbs" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id }
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
```
Use this data source to query detailed information of sqlserver_ins_attribute
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_ins_attribute" "example" { instance_id = "mssql-gyg9xycl" }
```
Use this data source to query detailed information of sqlserver instance_param_records
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_instance_param_records" "example" { instance_id = "mssql-qelbzgwf" }
```
Use this data source to query SQL Server instances ¶
Example Usage ¶
Filter instance by Id ¶
```hcl
data "tencentcloud_sqlserver_instances" "example_id" { id = "mssql-3l3fgqn7" }
```
Filter instance by project Id ¶
```hcl
data "tencentcloud_sqlserver_instances" "example_project" { project_id = 0 }
```
Filter instance by VPC/Subnet
```hcl
data "tencentcloud_sqlserver_instances" "example_vpc" { vpc_id = "vpc-409mvdvv" subnet_id = "subnet-nf9n81ps" }
```
Use this data source to query detailed information of sqlserver project_security_groups
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_project_security_groups" "example" { project_id = 0 }
```
Use this data source to query Publish Subscribe resources for the specific SQL Server instance.
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_publish_subscribes" "example" { instance_id = tencentcloud_sqlserver_publish_subscribe.example.publish_instance_id }
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_general_cloud_instance" "example_pub" { name = "tf-example-pub" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
resource "tencentcloud_sqlserver_general_cloud_instance" "example_sub" { name = "tf-example-sub" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
resource "tencentcloud_sqlserver_db" "example_pub" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id name = "tf_example_db_pub" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_db" "example_sub" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id name = "tf_example_db_sub" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_publish_subscribe" "example" { publish_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id subscribe_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id publish_subscribe_name = "example" delete_subscribe_db = false database_tuples { publish_database = tencentcloud_sqlserver_db.example_pub.name subscribe_database = tencentcloud_sqlserver_db.example_sub.name } }
```
Use this data source to query detailed information of sqlserver query_xevent
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_query_xevent" "example" { instance_id = "mssql-gyg9xycl" event_type = "blocked" start_time = "2023-08-01 00:00:00" end_time = "2023-08-10 00:00:00" }
```
Use this data source to query the list of SQL Server readonly groups.
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_dbs" "example" { instance_id = "mssql-ds1xhnt9" }
```
Use this data source to query detailed information of sqlserver datasource_regions
Example Usage ¶
```hcl data "tencentcloud_sqlserver_regions" "example" {} ```
Use this data source to query detailed information of sqlserver rollback_time
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_rollback_time" "example" { instance_id = "mssql-qelbzgwf" dbs = ["keep_pubsub_db"] }
```
Use this data source to query detailed information of sqlserver slowlogs ¶
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_slowlogs" "example" { instance_id = "mssql-qelbzgwf" start_time = "2023-08-01 00:00:00" end_time = "2023-08-07 00:00:00" }
```
Use this data source to query detailed information of sqlserver upload_backup_info
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_upload_backup_info" "example" { instance_id = "mssql-qelbzgwf" backup_migration_id = "mssql-backup-migration-8a0f3eht" }
```
Use this data source to query detailed information of sqlserver upload_incremental_info
Example Usage ¶
```hcl
data "tencentcloud_sqlserver_upload_incremental_info" "example" { instance_id = "mssql-4tgeyeeh" backup_migration_id = "mssql-backup-migration-83t5u3tv" incremental_migration_id = "mssql-incremental-migration-h36gkdxn" }
```
Use this data source to query purchasable specification configuration for each availability zone in this specific region.
Example Usage ¶
```hcl data "tencentcloud_sqlserver_zone_config" "example" {} ```
Use this data source to query SSL certificate.
Example Usage ¶
```hcl
data "tencentcloud_ssl_certificates" "foo" { name = "certificate" }
```
Use this data source to query detailed information of ssl describe_certificate
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_certificate" "describe_certificate" { certificate_id = "8cj4g8h8" }
```
Use this data source to query detailed information of ssl describe_companies
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_companies" "describe_companies" { company_id = 122 }
```
Use this data source to query detailed information of ssl describe_host_api_gateway_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_api_gateway_instance_list" "describe_host_api_gateway_instance_list" { certificate_id = "9Bpk7XOu" resource_type = "apiGateway" }
```
Use this data source to query detailed information of ssl describe_host_cdn_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_cdn_instance_list" "describe_host_cdn_instance_list" { certificate_id = "8u8DII0l" resource_type = "cdn" }
```
Use this data source to query detailed information of ssl describe_host_clb_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_clb_instance_list" "describe_host_clb_instance_list" { certificate_id = "8u8DII0l" }
```
Use this data source to query detailed information of ssl describe_host_cos_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_cos_instance_list" "describe_host_cos_instance_list" { certificate_id = "8u8DII0l" resource_type = "cos" }
```
Use this data source to query detailed information of ssl describe_host_ddos_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_ddos_instance_list" "describe_host_ddos_instance_list" { certificate_id = "8u8DII0l" resource_type = "ddos" }
```
Use this data source to query detailed information of ssl describe_host_deploy_record
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_deploy_record" "describe_host_deploy_record" { certificate_id = "8u8DII0l" resource_type = "ddos" }
```
Use this data source to query detailed information of ssl describe_host_deploy_record_detail
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_deploy_record_detail" "describe_host_deploy_record_detail" { deploy_record_id = "" }
```
Use this data source to query detailed information of ssl describe_host_lighthouse_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_lighthouse_instance_list" "describe_host_lighthouse_instance_list" { certificate_id = "8tvMCvGF" resource_type = "lighthouse" }
```
Use this data source to query detailed information of ssl describe_host_live_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_live_instance_list" "describe_host_live_instance_list" { certificate_id = "8u8DII0l" resource_type = "live" }
```
Use this data source to query detailed information of ssl describe_host_teo_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_teo_instance_list" "describe_host_teo_instance_list" { certificate_id = "8u8DII0l" resource_type = "teo" }
```
Use this data source to query detailed information of ssl describe_host_tke_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_tke_instance_list" "describe_host_tke_instance_list" { certificate_id = "8u8DII0l" }
```
Use this data source to query detailed information of ssl describe_host_update_record
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_update_record" "describe_host_update_record" { old_certificate_id = "8u8DII0l" }
```
Use this data source to query detailed information of ssl describe_host_update_record_detail
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_update_record_detail" "describe_host_update_record_detail" { deploy_record_id = "35364" }
```
Use this data source to query detailed information of ssl describe_host_vod_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_vod_instance_list" "describe_host_vod_instance_list" { certificate_id = "8u8DII0l" resource_type = "vod" }
```
Use this data source to query detailed information of ssl describe_host_waf_instance_list
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_host_waf_instance_list" "describe_host_waf_instance_list" { certificate_id = "8u8DII0l" resource_type = "waf" }
```
Use this data source to query detailed information of ssl describe_manager_detail
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_manager_detail" "describe_manager_detail" { manager_id = "" }
```
Use this data source to query detailed information of ssl describe_managers
Example Usage ¶
```hcl
data "tencentcloud_ssl_describe_managers" "describe_managers" { company_id = "11772" }
```
Use this data source to query detailed information of ssm products ¶
Example Usage ¶
```hcl data "tencentcloud_ssm_products" "products" {} ```
Use this data source to query detailed information of ssm rotation_detail
Example Usage ¶
```hcl
data "tencentcloud_ssm_rotation_detail" "example" { secret_name = "tf_example" }
```
Use this data source to query detailed information of ssm rotation_history
Example Usage ¶
```hcl
data "tencentcloud_ssm_rotation_history" "example" { secret_name = "keep_terraform" }
```
Use this data source to query detailed information of SSM secret version ¶
Example Usage ¶
```hcl
data "tencentcloud_ssm_secret_versions" "example" { secret_name = tencentcloud_ssm_secret_version.v1.secret_name version_id = tencentcloud_ssm_secret_version.v1.version_id }
resource "tencentcloud_ssm_secret" "example" { secret_name = "tf-example" description = "desc." tags = { createdBy = "terraform" } }
resource "tencentcloud_ssm_secret_version" "v1" { secret_name = tencentcloud_ssm_secret.example.secret_name version_id = "v1" secret_binary = "MTIzMTIzMTIzMTIzMTIzQQ==" }
```
Use this data source to query detailed information of SSM secret ¶
Example Usage ¶
```hcl
data "tencentcloud_ssm_secrets" "example" { secret_name = tencentcloud_ssm_secret.example.secret_name state = 1 }
resource "tencentcloud_ssm_secret" "example" { secret_name = "tf_example" description = "desc." tags = { createdBy = "terraform" } }
```
OR you can filter by tags ¶
```hcl
data "tencentcloud_ssm_secrets" "example" { secret_name = tencentcloud_ssm_secret.example.secret_name state = 1 tags = { createdBy = "terraform" } }
```
Use this data source to query detailed information of ssm service_status
Example Usage ¶
```hcl data "tencentcloud_ssm_service_status" "example" {} ```
Use this data source to query detailed information of ssm ssh_key_pair_value
~> **NOTE:** Must set at least one of `secret_name` or `ssh_key_id`.
Example Usage ¶
```hcl
data "tencentcloud_ssm_ssh_key_pair_value" "example" { secret_name = "keep_terraform" ssh_key_id = "skey-2ae2snwd" }
```
Or ¶
```hcl
data "tencentcloud_ssm_ssh_key_pair_value" "example" { secret_name = "keep_terraform" }
```
Or ¶
```hcl
data "tencentcloud_ssm_ssh_key_pair_value" "example" { ssh_key_id = "skey-2ae2snwd" }
```
Use this data source to query detailed information of sts callerIdentity ¶
Example Usage ¶
```hcl data "tencentcloud_sts_caller_identity" "callerIdentity" { } ```
Provides details about a specific VPC subnet.
This resource can prove useful when a module accepts a subnet id as an input variable and needs to, for example, determine the id of the VPC that the subnet belongs to.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_vpc_subnets.
Example Usage ¶
```hcl variable "subnet_id" {} variable "vpc_id" {}
data "tencentcloud_subnet" "selected" { vpc_id = var.vpc_id subnet_id = var.subnet_id }
resource "tencentcloud_security_group" "default" { name = "test subnet data" description = "test subnet data description" }
resource "tencentcloud_security_group_rule" "subnet" { security_group_id = tencentcloud_security_group.default.id type = "ingress" cidr_ip = data.tencentcloud_subnet.selected.cidr_block ip_protocol = "tcp" port_range = "80,8080" policy = "accept" }
```
Use this data source to query detailed information of tat agent ¶
Example Usage ¶
```hcl
data "tencentcloud_tat_agent" "agent" { # instance_ids = ["ins-f9jr4bd2"] filters { name = "environment" values = ["Linux"] } }
```
Use this data source to query detailed information of tat command ¶
Example Usage ¶
```hcl
data "tencentcloud_tat_command" "command" { # command_id = "" # command_name = "" command_type = "SHELL" created_by = "TAT" }
```
Use this data source to query detailed information of tat invocation_task
Example Usage ¶
```hcl
data "tencentcloud_tat_invocation_task" "invocation_task" { # invocation_task_ids = ["invt-a8bv0ip7"] filters { name = "instance-id" values = ["ins-p4pq4gaq"] } hide_output = true }
```
Use this data source to query detailed information of tat invoker ¶
Example Usage ¶
```hcl
data "tencentcloud_tat_invoker" "invoker" { # invoker_id = "" # command_id = "" # type = "" }
```
Use this data source to query detailed information of tat invoker_records
Example Usage ¶
```hcl
data "tencentcloud_tat_invoker_records" "invoker_records" { invoker_ids = ["ivk-cas4upyf"] }
```
Use this data source to query TcaplusDB clusters.
Example Usage ¶
```hcl
data "tencentcloud_tcaplus_clusters" "name" { cluster_name = "cluster" }
data "tencentcloud_tcaplus_clusters" "id" { cluster_id = tencentcloud_tcaplus_cluster.test.id }
data "tencentcloud_tcaplus_clusters" "idname" { cluster_id = tencentcloud_tcaplus_cluster.test.id cluster_name = "cluster" }
```
Use this data source to query IDL information of the TcaplusDB table.
Example Usage ¶
```hcl
data "tencentcloud_tcaplus_idls" "id_test" { cluster_id = "19162256624" }
```
Use this data source to query table groups of the TcaplusDB cluster.
Example Usage ¶
```hcl
data "tencentcloud_tcaplus_tablegroups" "null" { cluster_id = "19162256624" }
data "tencentcloud_tcaplus_tablegroups" "id" { cluster_id = "19162256624" tablegroup_id = "19162256624:1" }
data "tencentcloud_tcaplus_tablegroups" "name" { cluster_id = "19162256624" tablegroup_name = "test" }
data "tencentcloud_tcaplus_tablegroups" "all" { cluster_id = "19162256624" tablegroup_id = "19162256624:1" tablegroup_name = "test" }
```
Use this data source to query TcaplusDB tables.
Example Usage ¶
```hcl
data "tencentcloud_tcaplus_tables" "null" { cluster_id = "19162256624" }
data "tencentcloud_tcaplus_tables" "tablegroup" { cluster_id = "19162256624" tablegroup_id = "19162256624:3" }
data "tencentcloud_tcaplus_tables" "name" { cluster_id = "19162256624" tablegroup_id = "19162256624:3" table_name = "guagua" }
data "tencentcloud_tcaplus_tables" "id" { cluster_id = "19162256624" table_id = "tcaplus-faa65eb7" }
data "tencentcloud_tcaplus_tables" "all" { cluster_id = "19162256624" tablegroup_id = "19162256624:3" table_id = "tcaplus-faa65eb7" table_name = "guagua" }
```
Use this data source to query detailed information of tcm mesh ¶
Example Usage ¶
```hcl
data "tencentcloud_tcm_mesh" "mesh" { mesh_id = ["mesh-xxxxxx"] mesh_name = ["KEEP_MASH"] tags = ["key"] mesh_cluster = ["cls-xxxx"] }
```
Use this data source to query detailed information of tcmq queue ¶
Example Usage ¶
```hcl
data "tencentcloud_tcmq_queue" "queue" { queue_name = "queue_name" }
```
Use this data source to query detailed information of tcmq subscribe ¶
Example Usage ¶
```hcl
data "tencentcloud_tcmq_subscribe" "subscribe" { topic_name = "topic_name" subscription_name = "subscription_name"; }
```
Use this data source to query detailed information of tcmq topic ¶
Example Usage ¶
```hcl
data "tencentcloud_tcmq_topic" "topic" { topic_name = "topic_name" }
```
Use this data source to query detailed information of tcr image_manifests
Example Usage ¶
```hcl
data "tencentcloud_tcr_image_manifests" "image_manifests" { registry_id = "%s" namespace_name = "%s" repository_name = "%s" image_version = "v1" }
```
Use this data source to query detailed information of tcr images ¶
Example Usage ¶
```hcl
data "tencentcloud_tcr_images" "images" { registry_id = "tcr-xxx" namespace_name = "ns" repository_name = "repo" image_version = "v1" digest = "sha256:xxxxx" exact_match = false }
```
Use this data source to query detailed information of TCR instances.
Example Usage ¶
```hcl
data "tencentcloud_tcr_instances" "name" { name = "test" }
```
Use this data source to query detailed information of TCR namespaces.
Example Usage ¶
```hcl
data "tencentcloud_tcr_namespaces" "name" { instance_id = "cls-satg5125" namespace_name = "test" }
```
Use this data source to query detailed information of tcr replication_instance_create_tasks
Example Usage ¶
```hcl
local { src_registry_id = local.tcr_id dst_registry_id = tencentcloud_tcr_manage_replication_operation.my_replica.destination_registry_id dst_region_id = tencentcloud_tcr_manage_replication_operation.my_replica.destination_region_id }
data "tencentcloud_tcr_replication_instance_create_tasks" "create_tasks" { replication_registry_id = local.dst_registry_id replication_region_id = local.dst_region_id }
```
Use this data source to query detailed information of tcr replication_instance_sync_status
Example Usage ¶
```hcl
data "tencentcloud_tcr_replication_instance_sync_status" "sync_status" { registry_id = local.src_registry_id replication_registry_id = local.dst_registry_id replication_region_id = local.dst_region_id show_replication_log = false }
```
Use this data source to query detailed information of TCR repositories.
Example Usage ¶
```hcl
data "tencentcloud_tcr_repositories" "name" { name = "test" }
```
Use this data source to query detailed information of tcr tag_retention_execution_tasks
Example Usage ¶
```hcl
data "tencentcloud_tcr_tag_retention_execution_tasks" "tasks" { registry_id = "tcr_ins_id" retention_id = 1 execution_id = 1 }
```
Use this data source to query detailed information of tcr tag_retention_executions
Example Usage ¶
```hcl
data "tencentcloud_tcr_tag_retention_executions" "tag_retention_executions" { registry_id = "tcr_ins_id" retention_id = 1 }
```
Use this data source to query detailed information of TCR tokens.
Example Usage ¶
```hcl
data "tencentcloud_tcr_tokens" "name" { instance_id = "cls-satg5125" }
```
Use this data source to query detailed information of TCR VPC attachment.
Example Usage ¶
```hcl
data "tencentcloud_tcr_vpc_attachments" "id" { instance_id = "cls-satg5125" }
```
Use this data source to query detailed information of tencentcloud_tcr_webhook_trigger_logs
Example Usage ¶
```hcl
data "tencentcloud_tcr_webhook_trigger_logs" "my_logs" { registry_id = local.tcr_id namespace = var.tcr_namespace trigger_id = var.trigger_id tags = { "createdBy" = "terraform" } }
```
Use this data source to query detailed information of tdcpg clusters.
~> **NOTE:** This data source is still in internal testing. To experience its functions, you need to apply for a whitelist from Tencent Cloud.
Example Usage ¶
```hcl
data "tencentcloud_tdcpg_clusters" "clusters" { cluster_id = "" cluster_name = "" status = "" pay_mode = "" project_id = "" }
```
Use this data source to query detailed information of tdcpg instances.
~> **NOTE:** This data source is still in internal testing. To experience its functions, you need to apply for a whitelist from Tencent Cloud.
Example Usage ¶
```hcl
data "tencentcloud_tdcpg_instances" "instances" { cluster_id = "" instance_id = "" instance_name = "" status = "" instance_type = "" }
```
Use this data source to query detailed information of tdmq environment_attributes
Example Usage ¶
```hcl
data "tencentcloud_tdmq_environment_attributes" "example" { environment_id = tencentcloud_tdmq_namespace.example.environ_name cluster_id = tencentcloud_tdmq_instance.example.id }
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_namespace" "example" { environ_name = "tf_example" msg_ttl = 300 cluster_id = tencentcloud_tdmq_instance.example.id remark = "remark." }
```
Use this data source to query detailed information of tdmq pro_instance_detail
Example Usage ¶
```hcl
data "tencentcloud_tdmq_pro_instance_detail" "pro_instance_detail" { cluster_id = "pulsar-9n95ax58b9vn" }
```
Use this data source to query detailed information of tdmq pro_instances
Example Usage ¶
```hcl
data "tencentcloud_tdmq_pro_instances" "pro_instances_filter" { filters { name = "InstanceName" values = ["keep"] } }
```
Use this data source to query detailed information of tdmq publisher_summary
Example Usage ¶
```hcl
data "tencentcloud_tdmq_publisher_summary" "publisher_summary" { cluster_id = "pulsar-9n95ax58b9vn" namespace = "keep-ns" topic = "keep-topic" }
```
Use this data source to query detailed information of tdmq publishers ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_publishers" "publishers" { cluster_id = "pulsar-9n95ax58b9vn" namespace = "keep-ns" topic = "keep-topic" filters { name = "ProducerName" values = ["test"] } sort { name = "ProducerName" order = "DESC" } }
```
Use this data source to query detailed information of tdmq rabbitmq_node_list
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rabbitmq_node_list" "rabbitmq_node_list" { instance_id = "amqp-testtesttest" node_name = "keep-node" filters { name = "nodeStatus" values = ["running", "down"] } sort_element = "cpuUsage" sort_order = "descend" }
```
Use this data source to query detailed information of tdmq rabbitmq_vip_instance
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rabbitmq_vip_instance" "rabbitmq_vip_instance" { filters { name = "" values = [] } }
```
Use this data source to query detailed information of tdmqRocketmq cluster ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rocketmq_cluster" "example" { name_keyword = tencentcloud_tdmq_rocketmq_cluster.example.cluster_name }
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
```
Use this data source to query detailed information of tdmqRocketmq group ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rocketmq_group" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_id = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name filter_group = tencentcloud_tdmq_rocketmq_group.example.group_name }
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_group" "example" { group_name = "tf_example" namespace = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name read_enable = true broadcast_enable = true cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id remark = "remark." }
```
Use this data source to query detailed information of tdmq message ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rocketmq_messages" "message" { cluster_id = "rocketmq-rkrbm52djmro" environment_id = "keep_ns" topic_name = "keep-topic" msg_id = "A9FE8D0567FE15DB97425FC08EEF0000" query_dlq_msg = false }
```
Use this data source to query detailed information of tdmqRocketmq namespace ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id name_keyword = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name }
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example" remark = "remark." }
```
Use this data source to query detailed information of tdmqRocketmq role ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "cluster" { cluster_name = "test_rocketmq_datasource_role" remark = "test recket mq" }
resource "tencentcloud_tdmq_rocketmq_role" "role" { role_name = "test_rocketmq_role" remark = "test rocketmq role" cluster_id = tencentcloud_tdmq_rocketmq_cluster.cluster.cluster_id }
data "tencentcloud_tdmq_rocketmq_role" "role" { role_name = tencentcloud_tdmq_rocketmq_role.role.role_name cluster_id = tencentcloud_tdmq_rocketmq_cluster.cluster.cluster_id }
```
Use this data source to query detailed information of tdmqRocketmq topic ¶
Example Usage ¶
```hcl
data "tencentcloud_tdmq_rocketmq_topic" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_id = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name filter_name = tencentcloud_tdmq_rocketmq_topic.example.topic_name }
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_topic" "example" { topic_name = "tf_example" namespace_name = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id type = "Normal" remark = "remark." }
```
Use this data source to query detailed information of tdmq vip_instance
Example Usage ¶
```hcl
data "tencentcloud_tdmq_vip_instance" "vip_instance" { cluster_id = "rocketmq-rd3545bkkj49" }
```
Use this data source to query detailed information of teo ruleEngineSettings ¶
Example Usage ¶
```hcl data "tencentcloud_teo_rule_engine_settings" "ruleEngineSettings" { } ```
Use this data source to query detailed information of teo zoneAvailablePlans ¶
Example Usage ¶
```hcl data "tencentcloud_teo_zone_available_plans" "zoneAvailablePlans" { } ```
Use this data source to query detailed information of tse access_address
Example Usage ¶
```hcl
data "tencentcloud_tse_access_address" "access_address" { instance_id = "ins-7eb7eea7" # vpc_id = "vpc-xxxxxx" # subnet_id = "subnet-xxxxxx" # workload = "pushgateway" engine_region = "ap-guangzhou" }
```
Use this data source to query detailed information of tse gateway_canary_rules
Example Usage ¶
```hcl
data "tencentcloud_tse_gateway_canary_rules" "gateway_canary_rules" { gateway_id = "gateway-xxxxxx" service_id = "451a9920-e67a-4519-af41-fccac0e72005" }
```
Use this data source to query detailed information of tse gateway_certificates
Example Usage ¶
```hcl
data "tencentcloud_tse_gateway_certificates" "gateway_certificates" { gateway_id = "gateway-ddbb709b" filters { key = "BindDomain" value = "example.com" } }
```
Use this data source to query detailed information of tse gateway_nodes
Example Usage ¶
```hcl
data "tencentcloud_tse_gateway_nodes" "gateway_nodes" { gateway_id = "gateway-ddbb709b" group_id = "group-013c0d8e" }
```
Use this data source to query detailed information of tse gateway_routes
Example Usage ¶
```hcl
data "tencentcloud_tse_gateway_routes" "gateway_routes" { gateway_id = "gateway-ddbb709b" service_name = "test" route_name = "keep-routes" }
```
Use this data source to query detailed information of tse gateway_services
Example Usage ¶
```hcl
data "tencentcloud_tse_gateway_services" "gateway_services" { gateway_id = "gateway-ddbb709b" filters { key = "name" value = "test" } }
```
Use this data source to query detailed information of tse gateways ¶
Example Usage ¶
```hcl
data "tencentcloud_tse_gateways" "gateways" { filters { name = "GatewayId" values = ["gateway-ddbb709b"] } }
```
Use this data source to query detailed information of tse groups ¶
Example Usage ¶
```hcl
data "tencentcloud_tse_groups" "groups" { gateway_id = "gateway-ddbb709b" filters { name = "GroupId" values = ["group-013c0d8e"] } }
```
Use this data source to query detailed information of tse nacos_replicas
Example Usage ¶
```hcl
data "tencentcloud_tse_nacos_replicas" "nacos_replicas" { instance_id = "ins-8078da86" }
```
Use this data source to query detailed information of tse nacos_server_interfaces
Example Usage ¶
```hcl
data "tencentcloud_tse_nacos_server_interfaces" "nacos_server_interfaces" { instance_id = "ins-xxxxxx" }
```
Use this data source to query detailed information of tse zookeeper_replicas
Example Usage ¶
```hcl
data "tencentcloud_tse_zookeeper_replicas" "zookeeper_replicas" { instance_id = "ins-7eb7eea7" }
```
Use this data source to query detailed information of tse zookeeper_server_interfaces
Example Usage ¶
```hcl
data "tencentcloud_tse_zookeeper_server_interfaces" "zookeeper_server_interfaces" { instance_id = "ins-7eb7eea7" }
```
Use this data source to query detailed information of tsf api_detail
Example Usage ¶
```hcl
data "tencentcloud_tsf_api_detail" "api_detail" { microservice_id = "ms-yq3jo6jd" path = "/printRequest" method = "GET" pkg_version = "20210625192923" application_id = "application-a24x29xv" }
```
Use this data source to query detailed information of tsf api_group
Example Usage ¶
```hcl
data "tencentcloud_tsf_api_group" "api_group" { search_word = "xxx01" group_type = "ms" auth_type = "none" status = "released" order_by = "created_time" order_type = 0 gateway_instance_id = "gw-ins-lvdypq5k" }
```
Use this data source to query detailed information of tsf application ¶
Example Usage ¶
```hcl
data "tencentcloud_tsf_application" "application" { application_type = "V" microservice_type = "N" # application_resource_type_list = [""] application_id_list = ["application-a24x29xv"] }
```
Use this data source to query detailed information of tsf application_attribute
Example Usage ¶
```hcl
data "tencentcloud_tsf_application_attribute" "application_attribute" { application_id = "application-a24x29xv" }
```
Use this data source to query detailed information of tsf application_config
Example Usage ¶
```hcl
data "tencentcloud_tsf_application_config" "application_config" { application_id = "app-123456" config_id = "config-123456" config_id_list = config_name = "test-config" config_version = "1.0" }
```
Use this data source to query detailed information of tsf application_file_config
Example Usage ¶
```hcl
data "tencentcloud_tsf_application_file_config" "application_file_config" { config_id = "dcfg-f-4y4ekzqv" # config_id_list = [""] config_name = "file-log1" application_id = "application-2vzk6n3v" config_version = "1.2" }
```
Use this data source to query detailed information of tsf application_public_config
Example Usage ¶
```hcl
data "tencentcloud_tsf_application_public_config" "application_public_config" { config_id = "dcfg-p-evjrbgly" # config_id_list = [""] config_name = "dsadsa" config_version = "123" }
```
Use this data source to query detailed information of tsf business_log_configs
Example Usage ¶
```hcl
data "tencentcloud_tsf_business_log_configs" "business_log_configs" { search_word = "terraform" disable_program_auth_check = true config_id_list = ["apm-busi-log-cfg-qv3x3rdv"] }
```
Use this data source to query detailed information of tsf cluster ¶
Example Usage ¶
```hcl
data "tencentcloud_tsf_cluster" "cluster" { cluster_id_list = ["cluster-vwgj5e6y"] cluster_type = "V" # search_word = "" disable_program_auth_check = true }
```
Use this data source to query detailed information of tsf config_summary
Example Usage ¶
```hcl
data "tencentcloud_tsf_config_summary" "config_summary" { application_id = "application-a24x29xv" search_word = "terraform" order_by = "last_update_time" order_type = 0 disable_program_auth_check = true config_id_list = ["dcfg-y54wzk3a"] }
```
Use this data source to query detailed information of tsf container_group
Example Usage ¶
```hcl
data "tencentcloud_tsf_container_group" "container_group" { application_id = "application-a24x29xv" search_word = "keep" order_by = "createTime" order_type = 0 cluster_id = "cluster-vwgj5e6y" namespace_id = "namespace-aemrg36v" }
```
Use this data source to query detailed information of tsf delivery_config_by_group_id
Example Usage ¶
```hcl
data "tencentcloud_tsf_delivery_config_by_group_id" "delivery_config_by_group_id" { group_id = "group-yrjkln9v" }
```
Use this data source to query detailed information of tsf delivery_configs
Example Usage ¶
```hcl
data "tencentcloud_tsf_delivery_configs" "delivery_configs" { search_word = "test" }
```
Use this data source to query detailed information of tsf gateway_all_group_apis
Example Usage ¶
```hcl
data "tencentcloud_tsf_gateway_all_group_apis" "gateway_all_group_apis" { gateway_deploy_group_id = "group-aeoej4qy" search_word = "user" }
```
Use this data source to query detailed information of tsf group_config_release
Example Usage ¶
```hcl
data "tencentcloud_tsf_group_config_release" "group_config_release" { group_id = "group-yrjkln9v" }
```
Use this data source to query detailed information of tsf group_gateways
Example Usage ¶
```hcl
data "tencentcloud_tsf_group_gateways" "group_gateways" { gateway_deploy_group_id = "group-aeoej4qy" search_word = "test" }
```
Use this data source to query detailed information of tsf group_instances
Example Usage ¶
```hcl
data "tencentcloud_tsf_group_instances" "group_instances" { group_id = "group-yrjkln9v" search_word = "testing" order_by = "ASC" order_type = 0 }
```
Use this data source to query detailed information of tsf groups ¶
Example Usage ¶
```hcl
data "tencentcloud_tsf_groups" "groups" { search_word = "keep" application_id = "application-a24x29xv" order_by = "createTime" order_type = 0 namespace_id = "namespace-aemrg36v" cluster_id = "cluster-vwgj5e6y" group_resource_type_list = ["DEF"] status = "Running" group_id_list = ["group-yrjkln9v"] }
```
Use this data source to query detailed information of tsf microservice ¶
Example Usage ¶
```hcl
data "tencentcloud_tsf_microservice" "microservice" { namespace_id = var.namespace_id # status = microservice_id_list = ["ms-yq3jo6jd"] microservice_name_list = ["provider-demo"] }
```
Use this data source to query detailed information of tsf microservice_api_version
Example Usage ¶
```hcl
data "tencentcloud_tsf_microservice_api_version" "microservice_api_version" { microservice_id = "ms-yq3jo6jd" path = "" method = "get" }
```
Use this data source to query detailed information of tsf ms_api_list
Example Usage ¶
```hcl
data "tencentcloud_tsf_ms_api_list" "ms_api_list" { microservice_id = "ms-yq3jo6jd" search_word = "echo" }
```
Use this data source to query detailed information of tsf pod_instances
Example Usage ¶
```hcl
data "tencentcloud_tsf_pod_instances" "pod_instances" { group_id = "group-ynd95rea" pod_name_list = ["keep-terraform-6f8f977688-zvphm"] }
```
Use this data source to query detailed information of tsf public_config_summary
Example Usage ¶
```hcl
data "tencentcloud_tsf_describe_public_config_summary" "describe_public_config_summary" { search_word = "test" order_by = "last_update_time" order_type = 0 # config_tag_list = [""] disable_program_auth_check = true config_id_list = ["dcfg-p-ygbdw5mv"] }
```
Use this data source to query detailed information of tsf repository ¶
Example Usage ¶
```hcl
data "tencentcloud_tsf_repository" "repository" { search_word = "test" repository_type = "default" }
```
Use this data source to query detailed information of tsf unit_rules
Example Usage ¶
```hcl
data "tencentcloud_tsf_unit_rules" "unit_rules" { gateway_instance_id = "gw-ins-lvdypq5k" status = "disabled" }
```
Use this data source to query detailed information of tsf usable_unit_namespaces
Example Usage ¶
```hcl
data "tencentcloud_tsf_usable_unit_namespaces" "usable_unit_namespaces" { search_word = "" }
```
Use this data source to query user appid, uin and ownerUin.
Example Usage ¶
```hcl data "tencentcloud_user_info" "foo" {} ```
Use this data source to query detailed information of VOD adaptive dynamic streaming templates.
Example Usage ¶
```hcl
resource "tencentcloud_vod_adaptive_dynamic_streaming_template" "foo" { format = "HLS" name = "tf-adaptive" drm_type = "SimpleAES" disable_higher_video_bitrate = false disable_higher_video_resolution = false comment = "test" stream_info { video { codec = "libx265" fps = 4 bitrate = 129 resolution_adaptive = false width = 128 height = 128 fill_type = "stretch" } audio { codec = "libmp3lame" bitrate = 129 sample_rate = 44100 audio_channel = "dual" } remove_audio = false } stream_info { video { codec = "libx264" fps = 4 bitrate = 256 } audio { codec = "libfdk_aac" bitrate = 256 sample_rate = 44100 } remove_audio = true } }
data "tencentcloud_vod_adaptive_dynamic_streaming_templates" "foo" { type = "Custom" definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id }
```
Use this data source to query detailed information of VOD image sprite templates.
Example Usage ¶
```hcl
resource "tencentcloud_vod_image_sprite_template" "foo" { sample_type = "Percent" sample_interval = 10 row_count = 3 column_count = 3 name = "tf-sprite" comment = "test" fill_type = "stretch" width = 128 height = 128 resolution_adaptive = false }
data "tencentcloud_vod_image_sprite_templates" "foo" { type = "Custom" definition = tencentcloud_vod_image_sprite_template.foo.id }
```
Use this data source to query detailed information of VOD procedure templates.
Example Usage ¶
```hcl
resource "tencentcloud_vod_procedure_template" "foo" { name = "tf-procedure" comment = "test" media_process_task { adaptive_dynamic_streaming_task_list { definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id } snapshot_by_time_offset_task_list { definition = tencentcloud_vod_snapshot_by_time_offset_template.foo.id ext_time_offset_list = [ "3.5s" ] } image_sprite_task_list { definition = tencentcloud_vod_image_sprite_template.foo.id } } }
data "tencentcloud_vod_procedure_templates" "foo" { type = "Custom" name = tencentcloud_vod_procedure_template.foo.id }
```
Use this data source to query detailed information of VOD snapshot by time offset templates.
Example Usage ¶
```hcl
resource "tencentcloud_vod_snapshot_by_time_offset_template" "foo" { name = "tf-snapshot" width = 130 height = 128 resolution_adaptive = false format = "png" comment = "test" fill_type = "white" }
data "tencentcloud_vod_snapshot_by_time_offset_templates" "foo" { type = "Custom" definition = tencentcloud_vod_snapshot_by_time_offset_template.foo.id }
```
Use this data source to query detailed information of VOD super player configs.
Example Usage ¶
```hcl
resource "tencentcloud_vod_super_player_config" "foo" { name = "tf-super-player" drm_switch = true drm_streaming_info { simple_aes_definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id } image_sprite_definition = tencentcloud_vod_image_sprite_template.foo.id resolution_names { min_edge_length = 889 name = "test1" } resolution_names { min_edge_length = 890 name = "test2" } domain = "Default" scheme = "Default" comment = "test" }
data "tencentcloud_vod_super_player_configs" "foo" { type = "Custom" name = "tf-super-player" }
```
Provides details about a specific VPC.
This resource can prove useful when a module accepts a vpc id as an input variable and needs to, for example, determine the CIDR block of that VPC.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_vpc_instances.
Example Usage ¶
```hcl variable "vpc_id" {}
data "tencentcloud_vpc" "selected" { id = var.vpc_id }
resource "tencentcloud_subnet" "main" { name = "my test subnet" cidr_block = cidrsubnet(data.tencentcloud_vpc.selected.cidr_block, 4, 1) availability_zone = "eu-frankfurt-1" vpc_id = data.tencentcloud_vpc.selected.id }
```
Use this data source to query detailed information of vpc account_attributes
Example Usage ¶
```hcl data "tencentcloud_vpc_account_attributes" "account_attributes" {} ```
Use this data source to query VPC Network ACL information.
Example Usage ¶
```hcl data "tencentcloud_vpc_instances" "foo" { }
data "tencentcloud_vpc_acls" "foo" { vpc_id = data.tencentcloud_vpc_instances.foo.instance_list.0.vpc_id }
data "tencentcloud_vpc_acls" "foo" { name = "test_acl" }
```
Use this data source to query detailed information of vpc bandwidth_package_bill_usage
Example Usage ¶
```hcl
data "tencentcloud_vpc_bandwidth_package_bill_usage" "bandwidth_package_bill_usage" { bandwidth_package_id = "bwp-234rfgt5" }
```
Use this data source to query detailed information of vpc bandwidth_package_quota
Example Usage ¶
```hcl
data "tencentcloud_vpc_bandwidth_package_quota" "bandwidth_package_quota" { }
```
Use this data source to query detailed information of vpc classic_link_instances
Example Usage ¶
```hcl
data "tencentcloud_vpc_classic_link_instances" "classic_link_instances" { filters { name = "vpc-id" values = ["vpc-lh4nqig9"] } }
```
Use this data source to query detailed information of vpc cvm_instances
Example Usage ¶
```hcl
data "tencentcloud_vpc_cvm_instances" "cvm_instances" { filters { name = "vpc-id" values = ["vpc-lh4nqig9"] } }
```
Use this data source to query detailed information of vpc gateway_flow_monitor_detail
Example Usage ¶
```hcl
data "tencentcloud_vpc_gateway_flow_monitor_detail" "gateway_flow_monitor_detail" { time_point = "2023-06-02 12:15:20" vpn_id = "vpngw-gt8bianl" order_field = "OutTraffic" order_direction = "DESC" }
```
Use this data source to query detailed information of vpc gateway_flow_qos
Example Usage ¶
```hcl
data "tencentcloud_vpc_gateway_flow_qos" "gateway_flow_qos" { gateway_id = "vpngw-gt8bianl" }
```
Use this data source to query vpc instances' information.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "foo" { name = "guagua_vpc_instance_test" cidr_block = "10.0.0.0/16" }
data "tencentcloud_vpc_instances" "id_instances" { vpc_id = tencentcloud_vpc.foo.id }
data "tencentcloud_vpc_instances" "name_instances" { name = tencentcloud_vpc.foo.name }
```
Use this data source to query detailed information of vpc limits ¶
Example Usage ¶
```hcl
data "tencentcloud_vpc_limits" "limits" { limit_types = ["appid-max-vpcs", "vpc-max-subnets"] }
```
Use this data source to query detailed information of vpc net_detect_state_check
Example Usage ¶
```hcl
data "tencentcloud_vpc_net_detect_state_check" "net_detect_state_check" { net_detect_id = "netd-12345678" detect_destination_ip = [ "10.0.0.3", "10.0.0.2" ] next_hop_type = "NORMAL_CVM" next_hop_destination = "10.0.0.4" }
```
Use this data source to query detailed information of vpc net_detect_states
Example Usage ¶
```hcl
data "tencentcloud_vpc_net_detect_states" "net_detect_states" { net_detect_ids = ["netd-12345678"] }
```
Use this data source to query detailed information of vpc network_interface_limit
Example Usage ¶
```hcl
data "tencentcloud_vpc_network_interface_limit" "network_interface_limit" { instance_id = "ins-cr2rfq78" }
```
Use this data source to query detailed information of vpc private_ip_addresses
Example Usage ¶
```hcl
data "tencentcloud_vpc_private_ip_addresses" "private_ip_addresses" { vpc_id = "vpc-l0dw94uh" private_ip_addresses = ["10.0.0.1"] }
```
Use this data source to query detailed information of vpc product_quota
Example Usage ¶
```hcl
data "tencentcloud_vpc_product_quota" "product_quota" { product = "vpc" }
```
Use this data source to query detailed information of vpc resource_dashboard
Example Usage ¶
```hcl
data "tencentcloud_vpc_resource_dashboard" "resource_dashboard" { vpc_ids = ["vpc-4owdpnwr"] }
```
Use this data source to query detailed information of vpc route_conflicts
Example Usage ¶
```hcl
data "tencentcloud_vpc_route_conflicts" "route_conflicts" { route_table_id = "rtb-6xypllqe" destination_cidr_blocks = ["172.18.111.0/24"] }
```
Use this data source to query vpc route tables information.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
resource "tencentcloud_vpc" "foo" { name = "guagua-ci-temp-test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_route_table" "route_table" { vpc_id = tencentcloud_vpc.foo.id name = "ci-temp-test-rt" tags = { "test" = "test" } }
data "tencentcloud_vpc_route_tables" "id_instances" { route_table_id = tencentcloud_route_table.route_table.id }
data "tencentcloud_vpc_route_tables" "name_instances" { name = tencentcloud_route_table.route_table.name }
data "tencentcloud_vpc_route_tables" "vpc_default_instance" { vpc_id = tencentcloud_vpc.foo.id association_main = true }
data "tencentcloud_vpc_route_tables" "tags_instances" { tags = tencentcloud_route_table.route_table.tags }
```
Use this data source to query detailed information of vpc security_group_limits
Example Usage ¶
```hcl data "tencentcloud_vpc_security_group_limits" "security_group_limits" {} ```
Use this data source to query detailed information of vpc security_group_references
Example Usage ¶
```hcl
data "tencentcloud_vpc_security_group_references" "security_group_references" { security_group_ids = ["sg-edmur627"] }
```
Use this data source to query detailed information of vpc sg_snapshot_file_content
Example Usage ¶
```hcl
data "tencentcloud_vpc_sg_snapshot_file_content" "sg_snapshot_file_content" { snapshot_policy_id = "sspolicy-ebjofe71" snapshot_file_id = "ssfile-017gepjxpr" security_group_id = "sg-ntrgm89v" }
```
Use this data source to query detailed information of vpc snapshot_files
Example Usage ¶
```hcl
data "tencentcloud_vpc_snapshot_files" "snapshot_files" { business_type = "securitygroup" instance_id = "sg-902tl7t7" start_date = "2022-10-10 00:00:00" end_date = "2023-10-30 19:00:00" }
```
Use this data source to query detailed information of vpc subnet_resource_dashboard
Example Usage ¶
```hcl
data "tencentcloud_vpc_subnet_resource_dashboard" "subnet_resource_dashboard" { subnet_ids = ["subnet-i9tpf6hq"] }
```
Use this data source to query vpc subnets information.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
resource "tencentcloud_vpc" "foo" { name = "guagua_vpc_instance_test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = var.availability_zone name = "guagua_vpc_subnet_test" vpc_id = tencentcloud_vpc.foo.id cidr_block = "10.0.20.0/28" is_multicast = false tags = { "test" = "test" } }
data "tencentcloud_vpc_subnets" "id_instances" { subnet_id = tencentcloud_subnet.subnet.id }
data "tencentcloud_vpc_subnets" "name_instances" { name = tencentcloud_subnet.subnet.name }
data "tencentcloud_vpc_subnets" "tags_instances" { tags = tencentcloud_subnet.subnet.tags }
```
Use this data source to query detailed information of vpc template_limits
Example Usage ¶
```hcl data "tencentcloud_vpc_template_limits" "template_limits" {} ```
Use this data source to query detailed information of vpc used_ip_address
Example Usage ¶
```hcl
data "tencentcloud_vpc_used_ip_address" "used_ip_address" { vpc_id = "vpc-4owdpnwr" }
```
Use this data source to query detailed information of VPN connections.
Example Usage ¶
```hcl
data "tencentcloud_vpn_connections" "foo" { name = "main" id = "vpnx-xfqag" vpn_gateway_id = "vpngw-8ccsnclt" vpc_id = "cgw-xfqag" customer_gateway_id = "" tags = { test = "tf" } }
```
Use this data source to query detailed information of vpc vpn_customer_gateway_vendors
Example Usage ¶
```hcl data "tencentcloud_vpn_customer_gateway_vendors" "vpn_customer_gateway_vendors" {} ```
Use this data source to query detailed information of VPN customer gateways.
Example Usage ¶
```hcl
data "tencentcloud_customer_gateways" "foo" { name = "main" id = "cgw-xfqag" public_ip_address = "1.1.1.1" tags = { test = "tf" } }
```
Use this data source to query detailed information of vpn default_health_check_ip
Example Usage ¶
```hcl
data "tencentcloud_vpn_default_health_check_ip" "default_health_check_ip" { vpn_gateway_id = "vpngw-gt8bianl" }
```
Use this data source to query detailed information of VPN gateways.
Example Usage ¶
```hcl
data "tencentcloud_vpn_gateways" "foo" { vpn_gateway_id = "main" destination_cidr_block = "vpngw-8ccsnclt" instance_type = "1.1.1.1" instance_id = "ap-guangzhou-3" tags = { test = "tf" } }
```
Use this data source to query detailed information of VPN gateways.
Example Usage ¶
```hcl
data "tencentcloud_vpn_gateways" "foo" { name = "main" id = "vpngw-8ccsnclt" public_ip_address = "1.1.1.1" zone = "ap-guangzhou-3" vpc_id = "vpc-dk8zmwuf" tags = { test = "tf" } }
```
Use this data source to query detailed information of waf attack_log_histogram
Example Usage ¶
Obtain the specified domain name log information ¶
```hcl
data "tencentcloud_waf_attack_log_histogram" "example" { domain = "domain.com" start_time = "2023-09-01 00:00:00" end_time = "2023-09-29 00:00:00" query_string = "method:GET" }
```
Obtain all domain name log information ¶
```hcl
data "tencentcloud_waf_attack_log_histogram" "example" { domain = "all" start_time = "2023-09-01 00:00:00" end_time = "2023-09-29 00:00:00" query_string = "method:GET" }
```
Use this data source to query detailed information of waf attack_log_list
Example Usage ¶
Obtain the specified domain name attack log list ¶
```hcl
data "tencentcloud_waf_attack_log_list" "example" { domain = "domain.com" start_time = "2023-09-01 00:00:00" end_time = "2023-09-07 00:00:00" query_string = "method:GET" sort = "desc" query_count = 10 page = 0 }
```
Obtain all domain name attack log list ¶
```hcl
data "tencentcloud_waf_attack_log_list" "example" { domain = "all" start_time = "2023-09-01 00:00:00" end_time = "2023-09-07 00:00:00" query_string = "method:GET" sort = "asc" query_count = 20 page = 1 }
```
Use this data source to query detailed information of waf attack_overview
Example Usage ¶
Basic Query ¶
```hcl
data "tencentcloud_waf_attack_overview" "example" { from_time = "2023-09-01 00:00:00" to_time = "2023-09-07 00:00:00" }
```
Query by filter ¶
```hcl
data "tencentcloud_waf_attack_overview" "example" { from_time = "2023-09-01 00:00:00" to_time = "2023-09-07 00:00:00" appid = 1304251372 domain = "test.com" edition = "clb-waf" instance_id = "waf_2kxtlbky00b2v1fn" }
```
Use this data source to query detailed information of waf attack_total_count
Example Usage ¶
Obtain the specified domain name attack log ¶
```hcl
data "tencentcloud_waf_attack_total_count" "example" { start_time = "2023-09-01 00:00:00" end_time = "2023-09-07 00:00:00" domain = "domain.com" query_string = "method:GET" }
```
Obtain all domain name attack log ¶
```hcl
data "tencentcloud_waf_attack_total_count" "example" { start_time = "2023-09-01 00:00:00" end_time = "2023-09-07 00:00:00" domain = "all" query_string = "method:GET" }
```
Use this data source to query detailed information of waf ciphers ¶
Example Usage ¶
```hcl data "tencentcloud_waf_ciphers" "example" {} ```
Use this data source to query detailed information of waf domains ¶
Example Usage ¶
Find all domains ¶
```hcl data "tencentcloud_waf_domains" "example" {} ```
Find domains by filter ¶
```hcl
data "tencentcloud_waf_domains" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" }
```
Use this data source to query detailed information of waf find_domains
Example Usage ¶
Find all domains ¶
```hcl data "tencentcloud_waf_find_domains" "example" {} ```
Find domains by filter ¶
```hcl
data "tencentcloud_waf_find_domains" "example" { key = "keyWord" is_waf_domain = "1" by = "FindTime" order = "asc" }
```
Use this data source to query detailed information of waf instance_qps_limit
Example Usage ¶
```hcl
data "tencentcloud_waf_instance_qps_limit" "example" { instance_id = "waf_2kxtlbky00b3b4qz" }
```
Use this data source to query detailed information of waf peak_points
Example Usage ¶
Basic Query ¶
```hcl
data "tencentcloud_waf_peak_points" "example" { from_time = "2023-09-01 00:00:00" to_time = "2023-09-07 00:00:00" }
```
Query by filter ¶
```hcl
data "tencentcloud_waf_peak_points" "example" { from_time = "2023-09-01 00:00:00" to_time = "2023-09-07 00:00:00" domain = "domain.com" edition = "clb-waf" instance_id = "waf_2kxtlbky00b2v1fn" metric_name = "access" }
```
Use this data source to query detailed information of waf ports ¶
Example Usage ¶
```hcl data "tencentcloud_waf_ports" "example" {} ```
Or ¶
```hcl
data "tencentcloud_waf_ports" "example" { edition = "clb-waf" instance_id = "waf_2kxtlbky00b2v1fn" }
```
Use this data source to query detailed information of waf tls_versions
Example Usage ¶
```hcl data "tencentcloud_waf_tls_versions" "example" {} ```
Use this data source to query detailed information of waf user_domains
Example Usage ¶
```hcl data "tencentcloud_waf_user_domains" "user_domains" {} ```
Use this data source to query detailed information of waf waf_infos
Example Usage ¶
```hcl
data "tencentcloud_waf_waf_infos" "example" { params { load_balancer_id = "lb-A8VF445" } }
```
Or ¶
```hcl
data "tencentcloud_waf_waf_infos" "example" { params { load_balancer_id = "lb-A8VF445" listener_id = "lbl-nonkgvc2" domain_id = "waf-MPtWPK5Q" } }
```
Use this data source to query detailed information of wedata rule templates ¶
Example Usage ¶
```hcl
data "tencentcloud_wedata_rule_templates" "rule_templates" { type = 2 source_object_type = 2 project_id = "1840731346428280832" source_engine_types = [2, 4, 16] }
```
The TencentCloud provider is used to interact with many resources supported by [TencentCloud](https://intl.cloud.tencent.com). The provider needs to be configured with the proper credentials before it can be used.
Use the navigation on the left to read about the available resources.
-> **Note:** From version 1.9.0 (June 18, 2019), the provider start to support Terraform 0.12.x.
Example Usage ¶
```hcl
terraform { required_providers { tencentcloud = { source = "tencentcloudstack/tencentcloud" } } }
Configure the TencentCloud Provider ¶
provider "tencentcloud" { secret_id = var.secret_id secret_key = var.secret_key region = var.region }
#Configure the TencentCloud Provider with STS
provider "tencentcloud" { secret_id = var.secret_id secret_key = var.secret_key region = var.region assume_role { role_arn = var.assume_role_arn session_name = var.session_name session_duration = var.session_duration policy = var.policy } }
```
Resources List ¶
Provider Data Sources
tencentcloud_availability_regions tencentcloud_availability_zones_by_product tencentcloud_availability_zones
Project
Data Source tencentcloud_projects Resource tencentcloud_project
Anti-DDoS(DayuV2)
Data Source tencentcloud_dayu_eip tencentcloud_dayu_l4_rules_v2 tencentcloud_dayu_l7_rules_v2 Resource tencentcloud_dayu_eip tencentcloud_dayu_l4_rule tencentcloud_dayu_l7_rule_v2 tencentcloud_dayu_ddos_policy_v2 tencentcloud_dayu_cc_policy_v2 tencentcloud_dayu_ddos_ip_attachment_v2
Anti-DDoS(Dayu)
Data Source tencentcloud_dayu_cc_http_policies tencentcloud_dayu_cc_https_policies tencentcloud_dayu_ddos_policies tencentcloud_dayu_ddos_policy_attachments tencentcloud_dayu_ddos_policy_cases tencentcloud_dayu_l4_rules tencentcloud_dayu_l7_rules Resource tencentcloud_dayu_cc_http_policy tencentcloud_dayu_cc_https_policy tencentcloud_dayu_ddos_policy tencentcloud_dayu_ddos_policy_attachment tencentcloud_dayu_ddos_policy_case tencentcloud_dayu_l4_rule tencentcloud_dayu_l7_rule
API GateWay
Data Source tencentcloud_api_gateway_apis tencentcloud_api_gateway_services tencentcloud_api_gateway_throttling_services tencentcloud_api_gateway_throttling_apis tencentcloud_api_gateway_usage_plans tencentcloud_api_gateway_ip_strategies tencentcloud_api_gateway_customer_domains tencentcloud_api_gateway_usage_plan_environments tencentcloud_api_gateway_api_keys tencentcloud_api_gateway_api_docs tencentcloud_api_gateway_api_apps tencentcloud_api_gateway_plugins tencentcloud_api_gateway_upstreams tencentcloud_api_gateway_api_usage_plans tencentcloud_api_gateway_api_app_service tencentcloud_api_gateway_bind_api_apps_status tencentcloud_api_gateway_api_app_api tencentcloud_api_gateway_api_plugins tencentcloud_api_gateway_service_release_versions tencentcloud_api_gateway_service_environment_list Resource tencentcloud_api_gateway_api tencentcloud_api_gateway_service tencentcloud_api_gateway_custom_domain tencentcloud_api_gateway_usage_plan tencentcloud_api_gateway_usage_plan_attachment tencentcloud_api_gateway_ip_strategy tencentcloud_api_gateway_strategy_attachment tencentcloud_api_gateway_api_key tencentcloud_api_gateway_api_key_attachment tencentcloud_api_gateway_service_release tencentcloud_api_gateway_plugin tencentcloud_api_gateway_plugin_attachment tencentcloud_api_gateway_api_doc tencentcloud_api_gateway_api_app tencentcloud_api_gateway_upstream tencentcloud_api_gateway_api_app_attachment tencentcloud_api_gateway_update_api_app_key tencentcloud_api_gateway_import_open_api
Cloud Audit(Audit)
Data Source tencentcloud_audit_cos_regions tencentcloud_audit_key_alias tencentcloud_audits Resource tencentcloud_audit tencentcloud_audit_track
Auto Scaling(AS)
Data Source tencentcloud_as_scaling_configs tencentcloud_as_scaling_groups tencentcloud_as_scaling_policies tencentcloud_as_instances tencentcloud_as_advices tencentcloud_as_limits tencentcloud_as_last_activity Resource tencentcloud_as_scaling_config tencentcloud_as_scaling_group tencentcloud_as_scaling_group_status tencentcloud_as_attachment tencentcloud_as_scaling_policy tencentcloud_as_schedule tencentcloud_as_lifecycle_hook tencentcloud_as_notification tencentcloud_as_remove_instances tencentcloud_as_protect_instances tencentcloud_as_start_instances tencentcloud_as_stop_instances tencentcloud_as_scale_in_instances tencentcloud_as_scale_out_instances tencentcloud_as_execute_scaling_policy tencentcloud_as_complete_lifecycle
Content Delivery Network(CDN)
Data Source tencentcloud_cdn_domains tencentcloud_cdn_domain_verifier Resource tencentcloud_cdn_domain tencentcloud_cdn_url_push tencentcloud_cdn_url_purge
Cloud Kafka(ckafka)
Data Source tencentcloud_ckafka_users tencentcloud_ckafka_acls tencentcloud_ckafka_topics tencentcloud_ckafka_instances tencentcloud_ckafka_connect_resource tencentcloud_ckafka_region tencentcloud_ckafka_datahub_topic tencentcloud_ckafka_datahub_group_offsets tencentcloud_ckafka_datahub_task tencentcloud_ckafka_group tencentcloud_ckafka_group_offsets tencentcloud_ckafka_group_info tencentcloud_ckafka_task_status tencentcloud_ckafka_topic_flow_ranking tencentcloud_ckafka_topic_produce_connection tencentcloud_ckafka_topic_subscribe_group tencentcloud_ckafka_topic_sync_replica tencentcloud_ckafka_zone Resource tencentcloud_ckafka_instance tencentcloud_ckafka_user tencentcloud_ckafka_acl tencentcloud_ckafka_topic tencentcloud_ckafka_datahub_topic tencentcloud_ckafka_connect_resource tencentcloud_ckafka_renew_instance tencentcloud_ckafka_acl_rule tencentcloud_ckafka_consumer_group tencentcloud_ckafka_consumer_group_modify_offset tencentcloud_ckafka_datahub_task tencentcloud_ckafka_route
Cloud Access Management(CAM)
Data Source tencentcloud_cam_group_memberships tencentcloud_cam_group_policy_attachments tencentcloud_cam_groups tencentcloud_cam_policies tencentcloud_cam_role_policy_attachments tencentcloud_cam_roles tencentcloud_cam_saml_providers tencentcloud_cam_user_policy_attachments tencentcloud_cam_users tencentcloud_user_info tencentcloud_cam_list_entities_for_policy tencentcloud_cam_secret_last_used_time tencentcloud_cam_account_summary tencentcloud_cam_policy_granting_service_access tencentcloud_cam_oidc_config Resource tencentcloud_cam_role tencentcloud_cam_role_by_name tencentcloud_cam_role_policy_attachment tencentcloud_cam_role_policy_attachment_by_name tencentcloud_cam_policy tencentcloud_cam_policy_by_name tencentcloud_cam_user tencentcloud_cam_user_policy_attachment tencentcloud_cam_group tencentcloud_cam_group_policy_attachment tencentcloud_cam_group_membership tencentcloud_cam_saml_provider tencentcloud_cam_oidc_sso tencentcloud_cam_role_sso tencentcloud_cam_service_linked_role tencentcloud_cam_mfa_flag tencentcloud_cam_access_key tencentcloud_cam_user_saml_config tencentcloud_cam_tag_role_attachment tencentcloud_cam_policy_version tencentcloud_cam_set_policy_version_config tencentcloud_cam_user_permission_boundary_attachment tencentcloud_cam_role_permission_boundary_attachment
Customer Identity and Access Management(CIAM)
Resource tencentcloud_ciam_user_store tencentcloud_ciam_user_group
Cloud Block Storage(CBS)
Data Source tencentcloud_cbs_snapshots tencentcloud_cbs_storages tencentcloud_cbs_storages_set tencentcloud_cbs_snapshot_policies Resource tencentcloud_cbs_storage tencentcloud_cbs_storage_set tencentcloud_cbs_storage_attachment tencentcloud_cbs_storage_set_attachment tencentcloud_cbs_snapshot tencentcloud_cbs_snapshot_policy tencentcloud_cbs_snapshot_policy_attachment tencentcloud_cbs_snapshot_share_permission tencentcloud_cbs_disk_backup tencentcloud_cbs_disk_backup_rollback_operation
Cloud Connect Network(CCN)
Data Source tencentcloud_ccn_bandwidth_limits tencentcloud_ccn_instances tencentcloud_ccn_cross_border_compliance tencentcloud_ccn_tenant_instances tencentcloud_ccn_cross_border_flow_monitor tencentcloud_ccn_cross_border_region_bandwidth_limits Resource tencentcloud_ccn tencentcloud_ccn_attachment tencentcloud_ccn_bandwidth_limit tencentcloud_ccn_routes tencentcloud_ccn_instances_accept_attach tencentcloud_ccn_instances_reject_attach tencentcloud_ccn_instances_reset_attach
CVM Dedicated Host(CDH)
Data Source tencentcloud_cdh_instances Resource tencentcloud_cdh_instance
Cloud File Storage(CFS)
Data Source tencentcloud_cfs_access_groups tencentcloud_cfs_access_rules tencentcloud_cfs_file_systems tencentcloud_cfs_mount_targets tencentcloud_cfs_file_system_clients tencentcloud_cfs_available_zone Resource tencentcloud_cfs_file_system tencentcloud_cfs_access_group tencentcloud_cfs_access_rule tencentcloud_cfs_auto_snapshot_policy tencentcloud_cfs_auto_snapshot_policy_attachment tencentcloud_cfs_snapshot tencentcloud_cfs_sign_up_cfs_service
Container Cluster
Data Source tencentcloud_container_cluster_instances tencentcloud_container_clusters Resource tencentcloud_container_cluster tencentcloud_container_cluster_instance
Cloud Load Balancer(CLB)
Data Source tencentcloud_clb_attachments tencentcloud_clb_instances tencentcloud_clb_listener_rules tencentcloud_clb_listeners tencentcloud_clb_redirections tencentcloud_clb_target_groups tencentcloud_clb_cluster_resources tencentcloud_clb_cross_targets tencentcloud_clb_exclusive_clusters tencentcloud_clb_idle_instances tencentcloud_clb_listeners_by_targets tencentcloud_clb_instance_by_cert_id tencentcloud_clb_instance_traffic tencentcloud_clb_instance_detail tencentcloud_clb_resources tencentcloud_clb_target_group_list tencentcloud_clb_target_health Resource tencentcloud_clb_instance tencentcloud_clb_listener tencentcloud_clb_listener_rule tencentcloud_clb_attachment tencentcloud_clb_redirection tencentcloud_lb tencentcloud_alb_server_attachment tencentcloud_clb_target_group tencentcloud_clb_target_group_instance_attachment tencentcloud_clb_target_group_attachment tencentcloud_clb_log_set tencentcloud_clb_log_topic tencentcloud_clb_customized_config tencentcloud_clb_snat_ip tencentcloud_clb_function_targets_attachment tencentcloud_clb_instance_sla_config tencentcloud_clb_instance_mix_ip_target_config tencentcloud_clb_replace_cert_for_lbs tencentcloud_clb_security_group_attachment
Cloud Object Storage(COS)
Data Source tencentcloud_cos_bucket_object tencentcloud_cos_buckets tencentcloud_cos_batchs tencentcloud_cos_bucket_inventorys tencentcloud_cos_bucket_multipart_uploads Resource tencentcloud_cos_bucket tencentcloud_cos_bucket_object tencentcloud_cos_bucket_policy tencentcloud_cos_bucket_referer tencentcloud_cos_bucket_version tencentcloud_cos_bucket_domain_certificate_attachment tencentcloud_cos_bucket_inventory tencentcloud_cos_batch tencentcloud_cos_object_abort_multipart_upload_operation tencentcloud_cos_object_copy_operation tencentcloud_cos_object_restore_operation tencentcloud_cos_bucket_generate_inventory_immediately_operation tencentcloud_cos_object_download_operation
Cloud Virtual Machine(CVM)
Data Source tencentcloud_image tencentcloud_images tencentcloud_instance_types tencentcloud_instances tencentcloud_instances_set tencentcloud_key_pairs tencentcloud_eip tencentcloud_eips tencentcloud_eip_address_quota tencentcloud_eip_network_account_type tencentcloud_placement_groups tencentcloud_reserved_instance_configs tencentcloud_reserved_instances tencentcloud_cvm_instances_modification tencentcloud_cvm_instance_vnc_url tencentcloud_cvm_disaster_recover_group_quota tencentcloud_cvm_chc_hosts tencentcloud_cvm_chc_denied_actions tencentcloud_cvm_image_quota tencentcloud_cvm_image_share_permission tencentcloud_cvm_import_image_os Resource tencentcloud_instance tencentcloud_instance_set tencentcloud_eip tencentcloud_eip_association tencentcloud_eip_address_transform tencentcloud_eip_public_address_adjust tencentcloud_eip_normal_address_return tencentcloud_key_pair tencentcloud_placement_group tencentcloud_reserved_instance tencentcloud_image tencentcloud_cvm_hpc_cluster tencentcloud_cvm_launch_template tencentcloud_cvm_launch_template_version tencentcloud_cvm_launch_template_default_version tencentcloud_cvm_security_group_attachment tencentcloud_cvm_reboot_instance tencentcloud_cvm_chc_config tencentcloud_cvm_renew_instance tencentcloud_cvm_sync_image tencentcloud_cvm_export_images tencentcloud_cvm_image_share_permission
TDSQL-C MySQL(CynosDB)
Data Source tencentcloud_cynosdb_clusters tencentcloud_cynosdb_instances tencentcloud_cynosdb_zone_config tencentcloud_cynosdb_accounts tencentcloud_cynosdb_cluster_instance_groups tencentcloud_cynosdb_cluster_params tencentcloud_cynosdb_param_templates tencentcloud_cynosdb_audit_logs tencentcloud_cynosdb_binlog_download_url tencentcloud_cynosdb_cluster_detail_databases tencentcloud_cynosdb_cluster_param_logs tencentcloud_cynosdb_cluster tencentcloud_cynosdb_describe_instance_slow_queries tencentcloud_cynosdb_describe_instance_error_logs tencentcloud_cynosdb_account_all_grant_privileges tencentcloud_cynosdb_resource_package_list tencentcloud_cynosdb_project_security_groups tencentcloud_cynosdb_resource_package_sale_specs tencentcloud_cynosdb_rollback_time_range tencentcloud_cynosdb_zone tencentcloud_cynosdb_instance_slow_queries tencentcloud_cynosdb_proxy_node tencentcloud_cynosdb_proxy_version Resource tencentcloud_cynosdb_cluster_resource_packages_attachment tencentcloud_cynosdb_cluster tencentcloud_cynosdb_readonly_instance tencentcloud_cynosdb_security_group tencentcloud_cynosdb_audit_log_file tencentcloud_cynosdb_cluster_password_complexity tencentcloud_cynosdb_export_instance_error_logs tencentcloud_cynosdb_export_instance_slow_queries tencentcloud_cynosdb_account_privileges tencentcloud_cynosdb_account tencentcloud_cynosdb_binlog_save_days tencentcloud_cynosdb_cluster_databases tencentcloud_cynosdb_instance_param tencentcloud_cynosdb_isolate_instance tencentcloud_cynosdb_param_template tencentcloud_cynosdb_restart_instance tencentcloud_cynosdb_roll_back_cluster tencentcloud_cynosdb_wan tencentcloud_cynosdb_proxy tencentcloud_cynosdb_reload_proxy_node tencentcloud_cynosdb_cluster_slave_zone tencentcloud_cynosdb_read_only_instance_exclusive_access tencentcloud_cynosdb_proxy_end_point tencentcloud_cynosdb_upgrade_proxy_version
Direct Connect(DC)
Data Source tencentcloud_dc_instances tencentcloud_dc_access_points tencentcloud_dcx_instances tencentcloud_dc_internet_address_quota tencentcloud_dc_internet_address_statistics tencentcloud_dc_public_direct_connect_tunnel_routes Resource tencentcloud_dc_instance tencentcloud_dcx tencentcloud_dcx_extra_config tencentcloud_dc_share_dcx_config tencentcloud_dc_internet_address tencentcloud_dc_internet_address_config
Direct Connect Gateway(DCG)
Data Source tencentcloud_dc_gateway_ccn_routes tencentcloud_dc_gateway_instances Resource tencentcloud_dc_gateway tencentcloud_dc_gateway_ccn_route tencentcloud_dc_gateway_attachment
Domain
Data Source tencentcloud_domains
Elasticsearch Service(ES)
Data Source tencentcloud_elasticsearch_instances tencentcloud_elasticsearch_instance_logs tencentcloud_elasticsearch_instance_operations tencentcloud_elasticsearch_logstash_instance_logs tencentcloud_elasticsearch_logstash_instance_operations tencentcloud_elasticsearch_views tencentcloud_elasticsearch_diagnose tencentcloud_elasticsearch_instance_plugin_list Resource tencentcloud_elasticsearch_instance tencentcloud_elasticsearch_security_group tencentcloud_elasticsearch_logstash tencentcloud_elasticsearch_logstash_pipeline tencentcloud_elasticsearch_restart_logstash_instance_operation tencentcloud_elasticsearch_start_logstash_pipeline_operation tencentcloud_elasticsearch_stop_logstash_pipeline_operation tencentcloud_elasticsearch_index tencentcloud_elasticsearch_restart_instance_operation tencentcloud_elasticsearch_restart_nodes_operation tencentcloud_elasticsearch_restart_kibana_operation tencentcloud_elasticsearch_diagnose tencentcloud_elasticsearch_diagnose_instance tencentcloud_elasticsearch_update_plugins_operation
Global Application Acceleration(GAAP)
Data Source tencentcloud_gaap_certificates tencentcloud_gaap_http_domains tencentcloud_gaap_http_rules tencentcloud_gaap_layer4_listeners tencentcloud_gaap_layer7_listeners tencentcloud_gaap_proxies tencentcloud_gaap_realservers tencentcloud_gaap_security_policies tencentcloud_gaap_security_rules tencentcloud_gaap_domain_error_pages tencentcloud_gaap_access_regions tencentcloud_gaap_access_regions_by_dest_region tencentcloud_gaap_black_header tencentcloud_gaap_country_area_mapping tencentcloud_gaap_custom_header tencentcloud_gaap_dest_regions tencentcloud_gaap_proxy_detail tencentcloud_gaap_proxy_groups tencentcloud_gaap_proxy_statistics tencentcloud_gaap_proxy_group_statistics tencentcloud_gaap_real_servers_status tencentcloud_gaap_rule_real_servers tencentcloud_gaap_resources_by_tag tencentcloud_gaap_region_and_price tencentcloud_gaap_proxy_and_statistics_listeners tencentcloud_gaap_proxies_status tencentcloud_gaap_listener_statistics tencentcloud_gaap_listener_real_servers tencentcloud_gaap_group_and_statistics_proxy tencentcloud_gaap_domain_error_page_infos tencentcloud_gaap_check_proxy_create Resource tencentcloud_gaap_proxy tencentcloud_gaap_realserver tencentcloud_gaap_layer4_listener tencentcloud_gaap_layer7_listener tencentcloud_gaap_http_domain tencentcloud_gaap_http_rule tencentcloud_gaap_certificate tencentcloud_gaap_security_policy tencentcloud_gaap_security_rule tencentcloud_gaap_domain_error_page tencentcloud_gaap_global_domain_dns tencentcloud_gaap_global_domain
Key Management Service(KMS)
Data Source tencentcloud_kms_keys tencentcloud_kms_public_key tencentcloud_kms_get_parameters_for_import tencentcloud_kms_describe_keys tencentcloud_kms_white_box_key_details tencentcloud_kms_list_keys tencentcloud_kms_white_box_decrypt_key tencentcloud_kms_white_box_device_fingerprints tencentcloud_kms_list_algorithms Resource tencentcloud_kms_key tencentcloud_kms_external_key tencentcloud_kms_white_box_key tencentcloud_kms_cloud_resource_attachment tencentcloud_kms_overwrite_white_box_device_fingerprints
Tencent Kubernetes Engine(TKE)
Data Source tencentcloud_kubernetes_clusters tencentcloud_kubernetes_cluster_levels tencentcloud_kubernetes_charts tencentcloud_kubernetes_cluster_common_names tencentcloud_kubernetes_available_cluster_versions tencentcloud_kubernetes_cluster_authentication_options Resource tencentcloud_kubernetes_cluster tencentcloud_kubernetes_scale_worker tencentcloud_kubernetes_cluster_attachment tencentcloud_kubernetes_node_pool tencentcloud_kubernetes_serverless_node_pool tencentcloud_kubernetes_backup_storage_location tencentcloud_kubernetes_encryption_protection tencentcloud_kubernetes_auth_attachment tencentcloud_kubernetes_addon_attachment tencentcloud_kubernetes_cluster_endpoint
TDMQ for Pulsar(tpulsar)
Data Source tencentcloud_tdmq_environment_attributes tencentcloud_tdmq_publisher_summary tencentcloud_tdmq_publishers tencentcloud_tdmq_pro_instances tencentcloud_tdmq_pro_instance_detail Resource tencentcloud_tdmq_instance tencentcloud_tdmq_namespace tencentcloud_tdmq_topic tencentcloud_tdmq_role tencentcloud_tdmq_namespace_role_attachment
TencentDB for MongoDB(mongodb)
Data Source tencentcloud_mongodb_instances tencentcloud_mongodb_zone_config tencentcloud_mongodb_instance_backups tencentcloud_mongodb_instance_connections tencentcloud_mongodb_instance_current_op tencentcloud_mongodb_instance_params tencentcloud_mongodb_instance_slow_log Resource tencentcloud_mongodb_instance tencentcloud_mongodb_sharding_instance tencentcloud_mongodb_standby_instance tencentcloud_mongodb_instance_account tencentcloud_mongodb_instance_backup
TencentDB for MySQL(cdb)
Data Source tencentcloud_mysql_backup_list tencentcloud_mysql_instance tencentcloud_mysql_parameter_list tencentcloud_mysql_default_params tencentcloud_mysql_zone_config tencentcloud_mysql_backup_overview tencentcloud_mysql_backup_summaries tencentcloud_mysql_bin_log tencentcloud_mysql_binlog_backup_overview tencentcloud_mysql_clone_list tencentcloud_mysql_data_backup_overview tencentcloud_mysql_db_features tencentcloud_mysql_inst_tables tencentcloud_mysql_instance_charset tencentcloud_mysql_instance_info tencentcloud_mysql_instance_param_record tencentcloud_mysql_instance_reboot_time tencentcloud_mysql_rollback_range_time tencentcloud_mysql_slow_log tencentcloud_mysql_slow_log_data tencentcloud_mysql_supported_privileges tencentcloud_mysql_switch_record tencentcloud_mysql_user_task tencentcloud_mysql_databases tencentcloud_mysql_error_log tencentcloud_mysql_project_security_group tencentcloud_mysql_ro_min_scale Resource tencentcloud_mysql_instance tencentcloud_mysql_readonly_instance tencentcloud_mysql_account tencentcloud_mysql_privilege tencentcloud_mysql_account_privilege tencentcloud_mysql_backup_policy tencentcloud_mysql_time_window tencentcloud_mysql_param_template tencentcloud_mysql_deploy_group tencentcloud_mysql_security_groups_attachment tencentcloud_mysql_local_binlog_config tencentcloud_mysql_audit_log_file tencentcloud_mysql_backup_download_restriction tencentcloud_mysql_renew_db_instance_operation tencentcloud_mysql_backup_encryption_status tencentcloud_mysql_dr_instance_to_mater tencentcloud_mysql_instance_encryption_operation tencentcloud_mysql_password_complexity tencentcloud_mysql_remote_backup_config tencentcloud_mysql_restart_db_instances_operation tencentcloud_mysql_switch_for_upgrade tencentcloud_mysql_rollback tencentcloud_mysql_rollback_stop tencentcloud_mysql_ro_group tencentcloud_mysql_ro_instance_ip tencentcloud_mysql_ro_group_load_operation tencentcloud_mysql_switch_master_slave_operation tencentcloud_mysql_proxy tencentcloud_mysql_reset_root_account tencentcloud_mysql_verify_root_account tencentcloud_mysql_reload_balance_proxy_node tencentcloud_mysql_ro_start_replication tencentcloud_mysql_ro_stop_replication tencentcloud_mysql_isolate_instance
Cloud Monitor(Monitor)
Data Source tencentcloud_monitor_policy_conditions tencentcloud_monitor_data tencentcloud_monitor_product_event tencentcloud_monitor_binding_objects tencentcloud_monitor_policy_groups tencentcloud_monitor_product_namespace tencentcloud_monitor_alarm_notices tencentcloud_monitor_alarm_history tencentcloud_monitor_alarm_metric tencentcloud_monitor_alarm_policy tencentcloud_monitor_alarm_basic_alarms tencentcloud_monitor_alarm_basic_metric tencentcloud_monitor_alarm_conditions_template tencentcloud_monitor_alarm_notice_callbacks tencentcloud_monitor_alarm_all_namespaces tencentcloud_monitor_alarm_monitor_type Resource tencentcloud_monitor_policy_group tencentcloud_monitor_binding_object tencentcloud_monitor_policy_binding_object tencentcloud_monitor_binding_receiver tencentcloud_monitor_alarm_policy tencentcloud_monitor_alarm_notice tencentcloud_monitor_alarm_policy_set_default
Managed Service for Prometheus(TMP)
Data Source tencentcloud_monitor_tmp_regions Resource tencentcloud_monitor_tmp_instance tencentcloud_monitor_tmp_alert_rule tencentcloud_monitor_tmp_exporter_integration tencentcloud_monitor_tmp_cvm_agent tencentcloud_monitor_tmp_scrape_job tencentcloud_monitor_tmp_recording_rule tencentcloud_monitor_tmp_manage_grafana_attachment tencentcloud_monitor_tmp_tke_template tencentcloud_monitor_tmp_tke_template_attachment tencentcloud_monitor_tmp_tke_alert_policy tencentcloud_monitor_tmp_tke_config tencentcloud_monitor_tmp_tke_record_rule_yaml tencentcloud_monitor_tmp_tke_global_notification tencentcloud_monitor_tmp_tke_cluster_agent tencentcloud_monitor_tmp_tke_basic_config
TencentCloud Managed Service for Grafana(TCMG)
Data Source tencentcloud_monitor_grafana_plugin_overviews Resource tencentcloud_monitor_grafana_instance tencentcloud_monitor_grafana_integration tencentcloud_monitor_grafana_notification_channel tencentcloud_monitor_grafana_plugin tencentcloud_monitor_grafana_sso_account tencentcloud_monitor_tmp_grafana_config tencentcloud_monitor_grafana_dns_config tencentcloud_monitor_grafana_env_config tencentcloud_monitor_grafana_whitelist_config tencentcloud_monitor_grafana_sso_cam_config tencentcloud_monitor_grafana_sso_config tencentcloud_monitor_grafana_version_upgrade
TencentDB for PostgreSQL(PostgreSQL)
Data Source tencentcloud_postgresql_instances tencentcloud_postgresql_specinfos tencentcloud_postgresql_xlogs tencentcloud_postgresql_parameter_templates tencentcloud_postgresql_readonly_groups tencentcloud_postgresql_base_backups tencentcloud_postgresql_log_backups tencentcloud_postgresql_backup_download_urls tencentcloud_postgresql_db_instance_classes tencentcloud_postgresql_default_parameters tencentcloud_postgresql_recovery_time tencentcloud_postgresql_regions tencentcloud_postgresql_db_instance_versions tencentcloud_postgresql_zones Resource tencentcloud_postgresql_instance tencentcloud_postgresql_readonly_instance tencentcloud_postgresql_readonly_group tencentcloud_postgresql_readonly_attachment tencentcloud_postgresql_parameter_template tencentcloud_postgresql_backup_plan_config tencentcloud_postgresql_security_group_config tencentcloud_postgresql_backup_download_restriction_config tencentcloud_postgresql_restart_db_instance_operation tencentcloud_postgresql_renew_db_instance_operation tencentcloud_postgresql_isolate_db_instance_operation tencentcloud_postgresql_disisolate_db_instance_operation tencentcloud_postgresql_rebalance_readonly_group_operation tencentcloud_postgresql_delete_log_backup_operation tencentcloud_postgresql_modify_account_remark_operation tencentcloud_postgresql_modify_switch_time_period_operation tencentcloud_postgresql_base_backup
TencentDB for Redis(crs)
Data Source tencentcloud_redis_zone_config tencentcloud_redis_instances tencentcloud_redis_backup tencentcloud_redis_backup_download_info tencentcloud_redis_param_records tencentcloud_redis_instance_shards tencentcloud_redis_instance_zone_info tencentcloud_redis_instance_task_list tencentcloud_redis_instance_node_info Resource tencentcloud_redis_instance tencentcloud_redis_backup_config tencentcloud_redis_param_template tencentcloud_redis_account tencentcloud_redis_read_only tencentcloud_redis_ssl tencentcloud_redis_backup_download_restriction tencentcloud_redis_clear_instance_operation tencentcloud_redis_renew_instance_operation tencentcloud_redis_startup_instance_operation tencentcloud_redis_upgrade_cache_version_operation tencentcloud_redis_upgrade_multi_zone_operation tencentcloud_redis_upgrade_proxy_version_operation tencentcloud_redis_maintenance_window tencentcloud_redis_replica_readonly tencentcloud_redis_switch_master tencentcloud_redis_replicate_attachment tencentcloud_redis_backup_operation tencentcloud_redis_security_group_attachment tencentcloud_redis_connection_config
Serverless Cloud Function(SCF)
Data Source tencentcloud_scf_functions tencentcloud_scf_logs tencentcloud_scf_namespaces tencentcloud_scf_account_info tencentcloud_scf_async_event_management tencentcloud_scf_triggers tencentcloud_scf_async_event_status tencentcloud_scf_function_address tencentcloud_scf_request_status tencentcloud_scf_function_aliases tencentcloud_scf_layer_versions tencentcloud_scf_layers tencentcloud_scf_function_versions Resource tencentcloud_scf_function tencentcloud_scf_function_version tencentcloud_scf_function_event_invoke_config tencentcloud_scf_reserved_concurrency_config tencentcloud_scf_provisioned_concurrency_config tencentcloud_scf_invoke_function tencentcloud_scf_sync_invoke_function tencentcloud_scf_terminate_async_event tencentcloud_scf_namespace tencentcloud_scf_layer tencentcloud_scf_function_alias tencentcloud_scf_trigger_config
SQLServer
Data Source tencentcloud_sqlserver_zone_config tencentcloud_sqlserver_instances tencentcloud_sqlserver_dbs tencentcloud_sqlserver_accounts tencentcloud_sqlserver_account_db_attachments tencentcloud_sqlserver_readonly_groups tencentcloud_sqlserver_publish_subscribes tencentcloud_sqlserver_basic_instances tencentcloud_sqlserver_backup_commands tencentcloud_sqlserver_backup_by_flow_id tencentcloud_sqlserver_backup_upload_size tencentcloud_sqlserver_cross_region_zone tencentcloud_sqlserver_db_charsets tencentcloud_sqlserver_instance_param_records tencentcloud_sqlserver_project_security_groups tencentcloud_sqlserver_regions tencentcloud_sqlserver_rollback_time tencentcloud_sqlserver_slowlogs tencentcloud_sqlserver_upload_backup_info tencentcloud_sqlserver_upload_incremental_info tencentcloud_sqlserver_query_xevent tencentcloud_sqlserver_ins_attribute Resource tencentcloud_sqlserver_instance tencentcloud_sqlserver_readonly_instance tencentcloud_sqlserver_db tencentcloud_sqlserver_account tencentcloud_sqlserver_account_db_attachment tencentcloud_sqlserver_publish_subscribe tencentcloud_sqlserver_basic_instance tencentcloud_sqlserver_migration tencentcloud_sqlserver_config_backup_strategy tencentcloud_sqlserver_general_backup tencentcloud_sqlserver_general_clone tencentcloud_sqlserver_full_backup_migration tencentcloud_sqlserver_incre_backup_migration tencentcloud_sqlserver_business_intelligence_file tencentcloud_sqlserver_business_intelligence_instance tencentcloud_sqlserver_general_communication tencentcloud_sqlserver_general_cloud_instance tencentcloud_sqlserver_complete_expansion tencentcloud_sqlserver_config_database_cdc tencentcloud_sqlserver_config_database_ct tencentcloud_sqlserver_config_database_mdf tencentcloud_sqlserver_config_instance_param tencentcloud_sqlserver_config_instance_ro_group tencentcloud_sqlserver_renew_db_instance tencentcloud_sqlserver_renew_postpaid_db_instance tencentcloud_sqlserver_restart_db_instance tencentcloud_sqlserver_config_terminate_db_instance tencentcloud_sqlserver_restore_instance tencentcloud_sqlserver_rollback_instance tencentcloud_sqlserver_start_backup_full_migration tencentcloud_sqlserver_start_backup_incremental_migration tencentcloud_sqlserver_start_xevent tencentcloud_sqlserver_instance_tde tencentcloud_sqlserver_database_tde tencentcloud_sqlserver_general_cloud_ro_instance
SSL Certificates
Data Source tencentcloud_ssl_certificates tencentcloud_ssl_describe_certificate tencentcloud_ssl_describe_companies tencentcloud_ssl_describe_host_api_gateway_instance_list tencentcloud_ssl_describe_host_cdn_instance_list tencentcloud_ssl_describe_host_clb_instance_list tencentcloud_ssl_describe_host_cos_instance_list tencentcloud_ssl_describe_host_ddos_instance_list tencentcloud_ssl_describe_host_lighthouse_instance_list tencentcloud_ssl_describe_host_live_instance_list tencentcloud_ssl_describe_host_teo_instance_list tencentcloud_ssl_describe_host_tke_instance_list tencentcloud_ssl_describe_host_vod_instance_list tencentcloud_ssl_describe_host_waf_instance_list tencentcloud_ssl_describe_host_deploy_record tencentcloud_ssl_describe_host_deploy_record_detail tencentcloud_ssl_describe_host_update_record tencentcloud_ssl_describe_host_update_record_detail tencentcloud_ssl_describe_managers tencentcloud_ssl_describe_manager_detail Resource tencentcloud_ssl_certificate tencentcloud_ssl_pay_certificate tencentcloud_ssl_free_certificate tencentcloud_ssl_replace_certificate_operation tencentcloud_ssl_revoke_certificate_operation tencentcloud_ssl_update_certificate_instance_operation tencentcloud_ssl_update_certificate_record_retry_operation tencentcloud_ssl_update_certificate_record_rollback_operation tencentcloud_ssl_upload_revoke_letter_operation tencentcloud_ssl_complete_certificate_operation tencentcloud_ssl_check_certificate_chain_operation tencentcloud_ssl_deploy_certificate_instance_operation tencentcloud_ssl_deploy_certificate_record_retry_operation tencentcloud_ssl_deploy_certificate_record_rollback_operation tencentcloud_ssl_download_certificate_operation
Secrets Manager(SSM)
Data Source tencentcloud_ssm_products tencentcloud_ssm_secrets tencentcloud_ssm_secret_versions tencentcloud_ssm_rotation_detail tencentcloud_ssm_rotation_history tencentcloud_ssm_service_status tencentcloud_ssm_ssh_key_pair_value Resource tencentcloud_ssm_secret tencentcloud_ssm_secret_version tencentcloud_ssm_product_secret tencentcloud_ssm_ssh_key_pair_secret tencentcloud_ssm_rotate_product_secret
TcaplusDB
Data Source tencentcloud_tcaplus_clusters tencentcloud_tcaplus_idls tencentcloud_tcaplus_tables tencentcloud_tcaplus_tablegroups Resource tencentcloud_tcaplus_cluster tencentcloud_tcaplus_tablegroup tencentcloud_tcaplus_idl tencentcloud_tcaplus_table
Tencent Container Registry(TCR)
Data Source tencentcloud_tcr_instances tencentcloud_tcr_namespaces tencentcloud_tcr_repositories tencentcloud_tcr_tokens tencentcloud_tcr_vpc_attachments tencentcloud_tcr_webhook_trigger_logs tencentcloud_tcr_images tencentcloud_tcr_image_manifests tencentcloud_tcr_tag_retention_execution_tasks tencentcloud_tcr_tag_retention_executions tencentcloud_tcr_replication_instance_create_tasks tencentcloud_tcr_replication_instance_sync_status Resource tencentcloud_tcr_instance tencentcloud_tcr_namespace tencentcloud_tcr_repository tencentcloud_tcr_token tencentcloud_tcr_vpc_attachment tencentcloud_tcr_tag_retention_rule tencentcloud_tcr_webhook_trigger tencentcloud_tcr_manage_replication_operation tencentcloud_tcr_customized_domain tencentcloud_tcr_immutable_tag_rule tencentcloud_tcr_delete_image_operation tencentcloud_tcr_create_image_signature_operation tencentcloud_tcr_tag_retention_execution_config tencentcloud_tcr_service_account
Video on Demand(VOD)
Data Source tencentcloud_vod_adaptive_dynamic_streaming_templates tencentcloud_vod_snapshot_by_time_offset_templates tencentcloud_vod_super_player_configs tencentcloud_vod_image_sprite_templates tencentcloud_vod_procedure_templates Resource tencentcloud_vod_adaptive_dynamic_streaming_template tencentcloud_vod_procedure_template tencentcloud_vod_snapshot_by_time_offset_template tencentcloud_vod_image_sprite_template tencentcloud_vod_super_player_config tencentcloud_vod_sub_application
Oceanus
Data Source tencentcloud_oceanus_resource_related_job tencentcloud_oceanus_savepoint_list tencentcloud_oceanus_system_resource tencentcloud_oceanus_work_spaces tencentcloud_oceanus_clusters tencentcloud_oceanus_tree_jobs tencentcloud_oceanus_tree_resources tencentcloud_oceanus_job_submission_log tencentcloud_oceanus_check_savepoint Resource tencentcloud_oceanus_job tencentcloud_oceanus_job_config tencentcloud_oceanus_job_copy tencentcloud_oceanus_run_job tencentcloud_oceanus_stop_job tencentcloud_oceanus_trigger_job_savepoint tencentcloud_oceanus_resource tencentcloud_oceanus_resource_config tencentcloud_oceanus_work_space
Virtual Private Cloud(VPC)
Data Source tencentcloud_route_table tencentcloud_security_group tencentcloud_security_groups tencentcloud_address_templates tencentcloud_address_template_groups tencentcloud_protocol_templates tencentcloud_protocol_template_groups tencentcloud_subnet tencentcloud_vpc tencentcloud_vpc_acls tencentcloud_vpc_account_attributes tencentcloud_vpc_classic_link_instances tencentcloud_vpc_gateway_flow_monitor_detail tencentcloud_vpc_gateway_flow_qos tencentcloud_vpc_cvm_instances tencentcloud_vpc_net_detect_states tencentcloud_vpc_net_detect_state_check tencentcloud_vpc_network_interface_limit tencentcloud_vpc_private_ip_addresses tencentcloud_vpc_product_quota tencentcloud_vpc_resource_dashboard tencentcloud_vpc_route_conflicts tencentcloud_vpc_security_group_limits tencentcloud_vpc_security_group_references tencentcloud_vpc_sg_snapshot_file_content tencentcloud_vpc_snapshot_files tencentcloud_vpc_subnet_resource_dashboard tencentcloud_vpc_template_limits tencentcloud_vpc_used_ip_address tencentcloud_vpc_limits tencentcloud_vpc_instances tencentcloud_vpc_route_tables tencentcloud_vpc_subnets tencentcloud_dnats tencentcloud_enis tencentcloud_ha_vip_eip_attachments tencentcloud_ha_vips tencentcloud_nat_gateways tencentcloud_nat_gateway_snats tencentcloud_nats tencentcloud_nat_dc_route tencentcloud_vpc_bandwidth_package_quota tencentcloud_vpc_bandwidth_package_bill_usage Resource tencentcloud_eni tencentcloud_eni_attachment tencentcloud_eni_sg_attachment tencentcloud_vpc tencentcloud_vpc_acl tencentcloud_vpc_acl_attachment tencentcloud_vpc_traffic_package tencentcloud_vpc_snapshot_policy tencentcloud_vpc_snapshot_policy_attachment tencentcloud_vpc_snapshot_policy_config tencentcloud_vpc_net_detect tencentcloud_vpc_dhcp_ip tencentcloud_vpc_ipv6_cidr_block tencentcloud_vpc_ipv6_subnet_cidr_block tencentcloud_vpc_ipv6_eni_address tencentcloud_vpc_local_gateway tencentcloud_vpc_resume_snapshot_instance tencentcloud_subnet tencentcloud_security_group tencentcloud_security_group_rule tencentcloud_security_group_rule_set tencentcloud_security_group_lite_rule tencentcloud_address_template tencentcloud_address_template_group tencentcloud_protocol_template tencentcloud_protocol_template_group tencentcloud_route_table tencentcloud_route_entry tencentcloud_route_table_entry tencentcloud_dnat tencentcloud_nat_gateway tencentcloud_nat_gateway_snat tencentcloud_nat_refresh_nat_dc_route tencentcloud_ha_vip tencentcloud_ha_vip_eip_attachment tencentcloud_vpc_bandwidth_package tencentcloud_vpc_bandwidth_package_attachment tencentcloud_ipv6_address_bandwidth
Private Link(PLS)
Resource tencentcloud_vpc_end_point_service tencentcloud_vpc_end_point tencentcloud_vpc_enable_end_point_connect tencentcloud_vpc_end_point_service_white_list
Flow Logs(FL)
Resource tencentcloud_vpc_flow_log tencentcloud_vpc_flow_log_config
VPN Connections(VPN)
Data Source tencentcloud_vpn_connections tencentcloud_vpn_customer_gateways tencentcloud_vpn_gateways tencentcloud_vpn_gateway_routes tencentcloud_vpn_customer_gateway_vendors tencentcloud_vpn_default_health_check_ip Resource tencentcloud_vpn_customer_gateway tencentcloud_vpn_gateway tencentcloud_vpn_gateway_route tencentcloud_vpn_connection tencentcloud_vpn_ssl_server tencentcloud_vpn_ssl_client tencentcloud_vpn_connection_reset tencentcloud_vpn_customer_gateway_configuration_download tencentcloud_vpn_gateway_ssl_client_cert tencentcloud_vpn_gateway_ccn_routes
MapReduce(EMR)
Data Source tencentcloud_emr tencentcloud_emr_nodes Resource tencentcloud_emr_cluster tencentcloud_emr_user_manager
DNSPOD
Resource tencentcloud_dnspod_domain_instance tencentcloud_dnspod_domain_alias tencentcloud_dnspod_record tencentcloud_dnspod_record_group tencentcloud_dnspod_modify_record_group_operation tencentcloud_dnspod_modify_domain_owner_operation tencentcloud_dnspod_download_snapshot_operation tencentcloud_dnspod_custom_line Data Source tencentcloud_dnspod_records tencentcloud_dnspod_domain_list tencentcloud_dnspod_domain_analytics tencentcloud_dnspod_domain_log_list tencentcloud_dnspod_record_analytics tencentcloud_dnspod_record_line_list tencentcloud_dnspod_record_list tencentcloud_dnspod_record_type
PrivateDNS
Resource tencentcloud_private_dns_zone tencentcloud_private_dns_record tencentcloud_private_dns_zone_vpc_attachment Data Source tencentcloud_private_dns_records
Cloud Log Service(CLS)
Resource tencentcloud_cls_logset tencentcloud_cls_topic tencentcloud_cls_config tencentcloud_cls_config_extra tencentcloud_cls_config_attachment tencentcloud_cls_machine_group tencentcloud_cls_cos_shipper tencentcloud_cls_index tencentcloud_cls_alarm tencentcloud_cls_alarm_notice tencentcloud_cls_ckafka_consumer tencentcloud_cls_kafka_recharge tencentcloud_cls_cos_recharge tencentcloud_cls_export tencentcloud_cls_scheduled_sql tencentcloud_cls_data_transform Data Source tencentcloud_cls_shipper_tasks tencentcloud_cls_machines tencentcloud_cls_machine_group_configs
TencentCloud Lighthouse(Lighthouse)
Resource tencentcloud_lighthouse_instance tencentcloud_lighthouse_blueprint tencentcloud_lighthouse_firewall_rule tencentcloud_lighthouse_disk_backup tencentcloud_lighthouse_apply_disk_backup tencentcloud_lighthouse_disk_attachment tencentcloud_lighthouse_key_pair tencentcloud_lighthouse_snapshot tencentcloud_lighthouse_apply_instance_snapshot tencentcloud_lighthouse_start_instance tencentcloud_lighthouse_stop_instance tencentcloud_lighthouse_reboot_instance tencentcloud_lighthouse_key_pair_attachment tencentcloud_lighthouse_disk tencentcloud_lighthouse_renew_disk tencentcloud_lighthouse_renew_instance tencentcloud_lighthouse_firewall_template Data Source tencentcloud_lighthouse_firewall_rules_template tencentcloud_lighthouse_bundle tencentcloud_lighthouse_zone tencentcloud_lighthouse_scene tencentcloud_lighthouse_reset_instance_blueprint tencentcloud_lighthouse_region tencentcloud_lighthouse_instance_vnc_url tencentcloud_lighthouse_instance_traffic_package tencentcloud_lighthouse_instance_disk_num tencentcloud_lighthouse_instance_blueprint tencentcloud_lighthouse_disk_config tencentcloud_lighthouse_all_scene tencentcloud_lighthouse_modify_instance_bundle tencentcloud_lighthouse_disks
TencentCloud Elastic Microservice(TEM)
Resource tencentcloud_tem_environment tencentcloud_tem_application tencentcloud_tem_workload tencentcloud_tem_app_config tencentcloud_tem_log_config tencentcloud_tem_scale_rule tencentcloud_tem_gateway tencentcloud_tem_application_service
TencentCloud EdgeOne(TEO)
Data Source tencentcloud_teo_zone_available_plans tencentcloud_teo_rule_engine_settings Resource tencentcloud_teo_zone tencentcloud_teo_zone_setting tencentcloud_teo_origin_group tencentcloud_teo_rule_engine tencentcloud_teo_application_proxy_rule tencentcloud_teo_ownership_verify tencentcloud_teo_certificate_config tencentcloud_teo_acceleration_domain
TencentCloud ServiceMesh(TCM)
Data Source tencentcloud_tcm_mesh Resource tencentcloud_tcm_mesh tencentcloud_tcm_cluster_attachment tencentcloud_tcm_prometheus_attachment tencentcloud_tcm_tracing_config tencentcloud_tcm_access_log_config
Simple Email Service(SES)
Data Source tencentcloud_ses_receivers tencentcloud_ses_send_tasks tencentcloud_ses_email_identities tencentcloud_ses_black_email_address tencentcloud_ses_statistics_report tencentcloud_ses_send_email_status Resource tencentcloud_ses_domain tencentcloud_ses_template tencentcloud_ses_email_address tencentcloud_ses_receiver tencentcloud_ses_send_email tencentcloud_ses_batch_send_email tencentcloud_ses_verify_domain tencentcloud_ses_black_list_delete
Security Token Service(STS)
Data Source tencentcloud_sts_caller_identity
TDSQL for MySQL(DCDB)
Data Source tencentcloud_dcdb_instances tencentcloud_dcdb_accounts tencentcloud_dcdb_databases tencentcloud_dcdb_parameters tencentcloud_dcdb_shards tencentcloud_dcdb_security_groups tencentcloud_dcdb_database_objects tencentcloud_dcdb_database_tables tencentcloud_dcdb_file_download_url tencentcloud_dcdb_log_files tencentcloud_dcdb_instance_node_info tencentcloud_dcdb_orders tencentcloud_dcdb_price tencentcloud_dcdb_project_security_groups tencentcloud_dcdb_projects tencentcloud_dcdb_renewal_price tencentcloud_dcdb_sale_info tencentcloud_dcdb_shard_spec tencentcloud_dcdb_slow_logs tencentcloud_dcdb_upgrade_price Resource tencentcloud_dcdb_account tencentcloud_dcdb_hourdb_instance tencentcloud_dcdb_security_group_attachment tencentcloud_dcdb_account_privileges tencentcloud_dcdb_db_parameters tencentcloud_dcdb_db_sync_mode_config tencentcloud_dcdb_encrypt_attributes_config tencentcloud_dcdb_instance_config tencentcloud_dcdb_cancel_dcn_job_operation tencentcloud_dcdb_activate_hour_instance_operation tencentcloud_dcdb_isolate_hour_instance_operation tencentcloud_dcdb_flush_binlog_operation tencentcloud_dcdb_switch_db_instance_ha_operation
Short Message Service(SMS)
Resource tencentcloud_sms_sign tencentcloud_sms_template
Cloud Automated Testing(CAT)
Data Source tencentcloud_cat_probe_data tencentcloud_cat_node tencentcloud_cat_metric_data Resource tencentcloud_cat_task_set
TencentDB for MariaDB(MariaDB)
Data Source tencentcloud_mariadb_db_instances tencentcloud_mariadb_accounts tencentcloud_mariadb_security_groups tencentcloud_mariadb_database_objects tencentcloud_mariadb_databases tencentcloud_mariadb_database_table tencentcloud_mariadb_dcn_detail tencentcloud_mariadb_file_download_url tencentcloud_mariadb_flow tencentcloud_mariadb_instance_specs tencentcloud_mariadb_log_files tencentcloud_mariadb_orders tencentcloud_mariadb_price tencentcloud_mariadb_project_security_groups tencentcloud_mariadb_renewal_price tencentcloud_mariadb_sale_info tencentcloud_mariadb_slow_logs tencentcloud_mariadb_upgrade_price Resource tencentcloud_mariadb_dedicatedcluster_db_instance tencentcloud_mariadb_instance tencentcloud_mariadb_hour_db_instance tencentcloud_mariadb_account tencentcloud_mariadb_parameters tencentcloud_mariadb_log_file_retention_period tencentcloud_mariadb_security_groups tencentcloud_mariadb_account_privileges tencentcloud_mariadb_operate_hour_db_instance tencentcloud_mariadb_backup_time tencentcloud_mariadb_cancel_dcn_job tencentcloud_mariadb_flush_binlog tencentcloud_mariadb_switch_ha tencentcloud_mariadb_restart_instance tencentcloud_mariadb_renew_instance tencentcloud_mariadb_instance_config
Real User Monitoring(RUM)
Data Source tencentcloud_rum_project tencentcloud_rum_offline_log_config tencentcloud_rum_whitelist tencentcloud_rum_taw_instance tencentcloud_rum_custom_url tencentcloud_rum_event_url tencentcloud_rum_fetch_url_info tencentcloud_rum_fetch_url tencentcloud_rum_group_log tencentcloud_rum_log_url_statistics tencentcloud_rum_performance_page tencentcloud_rum_pv_url_info tencentcloud_rum_pv_url_statistics tencentcloud_rum_report_count tencentcloud_rum_scores tencentcloud_rum_set_url_statistics tencentcloud_rum_sign tencentcloud_rum_static_project tencentcloud_rum_static_resource tencentcloud_rum_static_url tencentcloud_rum_web_vitals_page tencentcloud_rum_log_export_list Resource tencentcloud_rum_project tencentcloud_rum_taw_instance tencentcloud_rum_whitelist tencentcloud_rum_offline_log_config_attachment tencentcloud_rum_instance_status_config tencentcloud_rum_project_status_config
Cloud Streaming Services(CSS)
Resource tencentcloud_css_watermark tencentcloud_css_watermark_rule_attachment tencentcloud_css_pull_stream_task tencentcloud_css_live_transcode_template tencentcloud_css_live_transcode_rule_attachment tencentcloud_css_domain tencentcloud_css_authenticate_domain_owner_operation tencentcloud_css_play_domain_cert_attachment tencentcloud_css_play_auth_key_config tencentcloud_css_push_auth_key_config tencentcloud_css_backup_stream tencentcloud_css_callback_rule_attachment tencentcloud_css_callback_template tencentcloud_css_domain_referer tencentcloud_css_enable_optimal_switching tencentcloud_css_record_rule_attachment tencentcloud_css_snapshot_rule_attachment tencentcloud_css_snapshot_template tencentcloud_css_pad_template tencentcloud_css_pad_rule_attachment tencentcloud_css_timeshift_template tencentcloud_css_timeshift_rule_attachment tencentcloud_css_stream_monitor Data Source tencentcloud_css_domains tencentcloud_css_backup_stream tencentcloud_css_monitor_report tencentcloud_css_pad_templates tencentcloud_css_pull_stream_task_status tencentcloud_css_stream_monitor_list tencentcloud_css_time_shift_record_detail tencentcloud_css_time_shift_stream_list tencentcloud_css_watermarks tencentcloud_css_xp2p_detail_info_list
Performance Testing Service(PTS)
Data Source tencentcloud_pts_scenario_with_jobs Resource tencentcloud_pts_project tencentcloud_pts_alert_channel tencentcloud_pts_scenario tencentcloud_pts_file tencentcloud_pts_job tencentcloud_pts_cron_job tencentcloud_pts_tmp_key_generate tencentcloud_pts_cron_job_restart tencentcloud_pts_job_abort tencentcloud_pts_cron_job_abort
TencentCloud Automation Tools(TAT)
Data Source tencentcloud_tat_command tencentcloud_tat_invoker tencentcloud_tat_invoker_records tencentcloud_tat_agent tencentcloud_tat_invocation_task Resource tencentcloud_tat_command tencentcloud_tat_invoker tencentcloud_tat_invoker_config tencentcloud_tat_invocation_invoke_attachment tencentcloud_tat_invocation_command_attachment
Tencent Cloud Organization (TCO)
Data Source tencentcloud_organization_org_auth_node tencentcloud_organization_org_financial_by_member tencentcloud_organization_org_financial_by_month tencentcloud_organization_org_financial_by_product Resource tencentcloud_organization_instance tencentcloud_organization_org_node tencentcloud_organization_org_member tencentcloud_organization_org_identity tencentcloud_organization_org_member_email tencentcloud_organization_org_member_auth_identity_attachment tencentcloud_organization_org_member_policy_attachment tencentcloud_organization_policy_sub_account_attachment tencentcloud_organization_quit_organization_operation
TDSQL-C for PostgreSQL(TDCPG)
Data Source tencentcloud_tdcpg_clusters tencentcloud_tdcpg_instances Resource tencentcloud_tdcpg_cluster tencentcloud_tdcpg_instance
TencentDB for DBbrain(dbbrain)
Data Source tencentcloud_dbbrain_sql_filters tencentcloud_dbbrain_security_audit_log_export_tasks tencentcloud_dbbrain_diag_event tencentcloud_dbbrain_diag_events tencentcloud_dbbrain_diag_history tencentcloud_dbbrain_security_audit_log_download_urls tencentcloud_dbbrain_slow_log_time_series_stats tencentcloud_dbbrain_slow_log_top_sqls tencentcloud_dbbrain_slow_log_user_host_stats tencentcloud_dbbrain_slow_log_user_sql_advice tencentcloud_dbbrain_slow_logs tencentcloud_dbbrain_health_scores tencentcloud_dbbrain_sql_templates tencentcloud_dbbrain_db_space_status tencentcloud_dbbrain_top_space_schemas tencentcloud_dbbrain_top_space_tables tencentcloud_dbbrain_top_space_schema_time_series tencentcloud_dbbrain_top_space_table_time_series tencentcloud_dbbrain_diag_db_instances tencentcloud_dbbrain_mysql_process_list tencentcloud_dbbrain_no_primary_key_tables tencentcloud_dbbrain_redis_top_big_keys tencentcloud_dbbrain_redis_top_key_prefix_list Resource tencentcloud_dbbrain_sql_filter tencentcloud_dbbrain_security_audit_log_export_task tencentcloud_dbbrain_db_diag_report_task tencentcloud_dbbrain_modify_diag_db_instance_operation tencentcloud_dbbrain_tdsql_audit_log
Data Transmission Service(DTS)
Data Source tencentcloud_dts_sync_jobs tencentcloud_dts_migrate_jobs tencentcloud_dts_compare_tasks tencentcloud_dts_migrate_db_instances Resource tencentcloud_dts_sync_job tencentcloud_dts_sync_config tencentcloud_dts_sync_check_job_operation tencentcloud_dts_sync_job_resume_operation tencentcloud_dts_sync_job_start_operation tencentcloud_dts_sync_job_stop_operation tencentcloud_dts_sync_job_resize_operation tencentcloud_dts_sync_job_recover_operation tencentcloud_dts_sync_job_isolate_operation tencentcloud_dts_sync_job_continue_operation tencentcloud_dts_sync_job_pause_operation tencentcloud_dts_migrate_service tencentcloud_dts_migrate_job tencentcloud_dts_migrate_job_config tencentcloud_dts_migrate_job_start_operation tencentcloud_dts_migrate_job_resume_operation tencentcloud_dts_compare_task_stop_operation tencentcloud_dts_compare_task
TDMQ for RocketMQ(trocket)
Data Source tencentcloud_tdmq_rocketmq_cluster tencentcloud_tdmq_rocketmq_namespace tencentcloud_tdmq_rocketmq_topic tencentcloud_tdmq_rocketmq_role tencentcloud_tdmq_rocketmq_group tencentcloud_tdmq_rocketmq_messages Resource tencentcloud_tdmq_rocketmq_cluster tencentcloud_tdmq_rocketmq_namespace tencentcloud_tdmq_rocketmq_role tencentcloud_tdmq_rocketmq_topic tencentcloud_tdmq_rocketmq_group tencentcloud_tdmq_rocketmq_environment_role tencentcloud_tdmq_send_rocketmq_message tencentcloud_tdmq_rocketmq_vip_instance tencentcloud_trocket_rocketmq_instance tencentcloud_trocket_rocketmq_topic tencentcloud_trocket_rocketmq_consumer_group tencentcloud_trocket_rocketmq_role
TDMQ for RabbitMQ(trabbit)
Resource tencentcloud_tdmq_rabbitmq_user tencentcloud_tdmq_rabbitmq_virtual_host tencentcloud_tdmq_rabbitmq_vip_instance
Cloud Infinite(CI)
Resource tencentcloud_ci_bucket_attachment tencentcloud_ci_bucket_pic_style tencentcloud_ci_hot_link tencentcloud_ci_media_snapshot_template tencentcloud_ci_media_transcode_template tencentcloud_ci_media_animation_template tencentcloud_ci_media_concat_template tencentcloud_ci_media_video_process_template tencentcloud_ci_media_video_montage_template tencentcloud_ci_media_voice_separate_template tencentcloud_ci_media_super_resolution_template tencentcloud_ci_media_pic_process_template tencentcloud_ci_media_watermark_template tencentcloud_ci_media_tts_template tencentcloud_ci_media_transcode_pro_template tencentcloud_ci_media_smart_cover_template tencentcloud_ci_media_speech_recognition_template tencentcloud_ci_guetzli tencentcloud_ci_original_image_protection
TDMQ for CMQ
Data Source tencentcloud_tcmq_queue tencentcloud_tcmq_topic tencentcloud_tcmq_subscribe Resource tencentcloud_tcmq_queue tencentcloud_tcmq_topic tencentcloud_tcmq_subscribe
Tencent Service Framework(TSF)
Data Source tencentcloud_tsf_application tencentcloud_tsf_application_config tencentcloud_tsf_application_file_config tencentcloud_tsf_application_public_config tencentcloud_tsf_cluster tencentcloud_tsf_microservice tencentcloud_tsf_unit_rules tencentcloud_tsf_config_summary tencentcloud_tsf_delivery_config_by_group_id tencentcloud_tsf_delivery_configs tencentcloud_tsf_public_config_summary tencentcloud_tsf_api_group tencentcloud_tsf_application_attribute tencentcloud_tsf_business_log_configs tencentcloud_tsf_api_detail tencentcloud_tsf_microservice_api_version tencentcloud_tsf_repository tencentcloud_tsf_pod_instances tencentcloud_tsf_gateway_all_group_apis tencentcloud_tsf_group_gateways tencentcloud_tsf_usable_unit_namespaces tencentcloud_tsf_group_instances tencentcloud_tsf_group_config_release tencentcloud_tsf_container_group tencentcloud_tsf_groups tencentcloud_tsf_ms_api_list Resource tencentcloud_tsf_cluster tencentcloud_tsf_microservice tencentcloud_tsf_application_config tencentcloud_tsf_api_group tencentcloud_tsf_namespace tencentcloud_tsf_path_rewrite tencentcloud_tsf_unit_rule tencentcloud_tsf_task tencentcloud_tsf_config_template tencentcloud_tsf_api_rate_limit_rule tencentcloud_tsf_application_release_config tencentcloud_tsf_lane tencentcloud_tsf_lane_rule tencentcloud_tsf_group tencentcloud_tsf_application tencentcloud_tsf_application_public_config_release tencentcloud_tsf_application_public_config tencentcloud_tsf_application_file_config_release tencentcloud_tsf_instances_attachment tencentcloud_tsf_bind_api_group tencentcloud_tsf_application_file_config tencentcloud_tsf_enable_unit_rule tencentcloud_tsf_deploy_container_group tencentcloud_tsf_deploy_vm_group tencentcloud_tsf_release_api_group tencentcloud_tsf_operate_container_group tencentcloud_tsf_operate_group tencentcloud_tsf_unit_namespace
Media Processing Service(MPS)
Data Source tencentcloud_mps_schedules tencentcloud_mps_tasks tencentcloud_mps_parse_live_stream_process_notification tencentcloud_mps_parse_notification tencentcloud_mps_media_meta_data Resource tencentcloud_mps_workflow tencentcloud_mps_enable_workflow_config tencentcloud_mps_transcode_template tencentcloud_mps_watermark_template tencentcloud_mps_image_sprite_template tencentcloud_mps_snapshot_by_timeoffset_template tencentcloud_mps_sample_snapshot_template tencentcloud_mps_animated_graphics_template tencentcloud_mps_ai_recognition_template tencentcloud_mps_ai_analysis_template tencentcloud_mps_adaptive_dynamic_streaming_template tencentcloud_mps_person_sample tencentcloud_mps_withdraws_watermark_operation tencentcloud_mps_process_live_stream_operation tencentcloud_mps_edit_media_operation tencentcloud_mps_word_sample tencentcloud_mps_schedule tencentcloud_mps_enable_schedule_config tencentcloud_mps_flow tencentcloud_mps_input tencentcloud_mps_output tencentcloud_mps_content_review_template tencentcloud_mps_start_flow_operation tencentcloud_mps_event tencentcloud_mps_manage_task_operation tencentcloud_mps_execute_function_operation tencentcloud_mps_process_media_operation
Cloud HDFS(CHDFS)
Data Source tencentcloud_chdfs_access_groups tencentcloud_chdfs_mount_points tencentcloud_chdfs_file_systems Resource tencentcloud_chdfs_access_group tencentcloud_chdfs_access_rule tencentcloud_chdfs_file_system tencentcloud_chdfs_life_cycle_rule tencentcloud_chdfs_mount_point tencentcloud_chdfs_mount_point_attachment
StreamLive(MDL)
Resource tencentcloud_mdl_stream_live_input
Application Performance Management(APM)
Resource tencentcloud_apm_instance
Tencent Cloud Service Engine(TSE)
Data Source tencentcloud_tse_access_address tencentcloud_tse_nacos_replicas tencentcloud_tse_zookeeper_replicas tencentcloud_tse_zookeeper_server_interfaces tencentcloud_tse_nacos_server_interfaces tencentcloud_tse_groups tencentcloud_tse_gateways tencentcloud_tse_gateway_nodes tencentcloud_tse_gateway_routes tencentcloud_tse_gateway_canary_rules tencentcloud_tse_gateway_services tencentcloud_tse_gateway_certificates Resource tencentcloud_tse_instance tencentcloud_tse_cngw_service tencentcloud_tse_cngw_canary_rule tencentcloud_tse_cngw_gateway tencentcloud_tse_cngw_group tencentcloud_tse_cngw_service_rate_limit tencentcloud_tse_cngw_route tencentcloud_tse_cngw_route_rate_limit tencentcloud_tse_cngw_certificate
ClickHouse(CDWCH)
Data Source tencentcloud_clickhouse_backup_jobs tencentcloud_clickhouse_backup_job_detail tencentcloud_clickhouse_backup_tables Resource tencentcloud_clickhouse_instance tencentcloud_clickhouse_backup tencentcloud_clickhouse_backup_strategy tencentcloud_clickhouse_recover_backup_job tencentcloud_clickhouse_delete_backup_data tencentcloud_clickhouse_account tencentcloud_clickhouse_account_permission
Tag
Resource tencentcloud_tag tencentcloud_tag_attachment
EventBridge(EB)
Data Source tencentcloud_eb_bus tencentcloud_eb_event_rules tencentcloud_eb_platform_event_names tencentcloud_eb_platform_event_patterns tencentcloud_eb_platform_products tencentcloud_eb_plateform_event_template Resource tencentcloud_eb_event_transform tencentcloud_eb_event_bus tencentcloud_eb_event_rule tencentcloud_eb_event_target tencentcloud_eb_put_events tencentcloud_eb_event_connector
Data Lake Compute(DLC)
Data Source tencentcloud_dlc_describe_user_type tencentcloud_dlc_describe_user_info tencentcloud_dlc_describe_user_roles tencentcloud_dlc_describe_data_engine tencentcloud_dlc_describe_data_engine_image_versions tencentcloud_dlc_describe_data_engine_python_spark_images tencentcloud_dlc_describe_engine_usage_info tencentcloud_dlc_describe_work_group_info tencentcloud_dlc_check_data_engine_image_can_be_rollback tencentcloud_dlc_check_data_engine_image_can_be_upgrade tencentcloud_dlc_check_data_engine_config_pairs_validity Resource tencentcloud_dlc_work_group tencentcloud_dlc_user tencentcloud_dlc_data_engine tencentcloud_dlc_rollback_data_engine_image_operation tencentcloud_dlc_add_users_to_work_group_attachment tencentcloud_dlc_store_location_config tencentcloud_dlc_suspend_resume_data_engine tencentcloud_dlc_modify_data_engine_description_operation tencentcloud_dlc_modify_user_typ_operation tencentcloud_dlc_renew_data_engine_operation tencentcloud_dlc_restart_data_engine_operation tencentcloud_dlc_switch_data_engine_image_operation tencentcloud_dlc_upgrade_data_engine_image_operation tencentcloud_dlc_user_data_engine_config tencentcloud_dlc_update_row_filter_operation tencentcloud_dlc_bind_work_groups_to_user_attachment
Web Application Firewall(WAF)
Data Source tencentcloud_waf_ciphers tencentcloud_waf_tls_versions tencentcloud_waf_domains tencentcloud_waf_find_domains tencentcloud_waf_ports tencentcloud_waf_user_domains tencentcloud_waf_attack_log_histogram tencentcloud_waf_attack_log_list tencentcloud_waf_attack_overview tencentcloud_waf_attack_total_count tencentcloud_waf_peak_points tencentcloud_waf_instance_qps_limit Resource tencentcloud_waf_custom_rule tencentcloud_waf_custom_white_rule tencentcloud_waf_clb_domain tencentcloud_waf_saas_domain tencentcloud_waf_clb_instance tencentcloud_waf_saas_instance tencentcloud_waf_anti_fake tencentcloud_waf_anti_info_leak
Wedata
Data Source tencentcloud_wedata_rule_templates Resource tencentcloud_wedata_function tencentcloud_wedata_resource tencentcloud_wedata_script tencentcloud_wedata_dq_rule tencentcloud_wedata_rule_template tencentcloud_wedata_baseline
Cloud Firewall(CFW)
Data Source tencentcloud_cfw_nat_fw_switches tencentcloud_cfw_vpc_fw_switches tencentcloud_cfw_edge_fw_switches Resource tencentcloud_cfw_address_template tencentcloud_cfw_block_ignore tencentcloud_cfw_edge_policy tencentcloud_cfw_nat_instance tencentcloud_cfw_nat_policy tencentcloud_cfw_vpc_instance tencentcloud_cfw_vpc_policy tencentcloud_cfw_sync_asset tencentcloud_cfw_sync_route tencentcloud_cfw_nat_firewall_switch tencentcloud_cfw_vpc_firewall_switch tencentcloud_cfw_edge_firewall_switch
Cwp
Data Source tencentcloud_cwp_machines_simple Resource tencentcloud_cwp_license_order tencentcloud_cwp_license_bind_attachment
Business Intelligence(BI)
Data Source tencentcloud_bi_project tencentcloud_bi_user_project Resource tencentcloud_bi_project tencentcloud_bi_user_role tencentcloud_bi_project_user_role tencentcloud_bi_datasource tencentcloud_bi_datasource_cloud tencentcloud_bi_embed_token_apply tencentcloud_bi_embed_interval_apply
CDWPG
Resource tencentcloud_cdwpg_instance
Provides a resource to manage address template.
Example Usage ¶
```hcl
resource "tencentcloud_address_template" "foo" { name = "cam-user-test" addresses = ["10.0.0.1","10.0.1.0/24","10.0.0.1-10.0.0.100"] }
```
Import ¶
Address template can be imported using the id, e.g.
``` $ terraform import tencentcloud_address_template.foo ipm-makf7k9e" ```
Provides a resource to manage address template group.
Example Usage ¶
```hcl
resource "tencentcloud_address_template_group" "foo" { name = "group-test" template_ids = ["ipl-axaf24151","ipl-axaf24152"] }
```
Import ¶
Address template group can be imported using the id, e.g.
``` $ terraform import tencentcloud_address_template_group.foo ipmg-0np3u974 ```
Provides an tencentcloud application load balancer servers attachment as a resource, to attach and detach instances from load balancer.
~> **NOTE:** It has been deprecated and replaced by `tencentcloud_clb_attachment`.
~> **NOTE:** Currently only support existing `loadbalancer_id` `listener_id` `location_id` and Application layer 7 load balancer
Example Usage ¶
```hcl
resource "tencentcloud_alb_server_attachment" "service1" { loadbalancer_id = "lb-qk1dqox5" listener_id = "lbl-ghoke4tl" location_id = "loc-i858qv1l" backends = [ { instance_id = "ins-4j30i5pe" port = 80 weight = 50 }, { instance_id = "ins-4j30i5pe" port = 8080 weight = 50 }, ] }
```
Use this resource to create API of API gateway.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf-example" protocol = "http&https" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "api" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf-example" api_desc = "desc." auth_type = "NONE" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "GET" request_parameters { name = "name" position = "QUERY" type = "string" desc = "who are you?" default_value = "tom" required = true } service_config_type = "HTTP" service_config_timeout = 15 service_config_url = "http://www.qq.com" service_config_path = "/user" service_config_method = "GET" response_type = "HTML" response_success_example = "success" response_fail_example = "fail" response_error_codes { code = 500 msg = "system error" desc = "system error code" converted_code = 5000 need_convert = true } release_limit = 500 pre_limit = 500 test_limit = 500 }
```
Provides a resource to create a APIGateway ApiApp ¶
Example Usage ¶
Create a basic apigateway api_app
```hcl
resource "tencentcloud_api_gateway_api_app" "example" { api_app_name = "tf_example" api_app_desc = "app desc." }
```
Bind Tag ¶
```hcl
resource "tencentcloud_api_gateway_api_app" "example" { api_app_name = "tf_example" api_app_desc = "app desc." tags = { "createdBy" = "terraform" } }
```
Import ¶
apigateway api_app can be imported using the id, e.g.
``` terraform import tencentcloud_api_gateway_api_app.example app-poe0pyex ```
Provides a resource to create a apigateway api_app_attachment
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_api_app" "example" { api_app_name = "tf_example" api_app_desc = "app desc." }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example_service" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf_example_api" api_desc = "desc." auth_type = "APP" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "GET" request_parameters { name = "name" position = "QUERY" type = "string" desc = "desc." default_value = "terraform" required = true } service_config_type = "HTTP" service_config_timeout = 15 service_config_url = "https://www.qq.com" service_config_path = "/user" service_config_method = "GET" response_type = "HTML" response_success_example = "success" response_fail_example = "fail" response_error_codes { code = 400 msg = "system error msg." desc = "system error desc." converted_code = 407 need_convert = true } }
resource "tencentcloud_api_gateway_api_app_attachment" "example" { api_app_id = tencentcloud_api_gateway_api_app.example.id environment = "test" service_id = tencentcloud_api_gateway_service.example.id api_id = tencentcloud_api_gateway_api.example.id }
```
Import ¶
apigateway api_app_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_api_gateway_api_app_attachment.example app-f2dxx0lv#test#service-h0trno8e#api-grsomg0w ```
Provides a resource to create a APIGateway ApiDoc ¶
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_api_doc" "my_api_doc" { api_doc_name = "doc_test1" service_id = "service_test1" environment = "release" api_ids = ["api-test1", "api-test2"] }
```
Use this resource to create API gateway access key.
Example Usage ¶
Automatically generate key for API gateway access key.
```hcl
resource "tencentcloud_api_gateway_api_key" "example_auto" { secret_name = "tf_example_auto" status = "on" }
```
Manually generate a secret key for API gateway access key.
```hcl
resource "tencentcloud_api_gateway_api_key" "example_manual" { secret_name = "tf_example_manual" status = "on" access_key_type = "manual" access_key_id = "28e287e340507fa147b2c8284dab542f" access_key_secret = "0198a4b8c3105080f4acd9e507599eff" }
``` Import
API gateway access key can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_api_key.test AKIDMZwceezso9ps5p8jkro8a9fwe1e7nzF2k50B ```
Use this resource to API gateway attach access key to usage plan.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_api_key" "key" { secret_name = "my_api_key" status = "on" }
resource "tencentcloud_api_gateway_usage_plan" "plan" { usage_plan_name = "my_plan" usage_plan_desc = "nice plan" max_request_num = 100 max_request_num_pre_sec = 10 }
resource "tencentcloud_api_gateway_api_key_attachment" "attach" { api_key_id = tencentcloud_api_gateway_api_key.key.id usage_plan_id = tencentcloud_api_gateway_usage_plan.plan.id }
```
Import ¶
API gateway attach access key can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_api_key_attachment.attach AKID110b8Rmuw7t0fP1N8bi809n327023Is7xN8f#usagePlan-gyeafpab ```
Use this resource to create custom domain of API gateway.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_custom_domain" "foo" { service_id = "service-ohxqslqe" sub_domain = "tic-test.dnsv1.com" protocol = "http" net_type = "OUTER" is_default_mapping = "false" default_domain = "service-ohxqslqe-1259649581.gz.apigw.tencentcs.com" path_mappings = ["/good#test","/root#release"] }
```
Provides a resource to create a apiGateway import_open_api
Example Usage ¶
Import open Api by YAML ¶
```hcl
resource "tencentcloud_api_gateway_import_open_api" "example" { service_id = "service-nxz6yync" content = "info:\n title: keep-service\n version: 1.0.1\nopenapi: 3.0.0\npaths:\n /api/test:\n get:\n description: desc\n operationId: test\n responses:\n '200':\n content:\n text/html:\n example: '200'\n description: '200'\n default:\n content:\n text/html:\n example: '400'\n description: '400'\n x-apigw-api-business-type: NORMAL\n x-apigw-api-type: NORMAL\n x-apigw-backend:\n ServiceConfig:\n Method: GET\n Path: /test\n Url: http://domain.com\n ServiceType: HTTP\n x-apigw-cors: false\n x-apigw-protocol: HTTP\n x-apigw-service-timeout: 15\n" encode_type = "YAML" content_version = "openAPI" }
```
Import open Api by JSON ¶
```hcl
resource "tencentcloud_api_gateway_import_open_api" "example" { service_id = "service-nxz6yync" content = "{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}" encode_type = "JSON" content_version = "openAPI" }
```
Use this resource to create IP strategy of API gateway.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_ip_strategy" "test"{ service_id = tencentcloud_api_gateway_service.service.id strategy_name = "tf_test" strategy_type = "BLACK" strategy_data = "9.9.9.9" }
```
Import ¶
IP strategy of API gateway can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_ip_strategy.test service-ohxqslqe#IPStrategy-q1lk8ud2 ```
Provides a resource to create a apiGateway plugin ¶
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_plugin" "example" { plugin_name = "tf-example" plugin_type = "IPControl" plugin_data = jsonencode({ "type" : "white_list", "blocks" : "1.1.1.1", }) description = "desc." }
```
Import ¶
apiGateway plugin can be imported using the id, e.g.
``` terraform import tencentcloud_api_gateway_plugin.plugin plugin_id ```
Provides a resource to create a apiGateway plugin_attachment
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_plugin" "example" { plugin_name = "tf-example" plugin_type = "IPControl" plugin_data = jsonencode({ "type" : "white_list", "blocks" : "1.1.1.1", }) description = "desc." }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example_service" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf_example_api" api_desc = "desc." auth_type = "APP" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "GET" request_parameters { name = "name" position = "QUERY" type = "string" desc = "desc." default_value = "terraform" required = true } service_config_type = "HTTP" service_config_timeout = 15 service_config_url = "https://www.qq.com" service_config_path = "/user" service_config_method = "GET" response_type = "HTML" response_success_example = "success" response_fail_example = "fail" response_error_codes { code = 400 msg = "system error msg." desc = "system error desc." converted_code = 407 need_convert = true } }
resource "tencentcloud_api_gateway_service_release" "example" { service_id = tencentcloud_api_gateway_api.example.service_id environment_name = "release" release_desc = "desc." }
resource "tencentcloud_api_gateway_plugin_attachment" "example" { plugin_id = tencentcloud_api_gateway_plugin.example.id service_id = tencentcloud_api_gateway_service_release.example.service_id api_id = tencentcloud_api_gateway_api.example.id environment_name = "release" }
```
Import ¶
apiGateway plugin_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_api_gateway_plugin_attachment.example plugin-hnqntalp#service-q3f533ja#release#api-62ud9woa ```
Use this resource to create API gateway service.
~> **NOTE:** After setting `uniq_vpc_id`, it cannot be modified.
Example Usage ¶
Shared Service ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "example-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf-example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" uniq_vpc_id = tencentcloud_vpc.vpc.id tags = { createdBy = "terraform" } release_limit = 500 pre_limit = 500 test_limit = 500 }
```
Exclusive Service ¶
```hcl
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf-example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" uniq_vpc_id = tencentcloud_vpc.vpc.id instance_id = "instance-rc6fcv4e" tags = { createdBy = "terraform" } release_limit = 500 pre_limit = 500 test_limit = 500 }
```
Import ¶
API gateway service can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_service.service service-pg6ud8pa ```
Use this resource to create API gateway service release.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "myservice" protocol = "http" service_desc = "my nice service" net_type = ["INNER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "api" { service_id = tencentcloud_api_gateway_service.service.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "SECRET" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "your email please?" default_value = "tom@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 10 msg = "system error" desc = "system error code" converted_code = -10 need_convert = true } }
resource "tencentcloud_api_gateway_service_release" "service" { service_id = tencentcloud_api_gateway_api.api.service.id environment_name = "release" release_desc = "test service release" }
```
Import ¶
API gateway service release can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_service_release.service service-jjt3fs3s#release#20201015121916d85fb161-eaec-4dda-a7e0-659aa5f401be ```
Use this resource to create IP strategy attachment of API gateway.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_service" "service" { service_name = "niceservice" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_ip_strategy" "test"{ service_id = tencentcloud_api_gateway_service.service.id strategy_name = "tf_test" strategy_type = "BLACK" strategy_data = "9.9.9.9" }
resource "tencentcloud_api_gateway_api" "api" { service_id = tencentcloud_api_gateway_service.service.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "SECRET" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "your email please?" default_value = "tom@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 10 msg = "system error" desc = "system error code" converted_code = -10 need_convert = true } }
resource "tencentcloud_api_gateway_service_release" "service" { service_id = tencentcloud_api_gateway_service.service.id environment_name = "release" release_desc = "test service release" }
resource "tencentcloud_api_gateway_strategy_attachment" "test"{ service_id = tencentcloud_api_gateway_service_release.service.service_id strategy_id = tencentcloud_api_gateway_ip_strategy.test.strategy_id environment_name = "release" bind_api_id = tencentcloud_api_gateway_api.api.id }
```
Import ¶
IP strategy attachment of API gateway can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_strategy_attachment.test service-pk2r6bcc#IPStrategy-4kz2ljfi#api-h3wc5r0s#release ```
Provides a resource to create a apiGateway update_api_app_key
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_update_api_app_key" "example" { api_app_id = "app-krljp4wn" api_app_key = "APID6JmG21yRCc03h4z16hlsTqj1wpO3dB3ZQcUP" }
```
Provides a resource to create a apigateway upstream ¶
Example Usage ¶
Create a basic VPC channel ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cvm" }
data "tencentcloud_images" "images" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.3.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.3.name image_id = data.tencentcloud_images.images.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "terraform" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_disks { data_disk_type = "CLOUD_PREMIUM" data_disk_size = 50 encrypt = false } tags = { tagKey = "tagValue" } }
resource "tencentcloud_api_gateway_upstream" "example" { scheme = "HTTP" algorithm = "ROUND-ROBIN" uniq_vpc_id = tencentcloud_vpc.vpc.id upstream_name = "tf_example" upstream_description = "desc." upstream_type = "IP_PORT" retries = 5 nodes { host = "1.1.1.1" port = 9090 weight = 10 vm_instance_id = tencentcloud_instance.example.id tags = ["tags"] } tags = { "createdBy" = "terraform" } }
```
Create a complete VPC channel ¶
```hcl
resource "tencentcloud_api_gateway_upstream" "example" { scheme = "HTTP" algorithm = "ROUND-ROBIN" uniq_vpc_id = tencentcloud_vpc.vpc.id upstream_name = "tf_example" upstream_description = "desc." upstream_type = "IP_PORT" retries = 5 nodes { host = "1.1.1.1" port = 9090 weight = 10 vm_instance_id = tencentcloud_instance.example.id tags = ["tags"] } health_checker { enable_active_check = true enable_passive_check = true healthy_http_status = "200" unhealthy_http_status = "500" tcp_failure_threshold = 5 timeout_threshold = 5 http_failure_threshold = 3 active_check_http_path = "/" active_check_timeout = 5 active_check_interval = 5 unhealthy_timeout = 30 } tags = { "createdBy" = "terraform" } }
```
Import ¶
apigateway upstream can be imported using the id, e.g.
``` terraform import tencentcloud_api_gateway_upstream.upstream upstream_id ```
Use this resource to create API gateway usage plan.
Example Usage ¶
```hcl
resource "tencentcloud_api_gateway_usage_plan" "example" { usage_plan_name = "tf_example" usage_plan_desc = "desc." max_request_num = 100 max_request_num_pre_sec = 10 }
```
Import ¶
API gateway usage plan can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_usage_plan.plan usagePlan-gyeafpab ```
Use this resource to attach API gateway usage plan to service.
~> **NOTE:** If the `auth_type` parameter of API is not `SECRET`, it cannot be bound access key.
Example Usage ¶
Normal creation ¶
```hcl
resource "tencentcloud_api_gateway_usage_plan" "example" { usage_plan_name = "tf_example" usage_plan_desc = "desc." max_request_num = 100 max_request_num_pre_sec = 10 }
resource "tencentcloud_api_gateway_service" "example" { service_name = "tf_example" protocol = "http&https" service_desc = "desc." net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
resource "tencentcloud_api_gateway_api" "example" { service_id = tencentcloud_api_gateway_service.example.id api_name = "tf_example" api_desc = "my hello api update" auth_type = "SECRET" protocol = "HTTP" enable_cors = true request_config_path = "/user/info" request_config_method = "POST" request_parameters { name = "email" position = "QUERY" type = "string" desc = "desc." default_value = "test@qq.com" required = true } service_config_type = "HTTP" service_config_timeout = 10 service_config_url = "http://www.tencent.com" service_config_path = "/user" service_config_method = "POST" response_type = "XML" response_success_example = "<note>success</note>" response_fail_example = "<note>fail</note>" response_error_codes { code = 500 msg = "system error" desc = "system error code" converted_code = 5000 need_convert = true } }
resource "tencentcloud_api_gateway_usage_plan_attachment" "example" { usage_plan_id = tencentcloud_api_gateway_usage_plan.example.id service_id = tencentcloud_api_gateway_service.example.id environment = "release" bind_type = "API" api_id = tencentcloud_api_gateway_api.example.id }
```
Bind the key to a usage plan ¶
```hcl
resource "tencentcloud_api_gateway_api_key" "example" { secret_name = "tf_example" status = "on" }
resource "tencentcloud_api_gateway_usage_plan_attachment" "example" { usage_plan_id = tencentcloud_api_gateway_usage_plan.example.id service_id = tencentcloud_api_gateway_service.example.id environment = "release" bind_type = "API" api_id = tencentcloud_api_gateway_api.example.id access_key_ids = [tencentcloud_api_gateway_api_key.example.id] }
```
Import ¶
API gateway usage plan attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_api_gateway_usage_plan_attachment.attach_service usagePlan-pe7fbdgn#service-kuqd6xqk#release#API#api-p8gtanvy ```
Provides a resource to create a apm instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_apm_instance" "instance" { name = "terraform-test" description = "for terraform test" trace_duration = 15 span_daily_counters = 20 tags = { "createdBy" = "terraform" } }
```
Import ¶
apm instance can be imported using the id, e.g.
``` terraform import tencentcloud_apm_instance.instance instance_id ```
Provides a resource to attach or detach CVM instances to a specified scaling group.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_instance" "example" { instance_name = "tf_example_instance" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 allocate_public_ip = true internet_max_bandwidth_out = 10 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_as_attachment" "attachment" { scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = [tencentcloud_instance.example.id] }
```
Provides a resource to create a as complete_lifecycle
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_lifecycle_hook" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id lifecycle_hook_name = "tf-as-lifecycle-hook" lifecycle_transition = "INSTANCE_LAUNCHING" default_result = "CONTINUE" heartbeat_timeout = 500 notification_metadata = "tf test" }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_as_complete_lifecycle" "complete_lifecycle" { lifecycle_hook_id = tencentcloud_as_lifecycle_hook.example.id instance_id = tencentcloud_instance.example.id lifecycle_action_result = "CONTINUE" }
```
Provides a resource to create a as execute_scaling_policy
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 4 min_size = 1 desired_capacity = 2 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_scaling_policy" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id policy_name = "tf-as-scaling-policy" adjustment_type = "EXACT_CAPACITY" adjustment_value = 0 comparison_operator = "GREATER_THAN" metric_name = "CPU_UTILIZATION" threshold = 80 period = 300 continuous_time = 10 statistic = "AVERAGE" cooldown = 360 }
resource "tencentcloud_as_execute_scaling_policy" "example" { auto_scaling_policy_id = tencentcloud_as_scaling_policy.example.id honor_cooldown = false trigger_source = "API" }
```
Import ¶
as execute_scaling_policy can be imported using the id, e.g.
``` terraform import tencentcloud_as_execute_scaling_policy.execute_scaling_policy execute_scaling_policy_id ```
Provides a resource for an AS (Auto scaling) lifecycle hook.
Example Usage ¶
Create a basic LifecycleHook ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_lifecycle_hook" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id lifecycle_hook_name = "tf-as-lifecycle-hook" lifecycle_transition = "INSTANCE_LAUNCHING" default_result = "CONTINUE" heartbeat_timeout = 500 notification_metadata = "tf test" }
```
If `notification_target_type` is `CMQ_QUEUE`
```hcl
resource "tencentcloud_as_lifecycle_hook" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id lifecycle_hook_name = "tf-as-lifecycle-hook" lifecycle_transition = "INSTANCE_LAUNCHING" default_result = "CONTINUE" heartbeat_timeout = 500 notification_metadata = "tf test" notification_target_type = "CMQ_QUEUE" notification_queue_name = "lifcyclehook" }
```
Or `notification_target_type` is `CMQ_TOPIC`
```hcl
resource "tencentcloud_as_lifecycle_hook" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id lifecycle_hook_name = "tf-as-lifecycle-hook" lifecycle_transition = "INSTANCE_LAUNCHING" default_result = "CONTINUE" heartbeat_timeout = 500 notification_metadata = "tf test" notification_target_type = "CMQ_TOPIC" notification_topic_name = "lifcyclehook" }
```
Provides a resource to create a as load_balancer
~> **NOTE:** `load_balancer_ids` A list of traditional load balancer IDs, with a maximum of 20 traditional load balancers bound to each scaling group. Only one LoadBalancerIds and ForwardLoadBalancers can be specified simultaneously. ~> **NOTE:** `forward_load_balancers` List of application type load balancers, with a maximum of 100 bound application type load balancers for each scaling group. Only one LoadBalancerIds and ForwardLoadBalancers can be specified simultaneously.
Example Usage ¶
If use `load_balancer_ids`
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_clb_instance" "example" { network_type = "INTERNAL" clb_name = "clb-example" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id tags = { test = "tf" } }
resource "tencentcloud_clb_listener" "example" { clb_id = tencentcloud_clb_instance.example.id listener_name = "listener-example" port = 80 protocol = "HTTP" }
resource "tencentcloud_clb_listener_rule" "example" { listener_id = tencentcloud_clb_listener.example.listener_id clb_id = tencentcloud_clb_instance.example.id domain = "foo.net" url = "/bar" }
resource "tencentcloud_as_load_balancer" "example" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id load_balancer_ids = [tencentcloud_clb_instance.example.id] }
```
If use `forward_load_balancers`
```hcl
resource "tencentcloud_as_load_balancer" "example" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id forward_load_balancers { load_balancer_id = tencentcloud_clb_instance.example.id listener_id = tencentcloud_clb_listener.example.listener_id location_id = tencentcloud_clb_listener_rule.example.rule_id target_attributes { port = 8080 weight = 20 } } }
```
Import ¶
as load_balancer can be imported using the id, e.g.
``` terraform import tencentcloud_as_load_balancer.load_balancer auto_scaling_group_id ```
Provides a resource for an AS (Auto scaling) notification.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_cam_group" "example" { name = "tf-example" remark = "desc." }
resource "tencentcloud_as_notification" "as_notification" { scaling_group_id = tencentcloud_as_scaling_group.example.id notification_types = [ "SCALE_OUT_SUCCESSFUL", "SCALE_OUT_FAILED", "SCALE_IN_FAILED", "REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL", "REPLACE_UNHEALTHY_INSTANCE_FAILED" ] notification_user_group_ids = [tencentcloud_cam_group.example.id] }
```
Provides a resource to create a as protect_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
Attachment Instance ¶
resource "tencentcloud_as_attachment" "attachment" { scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = [tencentcloud_instance.example.id] }
Set protect ¶
resource "tencentcloud_as_protect_instances" "protect" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = tencentcloud_as_attachment.attachment.instance_ids protected_from_scale_in = true }
```
Or close protect ¶
```hcl
resource "tencentcloud_as_protect_instances" "protect" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = tencentcloud_as_attachment.attachment.instance_ids protected_from_scale_in = false }
```
Provides a resource to create a as remove_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
Attachment Instance ¶
resource "tencentcloud_as_attachment" "attachment" { scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = [tencentcloud_instance.example.id] }
Remove Instance ¶
resource "tencentcloud_as_remove_instances" "remove" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = tencentcloud_as_attachment.attachment.instance_ids }
```
Provides a resource to create a as scale_in_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 4 min_size = 1 desired_capacity = 2 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_scale_in_instances" "scale_in_instances" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id scale_in_number = 1 }
```
Import ¶
as scale_in_instances can be imported using the id, e.g.
``` terraform import tencentcloud_as_scale_in_instances.scale_in_instances scale_in_instances_id ```
Provides a resource to create a as scale_out_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 4 min_size = 0 desired_capacity = 2 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_scale_out_instances" "scale_out_instances" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id scale_out_number = 2 }
```
Import ¶
as scale_out_instances can be imported using the id, e.g.
``` terraform import tencentcloud_as_scale_out_instances.scale_out_instances scale_out_instances_id ```
Provides a resource to create a configuration for an AS (Auto scaling) instance.
~> **NOTE:** In order to ensure the integrity of customer data, if the cvm instance was destroyed due to shrinking, it will keep the cbs associate with cvm by default. If you want to destroy together, please set `delete_with_instance` to `true`.
Example Usage ¶
```hcl
data "tencentcloud_images" "example" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "example-launch-configuration" image_id = data.tencentcloud_images.example.images.0.image_id instance_types = ["SA1.SMALL1"] project_id = 0 system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = "Test@123#" enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" host_name_settings { host_name = "host-name-test" host_name_style = "UNIQUE" } instance_tags = { tag = "example" } }
```
Using `SPOTPAID` charge type ¶
```
data "tencentcloud_images" "example" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "launch-configuration" image_id = data.tencentcloud_images.example.images.0.image_id instance_types = ["SA1.SMALL1"] instance_charge_type = "SPOTPAID" spot_instance_type = "one-time" spot_max_price = "1000" }
```
Import ¶
AutoScaling Configuration can be imported using the id, e.g.
``` $ terraform import tencentcloud_as_scaling_config.example asc-n32ymck2 ```
Provides a resource to create a group of AS (Auto scaling) instances.
Example Usage ¶
Create a basic Scaling Group ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
```
Create a complete Scaling Group ¶
```hcl
resource "tencentcloud_clb_instance" "example" { network_type = "INTERNAL" clb_name = "clb-example" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id tags = { test = "tf" } }
resource "tencentcloud_clb_listener" "example" { clb_id = tencentcloud_clb_instance.example.id listener_name = "listener-example" port = 80 protocol = "HTTP" }
resource "tencentcloud_clb_listener_rule" "example" { listener_id = tencentcloud_clb_listener.example.listener_id clb_id = tencentcloud_clb_instance.example.id domain = "foo.net" url = "/bar" }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] project_id = 0 default_cooldown = 400 desired_capacity = 1 termination_policies = ["NEWEST_INSTANCE"] retry_policy = "INCREMENTAL_INTERVALS" forward_balancer_ids { load_balancer_id = tencentcloud_clb_instance.example.id listener_id = tencentcloud_clb_listener.example.listener_id rule_id = tencentcloud_clb_listener_rule.example.rule_id target_attribute { port = 80 weight = 90 } } tags = { "createBy" = "tfExample" } }
```
Import ¶
AutoScaling Groups can be imported using the id, e.g.
``` $ terraform import tencentcloud_as_scaling_group.scaling_group asg-n32ymck2 ```
Provides a resource to set as scaling_group status
Example Usage ¶
Deactivate Scaling Group ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_scaling_group_status" "scaling_group_status" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id enable = false }
```
Enable Scaling Group ¶
```hcl
resource "tencentcloud_as_scaling_group_status" "scaling_group_status" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id enable = true }
```
Import ¶
as scaling_group_status can be imported using the id, e.g.
``` terraform import tencentcloud_as_scaling_group_status.scaling_group_status scaling_group_id ```
Provides a resource for an AS (Auto scaling) policy.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_scaling_policy" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id policy_name = "tf-as-scaling-policy" adjustment_type = "EXACT_CAPACITY" adjustment_value = 0 comparison_operator = "GREATER_THAN" metric_name = "CPU_UTILIZATION" threshold = 80 period = 300 continuous_time = 10 statistic = "AVERAGE" cooldown = 360 }
```
Provides a resource for an AS (Auto scaling) schedule.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_as_schedule" "example" { scaling_group_id = tencentcloud_as_scaling_group.example.id schedule_action_name = "tf-as-schedule" max_size = 10 min_size = 0 desired_capacity = 0 start_time = "2019-01-01T00:00:00+08:00" end_time = "2019-12-01T00:00:00+08:00" recurrence = "0 0 * * *" }
```
Provides a resource to create a as start_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
Attachment Instance ¶
resource "tencentcloud_as_attachment" "attachment" { scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = [tencentcloud_instance.example.id] }
resource "tencentcloud_as_start_instances" "start_instances" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = tencentcloud_as_attachment.attachment.instance_ids }
```
Provides a resource to create a as stop_instances
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "as" }
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name }
resource "tencentcloud_as_scaling_config" "example" { configuration_name = "tf-example" image_id = data.tencentcloud_images.image.images.0.image_id instance_types = ["SA1.SMALL1", "SA2.SMALL1", "SA2.SMALL2", "SA2.SMALL4"] instance_name_settings { instance_name = "test-ins-name" } }
resource "tencentcloud_as_scaling_group" "example" { scaling_group_name = "tf-example" configuration_id = tencentcloud_as_scaling_config.example.id max_size = 1 min_size = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
Attachment Instance ¶
resource "tencentcloud_as_attachment" "attachment" { scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = [tencentcloud_instance.example.id] }
resource "tencentcloud_as_stop_instances" "stop_instances" { auto_scaling_group_id = tencentcloud_as_scaling_group.example.id instance_ids = tencentcloud_as_attachment.attachment.instance_ids stopped_mode = "STOP_CHARGING" }
```
Provides a resource to create an audit.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_audit_track.
Example Usage ¶
```hcl
resource "tencentcloud_audit" "foo" { name = "audittest" cos_bucket = "test" cos_region = "ap-hongkong" log_file_prefix = "test" audit_switch = true read_write_attribute = 3 }
```
Import ¶
Audit can be imported using the id, e.g.
``` $ terraform import tencentcloud_audit.foo audit-test ```
Provides a resource to create a audit track ¶
Example Usage ¶
```hcl
resource "tencentcloud_audit_track" "track" { action_type = "Read" event_names = [ "*", ] name = "terraform_track" resource_type = "*" status = 1 track_for_all_members = 0 storage { storage_name = "db90b92c-91d2-46b0-94ac-debbbb21dc4e" storage_prefix = "cloudaudit" storage_region = "ap-guangzhou" storage_type = "cls" } }
``` Import
audit track can be imported using the id, e.g. ``` $ terraform import tencentcloud_audit_track.track track_id ```
Provides a resource to create a bi datasource ¶
Example Usage ¶
```hcl
resource "tencentcloud_bi_datasource" "datasource" { charset = "utf8" db_host = "bj-cdb-1lxqg5r6.sql.tencentcdb.com" db_name = "tf-test" db_port = 63694 db_type = "MYSQL" db_pwd = "ABc123,,," db_user = "root" project_id = 11015030 source_name = "tf-source-name" }
```
Import ¶
bi datasource can be imported using the id, e.g.
``` terraform import tencentcloud_bi_datasource.datasource datasource_id ```
Provides a resource to create a bi datasource_cloud
Example Usage ¶
```hcl
resource "tencentcloud_bi_datasource_cloud" "datasource_cloud" { charset = "utf8" db_name = "bi_dev" db_type = "MYSQL" db_user = "root" project_id = "11015056" db_pwd = "xxxxxx" service_type { instance_id = "cdb-12viotu5" region = "ap-guangzhou" type = "Cloud" } source_name = "tf-test1" vip = "10.0.0.4" vport = "3306" region_id = "gz" vpc_id = 5292713 }
```
Provides a resource to create a bi embed_interval
Example Usage ¶
```hcl
resource "tencentcloud_bi_embed_interval_apply" "embed_interval" { project_id = 11015030 page_id = 10520483 bi_token = "4192d65b-d674-4117-9a59-xxxxxxxxx" scope = "page" }
```
Provides a resource to create a bi embed_token
Example Usage ¶
```hcl
resource "tencentcloud_bi_embed_token_apply" "embed_token" { project_id = 11015030 page_id = 10520483 scope = "page" expire_time = "240" user_corp_id = "100022975249" user_id = "100024664626" }
```
Provides a resource to create a bi project ¶
Example Usage ¶
```hcl
resource "tencentcloud_bi_project" "project" { name = "terraform_test" color_code = "#7BD936" logo = "TF-test" mark = "project mark" }
```
Import ¶
bi project can be imported using the id, e.g.
``` terraform import tencentcloud_bi_project.project project_id ```
Provides a resource to create a bi project_user_role
~> **NOTE:** You cannot use `tencentcloud_bi_user_role` and `tencentcloud_bi_project_user_role` at the same time to modify the `phone_number` and `email` of the same user.
Example Usage ¶
```hcl
resource "tencentcloud_bi_project_user_role" "project_user_role" { area_code = "+86" project_id = 11015030 role_id_list = [10629453] email = "123456@qq.com" phone_number = "13130001000" user_id = "100024664626" user_name = "keep-cam-user" }
```
Import ¶
bi project_user_role can be imported using the id, e.g.
``` terraform import tencentcloud_bi_project_user_role.project_user_role projectId#userId ```
Provides a resource to create a bi user_role
Example Usage ¶
```hcl
resource "tencentcloud_bi_user_role" "user_role" { area_code = "+83" email = "1055000000@qq.com" phone_number = "13470010000" role_id_list = [ 10629359, ] user_id = "100032767426" user_name = "keep-iac-test" }
```
Import ¶
bi user_role can be imported using the id, e.g.
``` terraform import tencentcloud_bi_user_role.user_role user_id ```
Provides a resource to create a cam access_key
Example Usage ¶
```hcl
resource "tencentcloud_cam_access_key" "access_key" { target_uin = 100033690181 }
``` Update ```hcl
resource "tencentcloud_cam_access_key" "access_key" { target_uin = 100033690181 status = "Inactive" }
``` Encrypted ```hcl
resource "tencentcloud_cam_access_key" "access_key" { target_uin = 100033690181 pgp_key = "keybase:some_person_that_exists" }
``` Import
cam access_key can be imported using the id, e.g.
``` terraform import tencentcloud_cam_access_key.access_key access_key_id ```
Provides a resource to create a CAM group.
Example Usage ¶
```hcl
resource "tencentcloud_cam_group" "foo" { name = "tf_cam_group" remark = "tf_group_remark" }
```
Import ¶
CAM group can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_group.foo 90496 ```
Provides a resource to create a CAM group membership.
Example Usage ¶
```hcl
variable "cam_group_basic" { default = "keep-cam-group" }
data "tencentcloud_cam_groups" "groups" { name = var.cam_group_basic }
resource "tencentcloud_cam_user" "foo" { name = "tf_cam_user" remark = "tf_user_remark" console_login = true use_api = true need_reset_password = true password = "Gail@1234" phone_num = "12345678910" country_code = "86" email = "1234@qq.com" force_delete = true }
resource "tencentcloud_cam_group_membership" "group_membership_basic" { group_id = data.tencentcloud_cam_groups.groups.group_list.0.group_id user_names = [tencentcloud_cam_user.foo.id] }
```
Import ¶
CAM group membership can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_group_membership.foo 12515263 ```
Provides a resource to create a CAM group policy attachment.
Example Usage ¶
```hcl
variable "cam_policy_basic" { default = "keep-cam-policy" }
variable "cam_group_basic" { default = "keep-cam-group" }
data "tencentcloud_cam_groups" "groups" { name = var.cam_group_basic }
data "tencentcloud_cam_policies" "policy" { name = var.cam_policy_basic }
resource "tencentcloud_cam_group_policy_attachment" "group_policy_attachment_basic" { group_id = data.tencentcloud_cam_groups.groups.group_list.0.group_id policy_id = data.tencentcloud_cam_policies.policy.policy_list.0.policy_id }
```
Import ¶
CAM group policy attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_group_policy_attachment.foo 12515263#26800353 ```
Provides a resource to create a cam mfa_flag
Example Usage ¶
```hcl data "tencentcloud_user_info" "info"{}
resource "tencentcloud_cam_mfa_flag" "mfa_flag" { op_uin = data.tencentcloud_user_info.info.uin login_flag { phone = 0 stoken = 1 wechat = 0 } action_flag { phone = 0 stoken = 1 wechat = 0 } }
```
Import ¶
cam mfa_flag can be imported using the id, e.g.
``` terraform import tencentcloud_cam_mfa_flag.mfa_flag mfa_flag_id ```
Provides a resource to create a CAM-OIDC-SSO.
Example Usage ¶
```hcl
resource "tencentcloud_cam_oidc_sso" "foo" { authorization_endpoint="https://login.microsoftonline.com/.../oauth2/v2.0/authorize" client_id="..." identity_key="..." identity_url="https://login.microsoftonline.com/.../v2.0" mapping_filed="name" response_mode="form_post" response_type="id_token" scope=["openid", "email"] }
```
Import ¶
CAM-OIDC-SSO can be imported using the client_id or any string which can identifier resource, e.g.
``` $ terraform import tencentcloud_cam_oidc_sso.foo xxxxxxxxxxx ```
Provides a resource to create a CAM policy.
Example Usage ¶
```hcl
resource "tencentcloud_cam_policy" "foo" { name = "tf_cam_policy" document = <<EOF
{ "version": "2.0", "statement": [ { "action": [ "name/sts:AssumeRole" ], "effect": "allow", "resource": [ "*" ] } ] }
EOF
description = "tf_test" }
```
Import ¶
CAM policy can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_policy.foo 26655801 ```
Provides a resource to create a CAM policy.
Example Usage ¶
```hcl
resource "tencentcloud_cam_policy_by_name" "foo" { name = "tf_cam_policy_name" document = <<EOF
{ "version": "2.0", "statement": [ { "action": [ "name/sts:AssumeRole" ], "effect": "allow", "resource": [ "*" ] } ] }
EOF
description = "tf_test" }
```
Import ¶
CAM policy can be imported using the name, e.g.
``` $ terraform import tencentcloud_cam_policy_by_name.foo name ```
Provides a resource to create a cam policy_version
Example Usage ¶
```hcl
resource "tencentcloud_cam_policy_version" "policy_version" { policy_id = 171173780 policy_document = jsonencode({ "version": "2.0", "statement": [ { "effect": "allow", "action": [ "sts:AssumeRole" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "cos:PutObject" ], "resource": [ "*" ] }, { "effect": "deny", "action": [ "aa:*" ], "resource": [ "*" ] }, { "effect": "deny", "action": [ "aa:*" ], "resource": [ "*" ] } ] }) set_as_default = "false" }
```
Import ¶
cam policy_version can be imported using the id, e.g.
``` terraform import tencentcloud_cam_policy_version.policy_version policy_version_id ```
Provides a resource to create a CAM role.
Example Usage ¶
Create normally ¶
```hcl
locals { uin = data.tencentcloud_user_info.info.uin }
data "tencentcloud_user_info" "info" {}
resource "tencentcloud_cam_role" "foo" { name = "cam-role-test" document = <<EOF
{ "version": "2.0", "statement": [ { "action": [ "name/sts:AssumeRole" ], "effect": "allow", "principal": { "qcs": [ "qcs::cam::uin/${local.uin}:uin/${local.uin}" ] } } ] }
EOF
description = "test" console_login = true tags = { test = "tf-cam-role", } }
```
Create with SAML provider ¶
```hcl
variable "saml-provider" { default = "example" }
locals { uin = data.tencentcloud_user_info.info.uin saml_provider = var.saml-provider }
data "tencentcloud_user_info" "info" {}
resource "tencentcloud_cam_role" "boo" { name = "tf_cam_role" document = <<EOF
{ "version": "2.0", "statement": [ { "action": [ "name/sts:AssumeRole" ], "effect": "allow", "principal": { "qcs": [ "qcs::cam::uin/${local.uin}:saml-provider/${local.saml_provider}" ] } } ] }
EOF
description = "tf_test" console_login = true }
```
Import ¶
CAM role can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_role.foo 4611686018427733635 ```
Provides a resource to create a CAM role.
Example Usage ¶
Create normally ¶
```hcl
resource "tencentcloud_cam_role_by_name" "foo" { name = "tf_cam_role" document = <<EOF
{ "version": "2.0", "statement": [ { "action": ["name/sts:AssumeRole"], "effect": "allow", "principal": { "qcs": ["qcs::cam::uin/<your-account-id>:uin/<your-account-id>"] } } ] }
EOF
description = "test" console_login = true tags = { test = "tf-cam-role", } }
```
Create with SAML provider ¶
```hcl
resource "tencentcloud_cam_role_by_name" "boo" { name = "cam-role-test" document = <<EOF
{ "version": "2.0", "statement": [ { "action": ["name/sts:AssumeRole", "name/sts:AssumeRoleWithWebIdentity"], "effect": "allow", "principal": { "federated": ["qcs::cam::uin/<your-account-id>:saml-provider/<your-name>"] } } ] }
EOF
description = "test" console_login = true }
```
Import ¶
CAM role can be imported using the name, e.g.
``` $ terraform import tencentcloud_cam_role_by_name.foo cam-role-test ```
Provides a resource to create a cam role_permission_boundary_attachment
Example Usage ¶
```hcl
resource "tencentcloud_cam_role_permission_boundary_attachment" "role_permission_boundary_attachment" { policy_id = 1 role_name = "test-cam-tag" }
```
Import ¶
cam role_permission_boundary_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cam_role_permission_boundary_attachment.role_permission_boundary_attachment role_permission_boundary_attachment_id ```
Provides a resource to create a CAM role policy attachment.
Example Usage ¶
```hcl
variable "cam_policy_basic" { default = "keep-cam-policy" }
variable "cam_role_basic" { default = "keep-cam-role" }
data "tencentcloud_cam_policies" "policy" { name = var.cam_policy_basic }
data "tencentcloud_cam_roles" "roles" { name = var.cam_role_basic }
resource "tencentcloud_cam_role_policy_attachment" "role_policy_attachment_basic" { role_id = data.tencentcloud_cam_roles.roles.role_list.0.role_id policy_id = data.tencentcloud_cam_policies.policy.policy_list.0.policy_id }
```
Import ¶
CAM role policy attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_role_policy_attachment.foo 4611686018427922725#26800353 ```
Provides a resource to create a CAM role policy attachment.
Example Usage ¶
```hcl
variable "cam_policy_basic" { default = "keep-cam-policy" }
variable "cam_role_basic" { default = "keep-cam-role" }
data "tencentcloud_cam_policies" "policy" { name = var.cam_policy_basic }
data "tencentcloud_cam_roles" "roles" { name = var.cam_role_basic }
resource "tencentcloud_cam_role_policy_attachment_by_name" "role_policy_attachment_basic" { role_name = var.cam_role_basic policy_name = var.cam_policy_basic }
```
Import ¶
CAM role policy attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_role_policy_attachment_by_name.foo ${role_name}#${policy_name} ```
Provides a resource to create a CAM-ROLE-SSO (Only support OIDC).
Example Usage ¶
```hcl
resource "tencentcloud_cam_role_sso" "foo" { name="tf_cam_role_sso" identity_url="https://login.microsoftonline.com/.../v2.0" identity_key="..." client_ids=["..."] description="this is a description" }
```
Import ¶
CAM-ROLE-SSO can be imported using the `name`, e.g.
``` $ terraform import tencentcloud_cam_role_sso.foo "test" ```
Provides a resource to create a CAM SAML provider.
Example Usage ¶
```hcl
resource "tencentcloud_cam_saml_provider" "saml_provider_basic" { name = "tf_cam_saml" meta_data = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI+PG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48bWQ6S2V5RGVzY3JpcHRvciB1c2U9InNpZ25pbmciPjxkczpLZXlJbmZvIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj48ZHM6WDUwOURhdGE+PGRzOlg1MDlDZXJ0aWZpY2F0ZT5NSUlEb0RDQ0FvaWdBd0lCQWdJR0FXM0lTcExvTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdRTVFzd0NRWURWUVFHRXdKVlV6RVRNQkVHDQpBMVVFQ0F3S1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ3d05VMkZ1SUVaeVlXNWphWE5qYnpFTk1Bc0dBMVVFQ2d3RVQydDBZVEVVDQpNQklHQTFVRUN3d0xVMU5QVUhKdmRtbGtaWEl4RVRBUEJnTlZCQU1NQ0dsa2VIVmxkblJoTVJ3d0dnWUpLb1pJaHZjTkFRa0JGZzFwDQpibVp2UUc5cmRHRXVZMjl0TUI0WERURTVNVEF4TkRBek1qSXhNMW9YRFRJNU1UQXhOREF6TWpNeE0xb3dnWkF4Q3pBSkJnTlZCQVlUDQpBbFZUTVJNd0VRWURWUVFJREFwRFlXeHBabTl5Ym1saE1SWXdGQVlEVlFRSERBMVRZVzRnUm5KaGJtTnBjMk52TVEwd0N3WURWUVFLDQpEQVJQYTNSaE1SUXdFZ1lEVlFRTERBdFRVMDlRY205MmFXUmxjakVSTUE4R0ExVUVBd3dJYVdSNGRXVjJkR0V4SERBYUJna3Foa2lHDQo5dzBCQ1FFV0RXbHVabTlBYjJ0MFlTNWpiMjB3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRQ2g4b3dqDQpZK2dQSUM3blQvNTduLzdmeXJzcDlHMXdxa2UxdXhjMHVrTndnQXozOVNpelY3QVhLMWRReTFLaThXWjJJMzFEczJkT0FNQ1FKR2pWDQpUWWNNbnA3KzhqUzNLdmxNUkRJamk5cmxuUi9vcnBvMll1RHVWby9jVzdidlRIS2h2REo1QWZRaWxzYlNPTXdUOWM2TVlYZGhBNVBwDQpzelFsK1UrdHJmcXUrdUorSER4SVQxdlhWaVI5YlY2SUFRSzZpbWZoc2wxWmVSUytjbVFVNEpjQWlYT0xtTnFVVWM2UkpxUzhrMW1mDQpBLzhmb2VyMGc3SG4xZDVXclpCc2gyUlR2Vzh1ZVdadHQ3dmh4QTlGdE5kSVlEcXJ0eElmMlZXcXhrSHM3WFZDSm5wTnJITVovT1BRDQpGY21YSGVxNlJJMlB3Q1RlOW8zZHZpM0hqeXBaOEl4dkFnTUJBQUV3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUFHaHk1bG9nbGtTDQoyVHg2YS90MnF5VEx0YVV5cEwrNGhySGJoMVAweVVMc0NrSnFsM2wrWG9VZDZCY2FJaFNSVGFPQk95ODViL0UzelJ4K3JzQXJwTjVVDQp5ZThuUEM4a05PYW5vTk9wWnZvYmhpTzFlMFIvYmxEcnRBL0o5UlBwMWtmdlhmS2NSTTU3TlRCWXppTURlbnFQUTRFOWN1U2lGdFFxDQpJYmpIbThaM1B1YXgwRitldkZ3U1pJMDNCWXNISGw1d1EraEJBS3hTdTJINEZRdU93Zmpnb2EveEN6Z1NKYjJ2UXdEc1MxMk9mSkNiDQpSRm1ZL1VYZXQramFhdEVORktLZStZSUJpU0J2WG1adTN0MHN5NDZTNzlPVzBacXJ0NUh2bElsT2lpTFpaN1FZamxjM1kxeG1LZ1luDQpXM2M2WGZkdmhGWHo0ZDdkbWYvTUdpNGY0enM9PC9kczpYNTA5Q2VydGlmaWNhdGU+PC9kczpYNTA5RGF0YT48L2RzOktleUluZm8+PC9tZDpLZXlEZXNjcmlwdG9yPjxtZDpOYW1lSURGb3JtYXQ+dXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4xOm5hbWVpZC1mb3JtYXQ6dW5zcGVjaWZpZWQ8L21kOk5hbWVJREZvcm1hdD48bWQ6TmFtZUlERm9ybWF0PnVybjpvYXNpczpuYW1lczp0YzpTQU1MOjEuMTpuYW1laWQtZm9ybWF0OmVtYWlsQWRkcmVzczwvbWQ6TmFtZUlERm9ybWF0PjxtZDpTaW5nbGVTaWduT25TZXJ2aWNlIEJpbmRpbmc9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpiaW5kaW5nczpIVFRQLVBPU1QiIExvY2F0aW9uPSJodHRwczovL2lkeHVldnRhLm9rdGEuY29tL2FwcC9pZHh1ZW9yZzYzNzM1OF90ZXN0XzEvZXhrMWtxeG1jalFtR0FETXkzNTcvc3NvL3NhbWwiLz48bWQ6U2luZ2xlU2lnbk9uU2VydmljZSBCaW5kaW5nPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YmluZGluZ3M6SFRUUC1SZWRpcmVjdCIgTG9jYXRpb249Imh0dHBzOi8vaWR4dWV2dGEub2t0YS5jb20vYXBwL2lkeHVlb3JnNjM3MzU4X3Rlc3RfMS9leGsxa3F4bWNqUW1HQURNeTM1Ny9zc28vc2FtbCIvPjwvbWQ6SURQU1NPRGVzY3JpcHRvcj48L21kOkVudGl0eURlc2NyaXB0b3I+" description = "tf_test" }
```
Import ¶
CAM SAML provider can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_saml_provider.foo cam-SAML-provider-test ```
Provides a resource to create a cam service_linked_role
Example Usage ¶
```hcl
resource "tencentcloud_cam_service_linked_role" "service_linked_role" { qcs_service_name = ["cvm.qcloud.com","ekslog.tke.cloud.tencent.com"] custom_suffix = "tf" description = "desc cam" tags = { "createdBy" = "terraform" } }
```
Provides a resource to create a cam set_policy_version_config
Example Usage ¶
```hcl
resource "tencentcloud_cam_set_policy_version_config" "set_policy_version_config" { policy_id = 171162811 version_id = 2 }
```
Import ¶
cam set_policy_version_config can be imported using the id, e.g.
``` terraform import tencentcloud_cam_set_policy_version_config.set_policy_version_config set_policy_version_config_id ```
Provides a resource to create a cam tag_role
Example Usage ¶
```hcl
resource "tencentcloud_cam_tag_role_attachment" "tag_role" { tags { key = "test1" value = "test1" } role_id = "test-cam-tag" }
```
Import ¶
cam tag_role can be imported using the id, e.g.
``` terraform import tencentcloud_cam_tag_role_attachment.tag_role tag_role_id ```
Provides a resource to manage CAM user.
Example Usage ¶
```hcl
resource "tencentcloud_cam_user" "foo" { name = "tf_cam_user" remark = "tf_user_test" console_login = true use_api = true need_reset_password = true password = "Gail@1234" phone_num = "12345678910" email = "hello@test.com" country_code = "86" force_delete = true tags = { test = "tf_cam_user", } }
```
Import ¶
CAM user can be imported using the user name, e.g.
``` $ terraform import tencentcloud_cam_user.foo cam-user-test ```
Provides a resource to create a cam user_permission_boundary
Example Usage ¶
```hcl
resource "tencentcloud_cam_user_permission_boundary_attachment" "user_permission_boundary" { target_uin = 100032767426 policy_id = 151113272 }
```
Import ¶
cam user_permission_boundary can be imported using the id, e.g.
``` terraform import tencentcloud_cam_user_permission_boundary_attachment.user_permission_boundary user_permission_boundary_id ```
Provides a resource to create a CAM user policy attachment.
Example Usage ¶
```hcl
variable "cam_user_basic" { default = "keep-cam-user" }
resource "tencentcloud_cam_policy" "policy_basic" { name = "tf_cam_attach_user_policy" document =jsonencode({ "version":"2.0", "statement":[ { "action":["cos:*"], "resource":["*"], "effect":"allow", }, { "effect":"allow", "action":["monitor:*","cam:ListUsersForGroup","cam:ListGroups","cam:GetGroup"], "resource":["*"], } ] }) description = "tf_test" }
data "tencentcloud_cam_users" "users" { name = var.cam_user_basic }
resource "tencentcloud_cam_user_policy_attachment" "user_policy_attachment_basic" { user_name = data.tencentcloud_cam_users.users.user_list.0.user_id policy_id = tencentcloud_cam_policy.policy_basic.id }
```
Import ¶
CAM user policy attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_cam_user_policy_attachment.foo cam-test#26800353 ```
Provides a resource to create a cam user_saml_config
Example Usage ¶
```hcl
resource "tencentcloud_cam_user_saml_config" "user_saml_config" { saml_metadata_document = "./metadataDocument.xml" # saml_metadata_document = <<-EOT # <?xml version="1.0" encoding="utf-8"?></EntityDescriptor> # EOT }
```
Import ¶
cam user_saml_config can be imported using the id, e.g.
``` terraform import tencentcloud_cam_user_saml_config.user_saml_config user_id ```
Provides a resource to create a cat task_set
Example Usage ¶
```hcl
resource "tencentcloud_cat_task_set" "task_set" { batch_tasks { name = "demo" target_address = "http://www.baidu.com" } task_type = 5 nodes = ["12136", "12137", "12138", "12141", "12144"] interval = 6 parameters = jsonencode( { "ipType" = 0, "grabBag" = 0, "filterIp" = 0, "netIcmpOn" = 1, "netIcmpActivex" = 0, "netIcmpTimeout" = 20, "netIcmpInterval" = 0.5, "netIcmpNum" = 20, "netIcmpSize" = 32, "netIcmpDataCut" = 1, "netDnsOn" = 1, "netDnsTimeout" = 5, "netDnsQuerymethod" = 1, "netDnsNs" = "", "netDigOn" = 1, "netDnsServer" = 2, "netTracertOn" = 1, "netTracertTimeout" = 60, "netTracertNum" = 30, "whiteList" = "", "blackList" = "", "netIcmpActivexStr" = "" } ) task_category = 1 cron = "* 0-6 * * *" tags = { "createdBy" = "terraform" } }
``` Import
cat task_set can be imported using the id, e.g. ``` $ terraform import tencentcloud_cat_task_set.task_set taskSet_id ```
Provides a resource to create a cbs disk_backup.
~> **NOTE:** Backup quota must greater than 1.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_disk_backup" "disk_backup" { disk_id = "disk-xxx" disk_backup_name = "xxx" }
```
Import ¶
cbs disk_backup can be imported using the id, e.g.
``` terraform import tencentcloud_cbs_disk_backup.disk_backup disk_backup_id ```
Provides a resource to rollback cbs disk backup.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_disk_backup_rollback_operation" "operation" { disk_backup_id = "dbp-xxx" disk_id = "disk-xxx" }
```
Provides a resource to create a CBS snapshot.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_snapshot" "snapshot" { snapshot_name = "unnamed" storage_id = "disk-kdt0sq6m" }
```
Import ¶
CBS snapshot can be imported using the id, e.g.
``` $ terraform import tencentcloud_cbs_snapshot.snapshot snap-3sa3f39b ```
Provides a snapshot policy resource.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_snapshot_policy" "snapshot_policy" { snapshot_policy_name = "mysnapshotpolicyname" repeat_weekdays = [1, 4] repeat_hours = [1] retention_days = 7 }
```
Import ¶
CBS snapshot policy can be imported using the id, e.g.
``` $ terraform import tencentcloud_cbs_snapshot_policy.snapshot_policy asp-jliex1tn ```
Provides a CBS snapshot policy attachment resource.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_snapshot_policy_attachment" "foo" { storage_id = tencentcloud_cbs_storage.foo.id snapshot_policy_id = tencentcloud_cbs_snapshot_policy.policy.id }
```
Provides a resource to create a cbs snapshot_share_permission
Example Usage ¶
```hcl
resource "tencentcloud_cbs_snapshot_share_permission" "snapshot_share_permission" { account_ids = ["1xxxxxx", "2xxxxxx"] snapshot_id = "snap-xxxxxx" }
```
Import ¶
cbs snapshot_share_permission can be imported using the id, e.g.
``` terraform import tencentcloud_cbs_snapshot_share_permission.snapshot_share_permission snap-xxxxxx ```
Provides a resource to create a CBS.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_storage" "storage" { storage_name = "mystorage" storage_type = "CLOUD_SSD" storage_size = 100 availability_zone = "ap-guangzhou-3" project_id = 0 encrypt = false tags = { test = "tf" } }
```
Import ¶
CBS storage can be imported using the id, e.g.
``` $ terraform import tencentcloud_cbs_storage.storage disk-41s6jwy4 ```
Provides a CBS storage attachment resource.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_storage_attachment" "attachment" { storage_id = "disk-kdt0sq6m" instance_id = "ins-jqlegd42" }
```
Import ¶
CBS storage attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_cbs_storage_attachment.attachment disk-41s6jwy4 ```
Provides a resource to create CBS set.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_storage_set" "storage" { disk_count = 10 storage_name = "mystorage" storage_type = "CLOUD_SSD" storage_size = 100 availability_zone = "ap-guangzhou-3" project_id = 0 encrypt = false }
```
Provides a CBS storage set attachment resource.
Example Usage ¶
```hcl
resource "tencentcloud_cbs_storage_set_attachment" "attachment" { storage_id = "disk-kdt0sq6m" instance_id = "ins-jqlegd42" }
```
Provides a resource to create a CCN instance.
Example Usage ¶
Create a prepaid CCN ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" charge_type = "PREPAID" bandwidth_limit_type = "INTER_REGION_LIMIT" }
```
Create a post-paid regional export speed limit type CCN ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" charge_type = "POSTPAID" bandwidth_limit_type = "OUTER_REGION_LIMIT" }
```
Create a post-paid inter-regional rate limit type CNN ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" charge_type = "POSTPAID" bandwidth_limit_type = "INTER_REGION_LIMIT" }
```
Import ¶
Ccn instance can be imported, e.g.
``` $ terraform import tencentcloud_ccn.test ccn-id ```
Provides a CCN attaching resource.
Example Usage ¶
```hcl
variable "region" { default = "ap-guangzhou" }
variable "otheruin" { default = "123353" }
variable "otherccn" { default = "ccn-151ssaga" }
resource "tencentcloud_vpc" "vpc" { name = "ci-temp-test-vpc" cidr_block = "10.0.0.0/16" dns_servers = ["119.29.29.29", "8.8.8.8"] is_multicast = false }
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
resource "tencentcloud_ccn_attachment" "attachment" { ccn_id = tencentcloud_ccn.main.id instance_type = "VPC" instance_id = tencentcloud_vpc.vpc.id instance_region = var.region }
resource "tencentcloud_ccn_attachment" "other_account" { ccn_id = var.otherccn instance_type = "VPC" instance_id = tencentcloud_vpc.vpc.id instance_region = var.region ccn_uin = var.otheruin }
```
Provides a resource to limit CCN bandwidth.
Example Usage ¶
Set the upper limit of regional outbound bandwidth ¶
```hcl
variable "other_region1" { default = "ap-shanghai" }
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
resource "tencentcloud_ccn_bandwidth_limit" "limit1" { ccn_id = tencentcloud_ccn.main.id region = var.other_region1 bandwidth_limit = 500 }
```
Set the upper limit between regions ¶
```hcl
variable "other_region1" { default = "ap-shanghai" }
variable "other_region2" { default = "ap-nanjing" }
resource tencentcloud_ccn main { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" bandwidth_limit_type = "INTER_REGION_LIMIT" }
resource tencentcloud_ccn_bandwidth_limit limit1 { ccn_id = tencentcloud_ccn.main.id region = var.other_region1 dst_region = var.other_region2 bandwidth_limit = 100 }
```
Provides a resource to create a vpc ccn_instances_accept_attach, you can use this resource to approve cross-region attachment.
Example Usage ¶
```hcl
resource "tencentcloud_ccn_instances_accept_attach" "ccn_instances_accept_attach" { ccn_id = "ccn-39lqkygf" instances { instance_id = "vpc-j9yhbzpn" instance_region = "ap-guangzhou" instance_type = "VPC" } }
```
Provides a resource to create a vpc ccn_instances_reject_attach, you can use this resource to approve cross-region attachment.
Example Usage ¶
```hcl
resource "tencentcloud_ccn_instances_reject_attach" "ccn_instances_reject_attach" { ccn_id = "ccn-39lqkygf" instances { instance_id = "vpc-j9yhbzpn" instance_region = "ap-guangzhou" instance_type = "VPC" } }
```
Provides a resource to create a vpc ccn_instances_reset_attach, you can use this resource to reset cross-region attachment.
Example Usage ¶
```hcl
resource "tencentcloud_ccn_instances_reset_attach" "ccn_instances_reset_attach" { ccn_id = "ccn-39lqkygf" ccn_uin = "100022975249" instances { instance_id = "vpc-j9yhbzpn" instance_region = "ap-guangzhou" instance_type = "VPC" } }
```
Provides a resource to create a vpc ccn_routes
Example Usage ¶
```hcl
resource "tencentcloud_ccn_routes" "ccn_routes" { ccn_id = "ccn-39lqkygf" route_id = "ccnr-3o0dfyuw" switch = "on" }
```
Import ¶
vpc ccn_routes can be imported using the id, e.g.
``` terraform import tencentcloud_ccn_routes.ccn_routes ccnId#routesId ```
Provides a resource to manage CDH instance.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
resource "tencentcloud_cdh_instance" "foo" { availability_zone = var.availability_zone host_type = "HC20" charge_type = "PREPAID" prepaid_period = 1 host_name = "test" prepaid_renew_flag = "NOTIFY_AND_MANUAL_RENEW" }
```
Import ¶
CDH instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_cdh_instance.foo host-d6s7i5q4 ```
Provides a resource to create a CDN domain.
~> **NOTE:** To disable most of configuration with switch, just modify switch argument to off instead of remove the whole block
Example Usage ¶
```hcl
resource "tencentcloud_cdn_domain" "foo" { domain = "xxxx.com" service_type = "web" area = "mainland" full_url_cache = false origin { origin_type = "ip" origin_list = ["127.0.0.1"] origin_pull_protocol = "follow" } https_config { https_switch = "off" http2_switch = "off" ocsp_stapling_switch = "off" spdy_switch = "off" verify_client = "off" force_redirect { switch = "on" redirect_type = "http" redirect_status_code = 302 } } tags = { hello = "world" } }
```
Example Usage of cdn uses cache and request headers ¶
```hcl
resource "tencentcloud_cdn_domain" "foo" { domain = "xxxx.com" service_type = "web" area = "mainland" # full_url_cache = true # Deprecated, use cache_key below. cache_key { full_url_cache = "on" } range_origin_switch = "off" rule_cache{ cache_time = 10000 no_cache_switch="on" re_validate="on" } request_header{ switch = "on" header_rules { header_mode = "add" header_name = "tf-header-name" header_value = "tf-header-value" rule_type = "all" rule_paths = ["*"] } } origin { origin_type = "ip" origin_list = ["127.0.0.1"] origin_pull_protocol = "follow" } https_config { https_switch = "off" http2_switch = "off" ocsp_stapling_switch = "off" spdy_switch = "off" verify_client = "off" force_redirect { switch = "on" redirect_type = "http" redirect_status_code = 302 } } tags = { hello = "world" } }
```
Example Usage of COS bucket url as origin ¶
```hcl
resource "tencentcloud_cos_bucket" "bucket" { # Bucket format should be [custom name]-[appid]. bucket = "demo-bucket-1251234567" acl = "private" }
Create cdn domain ¶
resource "tencentcloud_cdn_domain" "cdn" { domain = "abc.com" service_type = "web" area = "mainland" # full_url_cache = false # Deprecated cache_key { full_url_cache = "off" } origin { origin_type = "cos" origin_list = [tencentcloud_cos_bucket.bucket.cos_bucket_url] server_name = tencentcloud_cos_bucket.bucket.cos_bucket_url origin_pull_protocol = "follow" cos_private_access = "on" } https_config { https_switch = "off" http2_switch = "off" ocsp_stapling_switch = "off" spdy_switch = "off" verify_client = "off" } }
```
Import ¶
CDN domain can be imported using the id, e.g.
``` $ terraform import tencentcloud_cdn_domain.foo xxxx.com ```
Provide a resource to invoke a Url Purge Request.
Example Usage ¶
```hcl
resource "tencentcloud_cdn_url_purge" "foo" { urls = [ "https://www.example.com/a" ] }
```
Change `redo` argument to request new purge task with same urls ¶
```hcl
resource "tencentcloud_cdn_url_purge" "foo" { urls = [ "https://www.example.com/a" ] redo = 1 }
```
Provide a resource to invoke a Url Push request.
Example Usage ¶
```hcl
resource "tencentcloud_cdn_url_push" "foo" { urls = ["https://www.example.com/b"] }
```
Change `redo` argument to request new push task with same urls ¶
```hcl
resource "tencentcloud_cdn_url_push" "foo" { urls = [ "https://www.example.com/a" ] redo = 1 }
```
Provides a resource to create a cdwpg instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_cdwpg_instance" "instance" { instance_name = "test_cdwpg" zone = "ap-guangzhou-6" user_vpc_id = "vpc-xxxxxx" user_subnet_id = "subnet-xxxxxx" charge_properties { renew_flag = 0 time_span = 1 time_unit = "h" charge_type = "POSTPAID_BY_HOUR" } admin_password = "xxxxxx" resources { spec_name = "S_4_16_H_CN" count = 2 disk_spec { disk_type = "CLOUD_HSSD" disk_size = 200 disk_count = 1 } type = "cn" } resources { spec_name = "S_4_16_H_CN" count = 2 disk_spec { disk_type = "CLOUD_HSSD" disk_size = 20 disk_count = 10 } type = "dn" } tags = { "tagKey" = "tagValue" } }
```
Import ¶
cdwpg instance can be imported using the id, e.g.
``` terraform import tencentcloud_cdwpg_instance.instance instance_id ```
Provides a resource to create a CFS access group.
Example Usage ¶
```hcl
resource "tencentcloud_cfs_access_group" "example" { name = "tx_example" description = "desc." }
```
Import ¶
CFS access group can be imported using the id, e.g.
``` $ terraform import tencentcloud_cfs_access_group.example pgroup-7nx89k7l ```
Provides a resource to create a CFS access rule.
Example Usage ¶
```hcl
resource "tencentcloud_cfs_access_rule" "foo" { access_group_id = "pgroup-7nx89k7l" auth_client_ip = "10.10.1.0/24" priority = 1 rw_permission = "RO" user_permission = "root_squash" }
```
Provides a resource to create a cfs auto_snapshot_policy
Example Usage ¶
use day of week
```hcl
resource "tencentcloud_cfs_auto_snapshot_policy" "auto_snapshot_policy" { day_of_week = "1,2" hour = "2,3" policy_name = "policy_name" alive_days = 7 }
```
use day of month
```hcl
resource "tencentcloud_cfs_auto_snapshot_policy" "auto_snapshot_policy" { hour = "2,3" policy_name = "policy_name" alive_days = 7 day_of_month = "2,3,4" }
```
use interval days
```hcl
resource "tencentcloud_cfs_auto_snapshot_policy" "auto_snapshot_policy" { hour = "2,3" policy_name = "policy_name" alive_days = 7 interval_days = 1 }
```
Import ¶
cfs auto_snapshot_policy can be imported using the id, e.g.
``` terraform import tencentcloud_cfs_auto_snapshot_policy.auto_snapshot_policy auto_snapshot_policy_id ```
Provides a resource to create a cfs auto_snapshot_policy_attachment
Example Usage ¶
```hcl
resource "tencentcloud_cfs_auto_snapshot_policy_attachment" "auto_snapshot_policy_attachment" { auto_snapshot_policy_id = "asp-basic" file_system_ids = "cfs-4xzkct19,cfs-iobiaxtj" }
```
Import ¶
cfs auto_snapshot_policy_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cfs_auto_snapshot_policy_attachment.auto_snapshot_policy_attachment auto_snapshot_policy_id#file_system_ids ```
Provides a resource to create a cloud file system(CFS).
Example Usage ¶
Standard Nfs CFS ¶
```hcl
resource "tencentcloud_cfs_file_system" "foo" { name = "test_file_system" availability_zone = "ap-guangzhou-3" access_group_id = "pgroup-7nx89k7l" protocol = "NFS" vpc_id = "vpc-ah9fbkap" subnet_id = "subnet-9mu2t9iw" }
```
High-Performance Nfs CFS ¶
```hcl
resource "tencentcloud_cfs_file_system" "foo" { name = "test_file_system" availability_zone = "ap-guangzhou-6" access_group_id = "pgroup-drwt29od" protocol = "NFS" storage_type = "HP" vpc_id = "vpc-86v957zb" subnet_id = "subnet-enm92y0m" }
```
Standard Turbo CFS ¶
```hcl
resource "tencentcloud_cfs_file_system" "foo" { name = "test_file_system" net_interface = "CCN" availability_zone = "ap-guangzhou-6" access_group_id = "pgroup-drwt29od" protocol = "TURBO" storage_type = "TB" capacity = 20480 ccn_id = "ccn-39lqkygf" cidr_block = "11.0.0.0/24" }
```
High-Performance Turbo CFS ¶
```hcl
resource "tencentcloud_cfs_file_system" "foo" { name = "test_file_system" net_interface = "CCN" availability_zone = "ap-guangzhou-6" access_group_id = "pgroup-drwt29od" protocol = "TURBO" storage_type = "TP" capacity = 10240 ccn_id = "ccn-39lqkygf" cidr_block = "11.0.0.0/24" }
```
Import ¶
Cloud file system can be imported using the id, e.g.
``` $ terraform import tencentcloud_cfs_file_system.foo cfs-6hgquxmj ```
Provides a resource to create a cfs sign_up_cfs_service
Example Usage ¶
```hcl resource "tencentcloud_cfs_sign_up_cfs_service" "sign_up_cfs_service" {} ```
Provides a resource to create a cfs snapshot ¶
Example Usage ¶
```hcl
resource "tencentcloud_cfs_snapshot" "snapshot" { file_system_id = "cfs-iobiaxtj" snapshot_name = "test" tags = { "createdBy" = "terraform" } }
```
Import ¶
cfs snapshot can be imported using the id, e.g.
``` terraform import tencentcloud_cfs_snapshot.snapshot snapshot_id ```
Provides a resource to create a cfs user_quota
Example Usage ¶
```hcl
resource "tencentcloud_cfs_user_quota" "user_quota" { file_system_id = "cfs-4636029bc" user_type = "Uid" user_id = "2159973417" capacity_hard_limit = 10 file_hard_limit = 10000 }
```
Import ¶
cfs user_quota can be imported using the id, e.g.
``` terraform import tencentcloud_cfs_user_quota.user_quota fileSystemId#userType#userId ```
Provides a resource to create a cfw address_template
Example Usage ¶
If type is 1 ¶
```hcl
resource "tencentcloud_cfw_address_template" "example" { name = "tf_example" detail = "test template" ip_string = "1.1.1.1,2.2.2.2" type = 1 }
```
If type is 5 ¶
```hcl
resource "tencentcloud_cfw_address_template" "example" { name = "tf_example" detail = "test template" ip_string = "www.qq.com,www.tencent.com" type = 5 }
``` Import
cfw address_template can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_address_template.example mb_1300846651_1695611353900 ```
Provides a resource to create a cfw block_ignore
~> **NOTE:** If create domain rule, `RuleType` not support set 2.
Example Usage ¶
If create ip rule ¶
```hcl
resource "tencentcloud_cfw_block_ignore" "example" { ip = "1.1.1.1" direction = 0 comment = "remark." start_time = "2023-09-01 00:00:00" end_time = "2023-10-01 00:00:00" rule_type = 1 }
```
If create domain rule ¶
```hcl
resource "tencentcloud_cfw_block_ignore" "example" { domain = "domain.com" direction = 1 comment = "remark." start_time = "2023-09-01 00:00:00" end_time = "2023-10-01 00:00:00" rule_type = 1 }
```
Import ¶
cfw block_ignore_list can be imported using the id, e.g.
If import ip rule ¶
``` terraform import tencentcloud_cfw_block_ignore.example 1.1.1.1##0#1 ```
If import domain rule ¶
``` terraform import tencentcloud_cfw_block_ignore.example domain.com##0#1 ```
Provides a resource to create a cfw edge_firewall_switch
Example Usage ¶
If not set subnet_id
```hcl data "tencentcloud_cfw_edge_fw_switches" "example" {}
resource "tencentcloud_cfw_edge_firewall_switch" "example" { public_ip = data.tencentcloud_cfw_edge_fw_switches.example.data[0].public_ip switch_mode = 1 enable = 0 }
```
If set subnet id ¶
```hcl data "tencentcloud_cfw_edge_fw_switches" "example" {}
resource "tencentcloud_cfw_edge_firewall_switch" "example" { public_ip = data.tencentcloud_cfw_edge_fw_switches.example.data[0].public_ip subnet_id = "subnet-id" switch_mode = 1 enable = 1 }
```
Provides a resource to create a cfw edge_policy
Example Usage ¶
```hcl
resource "tencentcloud_cfw_edge_policy" "example" { source_content = "1.1.1.1/0" source_type = "net" target_content = "0.0.0.0/0" target_type = "net" protocol = "TCP" rule_action = "drop" port = "-1/-1" direction = 1 enable = "true" description = "policy description." scope = "all" }
```
If target_type is tag
```hcl
resource "tencentcloud_cfw_edge_policy" "example" { source_content = "0.0.0.0/0" source_type = "net" target_content = jsonencode({"Key":"test","Value":"dddd"}) target_type = "tag" protocol = "TCP" rule_action = "drop" port = "-1/-1" direction = 1 enable = "true" description = "policy description." scope = "all" }
```
Import ¶
cfw edge_policy can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_edge_policy.example edge_policy_id ```
Provides a resource to create a cfw nat_firewall_switch
Example Usage ¶
Turn off switch ¶
```hcl
data "tencentcloud_cfw_nat_fw_switches" "example" { nat_ins_id = "cfwnat-18d2ba18" }
resource "tencentcloud_cfw_nat_firewall_switch" "example" { nat_ins_id = data.tencentcloud_cfw_nat_fw_switches.example.id subnet_id = data.tencentcloud_cfw_nat_fw_switches.example.data[0].subnet_id enable = 0 }
```
Or turn on switch ¶
```hcl
data "tencentcloud_cfw_nat_fw_switches" "example" { nat_ins_id = "cfwnat-18d2ba18" }
resource "tencentcloud_cfw_nat_firewall_switch" "example" { nat_ins_id = data.tencentcloud_cfw_nat_fw_switches.example.id subnet_id = data.tencentcloud_cfw_nat_fw_switches.example.data[0].subnet_id enable = 1 }
```
Import ¶
cfw nat_firewall_switch can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_nat_firewall_switch.example cfwnat-18d2ba18#subnet-ef7wyymr ```
Provides a resource to create a cfw nat_instance
Example Usage ¶
If mode is 0 ¶
```hcl
resource "tencentcloud_cfw_nat_instance" "example" { name = "tf_example" width = 20 mode = 0 new_mode_items { vpc_list = [ "vpc-5063ta4i" ] eips = [ "152.136.168.192" ] } cross_a_zone = 0 zone_set = [ "ap-guangzhou-7" ] }
```
If mode is 1 ¶
```hcl
resource "tencentcloud_cfw_nat_instance" "example" { name = "tf_example" width = 20 mode = 1 nat_gw_list = [ "nat-9wwkz1kr" ] cross_a_zone = 1 cross_a_zone = 0 zone_set = [ "ap-guangzhou-6", "ap-guangzhou-7" ] }
```
Import ¶
cfw nat_instance can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_nat_instance.example cfwnat-54a21421 ```
Provides a resource to create a cfw nat_policy
Example Usage ¶
```hcl
resource "tencentcloud_cfw_nat_policy" "example" { source_content = "1.1.1.1/0" source_type = "net" target_content = "0.0.0.0/0" target_type = "net" protocol = "TCP" rule_action = "drop" port = "-1/-1" direction = 1 enable = "true" description = "policy description." }
```
Import ¶
cfw nat_policy can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_nat_policy.example nat_policy_id ```
Provides a resource to create a cfw sync_asset
Example Usage ¶
```hcl resource "tencentcloud_cfw_sync_asset" "example" {} ```
Provides a resource to create a cfw sync_route
Example Usage ¶
```hcl
resource "tencentcloud_cfw_sync_route" "example" { sync_type = "Route" fw_type = "nat" }
```
Provides a resource to create a cfw vpc_firewall_switch
Example Usage ¶
Turn off switch ¶
```hcl
data "tencentcloud_cfw_vpc_fw_switches" "example" { vpc_ins_id = "cfwg-c8c2de41" }
resource "tencentcloud_cfw_vpc_firewall_switch" "example" { vpc_ins_id = data.tencentcloud_cfw_vpc_fw_switches.example.id switch_id = data.tencentcloud_cfw_vpc_fw_switches.example.switch_list[0].switch_id enable = 0 }
```
Or turn on switch ¶
```hcl
data "tencentcloud_cfw_vpc_fw_switches" "example" { vpc_ins_id = "cfwg-c8c2de41" }
resource "tencentcloud_cfw_vpc_firewall_switch" "example" { vpc_ins_id = data.tencentcloud_cfw_vpc_fw_switches.example.id switch_id = data.tencentcloud_cfw_vpc_fw_switches.example.switch_list[0].switch_id enable = 1 }
``` Import
cfw vpc_firewall_switch can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_vpc_firewall_switch.example cfwg-c8c2de41#cfws-f2c63ded84 ```
Provides a resource to create a cfw vpc_instance
Example Usage ¶
If mode is 0 ¶
```hcl
resource "tencentcloud_cfw_vpc_instance" "example" { name = "tf_example" mode = 0 vpc_fw_instances { name = "fw_ins_example" vpc_ids = [ "vpc-291vnoeu", "vpc-39ixq9ci" ] fw_deploy { deploy_region = "ap-guangzhou" width = 1024 cross_a_zone = 1 zone_set = [ "ap-guangzhou-6", "ap-guangzhou-7" ] } } switch_mode = 1 fw_vpc_cidr = "auto" }
```
If mode is 1 ¶
```hcl
resource "tencentcloud_cfw_vpc_instance" "example" { name = "tf_example" mode = 1 vpc_fw_instances { name = "fw_ins_example" fw_deploy { deploy_region = "ap-guangzhou" width = 1024 cross_a_zone = 0 zone_set = [ "ap-guangzhou-6" ] } } ccn_id = "ccn-peihfqo7" switch_mode = 1 fw_vpc_cidr = "auto" }
```
Import ¶
cfw vpc_instance can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_vpc_instance.example cfwg-4ee69507 ```
Provides a resource to create a cfw vpc_policy
Example Usage ¶
```hcl
resource "tencentcloud_cfw_vpc_policy" "example" { source_content = "0.0.0.0/0" source_type = "net" dest_content = "192.168.0.2" dest_type = "net" protocol = "ANY" rule_action = "log" port = "-1/-1" description = "description." enable = "true" fw_group_id = "ALL" }
```
Import ¶
cfw vpc_policy can be imported using the id, e.g.
``` terraform import tencentcloud_cfw_vpc_policy.vpc_policy vpc_policy_id ```
Provides a resource to create a chdfs access_group
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_access_group" "access_group" { access_group_name = "testAccessGroup" vpc_type = 1 vpc_id = "vpc-4owdpnwr" description = "test access group" }
```
Import ¶
chdfs access_group can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_access_group.access_group access_group_id ```
Provides a resource to create a chdfs access_rule
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_access_rule" "access_rule" { access_group_id = "ag-bvmzrbsm" access_rule { access_mode = 2 address = "10.0.1.1" priority = 12 } }
```
Import ¶
chdfs access_rule can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_access_rule.access_rule access_group_id#access_rule_id ```
Provides a resource to create a chdfs file_system
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_file_system" "file_system" { capacity_quota = 10995116277760 description = "file system for terraform test" enable_ranger = true file_system_name = "terraform-test" posix_acl = false ranger_service_addresses = [ "127.0.0.1:80", "127.0.0.1:8000", ] super_users = [ "terraform", "iac", ] }
```
Import ¶
chdfs file_system can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_file_system.file_system file_system_id ```
Provides a resource to create a chdfs life_cycle_rule
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_life_cycle_rule" "life_cycle_rule" { file_system_id = "f14mpfy5lh4e" life_cycle_rule { life_cycle_rule_name = "terraform-test" path = "/test" status = 1 transitions { days = 30 type = 1 } } }
```
Import ¶
chdfs life_cycle_rule can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_life_cycle_rule.life_cycle_rule file_system_id#life_cycle_rule_id ```
Provides a resource to create a chdfs mount_point
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_mount_point" "mount_point" { file_system_id = "f14mpfy5lh4e" mount_point_name = "terraform-test" mount_point_status = 1 }
```
Import ¶
chdfs mount_point can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_mount_point.mount_point mount_point_id ```
Provides a resource to create a chdfs mount_point_attachment
Example Usage ¶
```hcl
resource "tencentcloud_chdfs_mount_point_attachment" "mount_point_attachment" { access_group_ids = [ "ag-bvmzrbsm", "ag-lairqrgr", ] mount_point_id = "f14mpfy5lh4e-KuiL" }
```
Import ¶
chdfs mount_point_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_chdfs_mount_point_attachment.mount_point_attachment mount_point_id ```
Provides a resource to create a ci bucket ¶
Example Usage ¶
```hcl
resource "tencentcloud_ci_bucket_attachment" "bucket_attachment" { bucket = "terraform-ci-xxxxxx" }
```
Import ¶
ci bucket can be imported using the id, e.g.
``` terraform import tencentcloud_ci_bucket_attachment.bucket_attachment terraform-ci-xxxxxx ```
Provides a resource to create a ci bucket_pic_style
Example Usage ¶
```hcl
resource "tencentcloud_ci_bucket_pic_style" "bucket_pic_style" { bucket = "terraform-ci-xxxxxx" style_name = "rayscale_2" style_body = "imageMogr2/thumbnail/20x/crop/20x20/gravity/center/interlace/0/quality/100" }
```
Import ¶
ci bucket_pic_style can be imported using the bucket#styleName, e.g.
``` terraform import tencentcloud_ci_bucket_pic_style.bucket_pic_style terraform-ci-xxxxxx#rayscale_2 ```
Manage Guetzli compression functionality ¶
Example Usage ¶
```hcl
resource "tencentcloud_ci_guetzli" "foo" { bucket = "examplebucket-1250000000" status = "on" }
```
Import ¶
Resource guetzli can be imported using the id, e.g.
``` $ terraform import tencentcloud_ci_guetzli.example examplebucket-1250000000 ```
Provides a resource to create a ci hot_link
Example Usage ¶
```hcl
resource "tencentcloud_ci_hot_link" "hot_link" { bucket = "terraform-ci-xxxxxx" url = ["10.0.0.1", "10.0.0.2"] type = "white" }
```
Import ¶
ci hot_link can be imported using the bucket, e.g.
``` terraform import tencentcloud_ci_hot_link.hot_link terraform-ci-xxxxxx ```
Provides a resource to create a ci media_animation_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_animation_template" "media_animation_template" { bucket = "terraform-ci-1308919341" name = "animation_template-002" container { format = "gif" } video { codec = "gif" width = "1280" height = "" fps = "20" animate_only_keep_key_frame = "true" animate_time_interval_of_frame = "" animate_frames_per_second = "" quality = "" } time_interval { start = "0" duration = "60" } }
```
Provides a resource to create a ci media_concat_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_concat_template" "media_concat_template" { bucket = "terraform-ci-xxxxxx" name = "concat_templates" concat_template { concat_fragment { url = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4" mode = "Start" } concat_fragment { url = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4" mode = "End" } audio { codec = "mp3" samplerate = "" bitrate = "" channels = "" } video { codec = "H.264" width = "1280" height = "" bitrate = "1000" fps = "25" crf = "" remove = "" rotate = "" } container { format = "mp4" } audio_mix { audio_source = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3" mix_mode = "Once" replace = "true" effect_config { enable_start_fadein = "true" start_fadein_time = "3" enable_end_fadeout = "false" end_fadeout_time = "0.1" enable_bgm_fade = "true" bgm_fade_time = "1.7" } } } }
```
Import ¶
ci media_concat_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_concat_template.media_concat_template id=terraform-ci-xxxxxx#t1cb115dfa1fcc414284f83b7c69bcedcf ```
Provides a resource to create a ci media_pic_process_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_pic_process_template" "media_pic_process_template" { bucket = "terraform-ci-xxxxxx" name = "pic_process_template" pic_process { is_pic_info = "true" process_rule = "imageMogr2/rotate/90" } }
```
Import ¶
ci media_pic_process_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_pic_process_template.media_pic_process_template terraform-ci-xxxxx#t184a8a26da4674c80bf260c1e34131a65 ```
Provides a resource to create a ci media_smart_cover_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_smart_cover_template" "media_smart_cover_template" { bucket = "terraform-ci-xxxxxx" name = "smart_cover_template" smart_cover { format = "jpg" width = "1280" height = "960" count = "10" delete_duplicates = "true" } }
```
Import ¶
ci media_smart_cover_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_smart_cover_template.media_smart_cover_template terraform-ci-xxxxxx#t1ede83acc305e423799d638044d859fb7 ```
Provides a resource to create a ci media_snapshot_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_snapshot_template" "media_snapshot_template" { bucket = "terraform-ci-xxxxxx" name = "snapshot_template_test" snapshot { count = "10" snapshot_out_mode = "SnapshotAndSprite" sprite_snapshot_config { color = "White" columns = "10" lines = "10" margin = "10" padding = "10" } } }
```
Import ¶
ci media_snapshot_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_snapshot_template.media_snapshot_template terraform-ci-xxxxxx#t18210645f96564eaf80e86b1f58c20152 ```
Provides a resource to create a ci media_speech_recognition_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_speech_recognition_template" "media_speech_recognition_template" { bucket = "terraform-ci-1308919341" name = "speech_recognition_template" speech_recognition { engine_model_type = "16k_zh" channel_num = "1" res_text_format = "1" filter_dirty = "0" filter_modal = "1" convert_num_mode = "0" speaker_diarization = "1" speaker_number = "0" filter_punc = "0" output_file_type = "txt" } }
```
Import ¶
ci media_speech_recognition_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_speech_recognition_template.media_speech_recognition_template terraform-ci-xxxxxx#t1d794430f2f1f4350b11e905ce2c6167e ```
Provides a resource to create a ci media_super_resolution_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_super_resolution_template" "media_super_resolution_template" { bucket = "terraform-ci-1308919341" name = "super_resolution_template" resolution = "sdtohd" enable_scale_up = "true" version = "Enhance" }
```
Import ¶
ci media_super_resolution_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_super_resolution_template.media_super_resolution_template terraform-ci-xxxxxx#t1d707eb2be3294e22b47123894f85cb8f ```
Provides a resource to create a ci media_transcode_pro_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_transcode_pro_template" "media_transcode_pro_template" { bucket = "terraform-ci-xxxxxx" name = "transcode_pro_template" container { format = "mxf" # clip_config { # duration = "" # } } video { codec = "xavc" profile = "XAVC-HD_422_10bit" width = "1920" height = "1080" interlaced = "true" fps = "30000/1001" bitrate = "50000" # rotate = "" } time_interval { start = "" duration = "" } audio { codec = "pcm_s24le" remove = "true" } trans_config { adj_dar_method = "scale" is_check_reso = "false" reso_adj_method = "1" is_check_video_bitrate = "false" video_bitrate_adj_method = "0" is_check_audio_bitrate = "false" audio_bitrate_adj_method = "0" delete_metadata = "false" is_hdr2_sdr = "false" } }
```
Import ¶
ci media_transcode_pro_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_transcode_pro_template.media_transcode_pro_template terraform-ci-xxxxxx#t13ed9af009da0414e9c7c63456ec8f4d2 ```
Provides a resource to create a ci media_transcode_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_transcode_template" "media_transcode_template" { bucket = "terraform-ci-1308919341" name = "transcode_template" container { format = "mp4" # clip_config { # duration = "" # } } video { codec = "H.264" width = "1280" # height = "" fps = "30" remove = "false" profile = "high" bitrate = "1000" # crf = "" # gop = "" preset = "medium" # bufsize = "" # maxrate = "" # pixfmt = "" long_short_mode = "false" # rotate = "" } time_interval { start = "0" duration = "60" } audio { codec = "aac" samplerate = "44100" bitrate = "128" channels = "4" remove = "false" keep_two_tracks = "false" switch_track = "false" sample_format = "" } trans_config { adj_dar_method = "scale" is_check_reso = "false" reso_adj_method = "1" is_check_video_bitrate = "false" video_bitrate_adj_method = "0" is_check_audio_bitrate = "false" audio_bitrate_adj_method = "0" delete_metadata = "false" is_hdr2_sdr = "false" } audio_mix { audio_source = "https://terraform-ci-1308919341.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3" mix_mode = "Once" replace = "true" effect_config { enable_start_fadein = "true" start_fadein_time = "3" enable_end_fadeout = "false" end_fadeout_time = "0" enable_bgm_fade = "true" bgm_fade_time = "1.7" } } }
```
Import ¶
ci media_transcode_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_transcode_template.media_transcode_template media_transcode_template_id ```
Provides a resource to create a ci media_tts_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_tts_template" "media_tts_template" { bucket = "terraform-ci-xxxxxx" name = "tts_template" mode = "Asyc" codec = "pcm" voice_type = "ruxue" volume = "0" speed = "100" }
```
Import ¶
ci media_tts_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_tts_template.media_tts_template terraform-ci-xxxxxx#t1ed421df8bd2140b6b73474f70f99b0f8 ```
Provides a resource to create a ci media_video_montage_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_video_montage_template" "media_video_montage_template" { bucket = "terraform-ci-xxxxx" name = "video_montage_template" duration = "10.5" audio { codec = "aac" samplerate = "44100" bitrate = "128" channels = "4" remove = "false" } video { codec = "H.264" width = "1280" height = "" bitrate = "1000" fps = "25" crf = "" remove = "" } container { format = "mp4" } audio_mix { audio_source = "https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3" mix_mode = "Once" replace = "true" # effect_config { # enable_start_fadein = "" # start_fadein_time = "" # enable_end_fadeout = "" # end_fadeout_time = "" # enable_bgm_fade = "" # bgm_fade_time = "" # } } }
```
Import ¶
ci media_video_montage_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_video_montage_template.media_video_montage_template terraform-ci-xxxxxx#t193e5ecc1b8154e57a8376b4405ad9c63 ```
Provides a resource to create a ci media_video_process_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_video_process_template" "media_video_process_template" { bucket = "terraform-ci-xxxxxx" name = "video_process_template" color_enhance { enable = "true" contrast = "" correction = "" saturation = "" } ms_sharpen { enable = "false" sharpen_level = "" } }
```
Import ¶
ci media_video_process_template can be imported using the bucket#templateId, e.g.
``` terraform import tencentcloud_ci_media_video_process_template.media_video_process_template terraform-ci-xxxxxx#t1d5694d87639a4593a9fd7e9025d26f52 ```
Provides a resource to create a ci media_voice_separate_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_voice_separate_template" "media_voice_separate_template" { bucket = "terraform-ci-xxxxx" name = "voice_separate_template" audio_mode = "IsAudio" audio_config { codec = "aac" samplerate = "44100" bitrate = "128" channels = "4" } }
```
Import ¶
ci media_voice_separate_template can be imported using the id, e.g.
``` terraform import tencentcloud_ci_media_voice_separate_template.media_voice_separate_template terraform-ci-xxxxxx#t1c95566664530460d9bc2b6265feb7c32 ```
Provides a resource to create a ci media_watermark_template
Example Usage ¶
```hcl
resource "tencentcloud_ci_media_watermark_template" "media_watermark_template" { bucket = "terraform-ci-1308919341" name = "watermark_template" watermark { type = "Text" pos = "TopRight" loc_mode = "Absolute" dx = "128" dy = "128" start_time = "0" end_time = "100.5" # image { # url = "" # mode = "" # width = "" # height = "" # transparency = "" # background = "" # } text { font_size = "30" font_type = "simfang.ttf" font_color = "0xF0F8F0" transparency = "30" text = "watermark-content" } } }
```
Import ¶
ci media_watermark_template can be imported using the id, e.g.
``` terraform import tencentcloud_ci_media_watermark_template.media_watermark_template media_watermark_template_id ```
Manage original image protection functionality ¶
Example Usage ¶
```hcl
resource "tencentcloud_ci_original_image_protection" "foo" { bucket = "examplebucket-1250000000" status = "on" }
```
Import ¶
Resource original image protection can be imported using the id, e.g.
``` $ terraform import tencentcloud_ci_original_image_protection.example examplebucket-1250000000 ```
Provides a resource to create a ciam user group ¶
Example Usage ¶
```hcl
resource "tencentcloud_ciam_user_store" "user_store" { user_pool_name = "tf_user_store" user_pool_desc = "for terraform test" user_pool_logo = "https://ciam-prd-1302490086.cos.ap-guangzhou.myqcloud.com/temporary/92630252a2c5422d9663db5feafd619b.png" }
resource "tencentcloud_ciam_user_group" "user_group" { display_name = "tf_user_group" user_store_id = tencentcloud_ciam_user_store.user_store.id description = "for terrafrom test" }
```
Import ¶
ciam user_group can be imported using the id, e.g.
``` terraform import tencentcloud_ciam_user_group.user_group userStoreId#userGroupId ```
Provides a resource to create a ciam user store ¶
Example Usage ¶
```hcl
resource "tencentcloud_ciam_user_store" "user_store" { user_pool_name = "tf_user_store" user_pool_desc = "for terraform test 123" user_pool_logo = "https://ciam-prd-1302490086.cos.ap-guangzhou.myqcloud.com/temporary/92630252a2c5422d9663db5feafd619b.png" }
```
Import ¶
ciam user_store can be imported using the id, e.g.
``` terraform import tencentcloud_ciam_user_store.user_store userStoreId ```
Provides a resource to create a Ckafka Acl.
Example Usage ¶
Ckafka Acl ¶
```hcl
resource "tencentcloud_ckafka_acl" "foo" { instance_id = "ckafka-f9ife4zz" resource_type = "TOPIC" resource_name = "topic-tf-test" operation_type = "WRITE" permission_type = "ALLOW" host = "*" principal = tencentcloud_ckafka_user.foo.account_name }
```
Import ¶
Ckafka acl can be imported using the instance_id#permission_type#principal#host#operation_type#resource_type#resource_name, e.g.
``` $ terraform import tencentcloud_ckafka_acl.foo ckafka-f9ife4zz#ALLOW#test#*#WRITE#TOPIC#topic-tf-test ```
Provides a resource to create a ckafka acl_rule
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_acl_rule" "acl_rule" { instance_id = "ckafka-xxx" resource_type = "Topic" pattern_type = "PREFIXED" rule_name = "RuleName" rule_list { operation = "All" permission_type = "Deny" host = "*" principal = "User:*" } pattern = "prefix" is_applied = 1 }
```
Import ¶
ckafka acl_rule can be imported using the id, e.g.
``` terraform import tencentcloud_ckafka_acl_rule.acl_rule acl_rule_id ```
Provides a resource to create a ckafka connect_resource
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_connect_resource" "connect_resource" { resource_name = "terraform-test" type = "MYSQL" description = "for terraform test" mysql_connect_param { port = 3306 user_name = "root" password = "xxxxxxxxx" resource = "cdb-fitq5t9h" service_vip = "172.16.80.59" uniq_vpc_id = "vpc-4owdpnwr" self_built = false } }
```
Import ¶
ckafka connect_resource can be imported using the id, e.g.
``` terraform import tencentcloud_ckafka_connect_resource.connect_resource connect_resource_id ```
Provides a resource to create a ckafka consumer_group
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_consumer_group" "consumer_group" { instance_id = "InstanceId" group_name = "GroupName" topic_name_list = ["xxxxxx"] }
```
Import ¶
ckafka consumer_group can be imported using the id, e.g.
``` terraform import tencentcloud_ckafka_consumer_group.consumer_group consumer_group_id ```
Provides a resource to create a ckafka consumer_group_modify_offset
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_consumer_group_modify_offset" "consumer_group_modify_offset" { instance_id = "ckafka-xxxxxx" group = "xxxxxx" offset = 0 strategy = 2 topics = ["xxxxxx"] }
```
Provides a resource to create a ckafka datahub_task
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_datahub_task" "datahub_task" { task_name = "test-task123321" task_type = "SOURCE" source_resource { type = "POSTGRESQL" postgre_sql_param { database = "postgres" table = "*" resource = "resource-y9nxnw46" plugin_name = "decoderbufs" snapshot_mode = "never" is_table_regular = false key_columns = "" record_with_schema = false } } target_resource { type = "TOPIC" topic_param { compression_type = "none" resource = "1308726196-keep-topic" use_auto_create_topic = false } } }
```
Import ¶
ckafka datahub_task can be imported using the id, e.g.
``` terraform import tencentcloud_ckafka_datahub_task.datahub_task datahub_task_id ```
Provides a resource to create a ckafka datahub_topic
Example Usage ¶
```hcl data "tencentcloud_user_info" "user" {}
resource "tencentcloud_ckafka_datahub_topic" "datahub_topic" { name = format("%s-tf", data.tencentcloud_user_info.user.app_id) partition_num = 20 retention_ms = 60000 note = "for test" tags = { "createdBy" = "terraform" } }
```
Import ¶
ckafka datahub_topic can be imported using the id, e.g.
``` terraform import tencentcloud_ckafka_datahub_topic.datahub_topic datahub_topic_name ```
Use this resource to create ckafka instance.
Example Usage ¶
Basic Instance ```hcl
variable "vpc_id" { default = "vpc-68vi2d3h" }
variable "subnet_id" { default = "subnet-ob6clqwk" }
data "tencentcloud_availability_zones_by_product" "gz" { name = "ap-guangzhou-3" product = "ckafka" }
resource "tencentcloud_ckafka_instance" "kafka_instance_prepaid" { instance_name = "ckafka-instance-prepaid" zone_id = data.tencentcloud_availability_zones_by_product.gz.zones.0.id period = 1 vpc_id = var.vpc_id subnet_id = var.subnet_id msg_retention_time = 1300 renew_flag = 0 kafka_version = "2.4.1" disk_size = 200 disk_type = "CLOUD_BASIC" band_width = 20 partition = 400 specifications_type = "standard" instance_type = 2 config { auto_create_topic_enable = true default_num_partitions = 3 default_replication_factor = 3 } dynamic_retention_config { enable = 1 } }
resource "tencentcloud_ckafka_instance" "kafka_instance_postpaid" { instance_name = "ckafka-instance-postpaid" zone_id = data.tencentcloud_availability_zones_by_product.gz.zones.0.id vpc_id = var.vpc_id subnet_id = var.subnet_id msg_retention_time = 1300 kafka_version = "1.1.1" disk_size = 200 band_width = 20 disk_type = "CLOUD_BASIC" partition = 400 charge_type = "POSTPAID_BY_HOUR" config { auto_create_topic_enable = true default_num_partitions = 3 default_replication_factor = 3 } dynamic_retention_config { enable = 1 } }
```
Multi zone Instance ```hcl
variable "vpc_id" { default = "vpc-68vi2d3h" }
variable "subnet_id" { default = "subnet-ob6clqwk" }
data "tencentcloud_availability_zones_by_product" "gz3" { name = "ap-guangzhou-3" product = "ckafka" }
data "tencentcloud_availability_zones_by_product" "gz6" { name = "ap-guangzhou-6" product = "ckafka" }
resource "tencentcloud_ckafka_instance" "kafka_instance" { instance_name = "ckafka-instance-maz-tf-test" zone_id = data.tencentcloud_availability_zones_by_product.gz3.zones.0.id multi_zone_flag = true zone_ids = [ data.tencentcloud_availability_zones_by_product.gz3.zones.0.id, data.tencentcloud_availability_zones_by_product.gz6.zones.0.id ] period = 1 vpc_id = var.vpc_id subnet_id = var.subnet_id msg_retention_time = 1300 renew_flag = 0 kafka_version = "1.1.1" disk_size = 500 disk_type = "CLOUD_BASIC" config { auto_create_topic_enable = true default_num_partitions = 3 default_replication_factor = 3 } dynamic_retention_config { enable = 1 } }
```
Import ¶
ckafka instance can be imported using the instance_id, e.g.
``` $ terraform import tencentcloud_ckafka_instance.foo ckafka-f9ife4zz ```
Provides a resource to create a ckafka renew_instance
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_renew_instance" "renew_ckafka_instance" { instance_id = "InstanceId" time_span = 1 }
```
Provides a resource to create a ckafka route ¶
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_route" "route" { instance_id = "ckafka-xxxxxx" vip_type = 3 vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" access_type = 0 public_network = 3 }
```
Use this resource to create ckafka topic.
Example Usage ¶
```hcl
resource "tencentcloud_ckafka_topic" "foo" { instance_id = "ckafka-f9ife4zz" topic_name = "example" note = "topic note" replica_num = 2 partition_num = 1 enable_white_list = true ip_white_list = ["ip1","ip2"] clean_up_policy = "delete" sync_replica_min_num = 1 unclean_leader_election_enable = false segment = 3600000 retention = 60000 max_message_bytes = 0 }
```
Import ¶
ckafka topic can be imported using the instance_id#topic_name, e.g.
``` $ terraform import tencentcloud_ckafka_topic.foo ckafka-f9ife4zz#example ```
Provides a resource to create a Ckafka user.
Example Usage ¶
Ckafka User ¶
```hcl
resource "tencentcloud_ckafka_user" "foo" { instance_id = "ckafka-f9ife4zz" account_name = "tf-test" password = "test1234" }
```
Import ¶
Ckafka user can be imported using the instance_id#account_name, e.g.
``` $ terraform import tencentcloud_ckafka_user.foo ckafka-f9ife4zz#tf-test ```
Provides a resource to create a CLB attachment.
Example Usage ¶
```hcl
resource "tencentcloud_clb_attachment" "foo" { clb_id = "lb-k2zjp9lv" listener_id = "lbl-hh141sn9" rule_id = "loc-4xxr2cy7" targets { instance_id = "ins-1flbqyp8" port = 80 weight = 10 } }
```
Import ¶
CLB attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_attachment.foo loc-4xxr2cy7#lbl-hh141sn9#lb-7a0t6zqb ```
Provides a resource to create a CLB customized config.
Example Usage ¶
```hcl
resource "tencentcloud_clb_customized_config" "foo" { config_content = "client_max_body_size 224M;\r\nclient_body_timeout 60s;" config_name = "helloWorld" load_balancer_ids = [ "${tencentcloud_clb_instance.internal_clb.id}", "${tencentcloud_clb_instance.internal_clb2.id}", ] }
``` Import
CLB customized config can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_customized_config.foo pz-diowqstq ```
Provides a resource to create a clb function_targets_attachment
Example Usage ¶
```hcl
resource "tencentcloud_clb_function_targets_attachment" "function_targets" { domain = "xxx.com" listener_id = "lbl-nonkgvc2" load_balancer_id = "lb-5dnrkgry" url = "/" function_targets { weight = 10 function { function_name = "keep-tf-test-1675954233" function_namespace = "default" function_qualifier = "$LATEST" function_qualifier_type = "VERSION" } } }
```
Import ¶
clb function_targets_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_clb_function_targets_attachment.function_targets loadBalancerId#listenerId#locationId or loadBalancerId#listenerId#domain#rule ```
Provides a resource to create a CLB instance.
Example Usage ¶
INTERNAL CLB ¶
```hcl
resource "tencentcloud_clb_instance" "internal_clb" { network_type = "INTERNAL" clb_name = "myclb" project_id = 0 vpc_id = "vpc-7007ll7q" subnet_id = "subnet-12rastkr" tags = { test = "tf" } }
```
OPEN CLB ¶
```hcl
resource "tencentcloud_clb_instance" "open_clb" { network_type = "OPEN" clb_name = "myclb" project_id = 0 vpc_id = "vpc-da7ffa61" security_groups = ["sg-o0ek7r93"] target_region_info_region = "ap-guangzhou" target_region_info_vpc_id = "vpc-da7ffa61" tags = { test = "tf" } }
```
Dynamic Vip Instance ¶
```hcl
resource "tencentcloud_security_group" "foo" { name = "clb-instance-open-sg" }
resource "tencentcloud_vpc" "foo" { name = "clb-instance-open-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_clb_instance" "clb_open" { network_type = "OPEN" clb_name = "clb-instance-open" project_id = 0 vpc_id = tencentcloud_vpc.foo.id target_region_info_region = "ap-guangzhou" target_region_info_vpc_id = tencentcloud_vpc.foo.id security_groups = [tencentcloud_security_group.foo.id] dynamic_vip = true tags = { test = "tf" } }
output "domain" { value = tencentcloud_clb_instance.clb_open.domain }
```
Default enable ¶
```hcl
resource "tencentcloud_subnet" "subnet" { availability_zone = "ap-guangzhou-1" name = "sdk-feature-test" vpc_id = tencentcloud_vpc.foo.id cidr_block = "10.0.20.0/28" is_multicast = false }
resource "tencentcloud_security_group" "sglab" { name = "sg_o0ek7r93" description = "favourite sg" project_id = 0 }
resource "tencentcloud_vpc" "foo" { name = "for-my-open-clb" cidr_block = "10.0.0.0/16" tags = { "test" = "mytest" } }
resource "tencentcloud_clb_instance" "open_clb" { network_type = "OPEN" clb_name = "my-open-clb" project_id = 0 vpc_id = tencentcloud_vpc.foo.id load_balancer_pass_to_target = true security_groups = [tencentcloud_security_group.sglab.id] target_region_info_region = "ap-guangzhou" target_region_info_vpc_id = tencentcloud_vpc.foo.id tags = { test = "open" } }
```
CREATE multiple instance ¶
```hcl
resource "tencentcloud_clb_instance" "open_clb1" { network_type = "OPEN" clb_name = "hello" master_zone_id = "ap-guangzhou-3" }
```
CREATE instance with log ```hcl
resource "tencentcloud_vpc" "vpc_test" { name = "clb-test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_route_table" "rtb_test" { name = "clb-test" vpc_id = "${tencentcloud_vpc.vpc_test.id}" }
resource "tencentcloud_subnet" "subnet_test" { name = "clb-test" cidr_block = "10.0.1.0/24" availability_zone = "ap-guangzhou-3" vpc_id = "${tencentcloud_vpc.vpc_test.id}" route_table_id = "${tencentcloud_route_table.rtb_test.id}" }
resource "tencentcloud_clb_log_set" "set" { period = 7 }
resource "tencentcloud_clb_log_topic" "topic" { log_set_id = "${tencentcloud_clb_log_set.set.id}" topic_name = "clb-topic" }
resource "tencentcloud_clb_instance" "internal_clb" { network_type = "INTERNAL" clb_name = "myclb" project_id = 0 vpc_id = "${tencentcloud_vpc.vpc_test.id}" subnet_id = "${tencentcloud_subnet.subnet_test.id}" load_balancer_pass_to_target = true log_set_id = "${tencentcloud_clb_log_set.set.id}" log_topic_id = "${tencentcloud_clb_log_topic.topic.id}" tags = { test = "tf" } }
```
Import ¶
CLB instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_instance.foo lb-7a0t6zqb ```
Provides a resource to create a clb instance_mix_ip_target_config
Example Usage ¶
```hcl
resource "tencentcloud_clb_instance_mix_ip_target_config" "instance_mix_ip_target_config" { load_balancer_id = "lb-5dnrkgry" mix_ip_target = false }
```
Import ¶
clb instance_mix_ip_target_config can be imported using the id, e.g.
``` terraform import tencentcloud_clb_instance_mix_ip_target_config.instance_mix_ip_target_config instance_id ```
Provides a resource to create a clb instance_sla_config
Example Usage ¶
```hcl
resource "tencentcloud_clb_instance_sla_config" "instance_sla_config" { load_balancer_id = "lb-5dnrkgry" sla_type = "SLA" }
```
Import ¶
clb instance_sla_config can be imported using the id, e.g.
``` terraform import tencentcloud_clb_instance_sla_config.instance_sla_config instance_id ```
Provides a resource to create a CLB listener.
Example Usage ¶
HTTP Listener ¶
```hcl
resource "tencentcloud_clb_listener" "HTTP_listener" { clb_id = "lb-0lh5au7v" listener_name = "test_listener" port = 80 protocol = "HTTP" }
```
TCP/UDP Listener
```hcl
resource "tencentcloud_clb_listener" "TCP_listener" { clb_id = "lb-0lh5au7v" listener_name = "test_listener" port = 80 protocol = "TCP" health_check_switch = true health_check_time_out = 2 health_check_interval_time = 5 health_check_health_num = 3 health_check_unhealth_num = 3 session_expire_time = 30 scheduler = "WRR" health_check_port = 200 health_check_type = "HTTP" health_check_http_code = 2 health_check_http_version = "HTTP/1.0" health_check_http_method = "GET" }
```
TCP/UDP Listener with tcp health check ```hcl
resource "tencentcloud_clb_listener" "listener_tcp" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_name = "listener_tcp" port = 44 protocol = "TCP" health_check_switch = true health_check_time_out = 30 health_check_interval_time = 100 health_check_health_num = 2 health_check_unhealth_num = 2 session_expire_time = 30 scheduler = "WRR" health_check_type = "TCP" health_check_port = 200 }
```
TCP/UDP Listener with http health check ```hcl
resource "tencentcloud_clb_listener" "listener_tcp" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_name = "listener_tcp" port = 44 protocol = "TCP" health_check_switch = true health_check_time_out = 30 health_check_interval_time = 100 health_check_health_num = 2 health_check_unhealth_num = 2 session_expire_time = 30 scheduler = "WRR" health_check_type = "HTTP" health_check_http_domain = "www.tencent.com" health_check_http_code = 16 health_check_http_version = "HTTP/1.1" health_check_http_method = "HEAD" health_check_http_path = "/" }
```
TCP/UDP Listener with customer health check ```hcl
resource "tencentcloud_clb_listener" "listener_tcp"{ clb_id = tencentcloud_clb_instance.clb_basic.id listener_name = "listener_tcp" port = 44 protocol = "TCP" health_check_switch = true health_check_time_out = 30 health_check_interval_time = 100 health_check_health_num = 2 health_check_unhealth_num = 2 session_expire_time = 30 scheduler = "WRR" health_check_type = "CUSTOM" health_check_context_type = "HEX" health_check_send_context = "0123456789ABCDEF" health_check_recv_context = "ABCD" target_type = "TARGETGROUP" }
```
HTTPS Listener ¶
```hcl
resource "tencentcloud_clb_listener" "HTTPS_listener" { clb_id = "lb-0lh5au7v" listener_name = "test_listener" port = "80" protocol = "HTTPS" certificate_ssl_mode = "MUTUAL" certificate_id = "VjANRdz8" certificate_ca_id = "VfqO4zkB" sni_switch = true }
```
TCP SSL Listener ¶
```hcl
resource "tencentcloud_clb_listener" "TCPSSL_listener" { clb_id = "lb-0lh5au7v" listener_name = "test_listener" port = "80" protocol = "TCP_SSL" certificate_ssl_mode = "MUTUAL" certificate_id = "VjANRdz8" certificate_ca_id = "VfqO4zkB" health_check_switch = true health_check_time_out = 2 health_check_interval_time = 5 health_check_health_num = 3 health_check_unhealth_num = 3 scheduler = "WRR" target_type = "TARGETGROUP" }
```
Port Range Listener ¶
```hcl
resource "tencentcloud_clb_instance" "clb_basic" { network_type = "OPEN" clb_name = "tf-listener-test" }
resource "tencentcloud_clb_listener" "listener_basic" { clb_id = tencentcloud_clb_instance.clb_basic.id port = 1 end_port = 6 protocol = "TCP" listener_name = "listener_basic" session_expire_time = 30 scheduler = "WRR" target_type = "NODE" }
```
Import ¶
CLB listener can be imported using the id (version >= 1.47.0), e.g.
``` $ terraform import tencentcloud_clb_listener.foo lb-7a0t6zqb#lbl-hh141sn9 ```
Provides a resource to create a CLB listener rule.
-> **NOTE:** This resource only be applied to the HTTP or HTTPS listeners.
Example Usage ¶
```hcl
resource "tencentcloud_clb_listener_rule" "foo" { listener_id = "lbl-hh141sn9" clb_id = "lb-k2zjp9lv" domain = "foo.net" url = "/bar" health_check_switch = true health_check_interval_time = 5 health_check_health_num = 3 health_check_unhealth_num = 3 health_check_http_code = 2 health_check_http_path = "Default Path" health_check_http_domain = "Default Domain" health_check_http_method = "GET" certificate_ssl_mode = "MUTUAL" certificate_id = "VjANRdz8" certificate_ca_id = "VfqO4zkB" session_expire_time = 30 scheduler = "WRR" }
``` Import
CLB listener rule can be imported using the id (version >= 1.47.0), e.g.
``` $ terraform import tencentcloud_clb_listener_rule.foo lb-7a0t6zqb#lbl-hh141sn9#loc-agg236ys ```
Provides a resource to create an exclusive CLB Logset.
Example Usage ¶
```hcl
resource "tencentcloud_clb_log_set" "foo" { period = 7 }
```
Import ¶
CLB log set can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_logset.foo 4eb9e3a8-9c42-4b32-9ddf-e215e9c92764 ```
Provides a resource to create a CLB instance topic.
Example Usage ¶
```hcl
resource "tencentcloud_clb_log_topic" "topic" { log_set_id = "${tencentcloud_clb_log_set.set.id}" topic_name = "clb-topic" }
```
Import ¶
CLB log topic can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_log_topic.topic lb-7a0t6zqb
Provides a resource to create a CLB redirection.
Example Usage ¶
Manual Rewrite ¶
```hcl
resource "tencentcloud_clb_redirection" "foo" { clb_id = "lb-p7olt9e5" source_listener_id = "lbl-jc1dx6ju" target_listener_id = "lbl-asj1hzuo" source_rule_id = "loc-ft8fmngv" target_rule_id = "loc-4xxr2cy7" }
```
Auto Rewrite ¶
```hcl
resource "tencentcloud_clb_redirection" "foo" { clb_id = "lb-p7olt9e5" target_listener_id = "lbl-asj1hzuo" target_rule_id = "loc-4xxr2cy7" is_auto_rewrite = true }
```
Import ¶
CLB redirection can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_redirection.foo loc-ft8fmngv#loc-4xxr2cy7#lbl-jc1dx6ju#lbl-asj1hzuo#lb-p7olt9e5 ```
Provides a resource to create a clb replace_cert_for_lbs
Example Usage ¶
Replace Server Cert By Cert ID ```hcl
resource "tencentcloud_clb_replace_cert_for_lbs" "replace_cert_for_lbs" { old_certificate_id = "zjUMifFK" certificate { cert_id = "6vcK02GC" } }
```
Replace Server Cert By Cert Content ```hcl
data "tencentcloud_ssl_certificates" "foo" { name = "keep-ssl-ca" }
resource "tencentcloud_clb_replace_cert_for_lbs" "replace_cert_for_lbs" { old_certificate_id = data.tencentcloud_ssl_certificates.foo.certificates.0.id certificate { cert_name = "tf-test-cert" cert_content = <<-EOT
-----BEGIN CERTIFICATE----- xxxxxxxxxxxxxxxxxxxxxxxxxxx -----END CERTIFICATE----- EOT
cert_key = <<-EOT
-----BEGIN RSA PRIVATE KEY----- xxxxxxxxxxxxxxxxxxxxxxxxxxxx -----END RSA PRIVATE KEY----- EOT
} }
```
Replace Client Cert By Cert Content ```hcl
resource "tencentcloud_clb_replace_cert_for_lbs" "replace_cert_for_lbs" { old_certificate_id = "zjUMifFK" certificate { cert_ca_name = "tf-test-cert" cert_ca_content = <<-EOT
-----BEGIN CERTIFICATE----- xxxxxxxxContentxxxxxxxxxxxxxx -----END CERTIFICATE----- EOT
} }
```
``` terraform import tencentcloud_clb_replace_cert_for_lbs.replace_cert_for_lbs replace_cert_for_lbs_id ```
Provides a resource to create a clb security_group_attachment
Example Usage ¶
```hcl
resource "tencentcloud_clb_security_group_attachment" "security_group_attachment" { security_group = "sg-ijato2x1" load_balancer_ids = ["lb-5dnrkgry"] }
```
Import ¶
clb security_group_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_clb_security_group_attachment.security_group_attachment security_group_id#clb_id ```
Provide a resource to create a SnatIp of CLB instance.
~> **NOTE:** Target CLB instance must enable `snat_pro` before creating snat ips. ~> **NOTE:** Dynamic allocate IP doesn't support for now.
Example Usage ¶
```hcl
resource "tencentcloud_clb_instance" "snat_test" { network_type = "OPEN" clb_name = "tf-clb-snat-test" }
resource "tencentcloud_clb_snat_ip" "foo" { clb_id = tencentcloud_clb_instance.snat_test.id ips { subnet_id = "subnet-12345678" ip = "172.16.0.1" } ips { subnet_id = "subnet-12345678" ip = "172.16.0.2" } }
```
Import ¶
ClbSnatIp instance can be imported by clb instance id, e.g. ``` $ terraform import tencentcloud_clb_snat_ip.test clb_id ```
Provides a resource to create a CLB target group.
Example Usage ¶
```hcl
resource "tencentcloud_clb_target_group" "test"{ target_group_name = "test" port = 33 }
```
Import ¶
CLB target group can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_target_group.test lbtg-3k3io0i0 ```
Provides a resource to create a CLB target group attachment is bound to the load balancing listener or forwarding rule.
Example Usage ¶
```hcl
resource "tencentcloud_clb_instance" "clb_basic" { network_type = "OPEN" clb_name = "tf-clb-rule-basic" }
resource "tencentcloud_clb_listener" "listener_basic" { clb_id = tencentcloud_clb_instance.clb_basic.id port = 1 protocol = "HTTP" listener_name = "listener_basic" }
resource "tencentcloud_clb_listener_rule" "rule_basic" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_id = tencentcloud_clb_listener.listener_basic.listener_id domain = "abc.com" url = "/" session_expire_time = 30 scheduler = "WRR" target_type = "TARGETGROUP" }
resource "tencentcloud_clb_target_group" "test"{ target_group_name = "test-target-keep-1" }
resource "tencentcloud_clb_target_group_attachment" "group" { clb_id = tencentcloud_clb_instance.clb_basic.id listener_id = tencentcloud_clb_listener.listener_basic.listener_id rule_id = tencentcloud_clb_listener_rule.rule_basic.rule_id target_group_id = tencentcloud_clb_target_group.test.id }
```
Import ¶
CLB target group attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_target_group_attachment.group lbtg-odareyb2#lbl-bicjmx3i#lb-cv0iz74c#loc-ac6uk7b6 ```
Provides a resource to create a CLB target group instance attachment.
Example Usage ¶
```hcl
data "tencentcloud_images" "my_favorite_image" { image_type = ["PUBLIC_IMAGE"] os_name = "centos" }
data "tencentcloud_instance_types" "my_favorite_instance_types" { filter { name = "instance-family" values = ["S3"] } cpu_core_count = 1 memory_size = 1 }
data "tencentcloud_availability_zones" "default" { }
resource "tencentcloud_vpc" "app" { cidr_block = "10.0.0.0/16" name = "awesome_app_vpc" }
resource "tencentcloud_subnet" "app" { vpc_id = tencentcloud_vpc.app.id availability_zone = data.tencentcloud_availability_zones.default.zones.0.name name = "awesome_app_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_instance" "my_awesome_app" { instance_name = "awesome_app" availability_zone = data.tencentcloud_availability_zones.default.zones.0.name image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id instance_type = data.tencentcloud_instance_types.my_favorite_instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.app.id subnet_id = tencentcloud_subnet.app.id internet_max_bandwidth_out = 20 data_disks { data_disk_type = "CLOUD_PREMIUM" data_disk_size = 50 encrypt = false } tags = { tagKey = "tagValue" } }
data "tencentcloud_instances" "foo" { instance_id = tencentcloud_instance.my_awesome_app.id }
resource "tencentcloud_clb_target_group" "test"{ target_group_name = "test" vpc_id = tencentcloud_vpc.app.id }
resource "tencentcloud_clb_target_group_instance_attachment" "test"{ target_group_id = tencentcloud_clb_target_group.test.id bind_ip = data.tencentcloud_instances.foo.instance_list[0].private_ip port = 222 weight = 3 }
```
Import ¶
CLB target group instance attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_clb_target_group_instance_attachment.test lbtg-3k3io0i0#172.16.48.18#222 ```
Provides a resource to create a clickhouse account ¶
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_account" "account" { instance_id = "cdwch-xxxxxx" user_name = "test" password = "xxxxxx" describe = "xxxxxx" }
```
Import ¶
clickhouse account can be imported using the id, e.g.
``` terraform import tencentcloud_clickhouse_account.account ${instance_id}#${user_name} ```
Provides a resource to create a clickhouse account_permission
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_account_permission" "account_permission_all_database" { instance_id = "cdwch-xxxxxx" cluster = "default_cluster" user_name = "user1" all_database = true global_privileges = ["SELECT", "ALTER"] }
resource "tencentcloud_clickhouse_account_permission" "account_permission_not_all_database" { instance_id = "cdwch-xxxxxx" cluster = "default_cluster" user_name = "user2" all_database = false database_privilege_list { database_name = "xxxxxx" database_privileges = ["SELECT", "ALTER"] } }
```
Import ¶
clickhouse account_permission can be imported using the id, e.g.
``` terraform import tencentcloud_clickhouse_account_permission.account_permission ${instanceId}#${cluster}#${userName} ```
Provides a resource to open clickhouse backup ¶
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_backup" "backup" { instance_id = "cdwch-xxxxxx" cos_bucket_name = "xxxxxx" }
```
Import ¶
clickhouse backup can be imported using the id, e.g.
``` terraform import tencentcloud_clickhouse_backup.backup instance_id ```
Provides a resource to create a clickhouse backup strategy ¶
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_backup" "backup" { instance_id = "cdwch-xxxxxx" cos_bucket_name = "xxxxxx" }
resource "tencentcloud_clickhouse_backup_strategy" "backup_strategy" { instance_id = "cdwch-xxxxxx" data_backup_strategy { week_days = "3" retain_days = 2 execute_hour = 1 back_up_tables { database = "iac" table = "my_table" total_bytes = 0 v_cluster = "default_cluster" ips = "10.0.0.35" } } meta_backup_strategy { week_days = "1" retain_days = 2 execute_hour = 3 } }
```
Import ¶
clickhouse backup_strategy can be imported using the id, e.g.
``` terraform import tencentcloud_clickhouse_backup_strategy.backup_strategy instance_id ```
Provides a resource to delete a clickhouse back up data ¶
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_delete_backup_data" "delete_back_up_data" { instance_id = "cdwch-xxxxxx" back_up_job_id = 1234 }
```
Provides a resource to create a clickhouse instance.
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_instance" "cdwch_instance" { zone="ap-guangzhou-6" ha_flag=true vpc_id="vpc-xxxxxx" subnet_id="subnet-xxxxxx" product_version="21.8.12.29" data_spec { spec_name="SCH6" count=2 disk_size=300 } common_spec { spec_name="SCH6" count=3 disk_size=300 } charge_type="POSTPAID_BY_HOUR" instance_name="tf-test-clickhouse" }
```
PREPAID instance ¶
```hcl
resource "tencentcloud_clickhouse_instance" "cdwch_instance_prepaid" { zone="ap-guangzhou-6" ha_flag=true vpc_id="vpc-xxxxxx" subnet_id="subnet-xxxxxx" product_version="21.8.12.29" data_spec { spec_name="SCH6" count=2 disk_size=300 } common_spec { spec_name="SCH6" count=3 disk_size=300 } charge_type="PREPAID" renew_flag=1 time_span=1 instance_name="tf-test-clickhouse-prepaid" }
```
Import ¶
Clickhouse instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_clickhouse_instance.foo cdwch-xxxxxx ```
Provides a resource to recover a clickhouse back up ¶
Example Usage ¶
```hcl
resource "tencentcloud_clickhouse_recover_backup_job" "recover_backup_job" { instance_id = "cdwch-xxxxxx" back_up_job_id = 1234 }
```
Provides a resource to create a cls alarm ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_alarm" "alarm" { name = "terraform-alarm-test" alarm_notice_ids = [ "notice-0850756b-245d-4bc7-bb27-2a58fffc780b", ] alarm_period = 15 condition = "test" message_template = "{{.Label}}" status = true tags = { "createdBy" = "terraform" } trigger_count = 1 alarm_targets { end_time_offset = 0 logset_id = "33aaf0ae-6163-411b-a415-9f27450f68db" number = 1 query = "status:>500 | select count(*) as errorCounts" start_time_offset = -15 topic_id = "88735a07-bea4-4985-8763-e9deb6da4fad" } analysis { content = "__FILENAME__" name = "terraform" type = "field" config_info { key = "QueryIndex" value = "1" } } monitor_time { time = 1 type = "Period" } }
```
Import ¶
cls alarm can be imported using the id, e.g.
``` terraform import tencentcloud_cls_alarm.alarm alarm_id ```
Provides a resource to create a cls alarm_notice
Example Usage ¶
```hcl
resource "tencentcloud_cls_alarm_notice" "alarm_notice" { name = "terraform-alarm-notice-test" tags = { "createdBy" = "terraform" } type = "All" notice_receivers { index = 0 receiver_channels = [ "Sms", ] receiver_ids = [ 13478043, 15972111, ] receiver_type = "Uin" start_time = "00:00:00" end_time = "23:59:59" } }
```
Import ¶
cls alarm_notice can be imported using the id, e.g.
``` terraform import tencentcloud_cls_alarm_notice.alarm_notice alarm_notice_id ```
Provides a resource to create a cls ckafka_consumer
Example Usage ¶
```hcl
resource "tencentcloud_cls_ckafka_consumer" "ckafka_consumer" { compression = 1 need_content = true topic_id = "7e34a3a7-635e-4da8-9005-88106c1fde69" ckafka { instance_id = "ckafka-qzoeaqx8" instance_name = "ckafka-instance" topic_id = "topic-c6tm4kpm" topic_name = "name" vip = "172.16.112.23" vport = "9092" } content { enable_tag = true meta_fields = [ "__FILENAME__", "__HOSTNAME__", "__PKGID__", "__SOURCE__", "__TIMESTAMP__", ] tag_json_not_tiled = true timestamp_accuracy = 2 } }
```
Import ¶
cls ckafka_consumer can be imported using the id, e.g.
``` terraform import tencentcloud_cls_ckafka_consumer.ckafka_consumer topic_id ```
Provides a resource to create a cls config ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_config" "config" { name = "config_hello" output = "4d07fba0-b93e-4e0b-9a7f-d58542560bbb" path = "/var/log/kubernetes" log_type = "json_log" extract_rule { filter_key_regex { key = "key1" regex = "value1" } filter_key_regex { key = "key2" regex = "value2" } un_match_up_load_switch = true un_match_log_key = "config" backtracking = -1 } exclude_paths { type = "Path" value = "/data" } exclude_paths { type = "File" value = "/file" }
# user_define_rule = "" } ```
Import ¶
cls config can be imported using the id, e.g.
``` terraform import tencentcloud_cls_config.config config_id ```
Provides a resource to create a cls config attachment ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_config_attachment" "attach" { config_id = tencentcloud_cls_config.config.id group_id = "27752a9b-9918-440a-8ee7-9c84a14a47ed" }
Import ¶
cls config_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cls_config_attachment.attach config_id#group_id ```
```
Provides a resource to create a cls config extra ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_logset" "logset" { logset_name = "tf-config-extra-test" tags = { "test" = "test" } }
resource "tencentcloud_cls_topic" "topic" { auto_split = true logset_id = tencentcloud_cls_logset.logset.id max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test" } topic_name = "tf-config-extra-test" }
resource "tencentcloud_cls_machine_group" "group" { group_name = "tf-config-extra-test" service_logging = true auto_update = true update_end_time = "19:05:00" update_start_time = "17:05:00" machine_group_type { type = "ip" values = [ "192.168.1.1", "192.168.1.2", ] } }
resource "tencentcloud_cls_config_extra" "extra" { name = "helloworld-test" topic_id = tencentcloud_cls_topic.topic.id type = "container_file" log_type = "json_log" config_flag = "label_k8s" logset_id = tencentcloud_cls_logset.logset.id logset_name = tencentcloud_cls_logset.logset.logset_name topic_name = tencentcloud_cls_topic.topic.topic_name container_file { container = "nginx" file_pattern = "log" log_path = "/nginx" namespace = "default" workload { container = "nginx" kind = "deployment" name = "nginx" namespace = "default" } } group_id = tencentcloud_cls_machine_group.group.id }
```
Import ¶
cls config_extra can be imported using the id, e.g.
``` terraform import tencentcloud_cls_config_extra.config_extra config_extra_id ```
Provides a resource to create a cls cos_recharge
~> **NOTE:** This resource can not be deleted if you run `terraform destroy`.
Example Usage ¶
```hcl
resource "tencentcloud_cls_cos_recharge" "cos_recharge" { bucket = "cos-lock-1308919341" bucket_region = "ap-guangzhou" log_type = "minimalist_log" logset_id = "dd426d1a-95bc-4bca-b8c2-baa169261812" name = "cos_recharge_for_test" prefix = "test" topic_id = "7e34a3a7-635e-4da8-9005-88106c1fde69" extract_rule_info { backtracking = 0 is_gbk = 0 json_standard = 0 keys = [] metadata_type = 0 un_match_up_load_switch = false filter_key_regex { key = "__CONTENT__" regex = "dasd" } } }
```
Import ¶
cls cos_recharge can be imported using the id, e.g.
``` terraform import tencentcloud_cls_cos_recharge.cos_recharge topic_id#cos_recharge_id ```
Provides a resource to create a cls cos shipper.
Example Usage ¶
```hcl
resource "tencentcloud_cls_cos_shipper" "shipper" { bucket = "preset-scf-bucket-1308919341" interval = 300 max_size = 200 partition = "/%Y/%m/%d/%H/" prefix = "ap-guangzhou-fffsasad-1649734752" shipper_name = "ap-guangzhou-fffsasad-1649734752" topic_id = "4d07fba0-b93e-4e0b-9a7f-d58542560bbb" compress { format = "lzop" } content { format = "json" json { enable_tag = true meta_fields = [ "__FILENAME__", "__SOURCE__", "__TIMESTAMP__", ] } } }
```
Import ¶
cls cos shipper can be imported using the id, e.g.
``` $ terraform import tencentcloud_cls_cos_shipper.shipper 5d1b7b2a-c163-4c48-bb01-9ee00584d761 ```
Provides a resource to create a cls data_transform
Example Usage ¶
```hcl
resource "tencentcloud_cls_logset" "logset_src" { logset_name = "tf-example-src" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_cls_topic" "topic_src" { topic_name = "tf-example_src" logset_id = tencentcloud_cls_logset.logset_src.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_cls_logset" "logset_dst" { logset_name = "tf-example-dst" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_cls_topic" "topic_dst" { topic_name = "tf-example-dst" logset_id = tencentcloud_cls_logset.logset_dst.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_cls_data_transform" "data_transform" { func_type = 1 src_topic_id = tencentcloud_cls_topic.topic_src.id name = "iac-test-src" etl_content = "ext_sep(\"content\", \"f1, f2, f3\", sep=\",\", quote=\"\", restrict=False, mode=\"overwrite\")fields_drop(\"content\")" task_type = 3 enable_flag = 1 dst_resources { topic_id = tencentcloud_cls_topic.topic_dst.id alias = "iac-test-dst" } }
```
Import ¶
cls data_transform can be imported using the id, e.g.
``` terraform import tencentcloud_cls_data_transform.data_transform data_transform_id ```
Provides a resource to create a cls export ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_export" "export" { topic_id = "7e34a3a7-635e-4da8-9005-88106c1fde69" log_count = 2 query = "select count(*) as count" from = 1607499107000 to = 1607499108000 order = "desc" format = "json" }
```
Import ¶
cls export can be imported using the id, e.g.
``` terraform import tencentcloud_cls_export.export topic_id#export_id ```
Provides a resource to create a cls index.
Example Usage ¶
```hcl
resource "tencentcloud_cls_index" "index" { topic_id = "0937e56f-4008-49d2-ad2d-69c52a9f11cc" rule { full_text { case_sensitive = true tokenizer = "@&?|#()='\",;:<>[]{}/ \n\t\r\\" contain_z_h = true } key_value { case_sensitive = true key_values { key = "hello" value { contain_z_h = true sql_flag = true tokenizer = "@&?|#()='\",;:<>[]{}/ \n\t\r\\" type = "text" } } key_values { key = "world" value { contain_z_h = true sql_flag = true tokenizer = "@&?|#()='\",;:<>[]{}/ \n\t\r\\" type = "text" } } } tag { case_sensitive = true key_values { key = "terraform" value { contain_z_h = true sql_flag = true tokenizer = "@&?|#()='\",;:<>[]{}/ \n\t\r\\" type = "text" } } } } status = true include_internal_fields = true metadata_flag = 1 }
```
Import ¶
cls cos index can be imported using the id, e.g.
``` $ terraform import tencentcloud_cls_index.index 0937e56f-4008-49d2-ad2d-69c52a9f11cc ```
Provides a resource to create a cls kafka_recharge
Example Usage ¶
```hcl
resource "tencentcloud_cls_logset" "logset" { logset_name = "tf-example-logset" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_cls_topic" "topic" { topic_name = "tf-example-topic" logset_id = tencentcloud_cls_logset.logset.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_cls_kafka_recharge" "kafka_recharge" { topic_id = tencentcloud_cls_topic.topic.id name = "tf-example-recharge" kafka_type = 0 offset = -2 is_encryption_addr =true user_kafka_topics = "recharge" kafka_instance = "ckafka-qzoeaqx8" log_recharge_rule { recharge_type = "json_log" encoding_format = 0 default_time_switch = true } }
```
Import ¶
cls kafka_recharge can be imported using the id, e.g.
``` terraform import tencentcloud_cls_kafka_recharge.kafka_recharge kafka_recharge_id ```
Provides a resource to create a cls logset ¶
Example Usage ¶
```hcl
resource "tencentcloud_cls_logset" "logset" { logset_name = "demo" tags = { "createdBy" = "terraform" } }
``` Import
cls logset can be imported using the id, e.g. ``` $ terraform import tencentcloud_cls_logset.logset logset_id ```
Provides a resource to create a cls machine group.
Example Usage ¶
```hcl
resource "tencentcloud_cls_machine_group" "group" { group_name = "group" service_logging = true tags = { "test" = "test1" } update_end_time = "19:05:40" update_start_time = "17:05:40" machine_group_type { type = "ip" values = [ "192.168.1.1", "192.168.1.2", ] } }
```
Import ¶
cls machine group can be imported using the id, e.g.
``` $ terraform import tencentcloud_cls_machine_group.group caf168e7-32cd-4ac6-bf89-1950a760e09c ```
Provides a resource to create a cls scheduled_sql
Example Usage ¶
```hcl
resource "tencentcloud_cls_logset" "logset" { logset_name = "tf-example-logset" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_cls_topic" "topic" { topic_name = "tf-example-topic" logset_id = tencentcloud_cls_logset.logset.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_cls_scheduled_sql" "scheduled_sql" { src_topic_id = tencentcloud_cls_topic.topic.id name = "tf-example-task" enable_flag = 1 dst_resource { topic_id = tencentcloud_cls_topic.topic.id region = "ap-guangzhou" biz_type = 0 metric_name = "test" } scheduled_sql_content = "xxx" process_start_time = 1690515360000 process_type = 1 process_period = 10 process_time_window = "@m-15m,@m" process_delay = 5 src_topic_region = "ap-guangzhou" process_end_time = 1690515360000 syntax_rule = 0 }
```
Import ¶
cls scheduled_sql can be imported using the id, e.g.
``` terraform import tencentcloud_cls_scheduled_sql.scheduled_sql scheduled_sql_id ```
Provides a resource to create a cls topic.
Example Usage ¶
```hcl
resource "tencentcloud_cls_topic" "topic" { topic_name = "topic" logset_id = "5cd3a17e-fb0b-418c-afd7-77b365397426" auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
```
Import ¶
cls topic can be imported using the id, e.g.
``` $ terraform import tencentcloud_cls_topic.topic 2f5764c1-c833-44c5-84c7-950979b2a278 ```
Provides a TencentCloud Container Cluster resource.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_kubernetes_cluster.
Example Usage ¶
```hcl
resource "tencentcloud_container_cluster" "foo" { cluster_name = "terraform-acc-test" cpu = 1 mem = 1 os_name = "ubuntu16.04.1 LTSx86_64" bandwidth = 1 bandwidth_type = "PayByHour" require_wan_ip = 1 subnet_id = "subnet-abcdabc" is_vpc_gateway = 0 storage_size = 0 root_size = 50 goods_num = 1 password = "Admin12345678" vpc_id = "vpc-abcdabc" cluster_cidr = "10.0.2.0/24" ignore_cluster_cidr_conflict = 0 cvm_type = "PayByHour" cluster_desc = "foofoofoo" period = 1 zone_id = 100004 instance_type = "S2.SMALL1" mount_target = "" docker_graph_path = "" instance_name = "bar-vm" cluster_version = "1.7.8" }
```
Provides a TencentCloud Container Cluster Instance resource.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_kubernetes_scale_worker.
Example Usage ¶
```hcl
resource "tencentcloud_container_cluster_instance" "bar_instance" { cpu = 1 mem = 1 bandwidth = 1 bandwidth_type = "PayByHour" require_wan_ip = 1 is_vpc_gateway = 0 storage_size = 10 root_size = 50 password = "Admin12345678" cvm_type = "PayByMonth" period = 1 zone_id = 100004 instance_type = "CVM.S2" mount_target = "/data" docker_graph_path = "" subnet_id = "subnet-abcdedf" cluster_id = "cls-abcdef" }
```
Provides a resource to create a cos bucket batch.
Example Usage ¶
```hcl
resource "tencentcloud_cos_batch" "cos_batch" { uin = "100022975249" appid = "1308919341" confirmation_required = true description = "cos_batch" priority = 1 status = "Cancelled" role_arn = "qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole" manifest { location { etag = "64357de8fd75a3abae2200135a2c9627" object_arn = "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json" } spec { format = "COSInventoryReport_CSV_V1" } } operation { cos_put_object_copy { access_control_directive = "Copy" metadata_directive = "Copy" prefix_replace = false storage_class = "STANDARD" tagging_directive = "Copy" target_resource = "qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341" } } report { bucket = "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341" enabled = "true" format = "Report_CSV_V1" report_scope = "AllTasks" } }
```
Import ¶
cos bucket batch can be imported using the id, e.g.
``` $ terraform import tencentcloud_cos_batch.cos_batch ${uin}#${appid}#{job_id} ```
Provides a COS resource to create a COS bucket and set its attributes.
Example Usage ¶
Private Bucket ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "private_sbucket" { bucket = "private-bucket-${local.app_id}" acl = "private" }
```
Creation of multiple available zone bucket ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "multi_zone_bucket" { bucket = "multi-zone-bucket-${local.app_id}" acl = "private" multi_az = true versioning_enable = true force_clean = true }
```
Using verbose acl ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "bucket_with_acl" { bucket = "bucketwith-acl-${local.app_id}" # NOTE: Specify the acl_body by the priority sequence of permission and user type with the following sequence: `CanonicalUser with READ`, `CanonicalUser with WRITE`, `CanonicalUser with FULL_CONTROL`, `CanonicalUser with WRITE_ACP`, `CanonicalUser with READ_ACP`, then specify the `Group` of permissions same as `CanonicalUser`. acl_body = <<EOF
<AccessControlPolicy>
<Owner> <ID>qcs::cam::uin/100022975249:uin/100022975249</ID> <DisplayName>qcs::cam::uin/100022975249:uin/100022975249</DisplayName> </Owner> <AccessControlList> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"> <URI>http://cam.qcloud.com/groups/global/AllUsers</URI> </Grantee> <Permission>READ</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> <ID>qcs::cam::uin/100022975249:uin/100022975249</ID> <DisplayName>qcs::cam::uin/100022975249:uin/100022975249</DisplayName> </Grantee> <Permission>FULL_CONTROL</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> <ID>qcs::cam::uin/100022975249:uin/100022975249</ID> <DisplayName>qcs::cam::uin/100022975249:uin/100022975249</DisplayName> </Grantee> <Permission>WRITE_ACP</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"> <URI>http://cam.qcloud.com/groups/global/AllUsers</URI> </Grantee> <Permission>READ_ACP</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"> <URI>http://cam.qcloud.com/groups/global/AllUsers</URI> </Grantee> <Permission>WRITE_ACP</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> <ID>qcs::cam::uin/100022975249:uin/100022975249</ID> <DisplayName>qcs::cam::uin/100022975249:uin/100022975249</DisplayName> </Grantee> <Permission>READ</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> <ID>qcs::cam::uin/100022975249:uin/100022975249</ID> <DisplayName>qcs::cam::uin/100022975249:uin/100022975249</DisplayName> </Grantee> <Permission>WRITE</Permission> </Grant> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"> <URI>http://cam.qcloud.com/groups/global/AllUsers</URI> </Grantee> <Permission>FULL_CONTROL</Permission> </Grant> </AccessControlList>
</AccessControlPolicy> EOF } ```
Static Website ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "bucket_with_static_website" { bucket = "bucket-with-static-website-${local.app_id}" website { index_document = "index.html" error_document = "error.html" } }
output "endpoint_test" { value = tencentcloud_cos_bucket.bucket_with_static_website.website.0.endpoint }
```
Using CORS ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "bucket_with_cors" { bucket = "bucket-with-cors-${local.app_id}" acl = "public-read-write" cors_rules { allowed_origins = ["http://*.abc.com"] allowed_methods = ["PUT", "POST"] allowed_headers = ["*"] max_age_seconds = 300 expose_headers = ["Etag"] } }
```
Using object lifecycle ¶
```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id }
resource "tencentcloud_cos_bucket" "bucket_with_lifecycle" { bucket = "bucket-with-lifecycle-${local.app_id}" acl = "public-read-write" lifecycle_rules { filter_prefix = "path1/" transition { days = 30 storage_class = "STANDARD_IA" } expiration { days = 90 } } }
```
Using replication ```hcl data "tencentcloud_user_info" "info" {}
locals { app_id = data.tencentcloud_user_info.info.app_id uin = data.tencentcloud_user_info.info.uin owner_uin = data.tencentcloud_user_info.info.owner_uin region = "ap-guangzhou" }
resource "tencentcloud_cos_bucket" "bucket_replicate" { bucket = "bucket-replicate-${local.app_id}" acl = "private" versioning_enable = true }
resource "tencentcloud_cos_bucket" "bucket_with_replication" { bucket = "bucket-with-replication-${local.app_id}" acl = "private" versioning_enable = true replica_role = "qcs::cam::uin/${local.owner_uin}:uin/${local.uin}" replica_rules { id = "test-rep1" status = "Enabled" prefix = "dist" destination_bucket = "qcs::cos:${local.region}::${tencentcloud_cos_bucket.bucket_replicate.bucket}" } }
```
Import ¶
COS bucket can be imported, e.g.
``` $ terraform import tencentcloud_cos_bucket.bucket bucket-name ```
Provides a resource to attach/detach the corresponding certificate for the domain name in specified cos bucket.
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_domain_certificate_attachment" "foo" { bucket = "" domain_certificate { domain = "domain_name" certificate { cert_type = "CustomCert" custom_cert { cert = "===CERTIFICATE===" private_key = "===PRIVATE_KEY===" } } } }
```
Provides a resource to generate a cos bucket inventory immediately ¶
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_generate_inventory_immediately_operation" "generate_inventory_immediately" { inventory_id = "test" bucket = "keep-test-xxxxxx" }
```
Provides a resource to create a cos bucket_inventory
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_inventory" "bucket_inventory" { name = "test123" bucket = "keep-test-xxxxxx" is_enabled = "true" included_object_versions = "Current" optional_fields { fields = ["Size", "ETag"] } filter { period { start_time = "1687276800" } } schedule { frequency = "Weekly" } destination { bucket = "qcs::cos:ap-guangzhou::keep-test-xxxxxx" account_id = "" format = "CSV" prefix = "cos_bucket_inventory" } }
```
Import ¶
cos bucket_inventory can be imported using the id, e.g.
``` terraform import tencentcloud_cos_bucket_inventory.bucket_inventory bucket_inventory_id ```
Provides a COS object resource to put an object(content or file) to the bucket.
Example Usage ¶
Uploading a file to a bucket ¶
```hcl
resource "tencentcloud_cos_bucket_object" "myobject" { bucket = "mycos-1258798060" key = "new_object_key" source = "path/to/file" }
```
Uploading a content to a bucket ¶
```hcl
resource "tencentcloud_cos_bucket" "mycos" { bucket = "mycos-1258798060" acl = "public-read" }
resource "tencentcloud_cos_bucket_object" "myobject" { bucket = tencentcloud_cos_bucket.mycos.bucket key = "new_object_key" content = "the content that you want to upload." }
```
Provides a COS resource to create a COS bucket policy and set its attributes.
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_policy" "cos_policy" { bucket = "mycos-1258798060" policy = <<EOF
{ "version": "2.0", "Statement": [ { "Principal": { "qcs": [ "qcs::cam::uin/<your-account-id>:uin/<your-account-id>" ] }, "Action": [ "name/cos:DeleteBucket", "name/cos:PutBucketACL" ], "Effect": "allow", "Resource": [ "qcs::cos:<bucket region>:uid/<your-account-id>:<bucket name>/*" ] } ] }
EOF } ```
Import ¶
COS bucket policy can be imported, e.g.
``` $ terraform import tencentcloud_cos_bucket_policy.bucket bucket-name ```
Provides a resource to create a cos bucket_referer
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_referer" "bucket_referer" { bucket = "mycos-1258798060" status = "Enabled" referer_type = "Black-List" domain_list = ["127.0.0.1", "terraform.com"] empty_refer_configuration = "Allow" }
```
Import ¶
cos bucket_referer can be imported using the id, e.g.
``` terraform import tencentcloud_cos_bucket_referer.bucket_referer bucket_id ```
Provides a resource to create a cos bucket_version
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket_version" "bucket_version" { bucket = "mycos-1258798060" status = "Enabled" }
```
Import ¶
cos bucket_version can be imported using the id, e.g.
``` terraform import tencentcloud_cos_bucket_version.bucket_version bucket_id ```
Provides a resource to abort multipart upload ¶
Example Usage ¶
```hcl
resource "tencentcloud_cos_object_abort_multipart_upload_operation" "abort_multipart_upload" { bucket = "keep-test-xxxxxx" key = "object" upload_id = "xxxxxx" }
```
Provides a resource to copy object ¶
Example Usage ¶
```hcl
resource "tencentcloud_cos_object_copy_operation" "object_copy" { bucket = "keep-copy-xxxxxxx" key = "copy-acl.txt" source_url = "keep-test-xxxxxx.cos.ap-guangzhou.myqcloud.com/acl.txt" }
```
Provides a resource to download object ¶
Example Usage ¶
```hcl
resource "tencentcloud_cos_object_download_operation" "object_download" { bucket = "xxxxxxx" key = "test.txt" download_path = "/tmp/test.txt" }
```
Provides a resource to restore object ¶
Example Usage ¶
```hcl
resource "tencentcloud_cos_object_restore_operation" "object_restore" { bucket = "keep-test-1308919341" key = "test-restore.txt" tier = "Expedited" days = 2 }
```
Provides a resource to verify the domain ownership by specified way when DomainNeedVerifyOwner failed in domain creation.
Example Usage dnsCheck way: ```hcl
resource "tencentcloud_css_authenticate_domain_owner_operation" "dnsCheck" { domain_name = "your_domain_name" verify_type = "dnsCheck" }
```
fileCheck way: ```hcl
resource "tencentcloud_css_authenticate_domain_owner_operation" "fileCheck" { domain_name = "your_domain_name" verify_type = "fileCheck" }
```
Provides a resource to create a css backup_stream
~> **NOTE:** This resource is only valid when the push stream. When the push stream ends, it will be deleted.
Example Usage ¶
```hcl
resource "tencentcloud_css_backup_stream" "backup_stream" { push_domain_name = "177154.push.tlivecloud.com" app_name = "live" stream_name = "1308919341_test" upstream_sequence = "2209501773993286139" }
```
Import ¶
css backup_stream can be imported using the id, e.g.
``` terraform import tencentcloud_css_backup_stream.backup_stream pushDomainName#appName#streamName ```
Provides a resource to create a css callback_rule
Example Usage ¶
```hcl
resource "tencentcloud_css_callback_rule_attachment" "callback_rule" { domain_name = "177154.push.tlivecloud.com" template_id = 434039 app_name = "live" }
```
Import ¶
css callback_rule can be imported using the id, e.g.
``` terraform import tencentcloud_css_callback_rule_attachment.callback_rule templateId#domainName ```
Provides a resource to create a css callback_template
Example Usage ¶
```hcl
resource "tencentcloud_css_callback_template" "callback_template" { template_name = "tf-test" description = "this is demo" stream_begin_notify_url = "http://www.yourdomain.com/api/notify?action=streamBegin" stream_end_notify_url = "http://www.yourdomain.com/api/notify?action=streamEnd" record_notify_url = "http://www.yourdomain.com/api/notify?action=record" snapshot_notify_url = "http://www.yourdomain.com/api/notify?action=snapshot" porn_censorship_notify_url = "http://www.yourdomain.com/api/notify?action=porn" callback_key = "adasda131312" push_exception_notify_url = "http://www.yourdomain.com/api/notify?action=pushException" }
```
Import ¶
css callback_template can be imported using the id, e.g.
``` terraform import tencentcloud_css_callback_template.callback_template templateId ```
Provides a resource to create a css domain ¶
Example Usage ¶
```hcl
resource "tencentcloud_css_domain" "domain" { domain_name = "iac-tf.cloud" domain_type = 0 play_type = 1 is_delay_live = 0 is_mini_program_live = 0 verify_owner_type = "dbCheck" }
```
Import ¶
css domain can be imported using the id, e.g.
``` terraform import tencentcloud_css_domain.domain domain_name ```
Provides a resource to create a css domain_referer
Example Usage ¶
```hcl
resource "tencentcloud_css_domain_referer" "domain_referer" { allow_empty = 1 domain_name = "test122.jingxhu.top" enable = 0 rules = "example.com" type = 1 }
```
Import ¶
css domain_referer can be imported using the id, e.g.
``` terraform import tencentcloud_css_domain_referer.domain_referer domainName ```
Provides a resource to create a css enable_optimal_switching
~> **NOTE:** This resource is only valid when the push stream. When the push stream ends, it will be deleted.
Example Usage ¶
```hcl
resource "tencentcloud_css_enable_optimal_switching" "enable_optimal_switching" { stream_name = "1308919341_test" enable_switch = 1 host_group_name = "test-group" }
```
Import ¶
css domain can be imported using the id, e.g.
``` terraform import tencentcloud_css_enable_optimal_switching.enable_optimal_switching streamName ```
Provides a resource to create a css live_transcode_rule_attachment
Example Usage ¶
```hcl
resource "tencentcloud_css_pull_stream_task" "task" { source_type = "%s" source_urls = ["%s"] domain_name = "%s" app_name = "%s" stream_name = "%s" start_time = "%s" end_time = "%s" operator = "%s" comment = "This is a demo." }
resource "tencentcloud_css_live_transcode_template" "temp" { template_name = "xxx" acodec = "aac" video_bitrate = 100 vcodec = "origin" description = "This_is_a_tf_test_temp." need_video = 1 need_audio = 1 }
resource "tencentcloud_css_live_transcode_rule_attachment" "live_transcode_rule_attachment" { domain_name = tencentcloud_css_pull_stream_task.task.domain_name app_name = tencentcloud_css_pull_stream_task.task.app_name stream_name = tencentcloud_css_pull_stream_task.task.stream_name template_id = tencentcloud_css_live_transcode_template.temp.id }
``` Import
css live_transcode_rule_attachment can be imported using the id, e.g. ``` $ terraform import tencentcloud_css_live_transcode_rule_attachment.live_transcode_rule_attachment liveTranscodeRuleAttachment_id ```
Provides a resource to create a css live_transcode_template
Example Usage ¶
```hcl
resource "tencentcloud_css_live_transcode_template" "live_transcode_template" { template_name = "template_name" acodec = "aac" audio_bitrate = 128 video_bitrate = 100 vcodec = "origin" description = "This_is_a_tf_test_temp." need_video = 1 width = 0 need_audio = 1 height = 0 fps = 0 gop = 2 rotate = 0 profile = "baseline" bitrate_to_orig = 0 height_to_orig = 0 fps_to_orig = 0 ai_trans_code = 0 adapt_bitrate_percent = 0 short_edge_as_height = 0 drm_type = "fairplay" drm_tracks = "SD" }
``` Import
css live_transcode_template can be imported using the id, e.g. ``` $ terraform import tencentcloud_css_live_transcode_template.live_transcode_template liveTranscodeTemplate_id ```
Provides a resource to create a css pad_rule_attachment
Example Usage ¶
```hcl
resource "tencentcloud_css_pad_rule_attachment" "pad_rule_attachment" { domain_name = "177154.push.tlivecloud.com" template_id = 17067 app_name = "qqq" stream_name = "ppp" }
```
Import ¶
css pad_rule_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_css_pad_rule_attachment.pad_rule_attachment templateId#domainName ```
Provides a resource to create a css pad_template
Example Usage ¶
```hcl
resource "tencentcloud_css_pad_template" "pad_template" { description = "pad template" max_duration = 120000 template_name = "tf-pad" type = 1 url = "https://livewatermark-1251132611.cos.ap-guangzhou.myqcloud.com/1308919341/watermark_img_1698736540399_1441698123618_.pic.jpg" wait_duration = 2000 }
```
Import ¶
css pad_template can be imported using the id, e.g.
``` terraform import tencentcloud_css_pad_template.pad_template templateId ```
Provides a resource to create a css play_auth_key_config
Example Usage ¶
```hcl
resource "tencentcloud_css_play_auth_key_config" "play_auth_key_config" { domain_name = "your_play_domain_name" enable = 1 auth_key = "testauthkey" auth_delta = 3600 auth_back_key = "testbackkey" }
```
Import ¶
css play_auth_key_config can be imported using the id, e.g.
``` terraform import tencentcloud_css_play_auth_key_config.play_auth_key_config play_auth_key_config_id ```
Provides a resource to create a css play_domain_cert_attachment. This resource is used for binding the play domain and specified certification together.
Example Usage ¶
```hcl
data "tencentcloud_ssl_certificates" "foo" { name = "your_ssl_cert" }
resource "tencentcloud_css_play_domain_cert_attachment" "play_domain_cert_attachment" { cloud_cert_id = data.tencentcloud_ssl_certificates.foo.certificates.0.id domain_info { domain_name = "your_domain_name" status = 1 } }
```
Import ¶
css play_domain_cert_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_css_play_domain_cert_attachment.play_domain_cert_attachment domainName#cloudCertId ```
Provides a resource to create a css pull_stream_task
Example Usage ¶
```hcl
resource "tencentcloud_css_pull_stream_task" "pull_stream_task" { source_type = "source_type" source_urls = ["source_urls"] domain_name = "domain_name" app_name = "app_name" stream_name = "stream_name" start_time = "2022-11-16T22:09:28Z" end_time = "2022-11-16T22:09:28Z" operator = "admin" comment = "comment." }
``` Import
css pull_stream_task can be imported using the id, e.g. ``` $ terraform import tencentcloud_css_pull_stream_task.pull_stream_task pullStreamTask_id ```
Provides a resource to create a css push_auth_key_config
Example Usage ¶
```hcl
resource "tencentcloud_css_push_auth_key_config" "push_auth_key_config" { domain_name = "your_push_domain_name" enable = 1 master_auth_key = "testmasterkey" backup_auth_key = "testbackkey" auth_delta = 1800 }
```
Import ¶
css push_auth_key_config can be imported using the id, e.g.
``` terraform import tencentcloud_css_push_auth_key_config.push_auth_key_config push_auth_key_config_id ```
Provides a resource to create a css record_rule
Example Usage ¶
```hcl
resource "tencentcloud_css_record_rule_attachment" "record_rule" { domain_name = "177154.push.tlivecloud.com" template_id = 1262818 app_name = "qqq" stream_name = "ppp" }
```
Import ¶
css record_rule can be imported using the id, e.g.
``` terraform import tencentcloud_css_record_rule_attachment.record_rule templateId#domainName ```
Provides a resource to create a css record_template
Example Usage ¶
```hcl
resource "tencentcloud_css_record_template" "record_template" { template_name = "demo" description = "this is demo" flv_param { record_interval = 30 storage_time = 2 enable = 0 vod_sub_app_id = 123 vod_file_name = "demo" procedure = "" storage_mode = "Normal" class_id = 123 } hls_param { record_interval = 40 storage_time = 2 enable = 1 vod_sub_app_id = 123 vod_file_name = "test" procedure = "" storage_mode = "Cold" class_id = 123 } mp4_param { record_interval = 45 storage_time = 56 enable = 0 vod_sub_app_id = 234 vod_file_name = "test" procedure = "" storage_mode = "Cold" class_id = 123 } aac_param { record_interval = 5678 storage_time = 1234 enable = 1 vod_sub_app_id = 123 vod_file_name = "test" procedure = "" storage_mode = "Normal" class_id = 123 } is_delay_live = 1 hls_special_param { flow_continue_duration = 1200 } mp3_param { record_interval = 100 storage_time = 100 enable = 1 vod_sub_app_id = 123 vod_file_name = "test" procedure = "" storage_mode = "Normal" class_id = 123 } remove_watermark = true flv_special_param { upload_in_recording = true } }
```
Import ¶
css record_template can be imported using the id, e.g.
``` terraform import tencentcloud_css_record_template.record_template templateId ```
Provides a resource to create a css snapshot_rule
Example Usage ¶
```hcl
resource "tencentcloud_css_snapshot_rule_attachment" "snapshot_rule" { domain_name = "177154.push.tlivecloud.com" template_id = 12838073 app_name = "qqq" stream_name = "ppp" }
```
Import ¶
css snapshot_rule can be imported using the id, e.g.
``` terraform import tencentcloud_css_snapshot_rule_attachment.snapshot_rule templateId#domainName ```
Provides a resource to create a css snapshot_template
Example Usage ¶
```hcl
resource "tencentcloud_css_snapshot_template" "snapshot_template" { cos_app_id = 1308919341 cos_bucket = "keep-bucket" cos_region = "ap-guangzhou" description = "snapshot template" height = 0 porn_flag = 0 snapshot_interval = 2 template_name = "tf-snapshot-template" width = 0 }
```
Import ¶
css snapshot_template can be imported using the id, e.g.
``` terraform import tencentcloud_css_snapshot_template.snapshot_template templateId ```
Provides a resource to create a css stream_monitor
Example Usage ¶
```hcl
resource "tencentcloud_css_stream_monitor" "stream_monitor" { ai_asr_input_index_list = [ 1, ] ai_format_diagnose = 1 ai_ocr_input_index_list = [ 1, ] allow_monitor_report = 1 asr_language = 1 check_stream_broken = 1 check_stream_low_frame_rate = 1 monitor_name = "test" ocr_language = 1 input_list { input_app = "live" input_domain = "177154.push.tlivecloud.com" input_stream_name = "ppp" } notify_policy { callback_url = "http://example.com/test" notify_policy_type = 1 } output_info { output_domain = "test122.jingxhu.top" output_stream_height = 1080 output_stream_name = "afc7847d-1fe1-43bc-b1e4-20d86303c393" output_stream_width = 1920 } }
```
Import ¶
css stream_monitor can be imported using the id, e.g.
``` terraform import tencentcloud_css_stream_monitor.stream_monitor stream_monitor_id ```
Provides a resource to create a css timeshift_rule_attachment
Example Usage ¶
```hcl
resource "tencentcloud_css_timeshift_rule_attachment" "timeshift_rule_attachment" { domain_name = "177154.push.tlivecloud.com" template_id = 252586 app_name = "qqq" stream_name = "ppp" }
```
Import ¶
css timeshift_rule_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_css_timeshift_rule_attachment.timeshift_rule_attachment templateId#domainName ```
Provides a resource to create a css timeshift_template
Example Usage ¶
```hcl
resource "tencentcloud_css_timeshift_template" "timeshift_template" { area = "Mainland" description = "timeshift template" duration = 604800 item_duration = 5 remove_watermark = true template_name = "tf-test" transcode_template_ids = [] }
```
Import ¶
css timeshift_template can be imported using the id, e.g.
``` terraform import tencentcloud_css_timeshift_template.timeshift_template templateId ```
Provides a resource to create a css watermark ¶
Example Usage ¶
```hcl
resource "tencentcloud_css_watermark" "watermark" { picture_url = "picture_url" watermark_name = "watermark_name" x_position = 0 y_position = 0 width = 0 height = 0 }
``` Import
css watermark can be imported using the id, e.g. ``` $ terraform import tencentcloud_css_watermark.watermark watermark_id ```
Provides a resource to create a css watermark_rule
Example Usage ¶
Binding watermark rule with a css stream ¶
```hcl
resource "tencentcloud_css_pull_stream_task" "example" { stream_name = "tf_example_stream_name" source_type = "PullLivePushLive" source_urls = ["rtmp://xxx.com/live/stream"] domain_name = "test.domain.com" app_name = "live" start_time = "2023-09-27T10:28:21Z" end_time = "2023-09-27T17:28:21Z" operator = "tf_admin" comment = "This is a e2e test case." }
resource "tencentcloud_css_watermark" "example" { picture_url = "picture_url" watermark_name = "watermark_name" x_position = 0 y_position = 0 width = 0 height = 0 }
resource "tencentcloud_css_watermark_rule_attachment" "watermark_rule_attachment" { domain_name = tencentcloud_css_pull_stream_task.example.domain_name app_name = tencentcloud_css_pull_stream_task.example.app_name stream_name = tencentcloud_css_pull_stream_task.example.stream_name template_id = tencentcloud_css_watermark.example.id }
```
Import ¶
css watermark_rule_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_css_watermark_rule_attachment.watermark_rule domain_name#app_name#stream_name#template_id ```
Provides a resource to create a cvm chc_config
Example Usage ¶
```hcl
resource "tencentcloud_cvm_chc_config" "chc_config" { chc_id = "chc-xxxxxx" instance_name = "xxxxxx" bmc_user = "admin" password = "xxxxxx" bmc_virtual_private_cloud { vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" } bmc_security_group_ids = ["sg-xxxxxx"] deploy_virtual_private_cloud { vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" } deploy_security_group_ids = ["sg-xxxxxx"] }
```
Import ¶
cvm chc_config can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_chc_config.chc_config chc_config_id ```
Provides a resource to create a cvm export_images
Example Usage ¶
```hcl
resource "tencentcloud_cvm_export_images" "export_images" { bucket_name = "xxxxxx" image_id = "img-xxxxxx" file_name_prefix = "test-" }
```
Provides a resource to create a cvm hpc_cluster
Example Usage ¶
```hcl
resource "tencentcloud_cvm_hpc_cluster" "hpc_cluster" { zone = "ap-beijing-6" name = "terraform-test" remark = "create for test" }
```
Import ¶
cvm hpc_cluster can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_hpc_cluster.hpc_cluster hpc_cluster_id ```
Provides a resource to create a cvm image_share_permission
Example Usage ¶
```hcl
resource "tencentcloud_cvm_image_share_permission" "image_share_permission" { image_id = "img-xxxxxx" account_ids = ["xxxxxx"] }
```
Import ¶
cvm image_share_permission can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_image_share_permission.image_share_permission image_share_permission_id ```
Provides a resource to create a cvm import_image
Example Usage ¶
```hcl
resource "tencentcloud_cvm_import_image" "import_image" { architecture = "x86_64" os_type = "CentOS" os_version = "7" image_url = "" image_name = "sample" image_description = "sampleimage" dry_run = false force = false tag_specification { resource_type = "image" tags { key = "tagKey" value = "tagValue" } } license_type = "TencentCloud" boot_mode = "Legacy BIOS" tags = { "createdBy" = "terraform" } }
```
Import ¶
cvm import_image can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_import_image.import_image import_image_id ```
Provides a resource to create a cvm launch template ¶
Example Usage ¶
```hcl
data "tencentcloud_images" "my_favorite_image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_cvm_launch_template" "demo" { launch_template_name = "test" placement { zone = "ap-guangzhou-6" project_id = 0 } image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id }
```
Provides a resource to create a cvm launch_template_default_version
Example Usage ¶
```hcl
resource "tencentcloud_cvm_launch_template_default_version" "launch_template_default_version" { launch_template_id = "lt-34vaef8fe" default_version = 2 }
```
Import ¶
cvm launch_template_default_version can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_launch_template_default_version.launch_template_default_version launch_template_id ```
Provides a resource to create a cvm launch_template_version
Example Usage ¶
```hcl
resource "tencentcloud_cvm_launch_template_version" "foo" { placement { zone = "ap-guangzhou-6" project_id = 0 } launch_template_id = "lt-r9ajalbi" launch_template_version_description = "version description" disable_api_termination = false instance_type = "S5.MEDIUM4" image_id = "img-9qrfy1xt" }
```
Import ¶
cvm launch_template_version can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_launch_template_version.launch_template_version ${launch_template_id}#${launch_template_version} ```
Provides a resource to create a cvm modify_instance_disk_type
Example Usage ¶
```hcl
resource "tencentcloud_cvm_modify_instance_disk_type" "modify_instance_disk_type" { instance_id = "ins-r8hr2upy" data_disks { disk_size = 50 disk_type = "CLOUD_BASIC" disk_id = "disk-hrsd0u81" delete_with_instance = true snapshot_id = "snap-r9unnd89" encrypt = false kms_key_id = "kms-abcd1234" throughput_performance = 2 cdc_id = "cdc-b9pbd3px" } system_disk { disk_type = "CLOUD_PREMIUM" disk_id = "disk-1drr53sd" disk_size = 50 cdc_id = "cdc-b9pbd3px" } }
```
Provides a resource to create a cvm program_fpga_image
Example Usage ¶
```hcl
resource "tencentcloud_cvm_program_fpga_image" "program_fpga_image" { instance_id = "ins-xxxxxx" fpga_url = "" dbd_fs = "" }
```
Import ¶
cvm program_fpga_image can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_program_fpga_image.program_fpga_image program_fpga_image_id ```
Provides a resource to create a cvm reboot_instance
Example Usage ¶
```hcl
resource "tencentcloud_cvm_reboot_instance" "reboot_instance" { instance_id = "ins-f9jr4bd2" stop_type = "SOFT_FIRST" }
```
Provides a resource to create a cvm renew_host
Example Usage ¶
```hcl
resource "tencentcloud_cvm_renew_host" "renew_host" { host_id = "xxxxxx" host_charge_prepaid { period = 1 renew_flag = "NOTIFY_AND_MANUAL_RENEW" } }
```
Provides a resource to create a cvm renew_instance
Example Usage ¶
```hcl
resource "tencentcloud_cvm_renew_instance" "renew_instance" { instance_ids = instance_charge_prepaid { period = 1 renew_flag = "NOTIFY_AND_AUTO_RENEW" } renew_portable_data_disk = true }
```
Provides a resource to create a cvm security_group_attachment
Example Usage ¶
```hcl
resource "tencentcloud_cvm_security_group_attachment" "security_group_attachment" { security_group_id = "sg-xxxxxxx" instance_id = "ins-xxxxxxxx" }
```
Import ¶
cvm security_group_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cvm_security_group_attachment.security_group_attachment ${instance_id}#${security_group_id} ```
Provides a resource to create a cvm sync_image
Example Usage ¶
```hcl
resource "tencentcloud_cvm_sync_image" "sync_image" { image_id = "img-xxxxxx" destination_regions =["ap-guangzhou", "ap-shanghai"] }
```
Provides a resource to create a cwp license_bind_attachment
Example Usage ¶
```hcl
data "tencentcloud_cwp_machines_simple" "example" { machine_type = "CVM" machine_region = "ap-guangzhou" project_ids = [1210293] filters { name = "Version" values = ["BASIC_VERSION"] exact_match = true } }
resource "tencentcloud_cwp_license_order" "example" { alias = "tf_example" license_type = 0 license_num = 1 region_id = 1 project_id = 0 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_cwp_license_bind_attachment" "example" { resource_id = tencentcloud_cwp_license_order.example.resource_id license_id = tencentcloud_cwp_license_order.example.license_id license_type = 0 quuid = data.tencentcloud_cwp_machines_simple.example.machines[0].quuid }
```
Import ¶
cwp license_bind_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cwp_license_bind_attachment.example cwplic-ab3edffa#44#2c7e5cce-1cec-4456-8d18-018f160dd987#0 ```
Provides a resource to create a cwp license_order
Example Usage ¶
```hcl
resource "tencentcloud_cwp_license_order" "example" { alias = "tf_example" license_type = 0 license_num = 1 region_id = 1 project_id = 0 tags = { "createdBy" = "terraform" } }
```
Import ¶
cwp license_order can be imported using the id, e.g.
``` terraform import tencentcloud_cwp_license_order.example cwplic-130715d2#1 ```
Provides a resource to create a cynosdb account ¶
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_account" "account" { cluster_id = "cynosdbmysql-bws8h88b" account_name = "terraform_test" account_password = "Password@1234" host = "%" description = "terraform test" max_user_connections = 2 }
```
Import ¶
cynosdb account can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_account.account account_id ```
Provides a resource to create a cynosdb account_privileges
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_account_privileges" "account_privileges" { cluster_id = "cynosdbmysql-bws8h88b" account_name = "test" host = "%" global_privileges = [ "CREATE", "DROP", "ALTER", "CREATE TEMPORARY TABLES", "CREATE VIEW" ] database_privileges { db = "users" privileges = [ "DROP", "REFERENCES", "INDEX", "CREATE VIEW", "INSERT", "EVENT" ] } table_privileges { db = "users" table_name = "tb_user_name" privileges = [ "ALTER", "REFERENCES", "SHOW VIEW" ] } }
```
Import ¶
cynosdb account_privileges can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_account_privileges.account_privileges account_privileges_id ```
Provides a resource to create a cynosdb audit_log_file
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_audit_log_file" "audit_log_file" { instance_id = "cynosdbmysql-ins-afqx1hy0" start_time = "2022-07-12 10:29:20" end_time = "2022-08-12 10:29:20" }
```
Provides a resource to create a cynosdb binlog_save_days
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_binlog_save_days" "binlog_save_days" { cluster_id = "cynosdbmysql-123" binlog_save_days = 7 }
```
Import ¶
cynosdb binlog_save_days can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_binlog_save_days.binlog_save_days binlog_save_days_id ```
Provide a resource to create a CynosDB cluster.
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_cluster" "foo" { available_zone = "ap-guangzhou-4" vpc_id = "vpc-h70b6b49" subnet_id = "subnet-q6fhy1mi" db_type = "MYSQL" db_version = "5.7" storage_limit = 1000 cluster_name = "tf-cynosdb" password = "cynos@123" instance_maintain_duration = 7200 instance_maintain_start_time = 10800 instance_maintain_weekdays = [ "Fri", "Mon", "Sat", "Sun", "Thu", "Wed", "Tue", ] instance_cpu_core = 1 instance_memory_size = 2 param_item { name = "character_set_server" current_value = "utf8mb4" } prarm_template_id = "12345" tags = { test = "test" } force_delete = false rw_group_sg = [ "sg-ibyjkl6r", ] ro_group_sg = [ "sg-ibyjkl6r", ] }
```
Import ¶
CynosDB cluster can be imported using the id, e.g.
``` $ terraform import tencentcloud_cynosdb_cluster.foo cynosdbmysql-dzj5l8gz ```
Provides a resource to create a cynosdb cluster_databases
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_cluster_databases" "cluster_databases" { cluster_id = "cynosdbmysql-bws8h88b" db_name = "terraform-test" character_set = "utf8" collate_rule = "utf8_general_ci" user_host_privileges { db_user_name = "root" db_host = "%" db_privilege = "READ_ONLY" } description = "terraform test" }
```
Import ¶
cynosdb cluster_databases can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_cluster_databases.cluster_databases cluster_databases_id ```
Provides a resource to create a cynosdb cluster_password_complexity
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_cluster_password_complexity" "cluster_password_complexity" { cluster_id = "cynosdbmysql-cgd2gpwr" validate_password_length = 8 validate_password_mixed_case_count = 1 validate_password_special_char_count = 1 validate_password_number_count = 1 validate_password_policy = "STRONG" validate_password_dictionary = [ "cccc", "xxxx", ] }
```
Import ¶
cynosdb cluster_password_complexity can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_cluster_password_complexity.cluster_password_complexity cluster_password_complexity_id ```
Provides a resource to create a cynosdb cluster_resource_packages_attachment
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_cluster_resource_packages_attachment" "cluster_resource_packages_attachment" { cluster_id = "cynosdbmysql-q1d8151n" package_ids = ["package-hy4d2ppl"] }
```
Import ¶
cynosdb cluster_resource_packages_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_cluster_resource_packages_attachment.cluster_resource_packages_attachment cluster_resource_packages_attachment_id ```
Provides a resource to create a cynosdb cluster slave zone.
Example Usage ¶
Set a new slave zone for a cynosdb cluster. ```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.gz3.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.gz3.instance_list.0.subnet_id sg_id = data.tencentcloud_security_groups.internal.security_groups.0.security_group_id sg_id2 = data.tencentcloud_security_groups.exclusive.security_groups.0.security_group_id }
variable "fixed_tags" { default = { fixed_resource: "do_not_remove" } }
variable "availability_zone" { default = "ap-guangzhou-4" }
variable "new_availability_zone" { default = "ap-guangzhou-6" }
variable "my_param_template" { default = "15765" }
data "tencentcloud_security_groups" "internal" { name = "default" tags = var.fixed_tags }
data "tencentcloud_security_groups" "exclusive" { name = "test_preset_sg" }
data "tencentcloud_vpc_subnets" "gz3" { availability_zone = var.default_az is_default = true }
resource "tencentcloud_cynosdb_cluster" "instance" { available_zone = var.availability_zone vpc_id = local.vpc_id subnet_id = local.subnet_id db_type = "MYSQL" db_version = "5.7" storage_limit = 1000 cluster_name = "tf_test_cynosdb_cluster_slave_zone" password = "cynos@123" instance_maintain_duration = 3600 instance_maintain_start_time = 10800 instance_maintain_weekdays = [ "Fri", "Mon", "Sat", "Sun", "Thu", "Wed", "Tue", ] instance_cpu_core = 1 instance_memory_size = 2 param_items { name = "character_set_server" current_value = "utf8" } param_items { name = "time_zone" current_value = "+09:00" } force_delete = true rw_group_sg = [ local.sg_id ] ro_group_sg = [ local.sg_id ] prarm_template_id = var.my_param_template }
resource "tencentcloud_cynosdb_cluster_slave_zone" "cluster_slave_zone" { cluster_id = tencentcloud_cynosdb_cluster.instance.id slave_zone = var.new_availability_zone }
```
Update the slave zone with specified value. ```
resource "tencentcloud_cynosdb_cluster_slave_zone" "cluster_slave_zone" { cluster_id = tencentcloud_cynosdb_cluster.instance.id slave_zone = var.availability_zone timeouts { create = "500s" } }
```
Import ¶
cynosdb cluster_slave_zone can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_cluster_slave_zone.cluster_slave_zone cluster_id#slave_zone ```
Provides a resource to create a cynosdb export_instance_error_logs
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_export_instance_error_logs" "export_instance_error_logs" { instance_id = "cynosdbmysql-ins-afqx1hy0" start_time = "2022-01-01 12:00:00" end_time = "2022-01-01 14:00:00" log_levels = ["note"] key_words = ["content"] file_type = "csv" order_by = "Timestamp" order_by_type = "ASC" }
```
Provides a resource to create a cynosdb export_instance_slow_queries
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_export_instance_slow_queries" "export_instance_slow_queries" { instance_id = "cynosdbmysql-ins-123" start_time = "2022-01-01 12:00:00" end_time = "2022-01-01 14:00:00" username = "root" host = "10.10.10.10" database = "db1" file_type = "csv" }
```
Provides a resource to create a cynosdb instance_param
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_instance_param" "instance_param" { cluster_id = "cynosdbmysql-bws8h88b" instance_id = "cynosdbmysql-ins-rikr6z4o" is_in_maintain_period = "no" instance_param_list { current_value = "0" param_name = "init_connect" } }
```
Provides a resource to create a cynosdb isolate_instance
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_account" "account" { cluster_id = "cynosdbmysql-bws8h88b" account_name = "terraform_test" account_password = "Password@1234" host = "%" description = "testx" max_user_connections = 2 }
```
Provides a resource to create a cynosdb param_template
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_param_template" "param_template" { db_mode = "SERVERLESS" engine_version = "5.7" template_description = "terraform-template" template_name = "terraform-template" param_list { current_value = "-1" param_name = "optimizer_trace_offset" } }
```
Provides a resource to create a cynosdb proxy ¶
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_proxy" "proxy" { cluster_id = "cynosdbmysql-bws8h88b" cpu = 2 mem = 4000 unique_vpc_id = "vpc-k1t8ickr" unique_subnet_id = "subnet-jdi5xn22" connection_pool_type = "SessionConnectionPool" open_connection_pool = "yes" connection_pool_time_out = 30 security_group_ids = ["sg-baxfiao5"] description = "desc sample" proxy_zones { proxy_node_zone = "ap-guangzhou-7" proxy_node_count = 2 } }
```
Provides a resource to create a cynosdb proxy_end_point
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
Set `vip` and `vport`
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.108" vport = "3306" instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
Open connection pool ¶
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.108" vport = "3306" connection_pool_type = "SessionConnectionPool" open_connection_pool = "yes" connection_pool_time_out = 30 instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
Close connection pool ¶
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.108" vport = "3306" open_connection_pool = "no" instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
if `rw_type` is `READWRITE`
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.108" vport = "3306" open_connection_pool = "no" fail_over = "yes" consistency_type = "global" rw_type = "READWRITE" consistency_time_out = 30 instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
if `rw_type` is `READONLY`
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.108" vport = "3306" open_connection_pool = "no" rw_type = "READONLY" instance_weights { instance_id = "cynosdbmysql-ins-rikr6z4o" weight = 1 } }
```
Comprehensive parameter examples ¶
```hcl
resource "tencentcloud_cynosdb_proxy_end_point" "proxy_end_point" { cluster_id = "cynosdbmysql-bws8h88b" unique_vpc_id = "vpc-4owdpnwr" unique_subnet_id = "subnet-dwj7ipnc" vip = "172.16.112.118" vport = "3306" connection_pool_type = "SessionConnectionPool" open_connection_pool = "yes" connection_pool_time_out = 30 security_group_ids = ["sg-7kpsbxdb"] description = "desc value" weight_mode = "system" auto_add_ro = "yes" fail_over = "yes" consistency_type = "global" rw_type = "READWRITE" consistency_time_out = 30 trans_split = true access_mode = "nearby" instance_weights { instance_id = "cynosdbmysql-ins-afqx1hy0" weight = 1 } }
```
Provides a resource to create a cynosdb read_only_instance_exclusive_access
Example Usage ¶
```hcl
variable "cynosdb_cluster_id" { default = "default_cynosdb_cluster" }
variable "cynosdb_cluster_instance_id" { default = "default_cluster_instance" }
variable "cynosdb_cluster_security_group_id" { default = "default_security_group_id" }
data "tencentcloud_vpc_subnets" "gz3" { availability_zone = var.default_az is_default = true }
locals { vpc_id = data.tencentcloud_vpc_subnets.gz3.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.gz3.instance_list.0.subnet_id }
resource "tencentcloud_cynosdb_read_only_instance_exclusive_access" "read_only_instance_exclusive_access" { cluster_id = var.cynosdb_cluster_id instance_id = var.cynosdb_cluster_instance_id vpc_id = local.vpc_id subnet_id = local.subnet_id port = 1234 security_group_ids = [var.cynosdb_cluster_security_group_id] }
```
Provide a resource to create a CynosDB readonly instance.
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_readonly_instance" "foo" { cluster_id = cynosdbmysql-dzj5l8gz instance_name = "tf-cynosdb-readonly-instance" force_delete = true instance_cpu_core = 2 instance_memory_size = 4 instance_maintain_duration = 7200 instance_maintain_start_time = 21600 instance_maintain_weekdays = [ "Fri", "Mon", "Sat", "Sun", "Thu", "Wed", "Tue", ] }
```
Import ¶
CynosDB readonly instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_cynosdb_readonly_instance.foo cynosdbmysql-ins-dhwynib6 ```
Provides a resource to create a cynosdb reload_proxy_node
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_reload_proxy_node" "reload_proxy_node" { cluster_id = "cynosdbmysql-cgd2gpwr" proxy_group_id = "cynosdbmysql-proxy-8lqtl8pk" }
```
Import ¶
cynosdb reload_proxy_node can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_reload_proxy_node.reload_proxy_node reload_proxy_node_id ```
Provides a resource to create a cynosdb resource_package
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_resource_package" "resource_package" { instance_type = "cdb" package_region = "china" package_type = "CCU" package_version = "base" package_spec = expire_day = 180 package_count = 1 package_name = "PackageName" }
```
Import ¶
cynosdb resource_package can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_resource_package.resource_package resource_package_id ```
Provides a resource to create a cynosdb restart_instance
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_restart_instance" "restart_instance" { instance_id = "cynosdbmysql-ins-afqx1hy0" }
```
Provides a resource to create a cynosdb roll_back_cluster
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_roll_back_cluster" "roll_back_cluster" { cluster_id = "cynosdbmysql-bws8h88b" rollback_strategy = "snapRollback" rollback_id = 732725 # expect_time = "2022-01-20 00:00:00" expect_time_thresh = 0 rollback_databases { old_database = "users" new_database = "users_bak_1" } rollback_tables { database = "tf_ci_test" tables { old_table = "test" new_table = "test_bak_111" } } rollback_mode = "full" }
```
Provides a resource to create a cynosdb security_group
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_security_group" "test" { cluster_id = "cynosdbmysql-bws8h88b" security_group_ids = ["sg-baxfiao5"] instance_group_type = "RO" }
```
Import ¶
cynosdb security_group can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_security_group.security_group ${cluster_id}#${instance_group_type} ```
Provides a resource to create a cynosdb upgrade_proxy_version
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_upgrade_proxy_version" "upgrade_proxy_version" { cluster_id = "cynosdbmysql-bws8h88b" dst_proxy_version = "1.3.7" }
```
Provides a resource to create a cynosdb wan ¶
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_wan" "wan" { cluster_id = "cynosdbmysql-bws8h88b" instance_grp_id = "cynosdbmysql-grp-lxav0p9z" }
```
Import ¶
cynosdb wan can be imported using the id, e.g.
``` terraform import tencentcloud_cynosdb_wan.wan cynosdbmysql-bws8h88b#cynosdbmysql-grp-lxav0p9z ```
Use this resource to create a dayu CC self-define http policy ¶
Example Usage ¶
```hcl
resource "tencentcloud_dayu_cc_http_policy" "test_bgpip" { resource_type = "bgpip" resource_id = "bgpip-00000294" name = "policy_match" smode = "matching" action = "drop" switch = true rule_list { skey = "host" operator = "include" value = "123" } }
resource "tencentcloud_dayu_cc_http_policy" "test_net" { resource_type = "net" resource_id = "net-0000007e" name = "policy_match" smode = "matching" action = "drop" switch = true rule_list { skey = "cgi" operator = "equal" value = "123" } }
resource "tencentcloud_dayu_cc_http_policy" "test_bgpmultip" { resource_type = "bgp-multip" resource_id = "bgp-0000008o" name = "policy_match" smode = "matching" action = "alg" switch = true ip = "111.230.178.25" rule_list { skey = "referer" operator = "not_include" value = "123" } }
resource "tencentcloud_dayu_cc_http_policy" "test_bgp" { resource_type = "bgp" resource_id = "bgp-000006mq" name = "policy_match" smode = "matching" action = "alg" switch = true rule_list { skey = "ua" operator = "not_include" value = "123" } }
```
Use this resource to create a dayu CC self-define https policy ¶
~> **NOTE:** creating CC self-define https policy need a valid resource `tencentcloud_dayu_l7_rule`; The resource only support Anti-DDoS of resource type `bgpip`.
Example Usage ¶
```hcl
resource "tencentcloud_dayu_cc_https_policy" "test_policy" { resource_type = tencentcloud_dayu_l7_rule.test_rule.resource_type resource_id = tencentcloud_dayu_l7_rule.test_rule.resource_id rule_id = tencentcloud_dayu_l7_rule.test_rule.rule_id domain = tencentcloud_dayu_l7_rule.test_rule.domain name = "policy_test" action = "drop" switch = true rule_list { skey = "cgi" operator = "include" value = "123" } }
```
Use this resource to create a dayu CC policy ¶
Example Usage ¶
```hcl
resource "tencentcloud_dayu_cc_policy_v2" "demo" { resource_id="bgpip-000004xf" business="bgpip" thresholds { domain="12.com" threshold=0 } cc_geo_ip_policys { action="drop" region_type="china" domain="12.com" protocol="http" } cc_black_white_ips { protocol="http" domain="12.com" black_white_ip="1.2.3.4" type="black" } cc_precision_policys{ policy_action="drop" domain="1.com" protocol="http" ip="162.62.163.34" policys { field_name="cgi" field_type="value" value="12123.com" value_operator="equal" } } cc_precision_req_limits { domain="11.com" protocol="http" level="loose" policys { action="alg" execute_duration=2 mode="equal" period=5 request_num=12 uri="15.com" } } }
```
Provides a resource to create a antiddos ip. Only support for bgp-multip.
Example Usage ¶
```hcl
resource "tencentcloud_dayu_ddos_ip_attachment_v2" "boundip" { id = "bgp-xxxxxx" bound_ip_list { ip = "1.1.1.1" biz_type = "public" instance_id = "ins-xxx" device_type = "cvm" } }
```
Use this resource to create dayu DDoS policy ¶
Example Usage ¶
```hcl
resource "tencentcloud_dayu_ddos_policy" "test_policy" { resource_type = "bgpip" name = "tf_test_policy" black_ips = ["1.1.1.1"] white_ips = ["2.2.2.2"] drop_options { drop_tcp = true drop_udp = true drop_icmp = true drop_other = true drop_abroad = true check_sync_conn = true s_new_limit = 100 d_new_limit = 100 s_conn_limit = 100 d_conn_limit = 100 tcp_mbps_limit = 100 udp_mbps_limit = 100 icmp_mbps_limit = 100 other_mbps_limit = 100 bad_conn_threshold = 100 null_conn_enable = true conn_timeout = 500 syn_rate = 50 syn_limit = 100 } port_filters { start_port = "2000" end_port = "2500" protocol = "all" action = "drop" kind = 1 } packet_filters { protocol = "tcp" action = "drop" d_start_port = 1000 d_end_port = 1500 s_start_port = 2000 s_end_port = 2500 pkt_length_max = 1400 pkt_length_min = 1000 is_include = true match_begin = "begin_l5" match_type = "pcre" depth = 1000 offset = 500 } watermark_filters { tcp_port_list = ["2000-3000", "3500-4000"] udp_port_list = ["5000-6000"] offset = 50 auto_remove = true open_switch = true } }
```
Provides a resource to create a dayu DDoS policy attachment.
Example Usage ¶
```hcl
resource "tencentcloud_dayu_ddos_policy_attachment" "dayu_ddos_policy_attachment_basic" { resource_type = tencentcloud_dayu_ddos_policy.test_policy.resource_type resource_id = "bgpip-00000294" policy_id = tencentcloud_dayu_ddos_policy.test_policy.policy_id }
```
Use this resource to create dayu DDoS policy case ¶
~> **NOTE:** when a dayu DDoS policy case is created, there will be a dayu DDoS policy created with the same prefix name in the same time. This resource only supports Anti-DDoS of type `bgp`, `bgp-multip` and `bgpip`. One Anti-DDoS resource can only has one DDoS policy case resource. When there is only one Anti-DDoS resource and one policy case, those two resource will be bind automatically.
Example Usage ¶
```hcl
resource "tencentcloud_dayu_ddos_policy_case" "foo" { resource_type = "bgpip" name = "tf_test_policy_case" platform_types = ["PC", "MOBILE"] app_type = "WEB" app_protocols = ["tcp", "udp"] tcp_start_port = "1000" tcp_end_port = "2000" udp_start_port = "3000" udp_end_port = "4000" has_abroad = "yes" has_initiate_tcp = "yes" has_initiate_udp = "yes" peer_tcp_port = "1111" peer_udp_port = "3333" tcp_footprint = "511" udp_footprint = "500" web_api_urls = ["abc.com", "test.cn/aaa.png"] min_tcp_package_len = "1000" max_tcp_package_len = "1200" min_udp_package_len = "1000" max_udp_package_len = "1200" has_vpn = "yes" }
```
Use this resource to create dayu DDoS policy v2 ¶
Example Usage ¶
```hcl
resource "tencentcloud_dayu_ddos_policy_v2" "ddos_v2" { resource_id = "bgpip-000004xf" business = "bgpip" ddos_threshold="100" ddos_level="low" black_white_ips { ip = "1.2.3.4" ip_type = "black" } acls { action = "transmit" d_port_start = 1 d_port_end = 10 s_port_start=10 s_port_end=20 priority=9 forward_protocol="all" } protocol_block_config { drop_icmp=1 drop_tcp=0 drop_udp=0 drop_other=0 } ddos_connect_limit { sd_new_limit=10 sd_conn_limit=11 dst_new_limit=20 dst_conn_limit=21 bad_conn_threshold=30 syn_rate=10 syn_limit=20 conn_timeout=30 null_conn_enable=1 } ddos_ai="on" ddos_geo_ip_block_config { action="drop" area_list=["100001"] region_type="customized" } ddos_speed_limit_config { protocol_list="TCP" dst_port_list="10" mode=1 packet_rate=10 bandwidth=20 } packet_filters { action="drop" protocol="all" s_port_start=10 s_port_end=10 d_port_start=20 d_port_end=20 pktlen_min=30 pktlen_max=30 str="12" str2="30" match_logic="and" match_type="pcre" match_type2="pcre" match_begin="begin_l3" match_begin2="begin_l3" depth=2 depth2=3 offset=1 offset2=2 is_not=0 is_not2=0 } }
```
Use this resource to create dayu eip rule ¶
Example Usage ¶
```hcl
resource "tencentcloud_dayu_eip" "test" { resource_id = "bgpip-000004xg" eip = "162.62.163.50" bind_resource_id = "ins-4m0jvxic" bind_resource_region = "hk" bind_resource_type = "cvm" }
```
Use this resource to create dayu layer 4 rule ¶
~> **NOTE:** This resource only support resource Anti-DDoS of type `bgpip` and `net`
Example Usage ¶
```hcl
resource "tencentcloud_dayu_l4_rule" "test_rule" { resource_type = "bgpip" resource_id = "bgpip-00000294" name = "rule_test" protocol = "TCP" s_port = 80 d_port = 60 source_type = 2 health_check_switch = true health_check_timeout = 30 health_check_interval = 35 health_check_health_num = 5 health_check_unhealth_num = 10 session_switch = false session_time = 300 source_list { source = "1.1.1.1" weight = 100 } source_list { source = "2.2.2.2" weight = 50 } }
```
Use this resource to create dayu layer 4 rule ¶
~> **NOTE:** This resource only support resource Anti-DDoS of type `bgpip` and `net`
Example Usage ¶
```hcl
resource "tencentcloud_dayu_l4_rule" "test_rule" { resource_type = "bgpip" resource_id = "bgpip-00000294" name = "rule_test" protocol = "TCP" s_port = 80 d_port = 60 source_type = 2 health_check_switch = true health_check_timeout = 30 health_check_interval = 35 health_check_health_num = 5 health_check_unhealth_num = 10 session_switch = false session_time = 300 source_list { source = "1.1.1.1" weight = 100 } source_list { source = "2.2.2.2" weight = 50 } }
```
Use this resource to create dayu layer 7 rule ¶
~> **NOTE:** This resource only support resource Anti-DDoS of type `bgpip`
Example Usage ¶
```hcl
resource "tencentcloud_dayu_l7_rule" "test_rule" { resource_type = "bgpip" resource_id = "bgpip-00000294" name = "rule_test" domain = "zhaoshaona.com" protocol = "https" switch = true source_type = 2 source_list = ["1.1.1.1:80", "2.2.2.2"] ssl_id = "%s" health_check_switch = true health_check_code = 31 health_check_interval = 30 health_check_method = "GET" health_check_path = "/" health_check_health_num = 5 health_check_unhealth_num = 10 }
```
Use this resource to create dayu new layer 7 rule ¶
~> **NOTE:** This resource only support resource Anti-DDoS of type `bgpip`
Example Usage ¶
```hcl
resource "tencentcloud_dayu_l7_rule_v2" "tencentcloud_dayu_l7_rule_v2" { resource_type="bgpip" resource_id="bgpip-000004xe" resource_ip="119.28.217.162" rule { keep_enable=false keeptime=0 source_list { source="1.2.3.5" weight=100 } source_list { source="1.2.3.6" weight=100 } lb_type=1 protocol="http" source_type=2 domain="github.com" } }
```
Provides a resource to create a dbbrain db_diag_report_task
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_db_diag_report_task" "db_diag_report_task" { instance_id = "%s" start_time = "%s" end_time = "%s" send_mail_flag = 0 product = "mysql" }
```
Provides a resource to create a dbbrain modify_diag_db_instance_conf
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_modify_diag_db_instance_operation" "on" { instance_confs { daily_inspection = "Yes" overview_display = "Yes" } product = "mysql" instance_ids = ["%s"] }
```
```hcl
resource "tencentcloud_dbbrain_modify_diag_db_instance_operation" "off" { instance_confs { daily_inspection = "No" overview_display = "No" } product = "mysql" instance_ids = ["%s"] }
```
Provides a resource to create a dbbrain security_audit_log_export_task
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_security_audit_log_export_task" "task" { sec_audit_group_id = "sec_audit_group_id" start_time = "2020-12-28 00:00:00" end_time = "2020-12-28 01:00:00" product = "mysql" danger_levels = [0,1,2] }
```
Provides a resource to create a dbbrain sql_filter.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "region" { default = "ap-guangzhou" }
data "tencentcloud_mysql_instance" "mysql" { instance_name = "instance_name" }
locals { mysql_id = data.tencentcloud_mysql_instance.mysql.instance_list.0.mysql_id }
resource "tencentcloud_dbbrain_sql_filter" "sql_filter" { instance_id = local.mysql_id session_token { user = "test" password = "===password===" } sql_type = "SELECT" filter_key = "filter_key" max_concurrency = 10 duration = 3600 }
```
Provides a resource to create a dbbrain tdsql_audit_log
Example Usage ¶
```hcl
resource "tencentcloud_dbbrain_tdsql_audit_log" "my_log" { product = "dcdb" node_request_type = "dcdb" instance_id = "%s" start_time = "%s" end_time = "%s" filter { host = ["%%", "127.0.0.1"] user = ["tf_test", "mysql"] } }
```
Provides a resource to creating direct connect gateway instance.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "main" { name = "ci-vpc-instance-test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_dc_gateway" "vpc_main" { name = "ci-cdg-vpc-test" network_instance_id = tencentcloud_vpc.main.id network_type = "VPC" gateway_type = "NAT" }
```
Import ¶
Direct connect gateway instance can be imported, e.g.
``` $ terraform import tencentcloud_dc_gateway.instance dcg-id ```
Provides a resource to create a dc_gateway_attachment
Example Usage ¶
```hcl
resource "tencentcloud_dc_gateway_attachment" "dc_gateway_attachment" { vpc_id = "vpc-4h9v4mo3" nat_gateway_id = "nat-7kanjc6y" direct_connect_gateway_id = "dcg-dmbhf7jf" }
```
Import ¶
dc_gateway_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_dc_gateway_attachment.dc_gateway_attachment vpcId#dcgId#ngId ```
Provides a resource to creating direct connect gateway route entry.
Example Usage ¶
```hcl
resource "tencentcloud_ccn" "main" { name = "ci-temp-test-ccn" description = "ci-temp-test-ccn-des" qos = "AG" }
resource "tencentcloud_dc_gateway" "ccn_main" { name = "ci-cdg-ccn-test" network_instance_id = tencentcloud_ccn.main.id network_type = "CCN" gateway_type = "NORMAL" }
resource "tencentcloud_dc_gateway_ccn_route" "route1" { dcg_id = tencentcloud_dc_gateway.ccn_main.id cidr_block = "10.1.1.0/32" }
resource "tencentcloud_dc_gateway_ccn_route" "route2" { dcg_id = tencentcloud_dc_gateway.ccn_main.id cidr_block = "192.1.1.0/32" }
```
Provides a resource to create a dc instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_dc_instance" "instance" { access_point_id = "ap-shenzhen-b-ft" bandwidth = 10 customer_contact_number = "0" direct_connect_name = "terraform-for-test" line_operator = "In-houseWiring" port_type = "10GBase-LR" sign_law = true vlan = -1 }
```
Import ¶
dc instance can be imported using the id, e.g.
``` terraform import tencentcloud_dc_instance.instance dc_id ```
Provides a resource to create a dc internet_address
Example Usage ¶
```hcl
resource "tencentcloud_dc_internet_address" "internet_address" { mask_len = 30 addr_type = 2 addr_proto = 0 }
```
Import ¶
dc internet_address can be imported using the id, e.g.
``` terraform import tencentcloud_dc_internet_address.internet_address internet_address_id ```
Provides a resource to create a dc internet_address_config
Example Usage ¶
```hcl
resource "tencentcloud_dc_internet_address" "internet_address" { mask_len = 30 addr_type = 2 addr_proto = 0 }
resource "tencentcloud_dc_internet_address_config" "internet_address_config" { instance_id = tencentcloud_dc_internet_address.internet_address.id enable = false }
```
Import ¶
dc internet_address_config can be imported using the id, e.g.
``` terraform import tencentcloud_dc_internet_address_config.internet_address_config internet_address_id ```
Provides a resource to create a dc share_dcx_config
Example Usage ¶
```hcl
resource "tencentcloud_dc_share_dcx_config" "share_dcx_config" { direct_connect_tunnel_id = "dcx-4z49tnws" enable = false }
```
Import ¶
dc share_dcx_config can be imported using the id, e.g.
``` terraform import tencentcloud_dc_share_dcx_config.share_dcx_config dcx_id ```
Provides a resource to create a dcdb account ¶
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_account" "account" { instance_id = "tdsqlshard-kkpoxvnv" user_name = "mysql" host = "127.0.0.1" password = "===password===" read_only = 0 description = "this is a test account" max_user_connections = 10 }
``` Import
dcdb account can be imported using the id, e.g. ``` $ terraform import tencentcloud_dcdb_account.account account_id ```
Provides a resource to create a dcdb account_privileges
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_account_privileges" "account_privileges" { instance_id = "%s" account { user = "tf_test" host = "%s" } global_privileges = ["SHOW DATABASES","SHOW VIEW"] database_privileges { privileges = ["SELECT","INSERT","UPDATE","DELETE","CREATE"] database = "tf_test_db" } table_privileges { database = "tf_test_db" table = "tf_test_table" privileges = ["SELECT","INSERT","UPDATE","DELETE","CREATE"] }
```
Import ¶
dcdb account_privileges can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_account_privileges.account_privileges instanceId#userName#host#dbName#tabName#viewName#colName ```
Provides a resource to create a dcdb activate_hour_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_activate_hour_instance_operation" "activate_hour_instance_operation" { instance_id = local.dcdb_id }
```
Provides a resource to create a dcdb cancel_dcn_job_operation
Example Usage ¶
```hcl
data "tencentcloud_security_groups" "internal" { name = "default" }
data "tencentcloud_vpc_instances" "vpc" { name ="Default-VPC" }
data "tencentcloud_vpc_subnets" "subnet" { vpc_id = data.tencentcloud_vpc_instances.vpc.instance_list.0.vpc_id }
locals { vpc_id = data.tencentcloud_vpc_subnets.subnet.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.subnet.instance_list.0.subnet_id sg_id = data.tencentcloud_security_groups.internal.security_groups.0.security_group_id }
resource "tencentcloud_dcdb_hourdb_instance" "hourdb_instance_dcn" { instance_name = "test_dcdb_db_hourdb_instance_dcn" zones = [var.default_az] shard_memory = "2" shard_storage = "10" shard_node_count = "2" shard_count = "2" vpc_id = local.vpc_id subnet_id = local.subnet_id security_group_id = local.sg_id db_version_id = "8.0" dcn_region = "ap-guangzhou" dcn_instance_id = local.dcdb_id //master_instance resource_tags { tag_key = "aaa" tag_value = "bbb" } }
locals { dcn_dcdb_id = tencentcloud_dcdb_hourdb_instance.hourdb_instance_dcn.id }
resource "tencentcloud_dcdb_cancel_dcn_job_operation" "cancel_operation" { instance_id = local.dcn_dcdb_id // cancel the dcn/readonly instance }
```
Provides a resource to create a dcdb db_instance
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_db_instance" "db_instance" { instance_name = "test_dcdb_db_instance" zones = ["ap-guangzhou-5"] period = 1 shard_memory = "2" shard_storage = "10" shard_node_count = "2" shard_count = "2" vpc_id = local.vpc_id subnet_id = local.subnet_id db_version_id = "8.0" resource_tags { tag_key = "aaa" tag_value = "bbb" } init_params { param = "character_set_server" value = "utf8mb4" } init_params { param = "lower_case_table_names" value = "1" } init_params { param = "sync_mode" value = "2" } init_params { param = "innodb_page_size" value = "16384" } security_group_ids = [local.sg_id] }
```
Import ¶
dcdb db_instance can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_db_instance.db_instance db_instance_id ```
Provides a resource to create a dcdb db_parameters
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_db_parameters" "db_parameters" { instance_id = "%s" params { param = "max_connections" value = "9999" } }
```
Import ¶
dcdb db_parameters can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_db_parameters.db_parameters instanceId#paramName ```
Provides a resource to create a dcdb db_sync_mode_config
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_db_sync_mode_config" "config" { instance_id = "%s" sync_mode = 2 }
```
Import ¶
dcdb db_sync_mode_config can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_db_sync_mode_config.db_sync_mode_config db_sync_mode_config_id ```
Provides a resource to create a dcdb encrypt_attributes_config
~> **NOTE:** This resource currently only supports the newly created MySQL 8.0.24 version.
Example Usage ¶
```hcl
data "tencentcloud_security_groups" "internal" { name = "default" }
data "tencentcloud_vpc_instances" "vpc" { name ="Default-VPC" }
data "tencentcloud_vpc_subnets" "subnet" { vpc_id = data.tencentcloud_vpc_instances.vpc.instance_list.0.vpc_id }
locals { vpc_id = data.tencentcloud_vpc_subnets.subnet.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.subnet.instance_list.0.subnet_id sg_id = data.tencentcloud_security_groups.internal.security_groups.0.security_group_id }
resource "tencentcloud_dcdb_db_instance" "prepaid_instance" { instance_name = "test_dcdb_db_post_instance" zones = [var.default_az] period = 1 shard_memory = "2" shard_storage = "10" shard_node_count = "2" shard_count = "2" vpc_id = local.vpc_id subnet_id = local.subnet_id db_version_id = "8.0" resource_tags { tag_key = "aaa" tag_value = "bbb" } security_group_ids = [local.sg_id] }
resource "tencentcloud_dcdb_hourdb_instance" "hourdb_instance" { instance_name = "test_dcdb_db_hourdb_instance" zones = [var.default_az] shard_memory = "2" shard_storage = "10" shard_node_count = "2" shard_count = "2" vpc_id = local.vpc_id subnet_id = local.subnet_id security_group_id = local.sg_id db_version_id = "8.0" resource_tags { tag_key = "aaa" tag_value = "bbb" } }
locals { prepaid_dcdb_id = tencentcloud_dcdb_db_instance.prepaid_instance.id hourdb_dcdb_id = tencentcloud_dcdb_hourdb_instance.hourdb_instance.id }
// for postpaid instance
resource "tencentcloud_dcdb_encrypt_attributes_config" "config_hourdb" { instance_id = local.hourdb_dcdb_id encrypt_enabled = 1 }
// for prepaid instance
resource "tencentcloud_dcdb_encrypt_attributes_config" "config_prepaid" { instance_id = local.prepaid_dcdb_id encrypt_enabled = 1 }
```
Import ¶
dcdb encrypt_attributes_config can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_encrypt_attributes_config.encrypt_attributes_config encrypt_attributes_config_id ```
Provides a resource to create a dcdb flush_binlog_operation
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_flush_binlog_operation" "flush_operation" { instance_id = local.dcdb_id }
```
Provides a resource to create a dcdb hourdb_instance
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_hourdb_instance" "hourdb_instance" { instance_name = "test_dcdc_dc_instance" zones = ["ap-guangzhou-5", "ap-guangzhou-6"] shard_memory = "2" shard_storage = "10" shard_node_count = "2" shard_count = "2" vpc_id = local.vpc_id subnet_id = local.subnet_id security_group_id = local.sg_id db_version_id = "8.0" resource_tags { tag_key = "aaa" tag_value = "bbb" } }
``` Import
dcdb hourdb_instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_dcdb_hourdb_instance.hourdb_instance hourdbInstance_id ```
Provides a resource to create a dcdb instance_config
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_instance_config" "instance_config" { instance_id = local.dcdb_id rs_access_strategy = 0 }
```
Import ¶
dcdb instance_config can be imported using the id, e.g.
``` terraform import tencentcloud_dcdb_instance_config.instance_config instance_config_id ```
Provides a resource to create a dcdb isolate_hour_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_isolate_hour_instance_operation" "isolate_hour_instance_operation" { instance_ids = local.dcdb_id }
```
Provides a resource to create a dcdb security_group_attachment
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_security_group_attachment" "security_group_attachment" { security_group_id = "" instance_id = "" }
``` Import
dcdb security_group_attachment can be imported using the id, e.g. ``` $ terraform import tencentcloud_dcdb_security_group_attachment.security_group_attachment securityGroupAttachment_id ```
Provides a resource to create a dcdb switch_db_instance_ha_operation
Example Usage ¶
```hcl
resource "tencentcloud_dcdb_switch_db_instance_ha_operation" "switch_operation" { instance_id = local.dcdb_id zone = "ap-guangzhou-4" //3 to 4 }
```
Provides a resource to creating dedicated tunnels instances.
~> **NOTE:** 1. ID of the DC is queried, can only apply for this resource offline.
Example Usage ¶
```hcl
variable "dc_id" { default = "dc-kax48sg7" }
variable "dcg_id" { default = "dcg-dmbhf7jf" }
variable "vpc_id" { default = "vpc-4h9v4mo3" }
resource "tencentcloud_dcx" "bgp_main" { bandwidth = 900 dc_id = var.dc_id dcg_id = var.dcg_id name = "bgp_main" network_type = "VPC" route_type = "BGP" vlan = 306 vpc_id = var.vpc_id }
resource "tencentcloud_dcx" "static_main" { bandwidth = 900 dc_id = var.dc_id dcg_id = var.dcg_id name = "static_main" dc_owner_account = "xxxxxxxx" network_type = "VPC" route_type = "STATIC" vlan = 301 vpc_id = var.vpc_id route_filter_prefixes = ["10.10.10.101/32"] tencent_address = "100.93.46.1/30" customer_address = "100.93.46.2/30" }
```
Provides a resource to create a dc dcx_extra_config
Example Usage ¶
```hcl
resource "tencentcloud_dcx_extra_config" "dcx_extra_config" { direct_connect_tunnel_id = "dcx-4z49tnws" vlan = 123 bgp_peer { asn = 65101 auth_key = "test123" } route_filter_prefixes { cidr = "192.168.0.0/24" } tencent_address = "192.168.1.1" tencent_backup_address = "192.168.1.2" customer_address = "192.168.1.4" bandwidth = 10 enable_bgp_community = false bfd_enable = 0 nqa_enable = 1 bfd_info { probe_failed_times = 3 interval = 100 } nqa_info { probe_failed_times = 3 interval = 100 destination_ip = "192.168.2.2" } ipv6_enable = 0 jumbo_enable = 0 }
```
Import ¶
dc dcx_extra_config can be imported using the id, e.g.
``` terraform import tencentcloud_dcx_extra_config.dcx_extra_config dcx_id ```
Provides a resource to create a dlc add_users_to_work_group_attachment
Example Usage ¶
```hcl
resource "tencentcloud_dlc_add_users_to_work_group_attachment" "add_users_to_work_group_attachment" { add_info { work_group_id = 23184 user_ids = [100032676511] } }
} ```
Import ¶
dlc add_users_to_work_group_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_add_users_to_work_group_attachment.add_users_to_work_group_attachment add_users_to_work_group_attachment_id ```
Provides a resource to create a dlc attach_user_policy_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_attach_user_policy_operation" "attach_user_policy_operation" { user_id = "100032676511" policy_set { database = "test_iac_keep" catalog = "DataLakeCatalog" table = "" operation = "ASSAYER" policy_type = "DATABASE" function = "" view = "" column = "" source = "USER" mode = "COMMON" } }
```
Provides a resource to create a dlc attach_work_group_policy_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_attach_work_group_policy_operation" "attach_work_group_policy_operation" { work_group_id = 23184 policy_set { database = "test_iac_keep" catalog = "DataLakeCatalog" table = "" operation = "ASSAYER" policy_type = "DATABASE" function = "" view = "" column = "" source = "USER" mode = "COMMON" } }
Provides a resource to create a dlc bind_work_groups_to_user
Example Usage ¶
```hcl
resource "tencentcloud_dlc_bind_work_groups_to_user_attachment" "bind_work_groups_to_user" { add_info { user_id = "100032772113" work_group_ids = [23184,23181] } }
```
Import ¶
dlc bind_work_groups_to_user can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_bind_work_groups_to_user_attachment.bind_work_groups_to_user bind_work_groups_to_user_id ```
Provides a resource to create a dlc data_engine
Example Usage ¶
```hcl
resource "tencentcloud_dlc_data_engine" "data_engine" { engine_type = "spark" data_engine_name = "testSpark" cluster_type = "spark_cu" mode = 1 auto_resume = false size = 16 pay_mode = 0 min_clusters = 1 max_clusters = 1 default_data_engine = false cidr_block = "10.255.0.0/16" message = "test spark1" time_span = 1 time_unit = "h" auto_suspend = false crontab_resume_suspend = 0 engine_exec_type = "BATCH" }
```
Import ¶
dlc data_engine can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_data_engine.data_engine data_engine_id ```
Provides a resource to create a dlc detach_user_policy_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_detach_user_policy_operation" "detach_user_policy_operation" { user_id = 100032676511 policy_set { database = "test_iac_keep" catalog = "DataLakeCatalog" table = "" operation = "ASSAYER" policy_type = "DATABASE" re_auth = false source = "USER" mode = "COMMON" operator = "100032669045" id = 102533 } }
```
Provides a resource to create a dlc detach_work_group_policy_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_detach_work_group_policy_operation" "detach_work_group_policy_operation" { work_group_id = 23184 policy_set { database = "test_iac_keep" catalog = "DataLakeCatalog" table = "" operation = "ASSAYER" policy_type = "DATABASE" re_auth = false source = "WORKGROUP" mode = "COMMON" operator = "100032669045" id = 102535 } }
```
Provides a resource to create a dlc modify_data_engine_description_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_modify_data_engine_description_operation" "modify_data_engine_description_operation" { data_engine_name = "testEngine" message = "test" }
```
Import ¶
dlc modify_data_engine_description_operation can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_modify_data_engine_description_operation.modify_data_engine_description_operation modify_data_engine_description_operation_id ```
Provides a resource to create a dlc modify_user_typ_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_modify_user_typ_operation" "modify_user_typ_operation" { user_id = "127382378" user_type = "ADMIN" }
```
Import ¶
dlc modify_user_typ_operation can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_modify_user_typ_operation.modify_user_typ_operation modify_user_typ_operation_id ```
Provides a resource to create a dlc renew_data_engine
Example Usage ¶
```hcl
resource "tencentcloud_dlc_renew_data_engine_operation" "renew_data_engine" { data_engine_name = "testEngine" time_span = 3600 pay_mode = 1 time_unit = "m" renew_flag = 1 }
```
Import ¶
dlc renew_data_engine can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_renew_data_engine_operation.renew_data_engine renew_data_engine_id ```
Provides a resource to create a dlc restart_data_engine
Example Usage ¶
```hcl
resource "tencentcloud_dlc_restart_data_engine_operation" "restart_data_engine" { data_engine_id = "DataEngine-g5ds87d8" forced_operation = false }
```
Provides a resource to create a dlc rollback_data_engine_image
Example Usage ¶
```hcl
data "tencentcloud_dlc_check_data_engine_image_can_be_rollback" "check_data_engine_image_can_be_rollback" { data_engine_id = "DataEngine-cgkvbas6" }
resource "tencentcloud_dlc_rollback_data_engine_image_operation" "rollback_data_engine_image" { data_engine_id = "DataEngine-cgkvbas6" from_record_id = data.tencentcloud_dlc_check_data_engine_image_can_be_rollback.check_data_engine_image_can_be_rollback.from_record_id to_record_id = data.tencentcloud_dlc_check_data_engine_image_can_be_rollback.check_data_engine_image_can_be_rollback.to_record_id }
```
Import ¶
dlc rollback_data_engine_image can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_rollback_data_engine_image_operation.rollback_data_engine_image rollback_data_engine_image_id ```
Provides a resource to create a dlc store_location_config
Example Usage ¶
```hcl
resource "tencentcloud_dlc_store_location_config" "store_location_config" { store_location = "cosn://bucketname/" enable = 1 }
```
Import ¶
dlc store_location_config can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_store_location_config.store_location_config store_location_config_id ```
Provides a resource to create a dlc suspend_resume_data_engine
Example Usage ¶
```hcl
resource "tencentcloud_dlc_suspend_resume_data_engine" "suspend_resume_data_engine" { data_engine_name = "example-iac" operate = "suspend" }
```
Import ¶
dlc suspend_resume_data_engine can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_suspend_resume_data_engine.suspend_resume_data_engine suspend_resume_data_engine_id ```
Provides a resource to create a dlc switch_data_engine_image_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_switch_data_engine_image_operation" "switch_data_engine_image_operation" { data_engine_id = "DataEngine-g5ds87d8" new_image_version_id = "344ba1c6-b7a9-403a-a255-422fffed6d38" }
```
Provides a resource to create a dlc update_row_filter_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_update_row_filter_operation" "update_row_filter_operation" { policy_id = 103704 policy { database = "test_iac_keep" catalog = "DataLakeCatalog" table = "test_table" operation = "value!=\"0\"" policy_type = "ROWFILTER" function = "" view = "" column = "" source = "USER" mode = "SENIOR" re_auth = false } }
```
Provides a resource to create a dlc upgrade_data_engine_image_operation
Example Usage ¶
```hcl
resource "tencentcloud_dlc_upgrade_data_engine_image_operation" "upgrade_data_engine_image_operation" { data_engine_id = "DataEngine-g5ds87d8" }
```
Provides a resource to create a dlc user ¶
Example Usage ¶
```hcl
resource "tencentcloud_dlc_user" "user" { user_id = "100027012454" user_type = "COMMON" user_alias = "terraform-test" user_description = "for terraform test" }
```
Import ¶
dlc user can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_user.user user_id ```
Provides a resource to create a dlc user_data_engine_config
Example Usage ¶
```hcl
resource "tencentcloud_dlc_user_data_engine_config" "user_data_engine_config" { data_engine_id = "DataEngine-cgkvbas6" data_engine_config_pairs { config_item = "qq" config_value = "ff" } session_resource_template { driver_size = "small" executor_size = "small" executor_nums = 1 executor_max_numbers = 1 } }
```
Import ¶
dlc user_data_engine_config can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_user_data_engine_config.user_data_engine_config user_data_engine_config_id ```
Provides a resource to create a dlc work_group
Example Usage ¶
```hcl
resource "tencentcloud_dlc_work_group" "work_group" { work_group_name = "tf-demo" work_group_description = "dlc workgroup test" }
```
Import ¶
dlc work_group can be imported using the id, e.g.
``` terraform import tencentcloud_dlc_work_group.work_group work_group_id ```
Provides a resource to create a NAT forwarding.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_images" "example" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "example-vpc" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eip" "eip_example" { name = "tf_nat_gateway_eip" }
resource "tencentcloud_nat_gateway" "example" { name = "tf_example_nat_gateway" vpc_id = tencentcloud_vpc.vpc.id bandwidth = 100 max_concurrent = 1000000 assigned_eip_set = [ tencentcloud_eip.eip_example.public_ip, ] tags = { tf_tag_key = "tf_tag_value" } }
resource "tencentcloud_instance" "example" { instance_name = "tf_example_instance" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.example.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 allocate_public_ip = true internet_max_bandwidth_out = 10 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_dnat" "example" { vpc_id = tencentcloud_vpc.vpc.id nat_id = tencentcloud_nat_gateway.example.id protocol = "TCP" elastic_ip = tencentcloud_eip.eip_example.public_ip elastic_port = 80 private_ip = tencentcloud_instance.example.private_ip private_port = 9090 description = "desc." }
```
Import ¶
NAT forwarding can be imported using the id, e.g.
``` $ terraform import tencentcloud_dnat.foo tcp://vpc-asg3sfa3:nat-1asg3t63@127.15.2.3:8080 ```
Provides a resource to create a dnspod custom_line
~> **NOTE:** Terraform uses the combined id of doamin and name when importing. When the name changes, the combined id will also change.
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_custom_line" "custom_line" { domain = "dnspod.com" name = "testline8" area = "6.6.6.1-6.6.6.2" }
```
Import ¶
dnspod custom_line can be imported using the id, e.g.
``` terraform import tencentcloud_dnspod_custom_line.custom_line domain#name ```
Provides a resource to create a dnspod domain_alias
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_domain_alias" "domain_alias" { domain_alias = "dnspod.com" domain = "dnspod.cn" }
```
Import ¶
dnspod domain_alias can be imported using the id, e.g.
``` terraform import tencentcloud_dnspod_domain_alias.domain_alias domain#domain_alias_id ```
Provide a resource to create a DnsPod Domain instance.
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_domain_instance" "foo" { domain = "hello.com" remark = "this is demo" }
```
Import ¶
DnsPod Domain instance can be imported, e.g.
``` $ terraform import tencentcloud_dnspod_domain_instance.foo domain ```
Provides a resource to create a dnspod download_snapshot Example Usage ```hcl
resource "tencentcloud_dnspod_download_snapshot_operation" "download_snapshot" { domain = "dnspod.cn" snapshot_id = "456" }
```
Provides a resource to create a dnspod modify_domain_owner
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_modify_domain_owner_operation" "modify_domain_owner" { domain = "dnspod.cn" account = "xxxxxxxxx" domain_id = 123 }
```
Provides a resource to create a dnspod tencentcloud_dnspod_modify_record_group_operation
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_modify_record_group_operation" "modify_record_group" { domain = "dnspod.cn" group_id = 1 record_id = "234|345" domain_id = 123 }
```
Provide a resource to create a DnsPod record.
~> **NOTE:** Versions before v1.81.43 (including v1.81.43) do not support modifying remark or modifying remark has bug.
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_record" "demo" { domain="mikatong.com" record_type="A" record_line="默认" value="1.2.3.9" sub_domain="demo" }
```
Import ¶
DnsPod Domain record can be imported using the Domain#RecordId, e.g.
``` $ terraform import tencentcloud_dnspod_record.demo arunma.com#1194109872 ```
Provides a resource to create a dnspod record_group
Example Usage ¶
```hcl
resource "tencentcloud_dnspod_record_group" "record_group" { domain = "dnspod.cn" group_name = "group_demo" }
```
Import ¶
dnspod record_group can be imported using the domain#groupId, e.g.
``` terraform import tencentcloud_dnspod_record_group.record_group domain#groupId ```
Provides a resource to create a dts compare_task
Example Usage ¶
```hcl
resource "tencentcloud_dts_compare_task" "compare_task" { job_id = "" task_name = "" object_mode = "" objects { object_mode = "" object_items { db_name = "" db_mode = "" schema_name = "" table_mode = "" tables { table_name = "" } view_mode = "" views { view_name = "" } } } }
```
Provides a resource to create a dts compare_task_stop_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_compare_task_stop_operation" "compare_task_stop_operation" { job_id = "dts-8yv4w2i1" compare_task_id = "dts-8yv4w2i1-cmp-37skmii9" }
```
Provides a resource to create a dts migrate_job
Example Usage ¶
```hcl
resource "tencentcloud_cynosdb_cluster" "foo" { available_zone = var.availability_zone vpc_id = local.vpc_id subnet_id = local.subnet_id db_type = "MYSQL" db_version = "5.7" storage_limit = 1000 cluster_name = "tf-cynosdb-mysql" password = "cynos@123" instance_maintain_duration = 3600 instance_maintain_start_time = 10800 instance_maintain_weekdays = [ "Fri", "Mon", "Sat", "Sun", "Thu", "Wed", "Tue", ] instance_cpu_core = 1 instance_memory_size = 2 param_items { name = "character_set_server" current_value = "utf8" } param_items { name = "time_zone" current_value = "+09:00" } param_items { name = "lower_case_table_names" current_value = "1" } force_delete = true rw_group_sg = [ local.sg_id ] ro_group_sg = [ local.sg_id ] prarm_template_id = var.my_param_template }
resource "tencentcloud_dts_migrate_service" "service" { src_database_type = "mysql" dst_database_type = "cynosdbmysql" src_region = "ap-guangzhou" dst_region = "ap-guangzhou" instance_class = "small" job_name = "tf_test_migration_service_1" tags { tag_key = "aaa" tag_value = "bbb" } }
resource "tencentcloud_dts_migrate_job" "job" { service_id = tencentcloud_dts_migrate_service.service.id run_mode = "immediate" migrate_option { database_table { object_mode = "partial" databases { db_name = "tf_ci_test" db_mode = "partial" table_mode = "partial" tables { table_name = "test" new_table_name = "test_%s" table_edit_mode = "rename" } } } } src_info { region = "ap-guangzhou" access_type = "cdb" database_type = "mysql" node_type = "simple" info { user = "user_name" password = "your_pw" instance_id = "cdb-fitq5t9h" } } dst_info { region = "ap-guangzhou" access_type = "cdb" database_type = "cynosdbmysql" node_type = "simple" info { user = "user_name" password = "your_pw" instance_id = tencentcloud_cynosdb_cluster.foo.id } } auto_retry_time_range_minutes = 0 }
resource "tencentcloud_dts_migrate_job_start_operation" "start"{ job_id = tencentcloud_dts_migrate_job.job.id }
```
Import ¶
dts migrate_job can be imported using the id, e.g.
``` terraform import tencentcloud_dts_migrate_job.migrate_job migrate_config_id ```
Provides a resource to create a dts migrate_job_config
Example Usage ¶
```hcl
resource "tencentcloud_dts_migrate_service" "service" { src_database_type = "mysql" dst_database_type = "cynosdbmysql" src_region = "ap-guangzhou" dst_region = "ap-guangzhou" instance_class = "small" job_name = "tf_test_xxx" tags { tag_key = "aaa" tag_value = "bbb" } }
resource "tencentcloud_dts_migrate_job" "job" { service_id = tencentcloud_dts_migrate_service.service.id run_mode = "immediate" migrate_option { database_table { object_mode = "partial" databases { db_name = "tf_ci_test" db_mode = "partial" table_mode = "partial" tables { table_name = "test" new_table_name = "test_xxx" table_edit_mode = "rename" } } } } src_info { region = "ap-guangzhou" access_type = "cdb" database_type = "mysql" node_type = "simple" info { user = "root" password = "xxx" instance_id = "id" } } dst_info { region = "ap-guangzhou" access_type = "cdb" database_type = "cynosdbmysql" node_type = "simple" info { user = "user" password = "xxx" instance_id = "id" } } auto_retry_time_range_minutes = 0 }
resource "tencentcloud_dts_migrate_job_start_operation" "start"{ job_id = tencentcloud_dts_migrate_job.job.id }
// pause the migration job
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "pause" }
```
Continue the a migration job ```
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "continue" }
```
Complete a migration job when the status is readyComplete ```
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "continue" }
```
Stop a running migration job ```
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "stop" }
```
Isolate a stopped/canceled migration job ```
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "isolate" }
```
Recover a isolated migration job ```
resource "tencentcloud_dts_migrate_job_config" "config" { job_id = tencentcloud_dts_migrate_job_start_operation.start.id action = "recover" }
```
Provides a resource to create a dts migrate_job_resume_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_migrate_job_resume_operation" "resume" { job_id = "job_id" resume_option = "normal" }
```
Provides a resource to start a dts migrate_job
Example Usage ¶
```hcl
resource "tencentcloud_dts_migrate_job_start_operation" "start"{ job_id = tencentcloud_dts_migrate_job.job.id }
```
Provides a resource to create a dts migrate_service
Example Usage ¶
```hcl
resource "tencentcloud_dts_migrate_service" "migrate_service" { src_database_type = "mysql" dst_database_type = "cynosdbmysql" src_region = "ap-guangzhou" dst_region = "ap-guangzhou" instance_class = "small" job_name = "tf_test_migration_job" tags { tag_key = "aaa" tag_value = "bbb" } }
``` Import
dts migrate_service can be imported using the id, e.g. ``` $ terraform import tencentcloud_dts_migrate_service.migrate_service migrateService_id ```
Provides a resource to create a dts sync_check_job_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_check_job_operation" "sync_check_job_operation" { job_id = "" }
```
Provides a resource to create a dts sync_config
Example Usage ¶
Sync mysql database to cynosdb through cdb access type ¶
```hcl
resource "tencentcloud_cynosdb_cluster" "foo" { available_zone = var.availability_zone vpc_id = local.vpc_id subnet_id = local.subnet_id db_type = "MYSQL" db_version = "5.7" storage_limit = 1000 cluster_name = "tf-cynosdb-mysql-sync-dst" password = "*" instance_maintain_duration = 3600 instance_maintain_start_time = 10800 instance_maintain_weekdays = [ "Fri", "Mon", "Sat", "Sun", "Thu", "Wed", "Tue", ] instance_cpu_core = 1 instance_memory_size = 2 param_items { name = "character_set_server" current_value = "utf8" } param_items { name = "time_zone" current_value = "+09:00" } param_items { name = "lower_case_table_names" current_value = "1" } force_delete = true rw_group_sg = [ local.sg_id ] ro_group_sg = [ local.sg_id ] prarm_template_id = var.my_param_template }
resource "tencentcloud_dts_sync_job" "sync_job" { pay_mode = "PostPay" src_database_type = "mysql" src_region = "ap-guangzhou" dst_database_type = "cynosdbmysql" dst_region = "ap-guangzhou" tags { tag_key = "aaa" tag_value = "bbb" } auto_renew = 0 instance_class = "micro" }
resource "tencentcloud_dts_sync_config" "sync_config" { job_id = tencentcloud_dts_sync_job.sync_job.job_id src_access_type = "cdb" dst_access_type = "cdb" job_name = "tf_test_sync_config" job_mode = "liteMode" run_mode = "Immediate" objects { mode = "Partial" databases { db_name = "tf_ci_test" new_db_name = "tf_ci_test_new" db_mode = "Partial" table_mode = "All" tables { table_name = "test" new_table_name = "test_new" } } } src_info { region = "ap-guangzhou" instance_id = "cdb-fitq5t9h" user = "your_user_name" password = "*" db_name = "tf_ci_test" vpc_id = local.vpc_id subnet_id = local.subnet_id } dst_info { region = "ap-guangzhou" instance_id = tencentcloud_cynosdb_cluster.foo.id user = "root" password = "*" db_name = "tf_ci_test_new" vpc_id = local.vpc_id subnet_id = local.subnet_id } auto_retry_time_range_minutes = 0 }
```
Sync mysql database using CCN to route from ap-shanghai to ap-guangzhou ¶
```hcl
locals { vpc_id_sh = "vpc-evtcyb3g" subnet_id_sh = "subnet-1t83cxkp" src_ip = data.tencentcloud_mysql_instance.src_mysql.instance_list.0.intranet_ip src_port = data.tencentcloud_mysql_instance.src_mysql.instance_list.0.intranet_port ccn_id = data.tencentcloud_ccn_instances.ccns.instance_list.0.ccn_id dst_mysql_id = data.tencentcloud_mysql_instance.dst_mysql.instance_list.0.mysql_id }
variable "src_az_sh" { default = "ap-shanghai" }
variable "dst_az_gz" { default = "ap-guangzhou" }
data "tencentcloud_dts_sync_jobs" "sync_jobs" { job_name = "keep_sync_config_ccn_2_cdb" }
data "tencentcloud_ccn_instances" "ccns" { name = "keep-ccn-dts-sh" }
data "tencentcloud_mysql_instance" "src_mysql" { instance_name = "your_user_name_mysql_src" }
data "tencentcloud_mysql_instance" "dst_mysql" { instance_name = "your_user_name_mysql_src" }
resource "tencentcloud_dts_sync_config" "sync_config" { job_id = data.tencentcloud_dts_sync_jobs.sync_jobs.list.0.job_id src_access_type = "ccn" dst_access_type = "cdb" job_mode = "liteMode" run_mode = "Immediate" objects { mode = "Partial" databases { db_name = "tf_ci_test" new_db_name = "tf_ci_test_new" db_mode = "Partial" table_mode = "All" tables { table_name = "test" new_table_name = "test_new" } } } src_info { // shanghai to guangzhou via ccn region = var.src_az_sh user = "your_user_name" password = "your_pass_word" ip = local.src_ip port = local.src_port vpc_id = local.vpc_id_sh subnet_id = local.subnet_id_sh ccn_id = local.ccn_id database_net_env = "TencentVPC" } dst_info { region = var.dst_az_gz instance_id = local.dst_mysql_id user = "your_user_name" password = "your_pass_word" } auto_retry_time_range_minutes = 0 }
````
Import ¶
dts sync_config can be imported using the id, e.g.
``` terraform import tencentcloud_dts_sync_config.sync_config sync_config_id ```
Provides a resource to create a dts sync_job
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job" "sync_job" { pay_mode = "PostPay" src_database_type = "mysql" src_region = "ap-guangzhou" dst_database_type = "cynosdbmysql" dst_region = "ap-guangzhou" tags { tag_key = "aaa" tag_value = "bbb" } auto_renew = 0 instance_class = "micro" }
```
Provides a resource to create a dts sync_job_continue_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_continue_operation" "sync_job_continue_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_isolate_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_isolate_operation" "sync_job_isolate_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_pause_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_pause_operation" "sync_job_pause_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_recover_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_recover_operation" "sync_job_recover_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_resize_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_resize_operation" "sync_job_resize_operation" { job_id = "sync-werwfs23" new_instance_class = "large" }
```
Provides a resource to create a dts sync_job_resume_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_resume_operation" "sync_job_resume_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_start_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_start_operation" "sync_job_start_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a dts sync_job_stop_operation
Example Usage ¶
```hcl
resource "tencentcloud_dts_sync_job_stop_operation" "sync_job_stop_operation" { job_id = "sync-werwfs23" }
```
Provides a resource to create a eb event_bus
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
```
Import ¶
eb event_bus can be imported using the id, e.g.
``` terraform import tencentcloud_eb_event_bus.event_bus event_bus_id ```
Provides a resource to create a eb event_connector
~> **NOTE:** When the type is `apigw`, the import function is not supported.
Example Usage ¶
Create ckafka event connector ```hcl data "tencentcloud_user_info" "foo" {}
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_ckafka_instance" "kafka_instance" { instance_name = "ckafka-instance-maz-tf-test" zone_id = 100003 multi_zone_flag = true zone_ids = [100003, 100006] period = 1 vpc_id = var.vpc_id subnet_id = var.subnet_id msg_retention_time = 1300 renew_flag = 0 kafka_version = "1.1.1" disk_size = 500 disk_type = "CLOUD_BASIC" config { auto_create_topic_enable = true default_num_partitions = 3 default_replication_factor = 3 } dynamic_retention_config { enable = 1 } }
locals { ckafka_id = tencentcloud_ckafka_instance.kafka_instance.id uin = data.tencentcloud_user_info.foo.owner_uin }
resource "tencentcloud_eb_event_connector" "event_connector" { event_bus_id = tencentcloud_eb_event_bus.foo.id connection_name = "tf-event-connector" description = "event connector desc1" enable = true type = "ckafka" connection_description { resource_description = "qcs::ckafka:ap-guangzhou:uin/${local.uin}:ckafkaId/uin/${local.uin}/${local.ckafka_id}" ckafka_params { offset = "latest" topic_name = "dasdasd" } } }
```
Create api_gateway event connector
```hcl data "tencentcloud_user_info" "foo" {}
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_api_gateway_service" "service" { service_name = "tf-eb-service" protocol = "http&https" service_desc = "your nice service" net_type = ["INNER", "OUTER"] ip_version = "IPv4" }
locals { uin = data.tencentcloud_user_info.foo.owner_uin service_id = tencentcloud_api_gateway_service.service.id }
resource "tencentcloud_eb_event_connector" "event_connector" { event_bus_id = tencentcloud_eb_event_bus.foo.id connection_name = "tf-event-connector" description = "event connector desc1" enable = false type = "apigw" connection_description { resource_description = "qcs::apigw:ap-guangzhou:uin/${local.uin}:serviceid/${local.service_id}" api_gw_params { protocol = "HTTP" method = "GET" } } }
```
Import ¶
eb event_connector can be imported using the id, e.g.
``` terraform import tencentcloud_eb_event_connector.event_connector eventBusId#connectionId ```
Provides a resource to create a eb event_rule
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_rule" "event_rule" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_name = "tf-event_rule" description = "event rule desc" enable = true event_pattern = jsonencode( { source = "apigw.cloud.tencent" type = [ "connector:apigw", ] } ) tags = { "createdBy" = "terraform" } }
```
Import ¶
eb event_rule can be imported using the id, e.g.
``` terraform import tencentcloud_eb_event_rule.event_rule event_rule_id ```
Provides a resource to create a eb event_target
Example Usage ¶
Create an event target of type scf ¶
```hcl
variable "zone" { default = "ap-guangzhou" }
variable "namespace" { default = "default" }
variable "function" { default = "keep-1676351130" }
variable "function_version" { default = "$LATEST" }
data "tencentcloud_cam_users" "foo" { }
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_rule" "foo" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_name = "tf-event_rule" description = "event rule desc" enable = true event_pattern = jsonencode( { source = "apigw.cloud.tencent" type = [ "connector:apigw", ] } ) tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_target" "scf_target" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_id = tencentcloud_eb_event_rule.foo.rule_id type = "scf" target_description { resource_description = "qcs::scf:${var.zone}:uin/${data.tencentcloud_cam_users.foo.user_list.0.uin}:namespace/${var.namespace}/function/${var.function}/${var.function_version}" scf_params { batch_event_count = 1 batch_timeout = 1 enable_batch_delivery = true } } }
```
Create an event target of type ckafka ¶
```hcl
variable "ckafka" { default = "ckafka-qzoeaqx8" }
resource "tencentcloud_eb_event_target" "ckafka_target" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_id = tencentcloud_eb_event_rule.foo.rule_id type = "ckafka" target_description { resource_description = "qcs::scf:${var.zone}:uin/${data.tencentcloud_cam_users.foo.user_list.0.uin}:ckafkaId/uin/${data.tencentcloud_cam_users.foo.user_list.0.uin}/${var.ckafka}" ckafka_target_params { topic_name = "dasdasd" retry_policy { max_retry_attempts = 360 retry_interval = 60 } } } }
```
Import ¶
eb event_target can be imported using the id, e.g.
``` terraform import tencentcloud_eb_event_target.event_target event_target_id ```
Provides a resource to create a eb eb_transform
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_rule" "foo" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_name = "tf-event_rule" description = "event rule desc" enable = true event_pattern = jsonencode( { source = "apigw.cloud.tencent" type = [ "connector:apigw", ] } ) tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_event_transform" "foo" { event_bus_id = tencentcloud_eb_event_bus.foo.id rule_id = tencentcloud_eb_event_rule.foo.rule_id transformations { extraction { extraction_input_path = "$" format = "JSON" } transform { output_structs { key = "type" value = "connector:ckafka" value_type = "STRING" } output_structs { key = "source" value = "ckafka.cloud.tencent" value_type = "STRING" } output_structs { key = "region" value = "ap-guangzhou" value_type = "STRING" } output_structs { key = "datacontenttype" value = "application/json;charset=utf-8" value_type = "STRING" } output_structs { key = "status" value = "-" value_type = "STRING" } output_structs { key = "data" value = jsonencode( { Partition = 1 msgBody = "Hello from Ckafka again!" msgKey = "test" offset = 37 topic = "test-topic" } ) value_type = "STRING" } } } }
```
Import ¶
eb eb_transform can be imported using the id, e.g.
``` terraform import tencentcloud_eb_event_transform.eb_transform eb_transform_id ```
Provides a resource to create a eb put_events
Example Usage ¶
```hcl
resource "tencentcloud_eb_event_bus" "foo" { event_bus_name = "tf-event_bus" description = "event bus desc" enable_store = false save_days = 1 tags = { "createdBy" = "terraform" } }
resource "tencentcloud_eb_put_events" "put_events" { event_list { source = "ckafka.cloud.tencent" data = jsonencode( { "topic" : "test-topic", "Partition" : 1, "offset" : 37, "msgKey" : "test", "msgBody" : "Hello from Ckafka again!" } ) type = "connector:ckafka" subject = "qcs::ckafka:ap-guangzhou:uin/1250000000:ckafkaId/uin/1250000000/ckafka-123456" time = 1691572461939 } event_bus_id = tencentcloud_eb_event_bus.foo.id }
```
Provides an EIP resource.
Example Usage ¶
Paid by the bandwidth package ```hcl
resource "tencentcloud_eip" "foo" { name = "awesome_gateway_ip" bandwidth_package_id = "bwp-jtvzuky6" internet_charge_type = "BANDWIDTH_PACKAGE" type = "EIP" }
```
AntiDDos Eip ```
resource "tencentcloud_eip" "foo" { name = "awesome_gateway_ip" bandwidth_package_id = "bwp-4ocyia9s" internet_charge_type = "BANDWIDTH_PACKAGE" type = "AntiDDoSEIP" anti_ddos_package_id = "xxxxxxxx" tags = { "test" = "test" } }
```
Eip With Network Egress ```
resource "tencentcloud_eip" "foo" { name = "egress_eip" egress = "center_egress2" internet_charge_type = "BANDWIDTH_PACKAGE" internet_service_provider = "CMCC" internet_max_bandwidth_out = 1 type = "EIP" }
```
Import ¶
EIP can be imported using the id, e.g.
``` $ terraform import tencentcloud_eip.foo eip-nyvf60va ```
Provides a resource to create a eip address_transform
Example Usage ¶
```hcl
resource "tencentcloud_eip_address_transform" "address_transform" { instance_id = "" }
```
Import ¶
eip address_transform can be imported using the id, e.g.
``` terraform import tencentcloud_eip_address_transform.address_transform address_transform_id ```
Provides an eip resource associated with other resource like CVM, ENI and CLB.
~> **NOTE:** Please DO NOT define `allocate_public_ip` in `tencentcloud_instance` resource when using `tencentcloud_eip_association`.
Example Usage ¶
Bind elastic public IP By Instance ID ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "example-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "example-vpc" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eip" "eip" { name = "example-eip" internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" type = "EIP" }
resource "tencentcloud_instance" "example" { instance_name = "example-cvm" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" disable_security_service = true disable_monitor_service = true vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_eip_association" "example" { eip_id = tencentcloud_eip.eip.id instance_id = tencentcloud_instance.example.id }
```
Bind elastic public IP By elastic network card ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "example-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "example-vpc" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eni" "eni" { name = "example-eni" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc" ipv4_count = 1 }
resource "tencentcloud_eip" "eip" { name = "example-eip" internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" type = "EIP" }
resource "tencentcloud_eip_association" "example" { eip_id = tencentcloud_eip.eip.id network_interface_id = tencentcloud_eni.eni.id private_ip = tencentcloud_eni.eni.ipv4_info[0].ip }
```
Import ¶
Eip association can be imported using the id, e.g.
``` $ terraform import tencentcloud_eip_association.bar eip-41s6jwy4::ins-34jwj3 ```
Provides a resource to create a vpc normal_address_return
Example Usage ¶
```hcl
resource "tencentcloud_eip_normal_address_return" "normal_address_return" { address_ips = }
```
Provides a resource to create a eip public_address_adjust
Example Usage ¶
```hcl
resource "tencentcloud_eip_public_address_adjust" "public_address_adjust" { instance_id = "ins-cr2rfq78" address_id = "eip-erft45fu" }
```
Provides an elastic kubernetes cluster resource (offlined).
~> **NOTE:** This resource was offline and no longer supported.
Example Usage ¶
```
resource "tencentcloud_vpc" "vpc" { name = "tf-eks-vpc" cidr_block = "10.2.0.0/16" }
resource "tencentcloud_subnet" "sub" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-as-subnet" cidr_block = "10.2.11.0/24" availability_zone = "ap-guangzhou-3" }
resource "tencentcloud_subnet" "sub2" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-as-subnet" cidr_block = "10.2.10.0/24" availability_zone = "ap-guangzhou-3" }
resource "tencentcloud_eks_cluster" "foo" { cluster_name = "tf-test-eks" k8s_version = "1.18.4" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [ tencentcloud_subnet.sub.id, tencentcloud_subnet.sub2.id, ] cluster_desc = "test eks cluster created by terraform" service_subnet_id = tencentcloud_subnet.sub.id dns_servers { domain = "www.example1.com" servers = ["1.1.1.1:8080", "1.1.1.1:8081", "1.1.1.1:8082"] } enable_vpc_core_dns = true need_delete_cbs = true tags = { hello = "world" } }
```
Import ¶
``` terraform import tencentcloud_eks_cluster.foo cluster-id ```
Provides an elastic kubernetes service container instance (offlined).
~> **NOTE:** This resource was offline and no longer supported.
Example Usage ¶
``` data "tencentcloud_security_groups" "group" { }
data "tencentcloud_availability_zones_by_product" "zone" { product = "cvm" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/24" name = "tf-test-eksci" }
resource "tencentcloud_subnet" "sub" { availability_zone = data.tencentcloud_availability_zones_by_product.zone.zones[0].name cidr_block = "10.0.0.0/24" name = "sub" vpc_id = tencentcloud_vpc.vpc.id }
resource "tencentcloud_cbs_storage" "cbs" { availability_zone = data.tencentcloud_availability_zones_by_product.zone.zones[0].name storage_name = "cbs1" storage_size = 10 storage_type = "CLOUD_PREMIUM" }
resource "tencentcloud_eks_container_instance" "eci1" { name = "foo" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.sub.id cpu = 2 cpu_type = "intel" restart_policy = "Always" memory = 4 security_groups = [data.tencentcloud_security_groups.group.security_groups[0].security_group_id] cbs_volume { name = "vol1" disk_id = tencentcloud_cbs_storage.cbs.id } container { name = "redis1" image = "redis" liveness_probe { init_delay_seconds = 1 timeout_seconds = 3 period_seconds = 11 success_threshold = 1 failure_threshold = 3 http_get_path = "/" http_get_port = 443 http_get_scheme = "HTTPS" } readiness_probe { init_delay_seconds = 1 timeout_seconds = 3 period_seconds = 10 success_threshold = 1 failure_threshold = 3 tcp_socket_port = 81 } } container { name = "nginx" image = "nginx" } init_container { name = "alpine" image = "alpine:latest" } }
```
Import ¶
``` terraform import tencentcloud_eks_container_instance.foo container-instance-id ```
Provides a resource to create a elasticsearch diagnose ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_diagnose" "diagnose" { instance_id = "es-xxxxxx" cron_time = "15:00:00" }
```
Import ¶
es diagnose can be imported using the id, e.g.
``` terraform import tencentcloud_elasticsearch_diagnose.diagnose diagnose_id ```
Provides a resource to create a elasticsearch diagnose instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_diagnose_instance" "diagnose_instance" { instance_id = "es-xxxxxx" diagnose_jobs = ["cluster_health"] diagnose_indices = "*" }
```
Provides a resource to create a elasticsearch index ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_index" "index" { instance_id = "es-xxxxxx" index_type = "normal" index_name = "test-es-index" index_meta_json = "{\"mappings\":{},\"settings\":{\"index.number_of_replicas\":1,\"index.number_of_shards\":1,\"index.refresh_interval\":\"30s\"}}" }
```
Import ¶
elasticsearch index can be imported using the id, e.g.
``` terraform import tencentcloud_elasticsearch_index.index index_id ```
Provides an elasticsearch instance resource.
Example Usage ¶
Create a basic version of elasticsearch instance paid by the hour ¶
```hcl
data "tencentcloud_availability_zones_by_product" "availability_zone" { product = "es" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_es_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.0.name name = "tf_es_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_elasticsearch_instance" "example" { instance_name = "tf_example_es" availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.0.name version = "7.10.1" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id password = "Test12345" license_type = "basic" basic_security_type = 2 web_node_type_info { node_num = 1 node_type = "ES.S1.MEDIUM4" } node_info_list { node_num = 2 node_type = "ES.S1.MEDIUM8" encrypt = false } es_acl { # black_list = [ # "9.9.9.9", # "8.8.8.8", # ] white_list = [ "127.0.0.1", ] } tags = { test = "test" } }
```
Create a basic version of elasticsearch instance for multi-availability zone deployment ¶
```hcl
data "tencentcloud_availability_zones_by_product" "availability_zone" { product = "es" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_es_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.0.name name = "tf_es_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_subnet" "subnet_multi_zone" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.1.name name = "tf_es_subnet" cidr_block = "10.0.2.0/24" }
resource "tencentcloud_elasticsearch_instance" "example_multi_zone" { instance_name = "tf_example_es" availability_zone = "-" version = "7.10.1" vpc_id = tencentcloud_vpc.vpc.id subnet_id = "-" password = "Test12345" license_type = "basic" basic_security_type = 2 deploy_mode = 1 multi_zone_infos { availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.0.name subnet_id = tencentcloud_subnet.subnet.id } multi_zone_infos { availability_zone = data.tencentcloud_availability_zones_by_product.availability_zone.zones.1.name subnet_id = tencentcloud_subnet.subnet_multi_zone.id } web_node_type_info { node_num = 1 node_type = "ES.S1.MEDIUM4" } node_info_list { type = "dedicatedMaster" node_num = 3 node_type = "ES.S1.MEDIUM8" encrypt = false } node_info_list { type = "hotData" node_num = 2 node_type = "ES.S1.MEDIUM8" encrypt = false } es_acl { # black_list = [ # "9.9.9.9", # "8.8.8.8", # ] white_list = [ "127.0.0.1", ] } tags = { test = "test" } }
```
Import ¶
Elasticsearch instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_elasticsearch_instance.foo es-17634f05 ```
Provides a resource to create a elasticsearch logstash ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_logstash" "logstash" { instance_name = "logstash-test" zone = "ap-guangzhou-6" logstash_version = "7.14.2" vpc_id = "vpc-4owdpnwr" subnet_id = "subnet-4o0zd840" node_num = 1 charge_type = "POSTPAID_BY_HOUR" node_type = "LOGSTASH.SA2.MEDIUM4" disk_type = "CLOUD_SSD" disk_size = 20 license_type = "xpack" operation_duration { periods = [1, 2, 3, 4, 5, 6, 0] time_start = "02:00" time_end = "06:00" time_zone = "UTC+8" } tags = { tagKey = "tagValue" } }
```
Import ¶
elasticsearch logstash can be imported using the id, e.g.
``` terraform import tencentcloud_elasticsearch_logstash.logstash logstash_id ```
Provides a resource to create a elasticsearch logstash pipeline ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_logstash_pipeline" "logstash_pipeline" { instance_id = "ls-xxxxxx" pipeline { pipeline_id = "logstash-pipeline-test" pipeline_desc = "" config =<<EOF
input{
} filter{
} output{
} EOF
queue_type = "memory" queue_check_point_writes = 0 queue_max_bytes = "" batch_delay = 50 batch_size = 125 workers = 1 } op_type = 2 }
```
Import ¶
elasticsearch logstash_pipeline can be imported using the id, e.g.
``` terraform import tencentcloud_elasticsearch_logstash_pipeline.logstash_pipeline ${instance_id}#${pipeline_id} ```
Provides a resource to restart a elasticsearch instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_restart_instance_operation" "restart_instance_operation" { instance_id = "es-xxxxxx" }
```
Provides a resource to restart a elasticsearch kibana ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_restart_kibana_operation" "restart_kibana_operation" { instance_id = "es-xxxxxx" }
```
Provides a resource to restart a elasticsearch logstash instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_restart_logstash_instance_operation" "restart_logstash_instance_operation" { instance_id = "ls-xxxxxx" type = 0 }
```
Provides a resource to restart elasticsearch nodes ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_restart_nodes_operation" "restart_nodes_operation" { instance_id = "es-xxxxxx" node_names = ["1648026612002990732"] }
```
Provides a resource to create a elasticsearch security_group
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_security_group" "security_group" { instance_id = "es-5wn36he6" security_group_ids = [ "sg-mayqdlt1", "sg-po2q8cg7", ] }
```
Import ¶
elasticsearch security_group can be imported using the id, e.g.
``` terraform import tencentcloud_elasticsearch_security_group.security_group instance_id ```
Provides a resource to start a elasticsearch logstash pipeline ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_start_logstash_pipeline_operation" "start_logstash_pipeline_operation" { instance_id = "ls-xxxxxx" pipeline_id = "xxxxxx" }
```
Provides a resource to stop a elasticsearch logstash pipeline ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_stop_logstash_pipeline_operation" "stop_logstash_pipeline_operation" { instance_id = "ls-xxxxxx" pipeline_id = "xxxxxx" }
```
Provides a resource to update elasticsearch plugins ¶
Example Usage ¶
```hcl
resource "tencentcloud_elasticsearch_update_plugins_operation" "update_plugins_operation" { instance_id = "es-xxxxxx" install_plugin_list = ["analysis-pinyin"] force_restart = false force_update = true }
```
Provide a resource to create a emr cluster.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_instance_types" "cvm4c8m" { exclude_sold_out=true cpu_core_count=4 memory_size=8 filter { name = "instance-charge-type" values = ["POSTPAID_BY_HOUR"] } filter { name = "zone" values = [var.availability_zone] } }
resource "tencentcloud_vpc" "emr_vpc" { name = "emr-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "emr_subnet" { availability_zone = var.availability_zone name = "emr-subnets" vpc_id = tencentcloud_vpc.emr_vpc.id cidr_block = "10.0.20.0/28" is_multicast = false }
resource "tencentcloud_security_group" "emr_sg" { name = "emr-sg" description = "emr sg" project_id = 0 }
resource "tencentcloud_emr_cluster" "emr_cluster" { product_id=4 display_strategy="clusterList" vpc_settings={ vpc_id=tencentcloud_vpc.emr_vpc.id subnet_id=tencentcloud_subnet.emr_subnet.id } softwares=[ "zookeeper-3.6.1", ] support_ha=0 instance_name="emr-cluster-test" resource_spec { master_resource_spec { mem_size=8192 cpu=4 disk_size=100 disk_type="CLOUD_PREMIUM" spec="CVM.${data.tencentcloud_instance_types.cvm4c8m.instance_types.0.family}" storage_type=5 root_size=50 } core_resource_spec { mem_size=8192 cpu=4 disk_size=100 disk_type="CLOUD_PREMIUM" spec="CVM.${data.tencentcloud_instance_types.cvm4c8m.instance_types.0.family}" storage_type=5 root_size=50 } master_count=1 core_count=2 } login_settings={ password="Tencent@cloud123" } time_span=3600 time_unit="s" pay_mode=0 placement={ zone=var.availability_zone project_id=0 } sg_id=tencentcloud_security_group.emr_sg.id }
```
Provides a resource to create a emr user ¶
Example Usage ¶
```hcl
data "tencentcloud_emr" "my_emr" { display_strategy = "clusterList" }
resource "tencentcloud_emr_user_manager" "user_manager" { instance_id = data.tencentcloud_emr.my_emr.clusters.0.cluster_id user_name = "tf-test" user_group = "group1" password = "tf@123456" }
```
Import ¶
emr user_manager can be imported using the id, e.g.
``` terraform import tencentcloud_emr_user_manager.user_manager instanceId#userName ```
Provides a resource to create an ENI.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "vpc" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "example1" { name = "tf-example-sg1" description = "sg desc." project_id = 0 tags = { "example" = "test" } }
resource "tencentcloud_security_group" "example2" { name = "tf-example-sg2" description = "sg desc." project_id = 0 tags = { "example" = "test" } }
resource "tencentcloud_eni" "example" { name = "tf-example-eni" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc." ipv4_count = 1 security_groups = [ tencentcloud_security_group.example1.id, tencentcloud_security_group.example2.id ] }
```
Import ¶
ENI can be imported using the id, e.g.
```
$ terraform import tencentcloud_eni.foo eni-qka182br
```
Provides a resource to detailed information of attached backend server to an ENI.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "foo" { name = "ci-test-eni-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "foo" { availability_zone = "ap-guangzhou-3" name = "ci-test-eni-subnet" vpc_id = tencentcloud_vpc.foo.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eni" "foo" { name = "ci-test-eni" vpc_id = tencentcloud_vpc.foo.id subnet_id = tencentcloud_subnet.foo.id description = "eni desc" ipv4_count = 1 }
data "tencentcloud_images" "my_favorite_image" { image_type = ["PUBLIC_IMAGE"] os_name = "centos" }
data "tencentcloud_instance_types" "my_favorite_instance_types" { filter { name = "instance-family" values = ["S3"] } cpu_core_count = 1 memory_size = 1 }
data "tencentcloud_availability_zones" "my_favorite_zones" { }
resource "tencentcloud_instance" "foo" { instance_name = "ci-test-eni-attach" availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id instance_type = data.tencentcloud_instance_types.my_favorite_instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" disable_security_service = true disable_monitor_service = true vpc_id = tencentcloud_vpc.foo.id subnet_id = tencentcloud_subnet.foo.id }
resource "tencentcloud_eni_attachment" "foo" { eni_id = tencentcloud_eni.foo.id instance_id = tencentcloud_instance.foo.id }
```
Import ¶
ENI attachment can be imported using the id, e.g.
```
$ terraform import tencentcloud_eni_attachment.foo eni-gtlvkjvz+ins-0h3a5new
```
Provides a resource to create a eni_sg_attachment
-> **Note:** If this resource is used to bind security groups to eni, it cannot be linked to `tentcloud_eni` binding security group for simultaneous use.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "vpc" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "example1" { name = "tf-example-sg1" description = "sg desc." project_id = 0 tags = { "example" = "test" } }
resource "tencentcloud_security_group" "example2" { name = "tf-example-sg2" description = "sg desc." project_id = 0 tags = { "example" = "test" } }
resource "tencentcloud_eni" "example" { name = "tf-example-eni" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc." ipv4_count = 1 }
resource "tencentcloud_eni_sg_attachment" "eni_sg_attachment" { network_interface_ids = [tencentcloud_eni.example.id] security_group_ids = [ tencentcloud_security_group.example1.id, tencentcloud_security_group.example2.id ] }
```
Import ¶
vpc eni_sg_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_eni_sg_attachment.eni_sg_attachment eni_sg_attachment_id ```
Provides a resource to create a certificate of GAAP.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_certificate" "foo" { type = "BASIC" content = "test:tx2KGdo3zJg/." name = "test_certificate" }
```
Import ¶
GAAP certificate can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_certificate.foo cert-d5y6ei3b
```
Provide a resource to custom error page info for a GAAP HTTP domain.
Example Usage ¶
```hcl
resource tencentcloud_gaap_proxy "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource tencentcloud_gaap_layer7_listener "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
resource tencentcloud_gaap_http_domain "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" }
resource tencentcloud_gaap_domain_error_page "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = tencentcloud_gaap_http_domain.foo.domain error_codes = [404, 503] body = "bad request" }
```
Provides a resource to create a gaap global domain ¶
Example Usage ¶
```hcl
resource "tencentcloud_gaap_global_domain" "global_domain" { project_id = 0 default_value = "xxxxxx.com" alias = "demo" tags={ key = "value" } }
```
Import ¶
gaap global_domain can be imported using the id, e.g.
``` terraform import tencentcloud_gaap_global_domain.global_domain ${projectId}#${domainId} ```
Provides a resource to create a gaap global domain dns ¶
Example Usage ¶
```hcl
resource "tencentcloud_gaap_global_domain_dns" "global_domain_dns" { domain_id = "dm-xxxxxx" proxy_id_list = ["link-xxxxxx"] nation_country_inner_codes = ["101001"] }
```
Import ¶
gaap global_domain_dns can be imported using the id, e.g.
``` terraform import tencentcloud_gaap_global_domain_dns.global_domain_dns ${domainId}#${dnsRecordId} ```
Provides a resource to create a forward domain of layer7 listener.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
resource "tencentcloud_gaap_http_domain" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" }
```
Import ¶
GAAP http domain can be imported using the id, e.g.
-> **NOTE:** The format of tencentcloud_gaap_http_domain id is `[listener-id]+[protocol]+[domain]`.
```
$ terraform import tencentcloud_gaap_http_domain.foo listener-11112222+HTTP+www.qq.com
```
Provides a resource to create a forward rule of layer7 listener.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" }
resource "tencentcloud_gaap_realserver" "bar" { ip = "8.8.8.8" name = "ci-test-gaap-realserver" }
resource "tencentcloud_gaap_http_domain" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = "www.qq.com" }
resource "tencentcloud_gaap_http_rule" "foo" { listener_id = tencentcloud_gaap_layer7_listener.foo.id domain = tencentcloud_gaap_http_domain.foo.domain path = "/" realserver_type = "IP" health_check = true health_check_path = "/" health_check_method = "GET" health_check_status_codes = [200] realservers { id = tencentcloud_gaap_realserver.foo.id ip = tencentcloud_gaap_realserver.foo.ip port = 80 } realservers { id = tencentcloud_gaap_realserver.bar.id ip = tencentcloud_gaap_realserver.bar.ip port = 80 } }
```
Import ¶
GAAP http rule can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_http_rule.foo rule-3bsuu01r
```
Provides a resource to create a layer4 listener of GAAP.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" }
resource "tencentcloud_gaap_realserver" "bar" { ip = "119.29.29.29" name = "ci-test-gaap-realserver2" }
resource "tencentcloud_gaap_layer4_listener" "foo" { protocol = "TCP" name = "ci-test-gaap-4-listener" port = 80 realserver_type = "IP" proxy_id = tencentcloud_gaap_proxy.foo.id health_check = true realserver_bind_set { id = tencentcloud_gaap_realserver.foo.id ip = tencentcloud_gaap_realserver.foo.ip port = 80 } realserver_bind_set { id = tencentcloud_gaap_realserver.bar.id ip = tencentcloud_gaap_realserver.bar.ip port = 80 } }
```
Import ¶
GAAP layer4 listener can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_layer4_listener.foo listener-11112222
```
Provides a resource to create a layer7 listener of GAAP.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_layer7_listener" "foo" { protocol = "HTTP" name = "ci-test-gaap-l7-listener" port = 80 proxy_id = tencentcloud_gaap_proxy.foo.id }
```
Import ¶
GAAP layer7 listener can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_layer7_listener.foo listener-11112222
```
Provides a resource to create a GAAP proxy.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" tags = { test = "test" } }
```
Import ¶
GAAP proxy can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_proxy.foo link-11112222
```
Provides a resource to create a GAAP realserver.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_realserver" "foo" { ip = "1.1.1.1" name = "ci-test-gaap-realserver" tags = { test = "test" } }
```
Import ¶
GAAP realserver can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_realserver.foo rs-4ftghy6
```
Provides a resource to create a security policy of GAAP proxy.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_security_policy" "foo" { proxy_id = tencentcloud_gaap_proxy.foo.id action = "DROP" }
```
Import ¶
GAAP security policy can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_security_policy.foo pl-xxxx
```
Provides a resource to create a security policy rule.
Example Usage ¶
```hcl
resource "tencentcloud_gaap_proxy" "foo" { name = "ci-test-gaap-proxy" bandwidth = 10 concurrent = 2 access_region = "SouthChina" realserver_region = "NorthChina" }
resource "tencentcloud_gaap_security_policy" "foo" { proxy_id = tencentcloud_gaap_proxy.foo.id action = "ACCEPT" }
resource "tencentcloud_gaap_security_rule" "foo" { policy_id = tencentcloud_gaap_security_policy.foo.id cidr_ip = "1.1.1.1" action = "ACCEPT" protocol = "TCP" }
```
Import ¶
GAAP security rule can be imported using the id, e.g.
```
$ terraform import tencentcloud_gaap_security_rule.foo sr-xxxxxxxx
```
Provides a resource to create a HA VIP.
Example Usage ¶
```hcl
resource "tencentcloud_ha_vip" "foo" { name = "terraform_test" vpc_id = "vpc-gzea3dd7" subnet_id = "subnet-4d4m4cd4s" vip = "10.0.4.16" }
```
Import ¶
HA VIP can be imported using the id, e.g.
``` $ terraform import tencentcloud_ha_vip.foo havip-kjqwe4ba ```
Provides a resource to create a HA VIP EIP attachment.
Example Usage ¶
```hcl
resource "tencentcloud_ha_vip_eip_attachment" "foo" { havip_id = "havip-kjqwe4ba" address_ip = "1.1.1.1" }
```
Import ¶
HA VIP EIP attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_ha_vip_eip_attachment.foo havip-kjqwe4ba#1.1.1.1 ```
Provide a resource to manage image.
Example Usage ¶
```hcl
resource "tencentcloud_image" "image_snap" { image_name = "image-snapshot-keep" snapshot_ids = ["snap-nbp3xy1d", "snap-nvzu3dmh"] force_poweroff = true image_description = "create image with snapshot" }
```
Import ¶
image instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_image.image_snap img-gf7jspk6 ```
Provides a CVM instance resource.
~> **NOTE:** You can launch an CVM instance for a VPC network via specifying parameter `vpc_id`. One instance can only belong to one VPC.
~> **NOTE:** At present, 'PREPAID' instance cannot be deleted directly and must wait it to be outdated and released automatically.
Example Usage ¶
```hcl
data "tencentcloud_images" "my_favorite_image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "my_favorite_instance_types" { filter { name = "instance-family" values = ["S1", "S2", "S3", "S4", "S5"] } cpu_core_count = 2 exclude_sold_out = true }
data "tencentcloud_availability_zones" "my_favorite_zones" { }
// Create VPC resource
resource "tencentcloud_vpc" "app" { cidr_block = "10.0.0.0/16" name = "awesome_app_vpc" }
resource "tencentcloud_subnet" "app" { vpc_id = tencentcloud_vpc.app.id availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name name = "awesome_app_subnet" cidr_block = "10.0.1.0/24" }
// Create a POSTPAID_BY_HOUR CVM instance
resource "tencentcloud_instance" "cvm_postpaid" { instance_name = "cvm_postpaid" availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id instance_type = data.tencentcloud_instance_types.my_favorite_instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.app.id subnet_id = tencentcloud_subnet.app.id data_disks { data_disk_type = "CLOUD_PREMIUM" data_disk_size = 50 encrypt = false } tags = { tagKey = "tagValue" } }
// Create a PREPAID CVM instance
resource "tencentcloud_instance" "cvm_prepaid" { timeouts { create = "30m" } instance_name = "cvm_prepaid" availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id instance_type = data.tencentcloud_instance_types.my_favorite_instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.app.id subnet_id = tencentcloud_subnet.app.id instance_charge_type = "PREPAID" instance_charge_type_prepaid_period = 1 instance_charge_type_prepaid_renew_flag = "NOTIFY_AND_MANUAL_RENEW" data_disks { data_disk_type = "CLOUD_PREMIUM" data_disk_size = 50 encrypt = false } force_delete = true tags = { tagKey = "tagValue" } }
```
Import ¶
CVM instance can be imported using the id, e.g.
``` terraform import tencentcloud_instance.foo ins-2qol3a80 ```
Provides a CVM instance set resource.
~> **NOTE:** You can launch an CVM instance for a VPC network via specifying parameter `vpc_id`. One instance can only belong to one VPC.
~> **NOTE:** This resource is designed to cater for the scenario of creating CVM in large batches.
~> **NOTE:** After run command `terraform apply`, must wait all cvms is ready, then run command `terraform plan`, either it will cause state change.
Example Usage ¶
```hcl
data "tencentcloud_images" "my_favorite_image" { image_type = ["PUBLIC_IMAGE"] os_name = "Tencent Linux release 3.2 (Final)" }
data "tencentcloud_instance_types" "my_favorite_instance_types" { filter { name = "instance-family" values = ["S3"] } cpu_core_count = 1 memory_size = 1 }
data "tencentcloud_availability_zones" "my_favorite_zones" { }
// Create VPC resource
resource "tencentcloud_vpc" "app" { cidr_block = "10.0.0.0/16" name = "awesome_app_vpc" }
resource "tencentcloud_subnet" "app" { vpc_id = tencentcloud_vpc.app.id availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name name = "awesome_app_subnet" cidr_block = "10.0.1.0/24" }
// Create 10 CVM instances to host awesome_app
resource "tencentcloud_instance_set" "my_awesome_app" { timeouts { create = "5m" read = "20s" delete = "1h" } instance_count = 10 instance_name = "awesome_app" availability_zone = data.tencentcloud_availability_zones.my_favorite_zones.zones.0.name image_id = data.tencentcloud_images.my_favorite_image.images.0.image_id instance_type = data.tencentcloud_instance_types.my_favorite_instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.app.id subnet_id = tencentcloud_subnet.app.id }
```
Provides a resource to create a ipv6_address_bandwidth
Example Usage ¶
```hcl
resource "tencentcloud_ipv6_address_bandwidth" "ipv6_address_bandwidth" { ipv6_address = "2402:4e00:1019:9400:0:9905:a90b:2ef0" internet_max_bandwidth_out = 6 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR"
# bandwidth_package_id = "bwp-34rfgt56" } ```
Provides a key pair resource.
Example Usage ¶
```hcl
resource "tencentcloud_key_pair" "foo" { key_name = "terraform_test" }
resource "tencentcloud_key_pair" "foo1" { key_name = "terraform_test" public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDjd8fTnp7Dcuj4mLaQxf9Zs/ORgUL9fQxRCNKkPgP1paTy1I513maMX126i36Lxxl3+FUB52oVbo/FgwlIfX8hyCnv8MCxqnuSDozf1CD0/wRYHcTWAtgHQHBPCC2nJtod6cVC3kB18KeV4U7zsxmwFeBIxojMOOmcOBuh7+trRw==" }
```
Import ¶
Key pair can be imported using the id, e.g.
``` $ terraform import tencentcloud_key_pair.foo skey-17634f05 ```
Provides a resource to create a kms cloud_resource_attachment
Example Usage ¶
```hcl
resource "tencentcloud_kms_cloud_resource_attachment" "example" { key_id = "72688f39-1fe8-11ee-9f1a-525400cf25a4" product_id = "mysql" resource_id = "cdb-fitq5t9h" }
```
Import ¶
kms cloud_resource_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_kms_cloud_resource_attachment.example 72688f39-1fe8-11ee-9f1a-525400cf25a4#mysql#cdb-fitq5t9h ```
Provide a resource to create a KMS external key.
Example Usage ¶
Create a basic instance.
```hcl
resource "tencentcloud_kms_external_key" "example" { alias = "tf-example-kms-externalkey" description = "example of kms external key" tags = { "createdBy" = "terraform" } }
```
Specify the encryption algorithm and public key.
```hcl
resource "tencentcloud_kms_external_key" "example" { alias = "tf-example-kms-externalkey" description = "example of kms external key" wrapping_algorithm = "RSAES_PKCS1_V1_5" key_material_base64 = "your_public_key_base64_encoded" is_enabled = true tags = { "createdBy" = "terraform" } }
```
Disable the external kms key.
```hcl
resource "tencentcloud_kms_external_key" "example" { alias = "tf-example-kms-externalkey" description = "example of kms external key" wrapping_algorithm = "RSAES_PKCS1_V1_5" key_material_base64 = "your_public_key_base64_encoded" is_enabled = false tags = { "test-tag" = "unit-test" } }
```
Import ¶
KMS external keys can be imported using the id, e.g.
``` $ terraform import tencentcloud_kms_external_key.example 287e8f40-7cbb-11eb-9a3a-xxxxx ```
Provide a resource to create a KMS key.
Example Usage ¶
Create and enable a instance.
```hcl
resource "tencentcloud_kms_key" "example" { alias = "tf-example-kms-key" description = "example of kms key" key_rotation_enabled = false is_enabled = true tags = { "createdBy" = "terraform" } }
```
Specify the Key Usage as an asymmetry method.
```hcl
resource "tencentcloud_kms_key" "example2" { alias = "tf-example-kms-key" description = "example of kms key" key_usage = "ASYMMETRIC_DECRYPT_RSA_2048" is_enabled = false }
```
Disable the kms key instance.
```hcl
resource "tencentcloud_kms_key" "example3" { alias = "tf-example-kms-key" description = "example of kms key" key_rotation_enabled = false is_enabled = false tags = { "test-tag" = "unit-test" } }
```
Import ¶
KMS keys can be imported using the id, e.g.
``` $ terraform import tencentcloud_kms_key.foo 287e8f40-7cbb-11eb-9a3a-5254004f7f94 ```
Provides a resource to create a kms overwrite_white_box_device_fingerprints
Example Usage ¶
```hcl
resource "tencentcloud_kms_overwrite_white_box_device_fingerprints" "example" { key_id = "23e80852-1e38-11e9-b129-5cb9019b4b01" }
```
Provides a resource to create a kms white_box_key
Example Usage ¶
```hcl
resource "tencentcloud_kms_white_box_key" "example" { alias = "tf_example" description = "test desc." algorithm = "SM4" status = "Enabled" tags = { "createdBy" = "terraform" } }
```
Import ¶
kms white_box_key can be imported using the id, e.g.
``` terraform import tencentcloud_kms_white_box_key.example 244dab8c-6dad-11ea-80c6-5254006d0810 ```
Provide a resource to configure kubernetes cluster app addons.
~> **NOTE**: Avoid to using legacy "1.0.0" version, leave the versions empty so we can fetch the latest while creating.
Example Usage ¶
Install cbs addon by passing values ¶
```hcl
resource "tencentcloud_kubernetes_addon_attachment" "addon_cbs" { cluster_id = "cls-xxxxxxxx" name = "cbs" # version = "1.0.5" values = [ "rootdir=/var/lib/kubelet" ] }
```
Install tcr addon by passing values ¶
```hcl
resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" { cluster_id = "cls-xxxxxxxx" #specify your tke cluster id name = "tcr" version = "1.0.0" values = [ # imagePullSecretsCrs is an array which can configure image pull "global.imagePullSecretsCrs[0].name=${local.tcr_id}-vpc", #specify a unique name, invalid format as: `${tcrId}-vpc` "global.imagePullSecretsCrs[0].namespaces=${local.ns_name}", #input the specified namespaces of the cluster, or input `*` for all. "global.imagePullSecretsCrs[0].serviceAccounts=*", #input the specified service account of the cluster, or input `*` for all. "global.imagePullSecretsCrs[0].type=docker", #only support docker now "global.imagePullSecretsCrs[0].dockerUsername=${local.user_name}", #input the access username, or you can create it from `tencentcloud_tcr_token` "global.imagePullSecretsCrs[0].dockerPassword=${local.token}", #input the access token, or you can create it from `tencentcloud_tcr_token` "global.imagePullSecretsCrs[0].dockerServer=${local.tcr_name}-vpc.tencentcloudcr.com", #invalid format as: `${tcr_name}-vpc.tencentcloudcr.com` "global.imagePullSecretsCrs[1].name=${local.tcr_id}-public", #specify a unique name, invalid format as: `${tcr_id}-public` "global.imagePullSecretsCrs[1].namespaces=${local.ns_name}", "global.imagePullSecretsCrs[1].serviceAccounts=*", "global.imagePullSecretsCrs[1].type=docker", "global.imagePullSecretsCrs[1].dockerUsername=${local.user_name}", #refer to previous description "global.imagePullSecretsCrs[1].dockerPassword=${local.token}", #refer to previous description "global.imagePullSecretsCrs[1].dockerServer=${local.tcr_name}.tencentcloudcr.com", #invalid format as: `${tcr_name}.tencentcloudcr.com` "global.cluster.region=gz", "global.cluster.longregion=ap-guangzhou", # Specify global hosts(optional), the numbers of hosts must be matched with the numbers of imagePullSecretsCrs "global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above "global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances` "global.hosts[0].disabled=false", #disabled this host config or not "global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com", "global.hosts[1].ip=${local.end_point}", "global.hosts[1].disabled=false", ] }
locals { tcr_id = tencentcloud_tcr_instance.mytcr.id tcr_name = tencentcloud_tcr_instance.mytcr.name ns_name = tencentcloud_tcr_namespace.my_ns.name user_name = tencentcloud_tcr_token.my_token.user_name token = tencentcloud_tcr_token.my_token.token end_point = data.tencentcloud_tcr_instances.my_ins.instance_list.0.internal_end_point }
resource "tencentcloud_tcr_token" "my_token" { instance_id = local.tcr_id description = "tcr token" }
data "tencentcloud_tcr_instances" "my_ins" { instance_id = local.tcr_id }
resource "tencentcloud_tcr_instance" "mytcr" { name = "tf-test-tcr-addon" instance_type = "basic" delete_bucket = true tags = { test = "test" } }
resource "tencentcloud_tcr_namespace" "my_ns" { instance_id = local.tcr_id name = "tf_test_tcr_ns_addon" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
```
Install new addon by passing spec json to req_body directly
```hcl
resource "tencentcloud_kubernetes_addon_attachment" "addon_cbs" { cluster_id = "cls-xxxxxxxx" request_body = <<EOF { "spec":{ "chart":{ "chartName":"cbs", "chartVersion":"1.0.5" }, "values":{ "rawValuesType":"yaml", "values":[ "rootdir=/var/lib/kubelet" ] } } }
EOF } ```
Import ¶
Addon can be imported by using cluster_id#addon_name ``` $ terraform import tencentcloud_kubernetes_addon_attachment.addon_cos cls-xxxxxxxx#cos ```
Auto scaling group for kubernetes cluster (offlined).
~> **NOTE:** This resource was offline and no longer supported.
Example Usage ¶
```hcl # Use tencentcloud_kubernetes_node_pool instead
resource "tencentcloud_kubernetes_node_pool" "mynodepool" { name = "mynodepool" cluster_id = "cls-xxxxxxxx" max_size = 6 min_size = 1 vpc_id = "vpc-xxxxxxxx" subnet_ids = ["subnet-xxxxxxxx"] retry_policy = "INCREMENTAL_INTERVALS" desired_capacity = 4 enable_auto_scale = true multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" orderly_security_group_ids = ["sg-24vswocp"] instance_charge_type = "SPOTPAID" spot_instance_type = "one-time" spot_max_price = "1000" data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = input_your_password enhanced_security_service = false enhanced_monitor_service = false } labels = { "test1" = "test1", "test2" = "test2", }
}
Provide a resource to configure kubernetes cluster authentication info.
~> **NOTE:** Only available for cluster version >= 1.20
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "cluster_cidr" { default = "172.16.0.0/16" }
variable "default_instance_type" { default = "S1.SMALL1" }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] os_name = "centos" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_kubernetes_cluster" "managed_cluster" { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id cluster_cidr = "10.31.0.0/16" cluster_max_pod_num = 32 cluster_name = "keep" cluster_desc = "test cluster desc" cluster_version = "1.20.6" cluster_max_service_num = 32 worker_config { count = 1 availability_zone = var.availability_zone instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" password = "ZZXXccvv1212" } cluster_deploy_type = "MANAGED_CLUSTER" }
resource "tencentcloud_kubernetes_auth_attachment" "test_auth_attach" { cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id jwks_uri = "https://${tencentcloud_kubernetes_cluster.managed_cluster.id}.ccs.tencent-cloud.com/openid/v1/jwks" issuer = "https://${tencentcloud_kubernetes_cluster.managed_cluster.id}.ccs.tencent-cloud.com" auto_create_discovery_anonymous_auth = true }
```
Use the TKE default issuer and jwks_uri
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "cluster_cidr" { default = "172.16.0.0/16" }
variable "default_instance_type" { default = "S1.SMALL1" }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] os_name = "centos" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_kubernetes_cluster" "managed_cluster" { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id cluster_cidr = "10.31.0.0/16" cluster_max_pod_num = 32 cluster_name = "keep" cluster_desc = "test cluster desc" cluster_version = "1.20.6" cluster_max_service_num = 32 worker_config { count = 1 availability_zone = var.availability_zone instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" password = "ZZXXccvv1212" } cluster_deploy_type = "MANAGED_CLUSTER" }
if you want to use tke default issuer and jwks_uri, please set use_tke_default to true and set issuer to empty string. ¶
resource "tencentcloud_kubernetes_auth_attachment" "test_use_tke_default_auth_attach" { cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id auto_create_discovery_anonymous_auth = true use_tke_default = true }
```
Use OIDC Config ```
resource "tencentcloud_kubernetes_auth_attachment" "test_auth_attach" { cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id use_tke_default = true auto_create_discovery_anonymous_auth = true auto_create_oidc_config = true auto_install_pod_identity_webhook_addon = true }
data "tencentcloud_cam_oidc_config" "oidc_config" { name = tencentcloud_kubernetes_cluster.managed_cluster.id depends_on = [ tencentcloud_kubernetes_auth_attachment.test_auth_attach ] }
output "identity_key" { value = data.tencentcloud_cam_oidc_config.oidc_config.identity_key }
output "identity_url" { value = data.tencentcloud_cam_oidc_config.oidc_config.identity_url }
```
Provide a resource to create tke backup storage location.
~> **NOTE:** To create this resource, you need to create a cos bucket with prefix "tke-backup" in advance.
Example Usage ```
resource "tencentcloud_kubernetes_backup_storage_location" "example_backup" { name = "example-backup-1" storage_region = "ap-guangzhou" # region of you pre-created COS bucket bucket = "tke-backup-example-1" # bucket name of your pre-created COS bucket }
```
Import ¶
tke backup storage location can be imported, e.g.
``` $ terraform import tencentcloud_kubernetes_backup_storage_location.test xxx ```
Provide a resource to create a kubernetes cluster.
~> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extra_args`), you need to submit a ticket for application.
~> **NOTE:** We recommend this usage that uses the `tencentcloud_kubernetes_cluster` resource to create a cluster without any `worker_config`, then adds nodes by the `tencentcloud_kubernetes_node_pool` resource. It's more flexible than managing worker config directly with `tencentcloud_kubernetes_cluster`, `tencentcloud_kubernetes_scale_worker`, or existing node management of `tencentcloud_kubernetes_attachment`. The reason is that `worker_config` is unchangeable and may cause the whole cluster resource to `ForceNew`.
Example Usage ¶
Create a basic cluster with two worker nodes ¶
```hcl
variable "default_instance_type" { default = "SA2.2XLARGE16" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" # password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
```
Create an empty cluster with a node pool ¶
The cluster does not have any nodes, nodes will be added through node pool.
```hcl
variable "default_instance_type" { default = "SA2.2XLARGE16" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-np-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster_np" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" # without any worker config }
resource "tencentcloud_kubernetes_node_pool" "example" { name = "tf_example_node_pool" cluster_id = tencentcloud_kubernetes_cluster.example.id max_size = 6 # set the node scaling range [1,6] min_size = 1 vpc_id = local.first_vpc_id subnet_ids = [local.first_subnet_id] retry_policy = "INCREMENTAL_INTERVALS" desired_capacity = 4 enable_auto_scale = true multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" orderly_security_group_ids = [local.sg_id] data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = "test123#" enhanced_security_service = false enhanced_monitor_service = false host_name = "12.123.0.0" host_name_style = "ORIGINAL" } labels = { "test1" = "test1", "test2" = "test2", } taints { key = "test_taint" value = "taint_value" effect = "PreferNoSchedule" } taints { key = "test_taint2" value = "taint_value2" effect = "PreferNoSchedule" } node_config { extra_args = [ "root-dir=/var/lib/kubelet" ] } }
````
Create a cluster with a node pool and open the network access with cluster endpoint ¶
The cluster's internet and intranet access will be opened after nodes are added through node pool.
```hcl
variable "default_instance_type" { default = "SA2.2XLARGE16" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-np-ep-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false # (can be ignored) open it after the nodes added cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" # without any worker config }
resource "tencentcloud_kubernetes_node_pool" "example" { name = "tf_example_node_pool" cluster_id = tencentcloud_kubernetes_cluster.example.id max_size = 6 # set the node scaling range [1,6] min_size = 1 vpc_id = local.first_vpc_id subnet_ids = [local.first_subnet_id] retry_policy = "INCREMENTAL_INTERVALS" desired_capacity = 4 enable_auto_scale = true multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" orderly_security_group_ids = [local.sg_id] data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = "test123#" enhanced_security_service = false enhanced_monitor_service = false host_name = "12.123.0.0" host_name_style = "ORIGINAL" } labels = { "test1" = "test1", "test2" = "test2", } taints { key = "test_taint" value = "taint_value" effect = "PreferNoSchedule" } taints { key = "test_taint2" value = "taint_value2" effect = "PreferNoSchedule" } node_config { extra_args = [ "root-dir=/var/lib/kubelet" ] } }
resource "tencentcloud_kubernetes_cluster_endpoint" "example" { cluster_id = tencentcloud_kubernetes_cluster.example.id cluster_internet = true # open the internet here cluster_intranet = true cluster_internet_security_group = local.sg_id cluster_intranet_subnet_id = local.first_subnet_id depends_on = [ # wait for the node pool ready tencentcloud_kubernetes_node_pool.example ] }
````
Use Kubelet ¶
```hcl # Create a baisc kubernetes cluster with two nodes.
variable "default_instance_type" { default = "SA2.2XLARGE16" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 encrypt = false } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" disaster_recover_group_ids = [] security_group_ids = [] key_ids = [] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" disaster_recover_group_ids = [] security_group_ids = [] key_ids = [] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } extra_args = [ "root-dir=/var/lib/kubelet" ] }
```
Use extension addons ¶
```hcl
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "cluster_cidr" { default = "10.31.0.0/16" }
variable "default_instance_type" { default = "S5.SMALL1" }
data "tencentcloud_vpc_subnets" "vpc_first" { is_default = true availability_zone = var.availability_zone_first }
# fetch latest addon(chart) versions data "tencentcloud_kubernetes_charts" "charts" {}
locals { chartNames = data.tencentcloud_kubernetes_charts.charts.chart_list.*.name chartVersions = data.tencentcloud_kubernetes_charts.charts.chart_list.*.latest_version chartMap = zipmap(local.chartNames, local.chartVersions) }
resource "tencentcloud_kubernetes_cluster" "cluster_with_addon" { vpc_id = data.tencentcloud_vpc_subnets.vpc_first.instance_list.0.vpc_id cluster_cidr = var.cluster_cidr cluster_max_pod_num = 32 cluster_name = "test" cluster_desc = "test cluster desc" cluster_max_service_num = 32 cluster_internet = true # managed_cluster_internet_security_policies = ["3.3.3.3", "1.1.1.1"] cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = data.tencentcloud_vpc_subnets.vpc_first.instance_list.0.subnet_id img_id = "img-rkiynh11" enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. key_ids = "skey-11112222" } extension_addon { name = "COS" param = jsonencode({ "kind" : "App", "spec" : { "chart" : { "chartName" : "cos", "chartVersion" : local.chartMap["cos"] }, "values" : { "values" : [], "rawValues" : "e30=", "rawValuesType" : "json" } } }) } extension_addon { name = "SecurityGroupPolicy" param = jsonencode({ "kind" : "App", "spec" : { "chart" : { "chartName" : "securitygrouppolicy", "chartVersion" : local.chartMap["securitygrouppolicy"] } } }) } extension_addon { name = "OOMGuard" param = jsonencode({ "kind" : "App", "spec" : { "chart" : { "chartName" : "oomguard", "chartVersion" : local.chartMap["oomguard"] } } }) } extension_addon { name = "OLM" param = jsonencode({ "kind" : "App", "spec" : { "chart" : { "chartName" : "olm", "chartVersion" : local.chartMap["olm"] } } }) } }
```
Use node pool global config ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "vpc" { default = "vpc-dk8zmwuf" }
variable "subnet" { default = "subnet-pqfek0t8" }
variable "default_instance_type" { default = "SA1.LARGE8" }
resource "tencentcloud_kubernetes_cluster" "test_node_pool_global_config" { vpc_id = var.vpc cluster_cidr = "10.1.0.0/16" cluster_max_pod_num = 32 cluster_name = "test" cluster_desc = "test cluster desc" cluster_max_service_num = 32 cluster_internet = true # managed_cluster_internet_security_policies = ["3.3.3.3", "1.1.1.1"] cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = var.subnet data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. key_ids = "skey-11112222" } node_pool_global_config { is_scale_in_enabled = true expander = "random" ignore_daemon_sets_utilization = true max_concurrent_scale_in = 5 scale_in_delay = 15 scale_in_unneeded_time = 15 scale_in_utilization_threshold = 30 skip_nodes_with_local_storage = false skip_nodes_with_system_pods = true } labels = { "test1" = "test1", "test2" = "test2", } }
```
Using VPC-CNI network type ```hcl
variable "availability_zone" { default = "ap-guangzhou-1" }
variable "vpc" { default = "vpc-r1m1fyx5" }
variable "default_instance_type" { default = "SA2.SMALL2" }
resource "tencentcloud_kubernetes_cluster" "managed_cluster" { vpc_id = var.vpc cluster_max_pod_num = 32 cluster_name = "test" cluster_desc = "test cluster desc" cluster_max_service_num = 256 cluster_internet = true # managed_cluster_internet_security_policies = ["3.3.3.3", "1.1.1.1"] cluster_deploy_type = "MANAGED_CLUSTER" network_type = "VPC-CNI" eni_subnet_ids = ["subnet-bk1etlyu"] service_cidr = "10.1.0.0/24" worker_config { count = 1 availability_zone = var.availability_zone instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = "subnet-t5dv27rs" data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. key_ids = "skey-11112222" } labels = { "test1" = "test1", "test2" = "test2", } }
```
Using ops options ```
resource "tencentcloud_kubernetes_cluster" "managed_cluster" { # ...your basic fields log_agent { enabled = true kubelet_root_dir = "" # optional } event_persistence { enabled = true log_set_id = "" # optional topic_id = "" # optional } cluster_audit { enabled = true log_set_id = "" # optional topic_id = "" # optional } }
```
Provide a resource to attach an existing cvm to kubernetes cluster.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" } variable "cluster_cidr" { default = "172.16.0.0/16" } variable "default_instance_type" { default = "S1.SMALL1" } data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] os_name = "centos" } data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone } data "tencentcloud_instance_types" "default" { filter { name = "instance-family" values = ["SA2"] } cpu_core_count = 8 memory_size = 16 } resource "tencentcloud_instance" "foo" { instance_name = "tf-auto-test-1-1" availability_zone = var.availability_zone image_id = data.tencentcloud_images.default.images.0.image_id instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 } resource "tencentcloud_kubernetes_cluster" "managed_cluster" { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id cluster_cidr = "10.1.0.0/16" cluster_max_pod_num = 32 cluster_name = "keep" cluster_desc = "test cluster desc" cluster_max_service_num = 32 worker_config { count = 1 availability_zone = var.availability_zone instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" password = "ZZXXccvv1212" } cluster_deploy_type = "MANAGED_CLUSTER" } resource "tencentcloud_kubernetes_cluster_attachment" "test_attach" { cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id instance_id = tencentcloud_instance.foo.id password = "Lo4wbdit" labels = { "test1" = "test1", "test2" = "test2", } worker_config_overrides { desired_pod_num = 8 } }
```
Provide a resource to create a KubernetesClusterEndpoint. This resource allows you to create an empty cluster first without any workers. Only all attached node depends create complete, cluster endpoint will finally be enabled.
~> **NOTE:** Recommend using `depends_on` to make sure endpoint create after node pools or workers does.
Example Usage ¶
```hcl resource "tencentcloud_kubernetes_node_pool" "pool1" {}
resource "tencentcloud_kubernetes_cluster_endpoint" "foo" { cluster_id = "cls-xxxxxxxx" cluster_internet = true cluster_intranet = true # managed_cluster_internet_security_policies = [ "192.168.0.0/24" ] cluster_intranet_subnet_id = "subnet-xxxxxxxx" depends_on = [ tencentcloud_kubernetes_node_pool.pool1 ] }
```
Import ¶
KubernetesClusterEndpoint instance can be imported by passing cluster id, e.g. ``` $ terraform import tencentcloud_kubernetes_cluster_endpoint.test cluster-id ```
Provides a resource to create a tke encryption_protection
Example Usage ¶
Enable tke encryption protection ¶
```hcl
variable "example_region" { default = "ap-guangzhou" }
variable "example_cluster_cidr" { default = "10.32.0.0/16" }
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "a tf example cluster for the kms test" cluster_max_service_num = 32 cluster_deploy_type = "MANAGED_CLUSTER" }
resource "tencentcloud_kms_key" "example" { alias = "tf-example-kms-key" description = "example of kms key instance" key_usage = "ENCRYPT_DECRYPT" is_enabled = true }
resource "tencentcloud_kubernetes_encryption_protection" "example" { cluster_id = tencentcloud_kubernetes_cluster.example.id kms_configuration { key_id = tencentcloud_kms_key.example.id kms_region = var.example_region } }
```
Provide a resource to create an auto scaling group for kubernetes cluster.
~> **NOTE:** We recommend the usage of one cluster with essential worker config + node pool to manage cluster and nodes. Its a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, tencentcloud_kubernetes_scale_worker or exist node management of `tencentcloud_kubernetes_attachment`. Cause some unchangeable parameters of `worker_config` may cause the whole cluster resource `force new`.
~> **NOTE:** In order to ensure the integrity of customer data, if you destroy nodepool instance, it will keep the cvm instance associate with nodepool by default. If you want to destroy together, please set `delete_keep_instance` to `false`.
~> **NOTE:** In order to ensure the integrity of customer data, if the cvm instance was destroyed due to shrinking, it will keep the cbs associate with cvm by default. If you want to destroy together, please set `delete_with_instance` to `true`.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "cluster_cidr" { default = "172.31.0.0/16" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
variable "default_instance_type" { default = "S1.SMALL1" }
//this is the cluster with empty worker config
resource "tencentcloud_kubernetes_cluster" "managed_cluster" { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id cluster_cidr = var.cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf-tke-unit-test" cluster_desc = "test cluster desc" cluster_max_service_num = 32 cluster_version = "1.18.4" cluster_deploy_type = "MANAGED_CLUSTER" }
//this is one example of managing node using node pool
resource "tencentcloud_kubernetes_node_pool" "mynodepool" { name = "mynodepool" cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id max_size = 6 min_size = 1 vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_ids = [data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id] retry_policy = "INCREMENTAL_INTERVALS" desired_capacity = 4 enable_auto_scale = true multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" orderly_security_group_ids = ["sg-24vswocp"] data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = "test123#" enhanced_security_service = false enhanced_monitor_service = false host_name = "12.123.0.0" host_name_style = "ORIGINAL" } labels = { "test1" = "test1", "test2" = "test2", } taints { key = "test_taint" value = "taint_value" effect = "PreferNoSchedule" } taints { key = "test_taint2" value = "taint_value2" effect = "PreferNoSchedule" } node_config { extra_args = [ "root-dir=/var/lib/kubelet" ] } }
```
Using Spot CVM Instance ```hcl
resource "tencentcloud_kubernetes_node_pool" "mynodepool" { name = "mynodepool" cluster_id = tencentcloud_kubernetes_cluster.managed_cluster.id max_size = 6 min_size = 1 vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_ids = [data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id] retry_policy = "INCREMENTAL_INTERVALS" desired_capacity = 4 enable_auto_scale = true multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" orderly_security_group_ids = ["sg-24vswocp", "sg-3qntci2v", "sg-7y1t2wax"] instance_charge_type = "SPOTPAID" spot_instance_type = "one-time" spot_max_price = "1000" data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 10 public_ip_assigned = true password = "test123#" enhanced_security_service = false enhanced_monitor_service = false } labels = { "test1" = "test1", "test2" = "test2", }
}
```
Provide a resource to increase instance to cluster ¶
~> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extra_args`), you need to submit a ticket for application.
~> **NOTE:** Import Node: Currently, only one node can be imported at a time.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "subnet" { default = "subnet-pqfek0t8" }
variable "scale_instance_type" { default = "S2.LARGE16" }
resource tencentcloud_kubernetes_scale_worker test_scale { cluster_id = "cls-godovr32" desired_pod_num = 16 labels = { "test1" = "test1", "test2" = "test2", } worker_config { count = 3 availability_zone = var.availability_zone instance_type = var.scale_instance_type subnet_id = var.subnet system_disk_type = "CLOUD_SSD" system_disk_size = 50 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" password = "AABBccdd1122" } }
```
Use Kubelet ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "subnet" { default = "subnet-pqfek0t8" }
variable "scale_instance_type" { default = "S2.LARGE16" }
resource tencentcloud_kubernetes_scale_worker test_scale { cluster_id = "cls-godovr32" extra_args = [ "root-dir=/var/lib/kubelet" ] labels = { "test1" = "test1", "test2" = "test2", } worker_config { count = 3 availability_zone = var.availability_zone instance_type = var.scale_instance_type subnet_id = var.subnet system_disk_type = "CLOUD_SSD" system_disk_size = 50 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" password = "AABBccdd1122" } }
```
Provide a resource to create serverless node pool of cluster.
Example Usage ¶
Add serverless node pool to a cluster ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-3" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id sg_id = data.tencentcloud_security_groups.sg.security_groups.0.security_group_id }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
data "tencentcloud_security_groups" "sg" { name = "default" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "tf example cluster" cluster_max_service_num = 32 cluster_version = "1.18.4" cluster_deploy_type = "MANAGED_CLUSTER" }
resource "tencentcloud_kubernetes_serverless_node_pool" "example" { cluster_id = tencentcloud_kubernetes_cluster.example.id name = "tf_example_serverless_node_pool" serverless_nodes { display_name = "tf_example_serverless_node1" subnet_id = local.subnet_id } serverless_nodes { display_name = "tf_example_serverless_node2" subnet_id = local.subnet_id } security_group_ids = [local.sg_id] labels = { "label1" : "value1", "label2" : "value2", } }
```
Adding taints to the virtual nodes under this node pool ¶
The pods without appropriate tolerations will not be scheduled on this node. Refer [taint-and-toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for more details.
```hcl
resource "tencentcloud_kubernetes_serverless_node_pool" "example" { cluster_id = tencentcloud_kubernetes_cluster.example.id name = "tf_example_serverless_node_pool" serverless_nodes { display_name = "tf_example_serverless_node1" subnet_id = local.subnet_id } serverless_nodes { display_name = "tf_example_serverless_node2" subnet_id = local.subnet_id } security_group_ids = [local.sg_id] labels = { "label1" : "value1", "label2" : "value2", } taints{ key = "key1" value = "value1" effect = "NoSchedule" } taints{ key = "key1" value = "value1" effect = "NoExecute" } }
```
Import ¶
serverless node pool can be imported, e.g.
``` $ terraform import tencentcloud_kubernetes_serverless_node_pool.test cls-xxx#np-xxx ```
Provides a Load Balancer resource.
~> **NOTE:** It has been deprecated and replaced by `tencentcloud_clb_instance`.
Example Usage ¶
```hcl
resource "tencentcloud_lb" "classic" { type = "OPEN" forward = "APPLICATION" name = "tf-test-classic" project_id = 0 }
```
Provides a resource to create a lighthouse apply_disk_backup
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_apply_disk_backup" "apply_disk_backup" { disk_id = "lhdisk-xxxxxx" disk_backup_id = "lhbak-xxxxxx" }
```
Provides a resource to create a lighthouse apply_instance_snapshot
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_apply_instance_snapshot" "apply_instance_snapshot" { instance_id = "lhins-123456" snapshot_id = "lhsnap-123456" }
```
Provides a resource to create a lighthouse blueprint ¶
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_blueprint" "blueprint" { blueprint_name = "blueprint_name_test" description = "blueprint_description_test" instance_id = "lhins-xxxxxx" }
```
Import ¶
lighthouse blueprint can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_blueprint.blueprint blueprint_id ```
Provides a resource to create a lighthouse disk ¶
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_disk" "disk" { zone = "ap-hongkong-2" disk_size = 20 disk_type = "CLOUD_SSD" disk_charge_prepaid { period = 1 renew_flag = "NOTIFY_AND_AUTO_RENEW" time_unit = "m" } disk_name = "test" }
```
Provides a resource to create a lighthouse disk_attachment
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_disk_attachment" "disk_attachment" { disk_id = "lhdisk-xxxxxx" instance_id = "lhins-xxxxxx" }
```
Import ¶
lighthouse disk_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_disk_attachment.disk_attachment disk_attachment_id ```
Provides a resource to create a lighthouse disk_backup
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_disk_backup" "disk_backup" { disk_id = "lhdisk-xxxxx" disk_backup_name = "disk-backup" }
```
Import ¶
lighthouse disk_backup can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_disk_backup.disk_backup disk_backup_id ```
Provides a resource to create a lighthouse firewall rule ¶
~> **NOTE:** Use an empty template to clean up the default rules before using this resource manage firewall rules.
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_firewall_rule" "firewall_rule" { instance_id = "lhins-xxxxxxx" firewall_rules { protocol = "TCP" port = "80" cidr_block = "10.0.0.1" action = "ACCEPT" firewall_rule_description = "description 1" } firewall_rules { protocol = "TCP" port = "80" cidr_block = "10.0.0.2" action = "ACCEPT" firewall_rule_description = "description 2" } }
```
Import ¶
lighthouse firewall_rule can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_firewall_rule.firewall_rule lighthouse_instance_id ```
Provides a resource to create a lighthouse firewall template ¶
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_firewall_template" "firewall_template" { template_name = "firewall-template-test" template_rules { protocol = "TCP" port = "8080" cidr_block = "127.0.0.1" action = "ACCEPT" firewall_rule_description = "test description" } template_rules { protocol = "TCP" port = "8090" cidr_block = "127.0.0.0/24" action = "DROP" firewall_rule_description = "test description" } }
```
Import ¶
lighthouse firewall_template can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_firewall_template.firewall_template firewall_template_id ```
Provides a resource to create a lighthouse instance.
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_firewall_template" "firewall_template" { template_name="empty-template" }
resource "tencentcloud_lighthouse_instance" "lighthouse" { bundle_id = "bundle2022_gen_01" blueprint_id = "lhbp-f1lkcd41" period = 1 renew_flag = "NOTIFY_AND_AUTO_RENEW" instance_name = "hello world" zone = "ap-guangzhou-3" containers { container_image = "ccr.ccs.tencentyun.com/qcloud/nginx" container_name = "nginx" envs { key = "key" value = "value" } envs { key = "key2" value = "value2" } publish_ports { host_port = 80 container_port = 80 ip = "127.0.0.1" protocol = "tcp" } publish_ports { host_port = 36000 container_port = 36000 ip = "127.0.0.1" protocol = "tcp" } volumes { container_path = "/data" host_path = "/tmp" } volumes { container_path = "/var" host_path = "/tmp" } command = "ls -l" } containers { container_image = "ccr.ccs.tencentyun.com/qcloud/resty" container_name = "resty" envs { key = "key2" value = "value2" } publish_ports { host_port = 80 container_port = 80 ip = "127.0.0.1" protocol = "udp" } volumes { container_path = "/var" host_path = "/tmp" } command = "echo \"hello\"" } firewall_template_id = tencentcloud_lighthouse_firewall_template.firewall_template.id }
```
Provides a resource to create a lighthouse key_pair
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_key_pair" "key_pair" { key_name = "key_name_test" }
```
Import ¶
lighthouse key_pair can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_key_pair.key_pair key_pair_id ```
Provides a resource to create a lighthouse key_pair_attachment
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_key_pair_attachment" "key_pair_attachment" { key_id = "lhkp-xxxxxx" instance_id = "lhins-xxxxxx" }
```
Import ¶
lighthouse key_pair_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_lighthouse_key_pair_attachment.key_pair_attachment key_pair_attachment_id ```
Provides a resource to create a lighthouse reboot_instance
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_reboot_instance" "reboot_instance" { instance_id = "lhins-xxx" }
```
Provides a resource to create a lighthouse renew_disk
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_renew_disk" "renew_disk" { disk_id = "lhdisk-xxxxxx" renew_disk_charge_prepaid { period = 1 renew_flag = "NOTIFY_AND_AUTO_RENEW" time_unit = "m" } auto_voucher = true }
```
Provides a resource to create a lighthouse renew_instance
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_renew_instance" "renew_instance" { instance_id = instance_charge_prepaid { period = 1 renew_flag = "NOTIFY_AND_MANUAL_RENEW" } renew_data_disk = true auto_voucher = false }
```
Provides a resource to create a lighthouse snapshot ¶
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_snapshot" "snapshot" { instance_id = "lhins-acd1234" snapshot_name = "snap_20200903" }
```
Provides a resource to create a lighthouse start_instance
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_start_instance" "start_instance" { instance_id = "lhins-xxxxxx" }
```
Provides a resource to create a lighthouse stop_instance
Example Usage ¶
```hcl
resource "tencentcloud_lighthouse_stop_instance" "stop_instance" { instance_id = "lhins-xxxxxx" }
```
Provides a resource to create a mariadb account ¶
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_account" "account" { instance_id = "tdsql-4pzs5b67" user_name = "account-test" host = "10.101.202.22" password = "Password123." read_only = 0 description = "desc" }
``` Import
mariadb account can be imported using the instance_id#user_name#host, e.g. ``` $ terraform import tencentcloud_mariadb_account.account tdsql-4pzs5b67#account-test#10.101.202.22 ```
Provides a resource to create a mariadb account_privileges
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_account_privileges" "account_privileges" { instance_id = "tdsql-9vqvls95" accounts { user = "keep-modify-privileges" host = "127.0.0.1" } global_privileges = ["ALTER", "CREATE", "DELETE", "SELECT", "UPDATE", "DROP"] }
```
Import ¶
mariadb account_privileges can be imported using the id, e.g.
``` terraform import tencentcloud_mariadb_account_privileges.account_privileges account_privileges_id ```
Provides a resource to create a mariadb backup_time
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_backup_time" "backup_time" { instance_id = "tdsql-9vqvls95" start_backup_time = "01:00" end_backup_time = "04:00" }
```
Import ¶
mariadb backup_time can be imported using the id, e.g.
``` terraform import tencentcloud_mariadb_backup_time.backup_time backup_time_id ```
Provides a resource to create a mariadb cancel_dcn_job
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_cancel_dcn_job" "cancel_dcn_job" { instance_id = "tdsql-9vqvls95" }
```
Provides a resource to create a mariadb dedicatedcluster_db_instance
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_dedicatedcluster_db_instance" "dedicatedcluster_db_instance" { goods_num = 1 memory = 2 storage = 10 cluster_id = "dbdc-24odnuhr" vpc_id = "vpc-ii1jfbhl" subnet_id = "subnet-3ku415by" db_version_id = "8.0" instance_name = "cluster-mariadb-test-1" }
``` Import
mariadb dedicatedcluster_db_instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_dedicatedcluster_db_instance.dedicatedcluster_db_instance tdsql-050g3fmv ```
Provides a resource to create a mariadb encrypt_attributes
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_encrypt_attributes" "encrypt_attributes" { instance_id = "tdsql-ow728lmc" encrypt_enabled = 1 }
```
Provides a resource to create a mariadb flush_binlog
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_flush_binlog" "flush_binlog" { instance_id = "tdsql-9vqvls95" }
```
Provides a resource to create a mariadb hour_db_instance
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_hour_db_instance" "basic" { db_version_id = "10.0" instance_name = "db-test-del" memory = 2 node_count = 2 storage = 10 subnet_id = "subnet-jdi5xn22" vpc_id = "vpc-k1t8ickr" vip = "10.0.0.197" zones = [ "ap-guangzhou-6", "ap-guangzhou-7", ] tags = { createdBy = "terraform" } }
``` Import
mariadb hour_db_instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_hour_db_instance.hour_db_instance tdsql-kjqih9nn ```
Provides a resource to create a mariadb instance ¶
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_instance" "instance" { zones = ["ap-guangzhou-3",] node_count = 2 memory = 8 storage = 10 period = 1 # auto_voucher = # voucher_ids = vpc_id = "vpc-ii1jfbhl" subnet_id = "subnet-3ku415by" # project_id = "" db_version_id = "8.0" instance_name = "terraform-test" # security_group_ids = "" auto_renew_flag = 1 ipv6_flag = 0 tags = { "createby" = "terrafrom-2" } init_params { param = "character_set_server" value = "utf8mb4" } init_params { param = "lower_case_table_names" value = "0" } init_params { param = "innodb_page_size" value = "16384" } init_params { param = "sync_mode" value = "1" } dcn_region = "" dcn_instance_id = "" }
``` Import
mariadb tencentcloud_mariadb_instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_instance.instance tdsql-4pzs5b67 ```
Provides a resource to create a mariadb instance_config
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_instance_config" "test" { instance_id = "tdsql-9vqvls95" vpc_id = "vpc-ii1jfbhl" subnet_id = "subnet-3ku415by" rs_access_strategy = 1 extranet_access = 0 vip = "127.0.0.1" }
```
Import ¶
mariadb instance_config can be imported using the id, e.g.
``` terraform import tencentcloud_mariadb_instance_config.test id ```
Provides a resource to create a mariadb log_file_retention_period
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_log_file_retention_period" "log_file_retention_period" { instance_id = "tdsql-4pzs5b67" days = "8" }
``` Import
mariadb log_file_retention_period can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_log_file_retention_period.log_file_retention_period tdsql-4pzs5b67 ```
Provides a resource to create a mariadb activate_hour_db_instance
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_operate_hour_db_instance" "activate_hour_db_instance" { instance_id = "tdsql-9vqvls95" operate = "activate" }
```
Provides a resource to create a mariadb parameters ¶
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_parameters" "parameters" { instance_id = "tdsql-4pzs5b67" params { param = "auto_increment_increment" value = "1" } params { param = "auto_increment_offset" value = "1" } params { param = "autocommit" value = "ON" } params { param = "character_set_server" value = "utf8mb4" } params { param = "collation_connection" value = "utf8mb4_general_ci" } params { param = "collation_database" value = "utf8mb4_general_ci" } params { param = "collation_server" value = "utf8mb4_general_ci" } params { param = "connect_timeout" value = "10" } params { param = "default_collation_for_utf8mb4" value = "utf8mb4_general_ci" } params { param = "default_week_format" value = "0" } params { param = "delay_key_write" value = "ON" } params { param = "delayed_insert_limit" value = "100" } params { param = "delayed_insert_timeout" value = "300" } params { param = "delayed_queue_size" value = "1000" } params { param = "div_precision_increment" value = "4" } params { param = "event_scheduler" value = "ON" } params { param = "group_concat_max_len" value = "1024" } params { param = "innodb_concurrency_tickets" value = "5000" } params { param = "innodb_flush_log_at_trx_commit" value = "1" } params { param = "innodb_lock_wait_timeout" value = "20" } params { param = "innodb_max_dirty_pages_pct" value = "70.000000" } params { param = "innodb_old_blocks_pct" value = "37" } params { param = "innodb_old_blocks_time" value = "1000" } params { param = "innodb_purge_batch_size" value = "1000" } params { param = "innodb_read_ahead_threshold" value = "56" } params { param = "innodb_stats_method" value = "nulls_equal" } params { param = "innodb_stats_on_metadata" value = "OFF" } params { param = "innodb_strict_mode" value = "OFF" } params { param = "innodb_table_locks" value = "ON" } params { param = "innodb_thread_concurrency" value = "0" } params { param = "interactive_timeout" value = "28800" } params { param = "key_cache_age_threshold" value = "300" } params { param = "key_cache_block_size" value = "1024" } params { param = "key_cache_division_limit" value = "100" } params { param = "local_infile" value = "OFF" } params { param = "lock_wait_timeout" value = "5" } params { param = "log_queries_not_using_indexes" value = "OFF" } params { param = "long_query_time" value = "1.000000" } params { param = "low_priority_updates" value = "OFF" } params { param = "max_allowed_packet" value = "1073741824" } params { param = "max_binlog_size" value = "536870912" } params { param = "max_connect_errors" value = "2000" } params { param = "max_connections" value = "10000" } params { param = "max_execution_time" value = "0" } params { param = "max_prepared_stmt_count" value = "200000" } params { param = "myisam_sort_buffer_size" value = "4194304" } params { param = "net_buffer_length" value = "16384" } params { param = "net_read_timeout" value = "150" } params { param = "net_retry_count" value = "10" } params { param = "net_write_timeout" value = "300" } params { param = "query_alloc_block_size" value = "16384" } params { param = "query_prealloc_size" value = "24576" } params { param = "slow_launch_time" value = "2" } params { param = "sort_buffer_size" value = "2097152" } params { param = "sql_mode" value = "NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES" } params { param = "sql_require_primary_key" value = "ON" } params { param = "sql_safe_updates" value = "OFF" } params { param = "sqlasyntimeout" value = "30" } params { param = "sync_binlog" value = "1" } params { param = "table_definition_cache" value = "10240" } params { param = "table_open_cache" value = "20480" } params { param = "time_zone" value = "+08:00" } params { param = "tmp_table_size" value = "33554432" } params { param = "tx_isolation" value = "READ-COMMITTED" } params { param = "wait_timeout" value = "28800" } }
``` Import
mariadb parameters can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_parameters.parameters tdsql-4pzs5b67 ```
Provides a resource to create a mariadb renew_instance
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_renew_instance" "renew_instance" { instance_id = "tdsql-9vqvls95" period = 1 }
```
Provides a resource to create a mariadb restart_instance
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_restart_instance" "restart_instance" { instance_id = "tdsql-9vqvls95" }
```
Provides a resource to create a mariadb security_groups
~> **NOTE:** If you use this resource, please do not use security_group_ids in tencentcloud_mariadb_instance resource
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_security_groups" "security_groups" { instance_id = "tdsql-4pzs5b67" security_group_id = "sg-7kpsbxdb" product = "mariadb" }
``` Import
mariadb security_groups can be imported using the id, e.g. ``` $ terraform import tencentcloud_mariadb_security_groups.security_groups tdsql-4pzs5b67#sg-7kpsbxdb#mariadb ```
Provides a resource to create a mariadb switch_h_a
Example Usage ¶
```hcl
resource "tencentcloud_mariadb_switch_ha" "switch_ha" { instance_id = "tdsql-9vqvls95" zone = "ap-guangzhou-2" }
```
Provides a resource to create a mdl streamlive_input
Example Usage ¶
```hcl
resource "tencentcloud_mdl_stream_live_input" "stream_live_input" { name = "terraform_test" type = "RTP_PUSH" security_group_ids = [ "6405DF9D000007DFB4EC" ] }
```
Import ¶
mdl stream_live_input can be imported using the id, e.g.
``` terraform import tencentcloud_mdl_stream_live_input.stream_live_input id ```
Provide a resource to create a Mongodb instance.
Example Usage ¶
```hcl
resource "tencentcloud_mongodb_instance" "mongodb" { instance_name = "mongodb" memory = 4 volume = 100 engine_version = "MONGO_36_WT" machine_type = "HIO10G" available_zone = "ap-guangzhou-2" vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" project_id = 0 password = "password1234" }
```
Import ¶
Mongodb instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_mongodb_instance.mongodb cmgo-41s6jwy4 ```
Provides a resource to create a mongodb instance_account
Example Usage ¶
```hcl
resource "tencentcloud_mongodb_instance_account" "instance_account" { instance_id = "cmgo-lxaz2c9b" user_name = "test_account" password = "xxxxxxxx" mongo_user_password = "xxxxxxxxx" user_desc = "test account" auth_role { mask = 0 namespace = "*" } }
```
Provides a resource to create a mongodb instance_backup
Example Usage ¶
```hcl
resource "tencentcloud_mongodb_instance_backup" "instance_backup" { instance_id = "cmgo-9d0p6umb" backup_method = 0 backup_remark = "my backup" }
```
Provides a resource to create a mongodb instance_backup_download_task
Example Usage ¶
```hcl
resource "tencentcloud_mongodb_instance_backup_download_task" "instance_backup_download_task" { instance_id = "cmgo-b43i3wkj" backup_name = "cmgo-b43i3wkj_2023-05-09 14:54" backup_sets { replica_set_id = "cmgo-b43i3wkj_0" } }
```
Import ¶
mongodb instance_backup_download_task can be imported using the id, e.g.
``` terraform import tencentcloud_mongodb_instance_backup_download_task.instance_backup_download_task instanceId#backupName ```
Provide a resource to create a Mongodb sharding instance.
Example Usage ¶
```hcl
resource "tencentcloud_mongodb_sharding_instance" "mongodb" { instance_name = "mongodb" shard_quantity = 2 nodes_per_shard = 3 memory = 4 volume = 100 engine_version = "MONGO_36_WT" machine_type = "HIO10G" available_zone = "ap-guangzhou-3" vpc_id = "vpc-mz3efvbw" subnet_id = "subnet-lk0svi3p" project_id = 0 password = "password1234" mongos_cpu = 1 mongos_memory = 2 mongos_node_num = 3 }
```
Import ¶
Mongodb sharding instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_mongodb_sharding_instance.mongodb cmgo-41s6jwy4 ```
Provide a resource to create a Mongodb standby instance.
Example Usage ¶
```hcl
provider "tencentcloud" { region = "ap-guangzhou" }
provider "tencentcloud" { alias = "shanghai" region = "ap-shanghai" }
resource "tencentcloud_mongodb_instance" "mongodb" { instance_name = "tf-mongodb-test" memory = 4 volume = 100 engine_version = "MONGO_40_WT" machine_type = "HIO10G" available_zone = var.availability_zone project_id = 0 password = "test1234" tags = { test = "test" } }
resource "tencentcloud_mongodb_standby_instance" "mongodb" { provider = tencentcloud.shanghai instance_name = "tf-mongodb-standby-test" memory = 4 volume = 100 available_zone = "ap-shanghai-2" project_id = 0 father_instance_id = tencentcloud_mongodb_instance.mongodb.id father_instance_region = "ap-guangzhou" tags = { test = "test" } }
```
Import ¶
Mongodb instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_mongodb_standby_instance.mongodb cmgo-41s6jwy4 ```
Provides a alarm notice resource for monitor.
Example Usage ¶
```hcl
resource "tencentcloud_monitor_alarm_notice" "example" { name = "test_alarm_notice" notice_language = "zh-CN" notice_type = "ALL" url_notices { end_time = 86399 is_valid = 0 start_time = 0 url = "https://www.mytest.com/validate" weekday = [ 1, 2, 3, 4, 5, 6, 7, ] } user_notices { end_time = 86399 group_ids = [] need_phone_arrive_notice = 1 notice_way = [ "EMAIL", "SMS", ] phone_call_type = "CIRCLE" phone_circle_interval = 180 phone_circle_times = 2 phone_inner_interval = 180 phone_order = [] receiver_type = "USER" start_time = 0 user_ids = [ 11082189, 11082190, ] weekday = [ 1, 2, 3, 4, 5, 6, 7, ] } }
```
Import ¶
Monitor Alarm Notice can be imported, e.g.
``` $ terraform import tencentcloud_monitor_alarm_notice.import-test noticeId ```
Provides a alarm policy resource for monitor.
Example Usage ¶
cvm_device alarm policy
```hcl
resource "tencentcloud_monitor_alarm_notice" "foo" { name = "tf-alarm_notice" notice_type = "ALL" notice_language = "zh-CN" user_notices { receiver_type = "USER" start_time = 0 end_time = 1 notice_way = ["SMS","EMAIL"] user_ids = [10001] group_ids = [] phone_order = [10001] phone_circle_times = 2 phone_circle_interval = 50 phone_inner_interval = 60 need_phone_arrive_notice = 1 phone_call_type = "CIRCLE" weekday =[1,2,3,4,5,6,7] } url_notices { url = "https://www.mytest.com/validate" end_time = 0 start_time = 1 weekday = [1,2,3,4,5,6,7] }
}
resource "tencentcloud_monitor_alarm_policy" "foo" { policy_name = "tf-policy" monitor_type = "MT_QCE" enable = 1 project_id = 0 namespace = "cvm_device" conditions { is_union_rule = 1 rules { metric_name = "CpuUsage" period = 60 operator = "ge" value = "89.9" continue_period = 1 notice_frequency = 3600 is_power_notice = 0 } } event_conditions { metric_name = "ping_unreachable" } event_conditions { metric_name = "guest_reboot" } notice_ids = [tencentcloud_monitor_alarm_notice.foo.id] trigger_tasks { type = "AS" task_config = "{\"Region\":\"ap-guangzhou\",\"Group\":\"asg-0z312312x\",\"Policy\":\"asp-ganig28\"}" } }
```
k8s_cluster alarm policy
```hcl
resource "tencentcloud_monitor_alarm_policy" "policy" { enable = 1 monitor_type = "MT_QCE" namespace = "k8s_cluster" notice_ids = [ "notice-l9ziyxw6", ] policy_name = "TkeClusterNew" project_id = 1244035 conditions { is_union_rule = 0 rules { continue_period = 3 description = "Allocatable Pods" is_power_notice = 0 metric_name = "K8sClusterAllocatablePodsTotal" notice_frequency = 3600 operator = "gt" period = 60 rule_type = "STATIC" unit = "Count" value = "10" filter { dimensions = jsonencode( [ [ { Key = "region" Operator = "eq" Value = [ "ap-guangzhou", ] }, { Key = "tke_cluster_instance_id" Operator = "in" Value = [ "cls-czhtobea", ] }, ], ] ) type = "DIMENSION" } } rules { continue_period = 3 description = "Total CPU Cores" is_power_notice = 0 metric_name = "K8sClusterCpuCoreTotal" notice_frequency = 3600 operator = "gt" period = 60 rule_type = "STATIC" unit = "Core" value = "2" filter { dimensions = jsonencode( [ [ { Key = "region" Operator = "eq" Value = [ "ap-guangzhou", ] }, { Key = "tke_cluster_instance_id" Operator = "in" Value = [ "cls-czhtobea", ] }, ], ] ) type = "DIMENSION" } } } }
```
cvm_device alarm policy binding cvm by tag ```
resource "tencentcloud_monitor_alarm_policy" "policy" { enable = 1 monitor_type = "MT_QCE" namespace = "cvm_device" notice_ids = [ "notice-l9ziyxw6", ] policy_name = "policy" project_id = 0 conditions { is_union_rule = 0 rules { continue_period = 5 description = "CPUUtilization" is_power_notice = 0 metric_name = "CpuUsage" notice_frequency = 7200 operator = "gt" period = 60 rule_type = "STATIC" unit = "%" value = "95" } rules { continue_period = 5 description = "PublicBandwidthUtilization" is_power_notice = 0 metric_name = "Outratio" notice_frequency = 7200 operator = "gt" period = 60 rule_type = "STATIC" unit = "%" value = "95" } rules { continue_period = 5 description = "MemoryUtilization" is_power_notice = 0 metric_name = "MemUsage" notice_frequency = 7200 operator = "gt" period = 60 rule_type = "STATIC" unit = "%" value = "95" } rules { continue_period = 5 description = "DiskUtilization" is_power_notice = 0 metric_name = "CvmDiskUsage" notice_frequency = 7200 operator = "gt" period = 60 rule_type = "STATIC" unit = "%" value = "95" } } event_conditions { continue_period = 0 description = "DiskReadonly" is_power_notice = 0 metric_name = "disk_readonly" notice_frequency = 0 period = 0 } policy_tag { key = "test-tag" value = "unit-test" } }
```
Import ¶
Alarm policy instance can be imported, e.g.
``` $ terraform import tencentcloud_monitor_alarm_policy.policy policy-id ```
Provides a resource to create a monitor policy_set_default
Example Usage ¶
```hcl
resource "tencentcloud_monitor_alarm_policy_set_default" "policy_set_default" { module = "monitor" policy_id = "policy-u4iykjkt" }
```
Provides a resource for bind objects to a policy group resource.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_monitor_policy_binding_object.
Example Usage ¶
```hcl data "tencentcloud_instances" "instances" { }
resource "tencentcloud_monitor_policy_group" "group" { group_name = "terraform_test" policy_view_name = "cvm_device" remark = "this is a test policy group" is_union_rule = 1 conditions { metric_id = 33 alarm_notify_type = 1 alarm_notify_period = 600 calc_type = 1 calc_value = 3 calc_period = 300 continue_period = 2 } }
#for cvm
resource "tencentcloud_monitor_binding_object" "binding" { group_id = tencentcloud_monitor_policy_group.group.id dimensions { dimensions_json = "{\"unInstanceId\":\"${data.tencentcloud_instances.instances.instance_list[0].instance_id}\"}" } }
```
Provides a resource for bind receivers to a policy group resource.
Example Usage ¶
```hcl
data "tencentcloud_cam_groups" "groups" { //You should first create a user group with CAM }
resource "tencentcloud_monitor_policy_group" "group" { group_name = "nice_group" policy_view_name = "cvm_device" remark = "this is a test policy group" conditions { metric_id = 33 alarm_notify_type = 1 alarm_notify_period = 600 calc_type = 1 calc_value = 3 calc_period = 300 continue_period = 2 } }
resource "tencentcloud_monitor_binding_receiver" "receiver" { group_id = tencentcloud_monitor_policy_group.group.id receivers { start_time = 0 end_time = 86399 notify_way = ["SMS"] receiver_type = "group" receiver_group_list = [data.tencentcloud_cam_groups.groups.group_list[0].group_id] receive_language = "en-US" } }
```
Provides a resource to create a monitor grafana_dns_config
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_dns_config" "grafana_dns_config" { instance_id = "grafana-dp2hnnfa" name_servers = ["10.1.2.1", "10.1.2.2", "10.1.2.3"] }
```
Import ¶
monitor grafana_dns_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_dns_config.grafana_dns_config instance_id ```
Provides a resource to create a monitor grafana_env_config
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_env_config" "grafana_env_config" { instance_id = "grafana-dp2hnnfa" envs = { "aaa" = "ccc" "bbb" = "ccc" } }
```
Import ¶
monitor grafana_env_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_env_config.grafana_env_config instance_id ```
Provides a resource to create a monitor grafanaInstance ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "test-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false is_destroy = true tags = { "createdBy" = "test" } }
``` Import
monitor grafanaInstance can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_grafana_instance.foo grafanaInstance_id ```
Provides a resource to create a monitor grafanaIntegration ¶
Example Usage ¶
Create a grafan instance and integrate the configuration ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "test-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_grafana_integration" "grafanaIntegration" { instance_id = tencentcloud_monitor_grafana_instance.foo.id kind = "tencentcloud-monitor-app" content = "{\"kind\":\"tencentcloud-monitor-app\",\"spec\":{\"dataSourceSpec\":{\"authProvider\":{\"__anyOf\":\"使用密钥\",\"useRole\":true,\"secretId\":\"arunma@tencent.com\",\"secretKey\":\"12345678\"},\"name\":\"uint-test\"},\"grafanaSpec\":{\"organizationIds\":[]}}}" }
```
Provides a resource to create a monitor grafanaNotificationChannel ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "test-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_alarm_notice" "foo" { name = "tf_alarm_notice" notice_type = "ALL" notice_language = "zh-CN" user_notices { receiver_type = "USER" start_time = 0 end_time = 1 notice_way = ["SMS","EMAIL"] user_ids = [10001] group_ids = [] phone_order = [10001] phone_circle_times = 2 phone_circle_interval = 50 phone_inner_interval = 60 need_phone_arrive_notice = 1 phone_call_type = "CIRCLE" weekday =[1,2,3,4,5,6,7] } url_notices { url = "https://www.mytest.com/validate" end_time = 0 start_time = 1 weekday = [1,2,3,4,5,6,7] } }
resource "tencentcloud_monitor_grafana_notification_channel" "grafanaNotificationChannel" { instance_id = tencentcloud_monitor_grafana_instance.foo.id channel_name = "tf-channel" org_id = 1 receivers = [tencentcloud_monitor_alarm_notice.foo.amp_consumer_id] extra_org_ids = ["1"] }
```
Provides a resource to create a monitor grafanaPlugin ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "test-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_grafana_plugin" "grafanaPlugin" { instance_id = tencentcloud_monitor_grafana_instance.foo.id plugin_id = "grafana-piechart-panel" version = "1.6.2" }
``` Import
monitor grafanaPlugin can be imported using the instance_id#plugin_id, e.g. ``` $ terraform import tencentcloud_monitor_grafana_plugin.grafanaPlugin grafana-50nj6v00#grafana-piechart-panel ```
Provides a resource to create a monitor grafana ssoAccount ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "test-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_grafana_sso_account" "ssoAccount" { instance_id = tencentcloud_monitor_grafana_instance.foo.id user_id = "111" notes = "desc12222" role { organization = "Main Org." role = "Admin" } }
``` Import
monitor grafana ssoAccount can be imported using the instance_id#user_id, e.g. ``` $ terraform import tencentcloud_monitor_grafana_sso_account.ssoAccount grafana-50nj6v00#111 ```
Provides a resource to create a monitor grafana_sso_cam_config
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_sso_cam_config" "grafana_sso_cam_config" { instance_id = "grafana-dp2hnnfa" enable_sso_cam_check = false }
```
Import ¶
monitor grafana_sso_cam_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_sso_cam_config.grafana_sso_cam_config instance_id ```
Provides a resource to create a monitor grafana_sso_config
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_sso_config" "grafana_sso_config" { instance_id = "grafana-dp2hnnfa" enable_sso = false }
```
Import ¶
monitor grafana_sso_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_sso_config.grafana_sso_config instance_id ```
Provides a resource to create a monitor grafana_version_upgrade
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_version_upgrade" "grafana_version_upgrade" { instance_id = "grafana-dp2hnnfa" alias = "v8.2.7" }
```
Import ¶
monitor grafana_version_upgrade can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_version_upgrade.grafana_version_upgrade instance_id ```
Provides a resource to create a monitor grafana_whitelist_config
Example Usage ¶
```hcl
resource "tencentcloud_monitor_grafana_whitelist_config" "grafana_whitelist_config" { instance_id = "grafana-dp2hnnfa" whitelist = ["10.1.1.1", "10.1.1.2", "10.1.1.3"] }
```
Import ¶
monitor grafana_whitelist_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_grafana_whitelist_config.grafana_whitelist_config instance_id ```
Provides a resource for bind objects to a alarm policy resource.
Example Usage ¶
```hcl data "tencentcloud_instances" "instances" { }
resource "tencentcloud_monitor_alarm_policy" "policy" { policy_name = "hello" monitor_type = "MT_QCE" enable = 1 project_id = 1244035 namespace = "cvm_device" conditions { is_union_rule = 1 rules { metric_name = "CpuUsage" period = 60 operator = "ge" value = "89.9" continue_period = 1 notice_frequency = 3600 is_power_notice = 0 } } event_conditions { metric_name = "ping_unreachable" } event_conditions { metric_name = "guest_reboot" } notice_ids = ["notice-l9ziyxw6"] trigger_tasks { type = "AS" task_config = "{\"Region\":\"ap-guangzhou\",\"Group\":\"asg-0z312312x\",\"Policy\":\"asp-ganig28\"}" }
}
#for cvm
resource "tencentcloud_monitor_policy_binding_object" "binding" { policy_id = tencentcloud_monitor_alarm_policy.policy.id dimensions { dimensions_json = "{\"unInstanceId\":\"${data.tencentcloud_instances.instances.instance_list[0].instance_id}\"}" } }
``` Import
Monitor Policy Binding Object can be imported, e.g.
``` $ terraform import tencentcloud_monitor_policy_binding_object.binding policyId ```
Provides a policy group resource for monitor.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_monitor_alarm_policy.
Example Usage ¶
```hcl
resource "tencentcloud_monitor_policy_group" "group" { group_name = "nice_group" policy_view_name = "cvm_device" remark = "this is a test policy group" is_union_rule = 1 conditions { metric_id = 33 alarm_notify_type = 1 alarm_notify_period = 600 calc_type = 1 calc_value = 3 calc_period = 300 continue_period = 2 } conditions { metric_id = 30 alarm_notify_type = 1 alarm_notify_period = 600 calc_type = 2 calc_value = 30 calc_period = 300 continue_period = 2 } event_conditions { event_id = 39 alarm_notify_type = 0 alarm_notify_period = 300 } event_conditions { event_id = 40 alarm_notify_type = 0 alarm_notify_period = 300 } }
``` Import
Policy group instance can be imported, e.g.
``` $ terraform import tencentcloud_monitor_policy_group.group group-id ```
Provides a resource to create a monitor tmpAlertRule ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
resource "tencentcloud_monitor_tmp_cvm_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id name = "tf-agent" }
resource "tencentcloud_monitor_tmp_alert_rule" "foo" { duration = "2m" expr = "avg by (instance) (mysql_global_status_threads_connected) / avg by (instance) (mysql_global_variables_max_connections) > 0.8" instance_id = tencentcloud_monitor_tmp_instance.foo.id receivers = ["notice-f2svbu3w"] rule_name = "MySQL 连接数过多" rule_state = 2 type = "MySQL/MySQL 连接数过多" annotations { key = "description" value = "MySQL 连接数过多, 实例: {{$labels.instance}},当前值: {{ $value | humanizePercentage }}。" } annotations { key = "summary" value = "MySQL 连接数过多(>80%)" } labels { key = "severity" value = "warning" } }
``` Import
monitor tmpAlertRule can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_tmp_alert_rule.tmpAlertRule instanceId#Rule_id ```
Provides a resource to create a monitor tmpCvmAgent ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
resource "tencentcloud_monitor_tmp_cvm_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id name = "tf-agent" }
``` Import
monitor tmpCvmAgent can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_tmp_cvm_agent.tmpCvmAgent instance_id#agent_id ```
Provides a resource to create a monitor tmpExporterIntegration ¶
~> **NOTE:** If you only want to upgrade the exporter version with same config, you can set `version` under `instanceSpec` with any value to trigger the change.
Example Usage ¶
Use blackbox-exporter ¶
```hcl
resource "tencentcloud_monitor_tmp_exporter_integration" "tmpExporterIntegration" { instance_id = "prom-dko9d0nu" kind = "blackbox-exporter" content = "{\"name\":\"test\",\"kind\":\"blackbox-exporter\",\"spec\":{\"instanceSpec\":{\"module\":\"http_get\",\"urls\":[\"xx\"]}}}" kube_type = 1 cluster_id = "cls-bmuaukfu" }
```
Use es-exporter ¶
```
resource "tencentcloud_monitor_tmp_exporter_integration" "tmpExporterIntegrationEs" { instance_id = tencentcloud_monitor_tmp_instance.tmpInstance.id kind = "es-exporter" content = jsonencode({ "name": "ex-exporter-example", "kind": "es-exporter", "spec": { "instanceSpec": { "url": "http://127.0.0.1:9123", "labels": { "instance": "es-abcd" }, "version": "1.70.1", "user": "fugiat Duis minim", "password": "exercitation cillum velit" }, "exporterSpec": { "all": true, "indicesSettings": false, "snapshots": false, "indices": true, "shards": false } } }) cluster_id = "" kube_type = 3 }
```
Provides a resource to create a monitor tmp_grafana_config
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "tf-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false is_destroy = true tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_tmp_grafana_config" "foo" { config = jsonencode( { server = { http_port = 8080 root_url = "https://cloud-grafana.woa.com/grafana-ffrdnrfa/" serve_from_sub_path = true } } ) instance_id = tencentcloud_monitor_grafana_instance.foo.id }
```
Import ¶
monitor tmp_grafana_config can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_tmp_grafana_config.tmp_grafana_config tmp_grafana_config_id ```
Provides a resource to create a monitor tmpInstance ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
``` Import
monitor tmpInstance can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_tmp_instance.tmpInstance tmpInstance_id ```
Provides a resource to create a monitor tmp_manage_grafana_attachment
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
resource "tencentcloud_monitor_grafana_instance" "foo" { instance_name = "tf-grafana" vpc_id = tencentcloud_vpc.vpc.id subnet_ids = [tencentcloud_subnet.subnet.id] grafana_init_password = "1234567890" enable_internet = false is_destroy = true tags = { "createdBy" = "test" } }
resource "tencentcloud_monitor_tmp_manage_grafana_attachment" "foo" { grafana_id = tencentcloud_monitor_grafana_instance.foo.id instance_id = tencentcloud_monitor_tmp_instance.foo.id }
```
Import ¶
monitor tmp_manage_grafana_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_monitor_tmp_manage_grafana_attachment.manage_grafana_attachment prom-xxxxxxxx ```
Provides a resource to create a monitor tmp recordingRule ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
resource "tencentcloud_monitor_tmp_recording_rule" "recordingRule" { instance_id = tencentcloud_monitor_tmp_instance.foo.id rule_state = 2 name = "tf-recording-rule" group = <<EOF
--- name: example-test rules:
- record: job:http_inprogress_requests:sum expr: sum by (job) (http_inprogress_requests)
EOF
} ``` Import
monitor recordingRule can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_tmp_recording_rule.recordingRule instanceId#recordingRule_id ```
Provides a resource to create a monitor tmpScrapeJob ¶
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_monitor_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_monitor_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id data_retention_time = 30 zone = var.availability_zone tags = { "createdBy" = "terraform" } }
resource "tencentcloud_monitor_tmp_cvm_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id name = "tf-agent" }
resource "tencentcloud_monitor_tmp_scrape_job" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agent_id = tencentcloud_monitor_tmp_cvm_agent.foo.agent_id config = <<-EOT
job_name: demo-config honor_timestamps: true metrics_path: /metrics scheme: https EOT }
``` Import
monitor tmpScrapeJob can be imported using the id, e.g. ``` $ terraform import tencentcloud_monitor_tmp_scrape_job.tmpScrapeJob tmpScrapeJob_id ```
Provides a resource to create a tke tmpAlertPolicy ¶
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
create record rule ¶
resource "tencentcloud_monitor_tmp_tke_alert_policy" "basic" { instance_id = tencentcloud_monitor_tmp_instance.foo.id alert_rule { name = "alert_rule-test" rules { name = "rules-test" rule = "(count(kube_node_status_allocatable_cpu_cores) by (cluster) -1) / count(kube_node_status_allocatable_cpu_cores) by (cluster)" template = "The CPU requested by the Pod in the cluster {{ $labels.cluster }} is overloaded, and the current CPU application ratio is {{ $value | humanizePercentage }}" for = "5m" labels { name = "severity" value = "warning" } } notification { type = "amp" enabled = true alert_manager { url = "xxx" } } } depends_on = [tencentcloud_monitor_tmp_tke_cluster_agent.foo] }
```
Provides a resource to create a monitor tmp_tke_basic_config
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
resource "tencentcloud_monitor_tmp_tke_basic_config" "tmp_tke_basic_config" { instance_id = tencentcloud_monitor_tmp_instance.foo.id cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id name = "kube-system/kube-state-metrics" metrics_name = ["kube_job_status_succeeded"] depends_on = [tencentcloud_monitor_tmp_tke_cluster_agent.foo] }
```
Provides a resource to create a tmp tke cluster agent ¶
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
```
Provides a resource to create a tke tmpPrometheusConfig ¶
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
resource "tencentcloud_monitor_tmp_tke_config" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id raw_jobs { name = "raw_jobs_001" config = "your config for raw_jobs_001\n" } service_monitors { name = "kube-system/service-monitor-001" # name with default namespace kube-system config = "apiVersion: monitoring.coreos.com/v1\nkind: ServiceMonitor\nmetadata:\n name: service-monitor-001\n namespace: kube-system\n" } pod_monitors { name = "mynamespace/pod-monitor-001" # name with the specified namespace config = "apiVersion: monitoring.coreos.com/v1\nkind: PodMonitor\nmetadata:\n name: pod-monitor-001\n namespace: mynamespace\n" } }
```
Provides a resource to create a tmp tke global notification ¶
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
create record rule ¶
resource "tencentcloud_monitor_tmp_tke_global_notification" "basic" { instance_id = tencentcloud_monitor_tmp_instance.foo.id notification { enabled = true type = "webhook" alert_manager { cluster_id = "" cluster_type = "" url = "" } web_hook = "" repeat_interval = "5m" time_range_start = "00:00:00" time_range_end = "23:59:59" notify_way = ["SMS", "EMAIL"] receiver_groups = [] phone_notify_order = [] phone_circle_times = 0 phone_inner_interval = 0 phone_circle_interval = 0 phone_arrive_notice = false } depends_on = [tencentcloud_monitor_tmp_tke_cluster_agent.foo] }
```
Provides a resource to create a tke tmpRecordRule ¶
Example Usage ¶
```hcl
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
create record rule ¶
resource "tencentcloud_monitor_tmp_tke_record_rule_yaml" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id content = <<-EOT apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: name: example-record spec: groups: - name: kube-apiserver.rules rules: - expr: sum(metrics_test) labels: verb: read record: 'apiserver_request:burnrate1d' EOT depends_on = [tencentcloud_monitor_tmp_tke_cluster_agent.foo] }
```
Provides a resource to create a tmp tke template ¶
Example Usage ¶
```hcl
resource "tencentcloud_monitor_tmp_tke_template" "foo" { template { name = "tf-template" level = "cluster" describe = "template" service_monitors { name = "tf-ServiceMonitor" config = <<-EOT
apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata:
name: example-service-monitor namespace: monitoring labels: k8s-app: example-service
spec:
selector: matchLabels: k8s-app: example-service namespaceSelector: matchNames: - default endpoints: - port: http-metrics interval: 30s path: /metrics scheme: http bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token tlsConfig: insecureSkipVerify: true EOT } pod_monitors { name = "tf-PodMonitors" config = <<-EOT
apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata:
name: example-pod-monitor namespace: monitoring labels: k8s-app: example-pod
spec:
selector: matchLabels: k8s-app: example-pod namespaceSelector: matchNames: - default podMetricsEndpoints: - port: http-metrics interval: 30s path: /metrics scheme: http bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token tlsConfig: insecureSkipVerify: true
EOT
} pod_monitors { name = "tf-RawJobs" config = <<-EOT
scrape_configs:
- job_name: 'example-job' scrape_interval: 30s static_configs:
- targets: ['example-service.default.svc.cluster.local:8080'] metrics_path: /metrics scheme: http bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token tls_config: insecure_skip_verify: true
EOT
} } }
```
Provides a resource to create a tmp tke template attachment ¶
Example Usage ¶
```hcl # create tke
variable "default_instance_type" { default = "SA1.MEDIUM2" }
variable "availability_zone_first" { default = "ap-guangzhou-3" }
variable "availability_zone_second" { default = "ap-guangzhou-4" }
variable "example_cluster_cidr" { default = "10.31.0.0/16" }
locals { first_vpc_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.vpc_id first_subnet_id = data.tencentcloud_vpc_subnets.vpc_one.instance_list.0.subnet_id second_vpc_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.vpc_id second_subnet_id = data.tencentcloud_vpc_subnets.vpc_two.instance_list.0.subnet_id sg_id = tencentcloud_security_group.sg.id image_id = data.tencentcloud_images.default.image_id }
data "tencentcloud_vpc_subnets" "vpc_one" { is_default = true availability_zone = var.availability_zone_first }
data "tencentcloud_vpc_subnets" "vpc_two" { is_default = true availability_zone = var.availability_zone_second }
resource "tencentcloud_security_group" "sg" { name = "tf-example-sg" }
resource "tencentcloud_security_group_lite_rule" "sg_rule" { security_group_id = tencentcloud_security_group.sg.id ingress = [ "ACCEPT#10.0.0.0/16#ALL#ALL", "ACCEPT#172.16.0.0/22#ALL#ALL", "DROP#0.0.0.0/0#ALL#ALL", ] egress = [ "ACCEPT#172.16.0.0/22#ALL#ALL", ] }
data "tencentcloud_images" "default" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
resource "tencentcloud_kubernetes_cluster" "example" { vpc_id = local.first_vpc_id cluster_cidr = var.example_cluster_cidr cluster_max_pod_num = 32 cluster_name = "tf_example_cluster" cluster_desc = "example for tke cluster" cluster_max_service_num = 32 cluster_internet = false cluster_internet_security_group = local.sg_id cluster_version = "1.22.5" cluster_deploy_type = "MANAGED_CLUSTER" worker_config { count = 1 availability_zone = var.availability_zone_first instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.first_subnet_id img_id = local.image_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } worker_config { count = 1 availability_zone = var.availability_zone_second instance_type = var.default_instance_type system_disk_type = "CLOUD_SSD" system_disk_size = 60 internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" internet_max_bandwidth_out = 100 public_ip_assigned = true subnet_id = local.second_subnet_id data_disk { disk_type = "CLOUD_PREMIUM" disk_size = 50 } enhanced_security_service = false enhanced_monitor_service = false user_data = "dGVzdA==" # key_ids = ["skey-11112222"] cam_role_name = "CVM_QcsRole" password = "ZZXXccvv1212" // Optional, should be set if key_ids not set. } labels = { "test1" = "test1", "test2" = "test2", } }
create monitor ¶
variable "zone" { default = "ap-guangzhou" }
variable "cluster_type" { default = "tke" }
resource "tencentcloud_monitor_tmp_instance" "foo" { instance_name = "tf-tmp-instance" vpc_id = local.first_vpc_id subnet_id = local.first_subnet_id data_retention_time = 30 zone = var.availability_zone_second tags = { "createdBy" = "terraform" } }
tmp tke bind ¶
resource "tencentcloud_monitor_tmp_tke_cluster_agent" "foo" { instance_id = tencentcloud_monitor_tmp_instance.foo.id agents { region = var.zone cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id enable_external = false } }
create monitor template ¶
resource "tencentcloud_monitor_tmp_tke_template" "foo" { template { name = "tf-template" level = "cluster" describe = "template" service_monitors { name = "tf-ServiceMonitor" config = <<-EOT
apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata:
name: example-service-monitor namespace: monitoring labels: k8s-app: example-service
spec:
selector: matchLabels: k8s-app: example-service namespaceSelector: matchNames: - default endpoints: - port: http-metrics interval: 30s path: /metrics scheme: http bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token tlsConfig: insecureSkipVerify: true EOT } pod_monitors { name = "tf-PodMonitors" config = <<-EOT
apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata:
name: example-pod-monitor namespace: monitoring labels: k8s-app: example-pod
spec:
selector: matchLabels: k8s-app: example-pod namespaceSelector: matchNames: - default podMetricsEndpoints: - port: http-metrics interval: 30s path: /metrics scheme: http bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token tlsConfig: insecureSkipVerify: true
EOT
} pod_monitors { name = "tf-RawJobs" config = <<-EOT
scrape_configs:
- job_name: 'example-job' scrape_interval: 30s static_configs:
- targets: ['example-service.default.svc.cluster.local:8080'] metrics_path: /metrics scheme: http bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token tls_config: insecure_skip_verify: true
EOT
} } }
resource "tencentcloud_monitor_tmp_tke_template_attachment" "temp_attachment" { template_id = tencentcloud_monitor_tmp_tke_template.foo.id targets { cluster_type = var.cluster_type cluster_id = tencentcloud_kubernetes_cluster.example.id region = var.zone instance_id = tencentcloud_monitor_tmp_instance.foo.id } depends_on = [tencentcloud_monitor_tmp_tke_cluster_agent.foo] }
```
Provides a resource to create a mps adaptive_dynamic_streaming_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_adaptive_dynamic_streaming_template" "adaptive_dynamic_streaming_template" { comment = "terrraform test" disable_higher_video_bitrate = 0 disable_higher_video_resolution = 1 format = "HLS" name = "terrraform-test" stream_infos { remove_audio = 0 remove_video = 0 audio { audio_channel = 1 bitrate = 55 codec = "libmp3lame" sample_rate = 32000 } video { bitrate = 245 codec = "libx264" fill_type = "black" fps = 30 gop = 0 height = 135 resolution_adaptive = "open" vcrf = 0 width = 145 } } stream_infos { remove_audio = 0 remove_video = 0 audio { audio_channel = 2 bitrate = 60 codec = "libfdk_aac" sample_rate = 32000 } video { bitrate = 400 codec = "libx264" fill_type = "black" fps = 40 gop = 0 height = 150 resolution_adaptive = "open" vcrf = 0 width = 160 } } }
```
Import ¶
mps adaptive_dynamic_streaming_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_adaptive_dynamic_streaming_template.adaptive_dynamic_streaming_template adaptive_dynamic_streaming_template_id ```
Provides a resource to create a mps ai_analysis_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_ai_analysis_template" "ai_analysis_template" { name = "terraform-test" classification_configure { switch = "OFF" } cover_configure { switch = "ON" } frame_tag_configure { switch = "ON" } tag_configure { switch = "ON" } }
```
Import ¶
mps ai_analysis_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_ai_analysis_template.ai_analysis_template ai_analysis_template_id ```
Provides a resource to create a mps ai_recognition_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_ai_recognition_template" "ai_recognition_template" { name = "terraform-test" asr_full_text_configure { switch = "OFF" } asr_words_configure { label_set = [] switch = "OFF" } face_configure { default_library_label_set = [ "entertainment", "sport", ] face_library = "All" score = 85 switch = "ON" user_define_library_label_set = [] } ocr_full_text_configure { switch = "OFF" } ocr_words_configure { label_set = [] switch = "OFF" } }
```
Import ¶
mps ai_recognition_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_ai_recognition_template.ai_recognition_template ai_recognition_template_id ```
Provides a resource to create a mps animated_graphics_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_animated_graphics_template" "animated_graphics_template" { format = "gif" fps = 20 height = 130 name = "terraform-test" quality = 75 resolution_adaptive = "open" width = 140 }
```
Import ¶
mps animated_graphics_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_animated_graphics_template.animated_graphics_template animated_graphics_template_id ```
Provides a resource to create a mps content_review_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_content_review_template" "template" { name = "tf_test_content_review_temp" comment = "tf test content review temp" porn_configure { img_review_info { switch = "ON" label_set = ["porn", "vulgar"] block_confidence = 60 review_confidence = 100 } asr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } ocr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } } terrorism_configure { img_review_info { switch = "ON" label_set = ["guns", "crowd"] block_confidence = 60 review_confidence = 100 } ocr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } } political_configure { img_review_info { switch = "ON" label_set = ["violation_photo", "politician"] block_confidence = 60 review_confidence = 100 } asr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } ocr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } } prohibited_configure { asr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } ocr_review_info { switch = "ON" block_confidence = 60 review_confidence = 100 } } user_define_configure { face_review_info { switch = "ON" label_set = ["FACE_1", "FACE_2"] block_confidence = 60 review_confidence = 100 } asr_review_info { switch = "ON" label_set = ["VOICE_1", "VOICE_2"] block_confidence = 60 review_confidence = 100 } ocr_review_info { switch = "ON" label_set = ["VIDEO_1", "VIDEO_2"] block_confidence = 60 review_confidence = 100 } } }
```
Import ¶
mps content_review_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_content_review_template.content_review_template definition ```
Provides a resource to create a mps edit_media_operation
Example Usage ¶
Operation through COS ¶
```hcl
resource "tencentcloud_cos_bucket" "output" { bucket = "tf-bucket-mps-output-${local.app_id}" }
data "tencentcloud_cos_bucket_object" "object" { bucket = "keep-bucket-${local.app_id}" key = "/mps-test/test.mov" }
resource "tencentcloud_mps_edit_media_operation" "operation" { file_infos { input_info { type = "COS" cos_input_info { bucket = data.tencentcloud_cos_bucket_object.object.bucket region = "%s" object = data.tencentcloud_cos_bucket_object.object.key } } start_time_offset = 60 end_time_offset = 120 } output_storage { type = "COS" cos_output_storage { bucket = tencentcloud_cos_bucket.output.bucket region = "%s" } } output_object_path = "/output" }
```
Provides a resource to create a mps enable_schedule_config
Example Usage ¶
Enable the mps schedule ¶
```hcl
data "tencentcloud_cos_bucket_object" "object" { bucket = "keep-bucket-${local.app_id}" key = "/mps-test/test.mov" }
resource "tencentcloud_cos_bucket" "output" { bucket = "tf-bucket-mps-schedule-config-output1-${local.app_id}" force_clean = true acl = "public-read" }
resource "tencentcloud_mps_schedule" "example" { schedule_name = "tf_test_mps_schedule_config" trigger { type = "CosFileUpload" cos_file_upload_trigger { bucket = data.tencentcloud_cos_bucket_object.object.bucket region = "%s" dir = "/upload/" formats = ["flv", "mov"] } } activities { activity_type = "input" reardrive_index = [1, 2] } activities { activity_type = "action-trans" reardrive_index = [3] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [6, 7] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [4, 5] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [8] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [9] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "output" } output_storage { type = "COS" cos_output_storage { bucket = tencentcloud_cos_bucket.output.bucket region = "%s" } } output_dir = "output/" }
resource "tencentcloud_mps_enable_schedule_config" "config" { schedule_id = tencentcloud_mps_schedule.example.id enabled = true }
```
Disable the mps schedule ¶
```hcl
resource "tencentcloud_mps_enable_schedule_config" "config" { schedule_id = tencentcloud_mps_schedule.example.id enabled = false }
```
Import ¶
mps enable_schedule_config can be imported using the id, e.g.
``` terraform import tencentcloud_mps_enable_schedule_config.enable_schedule_config enable_schedule_config_id ```
Provides a resource to create a mps enable_workflow_config
Example Usage ¶
Enable the mps workflow ¶
```hcl
resource "tencentcloud_mps_workflow" "example" { output_dir = "/" task_priority = 0 workflow_name = "tf-workflow-enable-config" media_process_task { adaptive_dynamic_streaming_task_set { definition = 12 output_object_path = "/out" segment_object_name = "/out" sub_stream_object_name = "/out/out/" output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } snapshot_by_time_offset_task_set { definition = 10 ext_time_offset_set = [ "1s", ] output_object_path = "/snapshot/" time_offset_set = [] output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } animated_graphic_task_set { definition = 20000 end_time_offset = 0 output_object_path = "/test/" start_time_offset = 0 output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } } ai_analysis_task { definition = 20 } ai_content_review_task { definition = 20 } ai_recognition_task { definition = 20 } output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } trigger { type = "CosFileUpload" cos_file_upload_trigger { bucket = "cos-lock-1308919341" dir = "/" region = "ap-guangzhou" } } }
resource "tencentcloud_mps_enable_workflow_config" "config" { workflow_id = tencentcloud_mps_workflow.example.id enabled = true }
```
Disable the mps workflow ¶
```hcl
resource "tencentcloud_mps_enable_workflow_config" "config" { workflow_id = tencentcloud_mps_workflow.example.id enabled = false }
```
Import ¶
mps enable_workflow_config can be imported using the id, e.g.
``` terraform import tencentcloud_mps_enable_workflow_config.enable_workflow_config enable_workflow_config_id ```
Provides a resource to create a mps event ¶
Example Usage ¶
```hcl
resource "tencentcloud_mps_event" "event" { event_name = "you-event-name" description = "event description" }
```
Import ¶
mps event can be imported using the id, e.g.
``` terraform import tencentcloud_mps_event.event event_id ```
Provides a resource to create a mps execute_function_operation
Example Usage ¶
```hcl
resource "tencentcloud_mps_execute_function_operation" "operation" { function_name = "ExampleFunc" function_arg = "arg1" }
```
Provides a resource to create a mps flow ¶
Example Usage ¶
Create a mps RTP flow ¶
```hcl
resource "tencentcloud_mps_event" "event" { event_name = "tf_test_event_srt_%d" description = "tf test mps event description" }
resource "tencentcloud_mps_flow" "flow" { flow_name = "tf_test_mps_flow_srt_%d" max_bandwidth = 10000000 input_group { input_name = "test_inputname" protocol = "SRT" description = "input name Description" allow_ip_list = ["0.0.0.0/0"] srt_settings { mode = "LISTENER" stream_id = "#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play" latency = 1000 recv_latency = 1000 peer_latency = 1000 peer_idle_timeout = 1000 } } event_id = tencentcloud_mps_event.event.id }
```
Create a mps RTP flow ¶
```hcl
resource "tencentcloud_mps_event" "event_rtp" { event_name = "tf_test_event_rtp_%d" description = "tf test mps event description" }
resource "tencentcloud_mps_flow" "flow_rtp" { flow_name = "tf_test_mps_flow_rtp_%d" max_bandwidth = 10000000 input_group { input_name = "test_inputname" protocol = "RTP" description = "input name Description" allow_ip_list = ["0.0.0.0/0"] rtp_settings { fec = "none" idle_timeout = 1000 } } event_id = tencentcloud_mps_event.event_rtp.id }
```
Create a mps RTP flow and start it ¶
Before you start a mps flow, you need to create a output first.
```hcl
resource "tencentcloud_mps_event" "event_rtp" { event_name = "your_event_name" description = "tf test mps event description" }
resource "tencentcloud_mps_flow" "flow_rtp" { flow_name = "your_flow_name" max_bandwidth = 10000000 input_group { input_name = "test_inputname" protocol = "RTP" description = "input name Description" allow_ip_list = ["0.0.0.0/0"] rtp_settings { fec = "none" idle_timeout = 1000 } } event_id = tencentcloud_mps_event.event_rtp.id }
resource "tencentcloud_mps_output" "output" { flow_id = tencentcloud_mps_flow.flow_rtp.id output { output_name = "your_output_name" description = "tf mps output group" protocol = "RTP" output_region = "ap-guangzhou" rtp_settings { destinations { ip = "203.205.141.84" port = 65535 } fec = "none" idle_timeout = 1000 } } }
resource "tencentcloud_mps_start_flow_operation" "operation" { flow_id = tencentcloud_mps_flow.flow_rtp.id start = true depends_on = [tencentcloud_mps_output.output] }
```
Import ¶
mps flow can be imported using the id, e.g.
``` terraform import tencentcloud_mps_flow.flow flow_id ```
Provides a resource to create a mps image_sprite_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_image_sprite_template" "image_sprite_template" { column_count = 10 fill_type = "stretch" format = "jpg" height = 143 name = "terraform-test" resolution_adaptive = "open" row_count = 10 sample_interval = 10 sample_type = "Time" width = 182 }
```
Import ¶
mps image_sprite_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_image_sprite_template.image_sprite_template image_sprite_template_id ```
Provides a resource to create a mps input ¶
Example Usage ¶
Create mps input group with SRT ¶
```hcl
resource "tencentcloud_mps_input" "input" { flow_id = tencentcloud_mps_flow.flow.id input_group { input_name = "your_input_name" protocol = "SRT" description = "input name Description" allow_ip_list = ["0.0.0.0/0"] srt_settings { mode = "LISTENER" stream_id = "#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play" latency = 1000 recv_latency = 1000 peer_latency = 1000 peer_idle_timeout = 1000 } } }
```
Import ¶
mps input can be imported using the id, e.g.
``` terraform import tencentcloud_mps_input.input input_id ```
Provides a resource to create a mps manage_task_operation
Example Usage ¶
```hcl
resource "tencentcloud_mps_manage_task_operation" "operation" { operation_type = "Abort" task_id = "2600010949-LiveScheduleTask-xxxx" }
```
Provides a resource to create a mps output ¶
Example Usage ¶
Create a output group with RTP ¶
```hcl
resource "tencentcloud_mps_output" "output" { flow_id = "your_flow_id" output { output_name = "your_output_name" description = "tf mps output group" protocol = "RTP" output_region = "ap-guangzhou" rtp_settings { destinations { ip = "203.205.141.84" port = 65535 } fec = "none" idle_timeout = 1000 } } }
```
Import ¶
mps output can be imported using the id, e.g.
``` terraform import tencentcloud_mps_output.output flow_id#output_id ```
Provides a resource to create a mps person_sample
Example Usage ¶
```hcl
resource "tencentcloud_mps_person_sample" "person_sample" { name = "test" usages = [ "Review.Face" ] description = "test" face_contents = [ filebase64("./person.png") ] }
```
Import ¶
mps person_sample can be imported using the id, e.g.
``` terraform import tencentcloud_mps_person_sample.person_sample person_sample_id ```
Provides a resource to create a mps process_live_stream_operation
Example Usage ¶
Process mps live stream through CMQ ¶
```hcl
resource "tencentcloud_cos_bucket" "output" { bucket = "tf-bucket-mps-process-live-stream-output-${local.app_id}" force_clean = true acl = "public-read" }
resource "tencentcloud_mps_process_live_stream_operation" "operation" { url = "http://www.abc.com/abc.m3u8" task_notify_config { cmq_model = "Queue" cmq_region = "gz" queue_name = "test" topic_name = "test" notify_type = "CMQ" } output_storage { type = "COS" cos_output_storage { bucket = tencentcloud_cos_bucket.output.bucket region = "%s" } } output_dir = "/output/" ai_content_review_task { definition = 10 } ai_recognition_task { definition = 10 } }
```
Provides a resource to create a mps process_media_operation
Example Usage ¶
Process mps media through CMQ ¶
```hcl
resource "tencentcloud_cos_bucket" "output" { bucket = "tf-bucket-mps-edit-media-output-${local.app_id}" force_clean = true acl = "public-read" }
data "tencentcloud_cos_bucket_object" "object" { bucket = "keep-bucket-${local.app_id}" key = "/mps-test/test.mov" }
resource "tencentcloud_mps_process_media_operation" "operation" { input_info { type = "COS" cos_input_info { bucket = data.tencentcloud_cos_bucket_object.object.bucket region = "%s" object = data.tencentcloud_cos_bucket_object.object.key } } output_storage { type = "COS" cos_output_storage { bucket = tencentcloud_cos_bucket.output.bucket region = "%s" } } output_dir = "output/" ai_content_review_task { definition = 10 } ai_recognition_task { definition = 10 } task_notify_config { cmq_model = "Queue" cmq_region = "gz" queue_name = "test" topic_name = "test" notify_type = "CMQ" } }
```
Provides a resource to create a mps sample_snapshot_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_sample_snapshot_template" "sample_snapshot_template" { fill_type = "stretch" format = "jpg" height = 128 name = "terraform-test-for" resolution_adaptive = "open" sample_interval = 10 sample_type = "Percent" width = 140 }
```
Import ¶
mps sample_snapshot_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_sample_snapshot_template.sample_snapshot_template sample_snapshot_template_id ```
Provides a resource to create a mps schedule ¶
Example Usage ¶
Create a schedule through COS bucket ¶
```hcl
data "tencentcloud_cos_bucket_object" "object" { bucket = "keep-bucket-${local.app_id}" key = "/mps-test/test.mov" }
resource "tencentcloud_cos_bucket" "output" { bucket = "tf-bucket-mps-schedule-output-${local.app_id}" force_clean = true acl = "public-read" }
resource "tencentcloud_mps_schedule" "schedule" { schedule_name = "tf_test_mps_schedule_%d" trigger { type = "CosFileUpload" cos_file_upload_trigger { bucket = data.tencentcloud_cos_bucket_object.object.bucket region = "%s" dir = "/upload/" formats = ["flv", "mov"] } } activities { activity_type = "input" reardrive_index = [1, 2] } activities { activity_type = "action-trans" reardrive_index = [3] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [6, 7] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [4, 5] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [8] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [9] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "action-trans" reardrive_index = [10] activity_para { transcode_task { definition = 10 } } } activities { activity_type = "output" } output_storage { type = "COS" cos_output_storage { bucket = tencentcloud_cos_bucket.output.bucket region = "%s" } } output_dir = "output/" }
```
Import ¶
mps schedule can be imported using the id, e.g.
``` terraform import tencentcloud_mps_schedule.schedule schedule_id ```
Provides a resource to create a mps snapshot_by_timeoffset_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_snapshot_by_timeoffset_template" "snapshot_by_timeoffset_template" { fill_type = "stretch" format = "jpg" height = 128 name = "terraform-test" resolution_adaptive = "open" width = 140 }
```
Import ¶
mps snapshot_by_timeoffset_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_snapshot_by_timeoffset_template.snapshot_by_timeoffset_template snapshot_by_timeoffset_template_id ```
Provides a resource to create a mps start_flow_operation
Example Usage ¶
Start flow ¶
```hcl
resource "tencentcloud_mps_start_flow_operation" "operation" { flow_id = tencentcloud_mps_flow.flow_rtp.id start = true }
```
Stop flow ¶
```hcl
resource "tencentcloud_mps_start_flow_operation" "operation" { flow_id = tencentcloud_mps_flow.flow_rtp.id start = false }
```
Provides a resource to create a mps transcode_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_transcode_template" "transcode_template" { container = "mp4" name = "tf_transcode_template" remove_audio = 0 remove_video = 0 audio_template { audio_channel = 2 bitrate = 27 codec = "libfdk_aac" sample_rate = 32000 } video_template { bitrate = 130 codec = "libx264" fill_type = "black" fps = 20 gop = 0 height = 4096 resolution_adaptive = "close" vcrf = 0 width = 128 } }
```
Import ¶
mps transcode_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_transcode_template.transcode_template transcode_template_id ```
Provides a resource to create a mps watermark_template
Example Usage ¶
```hcl
resource "tencentcloud_mps_watermark_template" "watermark_template" { coordinate_origin = "TopLeft" name = "xZxasd" type = "image" x_pos = "12%" y_pos = "21%" image_template { height = "17px" image_content = filebase64("./logo.png") repeat_type = "repeat" width = "12px" } }
```
Import ¶
mps watermark_template can be imported using the id, e.g.
``` terraform import tencentcloud_mps_watermark_template.watermark_template watermark_template_id ```
Provides a resource to create a mps withdraws_watermark_operation
Example Usage ¶
Withdraw the watermark from COS ¶
```hcl
resource "tencentcloud_cos_bucket" "example" { bucket = "tf-test-mps-wm-${local.app_id}" acl = "public-read" }
resource "tencentcloud_cos_bucket_object" "example" { bucket = tencentcloud_cos_bucket.example.bucket key = "/test-file/test.mov" source = "/Users/luoyin/Downloads/file_example_MOV_480_700kB.mov" }
resource "tencentcloud_mps_withdraws_watermark_operation" "operation" { input_info { type = "COS" cos_input_info { bucket = tencentcloud_cos_bucket_object.example.bucket region = "%s" object = tencentcloud_cos_bucket_object.example.key } } session_context = "this is a example session context" }
```
Provides a resource to create a mps word_sample
Example Usage ¶
```hcl
resource "tencentcloud_mps_word_sample" "word_sample" { usages = ["Recognition.Ocr","Review.Ocr","Review.Asr"] keyword = "tf_test_kw_1" tags = ["tags_1", "tags_2"] }
```
Import ¶
mps word_sample can be imported using the id, e.g.
``` terraform import tencentcloud_mps_word_sample.word_sample keyword ```
Provides a resource to create a mps workflow ¶
Example Usage ¶
```hcl
resource "tencentcloud_mps_workflow" "workflow" { output_dir = "/" task_priority = 0 workflow_name = "tf-workflow" media_process_task { adaptive_dynamic_streaming_task_set { definition = 12 output_object_path = "/out" segment_object_name = "/out" sub_stream_object_name = "/out/out/" output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } snapshot_by_time_offset_task_set { definition = 10 ext_time_offset_set = [ "1s", ] output_object_path = "/snapshot/" time_offset_set = [] output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } animated_graphic_task_set { definition = 20000 end_time_offset = 0 output_object_path = "/test/" start_time_offset = 0 output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } } } ai_analysis_task { definition = 20 } ai_content_review_task { definition = 20 } ai_recognition_task { definition = 20 } output_storage { type = "COS" cos_output_storage { bucket = "cos-lock-1308919341" region = "ap-guangzhou" } } trigger { type = "CosFileUpload" cos_file_upload_trigger { bucket = "cos-lock-1308919341" dir = "/" region = "ap-guangzhou" } } }
```
Import ¶
mps workflow can be imported using the id, e.g.
``` terraform import tencentcloud_mps_workflow.workflow workflow_id ```
Provides a MySQL account resource for database management. A MySQL instance supports multiple database account.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_account" "example" { mysql_id = tencentcloud_mysql_instance.example.id name = "tf_example" password = "Qwer@234" description = "desc." max_user_connections = 10 }
```
Import ¶
mysql account can be imported using the mysqlId#accountName, e.g.
``` terraform import tencentcloud_mysql_account.default cdb-gqg6j82x#tf_account ```
Provides a mysql account privilege resource to grant different access privilege to different database. A database can be granted by multiple account.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_mysql_privilege.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_account" "example" { mysql_id = tencentcloud_mysql_instance.example.id name = "tf_example" password = "Qwer@234" description = "desc." max_user_connections = 10 }
resource "tencentcloud_mysql_account_privilege" "default" { mysql_id = tencentcloud_mysql_instance.example.id account_name = tencentcloud_mysql_account.example.name privileges = ["SELECT", "INSERT", "UPDATE", "DELETE"] database_names = ["dbname1", "dbname2"] }
```
Provides a resource to create a mysql audit_log_file
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_audit_log_file" "example" { instance_id = tencentcloud_mysql_instance.example.id start_time = "2023-07-01 00:00:00" end_time = "2023-10-01 00:00:00" order = "ASC" order_by = "timestamp" }
```
Add filter ¶
```hcl
resource "tencentcloud_mysql_audit_log_file" "example" { instance_id = tencentcloud_mysql_instance.example.id start_time = "2023-07-01 00:00:00" end_time = "2023-10-01 00:00:00" order = "ASC" order_by = "timestamp" filter { host = ["30.50.207.46"] user = ["keep_dbbrain"] } }
```
Provides a resource to create a mysql backup_download_restriction
Example Usage ¶
```hcl
resource "tencentcloud_mysql_backup_download_restriction" "example" { limit_type = "Customize" vpc_comparison_symbol = "In" ip_comparison_symbol = "In" limit_vpc { region = "ap-guangzhou" vpc_list = ["vpc-4owdpnwr"] } limit_ip = ["127.0.0.1"] }
```
Import ¶
mysql backup_download_restriction can be imported using the "BackupDownloadRestriction", as follows.
``` terraform import tencentcloud_mysql_backup_download_restriction.backup_download_restriction BackupDownloadRestriction ```
Provides a resource to create a mysql backup_encryption_status
Example Usage ¶
Enable encryption ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_backup_encryption_status" "example" { instance_id = tencentcloud_mysql_instance.example.id encryption_status = "on" }
```
Disable encryption ¶
```hcl
resource "tencentcloud_mysql_backup_encryption_status" "example" { instance_id = tencentcloud_mysql_instance.example.id encryption_status = "off" }
```
Import ¶
mysql backup_encryption_status can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_backup_encryption_status.backup_encryption_status backup_encryption_status_id ```
Provides a mysql policy resource to create a backup policy.
~> **NOTE:** This attribute `backup_model` only support 'physical' in Terraform TencentCloud provider version 1.16.2
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_backup_policy" "example" { mysql_id = tencentcloud_mysql_instance.example.id retention_period = 7 backup_model = "physical" backup_time = "22:00-02:00" binlog_period = 32 enable_binlog_standby = "off" binlog_standby_days = 31 }
```
Provides a resource to create a mysql db_import_job_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_account" "example" { mysql_id = tencentcloud_mysql_instance.example.id name = "tf_example" password = "Qwer@234" description = "desc." max_user_connections = 10 }
resource "tencentcloud_mysql_db_import_job_operation" "example" { instance_id = tencentcloud_mysql_instance.example.id user = tencentcloud_mysql_account.example.name password = tencentcloud_mysql_account.example.password db_name = "tf_example_db" file_name = "tf_mysql.sql" cos_url = "https://terraform-ci-1308919341.cos.ap-guangzhou.myqcloud.com/mysql/mysql.sql?q-sign-algorithm=sha1&q-ak=AKIDRnMWiUNr14F29GvCwOSHu9l_FdCdORqAxblrE10nDaO6mVI701oXTe-gL1QpClgW&q-sign-time=1684921483;1684925083&q-key-time=1684921483;1684925083&q-header-list=host&q-url-param-list=&q-signature=7410be4ef93075aebca459af4e617f8bcaa36f48&x-cos-security-token=EzDm9S6aRDwBLQcaxUNfb0TA30PqhOTa7d82a06a36e94b66bdbc6d09064a397bZypr0mD3oVkbJR9bRYix6BSDVYncX3Y2VCGYK6V2jFWZqIuEHoWJCe-2pDvJDNbMjF3ttWfLMqEouOkxNk28ay9NPHtMXrJgEEMb95BMAhGwi38oA2LjYfQRkk7AHesg2toSf11hiTAjVv-alf5uEidWGnFKe_6BgmnADYvtPptgXHNtsUZCxc33PF6tGBqX" }
```
Provides a resource to create a mysql deploy_group
Example Usage ¶
```hcl
resource "tencentcloud_mysql_deploy_group" "example" { deploy_group_name = "tf-example" description = "desc." limit_num = 1 dev_class = ["TS85"] }
```
Import ¶
mysql deploy_group can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_deploy_group.deploy_group deploy_group_id ```
Provides a resource to create a mysql dr_instance_to_mater
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_dr_instance_to_mater" "example" { instance_id = tencentcloud_mysql_instance.example.id }
```
Import ¶
mysql dr_instance_to_mater can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_dr_instance_to_mater.dr_instance_to_mater dr_instance_to_mater_id ```
Provides a mysql instance resource to create master database instances.
~> **NOTE:** If this mysql has readonly instance, the terminate operation of the mysql does NOT take effect immediately, maybe takes for several hours. so during that time, VPCs associated with that mysql instance can't be terminated also.
~> **NOTE:** The value of parameter `parameters` can be used with tencentcloud_mysql_parameter_list to obtain.
Example Usage ¶
Create a single node instance ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
```
Create a double node instance ¶
```hcl
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
```
Create a three node instance ¶
```hcl
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
```
Import ¶
MySQL instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_mysql_instance.foo cdb-12345678 ```
Provides a resource to create a mysql instance_encryption_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_instance_encryption_operation" "example" { instance_id = tencentcloud_mysql_instance.example.id key_id = "KMS-CDB" key_region = "ap-guangzhou" }
```
Provides a resource to create a mysql isolate_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_isolate_instance" "example" { instance_id = tencentcloud_mysql_instance.example.id operate = "recover" }
```
Provides a resource to create a mysql local_binlog_config
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_local_binlog_config" "example" { instance_id = tencentcloud_mysql_instance.example.id save_hours = 140 max_usage = 50 }
```
Import ¶
mysql local_binlog_config can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_local_binlog_config.local_binlog_config instance_id ```
Provides a resource to create a mysql param template ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_param_template" "example" { name = "tf-example" description = "desc." engine_version = "8.0" param_list { current_value = "1" name = "auto_increment_increment" } param_list { current_value = "1" name = "auto_increment_offset" } param_list { current_value = "ON" name = "automatic_sp_privileges" } template_type = "HIGH_STABILITY" engine_type = "InnoDB" }
```
Import ¶
mysql param template can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_param_template.param_template template_id ```
Provides a resource to create a mysql password_complexity
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_password_complexity" "example" { instance_id = tencentcloud_mysql_instance.example.id param_list { name = "validate_password_length" current_value = "8" } param_list { name = "validate_password_mixed_case_count" current_value = "2" } param_list { name = "validate_password_number_count" current_value = "2" } param_list { name = "validate_password_special_char_count" current_value = "2" } }
```
Provides a mysql account privilege resource to grant different access privilege to different database. A database can be granted by multiple account.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_account" "example" { mysql_id = tencentcloud_mysql_instance.example.id name = "tf_example" password = "Qwer@234" description = "desc." max_user_connections = 10 }
resource "tencentcloud_mysql_privilege" "example" { mysql_id = tencentcloud_mysql_instance.example.id account_name = tencentcloud_mysql_account.example.name global = ["TRIGGER"] database { privileges = ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"] database_name = "sys" } database { privileges = ["SELECT"] database_name = "performance_schema" } table { privileges = ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"] database_name = "mysql" table_name = "slow_log" } table { privileges = ["SELECT", "INSERT", "UPDATE"] database_name = "mysql" table_name = "user" } column { privileges = ["SELECT", "INSERT", "UPDATE", "REFERENCES"] database_name = "mysql" table_name = "user" column_name = "host" } }
```
Provides a resource to create a mysql proxy ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_proxy" "example" { instance_id = tencentcloud_mysql_instance.example.id uniq_vpc_id = tencentcloud_vpc.vpc.id uniq_subnet_id = tencentcloud_subnet.subnet.id proxy_node_custom { node_count = 1 cpu = 2 mem = 4000 region = "ap-guangzhou" zone = "ap-guangzhou-3" } security_group = [tencentcloud_security_group.security_group.id] desc = "desc." connection_pool_limit = 2 vip = "10.0.0.120" vport = 3306 }
```
Provides a mysql instance resource to create read-only database instances.
~> **NOTE:** Read-only instances can be purchased only for two-node or three-node source instances on MySQL 5.6 or above with the InnoDB engine at a specification of 1 GB memory and 50 GB disk capacity or above. ~> **NOTE:** The terminate operation of read only mysql does NOT take effect immediately, maybe takes for several hours. so during that time, VPCs associated with that mysql instance can't be terminated also.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "UTF8" max_connections = "1000" } }
resource "tencentcloud_mysql_readonly_instance" "example" { master_instance_id = tencentcloud_mysql_instance.example.id instance_name = "tf-example" mem_size = 128000 volume_size = 255 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { createBy = "terraform" } }
``` Import
mysql read-only database instances can be imported using the id, e.g. ``` terraform import tencentcloud_mysql_readonly_instance.default cdb-dnqksd9f ```
Provides a resource to create a mysql reload_balance_proxy_node
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_proxy" "example" { instance_id = tencentcloud_mysql_instance.example.id uniq_vpc_id = tencentcloud_vpc.vpc.id uniq_subnet_id = tencentcloud_subnet.subnet.id proxy_node_custom { node_count = 1 cpu = 2 mem = 4000 region = "ap-guangzhou" zone = "ap-guangzhou-3" } security_group = [tencentcloud_security_group.security_group.id] desc = "desc." connection_pool_limit = 2 vip = "10.0.0.120" vport = 3306 }
resource "tencentcloud_mysql_reload_balance_proxy_node" "example" { proxy_group_id = tencentcloud_mysql_proxy.example.proxy_group_id proxy_address_id = tencentcloud_mysql_proxy.example.proxy_address_id }
```
Provides a resource to create a mysql remote_backup_config
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_remote_backup_config" "example" { instance_id = tencentcloud_mysql_instance.example.id remote_backup_save = "on" remote_binlog_save = "on" remote_region = ["ap-shanghai"] expire_days = 7 }
```
Import ¶
mysql remote_backup_config can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_remote_backup_config.remote_backup_config remote_backup_config_id ```
Provides a resource to create a mysql renew_db_instance_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
data "tencentcloud_mysql_rollback_range_time" "example" { instance_ids = [tencentcloud_mysql_instance.example.id] }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "PREPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_renew_db_instance_operation" "example" { instance_id = tencentcloud_mysql_instance.example.id time_span = 1 modify_pay_type = "PREPAID" }
```
Provides a resource to create a mysql reset_root_account
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_reset_root_account" "example" { instance_id = tencentcloud_mysql_instance.example.id }
```
Provides a resource to create a mysql restart_db_instances_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_restart_db_instances_operation" "example" { instance_id = tencentcloud_mysql_instance.example.id }
```
Import ¶
mysql restart_db_instances_operation can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_restart_db_instances_operation.restart_db_instances_operation restart_db_instances_operation_id ```
Provides a resource to create a mysql ro_group
Example Usage ¶
```hcl
resource "tencentcloud_mysql_ro_group" "example" { instance_id = "cdb-e8i766hx" ro_group_id = "cdbrg-f49t0gnj" ro_group_info { ro_group_name = "keep-ro" ro_max_delay_time = 1 ro_offline_delay = 1 min_ro_in_group = 1 weight_mode = "custom" replication_delay_time = 1 } ro_weight_values { instance_id = "cdbro-f49t0gnj" weight = 10 } is_balance_ro_load = 1 }
```
Provides a resource to create a mysql ro_group_load_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
data "tencentcloud_mysql_instance" "example" { mysql_id = tencentcloud_mysql_instance.example.id depends_on = [tencentcloud_mysql_readonly_instance.example] }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_readonly_instance" "example" { master_instance_id = tencentcloud_mysql_instance.example.id instance_name = "tf-mysql" mem_size = 2000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { createBy = "terraform" } }
resource "tencentcloud_mysql_ro_group_load_operation" "ro_group_load_operation" { ro_group_id = data.tencentcloud_mysql_instance.example.instance_list.0.ro_groups.0.group_id }
```
Provides a resource to create a mysql ro_instance_ip
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_mysql_ro_instance_ip" "example" { instance_id = "cdbro-bdlvcfpj" uniq_subnet_id = tencentcloud_subnet.subnet.id uniq_vpc_id = tencentcloud_vpc.vpc.id }
```
Provides a resource to create a mysql ro_start_replication
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_proxy" "example" { instance_id = tencentcloud_mysql_instance.example.id uniq_vpc_id = tencentcloud_vpc.vpc.id uniq_subnet_id = tencentcloud_subnet.subnet.id proxy_node_custom { node_count = 1 cpu = 2 mem = 4000 region = "ap-guangzhou" zone = "ap-guangzhou-3" } security_group = [tencentcloud_security_group.security_group.id] desc = "desc." connection_pool_limit = 2 vip = "10.0.0.120" vport = 3306 }
resource "tencentcloud_mysql_ro_start_replication" "example" { instance_id = tencentcloud_mysql_proxy.example.id }
```
Provides a resource to create a mysql ro_stop_replication
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_proxy" "example" { instance_id = tencentcloud_mysql_instance.example.id uniq_vpc_id = tencentcloud_vpc.vpc.id uniq_subnet_id = tencentcloud_subnet.subnet.id proxy_node_custom { node_count = 1 cpu = 2 mem = 4000 region = "ap-guangzhou" zone = "ap-guangzhou-3" } security_group = [tencentcloud_security_group.security_group.id] desc = "desc." connection_pool_limit = 2 vip = "10.0.0.120" vport = 3306 }
resource "tencentcloud_mysql_ro_stop_replication" "example" { instance_id = tencentcloud_mysql_proxy.example.id }
```
Provides a resource to create a mysql rollback ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
data "tencentcloud_mysql_rollback_range_time" "example" { instance_ids = [tencentcloud_mysql_instance.example.id] }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_rollback" "example" { instance_id = tencentcloud_mysql_instance.example.id strategy = "full" rollback_time = data.tencentcloud_mysql_rollback_range_time.example.item.0.times.0.start databases { database_name = "tf_db_bak" new_database_name = "tf_db_bak_new" } tables { database = "tf_db_bak1" table { table_name = "tf_table" new_table_name = "tf_table_new" } } }
```
Provides a resource to create a mysql rollback_stop
Example Usage ¶
Revoke the ongoing rollback task of the instance ¶
```hcl
resource "tencentcloud_mysql_rollback_stop" "example" { instance_id = "cdb-fitq5t9h" }
```
Provides a resource to create a mysql security_groups_attachment
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_security_groups_attachment" "example" { security_group_id = tencentcloud_security_group.security_group.id instance_id = tencentcloud_mysql_instance.example.id }
```
Import ¶
mysql security_groups_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_security_groups_attachment.security_groups_attachment securityGroupId#instanceId ```
Provides a resource to create a mysql switch_for_upgrade
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_switch_for_upgrade" "example" { instance_id = tencentcloud_mysql_instance.example.id }
```
Provides a resource to create a mysql switch_master_slave_operation
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_switch_master_slave_operation" "example" { instance_id = tencentcloud_mysql_instance.example.id dst_slave = "second" force_switch = true wait_switch = true }
```
Import ¶
mysql switch_master_slave_operation can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_switch_master_slave_operation.switch_master_slave_operation switch_master_slave_operation_id ```
Provides a resource to create a mysql switch_proxy
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_proxy" "example" { instance_id = tencentcloud_mysql_instance.example.id uniq_vpc_id = tencentcloud_vpc.vpc.id uniq_subnet_id = tencentcloud_subnet.subnet.id proxy_node_custom { node_count = 2 cpu = 2 mem = 4000 region = "ap-guangzhou" zone = "ap-guangzhou-3" } security_group = [tencentcloud_security_group.security_group.id] desc = "desc." connection_pool_limit = 2 vip = "10.0.0.120" vport = 3306 }
resource "tencentcloud_mysql_switch_proxy" "switch_proxy" { instance_id = tencentcloud_mysql_instance.example.id proxy_group_id = tencentcloud_mysql_proxy.example.proxy_group_id }
```
Provides a resource to create a mysql time_window
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_time_window" "example" { instance_id = tencentcloud_mysql_instance.example.id max_delay_time = 10 time_ranges = [ "01:00-02:01" ] weekdays = [ "friday", "monday", "saturday", "thursday", "tuesday", "wednesday", ] }
```
Import ¶
mysql time_window can be imported using the id, e.g.
``` terraform import tencentcloud_mysql_time_window.time_window instanceId ```
Provides a resource to create a mysql verify_root_account
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-mysql" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-mysql" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-mysql" description = "mysql test" }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 1 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name first_slave_zone = data.tencentcloud_availability_zones_by_product.zones.zones.1.name slave_sync_mode = 1 instance_name = "tf-example-mysql" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { name = "test" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_mysql_verify_root_account" "example" { instance_id = tencentcloud_mysql_instance.example.id password = "Qwer@234" }
```
Provides a resource to create a NAT gateway.
Example Usage ¶
Create a traditional NAT gateway.
```hcl
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_nat_gateway_vpc" }
resource "tencentcloud_eip" "eip_example1" { name = "tf_nat_gateway_eip1" }
resource "tencentcloud_eip" "eip_example2" { name = "tf_nat_gateway_eip2" }
resource "tencentcloud_nat_gateway" "example" { name = "tf_example_nat_gateway" vpc_id = tencentcloud_vpc.vpc.id bandwidth = 100 max_concurrent = 1000000 assigned_eip_set = [ tencentcloud_eip.eip_example1.public_ip, tencentcloud_eip.eip_example2.public_ip, ] tags = { tf_tag_key = "tf_tag_value" } }
```
Create a standard NAT gateway.
```hcl
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_nat_gateway_vpc" }
resource "tencentcloud_eip" "eip_example1" { name = "tf_nat_gateway_eip1" }
resource "tencentcloud_eip" "eip_example2" { name = "tf_nat_gateway_eip2" }
resource "tencentcloud_nat_gateway" "example" { name = "tf_example_nat_gateway" vpc_id = tencentcloud_vpc.vpc.id assigned_eip_set = [ tencentcloud_eip.eip_example1.public_ip, tencentcloud_eip.eip_example2.public_ip, ] nat_product_version = 2 tags = { tf_tag_key = "tf_tag_value" } lifecycle { ignore_changes = [ // standard nat will set default values for bandwidth and max_concurrent bandwidth, max_concurrent, ] } }
```
Import ¶
NAT gateway can be imported using the id, e.g.
``` $ terraform import tencentcloud_nat_gateway.foo nat-1asg3t63 ```
Provides a resource to create a NAT Gateway SNat rule.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "nat" }
data "tencentcloud_images" "image" { os_name = "centos" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones_by_product.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name route_table_id = tencentcloud_route_table.route_table.id }
resource "tencentcloud_eip" "eip_example1" { name = "eip_example1" }
resource "tencentcloud_eip" "eip_example2" { name = "eip_example2" }
Create NAT Gateway ¶
resource "tencentcloud_nat_gateway" "my_nat" { vpc_id = tencentcloud_vpc.vpc.id name = "tf_example_nat_gateway" max_concurrent = 3000000 bandwidth = 500 assigned_eip_set = [ tencentcloud_eip.eip_example1.public_ip, tencentcloud_eip.eip_example2.public_ip, ] }
Create route_table and entry ¶
resource "tencentcloud_route_table" "route_table" { vpc_id = tencentcloud_vpc.vpc.id name = "tf_example" }
resource "tencentcloud_route_table_entry" "route_entry" { route_table_id = tencentcloud_route_table.route_table.id destination_cidr_block = "10.0.0.0/8" next_type = "NAT" next_hub = tencentcloud_nat_gateway.my_nat.id }
Subnet Nat gateway snat ¶
resource "tencentcloud_nat_gateway_snat" "subnet_snat" { nat_gateway_id = tencentcloud_nat_gateway.my_nat.id resource_type = "SUBNET" subnet_id = tencentcloud_subnet.subnet.id subnet_cidr_block = tencentcloud_subnet.subnet.cidr_block description = "terraform test" public_ip_addr = [ tencentcloud_eip.eip_example1.public_ip, tencentcloud_eip.eip_example2.public_ip, ] }
Create instance ¶
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
NetWorkInterface Nat gateway snat ¶
resource "tencentcloud_nat_gateway_snat" "my_instance_snat" { nat_gateway_id = tencentcloud_nat_gateway.my_nat.id resource_type = "NETWORKINTERFACE" instance_id = tencentcloud_instance.example.id instance_private_ip_addr = tencentcloud_instance.example.private_ip description = "terraform test" public_ip_addr = [ tencentcloud_eip.eip_example1.public_ip, ] }
```
Import ¶
VPN gateway route can be imported using the id, the id format must be '{nat_gateway_id}#{resource_id}', resource_id range `subnet_id`, `instance_id`, e.g.
SUBNET SNat ``` $ terraform import tencentcloud_nat_gateway_snat.my_snat nat-r4ip1cwt#subnet-2ap74y35 ```
NETWORKINTERFACT SNat ``` $ terraform import tencentcloud_nat_gateway_snat.my_snat nat-r4ip1cwt#ins-da412f5a ```
Provides a resource to create a vpc refresh_nat_dc_route
Example Usage ¶
If `dry_run` is True
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_eip" "eip_example" { name = "eip_example" }
resource "tencentcloud_nat_gateway" "nat" { vpc_id = tencentcloud_vpc.vpc.id name = "tf_example_nat_gateway" max_concurrent = 3000000 bandwidth = 500 assigned_eip_set = [ tencentcloud_eip.eip_example.public_ip, ] }
resource "tencentcloud_nat_refresh_nat_dc_route" "refresh_nat_dc_route" { nat_gateway_id = tencentcloud_nat_gateway.nat.id vpc_id = tencentcloud_vpc.vpc.id dry_run = true }
```
Or `dry_run` is False
```hcl
resource "tencentcloud_nat_refresh_nat_dc_route" "refresh_nat_dc_route" { nat_gateway_id = tencentcloud_nat_gateway.nat.id vpc_id = tencentcloud_vpc.vpc.id dry_run = false }
```
Import ¶
vpc refresh_nat_dc_route can be imported using the id, e.g.
``` terraform import tencentcloud_nat_refresh_nat_dc_route.refresh_nat_dc_route vpc_id#nat_gateway_id ```
Provides a resource to create a oceanus job ¶
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_job" "example" { name = "tf_example_job" job_type = 1 cluster_type = 2 cluster_id = "cluster-1kcd524h" cu_mem = 4 remark = "remark." folder_id = "folder-7ctl246z" flink_version = "Flink-1.16" work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus job_config
Example Usage ¶
If `log_collect_type` is 2
```hcl
resource "tencentcloud_oceanus_job_config" "example" { job_id = "cql-4xwincyn" entrypoint_class = "tf_example" program_args = "--conf Key=Value" remark = "remark." resource_refs { resource_id = "resource-q22ntswy" version = 1 type = 1 } default_parallelism = 1 properties { key = "pipeline.max-parallelism" value = "2048" } log_collect = true job_manager_spec = "1" task_manager_spec = "1" cls_logset_id = "cd9adbb5-6b7d-48d2-9870-77658959c7a4" cls_topic_id = "cec4c2f1-0bf3-470e-b1a5-b1c451e88838" log_collect_type = 2 work_space_id = "space-2idq8wbr" log_level = "INFO" auto_recover = 1 expert_mode_on = false }
```
If `log_collect_type` is 3
```hcl
resource "tencentcloud_oceanus_job_config" "example" { job_id = "cql-4xwincyn" entrypoint_class = "tf_example" program_args = "--conf Key=Value" remark = "remark." resource_refs { resource_id = "resource-q22ntswy" version = 1 type = 1 } default_parallelism = 1 properties { key = "pipeline.max-parallelism" value = "2048" } log_collect = true job_manager_spec = "1" task_manager_spec = "1" cls_logset_id = "cd9adbb5-6b7d-48d2-9870-77658959c7a4" cls_topic_id = "cec4c2f1-0bf3-470e-b1a5-b1c451e88838" log_collect_type = 3 work_space_id = "space-2idq8wbr" log_level = "INFO" auto_recover = 1 expert_mode_on = false cos_bucket = "autotest-gz-bucket-1257058945" }
```
Provides a resource to create a oceanus job_copy
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_job_copy" "example" { source_id = "cql-0nob2hx8" target_cluster_id = "cluster-1kcd524h" source_name = "keep_jar" target_name = "tf_copy_example" target_folder_id = "folder-7ctl246z" job_type = 2 work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus resource ¶
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_resource" "example" { resource_loc { storage_type = 1 param { bucket = "keep-terraform-1257058945" path = "OceanusResource/junit-4.13.2.jar" region = "ap-guangzhou" } } resource_type = 1 remark = "remark." name = "tf_example" resource_config_remark = "config remark." folder_id = "folder-7ctl246z" work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus resource_config
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_resource" "example" { resource_loc { storage_type = 1 param { bucket = "keep-terraform-1257058945" path = "OceanusResource/junit-4.13.1.jar" region = "ap-guangzhou" } } resource_type = 1 remark = "remark." name = "tf_example" resource_config_remark = "config remark." folder_id = "folder-7ctl246z" work_space_id = "space-2idq8wbr" }
resource "tencentcloud_oceanus_resource_config" "example" { resource_id = tencentcloud_oceanus_resource.example.resource_id resource_loc { storage_type = 1 param { bucket = "keep-terraform-1257058945" path = "OceanusResource/junit-4.13.2.jar" region = "ap-guangzhou" } } remark = "config remark." work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus run_job
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_run_job" "example" { run_job_descriptions { job_id = "cql-4xwincyn" run_type = 1 start_mode = "LATEST" job_config_version = 10 use_old_system_connector = false } work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus stop_job
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_stop_job" "example" { stop_job_descriptions { job_id = "cql-4xwincyn" stop_type = 1 } work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus trigger_job_savepoint
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_trigger_job_savepoint" "example" { job_id = "cql-4xwincyn" description = "description." work_space_id = "space-2idq8wbr" }
```
Provides a resource to create a oceanus work_space
Example Usage ¶
```hcl
resource "tencentcloud_oceanus_work_space" "example" { work_space_name = "tf_example" description = "example description." }
```
Import ¶
oceanus work_space can be imported using the id, e.g.
``` terraform import tencentcloud_oceanus_work_space.example space-0dan3yux#tf_example ```
Provides a resource to create a organization organization ¶
Example Usage ¶
```hcl
resource "tencentcloud_organization_instance" "organization" { }
```
Import ¶
organization organization can be imported using the id, e.g.
``` terraform import tencentcloud_organization_instance.organization organization_id ```
Provides a resource to create a organization org_identity
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_identity" "org_identity" { identity_alias_name = "example-iac-test" identity_policy { policy_id = 1 policy_name = "AdministratorAccess" policy_type = 2 } description = "iac-test" }
```
Import ¶
organization org_identity can be imported using the id, e.g.
``` terraform import tencentcloud_organization_org_identity.org_identity org_identity_id ```
Provides a resource to create a organization org_member
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_member" "org_member" { name = "terraform_test" node_id = 2003721 permission_ids = [ 1, 2, 3, 4, ] policy_type = "Financial" remark = "for terraform test" }
``` Import
organization org_member can be imported using the id, e.g. ``` $ terraform import tencentcloud_organization_org_member.org_member orgMember_id ```
Provides a resource to create a organization org_member_auth_identity
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_member_auth_identity_attachment" "org_member_auth_identity" { member_uin = 100033704327 identity_ids = [1657] }
```
Import ¶
organization org_member_auth_identity can be imported using the id, e.g.
``` terraform import tencentcloud_organization_org_member_auth_identity.org_member_auth_identity org_member_auth_identity_id ```
Provides a resource to create a organization org_member_email
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_member_email" "org_member_email" { member_uin = 100033704327 email = "iac-example@qq.com" country_code = "86" phone = "12345678901" }
```
Import ¶
organization org_member_email can be imported using the id, e.g.
``` terraform import tencentcloud_organization_org_member_email.org_member_email org_member_email_id ```
Provides a resource to create a organization org_member_policy_attachment
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_member_policy_attachment" "org_member_policy_attachment" { member_uins = [100033905366,100033905356] policy_name = "example-iac" identity_id = 1 }
```
Import ¶
organization org_member_policy_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_organization_org_member_policy_attachment.org_member_policy_attachment org_member_policy_attachment_id ```
Provides a resource to create a organization org_node
Example Usage ¶
```hcl
resource "tencentcloud_organization_org_node" "org_node" { name = "terraform_test" parent_node_id = 2003721 remark = "for terraform test" }
``` Import
organization org_node can be imported using the id, e.g. ``` $ terraform import tencentcloud_organization_org_node.org_node orgNode_id ```
Provides a resource to create a organization policy_sub_account_attachment
Example Usage ¶
```hcl
resource "tencentcloud_organization_policy_sub_account_attachment" "policy_sub_account_attachment" { member_uin = 100028582828 org_sub_account_uin = 100028223737 policy_id = 144256499 }
``` Import
organization policy_sub_account_attachment can be imported using the id, e.g. ``` $ terraform import tencentcloud_organization_policy_sub_account_attachment.policy_sub_account_attachment policyId#memberUin#orgSubAccountUin ```
Provides a resource to create a organization quit_organization_operation
Example Usage ¶
```hcl
resource "tencentcloud_organization_quit_organization_operation" "quit_organization_operation" { org_id = 45155 }
```
Import ¶
organization quit_organization_operation can be imported using the id, e.g.
``` terraform import tencentcloud_organization_quit_organization_operation.quit_organization_operation quit_organization_operation_id ```
Provide a resource to create a placement group.
Example Usage ¶
```hcl
resource "tencentcloud_placement_group" "foo" { name = "test" type = "HOST" }
```
Import ¶
Placement group can be imported using the id, e.g.
``` $ terraform import tencentcloud_placement_group.foo ps-ilan8vjf ```
Provides a resource to create a postgresql backup_download_restriction_config
Example Usage ¶
Unlimit the restriction of the backup file download. ```hcl
resource "tencentcloud_postgresql_backup_download_restriction_config" "backup_download_restriction_config" { restriction_type = "NONE" }
```
Set the download only to allow the intranet downloads. ```hcl
resource "tencentcloud_postgresql_backup_download_restriction_config" "backup_download_restriction_config" { restriction_type = "INTRANET" }
```
Restrict the backup file download by customizing. ```hcl
resource "tencentcloud_vpc" "pg_vpc" { name = var.instance_name cidr_block = var.vpc_cidr }
resource "tencentcloud_postgresql_backup_download_restriction_config" "backup_download_restriction_config" { restriction_type = "CUSTOMIZE" vpc_restriction_effect = "DENY" vpc_id_set = [tencentcloud_vpc.pg_vpc2.id] ip_restriction_effect = "DENY" ip_set = ["192.168.0.0"] }
```
Import ¶
postgresql backup_download_restriction_config can be imported using the id, e.g.
``` terraform import tencentcloud_postgresql_backup_download_restriction_config.backup_download_restriction_config backup_download_restriction_config_id ```
Provides a resource to create a postgres backup_plan_config
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_backup_plan_config" "backup_plan_config" { db_instance_id = local.pgsql_id min_backup_start_time = "01:00:00" max_backup_start_time = "02:00:00" base_backup_retention_period = 7 backup_period = ["monday","wednesday","friday"] }
```
Import ¶
postgres backup_plan_config can be imported using the id, e.g.
``` terraform import tencentcloud_postgresql_backup_plan_config.backup_plan_config backup_plan_config_id ```
Provides a resource to create a postgresql base_backup
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_base_backup" "base_backup" { db_instance_id = local.pgsql_id tags = { "createdBy" = "terraform" } }
```
Provides a resource to create a postgresql delete_log_backup_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_delete_log_backup_operation" "delete_log_backup_operation" { db_instance_id = "local.pg_id" log_backup_id = "local.pg_log_backup_id" }
```
Provides a resource to create a postgresql disisolate_db_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_disisolate_db_instance_operation" "disisolate_db_instance_operation" { db_instance_id_set = [local.pgsql_id] period = 1 auto_voucher = false }
```
Use this resource to create postgresql instance.
-> **Note:** To update the charge type, please update the `charge_type` and specify the `period` for the charging period. It only supports updating from `POSTPAID_BY_HOUR` to `PREPAID`, and the `period` field only valid in that upgrading case.
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-1" }
create vpc ¶
resource "tencentcloud_vpc" "vpc" { name = "guagua_vpc_instance_test" cidr_block = "10.0.0.0/16" }
create vpc subnet ¶
resource "tencentcloud_subnet" "subnet" { availability_zone = var.availability_zone name = "guagua_vpc_subnet_test" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.20.0/28" is_multicast = false }
create postgresql ¶
resource "tencentcloud_postgresql_instance" "foo" { name = "example" availability_zone = var.availability_zone charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id engine_version = "10.4" root_user = "root123" root_password = "Root123$" charset = "UTF8" project_id = 0 memory = 2 storage = 10 tags = { test = "tf" } }
```
Create a multi available zone bucket ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-6" }
variable "standby_availability_zone" { default = "ap-guangzhou-7" }
create vpc ¶
resource "tencentcloud_vpc" "vpc" { name = "guagua_vpc_instance_test" cidr_block = "10.0.0.0/16" }
create vpc subnet ¶
resource "tencentcloud_subnet" "subnet" { availability_zone = var.availability_zone name = "guagua_vpc_subnet_test" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.20.0/28" is_multicast = false }
create postgresql ¶
resource "tencentcloud_postgresql_instance" "foo" { name = "example" availability_zone = var.availability_zone charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id engine_version = "10.4" root_user = "root123" root_password = "Root123$" charset = "UTF8" project_id = 0 memory = 2 storage = 10 db_node_set { role = "Primary" zone = var.availability_zone } db_node_set { zone = var.standby_availability_zone } tags = { test = "tf" } }
```
create pgsql with kms key ```
resource "tencentcloud_postgresql_instance" "pg" { name = "tf_postsql_instance" availability_zone = "ap-guangzhou-6" charge_type = "POSTPAID_BY_HOUR" vpc_id = "vpc-86v957zb" subnet_id = "subnet-enm92y0m" engine_version = "11.12" # db_major_vesion = "11" db_kernel_version = "v11.12_r1.3" need_support_tde = 1 kms_key_id = "788c606a-c7b7-11ec-82d1-5254001e5c4e" kms_region = "ap-guangzhou" root_password = "xxxxxxxxxx" charset = "LATIN1" project_id = 0 memory = 4 storage = 100 backup_plan { min_backup_start_time = "00:10:11" max_backup_start_time = "01:10:11" base_backup_retention_period = 7 backup_period = ["tuesday", "wednesday"] } tags = { tf = "test" } }
```
upgrade kernel version ```
resource "tencentcloud_postgresql_instance" "test" { name = "tf_postsql_instance_update" availability_zone = data.tencentcloud_availability_zones_by_product.zone.zones[5].name charge_type = "POSTPAID_BY_HOUR" vpc_id = local.vpc_id subnet_id = local.subnet_id engine_version = "13.3" root_password = "*" charset = "LATIN1" project_id = 0 public_access_switch = false security_groups = [local.sg_id] memory = 4 storage = 250 backup_plan { min_backup_start_time = "01:10:11" max_backup_start_time = "02:10:11" base_backup_retention_period = 5 backup_period = ["monday", "thursday", "sunday"] } db_kernel_version = "v13.3_r1.4" # eg:from v13.3_r1.1 to v13.3_r1.4 tags = { tf = "teest" } }
```
Import ¶
postgresql instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_postgresql_instance.foo postgres-cda1iex1 ```
Provides a resource to create a postgresql isolate_db_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_isolate_db_instance_operation" "isolate_db_instance_operation" { db_instance_id_set = [local.pgsql_id] }
```
Provides a resource to create a postgresql modify_account_remark_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_modify_account_remark_operation" "modify_account_remark_operation" { db_instance_id = local.pgsql_id user_name = "root" remark = "hello_world" }
```
Provides a resource to create a postgresql modify_switch_time_period_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_modify_switch_time_period_operation" "modify_switch_time_period_operation" { db_instance_id = local.pgsql_id switch_tag = 0 }
```
Provides a resource to create a postgresql parameter_template
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_parameter_template" "parameter_template" { template_name = "your_temp_name" db_major_version = "13" db_engine = "postgresql" template_description = "For_tf_test" modify_param_entry_set { name = "timezone" expected_value = "UTC" } modify_param_entry_set { name = "lock_timeout" expected_value = "123" } delete_param_set = ["lc_time"] }
```
Import ¶
postgresql parameter_template can be imported using the id, e.g.
Notice: `modify_param_entry_set` and `delete_param_set` do not support import.
``` terraform import tencentcloud_postgresql_parameter_template.parameter_template parameter_template_id ```
Use this resource to create postgresql readonly attachment.
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_readonly_attachment" "attach" { db_instance_id = tencentcloud_postgresql_readonly_instance.foo.id read_only_group_id = tencentcloud_postgresql_readonly_group.group.id }
```
Use this resource to create postgresql readonly group.
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_readonly_group" "group" { master_db_instance_id = "postgres-gzg9jb2n" name = "world" project_id = 0 vpc_id = "vpc-86v957zb" subnet_id = "subnet-enm92y0m" replay_lag_eliminate = 1 replay_latency_eliminate = 1 max_replay_lag = 100 max_replay_latency = 512 min_delay_eliminate_reserve = 1
# security_groups_ids = [] } ```
Use this resource to create postgresql readonly instance.
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_readonly_instance" "foo" { auto_renew_flag = 0 db_version = "10.4" instance_charge_type = "POSTPAID_BY_HOUR" master_db_instance_id = "postgres-j4pm65id" memory = 4 name = "hello" need_support_ipv6 = 0 project_id = 0 security_groups_ids = [ "sg-fefj5n6r", ] storage = 250 subnet_id = "subnet-enm92y0m" vpc_id = "vpc-86v957zb" read_only_group_id = tencentcloud_postgresql_readonly_group.new_ro_group.id }
resource "tencentcloud_postgresql_readonly_group" "new_ro_group" { master_db_instance_id = local.pgsql_id name = "tf_ro_group_test_new" project_id = 0 vpc_id = local.vpc_id subnet_id = local.subnet_id replay_lag_eliminate = 1 replay_latency_eliminate = 1 max_replay_lag = 100 max_replay_latency = 512 min_delay_eliminate_reserve = 1 }
```
Import ¶
postgresql readonly instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_postgresql_readonly_instance.foo instance_id ```
Provides a resource to create a postgresql rebalance_readonly_group_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_readonly_group" "group_rebalance" { master_db_instance_id = local.pgsql_id name = "test-pg-readonly-group-rebalance" project_id = 0 vpc_id = "vpc-86v957zb" subnet_id = "subnet-enm92y0m" replay_lag_eliminate = 1 replay_latency_eliminate = 1 max_replay_lag = 100 max_replay_latency = 512 min_delay_eliminate_reserve = 1 }
resource "tencentcloud_postgresql_rebalance_readonly_group_operation" "rebalance_readonly_group_operation" { read_only_group_id = tencentcloud_postgresql_readonly_group.group_rebalance.id }
```
Provides a resource to create a postgresql renew_db_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_renew_db_instance_operation" "renew_db_instance_operation" { db_instance_id = tencentcloud_postgresql_instance.oper_test_PREPAID.id period = 1 auto_voucher = 0 }
```
Provides a resource to create a postgresql restart_db_instance_operation
Example Usage ¶
```hcl
resource "tencentcloud_postgresql_restart_db_instance_operation" "restart_db_instance_operation" { db_instance_id = local.pgsql_id }
```
Provides a resource to create a postgresql security_group_config
Example Usage ¶
Set security group for the sepcified postgres instance ```hcl
resource "tencentcloud_postgresql_security_group_config" "security_group_config" { security_group_id_set = [local.sg_id, local.sg_id2] db_instance_id = local.pgsql_id }
```
Set security group for the specified readonly group ```hcl
resource "tencentcloud_postgresql_readonly_group" "group" { master_db_instance_id = local.pgsql_id name = "tf_test_ro_sg" project_id = 0 subnet_id = local.subnet_id vpc_id = local.vpc_id replay_lag_eliminate = 1 replay_latency_eliminate = 1 max_replay_lag = 100 max_replay_latency = 512 min_delay_eliminate_reserve = 1 }
resource "tencentcloud_postgresql_security_group_config" "security_group_config" { security_group_id_set = [local.sg_id, local.sg_id2] read_only_group_id = tencentcloud_postgresql_readonly_group.group.id }
```
Provide a resource to create a Private Dns Record.
Example Usage ¶
```hcl
resource "tencentcloud_private_dns_record" "foo" { zone_id = "zone-rqndjnki" record_type = "A" record_value = "192.168.1.2" sub_domain = "www" ttl = 300 weight = 1 mx = 0 }
```
Import ¶
Private Dns Record can be imported, e.g.
``` $ terraform import tencentcloud_private_dns_zone.foo zone_id#record_id ```
Provide a resource to create a Private Dns Zone.
Example Usage ¶
Create a basic Private Dns Zone ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_private_dns_zone" "example" { domain = "domain.com" remark = "remark." vpc_set { region = "ap-guangzhou" uniq_vpc_id = tencentcloud_vpc.vpc.id } dns_forward_status = "DISABLED" cname_speedup_status = "ENABLED" tags = { createdBy : "terraform" } }
```
Create a Private Dns Zone domain and bind associated accounts'VPC
```hcl
resource "tencentcloud_private_dns_zone" "example" { domain = "domain.com" remark = "remark." vpc_set { region = "ap-guangzhou" uniq_vpc_id = tencentcloud_vpc.vpc.id } account_vpc_set { uin = "123456789" uniq_vpc_id = "vpc-adsebmya" region = "ap-guangzhou" vpc_name = "vpc-name" } dns_forward_status = "DISABLED" cname_speedup_status = "ENABLED" tags = { createdBy : "terraform" } }
```
Import ¶
Private Dns Zone can be imported, e.g.
``` $ terraform import tencentcloud_private_dns_zone.foo zone_id ```
Provides a resource to create a PrivateDns zone_vpc_attachment
~> **NOTE:** If you need to bind account A to account B's VPC resources, you need to first grant role authorization to account A.
Example Usage ¶
Append VPC associated with private dns zone ¶
```hcl
resource "tencentcloud_private_dns_zone" "example" { domain = "domain.com" remark = "remark." dns_forward_status = "DISABLED" cname_speedup_status = "ENABLED" tags = { createdBy : "terraform" } }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_private_dns_zone_vpc_attachment" "example" { zone_id = tencentcloud_private_dns_zone.example.id vpc_set { uniq_vpc_id = tencentcloud_vpc.vpc.id region = "ap-guangzhou" } }
```
Add VPC information for associated accounts in the private dns zone ¶
```hcl
resource "tencentcloud_private_dns_zone_vpc_attachment" "example" { zone_id = tencentcloud_private_dns_zone.example.id account_vpc_set { uniq_vpc_id = "vpc-82znjzn3" region = "ap-guangzhou" uin = "100017155920" } }
```
Import ¶
PrivateDns zone_vpc_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_private_dns_zone_vpc_attachment.example zone-6t11lof0#vpc-jdx11z0t ```
Provides a resource to create a project ¶
~> **NOTE:** Project can not be destroyed. If run `terraform destroy`, project will be set invisible.
Example Usage ¶
```hcl
resource "tencentcloud_project" "project" { project_name = "terraform-test" info = "for terraform test" }
```
Import ¶
tag project can be imported using the id, e.g.
``` terraform import tencentcloud_project.project project_id ```
Provides a resource to manage protocol template.
Example Usage ¶
```hcl
resource "tencentcloud_protocol_template" "foo" { name = "protocol-template-test" protocols = ["tcp:80","udp:all","icmp:10-30"] }
```
Import ¶
Protocol template can be imported using the id, e.g.
``` $ terraform import tencentcloud_protocol_template.foo ppm-nwrggd14 ```
Provides a resource to manage protocol template group.
Example Usage ¶
```hcl
resource "tencentcloud_protocol_template_group" "foo" { name = "group-test" template_ids = ["ipl-axaf24151","ipl-axaf24152"] }
```
Import ¶
Protocol template group can be imported using the id, e.g.
``` $ terraform import tencentcloud_protocol_template_group.foo ppmg-0np3u974 ```
Provides a resource to create a pts alert_channel
~> **NOTE:** Modification is not currently supported, please go to the console to modify.
Example Usage ¶
```hcl
resource "tencentcloud_monitor_alarm_notice" "example" { name = "test_alarm_notice_1" notice_type = "ALL" notice_language = "zh-CN" user_notices { receiver_type = "USER" start_time = 0 end_time = 1 notice_way = ["EMAIL", "SMS", "WECHAT"] user_ids = [10001] group_ids = [] phone_order = [10001] phone_circle_times = 2 phone_circle_interval = 50 phone_inner_interval = 60 need_phone_arrive_notice = 1 phone_call_type = "CIRCLE" weekday =[1,2,3,4,5,6,7] } url_notices { url = "https://www.mytest.com/validate" end_time = 0 start_time = 1 weekday = [1,2,3,4,5,6,7] }
}
resource "tencentcloud_pts_project" "project" { name = "ptsObjectName" description = "desc" tags { tag_key = "createdBy" tag_value = "terraform" } }
resource "tencentcloud_pts_alert_channel" "alert_channel" { notice_id = tencentcloud_monitor_alarm_notice.example.id project_id = tencentcloud_pts_project.project.id amp_consumer_id = "Consumer-vvy1xxxxxx" }
``` Import
pts alert_channel can be imported using the project_id#notice_id, e.g. ``` $ terraform import tencentcloud_pts_alert_channel.alert_channel project-kww5v8se#notice-kl66t6y9 ```
Provides a resource to create a pts cron_job
Example Usage ¶
```hcl
resource "tencentcloud_pts_cron_job" "cron_job" { name = "iac-cron_job-update" project_id = "project-7qkzxhea" scenario_id = "scenario-c22lqb1w" scenario_name = "pts-js(2022-11-10 21:53:53)" frequency_type = 2 cron_expression = "* 1 * * *" job_owner = "userName" # end_time = "" notice_id = "notice-vp6i38jt" note = "desc" }
``` Import
pts cron_job can be imported using the projectId#cronJobId, e.g. ``` $ terraform import tencentcloud_pts_cron_job.cron_job project-7qkzxhea#scenario-c22lqb1w ```
Provides a resource to create a pts cron_job_abort
Example Usage ¶
```hcl
resource "tencentcloud_pts_cron_job_abort" "cron_job_abort" { project_id = "project-abc" cron_job_id = "job-dtm93vx0" }
```
Provides a resource to create a pts cron_job_restart, restart a scheduled task whose status is `JobAborting`
Example Usage ¶
```hcl
resource "tencentcloud_pts_cron_job_restart" "cron_job_restart" { project_id = "project-abc" cron_job_id = "job-dtm93vx0" }
```
Provides a resource to create a pts file ¶
~> **NOTE:** Modification is not currently supported, please go to the console to modify.
Example Usage ¶
```hcl
resource "tencentcloud_pts_file" "file" { file_id = "file-de2dbaf8" header_in_file = false kind = 3 line_count = 0 name = "iac.txt" project_id = "project-45vw7v82" size = 10799 type = "text/plain" # header_columns = "" # file_infos { # name = "" # size = "" # type = "" # updated_at = "" # } }
``` Import
pts file can be imported using the project_id#file_id, e.g. ``` $ terraform import tencentcloud_pts_file.file project-45vw7v82#file-de2dbaf8 ```
Provides a resource to create a pts job ¶
Example Usage ¶
```hcl
resource "tencentcloud_pts_job" "job" { scenario_id = "scenario-22q19f3k" job_owner = "username" project_id = "project-45vw7v82" # debug = "" note = "desc" }
``` Import
pts job can be imported using the projectId#scenarioId#jobId, e.g. ``` $ terraform import tencentcloud_pts_job.job project-45vw7v82#scenario-22q19f3k#job-dtm93vx0 ```
Provides a resource to create a pts job_abort
Example Usage ¶
```hcl
resource "tencentcloud_pts_job_abort" "job_abort" { job_id = "job-my644ozi" project_id = "project-45vw7v82" scenario_id = "scenario-22q19f3k" }
```
Provides a resource to create a pts project ¶
Example Usage ¶
```hcl
resource "tencentcloud_pts_project" "project" { name = "ptsObjectName-1" description = "desc" tags { tag_key = "createdBy" tag_value = "terraform" } }
``` Import
pts project can be imported using the id, e.g. ``` $ terraform import tencentcloud_pts_project.project project-1ep27k1m ```
Provides a resource to create a pts scenario ¶
Example Usage ¶
```hcl
resource "tencentcloud_pts_scenario" "scenario" { name = "pts-js" project_id = "project-45vw7v82" type = "pts-js" domain_name_config { } load { geo_regions_load_distribution { percentage = 100 region = "ap-guangzhou" region_id = 1 } load_spec { concurrency { graceful_stop_seconds = 3 iteration_count = 0 max_requests_per_second = 0 stages { duration_seconds = 120 target_virtual_users = 2 } stages { duration_seconds = 120 target_virtual_users = 4 } stages { duration_seconds = 120 target_virtual_users = 5 } stages { duration_seconds = 240 target_virtual_users = 5 } } } } sla_policy { } test_scripts { encoded_content = <<-EOT // Send a http get request import http from 'pts/http'; import { check, sleep } from 'pts'; export default function () { // simple get request const resp1 = http.get('http://httpbin.org/get'); console.log(resp1.body); // if resp1.body is a json string, resp1.json() transfer json format body to a json object console.log(resp1.json()); check('status is 200', () => resp1.statusCode === 200); // sleep 1 second sleep(1); // get request with headers and parameters const resp2 = http.get('http://httpbin.org/get', { headers: { Connection: 'keep-alive', 'User-Agent': 'pts-engine', }, query: { name1: 'value1', name2: 'value2', }, }); console.log(resp2.json().args.name1); // 'value1' check('body.args.name1 equals value1', () => resp2.json().args.name1 === 'value1'); } EOT load_weight = 100 name = "script.js" size = 838 type = "js" updated_at = "2022-11-11T16:18:37+08:00" } }
``` Import
pts scenario can be imported using the id, e.g. ``` $ terraform import tencentcloud_pts_scenario.scenario scenario_id ```
Provides a resource to create a pts tmp_key
Example Usage ¶
```hcl
resource "tencentcloud_pts_tmp_key_generate" "tmp_key" { project_id = "project-1b0zqmhg" scenario_id = "scenario-abc" }
```
Provides a resource to create a redis account ¶
Example Usage ¶
Create an account with read and write permissions ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone type_id = data.tencentcloud_redis_zone_config.zone.list[1].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_account" "account" { instance_id = tencentcloud_redis_instance.foo.id account_name = "account_test" account_password = "test1234" remark = "master" readonly_policy = ["master"] privilege = "rw" }
```
Create an account with read-only permissions ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone type_id = data.tencentcloud_redis_zone_config.zone.list[1].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_account" "account" { instance_id = tencentcloud_redis_instance.foo.id account_name = "account_test" account_password = "test1234" remark = "master" readonly_policy = ["master"] privilege = "r" }
```
Import ¶
redis account can be imported using the id, e.g.
``` terraform import tencentcloud_redis_account.account crs-xxxxxx#account_test ```
Use this resource to create a backup config of redis.
Example Usage ¶
Set configuration for automatic backups ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone type_id = data.tencentcloud_redis_zone_config.zone.list[1].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_backup_config" "foo" { redis_id = tencentcloud_redis_instance.foo.id backup_time = "04:00-05:00" backup_period = ["Monday"] }
```
Import ¶
Redis backup config can be imported, e.g.
``` $ terraform import tencentcloud_redis_backup_config.foo redis-id ```
Provides a resource to create a redis backup_download_restriction
Example Usage ¶
Modify the network information and address of the current region backup file download ¶
```hcl
resource "tencentcloud_redis_backup_download_restriction" "foo" { limit_type = "Customize" vpc_comparison_symbol = "In" ip_comparison_symbol = "In" limit_vpc { region = "ap-guangzhou" vpc_list = [var.vpc_id] } limit_ip = ["10.1.1.12", "10.1.1.13"] }
```
Import ¶
redis backup_download_restriction can be imported using the region, e.g.
``` terraform import tencentcloud_redis_backup_download_restriction.foo ap-guangzhou ```
Provides a resource to create a redis backup_operation
Example Usage ¶
Manually back up the Redis instance, and the backup data is kept for 7 days ¶
```hcl data "tencentcloud_mysql_instance" "foo" {}
resource "tencentcloud_redis_backup_operation" "backup_operation" { instance_id = data.tencentcloud_mysql_instance.foo.instance_list[0].mysql_id remark = "manually back" storage_days = 7 }
```
Provides a resource to create a redis clear_instance_operation
Example Usage ¶
Clear the instance data of the Redis instance ¶
```hcl
variable "password" { default = "test12345789" }
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone type_id = data.tencentcloud_redis_zone_config.zone.list[1].type_id password = var.password mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[1].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_clear_instance_operation" "clear_instance_operation" { instance_id = tencentcloud_redis_instance.foo.id password = var.password }
```
Provides a resource to create a redis connection_config
Example Usage ¶
Modify the maximum number of connections and maximum network throughput of an instance ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_connection_config" "connection_config" { instance_id = "crs-fhm9fnv1" client_limit = "20000" add_bandwidth = "30" }
```
Import ¶
Redis connectionConfig can be imported, e.g.
``` $ terraform import tencentcloud_redis_connection_config.connection_config instance_id ```
Provides a resource to create a Redis instance and set its attributes.
~> **NOTE:** The argument vpc_id and subnet_id is now required because Basic Network Instance is no longer supported.
~> **NOTE:** Both adding and removing replications in one change is supported but not recommend.
Example Usage ¶
Create a base version of redis ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
```
Using multi replica zone set ¶
```hcl
variable "redis_replicas_num" { default = 3 }
variable "redis_type_id" { default = 7 }
data "tencentcloud_availability_zones_by_product" "az" { product = "redis" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_availability_zones_by_product.az.zones[0].name name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "red1" { availability_zone = data.tencentcloud_availability_zones_by_product.az.zones[0].name type_id = var.redis_type_id charge_type = "POSTPAID" mem_size = 1024 name = "test-redis" port = 6379 project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id password = "a12121312334" security_groups = [tencentcloud_security_group.foo.id] redis_replicas_num = var.redis_replicas_num redis_shard_num = 1 replica_zone_ids = [ for i in range(var.redis_replicas_num) : data.tencentcloud_availability_zones_by_product.az.zones[i % length(data.tencentcloud_availability_zones_by_product.az.zones)].id ] }
```
Buy a month of prepaid instances ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] charge_type = "PREPAID" prepaid_period = 1 }
```
Create a multi-AZ instance ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 region = "ap-guangzhou" }
variable "replica_zone_ids" { default = [100004,100006] }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = 2 replica_zone_ids = var.replica_zone_ids name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
```
Import ¶
Redis instance can be imported, e.g.
``` $ terraform import tencentcloud_redis_instance.redislab redis-id ```
Provides a resource to create a redis maintenance_window
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_redis_maintenance_window" "foo" { instance_id = tencentcloud_redis_instance.foo.id start_time = "17:00" end_time = "19:00" }
```
Import ¶
redis maintenance_window can be imported using the id, e.g.
``` terraform import tencentcloud_redis_maintenance_window.foo instance_id ```
Provides a resource to create a redis param ¶
Example Usage ¶
```hcl
resource "tencentcloud_redis_param" "param" { instance_id = "crs-c1nl9rpv" instance_params = { "cluster-node-timeout" = "15000" "disable-command-list" = "\"\"" "hash-max-ziplist-entries" = "512" "hash-max-ziplist-value" = "64" "hz" = "10" "lazyfree-lazy-eviction" = "yes" "lazyfree-lazy-expire" = "yes" "lazyfree-lazy-server-del" = "yes" "maxmemory-policy" = "noeviction" "notify-keyspace-events" = "\"\"" "proxy-slowlog-log-slower-than" = "500" "replica-lazy-flush" = "yes" "sentineauth" = "no" "set-max-intset-entries" = "512" "slowlog-log-slower-than" = "10" "timeout" = "31536000" "zset-max-ziplist-entries" = "128" "zset-max-ziplist-value" = "64" } }
```
Import ¶
redis param can be imported using the instanceId, e.g.
``` terraform import tencentcloud_redis_param.param crs-c1nl9rpv ```
Provides a resource to create a redis parameter template ¶
Example Usage ¶
```hcl
resource "tencentcloud_redis_param_template" "param_template" { name = "example-template" description = "This is an example redis param template." product_type = 6 params_override { key = "timeout" value = "7200" } }
```
Copy from another template ¶
```hcl
resource "tencentcloud_redis_param_template" "foo" { name = "tf-template" description = "This is an example redis param template." product_type = 6 params_override { key = "timeout" value = "7200" } }
resource "tencentcloud_redis_param_template" "param_template" { name = "tf-template-copied" description = "This is an copied redis param template from tf-template." template_id = tencentcloud_redis_param_template.foo.id }
```
Import ¶
redis param_template can be imported using the id, e.g. ``` $ terraform import tencentcloud_redis_param_template.param_template param_template_id ```
Provides a resource to create a redis read_only
Example Usage ¶
Set instance input mode ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_read_only" "read_only" { instance_id = tencentcloud_redis_instance.foo.id input_mode = "0" }
```
Import ¶
redis read_only can be imported using the instanceId, e.g.
``` terraform import tencentcloud_redis_read_only.read_only crs-c1nl9rpv ```
Provides a resource to create a redis renew_instance_operation
Example Usage ¶
Renew Subscription Instances ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
data "tencentcloud_vpc" "vpc" { name = "Default-VPC" }
data "tencentcloud_vpc_subnets" "subnet" { vpc_id = data.tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = data.tencentcloud_vpc.vpc.id subnet_id = data.tencentcloud_vpc_subnets.subnet.instance_list[0].subnet_id security_groups = [tencentcloud_security_group.foo.id] charge_type = "PREPAID" prepaid_period = 1 }
resource "tencentcloud_redis_renew_instance_operation" "foo" { instance_id = tencentcloud_redis_instance.foo.id period = 1 modify_pay_mode = "prepaid" }
```
Provides a resource to create a redis replica_readonly
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[1].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[0].zone type_id = data.tencentcloud_redis_zone_config.zone.list[0].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[0].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_replica_readonly" "replica_readonly" { instance_id = tencentcloud_redis_instance.foo.id readonly_policy = ["master"] operate = "enable" }
```
Provides a resource to create a redis replicate_attachment
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 region = "ap-guangzhou" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_instance" "instance" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_replicas_nums[0] name = "terrform_test_instance" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_replicate_attachment" "replicate_attachment" { group_id = "crs-rpl-orfiwmn5" master_instance_id = tencentcloud_redis_instance.foo.id instance_ids = [tencentcloud_redis_instance.instance.id] }
```
Import ¶
redis replicate_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_redis_replicate_attachment.replicate_attachment replicate_attachment_id ```
Provides a resource to create a redis security_group_attachment
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 region = "ap-guangzhou" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_instance" "instance" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_replicas_nums[0] name = "terrform_test_instance" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_replicate_attachment" "replicate_attachment" { group_id = "crs-rpl-orfiwmn5" master_instance_id = tencentcloud_redis_instance.foo.id instance_ids = [tencentcloud_redis_instance.instance.id] }
```
Import ¶
redis security_group_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_redis_security_group_attachment.security_group_attachment instance_id#security_group_id ```
Provides a resource to create a redis ssl ¶
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 region = "ap-guangzhou" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_replicas_nums[0] name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
resource "tencentcloud_redis_ssl" "ssl" { instance_id = tencentcloud_redis_instance.foo.id ssl_config = "disabled" }
```
Import ¶
redis ssl can be imported using the instanceId, e.g.
``` terraform import tencentcloud_redis_ssl.ssl crs-c1nl9rpv ```
Provides a resource to create a redis startup_instance_operation
Example Usage ¶
Recover the redis instance that has been isolated ¶
```hcl
resource "tencentcloud_redis_startup_instance_operation" "foo" { instance_id = "crs-c1nl9rpv" }
```
Provides a resource to create a redis switch_master
Example Usage ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 7 region = "ap-guangzhou" }
variable "replica_zone_ids" { default = [100004,100006] }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_redis_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone name = "tf_redis_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_security_group" "foo" { name = "tf-redis-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "DROP#0.0.0.0/0#80-90#TCP", ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
resource "tencentcloud_redis_instance" "foo" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[2].zone type_id = data.tencentcloud_redis_zone_config.zone.list[2].type_id password = "test12345789" mem_size = 8192 redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[2].redis_shard_nums[0] redis_replicas_num = 2 replica_zone_ids = var.replica_zone_ids name = "terrform_test" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.foo.id] }
data "tencentcloud_redis_instance_zone_info" "foo" { instance_id = tencentcloud_redis_instance.foo.id }
resource "tencentcloud_redis_switch_master" "switch_master" { instance_id = tencentcloud_redis_instance.foo.id group_id = data.tencentcloud_redis_instance_zone_info.foo.replica_groups[1].group_id }
```
Provides a resource to create a redis upgrade_cache_version_operation
Example Usage ¶
```hcl
resource "tencentcloud_redis_upgrade_cache_version_operation" "upgrade_cache_version_operation" { instance_id = "crs-c1nl9rpv" current_redis_version = "5.0.0" upgrade_redis_version = "5.0.0" instance_type_upgrade_now = 1 }
```
Provides a resource to create a redis upgrade_multi_zone_operation
Example Usage ¶
```hcl
resource "tencentcloud_redis_upgrade_multi_zone_operation" "upgrade_multi_zone_operation" { instance_id = "crs-c1nl9rpv" upgrade_proxy_and_redis_server = true }
```
Provides a resource to create a redis upgrade_proxy_version_operation
Example Usage ¶
```hcl
resource "tencentcloud_redis_upgrade_proxy_version_operation" "upgrade_proxy_version_operation" { instance_id = "crs-c1nl9rpv" current_proxy_version = "5.0.0" upgrade_proxy_version = "5.0.0" instance_type_upgrade_now = 1 }
```
Provides a reserved instance resource.
~> **NOTE:** Reserved instance cannot be deleted and updated. The reserved instance still exist which can be extracted by reserved_instances data source when reserved instance is destroied.
Example Usage ¶
```hcl
resource "tencentcloud_reserved_instance" "ri" { config_id = "469043dd-28b9-4d89-b557-74f6a8326259" instance_count = 2 }
```
Import ¶
Reserved instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_reserved_instance.foo 6cc16e7c-47d7-4fae-9b44-ce5c0f59a920 ```
Provides a resource to create a routing entry in a VPC routing table.
~> **NOTE:** It has been deprecated and replaced by tencentcloud_route_table_entry.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "main" { name = "Used to test the routing entry" cidr_block = "10.4.0.0/16" }
resource "tencentcloud_route_table" "r" { name = "Used to test the routing entry" vpc_id = tencentcloud_vpc.main.id }
resource "tencentcloud_route_entry" "rtb_entry_instance" { vpc_id = tencentcloud_route_table.main.vpc_id route_table_id = tencentcloud_route_table.r.id cidr_block = "10.4.8.0/24" next_type = "instance" next_hub = "10.16.1.7" }
resource "tencentcloud_route_entry" "rtb_entry_instance" { vpc_id = tencentcloud_route_table.main.vpc_id route_table_id = tencentcloud_route_table.r.id cidr_block = "10.4.5.0/24" next_type = "vpn_gateway" next_hub = "vpngw-db52irtl" }
```
Provides a resource to create a VPC routing table.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "foo" { name = "ci-temp-test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_route_table" "foo" { vpc_id = tencentcloud_vpc.foo.id name = "ci-temp-test-rt" }
```
Import ¶
Vpc routetable instance can be imported, e.g.
``` $ terraform import tencentcloud_route_table.test route_table_id ```
Provides a resource to create an entry of a routing table.
Example Usage ¶
```hcl
variable "availability_zone" { default = "na-siliconvalley-1" }
resource "tencentcloud_vpc" "foo" { name = "ci-temp-test" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "foo" { vpc_id = tencentcloud_vpc.foo.id name = "terraform test subnet" cidr_block = "10.0.12.0/24" availability_zone = var.availability_zone route_table_id = tencentcloud_route_table.foo.id }
resource "tencentcloud_route_table" "foo" { vpc_id = tencentcloud_vpc.foo.id name = "ci-temp-test-rt" }
resource "tencentcloud_route_table_entry" "instance" { route_table_id = tencentcloud_route_table.foo.id destination_cidr_block = "10.4.4.0/24" next_type = "EIP" next_hub = "0" description = "ci-test-route-table-entry" }
```
Import ¶
Route table entry can be imported using the id, e.g.
``` $ terraform import tencentcloud_route_table_entry.foo 83517.rtb-mlhpg09u ```
Provides a resource to create a rum instance_status_config
Example Usage ¶
```hcl
resource "tencentcloud_rum_instance_status_config" "instance_status_config" { instance_id = "rum-pasZKEI3RLgakj" operate = "stop" }
```
Import ¶
rum instance_status_config can be imported using the id, e.g.
``` terraform import tencentcloud_rum_instance_status_config.instance_status_config instance_id ```
Provides a resource to create a rum offline_log_config_attachment
Example Usage ¶
```hcl
resource "tencentcloud_rum_offline_log_config_attachment" "offline_log_config_attachment" { project_key = "ZEYrYfvaYQ30jRdmPx" unique_id = "100027012454" }
``` Import
rum offline_log_config_attachment can be imported using the id, e.g. ``` $ terraform import tencentcloud_rum_offline_log_config_attachment.offline_log_config_attachment ZEYrYfvaYQ30jRdmPx#100027012454 ```
Provides a resource to create a rum project ¶
Example Usage ¶
```hcl
resource "tencentcloud_rum_project" "project" { name = "projectName" instance_id = "rum-pasZKEI3RLgakj" rate = "100" enable_url_group = "0" type = "web" repo = "" url = "iac-tf.com" desc = "projectDesc-1" }
``` Import
rum project can be imported using the id, e.g. ``` $ terraform import tencentcloud_rum_project.project project_id ```
Provides a resource to create a rum project_status_config
Example Usage ¶
```hcl
resource "tencentcloud_rum_project_status_config" "project_status_config" { project_id = 131407 operate = "stop" }
```
Import ¶
rum project_status_config can be imported using the id, e.g.
``` terraform import tencentcloud_rum_project_status_config.project_status_config project_id ```
Provides a resource to create a rum release_file
Example Usage ¶
```hcl
resource "tencentcloud_rum_release_file" "release_file" { project_id = 123 version = "1.0" file_key = "120000-last-1632921299138-index.js.map" file_name = "index.js.map" file_hash = "b148c43fd81d845ba7cc6907928ce430" release_file_id = 1 }
```
Import ¶
rum release_file can be imported using the id, e.g.
``` terraform import tencentcloud_rum_release_file.release_file projectId#releaseFileId ```
Provides a resource to create a rum taw_instance
Example Usage ¶
```hcl
resource "tencentcloud_rum_taw_instance" "taw_instance" { area_id = "1" charge_type = "1" data_retention_days = "30" instance_name = "instanceName-1" tags = { createdBy = "terraform" } instance_desc = "instanceDesc-1" }
``` Import
rum taw_instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_rum_taw_instance.taw_instance tawInstance_id ```
Provides a resource to create a rum whitelist ¶
Example Usage ¶
```hcl
resource "tencentcloud_rum_whitelist" "whitelist" { instance_id = "rum-pasZKEI3RLgakj" remark = "white list remark" whitelist_uin = "20221122" # aid = "" }
``` Import
rum whitelist can be imported using the id, e.g. ``` $ terraform import tencentcloud_rum_whitelist.whitelist whitelist_id ```
Provide a resource to create a SCF function.
Example Usage ¶
```hcl
resource "tencentcloud_scf_function" "foo" { name = "ci-test-function" handler = "main.do_it" runtime = "Python3.6" cos_bucket_name = "scf-code-1234567890" cos_object_name = "code.zip" cos_bucket_region = "ap-guangzhou" }
```
Using CFS config ```
resource "tencentcloud_scf_function" "foo" { name = "ci-test-function" handler = "main.do_it" runtime = "Python3.6" cfs_config { user_id = "10000" user_group_id = "10000" cfs_id = "cfs-xxxxxxxx" mount_ins_id = "cfs-xxxxxxxx" local_mount_dir = "/mnt" remote_mount_dir = "/" } }
```
Import ¶
SCF function can be imported, e.g.
-> **NOTE:** function id is `<function namespace>+<function name>`
``` $ terraform import tencentcloud_scf_function.test default+test ```
Provides a resource to create a scf function_alias
Example Usage ¶
```hcl // by weight
resource "tencentcloud_scf_function_alias" "function_alias" { description = "weight test" function_name = "keep-1676351130" function_version = "$LATEST" name = "weight" namespace = "default" routing_config { additional_version_weights { version = "2" weight = 0.4 } } }
// by route
resource "tencentcloud_scf_function_alias" "function_alias" { description = "matchs for test 12312312" function_name = "keep-1676351130" function_version = "3" name = "matchs" namespace = "default" routing_config { additional_version_matches { expression = "testuser" key = "invoke.headers.User" method = "exact" version = "2" } } }
```
Import ¶
scf function_alias can be imported using the id, e.g.
``` terraform import tencentcloud_scf_function_alias.function_alias namespace#functionName#name ```
Provides a resource to create a scf function_event_invoke_config
Example Usage ¶
```hcl
resource "tencentcloud_scf_function_event_invoke_config" "function_event_invoke_config" { function_name = "keep-1676351130" namespace = "default" async_trigger_config { retry_config { retry_num = 2 } msg_ttl = 24 } }
```
Import ¶
scf function_event_invoke_config can be imported using the id, e.g.
``` terraform import tencentcloud_scf_function_event_invoke_config.function_event_invoke_config function_name#namespace ```
Provides a resource to create a scf function_version
Example Usage ¶
```hcl
resource "tencentcloud_scf_function_version" "function_version" { function_name = "keep-1676351130" namespace = "default" description = "for-terraform-test" }
```
Import ¶
scf function_version can be imported using the id, e.g.
``` terraform import tencentcloud_scf_function_version.function_version functionName#namespace#functionVersion ```
Provides a resource to create a scf invoke_function
Example Usage ¶
```hcl
resource "tencentcloud_scf_invoke_function" "invoke_function" { function_name = "keep-1676351130" qualifier = "2" namespace = "default" }
```
Provide a resource to create a SCF layer.
Example Usage ¶
```hcl
resource "tencentcloud_scf_layer" "foo" { layer_name = "foo" compatible_runtimes = ["Python3.6"] content { cos_bucket_name = "test-bucket" cos_object_name = "/foo.zip" cos_bucket_region = "ap-guangzhou" } description = "foo" license_info = "foo" }
``` Import
Scf layer can be imported, e.g.
``` $ terraform import tencentcloud_scf_layer.layer layerId#layerVersion ```
Provide a resource to create a SCF namespace.
Example Usage ¶
```hcl
resource "tencentcloud_scf_namespace" "foo" { namespace = "ci-test-scf" }
```
Import ¶
SCF namespace can be imported, e.g.
``` $ terraform import tencentcloud_scf_function.test default ```
Provides a resource to create a scf provisioned_concurrency_config
Example Usage ¶
```hcl
resource "tencentcloud_scf_provisioned_concurrency_config" "provisioned_concurrency_config" { function_name = "keep-1676351130" qualifier = "2" version_provisioned_concurrency_num = 2 namespace = "default" trigger_actions { trigger_name = "test" trigger_provisioned_concurrency_num = 2 trigger_cron_config = "29 45 12 29 05 * 2023" provisioned_type = "Default" } provisioned_type = "Default" tracking_target = 0.5 min_capacity = 1 max_capacity = 2 }
```
Provides a resource to create a scf reserved_concurrency_config
Example Usage ¶
```hcl
resource "tencentcloud_scf_reserved_concurrency_config" "reserved_concurrency_config" { function_name = "keep-1676351130" reserved_concurrency_mem = 128000 namespace = "default" }
```
Import ¶
scf reserved_concurrency_config can be imported using the id, e.g.
``` terraform import tencentcloud_scf_reserved_concurrency_config.reserved_concurrency_config reserved_concurrency_config_id ```
Provides a resource to create a scf sync_invoke_function
Example Usage ¶
```hcl
resource "tencentcloud_scf_sync_invoke_function" "invoke_function" { function_name = "keep-1676351130" qualifier = "2" namespace = "default" }
```
Provides a resource to create a scf terminate_async_event
Example Usage ¶
```hcl
resource "tencentcloud_scf_terminate_async_event" "terminate_async_event" { function_name = "keep-1676351130" invoke_request_id = "9de9405a-e33a-498d-bb59-e80b7bed1191" namespace = "default" grace_shutdown = true }
```
Provides a resource to create a scf trigger_config
Example Usage ¶
```hcl
resource "tencentcloud_scf_trigger_config" "trigger_config" { enable = "OPEN" function_name = "keep-1676351130" trigger_name = "SCF-timer-1685540160" type = "timer" qualifier = "$DEFAULT" namespace = "default" trigger_desc = "* 1 2 * * * *" description = "func" custom_argument = "Information" }
```
Import ¶
scf trigger_config can be imported using the id, e.g.
``` terraform import tencentcloud_scf_trigger_config.trigger_config functionName#namespace#triggerName ```
Provides a resource to create security group.
Example Usage ¶
Create a basic security group ¶
```hcl
resource "tencentcloud_security_group" "example" { name = "tf-example-sg" description = "sg test" }
```
Create a complete security group ¶
```hcl
resource "tencentcloud_security_group" "example" { name = "tf-example-sg" description = "sg test" project_id = 0 tags = { "example" = "test" } }
```
Import ¶
Security group can be imported using the id, e.g.
```
$ terraform import tencentcloud_security_group.sglab sg-ey3wmiz1
```
Provide a resource to create security group some lite rules quickly.
-> **NOTE:** It can't be used with tencentcloud_security_group_rule, and don't create multiple tencentcloud_security_group_rule resources, otherwise it may cause problems.
Example Usage ¶
```hcl
resource "tencentcloud_security_group" "foo" { name = "ci-temp-test-sg" }
resource "tencentcloud_security_group_lite_rule" "foo" { security_group_id = tencentcloud_security_group.foo.id ingress = [ "ACCEPT#192.168.1.0/24#80#TCP", "DROP#8.8.8.8#80,90#UDP", "ACCEPT#0.0.0.0/0#80-90#TCP", "ACCEPT#sg-7ixn3foj#80-90#TCP", "ACCEPT#ipm-epjq5kn0#80-90#TCP", "ACCEPT#ipmg-3loavam6#80-90#TCP", "ACCEPT#0.0.0.0/0##ppm-xxxxxxxx" "ACCEPT#0.0.0.0/0##ppmg-xxxxxxxx" ] egress = [ "ACCEPT#192.168.0.0/16#ALL#TCP", "ACCEPT#10.0.0.0/8#ALL#ICMP", "DROP#0.0.0.0/0#ALL#ALL", ] }
```
Import ¶
Security group lite rule can be imported using the id, e.g.
```
$ terraform import tencentcloud_security_group_lite_rule.foo sg-ey3wmiz1
```
Provides a resource to create security group rule.
~> **NOTE:** This resource will be offline and no longer supported, beacause single security rule is hardly ordered. Please use 'tencentcloud_security_group_lite_rule' instead.
Example Usage ¶
Source is CIDR ip ¶
```hcl
resource "tencentcloud_security_group" "sglab_1" { name = "mysg_1" description = "favourite sg_1" project_id = 0 }
resource "tencentcloud_security_group_rule" "sglab_1" { security_group_id = tencentcloud_security_group.sglab_1.id type = "ingress" cidr_ip = "10.0.0.0/16" ip_protocol = "TCP" port_range = "80" policy = "ACCEPT" description = "favourite sg rule_1" }
```
Source is a security group id ¶
```hcl
resource "tencentcloud_security_group" "sglab_2" { name = "mysg_2" description = "favourite sg_2" project_id = 0 }
resource "tencentcloud_security_group" "sglab_3" { name = "mysg_3" description = "favourite sg_3" project_id = 0 }
resource "tencentcloud_security_group_rule" "sglab_2" { security_group_id = tencentcloud_security_group.sglab_2.id type = "ingress" ip_protocol = "TCP" port_range = "80" policy = "ACCEPT" source_sgid = tencentcloud_security_group.sglab_3.id description = "favourite sg rule_2" }
```
Provides a resource to create security group rule. This resource is similar with tencentcloud_security_group_lite_rule, rules can be ordered and configure descriptions.
~> **NOTE:** This resource must exclusive in one security group, do not declare additional rule resources of this security group elsewhere.
Example Usage ¶
```hcl
resource "tencentcloud_security_group" "base" { name = "test-set-sg" description = "Testing Rule Set Security" }
resource "tencentcloud_security_group" "relative" { name = "for-relative" description = "Used for attach security policy" }
resource "tencentcloud_address_template" "foo" { name = "test-set-aTemp" addresses = ["10.0.0.1", "10.0.1.0/24", "10.0.0.1-10.0.0.100"] }
resource "tencentcloud_address_template_group" "foo" { name = "test-set-atg" template_ids = [tencentcloud_address_template.foo.id] }
resource "tencentcloud_security_group_rule_set" "base" { security_group_id = tencentcloud_security_group.base.id ingress { action = "ACCEPT" cidr_block = "10.0.0.0/22" protocol = "TCP" port = "80-90" description = "A:Allow Ips and 80-90" } ingress { action = "ACCEPT" cidr_block = "10.0.2.1" protocol = "UDP" port = "8080" description = "B:Allow UDP 8080" } ingress { action = "ACCEPT" cidr_block = "10.0.2.1" protocol = "UDP" port = "8080" description = "C:Allow UDP 8080" } ingress { action = "ACCEPT" cidr_block = "172.18.1.2" protocol = "ALL" port = "ALL" description = "D:Allow ALL" } ingress { action = "DROP" protocol = "TCP" port = "80" source_security_id = tencentcloud_security_group.relative.id description = "E:Block relative" } egress { action = "DROP" cidr_block = "10.0.0.0/16" protocol = "ICMP" description = "A:Block ping3" } egress { action = "DROP" address_template_id = tencentcloud_address_template.foo.id description = "B:Allow template" } egress { action = "DROP" address_template_group = tencentcloud_address_template_group.foo.id description = "C:DROP template group" } }
```
Import ¶
Resource tencentcloud_security_group_rule_set can be imported by passing security grou id:
``` terraform import tencentcloud_security_group_rule_set.sglab_1 sg-xxxxxxxx ```
Provides a resource to create a ses batch_send_email
Example Usage ¶
```hcl
resource "tencentcloud_ses_batch_send_email" "batch_send_email" { from_email_address = "aaa@iac-tf.cloud" receiver_id = 1063742 subject = "terraform test" task_type = 1 reply_to_addresses = "reply@mail.qcloud.com" template { template_id = 99629 template_data = "{\"name\":\"xxx\",\"age\":\"xx\"}" } cycle_param { begin_time = "2023-09-07 15:10:00" interval_time = 1 } timed_param { begin_time = "2023-09-07 15:20:00" } unsubscribe = "0" ad_location = 0 }
```
Provides a resource to create a ses black_list
~> **NOTE:** Used to remove email addresses from blacklists.
Example Usage ¶
```hcl
resource "tencentcloud_ses_black_list_delete" "black_list" { email_address = "terraform-tf@gmail.com" }
```
Provides a resource to create a ses domain ¶
Example Usage ¶
```hcl
resource "tencentcloud_ses_domain" "domain" { email_identity = "iac.cloud" }
``` Import
ses domain can be imported using the id, e.g. ``` $ terraform import tencentcloud_ses_domain.domain iac.cloud ```
Provides a resource to create a ses email_address
Example Usage ¶
```hcl
resource "tencentcloud_ses_email_address" "email_address" { email_address = "aaa@iac-tf.cloud" email_sender_name = "aaa" }
``` Import
ses email_address can be imported using the id, e.g. ``` $ terraform import tencentcloud_ses_email_address.email_address aaa@iac-tf.cloud ```
Provides a resource to create a ses receiver ¶
Example Usage ¶
```hcl
resource "tencentcloud_ses_receiver" "receiver" { receivers_name = "terraform_test" desc = "description" data { email = "abc@abc.com" } data { email = "abcd@abcd.com" } }
```
Create a template with `template_data` ```hcl
resource "tencentcloud_ses_receiver" "receiver" { receivers_name = "terraform_test" desc = "description" data { email = "abc@abc.com" template_data = "{\"name\":\"xxx\",\"age\":\"xx\"}" } data { email = "abcd@abcd.com" template_data = "{\"name\":\"xxx\",\"age\":\"xx\"}" } }
``` Import
ses email_address can be imported using the id, e.g. ``` $ terraform import tencentcloud_ses_receiver.receiver receiverId ```
Provides a resource to create a ses send_email
Example Usage ¶
```hcl
resource "tencentcloud_ses_send_email" "send_email" { from_email_address = "aaa@iac-tf.cloud" destination = ["1055482519@qq.com"] subject = "test subject" reply_to_addresses = "aaa@iac-tf.cloud" template { template_id = 99629 template_data = "{\"name\":\"xxx\",\"age\":\"xx\"}" } unsubscribe = "1" trigger_type = 1 }
```
Provides a resource to create a ses template.
Example Usage ¶
Create a ses text template ¶
```hcl
resource "tencentcloud_ses_template" "example" { template_name = "tf_example_ses_temp"" template_content { text = "example for the ses template" } }
```
Create a ses html template ¶
```hcl
resource "tencentcloud_ses_template" "example" { template_name = "tf_example_ses_temp" template_content { html = <<-EOT
<!DOCTYPE html> <html lang="en"> <head>
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>mail title</title>
</head> <body> <div class="container">
<h1>Welcome to our service! </h1> <p>Dear user,</p> <p>Thank you for using Tencent Cloud:</p> <p><a href="https://cloud.tencent.com/document/product/1653">https://cloud.tencent.com/document/product/1653</a></p> <p>If you did not request this email, please ignore it. </p> <p><strong>from the iac team</strong></p>
</div> </body> </html>
EOT } }
```
Import ¶
ses template can be imported using the id, e.g. ``` $ terraform import tencentcloud_ses_template.example template_id ```
Provides a resource to create a ses verify_domain
~> **NOTE:** Please add the `attributes` information returned by `tencentcloud_ses_domain` to the domain name resolution record through `tencentcloud_dnspod_record`, and then verify it.
Example Usage ¶
```hcl
resource "tencentcloud_ses_verify_domain" "verify_domain" { email_identity = "example.com" }
```
Provides a resource to create a sms sign ¶
Example Usage ¶
Create a sms sign instance ¶
```hcl
resource "tencentcloud_sms_sign" "example" { sign_name = "tf_example_sms_sign" sign_type = 1 # 1:APP, DocumentType can be chosen(0,1,2,3,4) document_type = 4 # Screenshot of application background management (personally developed APP) international = 0 # Mainland China SMS sign_purpose = 0 # personal use proof_image = "your_proof_image" }
```
Provides a resource to create a sms template ¶
Example Usage ¶
Create a sms template ¶
```hcl
resource "tencentcloud_sms_template" "template" { template_name = "tf_example_sms_template" template_content = "example for sms template" international = 0 # Mainland China SMS sms_type = 0 # regular SMS remark = "terraform example" }
```
Use this resource to create SQL Server account ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_account" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_account" password = "Qwer@234" remark = "test-remark" }
```
Import ¶
SQL Server account can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_account.example mssql-3cdq7kx5#tf_example_account ```
Use this resource to create SQL Server account DB attachment ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_account" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_account" password = "Qwer@234" remark = "test-remark" }
resource "tencentcloud_sqlserver_account_db_attachment" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id account_name = tencentcloud_sqlserver_account.example.name db_name = tencentcloud_sqlserver_db.example.name privilege = "ReadWrite" }
```
Import ¶
SQL Server account DB attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_account_db_attachment.example mssql-3cdq7kx5#tf_example_account#tf_example_db ```
Provides a SQL Server instance resource to create basic database instances.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
``` Import
SQL Server basic instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_basic_instance.example mssql-3cdq7kx5 ```
Provides a resource to create a sqlserver business_intelligence_file
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_business_intelligence_instance" "example" { zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "201603" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 4, 5, 6, 7] start_time = "00:00" span = 6 instance_name = "tf_example" }
resource "tencentcloud_sqlserver_business_intelligence_file" "example" { instance_id = tencentcloud_sqlserver_business_intelligence_instance.example.id file_url = "https://tf-example-1208515315.cos.ap-guangzhou.myqcloud.com/sqlserver_business_intelligence_file.txt" file_type = "FLAT" remark = "desc." }
```
Import ¶
sqlserver business_intelligence_file can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_business_intelligence_file.example mssqlbi-fo2dwujt#test.xlsx ```
Provides a resource to create a sqlserver business_intelligence_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_business_intelligence_instance" "example" { zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "201603" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 4, 5, 6, 7] start_time = "00:00" span = 6 instance_name = "tf_example" }
```
Import ¶
sqlserver business_intelligence_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_business_intelligence_instance.example mssqlbi-fo2dwujt ```
Provides a resource to create a sqlserver complete_expansion
Example Usage ¶
First, Create a basic SQL instance ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "example-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "example-vpc" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "example-sg" description = "desc." }
resource "tencentcloud_sqlserver_instance" "example" { name = "tf_example_sql" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.security_group.id] project_id = 0 memory = 2 storage = 20 maintenance_week_set = [1, 2, 3] maintenance_start_time = "01:00" maintenance_time_span = 3 tags = { "createBy" = "tfExample" } }
```
Expand the current instance, storage: 20->40, wait_switch = 1
```hcl
resource "tencentcloud_sqlserver_instance" "example" { name = "tf_example_sql" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id security_groups = [tencentcloud_security_group.security_group.id] project_id = 0 memory = 2 storage = 40 wait_switch = 1 maintenance_week_set = [1, 2, 3] maintenance_start_time = "01:00" maintenance_time_span = 3 tags = { "createBy" = "tfExample" } }
```
Complete the expansion task immediately ¶
```hcl
resource "tencentcloud_sqlserver_complete_expansion" "example" { instance_id = tencentcloud_sqlserver_instance.example.id }
```
Provides a resource to create a sqlserver config_backup_strategy
Example Usage ¶
Daily backup ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_config_backup_strategy" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id backup_type = "daily" backup_time = 0 backup_day = 1 backup_model = "master_no_pkg" backup_cycle = [1] backup_save_days = 7 regular_backup_enable = "disable" regular_backup_save_days = 90 regular_backup_strategy = "months" regular_backup_counts = 1 }
```
Weekly backup ¶
```hcl
resource "tencentcloud_sqlserver_config_backup_strategy" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id backup_type = "weekly" backup_time = 0 backup_model = "master_no_pkg" backup_cycle = [1, 3, 5] backup_save_days = 7 regular_backup_enable = "disable" regular_backup_save_days = 90 regular_backup_strategy = "months" regular_backup_counts = 1 }
```
Regular backup ¶
```hcl
resource "tencentcloud_sqlserver_config_backup_strategy" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id backup_time = 0 backup_model = "master_no_pkg" backup_cycle = [1, 3] backup_save_days = 7 regular_backup_enable = "enable" regular_backup_save_days = 120 regular_backup_strategy = "months" regular_backup_counts = 1 regular_backup_start_time = "%s" }
```
Import ¶
sqlserver config_backup_strategy can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_backup_strategy.example mssql-si2823jyl ```
Provides a resource to create a sqlserver config_database_cdc
Example Usage ¶
Turn off database data change capture (CDC)
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_config_database_cdc" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id db_name = tencentcloud_sqlserver_db.example.name modify_type = "disable" }
```
Enable Database Data Change Capture (CDC)
```hcl
resource "tencentcloud_sqlserver_config_database_cdc" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id db_name = tencentcloud_sqlserver_db.example.name modify_type = "enable" }
```
Import ¶
sqlserver config_database_cdc can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_database_cdc.example mssql-i9ma6oy7#tf_example_db ```
Provides a resource to create a sqlserver config_database_ct
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_config_database_ct" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id db_name = tencentcloud_sqlserver_db.example.name modify_type = "disable" change_retention_day = 7 }
```
Import ¶
sqlserver tencentcloud_sqlserver_config_database_ct can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_database_ct.example mssql-i9ma6oy7#tf_example_db ```
Provides a resource to create a sqlserver config_database_mdf
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_config_database_mdf" "example" { db_name = tencentcloud_sqlserver_db.example.name instance_id = tencentcloud_sqlserver_basic_instance.example.id }
```
Import ¶
sqlserver config_database_mdf can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_database_mdf.example mssql-i9ma6oy7#tf_example_db ```
Provides a resource to create a sqlserver config_instance_param
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_config_instance_param" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id param_list { name = "fill factor(%)" current_value = "90" } }
```
Import ¶
sqlserver config_instance_param can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_instance_param.example config_instance_param ```
Provides a resource to create a sqlserver config_instance_ro_group
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_readonly_instance" "example" { name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id memory = 4 storage = 20 master_instance_id = tencentcloud_sqlserver_basic_instance.example.id readonly_group_type = 2 read_only_group_name = "tf_example_ro" is_offline_delay = 1 read_only_max_delay_time = 10 min_read_only_in_group = 0 force_upgrade = true }
resource "tencentcloud_sqlserver_config_instance_ro_group" "example" { instance_id = tencentcloud_sqlserver_readonly_instance.example.master_instance_id read_only_group_id = tencentcloud_sqlserver_readonly_instance.example.readonly_group_id read_only_group_name = "tf_example_ro_update" is_offline_delay = 1 read_only_max_delay_time = 5 min_read_only_in_group = 1 }
```
Import ¶
sqlserver config_instance_ro_group can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_instance_ro_group.example mssql-ds1xhnt9#mssqlro-o6dv2ugx#0#0 ```
Provides a resource to create a sqlserver config_instance_security_groups
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_config_instance_security_groups" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id security_group_id_set = [tencentcloud_security_group.security_group.id] }
```
Import ¶
sqlserver config_instance_security_groups can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_instance_security_groups.example mssql-i9ma6oy7 ```
Provides a resource to create a sqlserver config_terminate_db_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_config_terminate_db_instance" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id }
```
Import ¶
sqlserver config_terminate_db_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_config_terminate_db_instance.example mssql-i9ma6oy7 ```
Provides a resource to create a sqlserver database_tde
Example Usage ¶
Open database tde encryption ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_database_tde" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id db_names = [tencentcloud_sqlserver_db.example.name] encryption = "enable" }
```
Close database tde encryption ¶
```hcl
resource "tencentcloud_sqlserver_database_tde" "example" { instance_id = tencentcloud_sqlserver_instance.example.id db_names = [tencentcloud_sqlserver_db.example.name] encryption = "disable" }
```
Import ¶
sqlserver database_tde can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_database_tde.example mssql-farjz9tz#tf_example_db ```
Provides a SQL Server DB resource belongs to SQL Server instance.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
```
Import ¶
SQL Server DB can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_db.example mssql-3cdq7kx5#tf_example_db ```
Provides a resource to create a sqlserver full_backup_migration
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
data "tencentcloud_sqlserver_backups" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id backup_name = tencentcloud_sqlserver_general_backup.example.backup_name start_time = "2023-07-25 00:00:00" end_time = "2023-08-04 00:00:00" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_general_backup" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id backup_name = "tf_example_backup" strategy = 0 }
resource "tencentcloud_sqlserver_full_backup_migration" "example" { instance_id = tencentcloud_sqlserver_general_backup.example.instance_id recovery_type = "FULL" upload_type = "COS_URL" migration_name = "migration_test" backup_files = [data.tencentcloud_sqlserver_backups.example.list.0.internet_url] }
```
Import ¶
sqlserver full_backup_migration can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_full_backup_migration.example mssql-si2823jyl#mssql-backup-migration-cg0ffgqt ```
Provides a resource to create a sqlserver general_backup
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_general_backup" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id backup_name = "tf_example_backup" strategy = 0 }
```
Import ¶
sqlserver general_backups can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_general_backups.example mssql-qelbzgwf#3512621#5293#2020-07-31 14:28:51#2020-07-31 15:10:27#autoed_instance_58037_20200728011545.bak.tar ```
Provides a resource to create a sqlserver general_communication
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id name = "tf_example_db" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_general_clone" "example" { instance_id = tencentcloud_sqlserver_db.example.instance_id old_name = tencentcloud_sqlserver_db.example.name new_name = "tf_example_db_clone" }
```
Import ¶
sqlserver general_communication can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_general_clone.example mssql-si2823jyl#tf_example_db#tf_example_db_clone ```
Provides a resource to create a sqlserver general_cloud_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_general_cloud_instance" "example" { name = "tf_example" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
```
Import ¶
sqlserver general_cloud_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_general_cloud_instance.example mssql-i9ma6oy7 ```
Provides a resource to create a sqlserver general_cloud_ro_instance
Example Usage ¶
If read_only_group_type value is 1 - Ship according to one instance and one read-only group:
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_general_cloud_instance" "example" { name = "tf_example" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name read_only_group_type = 1 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_BSSD" instance_charge_type = "POSTPAID" subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id security_group_list = [tencentcloud_security_group.security_group.id] collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" resource_tags = { test-key1 = "test-value1" test-key2 = "test-value2" } }
```
If read_only_group_type value is 2 - Ship after creating a read-only group, all instances are under this read-only group:
```hcl
resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name read_only_group_type = 2 read_only_group_name = "test-ro-group" read_only_group_is_offline_delay = 1 read_only_group_max_delay_time = 10 read_only_group_min_in_group = 1 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_BSSD" instance_charge_type = "POSTPAID" subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id security_group_list = [tencentcloud_security_group.security_group.id] collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" resource_tags = { test-key1 = "test-value1" test-key2 = "test-value2" } }
```
If read_only_group_type value is 3 - All instances shipped are in the existing Some read-only groups below:
```hcl
resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name read_only_group_type = 3 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_BSSD" read_only_group_id = "mssqlrg-clboghrj" instance_charge_type = "POSTPAID" subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id security_group_list = [tencentcloud_security_group.security_group.id] collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" resource_tags = { test-key1 = "test-value1" test-key2 = "test-value2" } }
```
Provides a resource to create a sqlserver general_communication
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_general_communication" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id }
```
Import ¶
sqlserver general_communication can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_general_communication.example mssql-hlh6yka1 ```
Provides a resource to create a sqlserver incre_backup_migration
Example Usage ¶
```hcl
resource "tencentcloud_sqlserver_incre_backup_migration" "example" { instance_id = "mssql-4gmc5805" backup_migration_id = "mssql-backup-migration-9tj0sxnz" backup_files = [] is_recovery = "YES" }
```
Import ¶
sqlserver incre_backup_migration can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_incre_backup_migration.incre_backup_migration incre_backup_migration_id ```
Use this resource to create SQL Server instance ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_sqlserver_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 16 storage = 100 }
```
Import ¶
SQL Server instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_instance.example mssql-3cdq7kx5 ```
Provides a resource to create a sqlserver instance_tde
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_instance_tde" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id certificate_attribution = "self" }
```
Import ¶
sqlserver instance_tde can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_instance_tde.example mssql-farjz9tz ```
Provides a resource to create a sqlserver migration ¶
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "src_example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_basic_instance" "dst_example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_db" "src" { instance_id = tencentcloud_sqlserver_basic_instance.src_example.id name = "tf_example_db_src" charset = "Chinese_PRC_BIN" remark = "testACC-remark" }
resource "tencentcloud_sqlserver_db" "dst" { instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id name = "tf_example_db_dst" charset = "Chinese_PRC_BIN" remark = "testACC-remark" }
resource "tencentcloud_sqlserver_account" "src" { instance_id = tencentcloud_sqlserver_basic_instance.src_example.id name = "tf_example_src_account" password = "Qwer@234" is_admin = true }
resource "tencentcloud_sqlserver_account" "dst" { instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id name = "tf_example_dst_account" password = "Qwer@234" is_admin = true }
resource "tencentcloud_sqlserver_account_db_attachment" "src" { instance_id = tencentcloud_sqlserver_basic_instance.src_example.id account_name = tencentcloud_sqlserver_account.src.name db_name = tencentcloud_sqlserver_db.src.name privilege = "ReadWrite" }
resource "tencentcloud_sqlserver_account_db_attachment" "dst" { instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id account_name = tencentcloud_sqlserver_account.dst.name db_name = tencentcloud_sqlserver_db.dst.name privilege = "ReadWrite" }
resource "tencentcloud_sqlserver_migration" "migration" { migrate_name = "tf_test_migration" migrate_type = 1 source_type = 1 source { instance_id = tencentcloud_sqlserver_basic_instance.src_example.id user_name = tencentcloud_sqlserver_account.src.name password = tencentcloud_sqlserver_account.src.password } target { instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id user_name = tencentcloud_sqlserver_account.dst.name password = tencentcloud_sqlserver_account.dst.password } migrate_db_set { db_name = tencentcloud_sqlserver_db.src.name } }
```
Import ¶
sqlserver migration can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_migration.migration migration_id ```
Provides a SQL Server PublishSubscribe resource belongs to SQL Server instance.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_general_cloud_instance" "example_pub" { name = "tf-example-pub" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
resource "tencentcloud_sqlserver_general_cloud_instance" "example_sub" { name = "tf-example-sub" zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_HSSD" instance_charge_type = "POSTPAID" project_id = 0 subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id db_version = "2008R2" security_group_list = [tencentcloud_security_group.security_group.id] weekly = [1, 2, 3, 5, 6, 7] start_time = "00:00" span = 6 resource_tags { tag_key = "test" tag_value = "test" } collation = "Chinese_PRC_CI_AS" time_zone = "China Standard Time" }
resource "tencentcloud_sqlserver_db" "example_pub" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id name = "tf_example_db_pub" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_db" "example_sub" { instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id name = "tf_example_db_sub" charset = "Chinese_PRC_BIN" remark = "test-remark" }
resource "tencentcloud_sqlserver_publish_subscribe" "example" { publish_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id subscribe_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id publish_subscribe_name = "example" delete_subscribe_db = false database_tuples { publish_database = tencentcloud_sqlserver_db.example_pub.name subscribe_database = tencentcloud_sqlserver_db.example_sub.name } }
```
Import ¶
SQL Server PublishSubscribe can be imported using the publish_sqlserver_id#subscribe_sqlserver_id, e.g.
``` $ terraform import tencentcloud_sqlserver_publish_subscribe.example publish_sqlserver_id#subscribe_sqlserver_id ```
Provides a SQL Server instance resource to create read-only database instances.
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_readonly_instance" "example" { name = "tf_example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id memory = 4 storage = 20 master_instance_id = tencentcloud_sqlserver_basic_instance.example.id readonly_group_type = 1 force_upgrade = true tags = { "test" = "test" } }
```
Import ¶
SQL Server readonly instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_sqlserver_readonly_instance.example mssqlro-3cdq7kx5 ```
Provides a resource to create a sqlserver renew_db_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "PREPAID" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_renew_db_instance" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id period = 1 }
```
Import ¶
sqlserver renew_db_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_renew_db_instance.example mssql-i9ma6oy7#1 ```
Provides a resource to create a sqlserver renew_postpaid_db_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_config_terminate_db_instance" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id }
resource "tencentcloud_sqlserver_renew_postpaid_db_instance" "example" { instance_id = tencentcloud_sqlserver_config_terminate_db_instance.example.id }
```
Import ¶
sqlserver renew_postpaid_db_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_renew_postpaid_db_instance.example mssql-i9ma6oy7 ```
Provides a resource to create a sqlserver restart_db_instance
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_restart_db_instance" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id }
```
Import ¶
sqlserver restart_db_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_restart_db_instance.example mssql-i9ma6oy7 ```
Provides a resource to create a sqlserver restore_instance
Example Usage ¶
```hcl
resource "tencentcloud_sqlserver_restore_instance" "restore_instance" { instance_id = "mssql-qelbzgwf" backup_id = 3482091273 rename_restore { old_name = "keep_pubsub_db2" new_name = "restore_keep_pubsub_db2" } }
```
Import ¶
sqlserver restore_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_restore_instance.restore_instance mssql-qelbzgwf#3482091273#keep_pubsub_db2#restore_keep_pubsub_db2 ```
Provides a resource to create a sqlserver rollback_instance
Example Usage ¶
```hcl
resource "tencentcloud_sqlserver_rollback_instance" "rollback_instance" { instance_id = "mssql-qelbzgwf" time = "2023-05-23 01:00:00" rename_restore { old_name = "keep_pubsub_db2" new_name = "rollback_pubsub_db3" } }
```
Import ¶
sqlserver rollback_instance can be imported using the id, e.g.
``` terraform import tencentcloud_sqlserver_rollback_instance.rollback_instance mssql-qelbzgwf#2023-05-23 01:00:00#keep_pubsub_db2#rollback_pubsub_db3 ```
Provides a resource to create a sqlserver start_backup_full_migration
Example Usage ¶
```hcl
resource "tencentcloud_sqlserver_start_backup_full_migration" "start_backup_full_migration" { instance_id = "mssql-i1z41iwd" backup_migration_id = "mssql-backup-migration-kpl74n9l" }
```
Provides a resource to create a sqlserver start_backup_incremental_migration
Example Usage ¶
```hcl
resource "tencentcloud_sqlserver_start_backup_incremental_migration" "start_backup_incremental_migration" { instance_id = "mssql-i1z41iwd" backup_migration_id = "mssql-backup-migration-cg0ffgqt" incremental_migration_id = "mssql-incremental-migration-kp7bgv8p" }
```
Provides a resource to create a sqlserver start_xevent
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "sqlserver" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_sqlserver_basic_instance" "example" { name = "tf-example" availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name charge_type = "POSTPAID_BY_HOUR" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id project_id = 0 memory = 4 storage = 100 cpu = 2 machine_type = "CLOUD_PREMIUM" maintenance_week_set = [1, 2, 3] maintenance_start_time = "09:00" maintenance_time_span = 3 security_groups = [tencentcloud_security_group.security_group.id] tags = { "test" = "test" } }
resource "tencentcloud_sqlserver_start_xevent" "example" { instance_id = tencentcloud_sqlserver_basic_instance.example.id event_config { event_type = "slow" threshold = 0 } }
```
Provides a resource to create a SSL certificate.
Upload the existing SSL certificate to Tencent Cloud.
Example Usage ¶
If SSL certificate type is `CA`
```hcl
variable "ca" { default = "-----BEGIN CERTIFICATE-----\nMIIEDjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQsFADAoMQ0wCwYDVQQDEwR0ZXN0\nMRcwFQYDVQQKEw50ZXJyYWZvcm0gdGVzdDAeFw0xOTA4MTMwMzA4MjBaFw0yOTA4\nMTAwMzA4MjBaMCgxDTALBgNVBAMTBHRlc3QxFzAVBgNVBAoTDnRlcnJhZm9ybSB0\nZXN0MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0k2vqg/GHtFP5P7r\ndbzswfx1jSHeK9r4StV4mGOAoKyzvAJA5BvYbAHpSrL2ZAd6ShjHgRVU1qEroeFn\n8fwTrAVQttMltBFABx7G4iN4Zf6EUXzhhFN6vVVbWaqhYhrdMoPvZxgGSA/4hG4W\nGIr8MXZzXbKLoRoz4Bvq1Ymg5eO14KLJFSTahvIkG60egGN5pmi4czxWy2U7ycA5\nQ5TuQBnF0rKQJW5XKIV3kr5YrzDdJK7up9E6Od4T5jz+qY97KAjIpWD/pTAsc7+6\nfPBpY7NHT9Bw0fDmvsWO/PtswY4hW02n86b5eWA9sfKJGphhsBxgpuuhmxYHS6pA\nB+C7IkyxcADNT5u9tEo2JGOj+/veXKrEhZin7inKsQLD0WOobcg1Rh/3NSWD7geF\nTJBRnzgplaN7cK6c/utEAAnngS38q4DGBR/jHmkWjAeQPZj1eLLBk686HEEbKeU+\n9yAVcPRhA9tuL7wMeSX32VunWZunoA/f8iuGZYJlZsNBqyJbAgMBAAGjQzBBMA8G\nA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAweGADAdBgNVHQ4EFgQUKwfrmq79\n1mY831S6UHARHtgYnlgwDQYJKoZIhvcNAQELBQADggGBAInM+aeaHoZdw9B9nAH2\nHscEoOulF+RxnysSXTTRLd2VQph4+ynlfRZT4evLBBj/ppmqjp8F7/OcRiiZwSXl\nnamyP/UUINtHfgDM0kll/5Za0aYzMhrORNw+3ythIv2yPJX8t4LmsG1L4PMO8ZU8\nN0K9XyKRaL/tq6rw1gQM152OmNgTzfAQoKYxrvbftOZz4J0ZACctuBmwtp5upKvJ\n36aQ4wJLUzOt69mnW+AaL5EPA37mwtzdnzTTxd3SBfOYXjsflc3l2raljJznnqU2\nySynjb6L3D3L/pObL1Uu7nQBy8CazJBsBsVFK/pr61vcllm8lG7vOhHOUSFUeezq\nFWukAolm9/cagmD6IhNishM3Uzng+UYyCC8uQq3Z7FGqJpXSI79wZYjudnCLPVCg\nOIfJHQeJFLryn6GxiSYmYs6dgUJiiTV+I/2Y5X7ZFdb5FC1J/WmvoCv6yO7NiirY\nBSgfV0lp5CuV8SfiSClpYfrM28NbNgxveUqET642BJOPLQ==\n-----END CERTIFICATE-----" }
data "tencentcloud_ssl_certificates" "ca" { name = tencentcloud_ssl_certificate.ca.name }
resource "tencentcloud_ssl_certificate" "ca" { name = "ssl-ca" type = "CA" cert = var.ca }
```
If SSL certificate type is `SVR`
```hcl
variable "cert" { default = "-----BEGIN CERTIFICATE-----\nMIIERzCCAq+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADAoMQ0wCwYDVQQDEwR0ZXN0\nMRcwFQYDVQQKEw50ZXJyYWZvcm0gdGVzdDAeFw0xOTA4MTMwMzE5MzlaFw0yOTA4\nMTAwMzE5MzlaMC4xEzARBgNVBAMTCnNlcnZlciBzc2wxFzAVBgNVBAoTDnRlcnJh\nZm9ybS10ZXN0MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1Ryp+DKK\nSNFKZsPtwfR+jzOnQ8YFieIKYgakV688d8YgpolenbmeEPrzT87tunFD7G9f6ALG\nND8rj7npj0AowxhOL/h/v1D9u0UsIaj5i2GWJrqNAhGLaxWiEB/hy5WOiwxDrGei\ngQqJkFM52Ep7G1Yx7PHJmKFGwN9FhIsFi1cNZfVRopZuCe/RMPNusNVZaIi+qcEf\nfsE1cmfmuSlG3Ap0RKOIyR0ajDEzqZn9/0R7VwWCF97qy8TNYk94K/1tq3zyhVzR\nZ83xOSfrTqEfb3so3AU2jyKgYdwr/FZS72VCHS8IslgnqJW4izIXZqgIKmHaRZtM\nN4jUloi6l/6lktt6Lsgh9xECecxziSJtPMaog88aC8HnMqJJ3kScGCL36GYG+Kaw\n5PnDlWXBaeiDe8z/eWK9+Rr2M+rhTNxosAVGfDJyxAXyiX49LQ0v7f9qzwc/0JiD\nbvsUv1cm6OgpoEMP9SXqqBdwGqeKbD2/2jlP48xlYP6l1SoJG3GgZ8dbAgMBAAGj\ndjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0PAQH/\nBAUDAweAADAdBgNVHQ4EFgQULwWKBQNLL9s3cb3tTnyPVg+mpCMwHwYDVR0jBBgw\nFoAUKwfrmq791mY831S6UHARHtgYnlgwDQYJKoZIhvcNAQELBQADggGBAMo5RglS\nAHdPgaicWJvmvjjexjF/42b7Rz4pPfMjYw6uYO8He/f4UZWv5CZLrbEe7MywaK3y\n0OsfH8AhyN29pv2x8g9wbmq7omZIOZ0oCAGduEXs/A/qY/hFaCohdkz/IN8qi6JW\nVXreGli3SrpcHFchSwHTyJEXgkutcGAsOvdsOuVSmplOyrkLHc8uUe8SG4j8kGyg\nEzaszFjHkR7g1dVyDVUedc588mjkQxYeAamJgfkgIhljWKMa2XzkVMcVfQHfNpM1\nn+bu8SmqRt9Wma2bMijKRG/Blm756LoI+skY+WRZmlDnq8zj95TT0vceGP0FUWh5\nhKyiocABmpQs9OK9HMi8vgSWISP+fYgkm/bKtKup2NbZBoO5/VL2vCEPInYzUhBO\njCbLMjNjtM5KriCaR7wDARgHiG0gBEPOEW1PIjZ9UOH+LtIxbNZ4eEIIINLHnBHf\nL+doVeZtS/gJc4G4Adr5HYuaS9ZxJ0W2uy0eQlOHzjyxR6Mf/rpnilJlcQ==\n-----END CERTIFICATE-----" }
variable "key" { default = "Public Key Info:\n Public Key Algorithm: RSA\n Key Security Level: High (3072 bits)\n\nmodulus:\n 00:d5:1c:a9:f8:32:8a:48:d1:4a:66:c3:ed:c1:f4:7e\n 8f:33:a7:43:c6:05:89:e2:0a:62:06:a4:57:af:3c:77\n c6:20:a6:89:5e:9d:b9:9e:10:fa:f3:4f:ce:ed:ba:71\n 43:ec:6f:5f:e8:02:c6:34:3f:2b:8f:b9:e9:8f:40:28\n c3:18:4e:2f:f8:7f:bf:50:fd:bb:45:2c:21:a8:f9:8b\n 61:96:26:ba:8d:02:11:8b:6b:15:a2:10:1f:e1:cb:95\n 8e:8b:0c:43:ac:67:a2:81:0a:89:90:53:39:d8:4a:7b\n 1b:56:31:ec:f1:c9:98:a1:46:c0:df:45:84:8b:05:8b\n 57:0d:65:f5:51:a2:96:6e:09:ef:d1:30:f3:6e:b0:d5\n 59:68:88:be:a9:c1:1f:7e:c1:35:72:67:e6:b9:29:46\n dc:0a:74:44:a3:88:c9:1d:1a:8c:31:33:a9:99:fd:ff\n 44:7b:57:05:82:17:de:ea:cb:c4:cd:62:4f:78:2b:fd\n 6d:ab:7c:f2:85:5c:d1:67:cd:f1:39:27:eb:4e:a1:1f\n 6f:7b:28:dc:05:36:8f:22:a0:61:dc:2b:fc:56:52:ef\n 65:42:1d:2f:08:b2:58:27:a8:95:b8:8b:32:17:66:a8\n 08:2a:61:da:45:9b:4c:37:88:d4:96:88:ba:97:fe:a5\n 92:db:7a:2e:c8:21:f7:11:02:79:cc:73:89:22:6d:3c\n c6:a8:83:cf:1a:0b:c1:e7:32:a2:49:de:44:9c:18:22\n f7:e8:66:06:f8:a6:b0:e4:f9:c3:95:65:c1:69:e8:83\n 7b:cc:ff:79:62:bd:f9:1a:f6:33:ea:e1:4c:dc:68:b0\n 05:46:7c:32:72:c4:05:f2:89:7e:3d:2d:0d:2f:ed:ff\n 6a:cf:07:3f:d0:98:83:6e:fb:14:bf:57:26:e8:e8:29\n a0:43:0f:f5:25:ea:a8:17:70:1a:a7:8a:6c:3d:bf:da\n 39:4f:e3:cc:65:60:fe:a5:d5:2a:09:1b:71:a0:67:c7\n 5b:\n\npublic exponent:\n 01:00:01:\n\nprivate exponent:\n 00:b1:56:d0:fa:00:d4:a2:13:c7:5e:0c:dc:e4:f1:97\n ff:82:74:46:29:9a:a2:4a:bf:69:23:2d:ce:e9:bb:df\n cf:b7:8b:dd:f4:26:3c:38:14:d9:3f:6f:c2:3a:81:53\n 8f:ba:48:53:fe:b5:90:4a:19:e7:1e:0b:0f:18:6d:c3\n 7d:d5:d3:fa:87:47:86:e4:d6:bf:e7:a7:f9:ba:ab:2e\n 19:5e:e1:8b:8b:9b:95:0d:f7:66:61:1e:19:e9:c3:88\n 08:be:1c:ce:93:c1:09:b1:68:1b:61:46:60:74:64:46\n 5d:51:34:ea:7f:a9:ca:a1:2a:47:85:84:4b:ef:84:05\n 97:c3:46:7d:06:19:ce:24:73:90:64:fb:df:16:d5:80\n 34:8e:90:7c:58:b6:a4:86:ce:30:b3:ab:52:8b:f2:95\n 4c:b6:46:5a:77:db:73:c0:0c:3f:6d:12:18:a8:54:7c\n ff:77:c3:ca:89:9f:63:98:ef:48:2d:c1:09:70:6e:ea\n cb:bb:78:91:42:8a:22:3e:21:ef:a5:bf:16:ee:66:45\n e5:f0:26:6a:85:8e:e1:69:62:ac:05:00:a6:44:ba:c8\n ac:10:00:97:f5:51:65:7f:9a:1f:7b:99:9d:02:d4:87\n 50:ce:74:06:51:67:fa:fb:90:e4:33:79:f2:a8:61:ee\n 45:1d:87:ca:22:5b:ac:e7:32:38:f8:2c:fd:55:92:1e\n 3d:60:1e:7c:4b:fd:28:ff:e5:b1:02:6a:aa:22:f7:ae\n a8:36:90:7b:a6:f7:29:05:14:3a:21:da:36:05:f9:b0\n 9d:f7:fb:10:75:d7:2c:21:32:95:e7:f7:17:be:09:cb\n 66:fe:f1:69:71:df:a4:5e:3f:fc:67:6c:37:65:b8:51\n c6:22:38:fb:07:ce:89:54:50:43:71:44:3d:c3:51:5a\n bd:e5:c7:87:b2:ea:7b:64:0f:5d:34:9c:a1:52:b3:ce\n 06:86:ba:7a:05:80:48:b3:6c:1b:79:74:9b:49:f2:30\n c1:\n\nprime1:\n 00:e4:31:46:59:3d:24:f7:31:d9:22:26:af:c0:3e:f5\n c1:6d:be:ba:d3:9e:3f:b9:2c:43:a0:d0:47:09:e4:35\n 63:19:a4:33:82:af:f9:76:3c:11:c2:cb:34:f9:a6:ab\n dd:ab:64:5a:6b:9c:c1:2a:52:89:64:7e:b5:a7:f0:4d\n 29:13:a4:cf:17:f4:f2:0d:a0:6e:b9:5d:95:41:10:df\n ae:f3:7a:13:49:21:66:73:2a:b7:e2:8d:7c:c2:34:e5\n 3f:bd:78:ca:fc:64:c5:1c:3a:66:7a:12:53:96:bd:b0\n c3:7a:0c:ec:5e:55:c0:c3:3f:7f:25:72:f4:e2:19:94\n 9d:65:15:be:c8:82:20:57:12:97:b2:a8:4d:3d:e0:8f\n e2:1f:d0:c8:49:aa:f4:34:fa:91:d1:d1:cc:98:bc:3d\n 8b:b1:9b:8f:fd:ef:03:dd:92:fb:ca:99:45:af:cc:83\n 58:4c:bb:ba:73:9e:23:84:f9:7e:4f:40:fe:00:b5:bf\n 6f:\n\nprime2:\n 00:ef:14:ef:73:fc:0c:fc:e3:87:d9:7f:a6:f8:55:86\n 57:63:8a:86:87:f5:ef:63:20:1f:b2:ae:28:dc:ab:59\n 80:8f:15:64:44:e2:bc:a5:7b:d7:69:ef:30:b1:83:b3\n bd:09:fd:4a:0c:c6:31:5b:a4:79:d0:e5:d3:a8:31:fd\n 59:ea:52:63:cf:17:a7:c1:54:bf:a8:11:9b:b1:85:47\n 5a:08:a6:9c:2f:47:9d:ac:5d:e8:7c:e4:31:6c:99:71\n 04:7d:20:98:be:8b:60:07:66:2d:b9:41:10:ea:dd:5b\n 87:20:65:62:ea:75:a7:a6:04:a2:18:66:6b:db:5b:a4\n 9f:12:97:cb:7c:8c:d2:e0:ce:02:ef:1e:df:a1:9d:6a\n bc:00:38:18:36:a1:c5:97:16:be:7a:df:5f:4f:4f:de\n a3:cb:25:fe:f6:67:0d:31:aa:0a:d4:1b:be:df:91:2c\n 05:14:20:37:cc:4f:50:33:a6:50:1b:90:f9:b2:08:80\n d5:\n\ncoefficient:\n 47:d1:7f:ca:93:6a:14:9b:fe:85:8d:c2:15:11:52:a2\n a5:bc:f5:6b:a2:69:76:49:1e:09:79:f1:15:bf:39:48\n 41:ff:92:78:af:bc:7d:6f:76:3b:32:9e:08:d2:42:06\n 04:5f:36:e0:be:a8:1d:21:5c:ec:39:09:e0:77:c5:86\n 06:e6:ce:98:16:fc:0f:30:de:a7:69:7a:8f:dd:01:42\n 2a:22:f5:b7:c2:fc:c8:90:5a:78:dc:b3:e0:4d:e7:2d\n 98:6c:e3:34:1b:d7:e8:f8:90:57:7e:4d:41:d6:4a:29\n 81:92:eb:89:5b:45:85:dd:b9:16:20:63:cb:59:f6:06\n 59:c1:dd:3b:6b:92:0a:5e:5e:63:4a:f1:a7:d5:16:b9\n 8b:6c:d8:ad:76:0e:2d:3c:e0:b3:73:e0:6d:af:d4:a2\n bc:4b:fd:6c:2d:d7:5d:4d:cd:28:03:64:b2:ef:9a:1d\n 82:8d:53:40:c5:f8:fb:f3:63:de:8e:1a:21:b6:35:14\n \n\nexp1:\n 00:9c:a5:8a:d2:65:dc:03:69:8f:d2:16:d6:9d:55:5b\n 25:4e:ae:18:d8:7e:90:e6:10:11:d8:ca:41:89:f3:c4\n 06:64:aa:c8:c5:95:01:dd:fd:7c:7f:c9:39:73:8b:cb\n fd:9e:d3:84:12:cd:87:f9:02:b1:d8:6f:f7:49:f2:f7\n 35:14:8c:15:b2:2f:6f:1e:95:9c:8c:d9:46:45:65:4c\n f8:6f:a1:c4:ad:76:25:3b:37:ff:05:a1:f5:1b:e8:6d\n db:64:b9:10:37:55:01:ce:cf:f4:5b:26:4b:85:76:70\n 6a:b0:55:40:c9:bd:7a:57:4e:36:7d:41:be:03:9c:65\n dd:ea:6f:94:09:56:f2:d6:73:27:f9:f7:f9:16:5a:1a\n cb:b2:e5:83:28:b7:17:6f:6a:f7:41:1f:11:a1:63:cf\n a8:1e:e3:58:64:8c:78:8d:d9:81:c9:e1:8f:ea:0f:ad\n b6:a6:ee:54:1f:5c:56:ab:c9:0d:c1:60:2f:3d:d3:86\n 37:\n\nexp2:\n 64:12:b7:48:2d:30:a2:89:fa:cb:27:8b:94:56:f8:2c\n 8c:15:e7:c9:f1:3f:8a:96:5f:ae:43:08:07:96:11:98\n a6:4b:a5:f4:cf:93:77:11:27:51:c8:34:f1:98:d7:1b\n 41:9b:2b:eb:bc:e9:dc:1a:34:83:24:30:3c:2e:f0:85\n 3a:77:d2:1f:55:1f:7a:e5:26:74:0b:2a:c8:5b:a9:4a\n 1e:64:de:eb:4b:66:cc:47:62:91:24:53:2b:c9:ee:6c\n 9a:93:92:5b:ef:aa:fa:6d:e2:a5:b0:7e:8c:50:ab:87\n 1c:20:54:0f:1f:c0:54:d5:8b:a3:fa:fb:1a:8e:79:91\n bc:0e:9d:b6:3c:9b:e8:4d:53:1d:14:27:37:56:d4:de\n 6c:99:0e:49:8f:dd:4d:28:d0:02:4e:8d:6e:7d:58:0b\n e7:74:b8:0c:1b:86:82:4b:52:cd:05:f0:17:54:84:c0\n 7b:74:20:e6:fc:2b:ed:f2:a7:85:62:61:a2:0b:bd:21\n \n\n\nPublic Key PIN:\n pin-sha256:t5OXXC5gYqMNtUMsTqRs3A3vhfK2BiXVOgYzIEYv7Y8=\nPublic Key ID:\n sha256:b793975c2e6062a30db5432c4ea46cdc0def85f2b60625d53a063320462fed8f\n sha1:2f058a05034b2fdb3771bded4e7c8f560fa6a423\n\n-----BEGIN RSA PRIVATE KEY-----\nMIIG5AIBAAKCAYEA1Ryp+DKKSNFKZsPtwfR+jzOnQ8YFieIKYgakV688d8Ygpole\nnbmeEPrzT87tunFD7G9f6ALGND8rj7npj0AowxhOL/h/v1D9u0UsIaj5i2GWJrqN\nAhGLaxWiEB/hy5WOiwxDrGeigQqJkFM52Ep7G1Yx7PHJmKFGwN9FhIsFi1cNZfVR\nopZuCe/RMPNusNVZaIi+qcEffsE1cmfmuSlG3Ap0RKOIyR0ajDEzqZn9/0R7VwWC\nF97qy8TNYk94K/1tq3zyhVzRZ83xOSfrTqEfb3so3AU2jyKgYdwr/FZS72VCHS8I\nslgnqJW4izIXZqgIKmHaRZtMN4jUloi6l/6lktt6Lsgh9xECecxziSJtPMaog88a\nC8HnMqJJ3kScGCL36GYG+Kaw5PnDlWXBaeiDe8z/eWK9+Rr2M+rhTNxosAVGfDJy\nxAXyiX49LQ0v7f9qzwc/0JiDbvsUv1cm6OgpoEMP9SXqqBdwGqeKbD2/2jlP48xl\nYP6l1SoJG3GgZ8dbAgMBAAECggGBALFW0PoA1KITx14M3OTxl/+CdEYpmqJKv2kj\nLc7pu9/Pt4vd9CY8OBTZP2/COoFTj7pIU/61kEoZ5x4LDxhtw33V0/qHR4bk1r/n\np/m6qy4ZXuGLi5uVDfdmYR4Z6cOICL4czpPBCbFoG2FGYHRkRl1RNOp/qcqhKkeF\nhEvvhAWXw0Z9BhnOJHOQZPvfFtWANI6QfFi2pIbOMLOrUovylUy2Rlp323PADD9t\nEhioVHz/d8PKiZ9jmO9ILcEJcG7qy7t4kUKKIj4h76W/Fu5mReXwJmqFjuFpYqwF\nAKZEusisEACX9VFlf5ofe5mdAtSHUM50BlFn+vuQ5DN58qhh7kUdh8oiW6znMjj4\nLP1Vkh49YB58S/0o/+WxAmqqIveuqDaQe6b3KQUUOiHaNgX5sJ33+xB11ywhMpXn\n9xe+Cctm/vFpcd+kXj/8Z2w3ZbhRxiI4+wfOiVRQQ3FEPcNRWr3lx4ey6ntkD100\nnKFSs84Ghrp6BYBIs2wbeXSbSfIwwQKBwQDkMUZZPST3MdkiJq/APvXBbb66054/\nuSxDoNBHCeQ1YxmkM4Kv+XY8EcLLNPmmq92rZFprnMEqUolkfrWn8E0pE6TPF/Ty\nDaBuuV2VQRDfrvN6E0khZnMqt+KNfMI05T+9eMr8ZMUcOmZ6ElOWvbDDegzsXlXA\nwz9/JXL04hmUnWUVvsiCIFcSl7KoTT3gj+If0MhJqvQ0+pHR0cyYvD2LsZuP/e8D\n3ZL7yplFr8yDWEy7unOeI4T5fk9A/gC1v28CgcEA7xTvc/wM/OOH2X+m+FWGV2OK\nhof172MgH7KuKNyrWYCPFWRE4ryle9dp7zCxg7O9Cf1KDMYxW6R50OXTqDH9WepS\nY88Xp8FUv6gRm7GFR1oIppwvR52sXeh85DFsmXEEfSCYvotgB2YtuUEQ6t1bhyBl\nYup1p6YEohhma9tbpJ8Sl8t8jNLgzgLvHt+hnWq8ADgYNqHFlxa+et9fT0/eo8sl\n/vZnDTGqCtQbvt+RLAUUIDfMT1AzplAbkPmyCIDVAoHBAJylitJl3ANpj9IW1p1V\nWyVOrhjYfpDmEBHYykGJ88QGZKrIxZUB3f18f8k5c4vL/Z7ThBLNh/kCsdhv90ny\n9zUUjBWyL28elZyM2UZFZUz4b6HErXYlOzf/BaH1G+ht22S5EDdVAc7P9FsmS4V2\ncGqwVUDJvXpXTjZ9Qb4DnGXd6m+UCVby1nMn+ff5Floay7Llgyi3F29q90EfEaFj\nz6ge41hkjHiN2YHJ4Y/qD622pu5UH1xWq8kNwWAvPdOGNwKBwGQSt0gtMKKJ+ssn\ni5RW+CyMFefJ8T+Kll+uQwgHlhGYpkul9M+TdxEnUcg08ZjXG0GbK+u86dwaNIMk\nMDwu8IU6d9IfVR965SZ0CyrIW6lKHmTe60tmzEdikSRTK8nubJqTklvvqvpt4qWw\nfoxQq4ccIFQPH8BU1Yuj+vsajnmRvA6dtjyb6E1THRQnN1bU3myZDkmP3U0o0AJO\njW59WAvndLgMG4aCS1LNBfAXVITAe3Qg5vwr7fKnhWJhogu9IQKBwEfRf8qTahSb\n/oWNwhURUqKlvPVroml2SR4JefEVvzlIQf+SeK+8fW92OzKeCNJCBgRfNuC+qB0h\nXOw5CeB3xYYG5s6YFvwPMN6naXqP3QFCKiL1t8L8yJBaeNyz4E3nLZhs4zQb1+j4\nkFd+TUHWSimBkuuJW0WF3bkWIGPLWfYGWcHdO2uSCl5eY0rxp9UWuYts2K12Di08\n4LNz4G2v1KK8S/1sLdddTc0oA2Sy75odgo1TQMX4+/Nj3o4aIbY1FA==\n-----END RSA PRIVATE KEY-----" }
data "tencentcloud_ssl_certificates" "svr" { name = tencentcloud_ssl_certificate.svr.name }
resource "tencentcloud_ssl_certificate" "svr" { name = "ssl-svr" type = "SVR" cert = var.cert key = var.key }
```
Import ¶
ssl certificate can be imported using the id, e.g.
```
$ terraform import tencentcloud_ssl_certificate.cert GjTNRoK7
```
Provides a resource to create a ssl check_certificate_chain
Example Usage ¶
```hcl
resource "tencentcloud_ssl_check_certificate_chain_operation" "check_certificate_chain" { certificate_chain = "-----BEGIN CERTIFICATE--·····---END CERTIFICATE-----" }
```
Import ¶
ssl check_certificate_chain can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_check_certificate_chain_operation.check_certificate_chain check_certificate_chain_id ```
Provides a resource to create a ssl complete_certificate
Example Usage ¶
```hcl
resource "tencentcloud_ssl_complete_certificate_operation" "complete_certificate" { certificate_id = "9Bfe1IBR" }
```
Import ¶
ssl complete_certificate can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_complete_certificate_operation.complete_certificate complete_certificate_id ```
Provides a resource to create a ssl deploy_certificate_instance
Example Usage ¶
```hcl
resource "tencentcloud_ssl_deploy_certificate_instance_operation" "deploy_certificate_instance" { certificate_id = "8x1eUSSl" instance_id_list =[api1.ninghhuang.online|off] }
```
Import ¶
ssl deploy_certificate_instance can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_deploy_certificate_instance_operation.deploy_certificate_instance deploy_certificate_instance_id ```
Provides a resource to create a ssl deploy_certificate_record_retry
Example Usage ¶
```hcl
resource "tencentcloud_ssl_deploy_certificate_record_retry_operation" "deploy_certificate_record_retry" { deploy_record_id = 35474 }
```
Import ¶
ssl deploy_certificate_record_retry can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_deploy_certificate_record_retry_operation.deploy_certificate_record_retry deploy_certificate_record_retry_id ```
Provides a resource to create a ssl deploy_certificate_record_rollback
Example Usage ¶
```hcl
resource "tencentcloud_ssl_deploy_certificate_record_rollback_operation" "deploy_certificate_record_rollback" { deploy_record_id = 35471 }
```
Import ¶
ssl deploy_certificate_record_rollback can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_deploy_certificate_record_rollback_operation.deploy_certificate_record_rollback deploy_certificate_record_rollback_id ```
Provides a resource to create a ssl download_certificate
Example Usage ¶
```hcl
resource "tencentcloud_ssl_download_certificate_operation" "download_certificate" { certificate_id = "8x1eUSSl" output_path = "./" }
```
Import ¶
ssl download_certificate can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_download_certificate_operation.download_certificate download_certificate_id ```
Provide a resource to create a Free Certificate.
~> **NOTE:** Once certificat created, it cannot be removed within 1 hours.
Example Usage ¶
Currently, `package_type` only support type 2. 2=TrustAsia TLS RSA CA.
```hcl
resource "tencentcloud_ssl_free_certificate" "example" { dv_auth_method = "DNS_AUTO" domain = "example.com" package_type = "2" contact_email = "test@example.com" contact_phone = "18352458901" validity_period = 12 csr_encrypt_algo = "RSA" csr_key_parameter = "2048" csr_key_password = "csr_pwd" alias = "example_free_cert" }
```
Import ¶
FreeCertificate instance can be imported, e.g. ``` $ terraform import tencentcloud_ssl_free_certificate.test free_certificate-id ```
Provide a resource to create a payment SSL.
~> **NOTE:** Provides the creation of a paid certificate, including the submission of certificate information and order functions; currently, it does not support re-issuing certificates, revoking certificates, and deleting certificates; the certificate remarks and belonging items can be updated. The Destroy operation will only cancel the certificate order, and will not delete the certificate and refund the fee. If you need a refund, you need to check the current certificate status in the console as `Review Cancel`, and then you can click `Request a refund` to refund the fee. To update the information of a certificate, we will automatically roll back your certificate if this certificate is already in the validation stage. This process may take some time because the CA callback is time-consuming. Please be patient and follow the prompt message. Or, feel free to contact Tencent Cloud Support.
Example Usage ¶
```hcl
resource "tencentcloud_ssl_pay_certificate" "example" { product_id = 33 domain_num = 1 alias = "ssl desc." project_id = 0 information { csr_type = "online" certificate_domain = "www.example.com" organization_name = "Tencent" organization_division = "Qcloud" organization_address = "广东省深圳市南山区腾讯大厦1000号" organization_country = "CN" organization_city = "深圳市" organization_region = "广东省" postal_code = "0755" phone_area_code = "0755" phone_number = "86013388" verify_type = "DNS" admin_first_name = "test" admin_last_name = "test" admin_phone_num = "12345678901" admin_email = "test@tencent.com" admin_position = "developer" contact_first_name = "test" contact_last_name = "test" contact_email = "test@tencent.com" contact_number = "12345678901" contact_position = "developer" } }
```
Import ¶
payment SSL instance can be imported, e.g.
``` $ terraform import tencentcloud_ssl_pay_certificate.ssl iPQNn61x#33#1#1 ```
Provides a resource to create a ssl replace_certificate
Example Usage ¶
```hcl
resource "tencentcloud_ssl_replace_certificate_operation" "replace_certificate" { certificate_id = "8L6JsWq2" valid_type = "DNS_AUTO" csr_type = "online" }
```
Import ¶
ssl replace_certificate can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_replace_certificate_operation.replace_certificate replace_certificate_id ```
Provides a resource to create a ssl revoke_certificate
Example Usage ¶
```hcl
resource "tencentcloud_ssl_revoke_certificate_operation" "revoke_certificate" { certificate_id = "7zUGkVab" }
```
Import ¶
ssl revoke_certificate can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_revoke_certificate_operation.revoke_certificate revoke_certificate_id ```
Provides a resource to create a ssl update_certificate_instance
Example Usage ¶
```hcl
resource "tencentcloud_ssl_update_certificate_instance_operation" "update_certificate_instance" { certificate_id = "8x1eUSSl" old_certificate_id = "8xNdi2ig" resource_types = ["cdn"] }
```
Import ¶
ssl update_certificate_instance can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_update_certificate_instance_operation.update_certificate_instance update_certificate_instance_id ```
Provides a resource to create a ssl update_certificate_record_retry
Example Usage ¶
```hcl
resource "tencentcloud_ssl_update_certificate_record_retry_operation" "update_certificate_record_retry" { deploy_record_id = "1603" }
```
Import ¶
ssl update_certificate_record_retry can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_update_certificate_record_retry_operation.update_certificate_record_retry update_certificate_record_retry_id ```
Provides a resource to create a ssl update_certificate_record_rollback
Example Usage ¶
```hcl
resource "tencentcloud_ssl_update_certificate_record_rollback_operation" "update_certificate_record_rollback" { deploy_record_id = "1603" }
```
Import ¶
ssl update_certificate_record_rollback can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_update_certificate_record_rollback_operation.update_certificate_record_rollback update_certificate_record_rollback_id ```
Provides a resource to create a ssl upload_revoke_letter
Example Usage ¶
```hcl
resource "tencentcloud_ssl_upload_revoke_letter_operation" "upload_revoke_letter" { certificate_id = "8xRYdDlc" revoke_letter = filebase64("./c.pdf") }
```
Import ¶
ssl upload_revoke_letter can be imported using the id, e.g.
``` terraform import tencentcloud_ssl_upload_revoke_letter_operation.upload_revoke_letter upload_revoke_letter_id ```
Provides a resource to create a ssm product_secret
Example Usage ¶
```hcl
data "tencentcloud_availability_zones_by_product" "zones" { product = "cdb" }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_security_group" "security_group" { name = "sg-example" description = "desc." }
resource "tencentcloud_mysql_instance" "example" { internet_service = 1 engine_version = "5.7" charge_type = "POSTPAID" root_password = "PassWord123" slave_deploy_mode = 0 availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name slave_sync_mode = 1 instance_name = "tf-example" mem_size = 4000 volume_size = 200 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id intranet_port = 3306 security_groups = [tencentcloud_security_group.security_group.id] tags = { createBy = "terraform" } parameters = { character_set_server = "utf8" max_connections = "1000" } }
resource "tencentcloud_kms_key" "example" { alias = "tf-example-kms-key" description = "example of kms key" key_rotation_enabled = false is_enabled = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_ssm_product_secret" "example" { secret_name = "tf-example" user_name_prefix = "prefix" product_name = "Mysql" instance_id = tencentcloud_mysql_instance.example.id domains = ["10.0.0.0"] privileges_list { privilege_name = "GlobalPrivileges" privileges = ["ALTER ROUTINE"] } description = "for ssm product test" kms_key_id = tencentcloud_kms_key.example.id status = "Enabled" enable_rotation = true rotation_begin_time = "2023-08-05 20:54:33" rotation_frequency = 30 tags = { "createdBy" = "terraform" } }
```
Provides a resource to create a ssm rotate_product_secret
Example Usage ¶
```hcl
resource "tencentcloud_ssm_rotate_product_secret" "example" { secret_name = "tf_example" }
```
Provide a resource to create a SSM secret.
Example Usage ¶
Create user defined secret ¶
```hcl
resource "tencentcloud_ssm_secret" "example" { secret_name = "tf-example" description = "desc." is_enabled = true recovery_window_in_days = 0 tags = { createBy = "terraform" } }
```
Create redis secret ¶
```hcl
data "tencentcloud_redis_zone_config" "zone" { type_id = 8 }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = data.tencentcloud_redis_zone_config.zone.list[3].zone name = "subnet-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_redis_instance" "example" { availability_zone = data.tencentcloud_redis_zone_config.zone.list[3].zone type_id = data.tencentcloud_redis_zone_config.zone.list[3].type_id password = "Qwer@234" mem_size = data.tencentcloud_redis_zone_config.zone.list[3].mem_sizes[0] redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[3].redis_shard_nums[0] redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[3].redis_replicas_nums[0] name = "tf_example" port = 6379 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_ssm_secret" "example" { secret_name = "tf-example" description = "redis desc." is_enabled = true secret_type = 4 additional_config = jsonencode( { "Region" : "ap-guangzhou" "Privilege" : "r", "InstanceId" : tencentcloud_redis_instance.example.id "ReadonlyPolicy" : ["master"], "Remark" : "for tf test" } ) tags = { createdBy = "terraform" } recovery_window_in_days = 0 }
```
Import ¶
SSM secret can be imported using the secretName, e.g. ``` $ terraform import tencentcloud_ssm_secret.foo test ```
Provide a resource to create a SSM secret version.
-> **Note:** A maximum of 10 versions can be supported under one credential. Only new versions can be added to credentials in the enabled and disabled states.
Example Usage ¶
Text type credential information plaintext ¶
```hcl
resource "tencentcloud_ssm_secret" "example" { secret_name = "tf-example" description = "desc." recovery_window_in_days = 0 is_enabled = true tags = { createdBy = "terraform" } }
resource "tencentcloud_ssm_secret_version" "v1" { secret_name = tencentcloud_ssm_secret.example.secret_name version_id = "v1" secret_string = "this is secret string" }
```
Binary credential information, encoded using base64 ¶
```hcl
resource "tencentcloud_ssm_secret_version" "v2" { secret_name = tencentcloud_ssm_secret.example.secret_name version_id = "v2" secret_binary = "MTIzMTIzMTIzMTIzMTIzQQ==" }
```
Import ¶
SSM secret version can be imported using the secretName#versionId, e.g. ``` $ terraform import tencentcloud_ssm_secret_version.v1 test#v1 ```
Provides a resource to create a ssm ssh key pair secret ¶
Example Usage ¶
```hcl
resource "tencentcloud_kms_key" "example" { alias = "tf-example-kms-key" description = "example of kms key" key_rotation_enabled = false is_enabled = true tags = { createdBy = "terraform" } }
resource "tencentcloud_ssm_ssh_key_pair_secret" "example" { secret_name = "tf-example" project_id = 0 description = "desc." kms_key_id = tencentcloud_kms_key.example.id ssh_key_name = "tf_example_ssh" status = "Enabled" clean_ssh_key = true tags = { createdBy = "terraform" } }
```
Import ¶
ssm ssh_key_pair_secret can be imported using the id, e.g.
``` terraform import tencentcloud_ssm_ssh_key_pair_secret.ssh_key_pair_secret ssh_key_pair_secret_name ```
Provide a resource to create a VPC subnet.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name is_multicast = false }
```
Import ¶
Vpc subnet instance can be imported, e.g.
``` $ terraform import tencentcloud_subnet.test subnet_id ```
Provides a resource to create a tag ¶
Example Usage ¶
```hcl
resource "tencentcloud_tag" "tag" { tag_key = "test" tag_value = "Terraform" }
```
Import ¶
tag tag can be imported using the id, e.g.
``` terraform import tencentcloud_tag.tag tag_id ```
Provides a resource to create a tag attachment ¶
Example Usage ¶
```hcl
resource "tencentcloud_tag_attachment" "attachment" { tag_key = "test3" tag_value = "Terraform3" resource = "qcs::cvm:ap-guangzhou:uin/100020512675:instance/ins-kfrlvcp4" }
```
Import ¶
tag attachment can be imported using the id, e.g.
``` terraform import tencentcloud_tag_attachment.attachment attachment_id ```
Provides a resource to create a tat command ¶
Example Usage ¶
```hcl
resource "tencentcloud_tat_command" "command" { username = "root" command_name = "ls" content = "bHM=" description = "xxx" command_type = "SHELL" working_directory = "/root" timeout = 50 tags { key = "" value = "" } }
``` Import
tat command can be imported using the id, e.g. ``` $ terraform import tencentcloud_tat_command.command cmd-6fydo27j ```
Provides a resource to create a tat invocation_command_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tat_invocation_command_attachment" "invocation_command_attachment" { content = base64encode("pwd") instance_id = "ins-881b1c8w" command_name = "terraform-test" description = "shell test" command_type = "SHELL" working_directory = "/root" timeout = 100 save_command = false enable_parameter = false # default_parameters = "{\"varA\": \"222\"}" # parameters = "{\"varA\": \"222\"}" username = "root" output_cos_bucket_url = "https://BucketName-123454321.cos.ap-beijing.myqcloud.com" output_cos_key_prefix = "log" }
```
Provides a resource to create a tat invocation_invoke_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tat_invocation_invoke_attachment" "invocation_invoke_attachment" { instance_id = "ins-881b1c8w" working_directory = "/root" timeout = 100 # parameters = "{\"varA\": \"222\"}" username = "root" output_cos_bucket_url = "https://BucketName-123454321.cos.ap-beijing.myqcloud.com" output_cos_key_prefix = "log" command_id = "cmd-rxbs7f5z" }
```
Import ¶
tat invocation can be imported using the invocation_id#instance_id, e.g.
``` terraform import tencentcloud_tat_invocation_invoke_attachment.invocation_invoke_attachment inv-mhs6ca8z#ins-881b1c8w ```
Provides a resource to create a tat invoker ¶
Example Usage ¶
```hcl
resource "tencentcloud_tat_invoker" "invoker" { name = "pwd-1" type = "SCHEDULE" command_id = "cmd-6fydo27j" instance_ids = ["ins-3c7q2ebs",] username = "root" # parameters = "" schedule_settings { policy = "ONCE" # recurrence = "" invoke_time = "2099-11-17T16:00:00Z" } }
``` Import
tat invoker can be imported using the id, e.g. ``` $ terraform import tencentcloud_tat_invoker.invoker ivk-gwb4ztk5 ```
Provides a resource to create a tat invoker_config
Example Usage ¶
```hcl
resource "tencentcloud_tat_invoker_config" "invoker_config" { invoker_id = "ivk-cas4upyf" invoker_status = "on" }
```
Import ¶
tat invoker_config can be imported using the id, e.g.
``` terraform import tencentcloud_tat_invoker_config.invoker_config invoker_config_id ```
Use this resource to create TcaplusDB cluster.
~> **NOTE:** TcaplusDB now only supports the following regions: `ap-shanghai,ap-hongkong,na-siliconvalley,ap-singapore,ap-seoul,ap-tokyo,eu-frankfurt, and na-ashburn`.
Example Usage ¶
Create a new tcaplus cluster instance ¶
```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id }
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_tcaplus_cluster" "example" { idl_type = "PROTO" cluster_name = "tf_example_tcaplus_cluster" vpc_id = local.vpc_id subnet_id = local.subnet_id password = "your_pw_123111" old_password_expire_last = 3600 }
```
Import ¶
tcaplus cluster can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcaplus_cluster.example cluster_id ```
Use this resource to create TcaplusDB IDL file.
Example Usage ¶
Create a tcaplus database idl file ¶
The file will be with a specified cluster and tablegroup.
```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id }
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_tcaplus_cluster" "example" { idl_type = "PROTO" cluster_name = "tf_example_tcaplus_cluster" vpc_id = local.vpc_id subnet_id = local.subnet_id password = "your_pw_123111" old_password_expire_last = 3600 }
resource "tencentcloud_tcaplus_tablegroup" "example" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_name = "tf_example_group_name" }
resource "tencentcloud_tcaplus_idl" "main" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_id = tencentcloud_tcaplus_tablegroup.example.id file_name = "tf_example_tcaplus_idl" file_type = "PROTO" file_ext_type = "proto" file_content = <<EOF syntax = "proto2"; package myTcaplusTable; import "tcaplusservice.optionv1.proto"; message tb_online { option(tcaplusservice.tcaplus_primary_key) = "uin,name,region"; required int64 uin = 1; required string name = 2; required int32 region = 3; required int32 gamesvrid = 4; optional int32 logintime = 5 [default = 1]; repeated int64 lockid = 6 [packed = true]; optional bool is_available = 7 [default = false]; optional pay_info pay = 8; } message pay_info { required int64 pay_id = 1; optional uint64 total_money = 2; optional uint64 pay_times = 3; optional pay_auth_info auth = 4; message pay_auth_info { required string pay_keys = 1; optional int64 update_time = 2; } } EOF }
```
Use this resource to create TcaplusDB table.
Example Usage ¶
Create a tcaplus database table ¶
The tcaplus database table should be pre-defined in the idl file.
```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id }
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_tcaplus_cluster" "example" { idl_type = "PROTO" cluster_name = "tf_example_tcaplus_cluster" vpc_id = local.vpc_id subnet_id = local.subnet_id password = "your_pw_123111" old_password_expire_last = 3600 }
resource "tencentcloud_tcaplus_tablegroup" "example" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_name = "tf_example_group_name" }
resource "tencentcloud_tcaplus_idl" "example" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_id = tencentcloud_tcaplus_tablegroup.example.id file_name = "tf_example_tcaplus_idl" file_type = "PROTO" file_ext_type = "proto" file_content = <<EOF syntax = "proto2"; package myTcaplusTable; import "tcaplusservice.optionv1.proto"; message example_table { # refer the table name option(tcaplusservice.tcaplus_primary_key) = "uin,name,region"; required int64 uin = 1; required string name = 2; required int32 region = 3; required int32 gamesvrid = 4; optional int32 logintime = 5 [default = 1]; repeated int64 lockid = 6 [packed = true]; optional bool is_available = 7 [default = false]; optional pay_info pay = 8; } message pay_info { required int64 pay_id = 1; optional uint64 total_money = 2; optional uint64 pay_times = 3; optional pay_auth_info auth = 4; message pay_auth_info { required string pay_keys = 1; optional int64 update_time = 2; } } EOF }
resource "tencentcloud_tcaplus_table" "example" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_id = tencentcloud_tcaplus_tablegroup.example.id table_name = "example_table" table_type = "GENERIC" description = "test" idl_id = tencentcloud_tcaplus_idl.example.id table_idl_type = "PROTO" reserved_read_cu = 1000 reserved_write_cu = 20 reserved_volume = 1 }
```
Use this resource to create TcaplusDB table group.
Example Usage ¶
Create a tcaplusdb table group ¶
```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id }
variable "availability_zone" { default = "ap-guangzhou-3" }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
resource "tencentcloud_tcaplus_cluster" "example" { idl_type = "PROTO" cluster_name = "tf_example_tcaplus_cluster" vpc_id = local.vpc_id subnet_id = local.subnet_id password = "your_pw_123111" old_password_expire_last = 3600 }
resource "tencentcloud_tcaplus_tablegroup" "example" { cluster_id = tencentcloud_tcaplus_cluster.example.id tablegroup_name = "tf_example_group_name" }
```
Provides a resource to create a tcm access_log_config
Example Usage ¶
```hcl
resource "tencentcloud_tcm_access_log_config" "access_log_config" { address = "10.0.0.1" enable = true enable_server = true enable_stdout = true encoding = "JSON" format = "{\n\t\"authority\": \"%REQ(:AUTHORITY)%\",\n\t\"bytes_received\": \"%BYTES_RECEIVED%\",\n\t\"bytes_sent\": \"%BYTES_SENT%\",\n\t\"downstream_local_address\": \"%DOWNSTREAM_LOCAL_ADDRESS%\",\n\t\"downstream_remote_address\": \"%DOWNSTREAM_REMOTE_ADDRESS%\",\n\t\"duration\": \"%DURATION%\",\n\t\"istio_policy_status\": \"%DYNAMIC_METADATA(istio.mixer:status)%\",\n\t\"method\": \"%REQ(:METHOD)%\",\n\t\"path\": \"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\n\t\"protocol\": \"%PROTOCOL%\",\n\t\"request_id\": \"%REQ(X-REQUEST-ID)%\",\n\t\"requested_server_name\": \"%REQUESTED_SERVER_NAME%\",\n\t\"response_code\": \"%RESPONSE_CODE%\",\n\t\"response_flags\": \"%RESPONSE_FLAGS%\",\n\t\"route_name\": \"%ROUTE_NAME%\",\n\t\"start_time\": \"%START_TIME%\",\n\t\"upstream_cluster\": \"%UPSTREAM_CLUSTER%\",\n\t\"upstream_host\": \"%UPSTREAM_HOST%\",\n\t\"upstream_local_address\": \"%UPSTREAM_LOCAL_ADDRESS%\",\n\t\"upstream_service_time\": \"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\n\t\"upstream_transport_failure_reason\": \"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\n\t\"user_agent\": \"%REQ(USER-AGENT)%\",\n\t\"x_forwarded_for\": \"%REQ(X-FORWARDED-FOR)%\"\n}\n" mesh_name = "mesh-rofjmxxx" template = "istio" cls { enable = false # log_set = "SCF_logset_NLCsDxxx" # topic = "SCF_logtopic_rPWZpxxx" } selected_range { all = true } }
resource "tencentcloud_tcm_access_log_config" "delete_log_config" { enable_server = false enable_stdout = false mesh_name = "mesh-rofjmux7" cls { enable = false } }
``` Import
tcm access_log_config can be imported using the mesh_id(mesh_name), e.g. ``` $ terraform import tencentcloud_tcm_access_log_config.access_log_config mesh-rofjmxxx ```
Provides a resource to create a tcm cluster_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tcm_cluster_attachment" "cluster_attachment" { mesh_id = "mesh-b9q6vf9l" cluster_list { cluster_id = "cls-rc5uy6dy" region = "ap-guangzhou" role = "REMOTE" vpc_id = "vpc-a1jycmbx" subnet_id = "subnet-lkyb3ayc" type = "TKE" } }
``` Import
tcm cluster_attachment can be imported using the mesh_id#cluster_id, e.g. ``` $ terraform import tencentcloud_tcm_cluster_attachment.cluster_attachment mesh-b9q6vf9l#cls-rc5uy6dy ```
Provides a resource to create a tcm mesh ¶
Example Usage ¶
```hcl
resource "tencentcloud_tcm_mesh" "mesh" { display_name = "test_mesh" mesh_version = "1.12.5" type = "HOSTED" config { istio { outbound_traffic_policy = "ALLOW_ANY" disable_policy_checks = true enable_pilot_http = true disable_http_retry = true smart_dns { istio_meta_dns_capture = true istio_meta_dns_auto_allocate = true } tracing { enable = false } } tracing { enable = true sampling = 1 apm { enable = true region = "ap-guangzhou" } } prometheus { custom_prom { url = "https://10.0.0.1:1000" auth_type = "none" vpc_id = "vpc-j9yhbzpn" } } inject { exclude_ip_ranges = ["172.16.0.0/16"] hold_application_until_proxy_starts = true hold_proxy_until_application_ends = true } sidecar_resources { limits { name = "cpu" quantity = "2" } limits { name = "memory" quantity = "1Gi" } requests { name = "cpu" quantity = "100m" } requests { name = "memory" quantity = "128Mi" } } } tag_list { key = "key" value = "value" passthrough = false } }
``` Import
tcm mesh can be imported using the id, e.g. ``` $ terraform import tencentcloud_tcm_mesh.mesh mesh_id ```
Provides a resource to create a tcm prometheus_attachment
~> **NOTE:** Instructions for use: 1. Use Tencent Cloud Prometheus to monitor TMP, please enter `vpc_id`, `subnet_id`, `region` or `instance_id`, it is recommended to use an existing tmp instance; 2. To use the third-party Prometheus service, please enter `custom_prom`; 3. `tencentcloud_tcm_prometheus_attachment` does not support modification; 4. If you use Tencent Cloud Prometheus to monitor TMP, enter `vpc_id`, `subnet_id`, `region` to create a new Prometheus monitoring instance, destroy will not destroy the Prometheus monitoring instance ~> **NOTE:** If you use the config attribute prometheus in tencentcloud_tcm_mesh, do not use tencentcloud_tcm_prometheus_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tcm_prometheus_attachment" "prometheus_attachment" { mesh_id = "mesh-rofjmxxx" prometheus { vpc_id = "vpc-pewdpxxx" subnet_id = "subnet-driddxxx" region = "ap-guangzhou" instance_id = "" # custom_prom { # is_public_addr = false # vpc_id = "vpc-pewdpxxx" # url = "http://10.0.0.1:9090" # auth_type = "basic" # username = "test" # password = "test" # } } }
``` Import
tcm prometheus_attachment can be imported using the mesh_id, e.g. ``` $ terraform import tencentcloud_tcm_prometheus_attachment.prometheus_attachment mesh-rofjmxxx ```
Provides a resource to create a tcm tracing_config
~> **NOTE:** If you use the config attribute tracing in tencentcloud_tcm_mesh, do not use tencentcloud_tcm_tracing_config
Example Usage ¶
```hcl
resource "tencentcloud_tcm_tracing_config" "tracing_config" { mesh_id = "mesh-xxxxxxxx" enable = true apm { enable = true region = "ap-guangzhou" instance_id = "apm-xxx" } sampling = zipkin { address = "10.10.10.10:9411" } }
resource "tencentcloud_tcm_tracing_config" "delete_config" { mesh_id = "mesh-rofjmxxx" enable = true apm { enable = false # region = "ap-guangzhou" # instance_id = "apm-xxx" } sampling = 0 zipkin { address = "" } }
``` Import
tcm tracing_config can be imported using the mesh_id, e.g. ``` $ terraform import tencentcloud_tcm_tracing_config.tracing_config mesh-rofjmxxx ```
Provides a resource to create a tcmq queue ¶
Example Usage ¶
```hcl
resource "tencentcloud_tcmq_queue" "queue" { queue_name = "queue_name" }
```
Import ¶
tcmq queue can be imported using the id, e.g.
``` terraform import tencentcloud_tcmq_queue.queue queue_id ```
Provides a resource to create a tcmq subscribe ¶
Example Usage ¶
```hcl
resource "tencentcloud_tcmq_subscribe" "subscribe" { topic_name = "topic_name" subscription_name = "subscription_name" protocol = "http" endpoint = "http://xxxxxx"; }
```
Import ¶
tcmq subscribe can be imported using the id, e.g.
``` terraform import tencentcloud_tcmq_subscribe.subscribe subscribe_id ```
Provides a resource to create a tcmq topic ¶
Example Usage ¶
```hcl
resource "tencentcloud_tcmq_topic" "topic" { topic_name = "topic_name" }
```
Import ¶
tcmq topic can be imported using the id, e.g.
``` terraform import tencentcloud_tcmq_topic.topic topic_id ```
Provides a resource to operate a tcr image signature.
Example Usage ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_repository" "example" { instance_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name name = "test" brief_desc = "111" description = "111111111111111111111111111111111111" }
resource "tencentcloud_tcr_create_image_signature_operation" "example" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name repository_name = tencentcloud_tcr_repository.example.name image_version = "v1" }
```
Import ¶
tcr image_signature_operation can be imported using the id, e.g.
``` terraform import tencentcloud_tcr_create_image_signature_operation.image_signature_operation image_signature_operation_id ```
Provides a resource to create a tcr customized domain ¶
Example Usage ¶
Create a tcr customized domain ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_customized_domain" "example" { registry_id = tencentcloud_tcr_instance.example.id domain_name = "www.test.com" certificate_id = "your_cert_id" tags = { "createdBy" = "terraform" } }
```
Import ¶
tcr customized_domain can be imported using the id, e.g.
``` terraform import tencentcloud_tcr_customized_domain.customized_domain customized_domain_id ```
Provides a resource to delete the specified tcr image.
Example Usage ¶
To delete the specified image ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_delete_image_operation" "example" { registry_id = tencentcloud_tcr_instance.example.id repository_name = "repo" image_version = "v1" # the image want to delete namespace_name = tencentcloud_tcr_namespace.example.name }
```
Provides a resource to create a tcr immutable tag rule.
Example Usage ¶
Create a immutable tag rule with specified tags and exclude specified repositories ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" delete_bucket = true }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_immutable_tag_rule" "example" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name rule { repository_pattern = "deprecated_repo" # specify exclude repo tag_pattern = "**" # all tags repository_decoration = "repoExcludes" tag_decoration = "matches" disabled = false } tags = { "createdBy" = "terraform" } }
```
With specified repositories and exclude specified version tag ¶
```hcl
resource "tencentcloud_tcr_immutable_tag_rule" "example" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name rule { repository_pattern = "**" # all repo tag_pattern = "v1" # exlude v1 tags repository_decoration = "repoMatches" tag_decoration = "excludes" disabled = false } tags = { "createdBy" = "terraform" } }
```
Disabled the specified rule ¶
```hcl
resource "tencentcloud_tcr_immutable_tag_rule" "example_rule_A" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name rule { repository_pattern = "deprecated_repo" # specify exclude repo tag_pattern = "**" # all tags repository_decoration = "repoExcludes" tag_decoration = "matches" disabled = false } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_immutable_tag_rule" "example_rule_B" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name rule { repository_pattern = "**" # all repo tag_pattern = "v1" # exlude v1 tags repository_decoration = "repoMatches" tag_decoration = "excludes" disabled = true # disable it } tags = { "createdBy" = "terraform" } }
```
Import ¶
tcr immutable_tag_rule can be imported using the id, e.g.
``` terraform import tencentcloud_tcr_immutable_tag_rule.immutable_tag_rule immutable_tag_rule_id ```
Use this resource to create tcr instance.
Example Usage ¶
Create a basic tcr instance.
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" tags = { "createdBy" = "terraform" } }
```
Create instance with the public network access whitelist.
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" open_public_operation = true security_policy { cidr_block = "10.0.0.1/24" } security_policy { cidr_block = "192.168.1.1" } }
```
Create instance with Replications.
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" replications { region_id = var.tcr_region_map["ap-guangzhou"] # 1 } replications { region_id = var.tcr_region_map["ap-singapore"] # 9 } }
variable "tcr_region_map" { default = { "ap-guangzhou" = 1 "ap-shanghai" = 4 "ap-hongkong" = 5 "ap-beijing" = 8 "ap-singapore" = 9 "na-siliconvalley" = 15 "ap-chengdu" = 16 "eu-frankfurt" = 17 "ap-seoul" = 18 "ap-chongqing" = 19 "ap-mumbai" = 21 "na-ashburn" = 22 "ap-bangkok" = 23 "eu-moscow" = 24 "ap-tokyo" = 25 "ap-nanjing" = 33 "ap-taipei" = 39 "ap-jakarta" = 72 } }
```
Import ¶
tcr instance can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcr_instance.foo instance_id ```
Provides a resource to start a tcr instance replication operation ¶
Example Usage ¶
Sync source tcr instance to target instance ¶
Synchronize an existing tcr instance to the destination instance. This operation is often used in the cross-multiple region scenario. Assume you have had two TCR instances before this operation. This example shows how to sync a tcr instance from ap-guangzhou(gz) to ap-shanghai(sh).
```hcl # tcr instance on ap-guangzhou
resource "tencentcloud_tcr_instance" "example_gz" { name = "tf-example-tcr-gz" instance_type = "premium" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example_gz" { instance_id = tencentcloud_tcr_instance.example_gz.id name = "tf_example_ns_gz" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
tcr instance on ap-shanghai ¶
resource "tencentcloud_tcr_instance" "example_sh" { name = "tf-example-tcr-sh" instance_type = "premium" delete_bucket = true }
resource "tencentcloud_tcr_namespace" "example_sh" { instance_id = tencentcloud_tcr_instance.example_sh.id name = "tf_example_ns_sh" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
```
```hcl # Run this on region ap-guangzhou
locals { src_id = tencentcloud_tcr_instance.example_gz.id dest_id = tencentcloud_tcr_instance.example_sh.id src_ns = tencentcloud_tcr_namespace.example_gz.name dest_ns = tencentcloud_tcr_instance.example_sh.id }
variable "tcr_region_map" { default = { "ap-guangzhou" = 1 "ap-shanghai" = 4 "ap-hongkong" = 5 "ap-beijing" = 8 "ap-singapore" = 9 "na-siliconvalley" = 15 "ap-chengdu" = 16 "eu-frankfurt" = 17 "ap-seoul" = 18 "ap-chongqing" = 19 "ap-mumbai" = 21 "na-ashburn" = 22 "ap-bangkok" = 23 "eu-moscow" = 24 "ap-tokyo" = 25 "ap-nanjing" = 33 "ap-taipei" = 39 "ap-jakarta" = 72 } }
resource "tencentcloud_tcr_manage_replication_operation" "example_sync" { source_registry_id = local.src_id destination_registry_id = local.dest_id rule { name = "tf_example_sync_gz_to_sh" dest_namespace = local.dest_ns override = true filters { type = "name" value = join("/", [local.src_ns, "**"]) } filters { type = "tag" value = "" } filters { type = "resource" value = "" } } description = "example for tcr sync operation" destination_region_id = var.tcr_region_map["ap-shanghai"] # 4 peer_replication_option { peer_registry_uin = "" peer_registry_token = "" enable_peer_replication = false } }
```
Use this resource to create tcr namespace.
Example Usage ¶
Create a tcr namespace instance ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "example" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
```
Import ¶
tcr namespace can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcr_namespace.example tcr_instance_id#namespace_name ```
Use this resource to create tcr repository.
Example Usage ¶
Create a tcr repository instance ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "premium" delete_bucket = true }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_repository" "example" { instance_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name name = "test" brief_desc = "111" description = "111111111111111111111111111111111111" }
```
Import ¶
tcr repository can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcr_repository.foo instance_id#namespace_name#repository_name ```
Provides a resource to create a tcr service account.
Example Usage ¶
Create custom account with specified duration days ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr-instance" instance_type = "basic" delete_bucket = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_test_tcr_namespace" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "tf_example_cve_id" } }
resource "tencentcloud_tcr_service_account" "example" { registry_id = tencentcloud_tcr_instance.example.id name = "tf_example_account" permissions { resource = tencentcloud_tcr_namespace.example.name actions = ["tcr:PushRepository", "tcr:PullRepository"] } description = "tf example for tcr custom account" duration = 10 disable = false tags = { "createdBy" = "terraform" } }
```
With specified expiration time ¶
```hcl
resource "tencentcloud_tcr_service_account" "example" { registry_id = tencentcloud_tcr_instance.example.id name = "tf_example_account" permissions { resource = tencentcloud_tcr_namespace.example.name actions = ["tcr:PushRepository", "tcr:PullRepository"] } description = "tf example for tcr custom account" expires_at = 1676897989000 //time stamp disable = false tags = { "createdBy" = "terraform" } }
```
Import ¶
tcr service_account can be imported using the id, e.g.
``` terraform import tencentcloud_tcr_service_account.service_account registry_id#account_name ```
Provides a resource to configure a tcr tag retention execution.
Example Usage ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" delete_bucket = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns_retention" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_tag_retention_rule" "example" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name retention_rule { key = "nDaysSinceLastPush" value = 2 } cron_setting = "manual" disabled = true }
resource "tencentcloud_tcr_tag_retention_execution_config" "example" { registry_id = tencentcloud_tcr_tag_retention_rule.example.registry_id retention_id = tencentcloud_tcr_tag_retention_rule.example.retention_id dry_run = false }
```
Provides a resource to create a tcr tag retention rule.
Example Usage ¶
Create a tcr tag retention rule instance ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" delete_bucket = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns_retention" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
resource "tencentcloud_tcr_tag_retention_rule" "my_rule" { registry_id = tencentcloud_tcr_instance.example.id namespace_name = tencentcloud_tcr_namespace.example.name retention_rule { key = "nDaysSinceLastPush" value = 2 } cron_setting = "daily" disabled = true }
```
Use this resource to create tcr long term token.
Example Usage ¶
Create a token for tcr instance ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" delete_bucket = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_token" "example" { instance_id = tencentcloud_tcr_instance.example.id description = "example for the tcr token" }
```
Import ¶
tcr token can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcr_token.example instance_id#token_id ```
Use this resource to attach tcr instance with the vpc and subnet network.
Example Usage ¶
Attach a tcr instance with vpc resource ¶
```hcl
locals { vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id tcr_id = tencentcloud_tcr_instance.example.id }
data "tencentcloud_vpc_subnets" "vpc" { is_default = true availability_zone = var.availability_zone }
data "tencentcloud_security_groups" "sg" { name = "default" }
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" delete_bucket = true tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tcr_vpc_attachment" "foo" { instance_id = local.tcr_id vpc_id = local.vpc_id subnet_id = local.subnet_id }
```
Import ¶
tcr vpc attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_tcr_vpc_attachment.foo instance_id#vpc_id#subnet_id ```
Provides a resource to create a tcr webhook trigger ¶
Example Usage ¶
Create a tcr webhook trigger instance ¶
```hcl
resource "tencentcloud_tcr_instance" "example" { name = "tf-example-tcr" instance_type = "basic" delete_bucket = true tags ={ test = "test" } }
resource "tencentcloud_tcr_namespace" "example" { instance_id = tencentcloud_tcr_instance.example.id name = "tf_example_ns_retention" is_public = true is_auto_scan = true is_prevent_vul = true severity = "medium" cve_whitelist_items { cve_id = "cve-xxxxx" } }
data "tencentcloud_tcr_namespaces" "example" { instance_id = tencentcloud_tcr_namespace.example.instance_id }
locals { ns_id = data.tencentcloud_tcr_namespaces.example.namespace_list.0.id }
resource "tencentcloud_tcr_webhook_trigger" "example" { registry_id = tencentcloud_tcr_instance.example.id namespace = tencentcloud_tcr_namespace.example.name trigger { name = "trigger-example" targets { address = "http://example.org/post" headers { key = "X-Custom-Header" values = ["a"] } } event_types = ["pushImage"] condition = ".*" enabled = true description = "example for trigger description" namespace_id = local.ns_id } tags = { "createdBy" = "terraform" } }
```
Import ¶
tcr webhook_trigger can be imported using the id, e.g.
``` terraform import tencentcloud_tcr_webhook_trigger.example webhook_trigger_id ```
Provides a resource to create a tdcpg cluster.
~> **NOTE:** This resource is still in internal testing. To experience its functions, you need to apply for a whitelist from Tencent Cloud.
Example Usage ¶
```hcl
resource "tencentcloud_tdcpg_cluster" "cluster" { zone = "ap-guangzhou-3" master_user_password = "" cpu = 1 memory = 1 vpc_id = "vpc_id" subnet_id = "subnet_id" pay_mode = "POSTPAID_BY_HOUR" cluster_name = "cluster_name" db_version = "10.17" instance_count = 1 period = 1 project_id = 0 }
``` Import
tdcpg cluster can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdcpg_cluster.cluster cluster_id ```
Provides a resource to create a tdcpg instance.
~> **NOTE:** This resource is still in internal testing. To experience its functions, you need to apply for a whitelist from Tencent Cloud.
Example Usage ¶
```hcl
resource "tencentcloud_tdcpg_instance" "instance1" { cluster_id = "cluster_id" cpu = 1 memory = 1 instance_name = "instance_name" }
resource "tencentcloud_tdcpg_instance" "instance2" { cluster_id = "cluster_id" cpu = 1 memory = 2 instance_name = "instance_name" operation_timing = "IMMEDIATE" }
``` Import
tdcpg instance can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdcpg_instance.instance cluster_id#instance_id ```
Provide a resource to create a TDMQ instance.
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "foo" { cluster_name = "example" remark = "this is description." tags = { "createdBy" = "terraform" } }
```
Import ¶
Tdmq instance can be imported, e.g.
``` $ terraform import tencentcloud_tdmq_instance.test tdmq_id ```
Provide a resource to create a tdmq namespace.
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_namespace" "example" { environ_name = "tf_example" msg_ttl = 300 cluster_id = tencentcloud_tdmq_instance.example.id retention_policy { time_in_minutes = 60 size_in_mb = 10 } remark = "remark." }
```
Import ¶
Tdmq namespace can be imported, e.g.
``` $ terraform import tencentcloud_tdmq_instance.test namespace_id ```
Provide a resource to create a TDMQ role.
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_namespace" "example" { environ_name = "tf_example" msg_ttl = 300 cluster_id = tencentcloud_tdmq_instance.example.id retention_policy { time_in_minutes = 60 size_in_mb = 10 } remark = "remark." }
resource "tencentcloud_tdmq_role" "example" { role_name = "tf_example" cluster_id = tencentcloud_tdmq_instance.example.id remark = "remark." }
resource "tencentcloud_tdmq_namespace_role_attachment" "example" { environ_id = tencentcloud_tdmq_namespace.example.environ_name role_name = tencentcloud_tdmq_role.example.role_name permissions = ["produce", "consume"] cluster_id = tencentcloud_tdmq_instance.example.id }
```
Provides a resource to create a tdmq rabbitmq_user
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rabbitmq_user" "rabbitmq_user" { instance_id = "amqp-kzbe8p3n" user = "keep-user" password = "asdf1234" description = "test user" tags = ["management", "monitoring"] max_connections = 3 max_channels = 3 }
```
Provides a resource to create a tdmq rabbitmq_vip_instance
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "rabbitmq-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "rabbitmq-subnet" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_tdmq_rabbitmq_vip_instance" "example" { zone_ids = [data.tencentcloud_availability_zones.zones.zones.0.id] vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id cluster_name = "tf-example-rabbitmq-vip-instance" node_spec = "rabbit-vip-basic-1" node_num = 1 storage_size = 200 enable_create_default_ha_mirror_queue = false auto_renew_flag = true time_span = 1 }
```
Provides a resource to create a tdmq rabbitmq_virtual_host
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rabbitmq_virtual_host" "rabbitmq_virtual_host" { instance_id = "amqp-kzbe8p3n" virtual_host = "vh-test-1" description = "desc" trace_flag = false }
```
Provides a resource to create a tdmqRocketmq cluster ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
``` Import
tdmqRocketmq cluster can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_cluster.cluster cluster_id ```
Provides a resource to create a tdmqRocketmq environment_role
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_role" "example" { role_name = "tf_example_role" remark = "remark." cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example_namespace" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_environment_role" "example" { environment_name = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name role_name = tencentcloud_tdmq_rocketmq_role.example.role_name permissions = ["produce", "consume"] cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id }
``` Import
tdmqRocketmq environment_role can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_environment_role.environment_role environmentRole_id ```
Provides a resource to create a tdmqRocketmq group ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_group" "example" { group_name = "tf_example" cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name read_enable = true broadcast_enable = true remark = "remark." }
``` Import
tdmqRocketmq group can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_group.group group_id ```
Provides a resource to create a tdmqRocketmq namespace ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example_namespace" remark = "remark." }
``` Import
tdmqRocketmq namespace can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_namespace.namespace namespace_id ```
Provides a resource to create a tdmqRocketmq role ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_role" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id role_name = "tf_example" remark = "remark." }
``` Import
tdmqRocketmq role can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_role.role role_id ```
Provides a resource to create a tdmqRocketmq topic ¶
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_rocketmq_cluster" "example" { cluster_name = "tf_example" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_namespace" "example" { cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id namespace_name = "tf_example_namespace" remark = "remark." }
resource "tencentcloud_tdmq_rocketmq_topic" "example" { topic_name = "tf_example" namespace_name = tencentcloud_tdmq_rocketmq_namespace.example.namespace_name cluster_id = tencentcloud_tdmq_rocketmq_cluster.example.cluster_id type = "Normal" remark = "remark." }
``` Import
tdmqRocketmq topic can be imported using the id, e.g. ``` $ terraform import tencentcloud_tdmq_rocketmq_topic.topic topic_id ```
Provides a resource to create a tdmq rocketmq_vip_instance
~> **NOTE:** The instance cannot be downgraded, Include parameters `node_count`, `spec`, `storage_size`.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.1.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_tdmq_rocketmq_vip_instance" "example" { name = "tx-example" spec = "rocket-vip-basic-2" node_count = 2 storage_size = 200 zone_ids = [ data.tencentcloud_availability_zones.zones.zones.0.id, data.tencentcloud_availability_zones.zones.zones.1.id ] vpc_info { vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id } time_span = 1 }
```
Provide a resource to create a TDMQ role.
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_role" "example" { role_name = "tf_example" cluster_id = tencentcloud_tdmq_instance.example.id remark = "remark." }
```
Import ¶
Tdmq instance can be imported, e.g.
``` $ terraform import tencentcloud_tdmq_instance.test tdmq_id ```
Provides a resource to create a tdmq send_rocketmq_message
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_send_rocketmq_message" "send_rocketmq_message" { cluster_id = "rocketmq-7k45z9dkpnne" namespace_id = "test_ns" topic_name = "test_topic" msg_body = "msg key" msg_key = "msg tag" msg_tag = "msg value" }
```
Provides a resource to create a tdmq subscription_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_namespace" "example" { environ_name = "tf_example" msg_ttl = 300 cluster_id = tencentcloud_tdmq_instance.example.id retention_policy { time_in_minutes = 60 size_in_mb = 10 } remark = "remark." }
resource "tencentcloud_tdmq_topic" "example" { environ_id = tencentcloud_tdmq_namespace.example.environ_name cluster_id = tencentcloud_tdmq_instance.example.id topic_name = "tf-example-topic" partitions = 6 pulsar_topic_type = 3 remark = "remark." }
resource "tencentcloud_tdmq_subscription_attachment" "example" { environment_id = tencentcloud_tdmq_namespace.example.environ_name cluster_id = tencentcloud_tdmq_instance.example.id topic_name = tencentcloud_tdmq_topic.example.topic_name subscription_name = "tf-example-subcription" remark = "remark." auto_create_policy_topic = true }
```
Import ¶
tdmq subscription_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_tdmq_subscription_attachment.subscription_attachment subscription_attachment_id ```
Provide a resource to create a TDMQ topic.
Example Usage ¶
```hcl
resource "tencentcloud_tdmq_instance" "example" { cluster_name = "tf_example" remark = "remark." tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tdmq_namespace" "example" { environ_name = "tf_example" msg_ttl = 300 cluster_id = tencentcloud_tdmq_instance.example.id retention_policy { time_in_minutes = 60 size_in_mb = 10 } remark = "remark." }
resource "tencentcloud_tdmq_topic" "example" { environ_id = tencentcloud_tdmq_namespace.example.environ_name cluster_id = tencentcloud_tdmq_instance.example.id topic_name = "tf-example-topic" partitions = 6 pulsar_topic_type = 3 remark = "remark." }
```
Import ¶
Tdmq Topic can be imported, e.g.
``` $ terraform import tencentcloud_tdmq_topic.test topic_id ```
Provides a resource to create a tem appConfig ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_app_config" "appConfig" { environment_id = "en-o5edaepv" name = "demo" config_data { key = "key" value = "value" } config_data { key = "key1" value = "value1" } }
``` Import
tem appConfig can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_app_config.appConfig environmentId#name ```
Provides a resource to create a tem application ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_application" "application" { application_name = "demo" description = "demo for test" coding_language = "JAVA" use_default_image_service = 0 repo_type = 2 repo_name = "qcloud/nginx" repo_server = "ccr.ccs.tencentyun.com" tags = { "created" = "terraform" } }
```
Provides a resource to create a tem application_service
Example Usage ¶
```hcl
resource "tencentcloud_tem_application_service" "application_service" { environment_id = "en-dpxyydl5" application_id = "app-jrl3346j" service { type = "CLUSTER" service_name = "test0-1" port_mapping_item_list { port = 80 target_port = 80 protocol = "TCP" } } }
```
Import ¶
tem application_service can be imported using the environmentId#applicationId#serviceName, e.g.
``` terraform import tencentcloud_tem_application_service.application_service en-dpxyydl5#app-jrl3346j#test0-1 ```
Provides a resource to create a tem environment ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_environment" "environment" { environment_name = "demo" description = "demo for test" vpc = "vpc-2hfyray3" subnet_ids = ["subnet-rdkj0agk", "subnet-r1c4pn5m", "subnet-02hcj95c"] tags = { "created" = "terraform" } }
``` Import
tem environment can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_environment.environment environment_id ```
Provides a resource to create a tem gateway ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_gateway" "gateway" { ingress { ingress_name = "demo" environment_id = "en-853mggjm" address_ip_version = "IPV4" rewrite_type = "NONE" mixed = false rules { host = "test.com" protocol = "http" http { paths { path = "/" backend { service_name = "demo" service_port = 80 } } } } rules { host = "hello.com" protocol = "http" http { paths { path = "/" backend { service_name = "hello" service_port = 36000 } } } } } }
``` Import
tem gateway can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_gateway.gateway environmentId#gatewayName ```
Provides a resource to create a tem logConfig ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_log_config" "logConfig" { environment_id = "en-o5edaepv" application_id = "app-3j29aa2p" workload_id = resource.tencentcloud_tem_workload.workload.id name = "terraform" logset_id = "b5824781-8d5b-4029-a2f7-d03c37f72bdf" topic_id = "5a85bb6d-8e41-4e04-b7bd-c05e04782f94" input_type = "container_stdout" log_type = "minimalist_log" }
``` Import
tem logConfig can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_log_config.logConfig environmentId#applicationId#name ```
Provides a resource to create a tem scaleRule ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_scale_rule" "scaleRule" { environment_id = "en-o5edaepv" application_id = "app-3j29aa2p" workload_id = resource.tencentcloud_tem_workload.workload.id autoscaler { autoscaler_name = "test3123" description = "test" enabled = true min_replicas = 1 max_replicas = 4 cron_horizontal_autoscaler { name = "test" period = "* * *" priority = 1 enabled = true schedules { start_at = "03:00" target_replicas = 1 } } cron_horizontal_autoscaler { name = "test123123" period = "* * *" priority = 0 enabled = true schedules { start_at = "04:13" target_replicas = 1 } } horizontal_autoscaler { metrics = "CPU" enabled = true max_replicas = 4 min_replicas = 1 threshold = 60 } } }
``` Import
tem scaleRule can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_scale_rule.scaleRule environmentId#applicationId#scaleRuleId ```
Provides a resource to create a tem workload ¶
Example Usage ¶
```hcl
resource "tencentcloud_tem_workload" "workload" { application_id = "app-j4d3x6kj" environment_id = "en-85377m6j" deploy_version = "hello-world" deploy_mode = "IMAGE" img_repo = "tem_demo/tem_demo" repo_server = "ccr.ccs.tencentyun.com" init_pod_num = 1 cpu_spec = 1 memory_spec = 1 # liveness { # type = "HttpGet" # protocol = "HTTP" # path = "/" # port = 8080 # initial_delay_seconds = 0 # timeout_seconds = 1 # period_seconds = 10 # } # readiness { # type = "HttpGet" # protocol = "HTTP" # path = "/" # port = 8000 # initial_delay_seconds = 0 # timeout_seconds = 1 # period_seconds = 10 # } # startup_probe { # type = "HttpGet" # protocol = "HTTP" # path = "/" # port = 36000 # initial_delay_seconds = 0 # timeout_seconds = 1 # period_seconds = 10 # } }
``` Import
tem workload can be imported using the id, e.g. ``` $ terraform import tencentcloud_tem_workload.workload envirnomentId#applicationId ```
Provides a resource to create a teo acceleration_domain
Example Usage ¶
```hcl
resource "tencentcloud_teo_acceleration_domain" "acceleration_domain" { zone_id = "zone-2o0i41pv2h8c" domain_name = "aaa.makn.cn" origin_info { origin = "150.109.8.1" origin_type = "IP_DOMAIN" } }
```
Import ¶
teo acceleration_domain can be imported using the id, e.g.
``` terraform import tencentcloud_teo_acceleration_domain.acceleration_domain acceleration_domain_id ```
Provides a resource to create a teo application_proxy
Example Usage ¶
```hcl
resource "tencentcloud_teo_application_proxy" "application_proxy" { accelerate_type = 0 plat_type = "domain" proxy_name = "test" proxy_type = "instance" security_type = 1 session_persist_time = 0 status = "online" zone_id = "zone-2o0l8g7zisgt" ipv6 { switch = "off" } }
``` Import
teo application_proxy can be imported using the zoneId#proxyId, e.g. ``` terraform import tencentcloud_teo_application_proxy.application_proxy zone-2983wizgxqvm#proxy-6972528a-373a-11ed-afca-52540044a456 ```
Provides a resource to create a teo application_proxy_rule
Example Usage ¶
```hcl
resource "tencentcloud_teo_application_proxy_rule" "application_proxy_rule" { forward_client_ip = "TOA" origin_type = "custom" origin_port = "8083" origin_value = [ "127.0.0.1", ] port = [ "8083", ] proto = "TCP" proxy_id = "proxy-6972528a-373a-11ed-afca-52540044a456" session_persist = false status = "online" zone_id = "zone-2983wizgxqvm" }
``` Import
teo application_proxy_rule can be imported using the zoneId#proxyId#ruleId, e.g. ``` terraform import tencentcloud_teo_application_proxy_rule.application_proxy_rule zone-2983wizgxqvm#proxy-6972528a-373a-11ed-afca-52540044a456#rule-90b13bb4-373a-11ed-8794-525400eddfed ```
Provides a resource to create a teo certificate ¶
Example Usage ¶
```hcl
resource "tencentcloud_teo_certificate_config" "certificate" { host = "test.tencentcloud-terraform-provider.cn" mode = "eofreecert" zone_id = "zone-2o1t24kgy362" }
```
Configure SSL certificate ¶
```hcl
resource "tencentcloud_teo_certificate_config" "certificate" { host = "test.tencentcloud-terraform-provider.cn" mode = "sslcert" zone_id = "zone-2o1t24kgy362" server_cert_info { cert_id = "8xiUJIJd" } }
```
Import ¶
teo certificate can be imported using the id, e.g.
``` terraform import tencentcloud_teo_certificate_config.certificate zone_id#host#cert_id ```
Provides a resource to create a teo origin_group
Example Usage ¶
Self origin group ¶
```hcl
resource "tencentcloud_teo_origin_group" "origin_group" { zone_id = "zone-297z8rf93cfw" configuration_type = "weight" origin_group_name = "test-group" origin_type = "self" origin_records { area = [] port = 8080 private = false record = "150.109.8.1" weight = 100 } }
```
Cos origin group ¶
```hcl
resource "tencentcloud_teo_origin_group" "origin_group" { configuration_type = "weight" origin_group_name = "test" origin_type = "cos" zone_id = "zone-2o3h21ed8bpu" origin_records { area = [] port = 0 private = true record = "test-ruichaolin-1310708577.cos.ap-nanjing.myqcloud.com" weight = 100 } }
``` Import
teo origin_group can be imported using the zone_id#originGroup_id, e.g. ```` terraform import tencentcloud_teo_origin_group.origin_group zone-297z8rf93cfw#origin-4f8a30b2-3720-11ed-b66b-525400dceb86 ````
Provides a resource to create a teo ownership_verify
Example Usage ¶
```hcl
resource "tencentcloud_teo_ownership_verify" "ownership_verify" { domain = "qq.com" }
```
Provides a resource to create a teo rule_engine
Example Usage ¶
```hcl
resource "tencentcloud_teo_rule_engine" "rule1" { zone_id = tencentcloud_teo_zone.example.id rule_name = "test-rule" status = "disable" rules { actions { normal_action { action = "UpstreamUrlRedirect" parameters { name = "Type" values = [ "Path", ] } parameters { name = "Action" values = [ "addPrefix", ] } parameters { name = "Value" values = [ "/sss", ] } } } or { and { operator = "equal" target = "host" ignore_case = false values = [ "a.tf-teo-t.xyz", ] } and { operator = "equal" target = "extension" ignore_case = false values = [ "jpg", ] } } or { and { operator = "equal" target = "filename" ignore_case = false values = [ "test.txt", ] } } sub_rules { tags = ["png"] rules { or { and { operator = "notequal" target = "host" ignore_case = false values = [ "a.tf-teo-t.xyz", ] } and { operator = "equal" target = "extension" ignore_case = false values = [ "png", ] } } or { and { operator = "notequal" target = "filename" ignore_case = false values = [ "test.txt", ] } } actions { normal_action { action = "UpstreamUrlRedirect" parameters { name = "Type" values = [ "Path", ] } parameters { name = "Action" values = [ "addPrefix", ] } parameters { name = "Value" values = [ "/www", ] } } } } } } }
``` Import
teo rule_engine can be imported using the id#rule_id, e.g. ``` terraform import tencentcloud_teo_rule_engine.rule_engine zone-297z8rf93cfw#rule-ajol584a ```
Provides a resource to create a teo zone ¶
Example Usage ¶
```hcl
resource "tencentcloud_teo_zone" "zone" { zone_name = "tf-teo.com" type = "partial" area = "overseas" alias_zone_name = "teo-test" paused = false plan_id = "edgeone-2kfv1h391n6w" tags = { "createdBy" = "terraform" } }
``` Import
teo zone can be imported using the id, e.g. ``` terraform import tencentcloud_teo_zone.zone zone_id ```
Provides a resource to create a teo zone_setting
Example Usage ¶
```hcl
resource "tencentcloud_teo_zone_setting" "zone_setting" { zone_id = "zone-297z8rf93cfw" cache { follow_origin { switch = "on" } no_cache { switch = "off" } } cache_key { full_url_cache = "on" ignore_case = "off" query_string { action = "includeCustom" switch = "off" value = [] } } cache_prefresh { percent = 90 switch = "off" } client_ip_header { switch = "off" } compression { algorithms = [ "brotli", "gzip", ] switch = "on" } force_redirect { redirect_status_code = 302 switch = "off" } https { http2 = "on" ocsp_stapling = "off" tls_version = [ "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3", ] hsts { include_sub_domains = "off" max_age = 0 preload = "off" switch = "off" } } ipv6 { switch = "off" } max_age { follow_origin = "on" max_age_time = 0 } offline_cache { switch = "on" } origin { backup_origins = [] origin_pull_protocol = "follow" origins = [] } post_max_size { max_size = 524288000 switch = "on" } quic { switch = "off" } smart_routing { switch = "off" } upstream_http2 { switch = "off" } web_socket { switch = "off" timeout = 30 } }
``` Import
teo zone_setting can be imported using the zone_id, e.g. ``` terraform import tencentcloud_teo_zone_setting.zone_setting zone-297z8rf93cfw# ```
Provides a resource to create a trocket rocketmq_consumer_group
Example Usage ¶
```hcl
resource "tencentcloud_trocket_rocketmq_instance" "rocketmq_instance" { instance_type = "EXPERIMENT" name = "test" sku_code = "experiment_500" remark = "test" vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxx" tags = { tag_key = "rocketmq" tag_value = "5.x" } }
resource "tencentcloud_trocket_rocketmq_consumer_group" "rocketmq_consumer_group" { instance_id = tencentcloud_trocket_rocketmq_instance.rocketmq_instance.id consumer_group = "test_consumer_group" max_retry_times = 20 consume_enable = false consume_message_orderly = true remark = "test for terraform" }
```
Import ¶
trocket rocketmq_consumer_group can be imported using the id, e.g.
``` terraform import tencentcloud_trocket_rocketmq_consumer_group.rocketmq_consumer_group instanceId#consumerGroup ```
Provides a resource to create a rocketmq 5.x instance ¶
~> **NOTE:** It only support create postpaid rocketmq 5.x instance.
Example Usage ¶
Basic Instance ```hcl
resource "tencentcloud_trocket_rocketmq_instance" "rocketmq_instance" { instance_type = "EXPERIMENT" name = "rocketmq-instance" sku_code = "experiment_500" remark = "remark" vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" tags = { tag_key = "rocketmq" tag_value = "5.x" } }
```
Enable Public Instance ```hcl
resource "tencentcloud_trocket_rocketmq_instance" "rocketmq_instance_public" { instance_type = "EXPERIMENT" name = "rocketmq-enable-public-instance" sku_code = "experiment_500" remark = "remark" vpc_id = "vpc-xxxxxx" subnet_id = "subnet-xxxxxx" tags = { tag_key = "rocketmq" tag_value = "5.x" } enable_public = true bandwidth = 1 }
```
Import ¶
trocket rocketmq_instance can be imported using the id, e.g.
``` terraform import tencentcloud_trocket_rocketmq_instance.rocketmq_instance rocketmq_instance_id ```
Provides a resource to create a trocket rocketmq_role
Example Usage ¶
```hcl
resource "tencentcloud_trocket_rocketmq_instance" "rocketmq_instance" { instance_type = "EXPERIMENT" name = "test_role" sku_code = "experiment_500" remark = "test" vpc_id = "vpc-xxxxx" subnet_id = "subnet-xxxxx" tags = { tag_key = "rocketmq" tag_value = "5.x" } }
resource "tencentcloud_trocket_rocketmq_role" "rocketmq_role" { instance_id = tencentcloud_trocket_rocketmq_instance.rocketmq_instance.id role = "test_role" remark = "test for terraform" perm_write = false perm_read = true }
output "access_key" { value = tencentcloud_trocket_rocketmq_role.rocketmq_role.access_key }
output "secret_key" { value = tencentcloud_trocket_rocketmq_role.rocketmq_role.secret_key }
```
Import ¶
trocket rocketmq_role can be imported using the id, e.g.
``` terraform import tencentcloud_trocket_rocketmq_role.rocketmq_role instanceId#role ```
Provides a resource to create a trocket rocketmq_topic
Example Usage ¶
```hcl
resource "tencentcloud_trocket_rocketmq_instance" "rocketmq_instance" { instance_type = "EXPERIMENT" name = "test" sku_code = "experiment_500" remark = "test" vpc_id = "vpc-xxxxx" subnet_id = "subnet-xxxxx" tags = { tag_key = "rocketmq" tag_value = "5.x" } }
resource "tencentcloud_trocket_rocketmq_topic" "rocketmq_topic" { instance_id = tencentcloud_trocket_rocketmq_instance.rocketmq_instance.id topic = "test_topic" topic_type = "NORMAL" queue_num = 4 remark = "test for terraform" }
```
Import ¶
trocket rocketmq_topic can be imported using the id, e.g.
``` terraform import tencentcloud_trocket_rocketmq_topic.rocketmq_topic instanceId#topic ```
Provides a resource to create a tse cngw_canary_rule
Example Usage ¶
```hcl
resource "tencentcloud_tse_cngw_service" "cngw_service" { gateway_id = "gateway-ddbb709b" name = "terraform-test" path = "/test" protocol = "http" retries = 5 tags = { "created" = "terraform" } timeout = 6000 upstream_type = "IPList" upstream_info { algorithm = "round-robin" auto_scaling_cvm_port = 80 auto_scaling_group_id = "asg-519acdug" auto_scaling_hook_status = "Normal" auto_scaling_tat_cmd_status = "Normal" port = 0 slow_start = 20 targets { health = "HEALTHCHECKS_OFF" host = "192.168.0.1" port = 80 weight = 100 } } }
resource "tencentcloud_tse_cngw_canary_rule" "cngw_canary_rule" { gateway_id = tencentcloud_tse_cngw_service.cngw_service.gateway_id service_id = tencentcloud_tse_cngw_service.cngw_service.service_id tags = { "created" = "terraform" } canary_rule { enabled = true priority = 100 balanced_service_list { percent = 100 service_id = tencentcloud_tse_cngw_service.cngw_service.service_id service_name = tencentcloud_tse_cngw_service.cngw_service.name } condition_list { key = "test" operator = "eq" type = "query" value = "1" } } }
```
Import ¶
tse cngw_canary_rule can be imported using the gatewayId#serviceId#priority, e.g.
``` terraform import tencentcloud_tse_cngw_canary_rule.cngw_canary_rule gateway-ddbb709b#b6017eaf-2363-481e-9e93-8d65aaf498cd#100 ```
Provides a resource to create a tse cngw_certificate
Example Usage ¶
```hcl
resource "tencentcloud_tse_cngw_certificate" "cngw_certificate" { gateway_id = "gateway-ddbb709b" bind_domains = ["example1.com"] cert_id = "vYSQkJ3K" name = "xxx1" }
```
Import ¶
tse cngw_certificate can be imported using the id, e.g.
``` terraform import tencentcloud_tse_cngw_certificate.cngw_certificate gatewayId#Id ```
Provides a resource to create a tse cngw_gateway
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
```
Provides a resource to create a tse cngw_group
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tse_cngw_group" "cngw_group" { description = "terraform desc" gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = "terraform-group" subnet_id = tencentcloud_subnet.subnet.id node_config { number = 2 specification = "1c2g" } }
```
Provides a resource to create a tse cngw_route
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tse_cngw_service" "cngw_service" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = "terraform-test" path = "/test" protocol = "http" retries = 5 timeout = 60000 upstream_type = "HostIP" upstream_info { algorithm = "round-robin" auto_scaling_cvm_port = 0 host = "arunma.cn" port = 8012 slow_start = 0 } }
resource "tencentcloud_tse_cngw_route" "cngw_route" { destination_ports = [] gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id hosts = [ "192.168.0.1:9090", ] https_redirect_status_code = 426 paths = [ "/user", ] headers { key = "req" value = "terraform" } preserve_host = false protocols = [ "http", "https", ] route_name = "terraform-route" service_id = tencentcloud_tse_cngw_service.cngw_service.service_id strip_path = true }
```
Provides a resource to create a tse cngw_route_rate_limit
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tse_cngw_service" "cngw_service" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = "terraform-test" path = "/test" protocol = "http" retries = 5 timeout = 60000 upstream_type = "HostIP" upstream_info { algorithm = "round-robin" auto_scaling_cvm_port = 0 host = "arunma.cn" port = 8012 slow_start = 0 } }
resource "tencentcloud_tse_cngw_route" "cngw_route" { destination_ports = [] force_https = false gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id hosts = [ "192.168.0.1:9090", ] https_redirect_status_code = 426 paths = [ "/user", ] headers { key = "req" value = "terraform" } preserve_host = false protocols = [ "http", "https", ] route_name = "terraform-route" service_id = tencentcloud_tse_cngw_service.cngw_service.service_id strip_path = true }
resource "tencentcloud_tse_cngw_route_rate_limit" "cngw_route_rate_limit" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id route_id = tencentcloud_tse_cngw_route.cngw_route.route_id limit_detail { enabled = true header = "req" hide_client_headers = true is_delay = true limit_by = "header" line_up_time = 10 policy = "redis" response_type = "default" qps_thresholds { max = 10 unit = "minute" } } }
```
Import ¶
tse cngw_route_rate_limit can be imported using the id, e.g.
``` terraform import tencentcloud_tse_cngw_route_rate_limit.cngw_route_rate_limit gatewayId#routeId ```
Provides a resource to create a tse cngw_service
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tse_cngw_service" "cngw_service" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = "terraform-test" path = "/test" protocol = "http" retries = 5 timeout = 60000 upstream_type = "HostIP" upstream_info { algorithm = "round-robin" auto_scaling_cvm_port = 0 host = "arunma.cn" port = 8012 slow_start = 0 } }
```
Import ¶
tse cngw_service can be imported using the id, e.g.
``` terraform import tencentcloud_tse_cngw_service.cngw_service gatewayId#name ```
Provides a resource to create a tse cngw_service_rate_limit
Example Usage ¶
```hcl
variable "availability_zone" { default = "ap-guangzhou-4" }
resource "tencentcloud_vpc" "vpc" { cidr_block = "10.0.0.0/16" name = "tf_tse_vpc" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id availability_zone = var.availability_zone name = "tf_tse_subnet" cidr_block = "10.0.1.0/24" }
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" { description = "terraform test1" enable_cls = true engine_region = "ap-guangzhou" feature_version = "STANDARD" gateway_version = "2.5.1" ingress_class_name = "tse-nginx-ingress" internet_max_bandwidth_out = 0 name = "terraform-gateway1" trade_type = 0 type = "kong" node_config { number = 2 specification = "1c2g" } vpc_config { subnet_id = tencentcloud_subnet.subnet.id vpc_id = tencentcloud_vpc.vpc.id } tags = { "createdBy" = "terraform" } }
resource "tencentcloud_tse_cngw_service" "cngw_service" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = "terraform-test" path = "/test" protocol = "http" retries = 5 timeout = 60000 upstream_type = "HostIP" upstream_info { algorithm = "round-robin" auto_scaling_cvm_port = 0 host = "arunma.cn" port = 8012 slow_start = 0 } }
resource "tencentcloud_tse_cngw_service_rate_limit" "cngw_service_rate_limit" { gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id name = tencentcloud_tse_cngw_service.cngw_service.name limit_detail { enabled = true header = "req" hide_client_headers = true is_delay = true limit_by = "header" line_up_time = 15 policy = "redis" response_type = "default" qps_thresholds { max = 100 unit = "hour" } } }
```
Import ¶
tse cngw_service_rate_limit can be imported using the id, e.g.
``` terraform import tencentcloud_tse_cngw_service_rate_limit.cngw_service_rate_limit gatewayId#name ```
Provides a resource to create a tse instance ¶
Example Usage ¶
Create zookeeper standard version ```hcl
resource "tencentcloud_tse_instance" "zookeeper_standard" { engine_type = "zookeeper" engine_version = "3.5.9.4" engine_product_version = "STANDARD" engine_region = "ap-guangzhou" engine_name = "zookeeper-test" trade_type = 0 engine_resource_spec = "spec-qvj6k7t4q" engine_node_num = 3 vpc_id = "vpc-4owdpnwr" subnet_id = "subnet-dwj7ipnc" tags = { "createdBy" = "terraform" } }
```
Create zookeeper professional version ```hcl
resource "tencentcloud_tse_instance" "zookeeper_professional" { engine_type = "zookeeper" engine_version = "3.5.9.4" engine_product_version = "PROFESSIONAL" engine_region = "ap-guangzhou" engine_name = "zookeeper-test" trade_type = 0 engine_resource_spec = "spec-qvj6k7t4q" engine_node_num = 3 vpc_id = "vpc-4owdpnwr" subnet_id = "subnet-dwj7ipnc" engine_region_infos { engine_region = "ap-guangzhou" replica = 3 vpc_infos { subnet_id = "subnet-dwj7ipnc" vpc_id = "vpc-4owdpnwr" } vpc_infos { subnet_id = "subnet-403mgks4" vpc_id = "vpc-b1puef4z" } } tags = { "createdBy" = "terraform" } }
```
Create nacos standard version ```hcl
resource "tencentcloud_tse_instance" "nacos" { enable_client_internet_access = false engine_name = "test" engine_node_num = 3 engine_product_version = "STANDARD" engine_region = "ap-guangzhou" engine_resource_spec = "spec-1160a35a" engine_type = "nacos" engine_version = "2.0.3.4" subnet_id = "subnet-5vpegquy" trade_type = 0 vpc_id = "vpc-99xmasf9" tags = { "createdBy" = "terraform" } }
```
Create polaris base version ```hcl
resource "tencentcloud_tse_instance" "polaris" { enable_client_internet_access = false engine_name = "test" engine_node_num = 2 engine_product_version = "BASE" engine_region = "ap-guangzhou" engine_resource_spec = "spec-c160bas1" engine_type = "polaris" engine_version = "1.16.0.1" subnet_id = "subnet-5vpegquy" trade_type = 0 vpc_id = "vpc-99xmasf9" tags = { "createdBy" = "terraform" } }
```
Import ¶
tse instance can be imported using the id, e.g.
``` terraform import tencentcloud_tse_instance.instance instance_id ```
Provides a resource to create a tsf api_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_api_group" "api_group" { group_name = "terraform_test_group" group_context = "/terraform-test" auth_type = "none" description = "terraform-test" group_type = "ms" gateway_instance_id = "gw-ins-i6mjpgm8" # namespace_name_key = "path" # service_name_key = "path" namespace_name_key_position = "path" service_name_key_position = "path" }
```
Import ¶
tsf api_group can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_api_group.api_group api_group_id ```
Provides a resource to create a tsf api_rate_limit_rule
Example Usage ¶
```hcl
resource "tencentcloud_tsf_api_rate_limit_rule" "api_rate_limit_rule" { api_id = "api-xxxxxx" max_qps = 10 usable_status = "enable" }
```
Import ¶
tsf api_rate_limit_rule can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_api_rate_limit_rule.api_rate_limit_rule api_rate_limit_rule_id ```
Provides a resource to create a tsf application ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application" "application" { application_name = "my-app" application_type = "C" microservice_type = "M" application_desc = "This is my application" application_runtime_type = "Java" service_config_list { name = "my-service" ports { target_port = 8080 protocol = "HTTP" } health_check { path = "/health" } } ignore_create_image_repository = true }
```
Provides a resource to create a tsf application_config
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_config" "application_config" { config_name = "test-2" config_version = "1.0" config_value = "name: \"name\"" application_id = "application-ym9mxmza" config_version_desc = "test2" # config_type = "" encode_with_base64 = false # program_id_list = }
```
Provides a resource to create a tsf application_file_config
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_file_config" "application_file_config" { config_name = "terraform-test" config_version = "1.0" config_file_name = "application.yaml" config_file_value = "test: 1" application_id = "application-a24x29xv" config_file_path = "/etc/nginx" config_version_desc = "1.0" config_file_code = "UTF-8" config_post_cmd = "source .bashrc" encode_with_base64 = true }
```
Provides a resource to create a tsf application_file_config_release
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_file_config_release" "application_file_config_release" { config_id = "dcfg-f-123456" group_id = "group-123456" release_desc = "product release" }
```
Import ¶
tsf applicationfile_config_release can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_application_file_config_release.application_file_config_release application_file_config_release_id ```
Provides a resource to create a tsf application_public_config
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_public_config" "application_public_config" { config_name = "my_config" config_version = "1.0" config_value = "test: 1" config_version_desc = "product version" config_type = "P" encode_with_base64 = true # program_id_list = }
```
Provides a resource to create a tsf application_public_config_release
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_public_config_release" "application_public_config_release" { config_id = "dcfg-p-123456" namespace_id = "namespace-123456" release_desc = "product version" }
```
Import ¶
tsf application_public_config_release can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_application_public_config_release.application_public_config_release application_public_config_attachment_id ```
Provides a resource to create a tsf application_release_config
Example Usage ¶
```hcl
resource "tencentcloud_tsf_application_release_config" "application_release_config" { config_id = "dcfg-nalqbqwv" group_id = "group-yxmz72gv" release_desc = "terraform-test" }
```
Import ¶
tsf application_release_config can be imported using the configId#groupId#configReleaseId, e.g.
``` terraform import tencentcloud_tsf_application_release_config.application_release_config dcfg-nalqbqwv#group-yxmz72gv#dcfgr-maeeq2ea ```
Provides a resource to create a tsf bind_api_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_bind_api_group" "bind_api_group" { gateway_deploy_group_id = "group-vzd97zpy" group_id = "grp-qp0rj3zi" }
```
Import ¶
tsf bind_api_group can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_bind_api_group.bind_api_group bind_api_group_id ```
Provides a resource to create a tsf cluster ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_cluster" "cluster" { cluster_name = "terraform-test" cluster_type = "C" vpc_id = "vpc-xxxxxx" cluster_cidr = "9.165.120.0/24" cluster_desc = "test" tsf_region_id = "ap-guangzhou" cluster_version = "1.18.4" max_node_pod_num = 32 max_cluster_service_num = 128 tags = { "createdBy" = "terraform" } }
```
Provides a resource to create a tsf config_template
Example Usage ¶
```hcl
resource "tencentcloud_tsf_config_template" "config_template" { config_template_name = "terraform-template-name" config_template_type = "Ribbon" config_template_value = <<-EOT ribbon.ReadTimeout: 5000 ribbon.ConnectTimeout: 2000 ribbon.MaxAutoRetries: 0 ribbon.MaxAutoRetriesNextServer: 1 ribbon.OkToRetryOnAllOperations: true EOT config_template_desc = "terraform-test" }
```
Provides a resource to create a tsf deploy_container_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_deploy_container_group" "deploy_container_group" { group_id = "group-yqml6w3a" cpu_request = "0.25" mem_request = "640" server = "ccr.ccs.tencentyun.com" reponame = "tsf_100011913960/terraform" tag_name = "terraform-only-1" do_not_start = false instance_num = 1 update_type = 1 update_ivl = 10 mem_limit = "1280" cpu_limit = "0.5" agent_cpu_request = "0.1" agent_cpu_limit = "0.2" agent_mem_request = "125" agent_mem_limit = "400" max_surge = "25%" max_unavailable = "0" service_setting { access_type = 1 protocol_ports { protocol = "TCP" port = 18081 target_port = 18081 node_port = 30001 } subnet_id = "" disable_service = false headless_service = false allow_delete_service = true open_session_affinity = false session_affinity_timeout_seconds = 10800 } health_check_settings { readiness_probe { action_type = "TCP" initial_delay_seconds = 0 timeout_seconds = 3 period_seconds = 30 success_threshold = 1 failure_threshold = 3 scheme = "HTTP" port = 80 path = "/" type = "TSF_DEFAULT" } } scheduling_strategy { type = "NONE" } deploy_agent = true repo_type = "personal" volume_clean = false jvm_opts = "-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m" warmup_setting { enabled = false } }
```
Provides a resource to create a tsf deploy_vm_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_deploy_vm_group" "deploy_vm_group" { group_id = "group-vzd97zpy" pkg_id = "pkg-131bc1d3" startup_parameters = "-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m" deploy_desc = "deploy test" force_start = false enable_health_check = true health_check_settings { readiness_probe { action_type = "HTTP" initial_delay_seconds = 10 timeout_seconds = 2 period_seconds = 10 success_threshold = 1 failure_threshold = 3 scheme = "HTTP" port = "80" path = "/" } } update_type = 0 jdk_name = "konaJDK" jdk_version = "8"
} ```
Provides a resource to create a tsf enable_unit_rule
Example Usage ¶
```hcl
resource "tencentcloud_tsf_enable_unit_rule" "enable_unit_rule" { rule_id = "unit-rl-is9m4nxz" switch = "enabled" }
```
Import ¶
tsf enable_unit_rule can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_enable_unit_rule.enable_unit_rule enable_unit_rule_id ```
Provides a resource to create a tsf group ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_group" "group" { application_id = "application-xxx" namespace_id = "namespace-aemrxxx" group_name = "terraform-test" cluster_id = "cluster-vwgjxxxx" group_desc = "terraform desc" alias = "terraform test" tags = { "createdBy" = "terraform" } }
```
Import ¶
tsf group can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_group.group group-axxx ```
Provides a resource to create a tsf instances_attachment
Example Usage ¶
```hcl
resource "tencentcloud_tsf_instances_attachment" "instances_attachment" { cluster_id = "cluster-123456" instance_id_list = [""] os_name = "Ubuntu 20.04" image_id = "img-123456" password = "MyP@ssw0rd" key_id = "key-123456" sg_id = "sg-123456" instance_import_mode = "R" os_customize_type = "my_customize" feature_id_list = instance_advanced_settings { mount_target = "/mnt/data" docker_graph_path = "/var/lib/docker" } security_group_ids = [""] }
```
Provides a resource to create a tsf lane ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_lane" "lane" { lane_name = "lane-name-1" remark = "lane desc1" lane_group_list { group_id = "group-yn7j5l8a" entrance = true } }
```
Provides a resource to create a tsf lane_rule
Example Usage ¶
```hcl
resource "tencentcloud_tsf_lane_rule" "lane_rule" { rule_name = "terraform-rule-name" remark = "terraform-test" rule_tag_list { tag_name = "xxx" tag_operator = "EQUAL" tag_value = "222" } rule_tag_relationship = "RELEATION_AND" lane_id = "lane-abw5oo5a" enable = false }
```
Provides a resource to create a tsf microservice ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_microservice" "microservice" { namespace_id = "namespace-vjlkzkgy" microservice_name = "test-microservice" microservice_desc = "desc-microservice" tags = { "createdBy" = "terraform" } }
```
Import ¶
tsf microservice can be imported using the namespaceId#microserviceId, e.g.
``` terraform import tencentcloud_tsf_microservice.microservice namespace-vjlkzkgy#ms-vjeb43lw ```
Provides a resource to create a tsf namespace ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_namespace" "namespace" { namespace_name = "namespace-name" # cluster_id = "cls-xxxx" namespace_desc = "namespace desc" # namespace_resource_type = "" namespace_type = "DEF" # namespace_id = "" is_ha_enable = "0" # program_id = "" }
```
Provides a resource to create a tsf operate_container_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_operate_container_group" "operate_container_group" { group_id = "group-ynd95rea" operate = "stop" }
```
Provides a resource to create a tsf operate_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_operate_group" "operate_group" { group_id = "group-ynd95rea" operate = "start" }
```
Provides a resource to create a tsf path_rewrite
Example Usage ¶
```hcl
resource "tencentcloud_tsf_path_rewrite" "path_rewrite" { gateway_group_id = "group-a2j9zxpv" regex = "/test" replacement = "/tt" blocked = "N" order = 2 }
```
Import ¶
tsf path_rewrite can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_path_rewrite.path_rewrite rewrite-nygq33v2 ```
Provides a resource to create a tsf release_api_group
Example Usage ¶
```hcl
resource "tencentcloud_tsf_release_api_group" "release_api_group" { group_id = "grp-qp0rj3zi" }
```
Provides a resource to create a tsf repository ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_repository" "repository" { repository_name = "" repository_type = "" bucket_name = "" bucket_region = "" directory = "" repository_desc = "" }
```
Import ¶
tsf repository can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_repository.repository repository_id ```
Provides a resource to create a tsf task ¶
Example Usage ¶
```hcl
resource "tencentcloud_tsf_task" "task" { task_name = "terraform-test" task_content = "/test" execute_type = "unicast" task_type = "java" time_out = 60000 group_id = "group-y8pnmoga" task_rule { rule_type = "Cron" expression = "0 * 1 * * ? " } retry_count = 0 retry_interval = 0 success_operator = "GTE" success_ratio = "100" advance_settings { sub_task_concurrency = 2 } task_argument = "a=c" }
```
Import ¶
tsf task can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_task.task task-y37eqq95 ```
Provides a resource to create a tsf unit_namespace
Example Usage ¶
```hcl
resource "tencentcloud_tsf_unit_namespace" "unit_namespace" { gateway_instance_id = "gw-ins-lvdypq5k" namespace_id = "namespace-vwgo38wy" namespace_name = "keep-terraform-cls" }
```
Import ¶
tsf unit_namespace can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_unit_namespace.unit_namespace gw-ins-lvdypq5k#namespace-vwgo38wy ```
Provides a resource to create a tsf unit_rule
Example Usage ¶
```hcl
resource "tencentcloud_tsf_unit_rule" "unit_rule" { gateway_instance_id = "gw-ins-rug79a70" name = "terraform-test" description = "terraform-desc" unit_rule_item_list { relationship = "AND" dest_namespace_id = "namespace-y8p88eka" dest_namespace_name = "garden-test_default" name = "Rule1" description = "rule1-desc" unit_rule_tag_list { tag_type = "U" tag_field = "aaa" tag_operator = "IN" tag_value = "1" } } }
```
Import ¶
tsf unit_rule can be imported using the id, e.g.
``` terraform import tencentcloud_tsf_unit_rule.unit_rule unit-rl-zbywqeca ```
Provide a resource to create a VOD adaptive dynamic streaming template.
Example Usage ¶
```hcl
resource "tencentcloud_vod_adaptive_dynamic_streaming_template" "foo" { format = "HLS" name = "tf-adaptive" drm_type = "SimpleAES" disable_higher_video_bitrate = false disable_higher_video_resolution = false comment = "test" stream_info { video { codec = "libx265" fps = 4 bitrate = 129 resolution_adaptive = false width = 128 height = 128 fill_type = "stretch" } audio { codec = "libmp3lame" bitrate = 129 sample_rate = 44100 audio_channel = "dual" } remove_audio = false } stream_info { video { codec = "libx264" fps = 4 bitrate = 256 } audio { codec = "libfdk_aac" bitrate = 256 sample_rate = 44100 } remove_audio = true } }
```
Import ¶
VOD adaptive dynamic streaming template can be imported using the id, e.g.
``` $ terraform import tencentcloud_vod_adaptive_dynamic_streaming_template.foo 169141 ```
Provide a resource to create a VOD image sprite template.
Example Usage ¶
```hcl
resource "tencentcloud_vod_image_sprite_template" "foo" { sample_type = "Percent" sample_interval = 10 row_count = 3 column_count = 3 name = "tf-sprite" comment = "test" fill_type = "stretch" width = 128 height = 128 resolution_adaptive = false }
```
Import ¶
VOD image sprite template can be imported using the id, e.g.
``` $ terraform import tencentcloud_vod_image_sprite_template.foo 51156 ```
Provide a resource to create a VOD procedure template.
Example Usage ¶
```hcl
resource "tencentcloud_vod_adaptive_dynamic_streaming_template" "foo" { format = "HLS" name = "tf-adaptive" drm_type = "SimpleAES" disable_higher_video_bitrate = false disable_higher_video_resolution = false comment = "test" stream_info { video { codec = "libx265" fps = 4 bitrate = 129 resolution_adaptive = false width = 128 height = 128 fill_type = "stretch" } audio { codec = "libmp3lame" bitrate = 129 sample_rate = 44100 audio_channel = "dual" } remove_audio = false } stream_info { video { codec = "libx264" fps = 4 bitrate = 256 } audio { codec = "libfdk_aac" bitrate = 256 sample_rate = 44100 } remove_audio = true } }
resource "tencentcloud_vod_snapshot_by_time_offset_template" "foo" { name = "tf-snapshot" width = 130 height = 128 resolution_adaptive = false format = "png" comment = "test" fill_type = "white" }
resource "tencentcloud_vod_image_sprite_template" "foo" { sample_type = "Percent" sample_interval = 10 row_count = 3 column_count = 3 name = "tf-sprite" comment = "test" fill_type = "stretch" width = 128 height = 128 resolution_adaptive = false }
resource "tencentcloud_vod_procedure_template" "foo" { name = "tf-procedure" comment = "test" media_process_task { adaptive_dynamic_streaming_task_list { definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id } snapshot_by_time_offset_task_list { definition = tencentcloud_vod_snapshot_by_time_offset_template.foo.id ext_time_offset_list = [ "3.5s" ] } image_sprite_task_list { definition = tencentcloud_vod_image_sprite_template.foo.id } } }
```
Import ¶
VOD procedure template can be imported using the name, e.g.
``` $ terraform import tencentcloud_vod_procedure_template.foo tf-procedure ```
Provide a resource to create a VOD snapshot by time offset template.
Example Usage ¶
```hcl
resource "tencentcloud_vod_snapshot_by_time_offset_template" "foo" { name = "tf-snapshot" width = 130 height = 128 resolution_adaptive = false format = "png" comment = "test" fill_type = "white" }
```
Import ¶
VOD snapshot by time offset template can be imported using the id, e.g.
``` $ terraform import tencentcloud_vod_snapshot_by_time_offset_template.foo 46906 ```
Provide a resource to create a VOD sub application.
Example Usage ¶
```hcl
resource "tencentcloud_vod_sub_application" "foo" { name = "foo" status = "On" description = "this is sub application" }
```
Import ¶
VOD super player config can be imported using the name+, e.g.
``` $ terraform import tencentcloud_vod_sub_application.foo name+"#"+id ```
Provide a resource to create a VOD super player config.
Example Usage ¶
```hcl
resource "tencentcloud_vod_adaptive_dynamic_streaming_template" "foo" { format = "HLS" name = "tf-adaptive" drm_type = "SimpleAES" disable_higher_video_bitrate = false disable_higher_video_resolution = false comment = "test" stream_info { video { codec = "libx265" fps = 4 bitrate = 129 resolution_adaptive = false width = 128 height = 128 fill_type = "stretch" } audio { codec = "libmp3lame" bitrate = 129 sample_rate = 44100 audio_channel = "dual" } remove_audio = false } stream_info { video { codec = "libx264" fps = 4 bitrate = 256 } audio { codec = "libfdk_aac" bitrate = 256 sample_rate = 44100 } remove_audio = true } }
resource "tencentcloud_vod_image_sprite_template" "foo" { sample_type = "Percent" sample_interval = 10 row_count = 3 column_count = 3 name = "tf-sprite" comment = "test" fill_type = "stretch" width = 128 height = 128 resolution_adaptive = false }
resource "tencentcloud_vod_super_player_config" "foo" { name = "tf-super-player" drm_switch = true drm_streaming_info { simple_aes_definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id } image_sprite_definition = tencentcloud_vod_image_sprite_template.foo.id resolution_names { min_edge_length = 889 name = "test1" } resolution_names { min_edge_length = 890 name = "test2" } domain = "Default" scheme = "Default" comment = "test" }
```
Import ¶
VOD super player config can be imported using the name, e.g.
``` $ terraform import tencentcloud_vod_super_player_config.foo tf-super-player ```
Provide a resource to create a VPC.
Example Usage ¶
Create a basic VPC ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "tf-example" cidr_block = "10.0.0.0/16" dns_servers = ["119.29.29.29", "8.8.8.8"] is_multicast = false tags = { "test" = "test" } }
```
Using Assistant CIDR ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "tf-example" cidr_block = "10.0.0.0/16" is_multicast = false assistant_cidrs = ["172.16.0.0/24"] tags = { "test" = "test" } }
```
Import ¶
Vpc instance can be imported, e.g.
``` $ terraform import tencentcloud_vpc.test vpc-id ```
Provide a resource to create a VPC ACL instance.
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_vpc_acl" "example" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-example" ingress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] egress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] }
```
Import ¶
Vpc ACL can be imported, e.g.
``` $ terraform import tencentcloud_vpc_acl.default acl-id ```
Provide a resource to attach an existing subnet to Network ACL.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name }
resource "tencentcloud_vpc_acl" "example" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-example" ingress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] egress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] }
resource "tencentcloud_vpc_acl_attachment" "attachment"{ acl_id = tencentcloud_vpc_acl.example.id subnet_id = tencentcloud_subnet.subnet.id }
```
Import ¶
Acl attachment can be imported using the id, e.g.
``` $ terraform import tencentcloud_vpc_acl_attachment.attachment acl-eotx5qsg#subnet-91x0geu6 ```
Provides a resource to create a vpc bandwidth_package
Example Usage ¶
```hcl
resource "tencentcloud_vpc_bandwidth_package" "example" { network_type = "BGP" charge_type = "TOP5_POSTPAID_BY_MONTH" bandwidth_package_name = "tf-example" tags = { "createdBy" = "terraform" } }
```
PrePaid Bandwidth Package ¶
```hcl
resource "tencentcloud_vpc_bandwidth_package" "bandwidth_package" { network_type = "BGP" charge_type = "FIXED_PREPAID_BY_MONTH" bandwidth_package_name = "test-001" time_span = 3 internet_max_bandwidth = 100 tags = { "createdBy" = "terraform" } }
````
Bandwidth Package With Egress ¶
```hcl
resource "tencentcloud_vpc_bandwidth_package" "example" { network_type = "SINGLEISP_CMCC" charge_type = "ENHANCED95_POSTPAID_BY_MONTH" bandwidth_package_name = "tf-example" internet_max_bandwidth = 400 egress = "center_egress2" tags = { "createdBy" = "terraform" } }
```
Import ¶
vpc bandwidth_package can be imported using the id, e.g. ``` $ terraform import tencentcloud_vpc_bandwidth_package.bandwidth_package bandwidthPackage_id ```
Provides a resource to create a vpc bandwidth_package_attachment
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name }
resource "tencentcloud_vpc_bandwidth_package" "example" { network_type = "BGP" charge_type = "TOP5_POSTPAID_BY_MONTH" bandwidth_package_name = "tf-example" tags = { "createdBy" = "terraform" } }
resource "tencentcloud_clb_instance" "example" { network_type = "INTERNAL" clb_name = "tf-example" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id tags = { "createdBy" = "terraform" } }
resource "tencentcloud_vpc_bandwidth_package_attachment" "attachment" { resource_id = tencentcloud_clb_instance.example.id bandwidth_package_id = tencentcloud_vpc_bandwidth_package.example.id network_type = "BGP" resource_type = "LoadBalance" }
```
Provides a resource to create a vpc classic_link_attachment
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_instance" "example" { instance_name = "tf-example" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" disable_security_service = true disable_monitor_service = true vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_vpc_classic_link_attachment" "classic_link_attachment" { vpc_id = tencentcloud_vpc.vpc.id instance_ids = [tencentcloud_instance.example.id] }
```
Import ¶
vpc classic_link_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_classic_link_attachment.classic_link_attachment classic_link_attachment_id ```
Provides a resource to create a vpc dhcp_associate_address
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_vpc_dhcp_ip" "example" { vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id dhcp_ip_name = "tf-example" }
resource "tencentcloud_eip" "eip" { name = "example-eip" }
resource "tencentcloud_vpc_dhcp_associate_address" "example" { dhcp_ip_id = tencentcloud_vpc_dhcp_ip.example.id address_ip = tencentcloud_eip.eip.public_ip }
```
Import ¶
vpc dhcp_associate_address can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_dhcp_associate_address.dhcp_associate_address dhcp_associate_address_id ```
Provides a resource to create a vpc dhcp_ip
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_vpc_dhcp_ip" "example" { vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id dhcp_ip_name = "tf-example" }
```
Import ¶
vpc dhcp_ip can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_dhcp_ip.dhcp_ip dhcp_ip_id ```
Provides a resource to create a vpc enable_end_point_connect
Example Usage ¶
```hcl
resource "tencentcloud_vpc_enable_end_point_connect" "enable_end_point_connect" { end_point_service_id = "vpcsvc-98jddhcz" end_point_id = ["vpce-6q0ftmke"] accept_flag = true }
```
Provides a resource to create a vpc end_point
Example Usage ¶
```hcl
resource "tencentcloud_vpc_end_point" "end_point" { vpc_id = "vpc-391sv4w3" subnet_id = "subnet-ljyn7h30" end_point_name = "terraform-test" end_point_service_id = "vpcsvc-69y13tdb" end_point_vip = "10.0.2.1" }
```
Import ¶
vpc end_point can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_end_point.end_point end_point_id ```
Provides a resource to create a vpc end_point_service
Example Usage ¶
```hcl
resource "tencentcloud_vpc_end_point_service" "end_point_service" { vpc_id = "vpc-391sv4w3" end_point_service_name = "terraform-endpoint-service" auto_accept_flag = false service_instance_id = "lb-o5f6x7ke" service_type = "CLB" }
```
Import ¶
vpc end_point_service can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_end_point_service.end_point_service end_point_service_id ```
Provides a resource to create a vpc end_point_service_white_list
Example Usage ¶
```hcl
resource "tencentcloud_vpc_end_point_service_white_list" "end_point_service_white_list" { user_uin = "100020512675" end_point_service_id = "vpcsvc-69y13tdb" description = "terraform for test" }
```
Import ¶
vpc end_point_service_white_list can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_end_point_service_white_list.end_point_service_white_list end_point_service_white_list_id ```
Provides a resource to create a vpc flow_log
~> **NOTE:** The cloud server instance specifications that support stream log collection include: M6ce, M6p, SA3se, S4m, DA3, ITA3, I6t, I6, S5se, SA2, SK1, S4, S5, SN3ne, S3ne, S2ne, SA2a, S3ne, SW3a, SW3b, SW3ne, ITA3, IT5c, IT5, IT5c, IT3, I3, D3, DA2, D2, M6, MA2, M4, C6, IT3a, IT3b, IT3c, C4ne, CN3ne, C3ne, GI1, PNV4, GNV4v, GNV4, GT4, GI3X, GN7, GN7vw.
~> **NOTE:** The following models no longer support the collection of new stream logs, and the stock stream logs will no longer be reported for data from July 25, 2022: Standard models: S3, SA1, S2, S1;Memory type: M3, M2, M1;Calculation type: C4, CN3, C3, C2;Batch calculation type: BC1, BS1;HPCC: HCCIC5, HCCG5v.
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_cls_logset" "logset" { logset_name = "delogsetmo" tags = { "test" = "test" } }
resource "tencentcloud_cls_topic" "topic" { topic_name = "topic" logset_id = tencentcloud_cls_logset.logset.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_vpc" "vpc" { name = "vpc-flow-log-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "vpc-flow-log-subnet" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eni" "example" { name = "vpc-flow-log-eni" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc" ipv4_count = 1 }
resource "tencentcloud_instance" "example" { instance_name = "ci-test-eni-attach" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" disable_security_service = true disable_monitor_service = true vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_eni_attachment" "example" { eni_id = tencentcloud_eni.example.id instance_id = tencentcloud_instance.example.id }
resource "tencentcloud_vpc_flow_log" "example" { flow_log_name = "tf-example-vpc-flow-log" resource_type = "NETWORKINTERFACE" resource_id = tencentcloud_eni_attachment.example.eni_id traffic_type = "ACCEPT" vpc_id = tencentcloud_vpc.vpc.id flow_log_description = "this is a testing flow log" cloud_log_id = tencentcloud_cls_topic.topic.id storage_type = "cls" tags = { "testKey" = "testValue" } }
```
Import ¶
vpc flow_log can be imported using the flow log Id combine vpc Id, e.g.
``` $ terraform import tencentcloud_vpc_flow_log.flow_log flow_log_id fl-xxxx1234#vpc-yyyy5678 ```
Provides a resource to create a vpc flow_log_config
Example Usage ¶
If disable FlowLogs ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] image_name_regex = "Final" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_cls_logset" "logset" { logset_name = "delogsetmo" tags = { "test" = "test" } }
resource "tencentcloud_cls_topic" "topic" { topic_name = "topic" logset_id = tencentcloud_cls_logset.logset.id auto_split = false max_split_partitions = 20 partition_count = 1 period = 10 storage_type = "hot" tags = { "test" = "test", } }
resource "tencentcloud_vpc" "vpc" { name = "vpc-flow-log-vpc" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "vpc-flow-log-subnet" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eni" "example" { name = "vpc-flow-log-eni" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc" ipv4_count = 1 }
resource "tencentcloud_instance" "example" { instance_name = "ci-test-eni-attach" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" disable_security_service = true disable_monitor_service = true vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_eni_attachment" "example" { eni_id = tencentcloud_eni.example.id instance_id = tencentcloud_instance.example.id }
resource "tencentcloud_vpc_flow_log" "example" { flow_log_name = "tf-example-vpc-flow-log" resource_type = "NETWORKINTERFACE" resource_id = tencentcloud_eni_attachment.example.eni_id traffic_type = "ACCEPT" vpc_id = tencentcloud_vpc.vpc.id flow_log_description = "this is a testing flow log" cloud_log_id = tencentcloud_cls_topic.topic.id storage_type = "cls" tags = { "testKey" = "testValue" } }
resource "tencentcloud_vpc_flow_log_config" "config" { flow_log_id = tencentcloud_vpc_flow_log.example.id enable = false }
```
If enable FlowLogs ¶
```hcl
resource "tencentcloud_vpc_flow_log_config" "config" { flow_log_id = tencentcloud_vpc_flow_log.example.id enable = true }
```
Import ¶
vpc flow_log_config can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_flow_log_config.flow_log_config flow_log_id ```
Provides a resource to create a vpc ipv6_cidr_block
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_vpc_ipv6_cidr_block" "example" { vpc_id = tencentcloud_vpc.vpc.id }
```
Import ¶
vpc ipv6_cidr_block can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_ipv6_cidr_block.ipv6_cidr_block vpc_id ```
Provides a resource to create a vpc ipv6_eni_address
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_eni" "eni" { name = "eni-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id description = "eni desc." ipv4_count = 1 }
resource "tencentcloud_vpc_ipv6_cidr_block" "example" { vpc_id = tencentcloud_vpc.vpc.id }
resource "tencentcloud_vpc_ipv6_eni_address" "ipv6_eni_address" { vpc_id = tencentcloud_vpc.vpc.id network_interface_id = tencentcloud_eni.eni.id ipv6_addresses { address = tencentcloud_vpc_ipv6_cidr_block.example.ipv6_cidr_block description = "desc." } }
```
Provides a resource to create a vpc ipv6_subnet_cidr_block
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name name = "subnet-example" vpc_id = tencentcloud_vpc.vpc.id cidr_block = "10.0.0.0/16" is_multicast = false }
resource "tencentcloud_vpc_ipv6_cidr_block" "example" { vpc_id = tencentcloud_vpc.vpc.id }
resource "tencentcloud_vpc_ipv6_subnet_cidr_block" "example" { vpc_id = tencentcloud_vpc.vpc.id ipv6_subnet_cidr_blocks { subnet_id = tencentcloud_subnet.subnet.id ipv6_cidr_block = tencentcloud_vpc_ipv6_cidr_block.example.ipv6_cidr_block } }
```
Import ¶
vpc ipv6_subnet_cidr_block can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_ipv6_subnet_cidr_block.ipv6_subnet_cidr_block ipv6_subnet_cidr_block_id ```
Provides a resource to create a vpc local_gateway
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_vpc_local_gateway" "example" { local_gateway_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id cdc_id = "cluster-j9gyu1iy" }
```
Import ¶
vpc local_gateway can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_local_gateway.local_gateway local_gateway_id ```
Provides a resource to create a vpc net_detect
Example Usage ¶
Create a basic Net Detect ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id detect_destination_ip = [ "10.0.0.1", "10.0.0.2", ] }
```
If `next_hop_type` is `VPN`
```hcl
resource "tencentcloud_vpn_gateway" "vpn" { name = "tf-example" bandwidth = 100 zone = data.tencentcloud_availability_zones.zones.zones.0.name type = "SSL" vpc_id = tencentcloud_vpc.vpc.id tags = { test = "test" } }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "VPN" next_hop_destination = tencentcloud_vpn_gateway.vpn.id detect_destination_ip = [ "192.16.10.10", "172.16.10.22", ] }
```
If `next_hop_type` is `DIRECTCONNECT`
```hcl
resource "tencentcloud_dc_gateway" "example" { name = "ci-cdg-vpc-test" network_instance_id = tencentcloud_vpc.vpc.id network_type = "VPC" gateway_type = "NAT" }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "DIRECTCONNECT" next_hop_destination = tencentcloud_dc_gateway.example.id detect_destination_ip = [ "192.16.10.10", "172.16.10.22", ] }
```
If `next_hop_type` is `NAT`
```hcl
resource "tencentcloud_eip" "eip_example1" { name = "tf_nat_gateway_eip1" }
resource "tencentcloud_eip" "eip_example2" { name = "tf_nat_gateway_eip2" }
resource "tencentcloud_nat_gateway" "example" { name = "tf_example_nat_gateway" vpc_id = tencentcloud_vpc.vpc.id bandwidth = 100 max_concurrent = 1000000 assigned_eip_set = [ tencentcloud_eip.eip_example1.public_ip, tencentcloud_eip.eip_example2.public_ip, ] tags = { tf_tag_key = "tf_tag_value" } }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "NAT" next_hop_destination = tencentcloud_nat_gateway.example.id detect_destination_ip = [ "192.16.10.10", "172.16.10.22", ] }
```
If `next_hop_type` is `NORMAL_CVM`
```hcl
data "tencentcloud_images" "image" { image_type = ["PUBLIC_IMAGE"] os_name = "TencentOS Server 3.2 (Final)" }
data "tencentcloud_instance_types" "instance_types" { filter { name = "zone" values = [data.tencentcloud_availability_zones.zones.zones.0.name] } filter { name = "instance-family" values = ["S5"] } cpu_core_count = 2 exclude_sold_out = true }
resource "tencentcloud_instance" "example" { instance_name = "tf_example" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name image_id = data.tencentcloud_images.image.images.0.image_id instance_type = data.tencentcloud_instance_types.instance_types.instance_types.0.instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = 50 hostname = "user" project_id = 0 vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "NORMAL_CVM" next_hop_destination = tencentcloud_instance.example.private_ip detect_destination_ip = [ "192.16.10.10", "172.16.10.22", ] }
```
If `next_hop_type` is `CCN`
```hcl
resource "tencentcloud_ccn" "example" { name = "tf-example" description = "desc." qos = "AU" charge_type = "POSTPAID" bandwidth_limit_type = "OUTER_REGION_LIMIT" }
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "CCN" next_hop_destination = tencentcloud_ccn.example.id detect_destination_ip = [ "172.10.0.1", "172.10.0.2", ] }
```
If `next_hop_type` is `NONEXTHOP`
```hcl
resource "tencentcloud_vpc_net_detect" "example" { net_detect_name = "tf-example" vpc_id = tencentcloud_vpc.vpc.id subnet_id = tencentcloud_subnet.subnet.id next_hop_type = "NONEXTHOP" detect_destination_ip = [ "10.0.0.1", "10.0.0.2", ] }
```
Import ¶
vpc net_detect can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_net_detect.net_detect net_detect_id ```
Provides a resource to create a vpc network_acl_quintuple
Example Usage ¶
```hcl data "tencentcloud_availability_zones" "zones" {}
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_subnet" "subnet" { vpc_id = tencentcloud_vpc.vpc.id name = "subnet-example" cidr_block = "10.0.0.0/16" availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name }
resource "tencentcloud_vpc_acl" "example" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-example" ingress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] egress = [ "ACCEPT#192.168.1.0/24#800#TCP", "ACCEPT#192.168.1.0/24#800-900#TCP", ] }
resource "tencentcloud_vpc_network_acl_quintuple" "network_acl_quintuple" { network_acl_id = tencentcloud_vpc_acl.example.id network_acl_quintuple_set { ingress { protocol = "TCP" description = "ingress desc." source_port = "80" source_cidr = "192.168.0.0/24" destination_port = "8080" destination_cidr = "192.168.0.0/24" action = "DROP" network_acl_quintuple_entry_id = "acli45-q1phngkz" priority = 1 network_acl_direction = "INGRESS" } egress { protocol = "TCP" description = "egress desc." source_port = "80" source_cidr = "192.168.0.0/24" destination_port = "8080" destination_cidr = "192.168.0.0/24" action = "DROP" network_acl_quintuple_entry_id = "acli45-q1phngkz" priority = 1 network_acl_direction = "EGRESS" } } }
```
Import ¶
vpc network_acl_quintuple can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_network_acl_quintuple.network_acl_quintuple network_acl_quintuple_id ```
Provides a resource to create a vpc notify_routes
Example Usage ¶
```hcl
resource "tencentcloud_vpc" "vpc" { name = "vpc-example" cidr_block = "10.0.0.0/16" }
resource "tencentcloud_route_table" "route_table" { vpc_id = tencentcloud_vpc.vpc.id name = "tf-example" }
resource "tencentcloud_vpc_notify_routes" "example" { route_table_id = tencentcloud_route_table.route_table.id route_item_ids = ["rti-i8bap903"] }
```
Import ¶
vpc notify_routes can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_notify_routes.notify_routes notify_routes_id ```
Provides a resource to create a vpc resume_snapshot_instance
Example Usage ¶
Basic example ¶
```hcl
resource "tencentcloud_vpc_resume_snapshot_instance" "resume_snapshot_instance" { snapshot_policy_id = "sspolicy-1t6cobbv" snapshot_file_id = "ssfile-emtabuwu2z" instance_id = "ntrgm89v" }
```
Complete example ¶
```hcl
data "tencentcloud_vpc_snapshot_files" "example" { business_type = "securitygroup" instance_id = "sg-902tl7t7" start_date = "2022-10-10 00:00:00" end_date = "2023-10-30 00:00:00" }
resource "tencentcloud_cos_bucket" "example" { bucket = "tf-example-1308919341" acl = "private" }
resource "tencentcloud_vpc_snapshot_policy" "example" { snapshot_policy_name = "tf-example" backup_type = "time" cos_bucket = tencentcloud_cos_bucket.example.bucket cos_region = "ap-guangzhou" create_new_cos = false keep_time = 2 backup_policies { backup_day = "monday" backup_time = "00:00:00" } backup_policies { backup_day = "tuesday" backup_time = "01:00:00" } backup_policies { backup_day = "wednesday" backup_time = "02:00:00" } }
resource "tencentcloud_vpc_resume_snapshot_instance" "example" { snapshot_policy_id = tencentcloud_vpc_snapshot_policy.example.id snapshot_file_id = data.tencentcloud_vpc_snapshot_files.example.snapshot_file_set.0.snapshot_file_id instance_id = "policy-1t6cob" }
```
Provides a resource to create a vpc snapshot_policy
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket" "example" { bucket = "tf-example-1308919341" acl = "private" }
resource "tencentcloud_vpc_snapshot_policy" "example" { snapshot_policy_name = "tf-example" backup_type = "time" cos_bucket = tencentcloud_cos_bucket.example.bucket cos_region = "ap-guangzhou" create_new_cos = false keep_time = 2 backup_policies { backup_day = "monday" backup_time = "00:00:00" } backup_policies { backup_day = "tuesday" backup_time = "01:00:00" } backup_policies { backup_day = "wednesday" backup_time = "02:00:00" } }
```
Import ¶
vpc snapshot_policy can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_snapshot_policy.snapshot_policy snapshot_policy_id ```
Provides a resource to create a vpc snapshot_policy_attachment
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket" "example" { bucket = "tf-example-1308919341" acl = "private" }
resource "tencentcloud_vpc_snapshot_policy" "example" { snapshot_policy_name = "tf-example" backup_type = "time" cos_bucket = tencentcloud_cos_bucket.example.bucket cos_region = "ap-guangzhou" create_new_cos = false keep_time = 2 backup_policies { backup_day = "monday" backup_time = "00:00:00" } backup_policies { backup_day = "tuesday" backup_time = "01:00:00" } backup_policies { backup_day = "wednesday" backup_time = "02:00:00" } }
resource "tencentcloud_security_group" "example" { name = "tf-example" description = "desc." }
resource "tencentcloud_vpc_snapshot_policy_attachment" "attachment" { snapshot_policy_id = tencentcloud_vpc_snapshot_policy.example.id instances { instance_type = "securitygroup" instance_id = tencentcloud_security_group.example.id instance_name = "tf-example" instance_region = "ap-guangzhou" } }
```
Import ¶
vpc snapshot_policy_attachment can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_snapshot_policy_attachment.snapshot_policy_attachment snapshot_policy_attachment_id ```
Provides a resource to create a vpc snapshot_policy_config
Example Usage ¶
```hcl
resource "tencentcloud_cos_bucket" "example" { bucket = "tf-example-1308919341" acl = "private" }
resource "tencentcloud_vpc_snapshot_policy" "example" { snapshot_policy_name = "tf-example" backup_type = "time" cos_bucket = tencentcloud_cos_bucket.example.bucket cos_region = "ap-guangzhou" create_new_cos = false keep_time = 2 backup_policies { backup_day = "monday" backup_time = "00:00:00" } backup_policies { backup_day = "tuesday" backup_time = "01:00:00" } backup_policies { backup_day = "wednesday" backup_time = "02:00:00" } }
resource "tencentcloud_vpc_snapshot_policy_config" "config" { snapshot_policy_id = tencentcloud_vpc_snapshot_policy.example.id enable = false }
```
Import ¶
vpc snapshot_policy_config can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_snapshot_policy_config.snapshot_policy_config snapshot_policy_id ```
Provides a resource to create a vpc traffic_package
Example Usage ¶
```hcl
resource "tencentcloud_vpc_traffic_package" "example" { traffic_amount = 10 }
```
Import ¶
vpc traffic_package can be imported using the id, e.g.
``` terraform import tencentcloud_vpc_traffic_package.traffic_package traffic_package_id ```
Provides a resource to create a VPN connection.
Example Usage ¶
```hcl
resource "tencentcloud_vpn_connection" "foo" { name = "vpn_connection_test" vpc_id = "vpc-dk8zmwuf" vpn_gateway_id = "vpngw-8ccsnclt" customer_gateway_id = "cgw-xfqag" pre_share_key = "testt" ike_proto_encry_algorithm = "3DES-CBC" ike_proto_authen_algorithm = "SHA" ike_local_identity = "ADDRESS" ike_exchange_mode = "AGGRESSIVE" ike_local_address = "1.1.1.1" ike_remote_identity = "ADDRESS" ike_remote_address = "2.2.2.2" ike_dh_group_name = "GROUP2" ike_sa_lifetime_seconds = 86401 ipsec_encrypt_algorithm = "3DES-CBC" ipsec_integrity_algorithm = "SHA1" ipsec_sa_lifetime_seconds = 7200 ipsec_pfs_dh_group = "NULL" ipsec_sa_lifetime_traffic = 2570 security_group_policy { local_cidr_block = "172.16.0.0/16" remote_cidr_block = ["2.2.2.0/26", ] } tags = { test = "testt" } }
```
Import ¶
VPN connection can be imported using the id, e.g.
``` $ terraform import tencentcloud_vpn_connection.foo vpnx-nadifg3s ```
Provides a resource to create a vpc vpn_connection_reset
Example Usage ¶
```hcl
resource "tencentcloud_vpn_connection_reset" "vpn_connection_reset" { vpn_gateway_id = "vpngw-gt8bianl" vpn_connection_id = "vpnx-kme2tx8m" }
```
Provides a resource to create a VPN customer gateway.
Example Usage ¶
```hcl
resource "tencentcloud_vpn_customer_gateway" "foo" { name = "test_vpn_customer_gateway" public_ip_address = "1.1.1.1" tags = { tag = "test" } }
```
Import ¶
VPN customer gateway can be imported using the id, e.g.
``` $ terraform import tencentcloud_vpn_customer_gateway.foo cgw-xfqag ```
Provides a resource to create a vpc vpn_customer_gateway_configuration_download
Example Usage ¶
```hcl
resource "tencentcloud_vpn_customer_gateway_configuration_download" "vpn_customer_gateway_configuration_download" { vpn_gateway_id = "vpngw-gt8bianl" vpn_connection_id = "vpnx-kme2tx8m" customer_gateway_vendor { platform = "comware" software_version = "V1.0" vendor_name = "h3c" } interface_name = "test" }
```
Provides a resource to create a VPN gateway.
-> **NOTE:** The prepaid VPN gateway do not support renew operation or delete operation with terraform.
Example Usage ¶
VPC SSL VPN gateway ```hcl
resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" bandwidth = 5 zone = "ap-guangzhou-3" type = "SSL" vpc_id = "vpc-86v957zb" tags = { test = "test" } }
```
CCN IPEC VPN gateway ```hcl
resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" bandwidth = 5 zone = "ap-guangzhou-3" type = "CCN" tags = { test = "test" } }
```
CCN SSL VPN gateway ```hcl
resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" bandwidth = 5 zone = "ap-guangzhou-3" type = "SSL_CCN" tags = { test = "test" } }
```
POSTPAID_BY_HOUR VPN gateway ```hcl
resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" vpc_id = "vpc-dk8zmwuf" bandwidth = 5 zone = "ap-guangzhou-3" tags = { test = "test" } }
```
PREPAID VPN gateway ```hcl
resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" vpc_id = "vpc-dk8zmwuf" bandwidth = 5 zone = "ap-guangzhou-3" charge_type = "PREPAID" prepaid_period = 1 tags = { test = "test" } }
```
Import ¶
VPN gateway can be imported using the id, e.g.
``` $ terraform import tencentcloud_vpn_gateway.foo vpngw-8ccsnclt ```
Provides a resource to create a vpn_gateway_ccn_routes
Example Usage ¶
```hcl
resource "tencentcloud_vpn_gateway_ccn_routes" "vpn_gateway_ccn_routes" { destination_cidr_block = "192.168.1.0/24" route_id = "vpnr-akdy0757" status = "DISABLE" vpn_gateway_id = "vpngw-lie1a4u7" }
```
Import ¶
vpc vpn_gateway_ccn_routes can be imported using the id, e.g.
``` terraform import tencentcloud_vpn_gateway_ccn_routes.vpn_gateway_ccn_routes vpn_gateway_id#ccn_routes_id ```
Provides a resource to create a VPN gateway route.
Example Usage ¶
```hcl
resource "tencentcloud_vpn_gateway_route" "route" { vpn_gateway_id = "vpngw-ak9sjem2" destination_cidr_block = "10.0.0.0/16" instance_id = "vpnx-5b5dmao3" instance_type = "VPNCONN" priority = 100 status = "DISABLE" }
```
Import ¶
VPN gateway route can be imported using the id, the id format must be '{vpn_gateway_id}#{route_id}', e.g.
``` $ terraform import tencentcloud_vpn_gateway_route.route1 vpngw-ak9sjem2#vpngw-8ccsnclt ```
Provides a resource to create a vpc vpn_gateway_ssl_client_cert
Example Usage ¶
```hcl
resource "tencentcloud_vpn_gateway_ssl_client_cert" "vpn_gateway_ssl_client_cert" { ssl_vpn_client_id = "vpnc-123456" switch = "off" }
```
Import ¶
vpc vpn_gateway_ssl_client_cert can be imported using the id, e.g.
``` terraform import tencentcloud_vpn_gateway_ssl_client_cert.vpn_gateway_ssl_client_cert ssl_client_id ```
Provide a resource to create a VPN SSL Client.
Example Usage ¶
```hcl
resource "tencentcloud_vpn_ssl_client" "client" { ssl_vpn_server_id = "vpns-aog5xcjj" ssl_vpn_client_name = "hello" }
```
Import ¶
VPN SSL Client can be imported, e.g.
``` $ terraform import tencentcloud_vpn_ssl_client.client vpn-client-id ```
Provide a resource to create a VPN SSL Server.
Example Usage ¶
```hcl
resource "tencentcloud_vpn_ssl_server" "server" { local_address = [ "10.0.0.0/17", ] remote_address = "11.0.0.0/16" ssl_vpn_server_name = "helloworld" vpn_gateway_id = "vpngw-335lwf7d" ssl_vpn_protocol = "UDP" ssl_vpn_port = 1194 integrity_algorithm = "MD5" encrypt_algorithm = "AES-128-CBC" compress = true }
```
Import ¶
VPN SSL Server can be imported, e.g.
``` $ terraform import tencentcloud_vpn_ssl_server.server vpn-server-id ```
Provides a resource to create a waf anti_fake
~> **NOTE:** Uri: Please configure static resources such as. html,. shtml,. txt,. js,. css,. jpg,. png, or access paths for static resources..
Example Usage ¶
```hcl
resource "tencentcloud_waf_anti_fake" "example" { domain = "www.waf.com" name = "tf_example" uri = "/anti_fake_url.html" status = 1 }
```
Import ¶
waf anti_fake can be imported using the id, e.g.
``` terraform import tencentcloud_waf_anti_fake.example 3200035516#www.waf.com ```
Provides a resource to create a waf anti_info_leak
Example Usage ¶
```hcl
resource "tencentcloud_waf_anti_info_leak" "example" { domain = "tf.example.com" name = "tf_example" action_type = 0 strategies { field = "information" content = "phone" } uri = "/anti_info_leak_url" status = 1 }
```
Import ¶
waf anti_info_leak can be imported using the id, e.g.
``` terraform import tencentcloud_waf_anti_info_leak.example 3100077499#tf.example.com ```
Provides a resource to create a waf clb_domain
Example Usage ¶
Create a basic waf clb domain ¶
```hcl
resource "tencentcloud_waf_clb_domain" "example" { instance_id = "waf_2kxtlbky00b2v1fn" domain = "test.com" load_balancer_set { load_balancer_id = "lb-5dnrkgry" load_balancer_name = "keep-listener-clb" listener_id = "lbl-nonkgvc2" listener_name = "dsadasd" vip = "106.55.220.8" vport = "80" region = "gz" protocol = "HTTP" zone = "ap-guangzhou-6" numerical_vpc_id = "5232945" load_balancer_type = "OPEN" } region = "gz" alb_type = "clb" }
```
Create a complete waf clb domain ¶
```hcl
resource "tencentcloud_waf_clb_domain" "example" { instance_id = "waf_2kxtlbky00b2v1fn" domain = "test.com" is_cdn = 3 status = 1 engine = 21 load_balancer_set { load_balancer_id = "lb-5dnrkgry" load_balancer_name = "keep-listener-clb" listener_id = "lbl-nonkgvc2" listener_name = "dsadasd" vip = "106.55.220.8" vport = "80" region = "gz" protocol = "HTTP" zone = "ap-guangzhou-6" numerical_vpc_id = "5232945" load_balancer_type = "OPEN" } region = "gz" flow_mode = 1 alb_type = "clb" bot_status = 1 api_safe_status = 1 ip_headers = [ "headers_1", "headers_2", "headers_3", ] }
```
Create a complete waf tsegw domain ¶
```hcl
resource "tencentcloud_waf_clb_domain" "example" { instance_id = "waf_2kxtlbky00b2v1fn" domain = "xxx.com" is_cdn = 0 status = 1 engine = 12 region = "gz" flow_mode = 0 alb_type = "tsegw" bot_status = 0 api_safe_status = 0 }
```
Create a complete waf apisix domain ¶
```hcl
resource "tencentcloud_waf_clb_domain" "example" { instance_id = "waf_2kxtlbky00b2v1fn" domain = "xxx.com" is_cdn = 0 status = 1 engine = 12 region = "gz" flow_mode = 0 alb_type = "apisix" bot_status = 0 api_safe_status = 0 }
```
Import ¶
waf clb_domain can be imported using the id, e.g.
``` terraform import tencentcloud_waf_clb_domain.example waf_2kxtlbky00b2v1fn#test.com#waf-0FSehoRU ```
Provides a resource to create a waf clb instance ¶
~> **NOTE:** Region only supports `ap-guangzhou` and `ap-seoul`.
Example Usage ¶
Create a basic waf premium clb instance ¶
```hcl
resource "tencentcloud_waf_clb_instance" "example" { goods_category = "premium_clb" instance_name = "tf-example-clb-waf" }
```
Create a complete waf ultimate_clb instance
```hcl
resource "tencentcloud_waf_clb_instance" "example" { goods_category = "ultimate_clb" instance_name = "tf-example-clb-waf" time_span = 1 time_unit = "m" auto_renew_flag = 1 elastic_mode = 1 }
```
Set waf ultimate_clb instance qps limit
```hcl
resource "tencentcloud_waf_clb_instance" "example" { goods_category = "ultimate_clb" instance_name = "tf-example-clb-waf" time_span = 1 time_unit = "m" auto_renew_flag = 1 elastic_mode = 1 qps_limit = 200000 }
```
Provides a resource to create a waf custom_rule
Example Usage ¶
```hcl
resource "tencentcloud_waf_custom_rule" "example" { name = "tf-example" sort_id = "50" redirect = "/" expire_time = "0" strategies { field = "IP" compare_func = "ipmatch" content = "2.2.2.2" arg = "" } status = "1" domain = "test.com" action_type = "1" }
```
Import ¶
waf custom_rule can be imported using the id, e.g.
``` terraform import tencentcloud_waf_custom_rule.example test.com#1100310609 ```
Provides a resource to create a waf custom_white_rule
Example Usage ¶
```hcl
resource "tencentcloud_waf_custom_white_rule" "example" { name = "tf-example" sort_id = "30" expire_time = "0" strategies { field = "IP" compare_func = "ipmatch" content = "1.1.1.1" arg = "" } status = "1" domain = "test.com" bypass = "geoip,cc,owasp" }
```
Import ¶
waf custom_white_rule can be imported using the id, e.g.
``` terraform import tencentcloud_waf_custom_white_rule.example test.com#1100310837 ```
Provides a resource to create a waf saas_domain
Example Usage ¶
If upstream_type is 0
Create a basic waf saas domain ¶
```hcl
resource "tencentcloud_waf_saas_domain" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" src_list = [ "1.1.1.1" ] ports { port = "80" protocol = "http" upstream_port = "80" upstream_protocol = "http" } }
```
Create a load balancing strategy is weighted polling saas domain ¶
```hcl
resource "tencentcloud_waf_saas_domain" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" src_list = [ "1.1.1.1", "2.2.2.2" ] load_balance = "2" weights = [ 30, 50 ] ports { port = "80" protocol = "http" upstream_port = "80" upstream_protocol = "http" } }
```
If upstream_type is 1
```hcl
resource "tencentcloud_waf_saas_domain" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" upstream_type = 1 upstream_domain = "test.com" ports { port = "80" protocol = "http" upstream_port = "80" upstream_protocol = "http" } }
```
Create a waf saas domain with set Http&Https
```hcl
resource "tencentcloud_waf_saas_domain" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" is_cdn = 3 cert_type = 2 ssl_id = "3a6B5y8v" load_balance = "2" https_rewrite = 1 upstream_scheme = "https" src_list = [ "1.1.1.1", "2.2.2.2" ] weights = [ 50, 60 ] ports { port = "80" protocol = "http" upstream_port = "80" upstream_protocol = "http" } ports { port = "443" protocol = "https" upstream_port = "443" upstream_protocol = "https" } ip_headers = [ "headers_1", "headers_2", "headers_3", ] }
```
Create a complete waf saas domain ¶
```hcl
resource "tencentcloud_waf_saas_domain" "example" { instance_id = "waf_2kxtlbky01b3wceb" domain = "tf.example.com" is_cdn = 3 cert_type = 2 ssl_id = "3a6B5y8v" load_balance = "2" https_rewrite = 1 is_http2 = 1 upstream_scheme = "https" src_list = [ "1.1.1.1", "2.2.2.2" ] weights = [ 50, 60 ] ports { port = "80" protocol = "http" upstream_port = "80" upstream_protocol = "http" } ports { port = "443" protocol = "https" upstream_port = "443" upstream_protocol = "https" } ip_headers = [ "headers_1", "headers_2", "headers_3", ] is_keep_alive = "1" active_check = 1 tls_version = 3 cipher_template = 1 proxy_read_timeout = 500 proxy_send_timeout = 500 sni_type = 3 sni_host = "3.3.3.3" xff_reset = 1 bot_status = 1 api_safe_status = 1 }
```
Import ¶
waf saas_domain can be imported using the id, e.g.
``` terraform import tencentcloud_waf_saas_domain.example waf_2kxtlbky01b3wceb#tf.example.com#9647c91da0aa5f5aaa49d0ca40e2af24 ```
Provides a resource to create a waf saas instance ¶
~> **NOTE:** Region only supports `ap-guangzhou` and `ap-seoul`.
Example Usage ¶
Create a basic waf premium saas instance ¶
```hcl
resource "tencentcloud_waf_saas_instance" "example" { goods_category = "premium_saas" instance_name = "tf-example-saas-waf" }
```
Create a complete waf ultimate_saas instance
```hcl
resource "tencentcloud_waf_saas_instance" "example" { goods_category = "ultimate_saas" instance_name = "tf-example-saas-waf" time_span = 1 time_unit = "m" auto_renew_flag = 1 elastic_mode = 1 real_region = "gz" }
```
Set waf ultimate_saas instance qps limit
```hcl
resource "tencentcloud_waf_saas_instance" "example" { goods_category = "ultimate_saas" instance_name = "tf-example-saas-waf" time_span = 1 time_unit = "m" auto_renew_flag = 1 elastic_mode = 1 real_region = "gz" qps_limit = 200000 }
```
Provides a resource to create a wedata baseline ¶
Example Usage ¶
```hcl
resource "tencentcloud_wedata_baseline" "example" { project_id = "1927766435649077248" baseline_name = "tf_example" baseline_type = "D" create_uin = "100028439226" create_name = "tf_user" in_charge_uin = "tf_user" in_charge_name = "100028439226" promise_tasks { project_id = "1927766435649077248" task_name = "tf_demo_task" task_id = "20231030145334153" task_cycle = "D" workflow_name = "dataflow_mpp" workflow_id = "e4dafb2e-76eb-11ee-bfeb-b8cef68a6637" task_in_charge_name = ";tf_user;" } promise_time = "00:00:00" warning_margin = 30 is_new_alarm = true baseline_create_alarm_rule_request { alarm_types = [ "baseLineBroken", "baseLineWarning", "baseLineTaskFailure" ] alarm_level = 2 alarm_ways = [ "email", "sms" ] alarm_recipient_type = 1 alarm_recipients = [ "tf_user" ] alarm_recipient_ids = [ "100028439226" ] } }
```
Import ¶
wedata baseline can be imported using the id, e.g.
``` terraform import tencentcloud_wedata_baseline.example 1927766435649077248#2 ```
Provides a resource to create a wedata dq_rule
Example Usage ¶
```hcl
resource "tencentcloud_wedata_dq_rule" "example" { project_id = "1948767646355341312" rule_group_id = 312 rule_template_id = 1 name = "tf_example" table_id = "N85hbsh5QQ2VLHL2iOUVeQ" type = 1 source_object_data_type_name = "table" source_object_value = "表" condition_type = 1 compare_rule { items { compare_type = 1 operator = "==" value_list { value_type = 3 value = "100" } } } alarm_level = 1 description = "description." }
```
Import ¶
wedata dq_rule can be imported using the id, e.g.
``` terraform import tencentcloud_wedata_dq_rule.example 1948767646355341312#894 ```
Provides a resource to create a wedata function ¶
Example Usage ¶
```hcl
resource "tencentcloud_wedata_function" "example" { type = "HIVE" kind = "ANALYSIS" name = "tf_example" cluster_identifier = "emr-m6u3qgk0" db_name = "tf_db_example" project_id = "1612982498218618880" class_name = "tf_class_example" resource_list { path = "/wedata-demo-1314991481/untitled3-1.0-SNAPSHOT.jar" name = "untitled3-1.0-SNAPSHOT.jar" id = "5b28bcdf-a0e6-4022-927d-927d399c4593" type = "cos" } description = "description." usage = "usage info." param_desc = "param info." return_desc = "return value info." example = "example info." comment = "V1" }
```
Provides a resource to create a wedata resource ¶
Example Usage ¶
```hcl
resource "tencentcloud_wedata_resource" "example" { file_path = "/datastudio/resource/demo" project_id = "1612982498218618880" file_name = "tf_example" cos_bucket_name = "wedata-demo-1314991481" cos_region = "ap-guangzhou" files_size = "8165" }
```
Import ¶
wedata resource can be imported using the id, e.g.
``` terraform import tencentcloud_wedata_resource.example 1612982498218618880#/datastudio/resource/demo#75431931-7d27-4034-b3de-3dc3348a220e ```
Provides a resource to create a wedata rule_template
Example Usage ¶
```hcl
resource "tencentcloud_wedata_rule_template" "rule_template" { project_id = "1840731346428280832" type = 2 name = "tf-test" quality_dim = 3 source_object_type = 2 description = "for tf test" source_engine_types = [2, 4, 16] multi_source_flag = false sql_expression = base64encode("select * from db") where_flag = false }
```
Import ¶
wedata rule_template can be imported using the id, e.g.
``` terraform import tencentcloud_wedata_rule_template.rule_template rule_template_id ```
Provides a resource to create a wedata script ¶
Example Usage ¶
```hcl
resource "tencentcloud_wedata_script" "example" { file_path = "/datastudio/project/tf_example.sql" project_id = "1470575647377821696" bucket_name = "wedata-demo-1257305158" region = "ap-guangzhou" file_extension_type = "sql" }
```
Import ¶
wedata script can be imported using the id, e.g.
``` terraform import tencentcloud_wedata_script.example 1470575647377821696#/datastudio/project/tf_example.sql#4147824b-7ba2-432b-8a8b-7e747594c926 ```
Index ¶
- Constants
- Variables
- func ACLBodyDiffFunc(olds, news string, d *schema.ResourceData) (result bool)
- func AlarmPolicyRule() map[string]*schema.Schema
- func Base64ToString(config string) (string, error)
- func BuildStateChangeConf(pending, target []string, timeout, delay time.Duration, ...) *resource.StateChangeConf
- func BuildTagResourceName(serviceType, resourceType, region, id string) string
- func CheckIfDefaultRule(aclEntry *vpc.NetworkAclEntry) bool
- func CheckNil(object interface{}, fields map[string]string) (nilFields []string)
- func ConverterVpnGatewayRouteToMap(vpnGatewayId string, route *vpc.VpnGatewayRoute) map[string]interface{}
- func DecodeJSONFromReader(r io.Reader, out interface{}) error
- func DeltaList(oldInstanceList []interface{}, newInstanceList []interface{}) (increment []string, decrement []string)
- func DisableTcrVpcDns(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, ...) error
- func EnableTcrVpcDns(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, ...) error
- func EncryptShares(input [][]byte, pgpKeys []string) ([]string, [][]byte, error)
- func FetchKeybasePubkeys(input []string) (map[string]string, error)
- func FindIntListIndex(list []int, elem int) int
- func GetBucketPublicACL(acl *cos.BucketGetACLResult) string
- func GetCertificateList(ctx context.Context, sslService SSLService, id, name, certType *string) (certificateList []*ssl.Certificates, errRet error)
- func GetCommonCertificates(certificatesById, certificatesByName []*ssl.Certificates) (result []*ssl.Certificates)
- func GetDnsStatus(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, ...) (status *tcr.VpcPrivateDomainStatus, err error)
- func GetEntities(pgpKeys []string) ([]*openpgp.Entity, error)
- func GetFingerprints(pgpKeys []string, entities []*openpgp.Entity) ([]string, error)
- func GetListDiffs(o []int, n []int) (adds []int, lacks []int)
- func GetListIncrement(o []int, n []int) (result []int, err error)
- func GetOptimizedTkeLabels(d *schema.ResourceData, k string) []*tke.Label
- func GetOptimizedTkeTaints(d *schema.ResourceData, k string) []*tke.Taint
- func GetTkeLabels(d *schema.ResourceData, k string) []*tke.Label
- func GetTkeTaints(d *schema.ResourceData, k string) []*tke.Taint
- func GetUrlsHash(urls []string) string
- func IsContainProductId(productId int64, lists ...[]int64) bool
- func IsContains(array interface{}, value interface{}) bool
- func IsNil(v interface{}) bool
- func IsString(data interface{}) bool
- func LayerContent() map[string]*schema.Schema
- func ListEqual(a, b []string) bool
- func ListenerIdCheck(listenerId string) error
- func MatchAny(value interface{}, matches ...interface{}) bool
- func ModifyClusterInternetOrIntranetAccess(ctx context.Context, d *schema.ResourceData, tkeSvc *TkeService, ...) error
- func ModifySecurityServiceOfCvmInNodePool(ctx context.Context, d *schema.ResourceData, tkeSvc *TkeService, ...) error
- func NatGatewaySnatPara() map[string]*schema.Schema
- func ParseMultiDisks(_multiDisks []map[string]interface{}) []*emr.MultiDisk
- func ParseResource(_resource map[string]interface{}) *emr.Resource
- func ParseTags(_tags []map[string]string) []*emr.Tag
- func Provider() *schema.Provider
- func ReadFromFile(file string) ([]byte, error)
- func RetryWithContext(ctx context.Context, timeout time.Duration, ...) (interface{}, error)
- func RuleIdCheck(ruleId string) error
- func StringToBase64(config string) string
- func TKEGpuArgsSetting() map[string]*schema.Schema
- func TencentCloudMysqlParameterDetail() map[string]*schema.Schema
- func TencentCynosdbClusterBaseInfo() map[string]*schema.Schema
- func TencentCynosdbInstanceBaseInfo() map[string]*schema.Schema
- func TencentKmsBasicInfo() map[string]*schema.Schema
- func TencentMongodbBasicInfo() map[string]*schema.Schema
- func TencentMsyqlBasicInfo() map[string]*schema.Schema
- func TencentMysqlSellType() map[string]*schema.Schema
- func TencentMysqlZoneConfig() map[string]*schema.Schema
- func TencentSqlServerBasicInfo(isROInstance bool) map[string]*schema.Schema
- func TkeCvmCreateInfo() map[string]*schema.Schema
- func TkeExistCvmCreateInfo() map[string]*schema.Schema
- func TkeInstanceAdvancedSetting() map[string]*schema.Schema
- func TkeNodePoolGlobalConfig() map[string]*schema.Schema
- func VodWatermarkResource() *schema.Resource
- func VpnGatewayRoutePara() map[string]*schema.Schema
- func WaitForAccessIpExists(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, ...) (accessIp string, errRet error)
- func YamlParser(config string) (map[interface{}]interface{}, error)
- type APIGatewayService
- func (me *APIGatewayService) BindEnvironment(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) BindSecretId(ctx context.Context, usagePlanId string, apiKeyId string) (errRet error)
- func (me *APIGatewayService) BindSecretIds(ctx context.Context, usagePlanId string, apiKeyIds []string) (errRet error)
- func (me *APIGatewayService) BindSubDomainService(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) CreateApiKey(ctx context.Context, secretName string) (accessKeyId string, errRet error)
- func (me *APIGatewayService) CreateIPStrategy(ctx context.Context, ...) (strategyId string, errRet error)
- func (me *APIGatewayService) CreateService(ctx context.Context, ...) (serviceId string, errRet error)
- func (me *APIGatewayService) CreateStrategyAttachment(ctx context.Context, serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) CreateUsagePlan(ctx context.Context, usagePlanName string, usagePlanDesc *string, ...) (usagePlanId string, errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayAPIAppById(ctx context.Context, apiAppId string) (errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayAPIDocById(ctx context.Context, apiDocId string) (errRet error)
- func (me *APIGatewayService) DeleteAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApi(ctx context.Context, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, ...) (errRet error)
- func (me *APIGatewayService) DeleteApiGatewayPluginById(ctx context.Context, pluginId string) (errRet error)
- func (me *APIGatewayService) DeleteApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) DeleteApigatewayUpstreamById(ctx context.Context, upstreamId string) (errRet error)
- func (me *APIGatewayService) DeleteIPStrategy(ctx context.Context, serviceId, strategyId string) (errRet error)
- func (me *APIGatewayService) DeleteService(ctx context.Context, serviceId string) (errRet error)
- func (me *APIGatewayService) DeleteStrategyAttachment(ctx context.Context, serviceId, strategyId, envName, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) DeleteUsagePlan(ctx context.Context, usagePlanId string) (errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (apiAppAttachment *apigateway.ApiAppApiInfo, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter(ctx context.Context, param map[string]interface{}) (apiAppService *apigateway.DescribeServiceForApiAppResponseParams, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter(ctx context.Context, param map[string]interface{}) (ApiUsagePlan []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayPluginByFilter(ctx context.Context, param map[string]interface{}) (plugin []*apigateway.AvailableApiInfo, errRet error)
- func (me *APIGatewayService) DescribeAPIGatewayUpstreamByFilter(ctx context.Context, param map[string]interface{}) (upstream []*apigateway.BindApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApi(ctx context.Context, serviceId, apiId string) (info apigateway.ApiInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeApiApp(ctx context.Context, apiAppId string) (apiDoc *apigateway.ApiAppInfos, errRet error)
- func (me *APIGatewayService) DescribeApiAppList(ctx context.Context, apiAppId, apiAppName string) (apiApp []*apigateway.ApiAppInfo, errRet error)
- func (me *APIGatewayService) DescribeApiDoc(ctx context.Context, apiDocId string) (apiDoc *apigateway.APIDocInfo, errRet error)
- func (me *APIGatewayService) DescribeApiDocList(ctx context.Context) (apiDoc []*apigateway.APIDoc, errRet error)
- func (me *APIGatewayService) DescribeApiEnvironmentStrategyList(ctx context.Context, serviceId string, environmentNames []string, apiId string) (environmentApiList []*apigateway.ApiEnvironmentStrategy, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayApiAppApiByFilter(ctx context.Context, param map[string]interface{}) (apiAppApi *apigateway.ApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayApiPluginsByFilter(ctx context.Context, param map[string]interface{}) (ApiPlugins []*apigateway.AttachedPluginInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter(ctx context.Context, param map[string]interface{}) (bindApiAppsStatus []*apigateway.ApiAppApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (importOpenApi *apigateway.ApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, ...) (pluginAttachment *apigateway.AttachedApiInfo, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayPluginById(ctx context.Context, pluginId string) (plugin *apigateway.Plugin, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter(ctx context.Context, param map[string]interface{}) (environmentList []*apigateway.Environment, errRet error)
- func (me *APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter(ctx context.Context, param map[string]interface{}) (versionList []*apigateway.DescribeServiceReleaseVersionResultVersionListInfo, ...)
- func (me *APIGatewayService) DescribeApiKey(ctx context.Context, accessKeyId string) (apiKey *apigateway.ApiKey, has bool, errRet error)
- func (me *APIGatewayService) DescribeApiKeysStatus(ctx context.Context, secretName, accessKeyId string) (apiKeySet []*apigateway.ApiKey, errRet error)
- func (me *APIGatewayService) DescribeApiUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeApiUsagePlanSecretIds(ctx context.Context, usagePlanId string) (list []*apigateway.UsagePlanBindSecret, errRet error)
- func (me *APIGatewayService) DescribeApigatewayUpstreamById(ctx context.Context, upstreamId string) (upstreamInfo *apigateway.UpstreamInfo, errRet error)
- func (me *APIGatewayService) DescribeApisStatus(ctx context.Context, serviceId, apiName, apiId string) (infos []*apigateway.DescribeApisStatusResultApiIdStatusSetInfo, errRet error)
- func (me *APIGatewayService) DescribeIPStrategies(ctx context.Context, serviceId, strategyId, environmentName string) (ipStrategies *apigateway.IPStrategy, errRet error)
- func (me *APIGatewayService) DescribeIPStrategyHas(ctx context.Context, serviceId, strategyId string) (has bool, errRet error)
- func (me *APIGatewayService) DescribeIPStrategyStatus(ctx context.Context, serviceId, strategyId string) (ipStrategies *apigateway.IPStrategy, has bool, errRet error)
- func (me *APIGatewayService) DescribeIPStrategysStatus(ctx context.Context, serviceId, strategyName string) (infos []*apigateway.IPStrategy, errRet error)
- func (me *APIGatewayService) DescribeService(ctx context.Context, serviceId string) (info apigateway.DescribeServiceResponse, has bool, errRet error)
- func (me *APIGatewayService) DescribeServiceEnvironmentReleaseHistory(ctx context.Context, serviceId, envName string) (versionList []*apigateway.ServiceReleaseHistoryInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeServiceEnvironmentStrategyList(ctx context.Context, serviceId string) (environmentList []*apigateway.ServiceEnvironmentStrategy, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomainMappings(ctx context.Context, serviceId, subDomain string) (info *apigateway.ServiceSubDomainMappings, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomains(ctx context.Context, serviceId string) (domainList []*apigateway.DomainSetList, errRet error)
- func (me *APIGatewayService) DescribeServiceSubDomainsService(ctx context.Context, serviceId, subDomain string) (resultList []*apigateway.DomainSetList, errRet error)
- func (me *APIGatewayService) DescribeServiceUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
- func (me *APIGatewayService) DescribeServicesStatus(ctx context.Context, serviceId, serviceName string) (infos []*apigateway.Service, errRet error)
- func (me *APIGatewayService) DescribeStrategyAttachment(ctx context.Context, serviceId, strategyId, bindApiId string) (has bool, errRet error)
- func (me *APIGatewayService) DescribeUsagePlan(ctx context.Context, usagePlanId string) (info apigateway.UsagePlanInfo, has bool, errRet error)
- func (me *APIGatewayService) DescribeUsagePlanEnvironments(ctx context.Context, usagePlanId string, bindType string) (list []*apigateway.UsagePlanEnvironment, errRet error)
- func (me *APIGatewayService) DescribeUsagePlansStatus(ctx context.Context, usagePlanId string, usagePlanName string) (infos []*apigateway.UsagePlanStatusInfo, errRet error)
- func (me *APIGatewayService) DisableApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) EnableApiKey(ctx context.Context, accessKeyId string) (errRet error)
- func (me *APIGatewayService) ModifyApiEnvironmentStrategy(ctx context.Context, serviceId string, strategy int64, environmentName string, ...) (result bool, errRet error)
- func (me *APIGatewayService) ModifyService(ctx context.Context, serviceId, serviceName, protocol, serviceDesc string, ...) (errRet error)
- func (me *APIGatewayService) ModifyServiceEnvironmentStrategy(ctx context.Context, serviceId string, strategy int64, ...) (result bool, errRet error)
- func (me *APIGatewayService) ModifySubDomainService(ctx context.Context, serviceId, subDomain string, isDefaultMapping bool, ...) (errRet error)
- func (me *APIGatewayService) ModifyUsagePlan(ctx context.Context, usagePlanId string, usagePlanName string, ...) (errRet error)
- func (me *APIGatewayService) ReleaseService(ctx context.Context, serviceId, environmentName, releaseDesc string) (response *apigateway.ReleaseServiceResponse, err error)
- func (me *APIGatewayService) UnBindEnvironment(ctx context.Context, ...) (errRet error)
- func (me *APIGatewayService) UnBindSecretId(ctx context.Context, usagePlanId string, apiKeyId string) (errRet error)
- func (me *APIGatewayService) UnBindSecretIds(ctx context.Context, usagePlanId string, accessKeyList []string) (errRet error)
- func (me *APIGatewayService) UnBindSubDomainService(ctx context.Context, serviceId, subDomain string) (errRet error)
- func (me *APIGatewayService) UnReleaseService(ctx context.Context, serviceId, environment string) (errRet error)
- func (me *APIGatewayService) UpdateIPStrategy(ctx context.Context, serviceId, strategyId, strategyData string) (errRet error)
- type APIService
- type AccountInfo
- type AccountPermission
- type AddonRequestBody
- type AddonResponseData
- type AddonResponseMeta
- type AddonSpec
- type AddonSpecChart
- type AddonSpecValues
- type AntiddosService
- func (me *AntiddosService) AssociateDDoSEipAddress(ctx context.Context, instanceId string, eip string, cvmInstanceID string, ...) (err error)
- func (me *AntiddosService) AssociateDDoSEipLoadBalancer(ctx context.Context, instanceId string, eip string, loadBalancerID string, ...) (err error)
- func (me *AntiddosService) CreateCCPrecisionPolicy(ctx context.Context, instanceId, protocol, ip, domain, policyAction string, ...) (err error)
- func (me *AntiddosService) CreateCCReqLimitPolicy(ctx context.Context, instanceId, protocol, ip, domain string, ...) (err error)
- func (me *AntiddosService) CreateCcBlackWhiteIpList(ctx context.Context, instanceId, protocol, ip, domain, ipType string, ...) (err error)
- func (me *AntiddosService) CreateCcGeoIPBlockConfig(ctx context.Context, instanceId, protocol, ip, domain string, ...) (err error)
- func (me *AntiddosService) CreateDDoSAI(ctx context.Context, instanceId, ddosAI string) (err error)
- func (me *AntiddosService) CreateDDoSBlackWhiteIpList(ctx context.Context, instanceId string, ipList []string, ipType string) (err error)
- func (me *AntiddosService) CreateDDoSConnectLimit(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) CreateDDoSGeoIPBlockConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) CreateDDoSSpeedLimitConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) CreatePacketFilterConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) CreatePortAclConfig(ctx context.Context, instanceId string, aclConfig antiddos.AclConfig) (err error)
- func (me *AntiddosService) CreateProtocolBlockConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) DeleteCCLevelPolicy(ctx context.Context, instanceId, ip, domain string) (err error)
- func (me *AntiddosService) DeleteCCPrecisionPolicy(ctx context.Context, instanceId, policyId string) (err error)
- func (me *AntiddosService) DeleteCCRequestLimitPolicy(ctx context.Context, instanceId, policyId string) (err error)
- func (me *AntiddosService) DeleteCCThresholdPolicy(ctx context.Context, instanceId, ip, domain string) (err error)
- func (me *AntiddosService) DeleteCcBlackWhiteIpList(ctx context.Context, instanceId, policyId string) (err error)
- func (me *AntiddosService) DeleteCcGeoIPBlockConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) DeleteDDoSAI(ctx context.Context, instanceId string) (err error)
- func (me *AntiddosService) DeleteDDoSBlackWhiteIpList(ctx context.Context, instanceId string, ips []string, ipType string) (err error)
- func (me *AntiddosService) DeleteDDoSConnectLimit(ctx context.Context, instanceId string) (err error)
- func (me *AntiddosService) DeleteDDoSGeoIPBlockConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) DeleteDDoSSpeedLimitConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) DeleteDDoSThreshold(ctx context.Context, business, instanceId string) (err error)
- func (me *AntiddosService) DeletePacketFilterConfig(ctx context.Context, instanceId string, ...) (err error)
- func (me *AntiddosService) DeletePortAclConfig(ctx context.Context, instanceId string, aclConfig antiddos.AclConfig) (err error)
- func (me *AntiddosService) DeleteProtocolBlockConfig(ctx context.Context, instanceId string) (err error)
- func (me *AntiddosService) DeleteyDDoSLevel(ctx context.Context, business, instanceId string) (err error)
- func (me *AntiddosService) DescribeAntiddosBoundipById(ctx context.Context, id string) (boundip *antiddos.BGPInstance, errRet error)
- func (me *AntiddosService) DescribeCCLevelList(ctx context.Context, business, instanceId string) (result []*antiddos.CCLevelPolicy, err error)
- func (me *AntiddosService) DescribeCCLevelPolicy(ctx context.Context, domain, instanceId, ip, protocol string) (level string, err error)
- func (me *AntiddosService) DescribeCCPrecisionPlyList(ctx context.Context, business, instanceId string) (result []*antiddos.CCPrecisionPolicy, err error)
- func (me *AntiddosService) DescribeCCReqLimitPolicyList(ctx context.Context, business, instanceId string) (result []*antiddos.CCReqLimitPolicy, err error)
- func (me *AntiddosService) DescribeCCThresholdList(ctx context.Context, business, instanceId string) (result []*antiddos.CCThresholdPolicy, err error)
- func (me *AntiddosService) DescribeCcBlackWhiteIpList(ctx context.Context, business, instanceId string) (result []*antiddos.CcBlackWhiteIpPolicy, err error)
- func (me *AntiddosService) DescribeCcGeoIPBlockConfigList(ctx context.Context, business, instanceId string) (result []*antiddos.CcGeoIpPolicyNew, err error)
- func (me *AntiddosService) DescribeDDoSConnectLimitList(ctx context.Context, instanceId string) (result antiddos.ConnectLimitConfig, err error)
- func (me *AntiddosService) DescribeListBGPIPInstanceById(ctx context.Context, business, instanceId string) (result []*antiddos.BGPIPInstance, err error)
- func (me *AntiddosService) DescribeListBGPIPInstances(ctx context.Context, instanceId string, status []string, offset int, limit int) (result []*antiddos.BGPIPInstance, err error)
- func (me *AntiddosService) DescribeListBGPInstanceById(ctx context.Context, business, instanceId string) (result []*antiddos.BGPInstance, err error)
- func (me *AntiddosService) DescribeListBlackWhiteIpList(ctx context.Context, instanceId string) (result []*antiddos.BlackWhiteIpRelation, err error)
- func (me *AntiddosService) DescribeListDDoSAI(ctx context.Context, instanceId string) (result antiddos.DDoSAIRelation, err error)
- func (me *AntiddosService) DescribeListDDoSGeoIPBlockConfig(ctx context.Context, instanceId string) (result []*antiddos.DDoSGeoIPBlockConfigRelation, err error)
- func (me *AntiddosService) DescribeListDDoSSpeedLimitConfig(ctx context.Context, instanceId string) (result []*antiddos.DDoSSpeedLimitConfigRelation, err error)
- func (me *AntiddosService) DescribeListPacketFilterConfig(ctx context.Context, instanceId string) (result []*antiddos.PacketFilterRelation, err error)
- func (me *AntiddosService) DescribeListPortAclList(ctx context.Context, instanceId string) (result []*antiddos.AclConfigRelation, err error)
- func (me *AntiddosService) DescribeListProtectThresholdConfig(ctx context.Context, instanceId string) (result antiddos.ProtectThresholdRelation, err error)
- func (me *AntiddosService) DescribeListProtocolBlockConfig(ctx context.Context, instanceId string) (result antiddos.ProtocolBlockRelation, err error)
- func (me *AntiddosService) DescribeListWaterPrintConfig(ctx context.Context, instanceId string) (result antiddos.WaterPrintRelation, err error)
- func (me *AntiddosService) DisassociateDDoSEipAddress(ctx context.Context, instanceId string, eip string) (err error)
- func (me *AntiddosService) ModifyCCLevelPolicy(ctx context.Context, instanceId, ip, domain, protocol, level string) (err error)
- func (me *AntiddosService) ModifyCCThresholdPolicy(ctx context.Context, instanceId, protocol, ip, domain string, threshold int) (err error)
- func (me *AntiddosService) ModifyDDoSLevel(ctx context.Context, business, instanceId, ddosLevel string) (err error)
- func (me *AntiddosService) ModifyDDoSThreshold(ctx context.Context, business, instanceId string, threshold int) (err error)
- type ApmService
- type AsService
- func (me *AsService) AttachInstances(ctx context.Context, scalingGroupId string, instanceIds []string) error
- func (me *AsService) ClearScalingGroupInstance(ctx context.Context, scalingGroupId string) error
- func (me *AsService) DeleteAsLoadBalancerById(ctx context.Context, autoScalingGroupId string) (errRet error)
- func (me *AsService) DeleteLaunchConfiguration(ctx context.Context, configurationId string) error
- func (me *AsService) DeleteLifecycleHook(ctx context.Context, lifecycleHookId string) error
- func (me *AsService) DeleteNotification(ctx context.Context, notificationId string) error
- func (me *AsService) DeleteScalingGroup(ctx context.Context, scalingGroupId string) error
- func (me *AsService) DeleteScalingPolicy(ctx context.Context, scalingPolicyId string) error
- func (me *AsService) DeleteScheduledAction(ctx context.Context, scheduledActonId string) error
- func (me *AsService) DescribeActivityById(ctx context.Context, activityId string) (status string, errRet error)
- func (me *AsService) DescribeAsAdvices(ctx context.Context, param map[string]interface{}) (advices []*as.AutoScalingAdvice, errRet error)
- func (me *AsService) DescribeAsInstancesByFilter(ctx context.Context, param map[string]interface{}) (instances []*as.Instance, errRet error)
- func (me *AsService) DescribeAsLastActivity(ctx context.Context, param map[string]interface{}) (lastActivity []*as.Activity, errRet error)
- func (me *AsService) DescribeAsLimits(ctx context.Context) (limits *as.DescribeAccountLimitsResponseParams, errRet error)
- func (me *AsService) DescribeAsLoadBalancerById(ctx context.Context, autoScalingGroupId string) (loadBalancer *as.AutoScalingGroup, errRet error)
- func (me *AsService) DescribeAutoScalingAttachment(ctx context.Context, scalingGroupId string, fully bool) (instanceIds []string, errRet error)
- func (me *AsService) DescribeAutoScalingGroupByFilter(ctx context.Context, scalingGroupId, configurationId, scalingGroupName string, ...) (scalingGroups []*as.AutoScalingGroup, errRet error)
- func (me *AsService) DescribeAutoScalingGroupById(ctx context.Context, scalingGroupId string) (scalingGroup *as.AutoScalingGroup, has int, errRet error)
- func (me *AsService) DescribeLaunchConfigurationByFilter(ctx context.Context, configurationId, configurationName string) (configs []*as.LaunchConfiguration, errRet error)
- func (me *AsService) DescribeLaunchConfigurationById(ctx context.Context, configurationId string) (config *as.LaunchConfiguration, has int, errRet error)
- func (me *AsService) DescribeLifecycleHookById(ctx context.Context, lifecycleHookId string) (lifecycleHook *as.LifecycleHook, has int, errRet error)
- func (me *AsService) DescribeNotificationById(ctx context.Context, notificationId string) (notification *as.AutoScalingNotification, has int, errRet error)
- func (me *AsService) DescribeScalingPolicyByFilter(ctx context.Context, policyId, policyName, scalingGroupId string) (scalingPolicies []*as.ScalingPolicy, errRet error)
- func (me *AsService) DescribeScalingPolicyById(ctx context.Context, scalingPolicyId string) (scalingPolicy *as.ScalingPolicy, has int, errRet error)
- func (me *AsService) DescribeScheduledActionById(ctx context.Context, scheduledActionId string) (scheduledAction *as.ScheduledAction, has int, errRet error)
- func (me *AsService) DetachInstances(ctx context.Context, scalingGroupId string, instanceIds []string) error
- func (me *AsService) ModifyAutoScalingGroup(ctx context.Context, request *as.ModifyAutoScalingGroupRequest) (errRet error)
- type AuditService
- func (me *AuditService) DeleteAuditTrackById(ctx context.Context, trackId string) (errRet error)
- func (me *AuditService) DescribeAuditById(ctx context.Context, name string) (auditInfo *audit.DescribeAuditResponse, has bool, errRet error)
- func (me *AuditService) DescribeAuditCmqRegions(ctx context.Context) (regions []*audit.CmqRegionInfo, errRet error)
- func (me *AuditService) DescribeAuditCosRegions(ctx context.Context) (regions []*audit.CosRegionInfo, errRet error)
- func (me *AuditService) DescribeAuditTrackById(ctx context.Context, trackId string) (track *audit.DescribeAuditTrackResponseParams, errRet error)
- func (me *AuditService) DescribeKeyAlias(ctx context.Context, region string) (keyMetadatas []*audit.KeyMetadata, errRet error)
- type BiService
- func (me *BiService) DeleteBiDatasourceById(ctx context.Context, projectId uint64, id uint64) (errRet error)
- func (me *BiService) DeleteBiDatasourceCloudById(ctx context.Context, projectId, id uint64) (errRet error)
- func (me *BiService) DeleteBiProjectById(ctx context.Context, projectId uint64) (errRet error)
- func (me *BiService) DeleteBiProjectUserRoleById(ctx context.Context, projectId int64, userId string) (errRet error)
- func (me *BiService) DeleteBiUserRoleById(ctx context.Context, userId string) (errRet error)
- func (me *BiService) DescribeBiDatasourceById(ctx context.Context, projectId uint64, id uint64) (datasource *bi.DatasourceInfo, errRet error)
- func (me *BiService) DescribeBiDatasourceCloudById(ctx context.Context, projectId, id uint64) (datasourceCloud *bi.DatasourceInfo, errRet error)
- func (me *BiService) DescribeBiProjectByFilter(ctx context.Context, param map[string]interface{}) (project []*bi.Project, errRet error)
- func (me *BiService) DescribeBiProjectById(ctx context.Context, projectId uint64) (project *bi.Project, errRet error)
- func (me *BiService) DescribeBiProjectUserRoleById(ctx context.Context, projectId int64, userId string) (projectUserRole *bi.UserRoleListDataUserRoleInfo, errRet error)
- func (me *BiService) DescribeBiUserProjectByFilter(ctx context.Context, param map[string]interface{}) (userProject []*bi.UserIdAndUserName, errRet error)
- func (me *BiService) DescribeBiUserRoleById(ctx context.Context, userId string) (userRole *bi.UserRoleListDataUserRoleInfo, errRet error)
- type CamService
- func (me *CamService) AddGroupPolicyAttachment(ctx context.Context, groupId string, policyId string) error
- func (me *CamService) AddUserPolicyAttachment(ctx context.Context, userId string, policyId string) error
- func (me *CamService) DeleteCamAccessKeyById(ctx context.Context, uin, accessKeyId string) (errRet error)
- func (me *CamService) DeleteCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (errRet error)
- func (me *CamService) DeleteCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, roleName string) (errRet error)
- func (me *CamService) DeleteCamServiceLinkedRoleById(ctx context.Context, roleId string) (deletionTaskId string, errRet error)
- func (me *CamService) DeleteCamTagRoleById(ctx context.Context, roleName, roleId string, keys []*string) (errRet error)
- func (me *CamService) DeleteCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (errRet error)
- func (me *CamService) DeleteCamUserSamlConfigById(ctx context.Context) (errRet error)
- func (me *CamService) DeleteGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) error
- func (me *CamService) DeleteRoleById(ctx context.Context, roleId string) error
- func (me *CamService) DeleteRoleByName(ctx context.Context, roleName string) error
- func (me *CamService) DeleteRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) error
- func (me *CamService) DeleteRolePolicyAttachmentByName(ctx context.Context, roleName, policyName string) error
- func (me *CamService) DeleteUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) error
- func (me *CamService) DescribeCamAccessKeyById(ctx context.Context, targetUin uint64, accessKey string) (AccessKey *cam.AccessKey, errRet error)
- func (me *CamService) DescribeCamAccountSummaryByFilter(ctx context.Context) (AccountSummary *cam.GetAccountSummaryResponseParams, errRet error)
- func (me *CamService) DescribeCamListAttachedUserPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListAttachedUserPolicy []*cam.AttachedUserPolicy, errRet error)
- func (me *CamService) DescribeCamListEntitiesForPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListEntitiesForPolicy []*cam.AttachEntityOfPolicy, errRet error)
- func (me *CamService) DescribeCamMfaFlagById(ctx context.Context, id uint64) (loginFlag *cam.LoginActionFlag, actionFlag *cam.LoginActionFlag, errRet error)
- func (me *CamService) DescribeCamPolicyGrantingServiceAccessByFilter(ctx context.Context, param map[string]interface{}) (PolicyGrantingServiceAccess []*cam.ListGrantServiceAccessNode, errRet error)
- func (me *CamService) DescribeCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (policyVersion *cam.PolicyVersionDetail, errRet error)
- func (me *CamService) DescribeCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, policyId string) (RolePermissionBoundaryAttachment *cam.GetRolePermissionBoundaryResponseParams, ...)
- func (me *CamService) DescribeCamSecretLastUsedTimeByFilter(ctx context.Context, param map[string]interface{}) (SecretLastUsedTime []*cam.SecretIdLastUsed, errRet error)
- func (me *CamService) DescribeCamServiceLinkedRole(ctx context.Context, roleId string) (serviceLinkedRole *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeCamServiceLinkedRoleDeleteStatus(ctx context.Context, deletionTaskId string) (response *cam.GetServiceLinkedRoleDeletionStatusResponse, errRet error)
- func (me *CamService) DescribeCamSetPolicyVersionById(ctx context.Context, policyId, versionId string) (SetPolicyVersion *cam.PolicyVersionItem, errRet error)
- func (me *CamService) DescribeCamTagRoleById(ctx context.Context, roleName, roleId string) (TagRole *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (UserPermissionBoundary *cam.GetUserPermissionBoundaryResponse, errRet error)
- func (me *CamService) DescribeCamUserSamlConfigById(ctx context.Context) (userSamlConfig *cam.DescribeUserSAMLConfigResponse, errRet error)
- func (me *CamService) DescribeGroupById(ctx context.Context, groupId string) (camInstance *cam.GetGroupResponse, errRet error)
- func (me *CamService) DescribeGroupMembershipById(ctx context.Context, groupId string) (members []*string, errRet error)
- func (me *CamService) DescribeGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeGroupPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeGroupsByFilter(ctx context.Context, params map[string]interface{}) (groups []*cam.GroupInfo, errRet error)
- func (me *CamService) DescribePoliciesByFilter(ctx context.Context, params map[string]interface{}) (policies []*cam.StrategyInfo, errRet error)
- func (me *CamService) DescribePolicyById(ctx context.Context, policyId string) (result *cam.GetPolicyResponse, errRet error)
- func (me *CamService) DescribeRoleById(ctx context.Context, roleId string) (camInstance *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentByName(ctx context.Context, roleName string, params map[string]interface{}) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyOfRoles []*cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolesByFilter(ctx context.Context, params map[string]interface{}) (roles []*cam.RoleInfo, errRet error)
- func (me *CamService) DescribeSAMLProviderById(ctx context.Context, providerName string) (result *cam.GetSAMLProviderResponse, errRet error)
- func (me *CamService) DescribeSAMLProvidersByFilter(ctx context.Context, params map[string]interface{}) (providers []*cam.SAMLProviderInfo, errRet error)
- func (me *CamService) DescribeUserById(ctx context.Context, userId string) (response *cam.GetUserResponse, errRet error)
- func (me *CamService) DescribeUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeUserPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeUsersByFilter(ctx context.Context, params map[string]interface{}) (result []*cam.SubAccountInfo, errRet error)
- func (me *CamService) PolicyDocumentForceCheck(document string) error
- type CatService
- func (me *CatService) DeleteCatTaskSetById(ctx context.Context, taskId string) (errRet error)
- func (me *CatService) DescribeCatMetricDataByFilter(ctx context.Context, param map[string]interface{}) (metricData *cat.DescribeProbeMetricDataResponseParams, errRet error)
- func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefineExt, errRet error)
- func (me *CatService) DescribeCatProbeDataByFilter(ctx context.Context, param map[string]interface{}) (probeData []*cat.DetailedSingleDataDefine, errRet error)
- func (me *CatService) DescribeCatProbeNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefine, errRet error)
- func (me *CatService) DescribeCatTaskSet(ctx context.Context, taskId string) (taskSet *cat.ProbeTask, errRet error)
- type CbsService
- func (me *CbsService) ApplyDiskBackup(ctx context.Context, diskBackupId, diskId string) (errRet error)
- func (me *CbsService) ApplySnapshot(ctx context.Context, diskId, snapshotId string) error
- func (me *CbsService) AttachDisk(ctx context.Context, diskId, instanceId string) error
- func (me *CbsService) AttachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
- func (me *CbsService) CreateDiskBackup(ctx context.Context, diskId, diskBackupName string) (diskBackupId string, errRet error)
- func (me *CbsService) CreateSnapshot(ctx context.Context, diskId, snapshotName string, tags map[string]string) (snapshotId string, errRet error)
- func (me *CbsService) DeleteCbsDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
- func (me *CbsService) DeleteDiskById(ctx context.Context, diskId string) error
- func (me *CbsService) DeleteDiskSetByIds(ctx context.Context, diskSetIds string) error
- func (me *CbsService) DeleteSnapshot(ctx context.Context, snapshotId string) error
- func (me *CbsService) DeleteSnapshotPolicy(ctx context.Context, policyId string) error
- func (me *CbsService) DescribeAttachedSnapshotPolicy(ctx context.Context, diskId, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeCbsDiskBackupById(ctx context.Context, diskBackupId string) (DiskBackup *cbs.DiskBackup, errRet error)
- func (me *CbsService) DescribeCbsSnapshotSharePermissionById(ctx context.Context, snapshotId string) (snapshotSharePermissions []*cbs.SharePermission, errRet error)
- func (me *CbsService) DescribeDiskById(ctx context.Context, diskId string) (disk *cbs.Disk, errRet error)
- func (me *CbsService) DescribeDiskList(ctx context.Context, diskIds []*string) (disk []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDiskSetByIds(ctx context.Context, diskSetIds string) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDisksByFilter(ctx context.Context, params map[string]interface{}) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDisksInParallelByFilter(ctx context.Context, params map[string]interface{}) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeSnapshotById(ctx context.Context, snapshotId string) (snapshot *cbs.Snapshot, errRet error)
- func (me *CbsService) DescribeSnapshotByIds(ctx context.Context, snapshotIdsParam []*string) (snapshots []*cbs.Snapshot, errRet error)
- func (me *CbsService) DescribeSnapshotPolicy(ctx context.Context, policyId, policyName string) (policies []*cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeSnapshotPolicyById(ctx context.Context, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeSnapshotsByFilter(ctx context.Context, params map[string]string) (snapshots []*cbs.Snapshot, errRet error)
- func (me *CbsService) DetachDisk(ctx context.Context, diskId, instanceId string) error
- func (me *CbsService) ModifyDiskAttributes(ctx context.Context, diskId, diskName string, projectId int) error
- func (me *CbsService) ModifyDiskBackupQuota(ctx context.Context, diskId string, diskBackupQuota int) (errRet error)
- func (me *CbsService) ModifyDiskChargeType(ctx context.Context, storageId string, chargeType string, renewFlag string, ...) error
- func (me *CbsService) ModifyDisksRenewFlag(ctx context.Context, storageId string, renewFlag string) error
- func (me *CbsService) ModifySnapshotName(ctx context.Context, snapshotId, snapshotName string) error
- func (me *CbsService) ModifySnapshotsSharePermission(ctx context.Context, snapshotId, permission string, accountIds []string) (errRet error)
- func (me *CbsService) ModifyThroughputPerformance(ctx context.Context, diskId string, throughputPerformance int) error
- func (me *CbsService) ResizeDisk(ctx context.Context, diskId string, diskSize int) error
- func (me *CbsService) UnattachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
- type CcnAttachedInstanceInfo
- type CcnBandwidthLimit
- type CcnBasicInfo
- type CdhService
- func (me *CdhService) CreateCdhInstance(ctx context.Context, placement *cvm.Placement, ...) (hostId string, errRet error)
- func (me *CdhService) DescribeCdhInstanceByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.HostItem, errRet error)
- func (me *CdhService) DescribeCdhInstanceById(ctx context.Context, hostId string) (instance *cvm.HostItem, errRet error)
- func (me *CdhService) ModifyHostName(ctx context.Context, hostId, hostName string) (errRet error)
- func (me *CdhService) ModifyPrepaidRenewFlag(ctx context.Context, hostId, renewFlag string) (errRet error)
- func (me *CdhService) ModifyProject(ctx context.Context, hostId string, projectId int) (errRet error)
- type CdnService
- func (me *CdnService) CreateVerifyRecord(ctx context.Context, domain string) (resp *cdn.CreateVerifyRecordResponseParams, errRet error)
- func (me *CdnService) DeleteDomain(ctx context.Context, domain string) error
- func (me *CdnService) DescribeDomainsConfigByDomain(ctx context.Context, domain string) (domainConfig *cdn.DetailDomain, errRet error)
- func (me *CdnService) DescribeDomainsConfigByFilters(ctx context.Context, filterMap map[string]interface{}) (domainConfig []*cdn.DetailDomain, errRet error)
- func (me *CdnService) DescribePurgeTasks(ctx context.Context, request *cdn.DescribePurgeTasksRequest) (task []*cdn.PurgeTask, errRet error)
- func (me *CdnService) DescribePushTasks(ctx context.Context, request *cdn.DescribePushTasksRequest) (task []*cdn.PushTask, errRet error)
- func (me *CdnService) PurgeUrlsCache(ctx context.Context, request *cdn.PurgeUrlsCacheRequest) (taskId string, errRet error)
- func (me *CdnService) PushUrlsCache(ctx context.Context, request *cdn.PushUrlsCacheRequest) (taskId string, errRet error)
- func (me *CdnService) StartDomain(ctx context.Context, domain string) error
- func (me *CdnService) StopDomain(ctx context.Context, domain string) error
- func (me *CdnService) UpdateDomainConfig(ctx context.Context, request *cdn.UpdateDomainConfigRequest) (errRet error)
- func (me *CdnService) VerifyDomainRecord(ctx context.Context, domain string) (result bool, errRet error)
- type CdnVerifyRecordResponse
- type CdwchService
- func (me *CdwchService) ActionAlterCkUser(ctx context.Context, apiType string, userInfo map[string]interface{}) error
- func (me *CdwchService) CreateBackUpSchedule(ctx context.Context, instanceId string, paramMap map[string]interface{}) error
- func (me *CdwchService) DescribeBackUpScheduleById(ctx context.Context, instanceId string) (backup *cdwch.DescribeBackUpScheduleResponseParams, errRet error)
- func (me *CdwchService) DescribeCdwchAccountPermission(ctx context.Context, instanceId, cluster, username string) (userNewPrivilege *cdwch.ModifyUserNewPrivilegeRequestParams, errRet error)
- func (me *CdwchService) DescribeCkSqlApis(ctx context.Context, instanceId, cluster, userName, apiType string) error
- func (me *CdwchService) DescribeClickhouseAccountByUserName(ctx context.Context, instanceId, userName string) (accounts []*AccountInfo, errRet error)
- func (me *CdwchService) DescribeClickhouseBackupJobsByFilter(ctx context.Context, param map[string]interface{}) (backupJobs []*clickhouse.BackUpJobDisplay, errRet error)
- func (me *CdwchService) DescribeClickhouseBackupTablesByFilter(ctx context.Context, instanceId string) (backupTables []*clickhouse.BackupTableContent, errRet error)
- func (me *CdwchService) DescribeInstance(ctx context.Context, instanceId string) (InstanceInfo *cdwch.InstanceInfo, errRet error)
- func (me *CdwchService) DescribeInstanceClusters(ctx context.Context, instanceId string) (clusterInfos []*cdwch.ClusterInfo, errRet error)
- func (me *CdwchService) DescribeInstancesNew(ctx context.Context, instanceId string) (instancesList []*cdwch.InstanceInfo, errRet error)
- func (me *CdwchService) DestroyInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *CdwchService) ResizeDisk(ctx context.Context, instanceId string, nodeType string, resizeDisk int) (errRet error)
- func (me *CdwchService) ScaleOutInstance(ctx context.Context, instanceId string, nodeType string, ...) (errRet error)
- func (me *CdwchService) ScaleUpInstance(ctx context.Context, instanceId, nodeType, specName string) (errRet error)
- type CdwpgService
- func (me *CdwpgService) DeleteCdwpgInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *CdwpgService) DescribeCdwpgInstanceById(ctx context.Context, instanceId string) (instance *cdwpg.SimpleInstanceInfo, errRet error)
- func (me *CdwpgService) InstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- type CfsService
- func (me *CfsService) CfsSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
- func (me *CfsService) CreateAccessGroup(ctx context.Context, name, description string) (id string, errRet error)
- func (me *CfsService) DeleteAccessGroup(ctx context.Context, id string) error
- func (me *CfsService) DeleteAccessRule(ctx context.Context, accessGroupId, accessRuleId string) error
- func (me *CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (errRet error)
- func (me *CfsService) DeleteCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (errRet error)
- func (me *CfsService) DeleteCfsSnapshotById(ctx context.Context, snapshotId string) (errRet error)
- func (me *CfsService) DeleteCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (errRet error)
- func (me *CfsService) DeleteFileSystem(ctx context.Context, fsId string) error
- func (me *CfsService) DescribeAccessGroup(ctx context.Context, id, name string) (accessGroups []*cfs.PGroupInfo, errRet error)
- func (me *CfsService) DescribeAccessRule(ctx context.Context, accessGroupId, accessRuleId string) (accessRules []*cfs.PGroupRuleInfo, errRet error)
- func (me *CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (autoSnapshotPolicyAttachment *cfs.AutoSnapshotPolicyInfo, errRet error)
- func (me *CfsService) DescribeCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (autoSnapshotPolicy *cfs.AutoSnapshotPolicyInfo, errRet error)
- func (me *CfsService) DescribeCfsAvailableZoneByFilter(ctx context.Context) (availableZone []*cfs.AvailableRegion, errRet error)
- func (me *CfsService) DescribeCfsFileSystemClientsById(ctx context.Context, fileSystemId string) (fileSystemClients []*cfs.FileSystemClient, errRet error)
- func (me *CfsService) DescribeCfsMountTargetsById(ctx context.Context, fileSystemId string) (mountTargets []*cfs.MountInfo, errRet error)
- func (me *CfsService) DescribeCfsSnapshotById(ctx context.Context, snapshotId string) (snapshot *cfs.SnapshotInfo, errRet error)
- func (me *CfsService) DescribeCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (userQuota *cfs.UserQuota, errRet error)
- func (me *CfsService) DescribeFileSystem(ctx context.Context, fsId, vpcId, subnetId string) (fs []*cfs.FileSystemInfo, errRet error)
- func (me *CfsService) DescribeMountTargets(ctx context.Context, fsId string) (targets []*cfs.MountInfo, errRet error)
- func (me *CfsService) ModifyFileSystemAccessGroup(ctx context.Context, fsId, accessGroupId string) error
- func (me *CfsService) ModifyFileSystemName(ctx context.Context, fsId, fsName string) error
- type CfwService
- func (me *CfwService) DeleteCfwAddressTemplateById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (errRet error)
- func (me *CfwService) DeleteCfwEdgePolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwNatInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *CfwService) DeleteCfwNatPolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwVpcInstanceById(ctx context.Context, fwGroupId string) (errRet error)
- func (me *CfwService) DeleteCfwVpcPolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DescribeCfwAddressTemplateById(ctx context.Context, uuid string) (addressTemplate *cfw.TemplateListInfo, errRet error)
- func (me *CfwService) DescribeCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (blockIgnoreRule *cfw.BlockIgnoreRule, errRet error)
- func (me *CfwService) DescribeCfwEdgeFirewallSwitchById(ctx context.Context, publicIp string) (edgeFirewallSwitch *cfw.EdgeIpInfo, errRet error)
- func (me *CfwService) DescribeCfwEdgeFwSwitchesByFilter(ctx context.Context) (edgeFwSwitches []*cfw.EdgeIpInfo, errRet error)
- func (me *CfwService) DescribeCfwEdgePolicyById(ctx context.Context, uuid string) (edgePolicy *cfw.DescAcItem, errRet error)
- func (me *CfwService) DescribeCfwEipsById(ctx context.Context, instanceId string) (gwList []string, errRet error)
- func (me *CfwService) DescribeCfwNatFirewallSwitchById(ctx context.Context, natInsId, subnetId string) (natFirewallSwitch *cfw.NatSwitchListData, errRet error)
- func (me *CfwService) DescribeCfwNatFwSwitchesByFilter(ctx context.Context, param map[string]interface{}) (natFwSwitches []*cfw.NatSwitchListData, errRet error)
- func (me *CfwService) DescribeCfwNatInstanceById(ctx context.Context, natinsId string) (natInstance *cfw.NatInstanceInfo, errRet error)
- func (me *CfwService) DescribeCfwNatPolicyById(ctx context.Context, uuid string) (natPolicy *cfw.DescAcItem, errRet error)
- func (me *CfwService) DescribeCfwVpcFirewallSwitchById(ctx context.Context, vpcInsId, switchId string) (vpcFirewallSwitch *cfw.FwGroupSwitchShow, errRet error)
- func (me *CfwService) DescribeCfwVpcFwSwitchesByFilter(ctx context.Context, vpcInsId string) (vpcFirewallSwitch []*cfw.FwGroupSwitchShow, errRet error)
- func (me *CfwService) DescribeCfwVpcInstanceById(ctx context.Context, fwGroupId string) (vpcInstance *cfw.VpcFwGroupInfo, errRet error)
- func (me *CfwService) DescribeCfwVpcPolicyById(ctx context.Context, uuid string) (vpcPolicy *cfw.VpcRuleItem, errRet error)
- func (me *CfwService) DescribeFwGroupInstanceInfoById(ctx context.Context, fwGroupId string) (vpcFwGroupInfo *cfw.VpcFwGroupInfo, errRet error)
- func (me *CfwService) DescribeNatFwVpcDnsLstById(ctx context.Context, instanceId string) (vpcList []string, errRet error)
- type ChdfsService
- func (me *ChdfsService) ChdfsFileSystemStateRefreshFunc(fileSystemId string, failStates []string) resource.StateRefreshFunc
- func (me *ChdfsService) DeleteChdfsAccessGroupById(ctx context.Context, accessGroupId string) (errRet error)
- func (me *ChdfsService) DeleteChdfsAccessRulesById(ctx context.Context, accessRuleId string) (errRet error)
- func (me *ChdfsService) DeleteChdfsFileSystemById(ctx context.Context, fileSystemId string) (errRet error)
- func (me *ChdfsService) DeleteChdfsLifeCycleRuleById(ctx context.Context, lifeCycleRuleId string) (errRet error)
- func (me *ChdfsService) DeleteChdfsMountPointAttachmentById(ctx context.Context, mountPointId string, accessGroupIds []*string) (errRet error)
- func (me *ChdfsService) DeleteChdfsMountPointById(ctx context.Context, mountPointId string) (errRet error)
- func (me *ChdfsService) DescribeChdfsAccessGroupById(ctx context.Context, accessGroupId string) (accessGroup *chdfs.AccessGroup, errRet error)
- func (me *ChdfsService) DescribeChdfsAccessGroupsByFilter(ctx context.Context, param map[string]interface{}) (AccessGroups []*chdfs.AccessGroup, errRet error)
- func (me *ChdfsService) DescribeChdfsAccessRulesById(ctx context.Context, accessGroupId string, accessRuleId string) (accessRule *chdfs.AccessRule, errRet error)
- func (me *ChdfsService) DescribeChdfsFileSystemById(ctx context.Context, fileSystemId string) (fileSystem *chdfs.FileSystem, errRet error)
- func (me *ChdfsService) DescribeChdfsFileSystems(ctx context.Context) (fileSystems []*chdfs.FileSystem, errRet error)
- func (me *ChdfsService) DescribeChdfsLifeCycleRuleById(ctx context.Context, fileSystemId string, lifeCycleRuleId string) (lifeCycleRule *chdfs.LifeCycleRule, errRet error)
- func (me *ChdfsService) DescribeChdfsLifeCycleRuleByPath(ctx context.Context, fileSystemId string, path string) (lifeCycleRule *chdfs.LifeCycleRule, errRet error)
- func (me *ChdfsService) DescribeChdfsMountPointById(ctx context.Context, mountPointId string) (mountPoint *chdfs.MountPoint, errRet error)
- func (me *ChdfsService) DescribeChdfsMountPointsByFilter(ctx context.Context, param map[string]interface{}) (MountPoints []*chdfs.MountPoint, errRet error)
- type CiService
- func (me *CiService) CloseCiGuetzliById(ctx context.Context, bucket string) (errRet error)
- func (me *CiService) CloseCiOriginalImageProtectionById(ctx context.Context, bucket string) (errRet error)
- func (me *CiService) DeleteCiBucketById(ctx context.Context, bucket string) (errRet error)
- func (me *CiService) DeleteCiBucketPicStyleById(ctx context.Context, bucket, styleName string) (errRet error)
- func (me *CiService) DeleteCiMediaTemplateById(ctx context.Context, bucket, templateId string) (errRet error)
- func (me *CiService) DescribeCiBucketById(ctx context.Context, bucket string) (serviceResult *cos.CIServiceResult, errRet error)
- func (me *CiService) DescribeCiBucketPicStyleById(ctx context.Context, bucket, styleName string) (styleRule *cos.StyleRule, errRet error)
- func (me *CiService) DescribeCiHotLinkById(ctx context.Context, bucket string) (hotLink *cos.HotLinkResult, errRet error)
- func (me *CiService) DescribeCiMediaTemplateById(ctx context.Context, bucket, templateId string) (mediaSnapshotTemplate *cos.Template, errRet error)
- func (me *CiService) GetCiGuetzliById(ctx context.Context, bucket string) (*cos.GetGuetzliResult, error)
- func (me *CiService) GetCiOriginalImageProtectionById(ctx context.Context, bucket string) (*cos.OriginProtectResult, error)
- func (me *CiService) OpenCiGuetzliById(ctx context.Context, bucket string) (errRet error)
- func (me *CiService) OpenCiOriginalImageProtectionById(ctx context.Context, bucket string) (errRet error)
- type CiamService
- func (me *CiamService) DeleteCiamUserGroupById(ctx context.Context, userStoreId string, userGroupId string) (errRet error)
- func (me *CiamService) DeleteCiamUserStoreById(ctx context.Context, userPoolId string) (errRet error)
- func (me *CiamService) DescribeCiamUserGroupById(ctx context.Context, userStoreId string, userGroupId string) (userGroup *ciam.UserGroup, errRet error)
- func (me *CiamService) DescribeCiamUserStoreById(ctx context.Context, userPoolId string) (userStore *ciam.UserStore, errRet error)
- type CkafkaService
- func (me *CkafkaService) AddCkafkaTopicIpWhiteList(ctx context.Context, instanceId string, topicName string, ...) (errRet error)
- func (me *CkafkaService) AddCkafkaTopicPartition(ctx context.Context, instanceId string, topicName string, partitionNum int64) (errRet error)
- func (me *CkafkaService) CheckCkafkaInstanceReady(ctx context.Context, instanceId string) (has bool, ready bool, errRet error)
- func (me *CkafkaService) CkafkaConnectResourceStateRefreshFunc(resourceId string, failStates []string) resource.StateRefreshFunc
- func (me *CkafkaService) CkafkaDatahubTaskStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
- func (me *CkafkaService) CkafkaRouteStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
- func (me *CkafkaService) CreateAcl(ctx context.Context, ...) (errRet error)
- func (me *CkafkaService) CreateCkafkaTopic(ctx context.Context, request *ckafka.CreateTopicRequest) (errRet error)
- func (me *CkafkaService) CreateUser(ctx context.Context, instanceId, user, password string) (errRet error)
- func (me *CkafkaService) DeleteAcl(ctx context.Context, aclId string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaAclRuleById(ctx context.Context, instanceId string, ruleName string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaConnectResourceById(ctx context.Context, resourceId string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaConsumerGroupById(ctx context.Context, instanceId string, groupName string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaDatahubTaskById(ctx context.Context, taskId string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaDatahubTopicById(ctx context.Context, topicName string) (errRet error)
- func (me *CkafkaService) DeleteCkafkaRouteById(ctx context.Context, instanceId string, routeId int64) (errRet error)
- func (me *CkafkaService) DeleteCkafkaTopic(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *CkafkaService) DeleteUser(ctx context.Context, userId string) (errRet error)
- func (me *CkafkaService) DescribeAclByAclId(ctx context.Context, aclId string) (aclInfo *ckafka.Acl, has bool, errRet error)
- func (me *CkafkaService) DescribeAclByFilter(ctx context.Context, params map[string]interface{}) (aclInfos []*ckafka.Acl, errRet error)
- func (me *CkafkaService) DescribeCkafkaAclRuleById(ctx context.Context, instanceId string, ruleName string) (aclRule *ckafka.AclRule, errRet error)
- func (me *CkafkaService) DescribeCkafkaById(ctx context.Context, instanceId string) (instance *ckafka.InstanceDetail, has bool, errRet error)
- func (me *CkafkaService) DescribeCkafkaCkafkaZoneByFilter(ctx context.Context, param map[string]interface{}) (ckafkaZone *ckafka.ZoneResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaConnectResourceByFilter(ctx context.Context, params map[string]interface{}) (describeConnectResourceResp *ckafka.DescribeConnectResourcesResp, errRet error)
- func (me *CkafkaService) DescribeCkafkaConnectResourceById(ctx context.Context, resourceId string) (connectResource *ckafka.DescribeConnectResourceResp, errRet error)
- func (me *CkafkaService) DescribeCkafkaConsumerGroupById(ctx context.Context, instanceId string, groupName string) (consumerGroup *ckafka.ConsumerGroupResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaDatahubGroupOffsetsByFilter(ctx context.Context, param map[string]interface{}) (groupOffsetTopics []*ckafka.GroupOffsetTopic, errRet error)
- func (me *CkafkaService) DescribeCkafkaDatahubTaskByFilter(ctx context.Context, param map[string]interface{}) (datahubTaskInfos []*ckafka.DatahubTaskInfo, errRet error)
- func (me *CkafkaService) DescribeCkafkaDatahubTopicByFilter(ctx context.Context, paramMap map[string]interface{}) (result *ckafka.DescribeDatahubTopicsResp, errRet error)
- func (me *CkafkaService) DescribeCkafkaDatahubTopicById(ctx context.Context, topicName string) (datahubTopic *ckafka.DescribeDatahubTopicResp, errRet error)
- func (me *CkafkaService) DescribeCkafkaGroupByFilter(ctx context.Context, param map[string]interface{}) (groups []*ckafka.DescribeGroup, errRet error)
- func (me *CkafkaService) DescribeCkafkaGroupInfoByFilter(ctx context.Context, param map[string]interface{}) (groupInfo []*ckafka.GroupInfoResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaGroupOffsetsByFilter(ctx context.Context, param map[string]interface{}) (groupOffsetTopics []*ckafka.GroupOffsetTopic, errRet error)
- func (me *CkafkaService) DescribeCkafkaInstanceById(ctx context.Context, instanceId string) (info *ckafka.InstanceDetail, has bool, errRet error)
- func (me *CkafkaService) DescribeCkafkaRouteById(ctx context.Context, instanceId string, routeId int64) (route *ckafka.Route, errRet error)
- func (me *CkafkaService) DescribeCkafkaTaskStatusByFilter(ctx context.Context, flowId int) (taskStatus *ckafka.TaskStatusResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicAttributes(ctx context.Context, instanceId string, topicName string) (topicInfo *ckafka.TopicAttributesResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicByName(ctx context.Context, instanceId string, topicName string) (topic *ckafka.TopicDetail, has bool, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicFlowRankingByFilter(ctx context.Context, param map[string]interface{}) (topicFlowRanking *ckafka.TopicFlowRankingResult, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicProduceConnectionByFilter(ctx context.Context, param map[string]interface{}) (topicProduceConnection []*ckafka.DescribeConnectInfoResultDTO, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicSubscribeGroupByFilter(ctx context.Context, param map[string]interface{}) (groupInfos []*ckafka.GroupInfoResponse, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopicSyncReplicaByFilter(ctx context.Context, param map[string]interface{}) (topicInSyncReplicaInfos []*ckafka.TopicInSyncReplicaInfo, errRet error)
- func (me *CkafkaService) DescribeCkafkaTopics(ctx context.Context, instanceId string, topicName string) (topicList []*ckafka.TopicDetail, errRet error)
- func (me *CkafkaService) DescribeDatahubTask(ctx context.Context, taskId string) (result *ckafka.DescribeDatahubTaskRes, errRet error)
- func (me *CkafkaService) DescribeInstanceById(ctx context.Context, instanceId string) (instanceInfo *ckafka.InstanceAttributesResponse, has bool, errRet error)
- func (me *CkafkaService) DescribeTopicById(ctx context.Context, topicId string) (topicInfo *ckafka.TopicAttributesResponse, has bool, errRet error)
- func (me *CkafkaService) DescribeUserByFilter(ctx context.Context, params map[string]interface{}) (userInfos []*ckafka.User, errRet error)
- func (me *CkafkaService) DescribeUserByUserId(ctx context.Context, userId string) (userInfo *ckafka.User, has bool, errRet error)
- func (me *CkafkaService) ModifyCkafkaInstanceAttributes(ctx context.Context, request *ckafka.ModifyInstanceAttributesRequest) (errRet error)
- func (me *CkafkaService) ModifyCkafkaTopicAttribute(ctx context.Context, request *ckafka.ModifyTopicAttributesRequest) (errRet error)
- func (me *CkafkaService) ModifyPassword(ctx context.Context, instanceId, user, oldPasswd, newPasswd string) (errRet error)
- func (me *CkafkaService) OperateStatusCheck(ctx context.Context, result *ckafka.JgwOperateResponse) (isSucceed bool)
- func (me *CkafkaService) RemoveCkafkaTopicIpWhiteList(ctx context.Context, instaneId string, topicName string, whiteIpList []*string) (errRet error)
- type ClbService
- func (me *ClbService) AssociateTargetGroups(ctx context.Context, listenerId, clbId, targetGroupId, locationId string) (errRet error)
- func (me *ClbService) BindOrUnBindCustomizedConfigWithLbId(ctx context.Context, action string, configId string, lbIdsList []interface{}) (errRet error)
- func (me *ClbService) CreateClbLogSet(ctx context.Context, name string, logsetType string, period int) (id string, errRet error)
- func (me *ClbService) CreateLoadBalancerSnatIps(ctx context.Context, id string, ips []*clb.SnatIp) (taskId string, errRet error)
- func (me *ClbService) CreateTargetGroup(ctx context.Context, targetGroupName string, vpcId string, port uint64, ...) (targetGroupId string, err error)
- func (me *ClbService) CreateTopic(ctx context.Context, params map[string]interface{}) (response *clb.CreateTopicResponse, err error)
- func (me *ClbService) DeleteAttachmentById(ctx context.Context, clbId string, listenerId string, locationId string, ...) error
- func (me *ClbService) DeleteClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string) (errRet error)
- func (me *ClbService) DeleteLbCustomizedConfigById(ctx context.Context, configId string) (errRet error)
- func (me *ClbService) DeleteListenerById(ctx context.Context, clbId string, listenerId string) error
- func (me *ClbService) DeleteLoadBalancerById(ctx context.Context, clbId string) error
- func (me *ClbService) DeleteLoadBalancerSnatIps(ctx context.Context, id string, ips []*string) (taskId string, errRet error)
- func (me *ClbService) DeleteRedirectionById(ctx context.Context, rewriteId string) error
- func (me *ClbService) DeleteRuleById(ctx context.Context, clbId string, listenerId string, locationId string) error
- func (me *ClbService) DeleteTarget(ctx context.Context, targetGroupId string) error
- func (me *ClbService) DeregisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port uint64) (err error)
- func (me *ClbService) DescribeAllAutoRedirections(ctx context.Context, rewriteId string) (rewriteInfos []*map[string]string, errRet error)
- func (me *ClbService) DescribeAssociateTargetGroups(ctx context.Context, ids []string) (has bool, err error)
- func (me *ClbService) DescribeAttachmentByPara(ctx context.Context, clbId string, listenerId string, locationId string) (clbAttachment *clb.ListenerBackend, errRet error)
- func (me *ClbService) DescribeAttachmentsByFilter(ctx context.Context, params map[string]string) (clbAttachments []*clb.ListenerBackend, errRet error)
- func (me *ClbService) DescribeClbClusterResourcesByFilter(ctx context.Context, param map[string]interface{}) (clusterResources []*clb.ClusterResource, errRet error)
- func (me *ClbService) DescribeClbCrossTargetsByFilter(ctx context.Context, param map[string]interface{}) (crossTargets []*clb.CrossTargets, errRet error)
- func (me *ClbService) DescribeClbExclusiveClustersByFilter(ctx context.Context, param map[string]interface{}) (exclusiveClusters []*clb.Cluster, errRet error)
- func (me *ClbService) DescribeClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string, ...) (functionTargets []*clb.FunctionTarget, ...)
- func (me *ClbService) DescribeClbIdleInstancesByFilter(ctx context.Context, param map[string]interface{}) (idleLoadbalancers []*clb.IdleLoadBalancer, errRet error)
- func (me *ClbService) DescribeClbInstanceByCertId(ctx context.Context, param map[string]interface{}) (instances []*clb.CertIdRelatedWithLoadBalancers, errRet error)
- func (me *ClbService) DescribeClbInstanceDetailByFilter(ctx context.Context, param map[string]interface{}) (instanceDetail []*clb.LoadBalancerDetail, errRet error)
- func (me *ClbService) DescribeClbInstanceTraffic(ctx context.Context, param map[string]interface{}) (instanceTraffic []*clb.LoadBalancerTraffic, errRet error)
- func (me *ClbService) DescribeClbListenersByTargets(ctx context.Context, param map[string]interface{}) (listenersByTargets []*clb.LBItem, errRet error)
- func (me *ClbService) DescribeClbLogSet(ctx context.Context) (logSetId string, healthId string, errRet error)
- func (me *ClbService) DescribeClbResourcesByFilter(ctx context.Context, param map[string]interface{}) (resources []*clb.ZoneResource, errRet error)
- func (me *ClbService) DescribeClbTargetGroupListByFilter(ctx context.Context, param map[string]interface{}) (targetGroupList []*clb.TargetGroupInfo, errRet error)
- func (me *ClbService) DescribeClbTargetHealthByFilter(ctx context.Context, param map[string]interface{}) (targetHealth []*clb.LoadBalancerHealth, errRet error)
- func (me *ClbService) DescribeLbCustomizedConfigById(ctx context.Context, configId string) (customizedConfig *clb.ConfigListItem, errRet error)
- func (me *ClbService) DescribeListenerById(ctx context.Context, listenerId string, clbId string) (clbListener *clb.Listener, errRet error)
- func (me *ClbService) DescribeListenersByFilter(ctx context.Context, params map[string]interface{}) (listeners []*clb.Listener, errRet error)
- func (me *ClbService) DescribeLoadBalancerByFilter(ctx context.Context, params map[string]interface{}) (clbs []*clb.LoadBalancer, errRet error)
- func (me *ClbService) DescribeLoadBalancerById(ctx context.Context, clbId string) (clbInstance *clb.LoadBalancer, errRet error)
- func (me *ClbService) DescribeRedirectionById(ctx context.Context, rewriteId string) (rewriteInfo *map[string]string, errRet error)
- func (me *ClbService) DescribeRedirectionsByFilter(ctx context.Context, params map[string]string) (rewriteInfos []*map[string]string, errRet error)
- func (me *ClbService) DescribeRuleByPara(ctx context.Context, clbId string, listenerId string, domain string, ...) (clbRule *clb.RuleOutput, errRet error)
- func (me *ClbService) DescribeRulesByFilter(ctx context.Context, params map[string]string) (rules []*clb.RuleOutput, errRet error)
- func (me *ClbService) DescribeTargetGroupInstances(ctx context.Context, filters map[string]string) (targetGroupInstances []*clb.TargetGroupBackend, errRet error)
- func (me *ClbService) DescribeTargetGroups(ctx context.Context, targetGroupId string, filters map[string]string) (targetGroupInfos []*clb.TargetGroupInfo, errRet error)
- func (me *ClbService) DescribeTaskStatusById(ctx context.Context, taskId string) (status int64, errRet error)
- func (me *ClbService) DisassociateTargetGroups(ctx context.Context, targetGroupId, listenerId, clbId, locationId string) (errRet error)
- func (me *ClbService) ModifyTargetGroup(ctx context.Context, targetGroupId, targetGroupName string, port uint64) (err error)
- func (me *ClbService) ModifyTargetGroupInstancesPort(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)
- func (me *ClbService) ModifyTargetGroupInstancesWeight(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)
- func (me *ClbService) ModifyTargetPort(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, ...) (errRet error)
- func (me *ClbService) ModifyTargetWeight(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, ...) (errRet error)
- func (me *ClbService) RegisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (err error)
- func (me *ClbService) SetClbSecurityGroup(ctx context.Context, securityGroup string, lbId string, operation string) (errRet error)
- func (me *ClbService) UpdateClsLogSet(ctx context.Context, request *cls.ModifyLogsetRequest) (errRet error)
- type ClsService
- func (me *ClsService) DeleteClsAlarmById(ctx context.Context, alarmId string) (errRet error)
- func (me *ClsService) DeleteClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (errRet error)
- func (me *ClsService) DeleteClsCkafkaConsumerById(ctx context.Context, topicId string) (errRet error)
- func (me *ClsService) DeleteClsConfig(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DeleteClsConfigExtra(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DeleteClsCosShipper(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DeleteClsDataTransformById(ctx context.Context, taskId string) (errRet error)
- func (me *ClsService) DeleteClsExportById(ctx context.Context, exportId string) (errRet error)
- func (me *ClsService) DeleteClsIndex(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DeleteClsKafkaRechargeById(ctx context.Context, id string, topic string) (errRet error)
- func (me *ClsService) DeleteClsLogsetById(ctx context.Context, logsetId string) (errRet error)
- func (me *ClsService) DeleteClsMachineGroup(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DeleteClsScheduledSqlById(ctx context.Context, taskId string, srcTopicId string) (errRet error)
- func (me *ClsService) DeleteClsTopic(ctx context.Context, id string) (errRet error)
- func (me *ClsService) DescribeClsAlarmById(ctx context.Context, alarmId string) (alarm *cls.AlarmInfo, errRet error)
- func (me *ClsService) DescribeClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (alarmNotice *cls.AlarmNotice, errRet error)
- func (me *ClsService) DescribeClsCkafkaConsumerById(ctx context.Context, topicId string) (ckafkaConsumer *cls.DescribeConsumerResponseParams, errRet error)
- func (me *ClsService) DescribeClsConfigById(ctx context.Context, configId string) (config *cls.ConfigInfo, errRet error)
- func (me *ClsService) DescribeClsConfigExtraById(ctx context.Context, configExtraId string) (config *cls.ConfigExtraInfo, errRet error)
- func (me *ClsService) DescribeClsCosRechargeById(ctx context.Context, topicId string, rechargeId string) (cosRecharge *cls.CosRechargeInfo, errRet error)
- func (me *ClsService) DescribeClsCosShipperById(ctx context.Context, shipperId string) (instance *cls.ShipperInfo, errRet error)
- func (me *ClsService) DescribeClsCosShippersByFilter(ctx context.Context, filters map[string]string) (instances []*cls.ShipperInfo, errRet error)
- func (me *ClsService) DescribeClsDataTransformById(ctx context.Context, taskId string) (dataTransform *cls.DataTransformTaskInfo, errRet error)
- func (me *ClsService) DescribeClsExportById(ctx context.Context, topicId string, exportId string) (export *cls.ExportInfo, errRet error)
- func (me *ClsService) DescribeClsKafkaRechargeById(ctx context.Context, id string, topic string) (kafkaRecharge *cls.KafkaRechargeInfo, errRet error)
- func (me *ClsService) DescribeClsLogset(ctx context.Context, logsetId string) (logset *cls.LogsetInfo, errRet error)
- func (me *ClsService) DescribeClsLogsetByFilter(ctx context.Context, filters map[string]string) (instances []*cls.LogsetInfo, errRet error)
- func (me *ClsService) DescribeClsMachineGroupByConfigId(ctx context.Context, configId, groupId string) (machineGroup *cls.MachineGroupInfo, errRet error)
- func (me *ClsService) DescribeClsMachineGroupByFilter(ctx context.Context, filters map[string]string) (instances []*cls.MachineGroupInfo, errRet error)
- func (me *ClsService) DescribeClsMachineGroupById(ctx context.Context, id string) (machineGroup *cls.MachineGroupInfo, errRet error)
- func (me *ClsService) DescribeClsMachineGroupConfigsByFilter(ctx context.Context, param map[string]interface{}) (machineGroupConfigs []*cls.ConfigInfo, errRet error)
- func (me *ClsService) DescribeClsMachinesByFilter(ctx context.Context, param map[string]interface{}) (machines []*cls.MachineInfo, errRet error)
- func (me *ClsService) DescribeClsScheduledSqlById(ctx context.Context, taskId string) (scheduledSql *cls.ScheduledSqlTaskInfo, errRet error)
- func (me *ClsService) DescribeClsShipperTasksByFilter(ctx context.Context, param map[string]interface{}) (shipperTasks []*cls.ShipperTaskInfo, errRet error)
- func (me *ClsService) DescribeClsTopicByFilter(ctx context.Context, filters map[string]string) (instances []*cls.TopicInfo, errRet error)
- func (me *ClsService) DescribeClsTopicById(ctx context.Context, topicId string) (topic *cls.TopicInfo, errRet error)
- type ClusterAdvancedSettings
- type ClusterBasicSetting
- type ClusterCidrSettings
- type ClusterExtraArgs
- type ClusterInfo
- type CosBucketDomainCertItem
- type CosService
- func (me *CosService) BucketGetIntelligentTiering(ctx context.Context, bucket string) (result *cos.BucketGetIntelligentTieringResult, errRet error)
- func (me *CosService) BucketPutIntelligentTiering(ctx context.Context, bucket string, ...) (errRet error)
- func (me *CosService) DeleteBucket(ctx context.Context, bucket string, forced bool, versioned bool) (errRet error)
- func (me *CosService) DeleteBucketOriginDomain(ctx context.Context, bucket string) (errRet error)
- func (me *CosService) DeleteBucketPolicy(ctx context.Context, bucket string) (errRet error)
- func (me *CosService) DeleteBucketPullOrigin(ctx context.Context, bucket string) (errRet error)
- func (me *CosService) DeleteBucketReplication(ctx context.Context, bucket string) (errRet error)
- func (me *CosService) DeleteCosBucketDomainCertificate(ctx context.Context, certId string) (errRet error)
- func (me *CosService) DeleteObject(ctx context.Context, bucket, key string) (errRet error)
- func (me *CosService) DescribeCosBucketDomainCertificate(ctx context.Context, certId string) (result *cos.BucketGetDomainCertificateResult, bucket string, errRet error)
- func (me *CosService) DescribeCosBucketRefererById(ctx context.Context, bucket string) (*cos.BucketGetRefererResult, error)
- func (me *CosService) DescribeCosBucketVersionById(ctx context.Context, bucket string) (*cos.BucketGetVersionResult, error)
- func (me *CosService) DescribePolicyByBucket(ctx context.Context, bucket string) (bucketPolicy string, errRet error)
- func (me *CosService) ForceCleanObject(ctx context.Context, bucket string, versioned bool) error
- func (me *CosService) GetBucketACL(ctx context.Context, bucket string) (result *cos.BucketGetACLResult, errRet error)
- func (me *CosService) GetBucketAccleration(ctx context.Context, bucket string) (accelerationEnable bool, errRet error)
- func (me *CosService) GetBucketCors(ctx context.Context, bucket string) (corsRules []map[string]interface{}, errRet error)
- func (me *CosService) GetBucketEncryption(ctx context.Context, bucket string) (encryption string, errRet error)
- func (me *CosService) GetBucketLifecycle(ctx context.Context, bucket string) (lifecycleRules []map[string]interface{}, errRet error)
- func (me *CosService) GetBucketLogStatus(ctx context.Context, bucket string) (logEnable bool, logTargetBucket string, logPrefix string, errRet error)
- func (me *CosService) GetBucketOriginDomain(ctx context.Context, bucket string) (result []map[string]interface{}, errRet error)
- func (me *CosService) GetBucketPullOrigin(ctx context.Context, bucket string) (result []map[string]interface{}, errRet error)
- func (me *CosService) GetBucketReplication(ctx context.Context, bucket string) (result *cos.GetBucketReplicationResult, errRet error)
- func (me *CosService) GetBucketTags(ctx context.Context, bucket string) (map[string]string, error)
- func (me *CosService) GetBucketVersioning(ctx context.Context, bucket string) (versioningEnable bool, errRet error)
- func (me *CosService) GetBucketWebsite(ctx context.Context, bucket string) (websites []map[string]interface{}, errRet error)
- func (me *CosService) GetDataSourceBucketLifecycle(ctx context.Context, bucket string) (lifecycleRules []map[string]interface{}, errRet error)
- func (me *CosService) GetObjectTags(ctx context.Context, bucket string, key string) (map[string]string, error)
- func (me *CosService) HeadBucket(ctx context.Context, bucket string) (errRet error)
- func (me *CosService) HeadObject(ctx context.Context, bucket, key string) (info *s3.HeadObjectOutput, errRet error)
- func (me *CosService) ListBuckets(ctx context.Context) (buckets []*s3.Bucket, errRet error)
- func (me *CosService) ListObjects(ctx context.Context, bucket string) (objects []*s3.Object, errRet error)
- func (me *CosService) PutBucket(ctx context.Context, bucket, acl string) (errRet error)
- func (me *CosService) PutBucketOriginDomain(ctx context.Context, bucket string, rules []cos.BucketDomainRule) (errRet error)
- func (me *CosService) PutBucketPolicy(ctx context.Context, bucket, policy string) (errRet error)
- func (me *CosService) PutBucketPullOrigin(ctx context.Context, bucket string, rules []cos.BucketOriginRule) (errRet error)
- func (me *CosService) PutBucketReplication(ctx context.Context, bucket string, role string, ...) (errRet error)
- func (me *CosService) PutObjectAcl(ctx context.Context, bucket, key, acl string) (errRet error)
- func (me *CosService) SetBucketTags(ctx context.Context, bucket string, tags map[string]string) error
- func (me *CosService) SetObjectTags(ctx context.Context, bucket string, key string, tags map[string]string) error
- func (me *CosService) TencentCosBucketGetLocation(ctx context.Context, bucket string, opt *cos.BucketPutOptions) (location string, errRet error)
- func (me *CosService) TencentCosPutBucket(ctx context.Context, bucket string, opt *cos.BucketPutOptions) (errRet error)
- func (me *CosService) TencentCosPutBucketACLBody(ctx context.Context, bucket string, reqBody string, header string) (errRet error)
- func (me *CosService) TencentcloudHeadBucket(ctx context.Context, bucket string) (code int, header http.Header, errRet error)
- type CssService
- func (me *CssService) DeleteCssCallbackRuleById(ctx context.Context, domainName string, appName string) (errRet error)
- func (me *CssService) DeleteCssCallbackTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CssService) DeleteCssDomainById(ctx context.Context, name *string, dtype *uint64) (errRet error)
- func (me *CssService) DeleteCssLiveTranscodeRuleAttachmentById(ctx context.Context, domainName, appName, streamName, templateId *string) (errRet error)
- func (me *CssService) DeleteCssLiveTranscodeTemplateById(ctx context.Context, templateId *int64) (errRet error)
- func (me *CssService) DeleteCssPadRuleAttachmentById(ctx context.Context, domainName, appName, streamName string, templateId int64) (errRet error)
- func (me *CssService) DeleteCssPadTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CssService) DeleteCssPlayDomainCertAttachmentById(ctx context.Context, domainName string) (errRet error)
- func (me *CssService) DeleteCssPullStreamTaskById(ctx context.Context, taskId, operator *string) (errRet error)
- func (me *CssService) DeleteCssRecordRuleById(ctx context.Context, domainName, appName, streamName string) (errRet error)
- func (me *CssService) DeleteCssRecordTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CssService) DeleteCssSnapshotRuleById(ctx context.Context, domainName, appName, streamName string) (errRet error)
- func (me *CssService) DeleteCssSnapshotTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CssService) DeleteCssStreamMonitorById(ctx context.Context, monitorId string) (errRet error)
- func (me *CssService) DeleteCssTimeshiftRuleAttachmentById(ctx context.Context, domainName string, appName string, streamName string) (errRet error)
- func (me *CssService) DeleteCssTimeshiftTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CssService) DeleteCssWatermarkById(ctx context.Context, watermarkId *int64) (errRet error)
- func (me *CssService) DescribeCssBackupStreamByFilter(ctx context.Context, param map[string]interface{}) (backupStream []*css.BackupStreamGroupInfo, errRet error)
- func (me *CssService) DescribeCssBackupStreamById(ctx context.Context, pushDomainName string, appName string, streamName string) (backupStream *css.BackupStreamDetailData, errRet error)
- func (me *CssService) DescribeCssBackupStreamByStreamName(ctx context.Context, streamName string) (backupStream *css.BackupStreamGroupInfo, errRet error)
- func (me *CssService) DescribeCssCallbackRuleById(ctx context.Context, templateId int64, domainName string) (callbackRule *css.CallBackRuleInfo, errRet error)
- func (me *CssService) DescribeCssCallbackTemplateById(ctx context.Context, templateId int64) (callbackTemplate *css.CallBackTemplateInfo, errRet error)
- func (me *CssService) DescribeCssDeliverLogDownListByFilter(ctx context.Context, param map[string]interface{}) (deliverLogDownList []*css.PushLogInfo, errRet error)
- func (me *CssService) DescribeCssDomainById(ctx context.Context, name string) (domain *css.DomainInfo, errRet error)
- func (me *CssService) DescribeCssDomainCertBindingsById(ctx context.Context, domainName string) (domainCertBindings *css.LiveDomainCertBindings, errRet error)
- func (me *CssService) DescribeCssDomainCertById(ctx context.Context, domainName string) (domainCert *css.DomainCertInfo, errRet error)
- func (me *CssService) DescribeCssDomainRefererById(ctx context.Context, domainName string) (domainReferer *css.RefererAuthConfig, errRet error)
- func (me *CssService) DescribeCssDomainsByFilter(ctx context.Context, param map[string]interface{}) (domains []*css.DomainInfo, errRet error)
- func (me *CssService) DescribeCssLiveTranscodeRuleAttachment(ctx context.Context, domainName, templateId *string) (rules []*css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssLiveTranscodeTemplate(ctx context.Context, templateId *int64) (liveTranscodeTemplate *css.TemplateInfo, errRet error)
- func (me *CssService) DescribeCssLiveTranscodeTemplates(ctx context.Context) (temps []*css.TemplateInfo, errRet error)
- func (me *CssService) DescribeCssMonitorReportByFilter(ctx context.Context, param map[string]interface{}) (monitorReport *css.DescribeMonitorReportResponseParams, errRet error)
- func (me *CssService) DescribeCssPadRuleAttachmentById(ctx context.Context, templateId int64, domainName string) (padRuleAttachment *css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssPadTemplateById(ctx context.Context, templateId int64) (padTemplate *css.PadTemplate, errRet error)
- func (me *CssService) DescribeCssPadTemplatesByFilter(ctx context.Context, param map[string]interface{}) (padTemplates []*css.PadTemplate, errRet error)
- func (me *CssService) DescribeCssPlayAuthKeyConfigById(ctx context.Context, domainName string) (playAuthKeyConfig *css.PlayAuthKeyInfo, errRet error)
- func (me *CssService) DescribeCssPlayDomainCertAttachmentById(ctx context.Context, domainName string, cloudCertId string) (playDomainCertAttachment *css.LiveDomainCertBindings, errRet error)
- func (me *CssService) DescribeCssPullStreamTask(ctx context.Context, taskId string) (tasks []*css.PullStreamTaskInfo, errRet error)
- func (me *CssService) DescribeCssPullStreamTaskStatusByFilter(ctx context.Context, param map[string]interface{}) (pullStreamTaskStatus *css.TaskStatusInfo, errRet error)
- func (me *CssService) DescribeCssPushAuthKeyConfigById(ctx context.Context, domainName string) (pushAuthKeyConfig *css.PushAuthKeyInfo, errRet error)
- func (me *CssService) DescribeCssRecordRuleById(ctx context.Context, templateId int64, domainName string) (recordRule *css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssRecordTemplateById(ctx context.Context, templateId int64) (recordTemplate *css.RecordTemplateInfo, errRet error)
- func (me *CssService) DescribeCssSnapshotRuleById(ctx context.Context, templateId int64, domainName string) (snapshotRule *css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssSnapshotTemplateById(ctx context.Context, templateId int64) (snapshotTemplate *css.SnapshotTemplateInfo, errRet error)
- func (me *CssService) DescribeCssStreamMonitorById(ctx context.Context, monitorId string) (streamMonitor *css.LiveStreamMonitorInfo, errRet error)
- func (me *CssService) DescribeCssStreamMonitorListByFilter(ctx context.Context, param map[string]interface{}) (streamMonitorList []*css.LiveStreamMonitorInfo, errRet error)
- func (me *CssService) DescribeCssTimeShiftRecordDetailByFilter(ctx context.Context, param map[string]interface{}) (timeShiftRecordDetail []*css.TimeShiftRecord, errRet error)
- func (me *CssService) DescribeCssTimeShiftStreamListByFilter(ctx context.Context, param map[string]interface{}) (timeShiftStreamList []*css.TimeShiftStreamInfo, errRet error)
- func (me *CssService) DescribeCssTimeshiftRuleAttachmentById(ctx context.Context, templateId int64, domainName string) (timeshiftRuleAttachment *css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssTimeshiftTemplateById(ctx context.Context, templateId int64) (timeshiftTemplate *css.TimeShiftTemplate, errRet error)
- func (me *CssService) DescribeCssWatermark(ctx context.Context, watermarkId string) (watermark *css.WatermarkInfo, errRet error)
- func (me *CssService) DescribeCssWatermarkRuleAttachment(ctx context.Context, domainName, appName, streamName, watermarkId string) (watermarkRuleAttachment *css.RuleInfo, errRet error)
- func (me *CssService) DescribeCssWatermarks(ctx context.Context) (marks []*css.WatermarkInfo, errRet error)
- func (me *CssService) DescribeCssWatermarksByFilter(ctx context.Context, param map[string]interface{}) (watermarks []*css.WatermarkInfo, errRet error)
- func (me *CssService) DescribeCssXp2pDetailInfoListByFilter(ctx context.Context, param map[string]interface{}) (xp2pDetailInfoList []*css.XP2PDetailInfo, errRet error)
- func (me *CssService) DetachCssWatermarkRuleAttachment(ctx context.Context, domainName, appName, streamName string) (errRet error)
- type CvmService
- func (me *CvmService) BindKeyPair(ctx context.Context, keyIds []*string, instanceId string) error
- func (me *CvmService) CreatePlacementGroup(ctx context.Context, placementName, placementType string) (placementId string, errRet error)
- func (me *CvmService) CreateReservedInstance(ctx context.Context, configId string, count int64, ...) (instanceId string, errRet error)
- func (me *CvmService) CvmChcInstanceDeployVpcStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) CvmChcInstanceStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) CvmSyncImagesStateRefreshFunc(imageId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) DeleteCvmChcAssistVpcById(ctx context.Context, chcId string) (errRet error)
- func (me *CvmService) DeleteCvmHpcClusterById(ctx context.Context, hpcClusterId string) (errRet error)
- func (me *CvmService) DeleteCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (errRet error)
- func (me *CvmService) DeleteCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (errRet error)
- func (me *CvmService) DeleteImage(ctx context.Context, imageId string) error
- func (me *CvmService) DeleteInstance(ctx context.Context, instanceId string) error
- func (me *CvmService) DeleteInstanceSetByIds(ctx context.Context, instanceSetIds string) error
- func (me *CvmService) DeleteKeyPair(ctx context.Context, keyId string) error
- func (me *CvmService) DeletePlacementGroup(ctx context.Context, placementId string) error
- func (me *CvmService) DescribeCvmChcDeniedActionsByFilter(ctx context.Context, param map[string]interface{}) (chcDeniedActions []*cvm.ChcHostDeniedActions, errRet error)
- func (me *CvmService) DescribeCvmChcHostsByFilter(ctx context.Context, param map[string]interface{}) (chcHosts []*cvm.ChcHost, errRet error)
- func (me *CvmService) DescribeCvmHpcClusterById(ctx context.Context, hpcClusterId string) (hpcCluster *cvm.HpcClusterInfo, errRet error)
- func (me *CvmService) DescribeCvmImageQuotaByFilter(ctx context.Context, param map[string]interface{}) (imageQuota int64, errRet error)
- func (me *CvmService) DescribeCvmImageSharePermissionByFilter(ctx context.Context, param map[string]interface{}) (imageSharePermission []*cvm.SharePermission, errRet error)
- func (me *CvmService) DescribeCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateInfo, errRet error)
- func (me *CvmService) DescribeCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (launchTemplateVersion *cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribeImageById(ctx context.Context, keyId string, isDelete bool) (image *cvm.Image, has bool, errRet error)
- func (me *CvmService) DescribeImagesByFilter(ctx context.Context, filters map[string][]string, instanceType string) (images []*cvm.Image, errRet error)
- func (me *CvmService) DescribeInstanceByFilter(ctx context.Context, instancesId []*string, filters map[string]string) (instances []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceInParallelByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceSetByIds(ctx context.Context, instanceSetIds string) (instance []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceTypes(ctx context.Context, zone string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
- func (me *CvmService) DescribeInstanceTypesByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
- func (me *CvmService) DescribeInstancesSellTypeByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeQuotaItem, errRet error)
- func (me *CvmService) DescribeKeyPairByFilter(ctx context.Context, id, name string, projectId *int) (keyPairs []*cvm.KeyPair, errRet error)
- func (me *CvmService) DescribeKeyPairById(ctx context.Context, keyId string) (keyPair *cvm.KeyPair, errRet error)
- func (me *CvmService) DescribeLaunchTemplateVersions(ctx context.Context, launchTemplateId string) (launchTemplates []*cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribeLaunchTemplateVersionsById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribePlacementGroupByFilter(ctx context.Context, id, name string) (placementGroups []*cvm.DisasterRecoverGroup, errRet error)
- func (me *CvmService) DescribePlacementGroupById(ctx context.Context, placementId string) (placementGroup *cvm.DisasterRecoverGroup, errRet error)
- func (me *CvmService) DescribeRegions(ctx context.Context) (zones []*cvm.RegionInfo, errRet error)
- func (me *CvmService) DescribeReservedInstanceByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.ReservedInstances, errRet error)
- func (me *CvmService) DescribeReservedInstanceConfigs(ctx context.Context, filters map[string]string) (configs []*cvm.ReservedInstancesOffering, errRet error)
- func (me *CvmService) DescribeZones(ctx context.Context) (zones []*cvm.ZoneInfo, errRet error)
- func (me *CvmService) ModifyDisableApiTermination(ctx context.Context, instanceId string, disableApiTermination bool) error
- func (me *CvmService) ModifyImage(ctx context.Context, instanceId, imageName, imageDesc string) (errRet error)
- func (me *CvmService) ModifyImageSharePermission(ctx context.Context, imageId, permission string, accountIds []string) (errRet error)
- func (me *CvmService) ModifyInstanceChargeType(ctx context.Context, instanceId string, chargeType string, period int, ...) error
- func (me *CvmService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) error
- func (me *CvmService) ModifyInstanceType(ctx context.Context, instanceId, instanceType string) error
- func (me *CvmService) ModifyInternetMaxBandwidthOut(ctx context.Context, instanceId, internetChargeType string, ...) error
- func (me *CvmService) ModifyKeyPairName(ctx context.Context, keyId, keyName string) error
- func (me *CvmService) ModifyLaunchTemplateDefaultVersion(ctx context.Context, launchTemplateId string, defaultVersion int) error
- func (me *CvmService) ModifyPassword(ctx context.Context, instanceId, password string) error
- func (me *CvmService) ModifyPlacementGroup(ctx context.Context, placementId, name string) error
- func (me *CvmService) ModifyProjectId(ctx context.Context, instanceId string, projectId int64) error
- func (me *CvmService) ModifyRenewParam(ctx context.Context, instanceId string, renewFlag string) error
- func (me *CvmService) ModifySecurityGroups(ctx context.Context, instanceId string, securityGroups []*string) error
- func (me *CvmService) ModifyVpc(ctx context.Context, instanceId, vpcId, subnetId, privateIp string) error
- func (me *CvmService) ResetInstance(ctx context.Context, request *cvm.ResetInstanceRequest) (errRet error)
- func (me *CvmService) ResizeInstanceDisks(ctx context.Context, request *cvm.ResizeInstanceDisksRequest) (errRet error)
- func (me *CvmService) StartInstance(ctx context.Context, instanceId string) error
- func (me *CvmService) StopInstance(ctx context.Context, instanceId string, stoppedMode string) error
- func (me *CvmService) UnbindKeyPair(ctx context.Context, keyIds []*string, instanceIds []*string) error
- type CwpService
- func (me *CwpService) DeleteCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid, licenseType string) (errRet error)
- func (me *CwpService) DeleteCwpLicenseOrderById(ctx context.Context, resourceId string, licenseType *uint64) (errRet error)
- func (me *CwpService) DescribeCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid string, licenseId, licenseType uint64) (licenseBindAttachment *cwp.LicenseBindDetail, errRet error)
- func (me *CwpService) DescribeCwpLicenseOrderById(ctx context.Context, resourceId string) (licenseOrder *cwp.LicenseDetail, errRet error)
- func (me *CwpService) DescribeCwpMachinesSimpleByFilter(ctx context.Context, param map[string]interface{}) (machinesSimple []*cwp.MachineSimple, errRet error)
- type CynosdbService
- func (me *CynosdbService) CopyClusterPasswordComplexity(ctx context.Context, clusterId string) (errRet error)
- func (me *CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) CynosdbInstanceIsolateStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) CynosdbInstanceOfflineStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) DeleteCynosdbAccountById(ctx context.Context, clusterId string, accountNames string, host string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbBackupById(ctx context.Context, clusterId, backupId string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterDatabasesById(ctx context.Context, clusterId, dbName string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (flowId int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string, packageIdsSet []*string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string, slaveZone string) (flowId *int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbParamTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CynosdbService) DeleteCynosdbProxyById(ctx context.Context, clusterId string) (flowId *int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (flowId int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbResourcePackageById(ctx context.Context, packageId string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbSecurityGroupById(ctx context.Context, instanceId string, securityGroupIds []*string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbWanById(ctx context.Context, instanceGrpId string) (flowId int64, errRet error)
- func (me *CynosdbService) DescribeClusterById(ctx context.Context, clusterId string) (clusterItem *cynosdb.CynosdbCluster, clusterInfo *cynosdb.CynosdbClusterDetail, ...)
- func (me *CynosdbService) DescribeClusterInstanceGrps(ctx context.Context, clusterId string) (response *cynosdb.DescribeClusterInstanceGrpsResponse, errRet error)
- func (me *CynosdbService) DescribeClusterParams(ctx context.Context, clusterId string) (items []*cynosdb.ParamInfo, errRet error)
- func (me *CynosdbService) DescribeClusterParamsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (items []*cynosdb.ParamInfo, errRet error)
- func (me *CynosdbService) DescribeClusters(ctx context.Context, filters map[string]string) (clusters []*cynosdb.CynosdbCluster, errRet error)
- func (me *CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *CynosdbService) DescribeCynosdbAccountById(ctx context.Context, clusterId string, accountName string, host string) (account *cynosdb.Account, errRet error)
- func (me *CynosdbService) DescribeCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (accountPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbAccountsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (result *cynosdb.DescribeAccountsResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cynosdb.AuditLogFile, errRet error)
- func (me *CynosdbService) DescribeCynosdbAuditLogsByFilter(ctx context.Context, param map[string]interface{}) (auditLogs []*cynosdb.AuditLog, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackup(ctx context.Context, clusterId string, params map[string]interface{}) (backups []*cynosdb.BackupFileInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackupById(ctx context.Context, clusterId, backupId string) (backup *cynosdb.BackupFileInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackupDownloadUrlById(ctx context.Context, param map[string]interface{}) (backupDownloadUrl *cynosdb.DescribeBackupDownloadUrlResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (binlogDownloadUrl *cynosdb.DescribeBinlogDownloadUrlResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbBinlogSaveDaysById(ctx context.Context, clusterId string) (binlogSaveDays *int64, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*cynosdb.DatabaseTables, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterDatabasesById(ctx context.Context, clusterId string, dbName string) (clusterDatabases *cynosdb.DbInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter(ctx context.Context, param map[string]interface{}) (clusterDetailDatabases []*cynosdb.DbInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterParamLogsByFilter(ctx context.Context, param map[string]interface{}) (clusterParamLogs []*cynosdb.ClusterParamModifyLog, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (...)
- func (me *CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string) (clusterResourcePackagesAttachment *cynosdb.CynosdbClusterDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string) (clusterSlaveZone *cynosdb.CynosdbClusterDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceErrorLogs []*cynosdb.CynosdbErrorLogItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceSlowQueries []*cynosdb.BinlogItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbInstanceParamById(ctx context.Context, clusterId string, instanceId string) (instanceParam *cynosdb.InstanceParamItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (InstanceSlowQueries []*cynosdb.SlowQueriesItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbParamTemplateById(ctx context.Context, templateId int64) (paramTemplate *cynosdb.DescribeParamTemplateDetailResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbParamTemplatesByFilter(ctx context.Context, paramMap map[string]interface{}) (items []*cynosdb.ParamTemplateListInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*cynosdb.SecurityGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyById(ctx context.Context, clusterId, proxyGroupId string) (proxy *cynosdb.DescribeProxiesResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (proxyEndPoint *cynosdb.ProxyGroupInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyNodeByFilter(ctx context.Context, param map[string]interface{}) (proxyNode []*cynosdb.ProxyNodeInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyVersionByFilter(ctx context.Context, param map[string]interface{}) (proxyVersion *cynosdb.DescribeSupportProxyVersionResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageById(ctx context.Context, packageId string) (resourcePackage *cynosdb.PackageDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageListByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageList []*cynosdb.Package, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageSaleSpecs []*cynosdb.SalePackageSpec, errRet error)
- func (me *CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeRange *cynosdb.DescribeRollbackTimeRangeResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeValidity *cynosdb.DescribeRollbackTimeValidityResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbSecurityGroups(ctx context.Context, instanceId string) (securityGroups []*cynosdb.SecurityGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbUpgradeProxyVersionById(ctx context.Context, clusterId string) (upgradeProxyGroup *cynosdb.ProxyGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*cynosdb.SaleRegion, errRet error)
- func (me *CynosdbService) DescribeFlow(ctx context.Context, flowId int64) (ok bool, errRet error)
- func (me *CynosdbService) DescribeInsGrpSecurityGroups(ctx context.Context, instanceGrpId string) (response *cynosdb.DescribeDBSecurityGroupsResponse, errRet error)
- func (me *CynosdbService) DescribeInstanceById(ctx context.Context, instanceId string) (clusterId string, instanceInfo *cynosdb.CynosdbInstanceDetail, has bool, ...)
- func (me *CynosdbService) DescribeInstances(ctx context.Context, filters map[string]string) (instances []*cynosdb.CynosdbInstance, errRet error)
- func (me *CynosdbService) DescribeMaintainPeriod(ctx context.Context, instanceId string) (response *cynosdb.DescribeMaintainPeriodResponse, errRet error)
- func (me *CynosdbService) DescribeRedisZoneConfig(ctx context.Context) (instanceSpecSet []*cynosdb.InstanceSpec, err error)
- func (me *CynosdbService) IsolateCluster(ctx context.Context, clusterId string) (flowId int64, errRet error)
- func (me *CynosdbService) IsolateInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
- func (me *CynosdbService) ModifyBackupConfig(ctx context.Context, clusterId string, params map[string]interface{}) (errRet error)
- func (me *CynosdbService) ModifyClusterName(ctx context.Context, clusterId string, clusterName string) (errRet error)
- func (me *CynosdbService) ModifyClusterParam(ctx context.Context, request *cynosdb.ModifyClusterParamRequest) (asyncReqId string, errRet error)
- func (me *CynosdbService) ModifyClusterStorage(ctx context.Context, clusterId string, newStorageLimit int64, ...) (errRet error)
- func (me *CynosdbService) ModifyInsGrpSecurityGroups(ctx context.Context, insGrp, az string, sg []*string) (errRet error)
- func (me *CynosdbService) ModifyMaintainPeriodConfig(ctx context.Context, instanceId string, startTime, duration int64, ...) (errRet error)
- func (me *CynosdbService) OfflineCluster(ctx context.Context, clusterId string) (errRet error)
- func (me *CynosdbService) OfflineInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
- func (me *CynosdbService) PauseServerless(ctx context.Context, request *cynosdb.PauseServerlessRequest) (errRet error)
- func (me *CynosdbService) ResumeServerless(ctx context.Context, request *cynosdb.ResumeServerlessRequest) (errRet error)
- func (me *CynosdbService) SetRenewFlag(ctx context.Context, instanceId string, autoRenewFlag int64) (errRet error)
- func (me *CynosdbService) SwitchClusterVpc(ctx context.Context, clusterId string, vpcId string, subnetId string, ...) (errRet error)
- func (me *CynosdbService) SwitchServerlessCluster(ctx context.Context, clusterId string, resume bool) error
- func (me *CynosdbService) UpgradeInstance(ctx context.Context, instanceId string, cpu, mem int64) (errRet error)
- type DayuService
- func (me *DayuService) BindDdosPolicy(ctx context.Context, resourceId string, resourceType string, policyId string) (errRet error)
- func (me *DayuService) CreateCCSelfdefinePolicy(ctx context.Context, resourceType string, resourceId string, ...) (policyId string, errRet error)
- func (me *DayuService) CreateDdosPolicy(ctx context.Context, resourceType string, name string, ...) (policyId string, errRet error)
- func (me *DayuService) CreateDdosPolicyCase(ctx context.Context, request *dayu.CreateDDoSPolicyCaseRequest) (sceneId string, errRet error)
- func (me *DayuService) CreateL4Rule(ctx context.Context, resourceType string, resourceId string, ...) (ruleId string, errRet error)
- func (me *DayuService) CreateL7Rule(ctx context.Context, resourceType string, resourceId string, ...) (ruleId string, errRet error)
- func (me *DayuService) CreateL7RuleV2(ctx context.Context, business string, resourceId string, resourceIp string, ...) (errRet error)
- func (me *DayuService) CreateNewL4Rules(ctx context.Context, business string, id string, vip string, ...) (errRet error)
- func (me *DayuService) DeleteCCSelfdefinePolicy(ctx context.Context, resourceType string, resourceId string, policyId string) (errRet error)
- func (me *DayuService) DeleteDdosPolicy(ctx context.Context, resourceType string, policyId string) (errRet error)
- func (me *DayuService) DeleteDdosPolicyCase(ctx context.Context, resourceType string, sceneId string) (errRet error)
- func (me *DayuService) DeleteL4Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (errRet error)
- func (me *DayuService) DeleteL7Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (errRet error)
- func (me *DayuService) DeleteL7RulesV2(ctx context.Context, resourceType string, resourceId string, resourceIp string, ...) (errRet error)
- func (me *DayuService) DeleteNewL4Rules(ctx context.Context, business string, id string, ip string, ruleIds []string) (errRet error)
- func (me *DayuService) DescribeCCSelfdefinePolicies(ctx context.Context, resourceType string, resourceId string, policyName string, ...) (infos []*dayu.CCPolicy, has bool, errRet error)
- func (me *DayuService) DescribeCCSelfdefinePolicy(ctx context.Context, resourceType string, resourceId string, policyId string) (infos *dayu.CCPolicy, has bool, errRet error)
- func (me *DayuService) DescribeDdosPolicies(ctx context.Context, resourceType string, policyId string) (ddosPolicies []*dayu.DDosPolicy, errRet error)
- func (me *DayuService) DescribeDdosPolicy(ctx context.Context, resourceType string, policyId string) (ddosPolicy dayu.DDosPolicy, has bool, errRet error)
- func (me *DayuService) DescribeDdosPolicyAttachments(ctx context.Context, resourceId string, resourceType string, policyId string) (attachments []map[string]interface{}, has bool, errRet error)
- func (me *DayuService) DescribeDdosPolicyCase(ctx context.Context, resourceType string, sceneId string) (ddosPolicyCase dayu.KeyValueRecord, has bool, errRet error)
- func (me *DayuService) DescribeL4Health(ctx context.Context, resourceType string, resourceId string, ruleId string) (healthCheck *dayu.L4HealthConfig, has bool, errRet error)
- func (me *DayuService) DescribeL4Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (infos *dayu.L4RuleEntry, health *dayu.L4RuleHealth, has bool, errRet error)
- func (me *DayuService) DescribeL4Rules(ctx context.Context, resourceType string, resourceId string, ruleName string, ...) (infos []*dayu.L4RuleEntry, healths []*dayu.L4RuleHealth, has bool, ...)
- func (me *DayuService) DescribeL7Health(ctx context.Context, resourceType string, resourceId string, ruleId string) (healthCheck *dayu.L7HealthConfig, has bool, errRet error)
- func (me *DayuService) DescribeL7Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (infos *dayu.L7RuleEntry, health *dayu.L7RuleHealth, has bool, errRet error)
- func (me *DayuService) DescribeL7Rules(ctx context.Context, resourceType string, resourceId string, ruleDomain string, ...) (infos []*dayu.L7RuleEntry, healths []*dayu.L7RuleHealth, has bool, ...)
- func (me *DayuService) DescribeL7RulesV2(ctx context.Context, business string, extendParams map[string]interface{}) (rules []*dayu.NewL7RuleEntry, healths []*dayu.L7RuleHealth, errRet error)
- func (me *DayuService) DescribeNewL4Rules(ctx context.Context, business string, extendParams map[string]interface{}) (infos []*dayu.NewL4RuleEntry, errRet error)
- func (me *DayuService) ModifyCCSelfdefinePolicy(ctx context.Context, resourceType string, resourceId string, policyId string, ...) (errRet error)
- func (me *DayuService) ModifyDdosPolicy(ctx context.Context, resourceType string, policyId string, ...) (errRet error)
- func (me *DayuService) ModifyDdosPolicyCase(ctx context.Context, request *dayu.ModifyDDoSPolicyCaseRequest) (errRet error)
- func (me *DayuService) ModifyDdosPolicyName(ctx context.Context, resourceType string, policyId string, name string) (errRet error)
- func (me *DayuService) ModifyL4Rule(ctx context.Context, resourceType string, resourceId string, ...) (errRet error)
- func (me *DayuService) ModifyL7Rule(ctx context.Context, resourceType string, resourceId string, ...) (errRet error)
- func (me *DayuService) ModifyL7RuleV2(ctx context.Context, resourceType string, resourceId string, ...) (errRet error)
- func (me *DayuService) ModifyNewL4Rule(ctx context.Context, business string, id string, singleRule interface{}) (errRet error)
- func (me *DayuService) SetL4Health(ctx context.Context, resourceType string, resourceId string, ...) (errRet error)
- func (me *DayuService) SetL7Health(ctx context.Context, resourceType string, resourceId string, ...) (errRet error)
- func (me *DayuService) SetRuleSwitch(ctx context.Context, resourceType string, resourceId string, ruleId string, ...) (errRet error)
- func (me *DayuService) SetSession(ctx context.Context, resourceType string, resourceId string, ruleId string, ...) (errRet error)
- func (me *DayuService) UnbindDdosPolicy(ctx context.Context, resourceId string, resourceType string, policyId string) (errRet error)
- type DbbrainService
- func (me *DbbrainService) DbbrainDbDiagReportTaskStateRefreshFunc(asyncRequestId *int64, instanceId string, product string, failStates []string) resource.StateRefreshFunc
- func (me *DbbrainService) DeleteDbbrainDbDiagReportTaskById(ctx context.Context, asyncRequestId int64, instanceId string, product string) (errRet error)
- func (me *DbbrainService) DeleteDbbrainSecurityAuditLogExportTaskById(ctx context.Context, secAuditGroupId, asyncRequestId, product *string) (errRet error)
- func (me *DbbrainService) DeleteDbbrainSqlFilterById(ctx context.Context, instanceId, filterId, sessionToken *string) (errRet error)
- func (me *DbbrainService) DeleteDbbrainTdsqlAuditLogById(ctx context.Context, asyncRequestId string, instanceId string, product string) (errRet error)
- func (me *DbbrainService) DescribeDbbrainDbDiagReportTaskById(ctx context.Context, asyncRequestId *int64, instanceId string, product string) (dbDiagReportTask *dbbrain.HealthReportTask, errRet error)
- func (me *DbbrainService) DescribeDbbrainDbSpaceStatusByFilter(ctx context.Context, param map[string]interface{}) (DbSpaceStatus *dbbrain.DescribeDBSpaceStatusResponseParams, errRet error)
- func (me *DbbrainService) DescribeDbbrainDiagDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (items []*dbbrain.InstanceInfo, DbScanStatus *int64, errRet error)
- func (me *DbbrainService) DescribeDbbrainDiagEventByFilter(ctx context.Context, param map[string]interface{}) (diagEvent *dbbrain.DescribeDBDiagEventResponseParams, errRet error)
- func (me *DbbrainService) DescribeDbbrainDiagEventsByFilter(ctx context.Context, param map[string]interface{}) (diagEvents []*dbbrain.DiagHistoryEventItem, errRet error)
- func (me *DbbrainService) DescribeDbbrainDiagHistoryByFilter(ctx context.Context, param map[string]interface{}) (diagHistory []*dbbrain.DiagHistoryEventItem, errRet error)
- func (me *DbbrainService) DescribeDbbrainHealthScoresByFilter(ctx context.Context, param map[string]interface{}) (healthScores *dbbrain.HealthScoreInfo, errRet error)
- func (me *DbbrainService) DescribeDbbrainMysqlProcessListByFilter(ctx context.Context, param map[string]interface{}) (mysqlProcessList []*dbbrain.MySqlProcess, errRet error)
- func (me *DbbrainService) DescribeDbbrainNoPrimaryKeyTablesByFilter(ctx context.Context, param map[string]interface{}) (tables []*dbbrain.Table, ...)
- func (me *DbbrainService) DescribeDbbrainRedisTopBigKeysByFilter(ctx context.Context, param map[string]interface{}) (redisTopBigKeys []*dbbrain.RedisKeySpaceData, errRet error)
- func (me *DbbrainService) DescribeDbbrainRedisTopKeyPrefixListByFilter(ctx context.Context, param map[string]interface{}) (redisTopKeyPrefixList []*dbbrain.RedisPreKeySpaceData, errRet error)
- func (me *DbbrainService) DescribeDbbrainSecurityAuditLogDownloadUrlsByFilter(ctx context.Context, param map[string]interface{}) (securityAuditLogDownloadUrls []*string, errRet error)
- func (me *DbbrainService) DescribeDbbrainSecurityAuditLogExportTask(ctx context.Context, secAuditGroupId, asyncRequestId, product *string) (task *dbbrain.SecLogExportTaskInfo, errRet error)
- func (me *DbbrainService) DescribeDbbrainSecurityAuditLogExportTasksByFilter(ctx context.Context, param map[string]interface{}) (securityAuditLogExportTasks []*dbbrain.SecLogExportTaskInfo, errRet error)
- func (me *DbbrainService) DescribeDbbrainSlowLogTimeSeriesStatsByFilter(ctx context.Context, param map[string]interface{}) (slowLogTimeSeriesStats *dbbrain.DescribeSlowLogTimeSeriesStatsResponseParams, ...)
- func (me *DbbrainService) DescribeDbbrainSlowLogTopSqlsByFilter(ctx context.Context, param map[string]interface{}) (slowLogTopSqls []*dbbrain.SlowLogTopSqlItem, errRet error)
- func (me *DbbrainService) DescribeDbbrainSlowLogUserHostStatsByFilter(ctx context.Context, param map[string]interface{}) (slowLogUserHostStats []*dbbrain.SlowLogHost, errRet error)
- func (me *DbbrainService) DescribeDbbrainSlowLogUserSqlAdviceByFilter(ctx context.Context, param map[string]interface{}) (slowLogUserSqlAdvice *dbbrain.DescribeUserSqlAdviceResponseParams, ...)
- func (me *DbbrainService) DescribeDbbrainSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (SlowLogs []*dbbrain.SlowLogInfoItem, errRet error)
- func (me *DbbrainService) DescribeDbbrainSqlFilter(ctx context.Context, instanceId, filterId *string) (sqlFilter *dbbrain.SQLFilter, errRet error)
- func (me *DbbrainService) DescribeDbbrainSqlFiltersByFilter(ctx context.Context, param map[string]interface{}) (sqlFilters []*dbbrain.SQLFilter, errRet error)
- func (me *DbbrainService) DescribeDbbrainSqlTemplatesByFilter(ctx context.Context, param map[string]interface{}) (SqlTemplate *dbbrain.DescribeSqlTemplateResponseParams, errRet error)
- func (me *DbbrainService) DescribeDbbrainTdsqlAuditLogById(ctx context.Context, asyncRequestId *string, instanceId string, product string) (tdsqlAuditLog []*dbbrain.AuditLogFile, errRet error)
- func (me *DbbrainService) DescribeDbbrainTopSpaceSchemaTimeSeriesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceSchemaTimeSeries []*dbbrain.SchemaSpaceTimeSeries, errRet error)
- func (me *DbbrainService) DescribeDbbrainTopSpaceSchemasByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceSchemas []*dbbrain.SchemaSpaceData, Timestamp *int64, errRet error)
- func (me *DbbrainService) DescribeDbbrainTopSpaceTableTimeSeriesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceTableTimeSeries []*dbbrain.TableSpaceTimeSeries, errRet error)
- func (me *DbbrainService) DescribeDbbrainTopSpaceTablesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceTables []*dbbrain.TableSpaceData, Timestamp *int64, errRet error)
- type DcService
- func (me *DcService) CreateDirectConnectTunnel(ctx context.Context, ...) (dcxId string, errRet error)
- func (me *DcService) DeleteDcInstanceById(ctx context.Context, directConnectId string) (errRet error)
- func (me *DcService) DeleteDcInternetAddressById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcService) DeleteDirectConnectTunnel(ctx context.Context, dcxId string) (errRet error)
- func (me *DcService) DescribeDcAccessPointsByFilter(ctx context.Context, param map[string]interface{}) (AccessPoints []*dc.AccessPoint, errRet error)
- func (me *DcService) DescribeDcInternetAddressById(ctx context.Context, instanceId string) (internetAddress *dc.InternetAddressDetail, errRet error)
- func (me *DcService) DescribeDcInternetAddressQuota(ctx context.Context) (InternetAddressQuota *dc.DescribeInternetAddressQuotaResponse, errRet error)
- func (me *DcService) DescribeDcInternetAddressStatistics(ctx context.Context) (statistics []*dc.InternetAddressStatistics, errRet error)
- func (me *DcService) DescribeDcPublicDirectConnectTunnelRoutesByFilter(ctx context.Context, param map[string]interface{}) (PublicDirectConnectTunnelRoutes []*dc.DirectConnectTunnelRoute, errRet error)
- func (me *DcService) DescribeDcShareDcxConfigById(ctx context.Context, directConnectTunnelId string) (ShareDcxConfig *dc.DirectConnectTunnel, errRet error)
- func (me *DcService) DescribeDcxExtraConfigById(ctx context.Context, directConnectTunnelId string) (dcxExtraConfig *dc.DirectConnectTunnelExtra, errRet error)
- func (me *DcService) DescribeDirectConnectTunnel(ctx context.Context, dcxId string) (info dc.DirectConnectTunnel, has int64, errRet error)
- func (me *DcService) DescribeDirectConnectTunnels(ctx context.Context, dcxId, name string) (infos []dc.DirectConnectTunnel, errRet error)
- func (me *DcService) DescribeDirectConnects(ctx context.Context, dcId, name string) (infos []dc.DirectConnect, errRet error)
- func (me *DcService) ModifyDirectConnectTunnelAttribute(ctx context.Context, dcxId string, ...) (errRet error)
- type DcdbService
- func (me *DcdbService) DcdbAccountRefreshFunc(instanceId string, userName string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDbInstanceStateRefreshFunc(flowId *int64, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDbSyncModeConfigStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDcnStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DeleteDcdbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
- func (me *DcdbService) DeleteDcdbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbDedicatedClusterDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbHourdbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbSecurityGroupAttachmentById(ctx context.Context, instanceId, securityGroupId string) (errRet error)
- func (me *DcdbService) DescribeDcdbAccount(ctx context.Context, instanceId, userName string) (account *dcdb.DescribeAccountsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbAccountPrivilegesById(ctx context.Context, ids string, dbName, aType, object, colName *string) (accountPrivileges *dcdb.DescribeAccountPrivilegesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*dcdb.DBAccount, errRet error)
- func (me *DcdbService) DescribeDcdbDBObjects(ctx context.Context, instanceId string, dbName string) (rets *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBObjectsByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBTables(ctx context.Context, instanceId string, dbName string, tableName string) (rets *dcdb.DescribeDatabaseTableResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBTablesByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseTableResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDatabases(ctx context.Context, instanceId string) (rets *dcdb.DescribeDatabasesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases []*dcdb.Database, errRet error)
- func (me *DcdbService) DescribeDcdbDbInstance(ctx context.Context, instanceId string) (instances *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDbInstanceDetailById(ctx context.Context, instanceId string) (dedicatedClusterDbInstance *dcdb.DescribeDCDBInstanceDetailResponseParams, ...)
- func (me *DcdbService) DescribeDcdbDbParametersById(ctx context.Context, instanceId string) (dbParameters *dcdb.DescribeDBParametersResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDbSyncModeConfigById(ctx context.Context, instanceId string) (dbSyncModeConfig *dcdb.DescribeDBSyncModeResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbEncryptAttributesConfigById(ctx context.Context, instanceId string) (encryptAttributesConfig *dcdb.DescribeDBEncryptAttributesResponseParams, ...)
- func (me *DcdbService) DescribeDcdbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *string, errRet error)
- func (me *DcdbService) DescribeDcdbFlowById(ctx context.Context, flowId *int64) (dbInstance *dcdb.DescribeFlowResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbHourdbInstance(ctx context.Context, instanceId string) (hourdbInstance *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*dcdb.BriefNodeInfo, errRet error)
- func (me *DcdbService) DescribeDcdbInstancesByFilter(ctx context.Context, params map[string]interface{}) (instances []*dcdb.DCDBInstanceInfo, errRet error)
- func (me *DcdbService) DescribeDcdbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDBLogFilesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbOrdersByFilter(ctx context.Context, param map[string]interface{}) (orders []*dcdb.Deal, errRet error)
- func (me *DcdbService) DescribeDcdbParametersByFilter(ctx context.Context, param map[string]interface{}) (parameters []*dcdb.ParamDesc, errRet error)
- func (me *DcdbService) DescribeDcdbPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBPriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*dcdb.SecurityGroup, errRet error)
- func (me *DcdbService) DescribeDcdbProjectsByFilter(ctx context.Context) (projects []*dcdb.Project, errRet error)
- func (me *DcdbService) DescribeDcdbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBRenewalPriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbSaleInfoByFilter(ctx context.Context, param map[string]interface{}) (regionInfo []*dcdb.RegionInfo, errRet error)
- func (me *DcdbService) DescribeDcdbSecurityGroup(ctx context.Context, instanceId string) (securityGroup *dcdb.DescribeDBSecurityGroupsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*dcdb.SecurityGroup, errRet error)
- func (me *DcdbService) DescribeDcdbShardSpecByFilter(ctx context.Context, param map[string]interface{}) (specConfigs []*dcdb.SpecConfig, errRet error)
- func (me *DcdbService) DescribeDcdbShardsByFilter(ctx context.Context, param map[string]interface{}) (shards []*dcdb.DCDBShardInfo, errRet error)
- func (me *DcdbService) DescribeDcdbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs []*dcdb.SlowLogData, ret *dcdb.DescribeDBSlowLogsResponseParams, ...)
- func (me *DcdbService) DescribeDcdbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBUpgradePriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcnDetailById(ctx context.Context, instanceId string) (dcnDetails []*dcdb.DcnDetailItem, errRet error)
- func (me *DcdbService) InitDcdbDbInstance(ctx context.Context, instanceId string, params []*dcdb.DBParamValue) (initRet bool, flowId *uint64, errRet error)
- func (me *DcdbService) SetDcdbExtranetAccess(ctx context.Context, instanceId string, ipv6Flag int, enable bool) (errRet error)
- func (me *DcdbService) SetNetworkVip(ctx context.Context, instanceId, vpcId, subnetId, vip, vipv6 string) (errRet error)
- func (me *DcdbService) SetRealServerAccessStrategy(ctx context.Context, instanceId string, rsAccessStrategy int) (errRet error)
- type DcgInstanceInfo
- type DcgRouteInfo
- type DlcService
- func (me *DlcService) DeleteDlcAttachWorkGroupPolicyAttachmentById(ctx context.Context, workGroupId string, requestSet []*dlc.Policy) (errRet error)
- func (me *DlcService) DeleteDlcBindWorkGroupsToUserById(ctx context.Context, userId string, workIds []*int64) (errRet error)
- func (me *DlcService) DeleteDlcDataEngineByName(ctx context.Context, dataEngineName string) (errRet error)
- func (me *DlcService) DeleteDlcUserById(ctx context.Context, userId string) (errRet error)
- func (me *DlcService) DeleteDlcUsersToWorkGroupAttachmentById(ctx context.Context, workGroupId string, userId []string) (errRet error)
- func (me *DlcService) DeleteDlcWorkGroupById(ctx context.Context, workGroupId string) (errRet error)
- func (me *DlcService) DescribeDlcCheckDataEngineConfigPairsValidityByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *DlcService) DescribeDlcCheckDataEngineImageCanBeRollbackByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *DlcService) DescribeDlcCheckDataEngineImageCanBeUpgradeByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *DlcService) DescribeDlcDataEngineById(ctx context.Context, dataEngineId string) (dataEngine *dlc.DataEngineInfo, errRet error)
- func (me *DlcService) DescribeDlcDataEngineByName(ctx context.Context, dataEngineName string) (dataEngine *dlc.DataEngineInfo, errRet error)
- func (me *DlcService) DescribeDlcDataEngineImageVersionsByFilter(ctx context.Context, param map[string]interface{}) (describeDataEngineImageVersions []*dlc.DataEngineImageVersion, errRet error)
- func (me *DlcService) DescribeDlcDataEnginePythonSparkImagesByFilter(ctx context.Context, param map[string]interface{}) (describeDataEnginePythonSparkImages []*dlc.PythonSparkImage, errRet error)
- func (me *DlcService) DescribeDlcDescribeEngineUsageInfoByFilter(ctx context.Context, param map[string]interface{}) (describeEngineUsageInfo *dlc.DescribeEngineUsageInfoResponseParams, ...)
- func (me *DlcService) DescribeDlcDescribeUserInfoByFilter(ctx context.Context, param map[string]interface{}) (describeUserInfo *dlc.UserDetailInfo, errRet error)
- func (me *DlcService) DescribeDlcDescribeUserRolesByFilter(ctx context.Context, param map[string]interface{}) (describeUserRoles []*dlc.UserRole, errRet error)
- func (me *DlcService) DescribeDlcDescribeUserTypeByFilter(ctx context.Context, param map[string]interface{}) (describeUserType *string, errRet error)
- func (me *DlcService) DescribeDlcDescribeWorkGroupInfoByFilter(ctx context.Context, param map[string]interface{}) (describeWorkGroupInfo *dlc.WorkGroupDetailInfo, errRet error)
- func (me *DlcService) DescribeDlcStoreLocationConfigById(ctx context.Context) (storeLocationConfig *dlc.DescribeAdvancedStoreLocationResponseParams, ...)
- func (me *DlcService) DescribeDlcUserById(ctx context.Context, userId string) (user *dlc.UserInfo, errRet error)
- func (me *DlcService) DescribeDlcUserDataEngineConfigById(ctx context.Context, dataEngineId string) (userDataEngineConfig *dlc.DataEngineConfigInstanceInfo, errRet error)
- func (me *DlcService) DescribeDlcWorkGroupById(ctx context.Context, workGroupId string) (workGroup *dlc.WorkGroupInfo, errRet error)
- func (me *DlcService) DlcRestartDataEngineStateRefreshFunc(dataEngineId string, failStates []string) resource.StateRefreshFunc
- type DnspodService
- func (me *DnspodService) DeleteDnspodCustomLineById(ctx context.Context, domain string, name string) (errRet error)
- func (me *DnspodService) DeleteDnspodDomainAliasById(ctx context.Context, domain string, domainAliasId int64) (errRet error)
- func (me *DnspodService) DeleteDnspodRecordGroupById(ctx context.Context, domain string, groupId uint64) (errRet error)
- func (me *DnspodService) DeleteDomain(ctx context.Context, domain string) (errRet error)
- func (me *DnspodService) DescribeDnspodCustomLineById(ctx context.Context, domain string, name string) (customLineInfo *dnspod.CustomLineInfo, errRet error)
- func (me *DnspodService) DescribeDnspodDomainAliasById(ctx context.Context, domain string, domainAliasId int64) (domainAliasInfo *dnspod.DomainAliasInfo, errRet error)
- func (me *DnspodService) DescribeDnspodDomainAnalyticsByFilter(ctx context.Context, param map[string]interface{}) (alias_data []*dnspod.DomainAliasAnalyticsItem, ...)
- func (me *DnspodService) DescribeDnspodDomainListByFilter(ctx context.Context, param map[string]interface{}) (domain_list []*dnspod.DomainListItem, errRet error)
- func (me *DnspodService) DescribeDnspodDomainLogListByFilter(ctx context.Context, param map[string]interface{}) (domain_log_list []*string, errRet error)
- func (me *DnspodService) DescribeDnspodRecordAnalyticsByFilter(ctx context.Context, param map[string]interface{}) (alias_data []*dnspod.SubdomainAliasAnalyticsItem, ...)
- func (me *DnspodService) DescribeDnspodRecordGroupById(ctx context.Context, domain string, groupId uint64) (recordGroup *dnspod.RecordGroupInfo, errRet error)
- func (me *DnspodService) DescribeDnspodRecordLineListByFilter(ctx context.Context, param map[string]interface{}) (line_list []*dnspod.LineInfo, line_group_list []*dnspod.LineGroupInfo, ...)
- func (me *DnspodService) DescribeDnspodRecordListByFilter(ctx context.Context, param map[string]interface{}) (record_list []*dnspod.RecordListItem, errRet error)
- func (me *DnspodService) DescribeDnspodRecordTypeByFilter(ctx context.Context, param map[string]interface{}) (type_list []*string, errRet error)
- func (me *DnspodService) DescribeDomain(ctx context.Context, domain string) (ret *dnspod.DescribeDomainResponse, errRet error)
- func (me *DnspodService) DescribeRecordList(ctx context.Context, request *dnspod.DescribeRecordListRequest) (list []*dnspod.RecordListItem, info *dnspod.RecordCountInfo, errRet error)
- func (me *DnspodService) ModifyDnsPodDomainRemark(ctx context.Context, domain string, remark string) (errRet error)
- func (me *DnspodService) ModifyDnsPodDomainStatus(ctx context.Context, domain string, status string) (errRet error)
- type Document
- type DomainService
- type DtsService
- func (me *DtsService) DeleteDtsCompareTaskById(ctx context.Context, jobId, compareTaskId string) (errRet error)
- func (me *DtsService) DeleteDtsMigrateServiceById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DeleteDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DescribeDtsCompareTask(ctx context.Context, jobId, compareTaskId *string) (tasks []*dts.CompareTaskItem, errRet error)
- func (me *DtsService) DescribeDtsCompareTaskStopOperationById(ctx context.Context, jobId string, compareTaskId string) (result *dts.DescribeCompareReportResponseParams, errRet error)
- func (me *DtsService) DescribeDtsCompareTasksByFilter(ctx context.Context, param map[string]interface{}) (compareTasks []*dts.CompareTaskItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateCheckById(ctx context.Context, jobId string) (migrateCheckJob *dts.DescribeMigrationCheckJobResponseParams, errRet error)
- func (me *DtsService) DescribeDtsMigrateDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (migrateDbInstances []*dts.MigrateDBItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateJobById(ctx context.Context, jobId string) (migrateJob *dts.DescribeMigrationDetailResponseParams, errRet error)
- func (me *DtsService) DescribeDtsMigrateJobsByFilter(ctx context.Context, param map[string]interface{}) (migrateJobs []*dts.JobItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateServiceById(ctx context.Context, jobId string) (migrateService *dts.DescribeMigrationDetailResponseParams, errRet error)
- func (me *DtsService) DescribeDtsSyncCheckJobOperationById(ctx context.Context, jobId string) (syncCheckJobOperation *dts.DescribeCheckSyncJobResultResponseParams, ...)
- func (me *DtsService) DescribeDtsSyncConfigById(ctx context.Context, jobId string) (syncConfig *dts.SyncJobInfo, errRet error)
- func (me *DtsService) DescribeDtsSyncJob(ctx context.Context, jobId *string) (jobInfo *dts.SyncJobInfo, errRet error)
- func (me *DtsService) DescribeDtsSyncJobResumeOperationById(ctx context.Context, jobId string) (syncJobResumeOperation *dts.DescribeSyncJobsResponseParams, errRet error)
- func (me *DtsService) DescribeDtsSyncJobsByFilter(ctx context.Context, param map[string]interface{}) (syncJobs []*dts.SyncJobInfo, errRet error)
- func (me *DtsService) DestroyDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DtsMigrateCheckConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateServiceStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncCheckJobOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobConfigDeleteStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobConfigIsolateStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobTradeStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) IsolateDtsMigrateJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) IsolateDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) PollingCompareTaskStatusUntil(ctx context.Context, jobId, compareTaskId, targetStatus string) error
- func (me *DtsService) PollingMigrateJobStatusUntil(ctx context.Context, jobId, statusType string, targetStatus []string) error
- func (me *DtsService) PollingSyncJobStatusUntil(ctx context.Context, jobId string, targetStatus string) error
- func (me *DtsService) StopDtsCompareById(ctx context.Context, jobId, compareTaskId string) (errRet error)
- type EMRService
- func (me *EMRService) CreateInstance(ctx context.Context, d *schema.ResourceData) (id string, err error)
- func (me *EMRService) DeleteEmrUserManagerById(ctx context.Context, instanceId string, userName string) (errRet error)
- func (me *EMRService) DeleteInstance(ctx context.Context, d *schema.ResourceData) error
- func (me *EMRService) DescribeClusterNodes(ctx context.Context, instanceId, nodeFlag, hardwareResourceType string, ...) (nodes []*emr.NodeHardwareInfo, errRet error)
- func (me *EMRService) DescribeEmrUserManagerById(ctx context.Context, instanceId string, userName string) (userManager *emr.DescribeUsersForUserManagerResponseParams, errRet error)
- func (me *EMRService) DescribeInstances(ctx context.Context, filters map[string]interface{}) (clusters []*emr.ClusterInstancesInfo, errRet error)
- func (me *EMRService) DescribeInstancesById(ctx context.Context, instanceId string, displayStrategy string) (clusters []*emr.ClusterInstancesInfo, errRet error)
- func (me *EMRService) ModifyResourcesTags(ctx context.Context, region string, instanceId string, ...) error
- func (me *EMRService) UpdateInstance(ctx context.Context, request *emr.ScaleOutInstanceRequest) (id string, err error)
- type EbService
- func (me *EbService) DeleteEbEventBusById(ctx context.Context, eventBusId string) (errRet error)
- func (me *EbService) DeleteEbEventConnectorById(ctx context.Context, connectionId string, eventBusId string) (errRet error)
- func (me *EbService) DeleteEbEventRuleById(ctx context.Context, eventBusId string, ruleId string) (errRet error)
- func (me *EbService) DeleteEbEventTargetById(ctx context.Context, eventBusId string, ruleId string, targetId string) (errRet error)
- func (me *EbService) DeleteEbEventTransformById(ctx context.Context, eventBusId string, ruleId string, transformationId string) (errRet error)
- func (me *EbService) DescribeEbBusByFilter(ctx context.Context, param map[string]interface{}) (bus []*eb.EventBus, errRet error)
- func (me *EbService) DescribeEbEventBusById(ctx context.Context, eventBusId string) (event *eb.GetEventBusResponseParams, errRet error)
- func (me *EbService) DescribeEbEventConnectorById(ctx context.Context, connectionId string, eventBusId string) (eventConnector *eb.Connection, errRet error)
- func (me *EbService) DescribeEbEventRuleById(ctx context.Context, eventBusId string, ruleId string) (rule *eb.GetRuleResponseParams, errRet error)
- func (me *EbService) DescribeEbEventRulesByFilter(ctx context.Context, param map[string]interface{}) (eventRules []*eb.Rule, errRet error)
- func (me *EbService) DescribeEbEventTargetById(ctx context.Context, eventBusId string, ruleId string, targetId string) (eventTarget *eb.Target, errRet error)
- func (me *EbService) DescribeEbEventTransformById(ctx context.Context, eventBusId string, ruleId string, transformationId string) (ebTransform *eb.Transformation, errRet error)
- func (me *EbService) DescribeEbPlateformByFilter(ctx context.Context, param map[string]interface{}) (plateform []*eb.PlatformEventDetail, errRet error)
- func (me *EbService) DescribeEbPlateformEventTemplateByFilter(ctx context.Context, param map[string]interface{}) (plateformEventTemplate *string, errRet error)
- func (me *EbService) DescribeEbPlatformEventPatternsByFilter(ctx context.Context, param map[string]interface{}) (platformEventPatterns []*eb.PlatformEventSummary, errRet error)
- func (me *EbService) DescribeEbPlatformProductsByFilter(ctx context.Context, param map[string]interface{}) (platformProducts []*eb.PlatformProduct, errRet error)
- func (me *EbService) DescribeEbSearchByFilter(ctx context.Context, param map[string]interface{}) (ebSearch []*string, errRet error)
- func (me *EbService) DescribeEbSearchLogByFilter(ctx context.Context, param map[string]interface{}) (ebSearch []*eb.SearchLogResult, errRet error)
- type EipAssociationId
- type EksClusterCredentialResponse
- type EksClusterInfo
- type EksService
- func (me *EksService) CreateEksCluster(ctx context.Context, request *tke.CreateEKSClusterRequest) (id string, errRet error)
- func (me *EksService) CreateEksContainerInstances(ctx context.Context, request *tke.CreateEKSContainerInstancesRequest) (id string, errRet error)
- func (me *EksService) DeleteEksCluster(ctx context.Context, request *tke.DeleteEKSClusterRequest) (errRet error)
- func (me *EksService) DeleteEksContainerInstance(ctx context.Context, request *tke.DeleteEKSContainerInstancesRequest) (errRet error)
- func (me *EksService) DescribeEKSClusterCredential(ctx context.Context, request *tke.DescribeEKSClusterCredentialRequest) (info *EksClusterCredentialResponse, errRet error)
- func (me *EksService) DescribeEKSClusterCredentialById(ctx context.Context, id string) (info *EksClusterCredentialResponse, errRet error)
- func (me *EksService) DescribeEKSClusters(ctx context.Context, id string, name string) (eksClusters []EksClusterInfo, errRet error)
- func (me *EksService) DescribeEksCluster(ctx context.Context, id string) (clusterInfo EksClusterInfo, has bool, errRet error)
- func (me *EksService) DescribeEksContainerInstanceById(ctx context.Context, id string) (instance *tke.EksCi, has bool, errRet error)
- func (me *EksService) DescribeEksContainerInstancesByFilter(ctx context.Context, filters []*tke.Filter, limit uint64, offset uint64) (instances []*tke.EksCi, errRet error)
- func (me *EksService) UpdateEksCluster(ctx context.Context, request *tke.UpdateEKSClusterRequest) (errRet error)
- func (me *EksService) UpdateEksContainerInstances(ctx context.Context, request *tke.UpdateEKSContainerInstanceRequest) (errRet error)
- type ElasticsearchService
- func (me *ElasticsearchService) DeleteElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (errRet error)
- func (me *ElasticsearchService) DeleteElasticsearchLogstashById(ctx context.Context, instanceId string) (errRet error)
- func (me *ElasticsearchService) DeleteElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (errRet error)
- func (me *ElasticsearchService) DeleteInstance(ctx context.Context, instanceId string) error
- func (me *ElasticsearchService) DescribeElasticsearchDiagnoseByFilter(ctx context.Context, param map[string]interface{}) (diagnose []*elasticsearch.DiagnoseResult, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchDictionariesById(ctx context.Context, instanceId string) (Dictionaries *elasticsearch.DiagnoseResult, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (index *es.IndexMetaField, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (elasticsearchInstanceLogs []*es.InstanceLog, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (instanceOperations []*elasticsearch.Operation, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchInstancePluginListByFilter(ctx context.Context, param map[string]interface{}) (InstancePluginList []*elasticsearch.DescribeInstancePluginInfo, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchLogstashById(ctx context.Context, instanceId string) (logstash *es.LogstashInstanceInfo, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceLogs []*elasticsearch.InstanceLog, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceOperations []*elasticsearch.Operation, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (logstashPipeline *es.LogstashPipelineInfo, errRet error)
- func (me *ElasticsearchService) DescribeElasticsearchViewsByFilter(ctx context.Context, param map[string]interface{}) (clusterView *elasticsearch.ClusterView, nodesViews []*elasticsearch.NodeView, ...)
- func (me *ElasticsearchService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *es.InstanceInfo, errRet error)
- func (me *ElasticsearchService) DescribeInstancesByFilter(ctx context.Context, instanceId, instanceName string, tags map[string]string) (instances []*es.InstanceInfo, errRet error)
- func (me *ElasticsearchService) ElasticsearchInstanceRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *ElasticsearchService) ElasticsearchLogstashPipelineStateRefreshFunc(instanceId, pipelineId string, failStates []string) resource.StateRefreshFunc
- func (me *ElasticsearchService) ElasticsearchLogstashStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *ElasticsearchService) GetDiagnoseSettingsById(ctx context.Context, instanceId string) (diagnoseSettings *es.GetDiagnoseSettingsResponseParams, errRet error)
- func (me *ElasticsearchService) UpdateDiagnoseSettings(ctx context.Context, instanceId string, params map[string]interface{}) error
- func (me *ElasticsearchService) UpdateInstance(ctx context.Context, instanceId, instanceName, password string, ...) error
- func (me *ElasticsearchService) UpdateInstanceLicense(ctx context.Context, instanceId, licenseType string) error
- func (me *ElasticsearchService) UpdateInstanceVersion(ctx context.Context, instanceId, version string) error
- func (me *ElasticsearchService) UpdateJdk(ctx context.Context, instanceId string, params map[string]interface{}) error
- func (me *ElasticsearchService) UpdateLogstashInstance(ctx context.Context, instanceId string, params map[string]interface{}) error
- type GaapService
- func (me *GaapService) BindHttpRuleRealservers(ctx context.Context, listenerId, ruleId string, ...) error
- func (me *GaapService) BindLayer4ListenerRealservers(ctx context.Context, id, protocol, proxyId string, ...) error
- func (me *GaapService) CreateDomainErrorPageInfo(ctx context.Context, listenerId, domain, body string, newErrorCode *int64, ...) (id string, errRet error)
- func (me *GaapService) CreateHTTPDomain(ctx context.Context, listenerId, domain string) error
- func (me *GaapService) CreateHTTPListener(ctx context.Context, name, proxyId string, port int) (id string, err error)
- func (me *GaapService) CreateHTTPSDomain(ctx context.Context, listenerId, domain, certificateId string, ...) error
- func (me *GaapService) CreateHTTPSListener(ctx context.Context, name, certificateId, forwardProtocol, proxyId string, ...) (id string, err error)
- func (me *GaapService) CreateHttpRule(ctx context.Context, httpRule gaapHttpRule) (id string, err error)
- func (me *GaapService) CreateProxy(ctx context.Context, name, accessRegion, realserverRegion string, ...) (id string, err error)
- func (me *GaapService) CreateRealserver(ctx context.Context, address, name string, projectId int) (id string, err error)
- func (me *GaapService) CreateSecurityPolicy(ctx context.Context, proxyId, action string) (id string, err error)
- func (me *GaapService) CreateSecurityRule(ctx context.Context, policyId, name, cidrIp, port, action, protocol string) (id string, err error)
- func (me *GaapService) CreateTCPListener(ctx context.Context, name, scheduler, realserverType, proxyId string, ...) (id string, err error)
- func (me *GaapService) CreateUDPListener(ctx context.Context, name, scheduler, realserverType, proxyId string, port int) (id string, err error)
- func (me *GaapService) DeleteCertificate(ctx context.Context, id string) error
- func (me *GaapService) DeleteDomain(ctx context.Context, listenerId, domain string) error
- func (me *GaapService) DeleteDomainErrorPageInfo(ctx context.Context, id string) error
- func (me *GaapService) DeleteGaapGlobalDomainById(ctx context.Context, domainId string) (errRet error)
- func (me *GaapService) DeleteGaapGlobalDomainDnsById(ctx context.Context, dnsRecordId int) (errRet error)
- func (me *GaapService) DeleteGaapProxyGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *GaapService) DeleteHttpRule(ctx context.Context, listenerId, ruleId string) error
- func (me *GaapService) DeleteLayer4Listener(ctx context.Context, id, proxyId, protocol string) error
- func (me *GaapService) DeleteLayer7Listener(ctx context.Context, id, proxyId, protocol string) error
- func (me *GaapService) DeleteProxy(ctx context.Context, id string) error
- func (me *GaapService) DeleteRealserver(ctx context.Context, id string) error
- func (me *GaapService) DeleteSecurityPolicy(ctx context.Context, id string) error
- func (me *GaapService) DeleteSecurityRule(ctx context.Context, policyId, ruleId string) error
- func (me *GaapService) DescribeCertificateById(ctx context.Context, id string) (certificate *gaap.CertificateDetail, err error)
- func (me *GaapService) DescribeCertificates(ctx context.Context, id, name *string, certificateType *int) (certificates []*gaap.Certificate, err error)
- func (me *GaapService) DescribeDomain(ctx context.Context, listenerId, domain string) (domainRet *gaap.DomainRuleSet, err error)
- func (me *GaapService) DescribeDomainErrorPageInfo(ctx context.Context, listenerId, domain, id string) (info *gaap.DomainErrorPageInfo, err error)
- func (me *GaapService) DescribeDomainErrorPageInfoList(ctx context.Context, listenerId, domain string) (list []*gaap.DomainErrorPageInfo, err error)
- func (me *GaapService) DescribeDomains(ctx context.Context, listenerId, domain string) (domains []*gaap.DomainRuleSet, err error)
- func (me *GaapService) DescribeGaapAccessRegions(ctx context.Context) (describeAccessRegions []*gaap.RegionDetail, errRet error)
- func (me *GaapService) DescribeGaapAccessRegionsByDestRegionByFilter(ctx context.Context, param map[string]interface{}) (accessRegionsByDestRegion []*gaap.AccessRegionDetial, errRet error)
- func (me *GaapService) DescribeGaapBlackHeader(ctx context.Context) (blackHeader []*string, errRet error)
- func (me *GaapService) DescribeGaapCheckProxyCreate(ctx context.Context, param map[string]interface{}) (checkProxyCreate *uint64, errRet error)
- func (me *GaapService) DescribeGaapCountryAreaMapping(ctx context.Context) (countryAreaMapping []*gaap.CountryAreaMap, errRet error)
- func (me *GaapService) DescribeGaapCustomHeader(ctx context.Context, ruleId string) (customHeader []*gaap.HttpHeaderParam, errRet error)
- func (me *GaapService) DescribeGaapDestRegions(ctx context.Context) (destRegions []*gaap.RegionDetail, errRet error)
- func (me *GaapService) DescribeGaapDomainErrorPageInfosByFilter(ctx context.Context, param map[string]interface{}) (domainErrorPageInfos []*gaap.DomainErrorPageInfo, errRet error)
- func (me *GaapService) DescribeGaapGlobalDomainById(ctx context.Context, domainId string, projectId int) (globalDomain *gaap.Domain, errRet error)
- func (me *GaapService) DescribeGaapGlobalDomainDnsById(ctx context.Context, domainId string, params map[string]interface{}) (globalDomainDns *gaap.GlobalDns, errRet error)
- func (me *GaapService) DescribeGaapGroupAndStatisticsProxyByFilter(ctx context.Context, param map[string]interface{}) (groupAndStatisticsProxy []*gaap.GroupStatisticsInfo, errRet error)
- func (me *GaapService) DescribeGaapListenerRealServersByFilter(ctx context.Context, param map[string]interface{}) (listenerRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, ...)
- func (me *GaapService) DescribeGaapListenerStatisticsByFilter(ctx context.Context, param map[string]interface{}) (listenerStatistics []*gaap.MetricStatisticsInfo, errRet error)
- func (me *GaapService) DescribeGaapProxiesStatusByFilter(ctx context.Context, param map[string]interface{}) (proxiesStatus []*gaap.ProxyStatus, errRet error)
- func (me *GaapService) DescribeGaapProxyAndStatisticsListenersByFilter(ctx context.Context, param map[string]interface{}) (proxyAndStatisticsListeners []*gaap.ProxySimpleInfo, errRet error)
- func (me *GaapService) DescribeGaapProxyDetail(ctx context.Context, proxyId string) (proxyDetail *gaap.ProxyInfo, errRet error)
- func (me *GaapService) DescribeGaapProxyGroupById(ctx context.Context, groupId string) (proxyGroup *gaap.ProxyGroupDetail, errRet error)
- func (me *GaapService) DescribeGaapProxyGroupProxies(ctx context.Context, groupId string) (proxies []*gaap.ProxyInfo, errRet error)
- func (me *GaapService) DescribeGaapProxyGroupStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroupStatistics []*gaap.MetricStatisticsInfo, errRet error)
- func (me *GaapService) DescribeGaapProxyGroupsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroups []*gaap.ProxyGroupInfo, errRet error)
- func (me *GaapService) DescribeGaapProxyStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyStatistics []*gaap.MetricStatisticsInfo, errRet error)
- func (me *GaapService) DescribeGaapRealServersStatusByFilter(ctx context.Context, param map[string]interface{}) (realServersStatus []*gaap.RealServerStatus, errRet error)
- func (me *GaapService) DescribeGaapRegionAndPriceByFilter(ctx context.Context, param map[string]interface{}) (regionAndPrice []*gaap.RegionDetail, ...)
- func (me *GaapService) DescribeGaapResourcesByTagByFilter(ctx context.Context, param map[string]interface{}) (resourcesByTag []*gaap.TagResourceInfo, errRet error)
- func (me *GaapService) DescribeGaapRuleRealServersByFilter(ctx context.Context, param map[string]interface{}) (ruleRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, ...)
- func (me *GaapService) DescribeHTTPListeners(ctx context.Context, proxyId, id, name *string, port *int) (listeners []*gaap.HTTPListener, err error)
- func (me *GaapService) DescribeHTTPSListeners(ctx context.Context, proxyId, listenerId, name *string, port *int) (listeners []*gaap.HTTPSListener, err error)
- func (me *GaapService) DescribeHttpRule(ctx context.Context, id string) (rule *gaap.RuleInfo, err error)
- func (me *GaapService) DescribeProxies(ctx context.Context, ids []string, projectId *int, ...) (proxies []*gaap.ProxyInfo, err error)
- func (me *GaapService) DescribeRealservers(ctx context.Context, address, name *string, tags map[string]string, ...) (realservers []*gaap.BindRealServerInfo, err error)
- func (me *GaapService) DescribeSecurityPolicy(ctx context.Context, id string) (proxyId, status, action string, exist bool, err error)
- func (me *GaapService) DescribeSecurityRule(ctx context.Context, id string) (securityRule *gaap.SecurityPolicyRuleOut, err error)
- func (me *GaapService) DescribeSecurityRules(ctx context.Context, policyId string) (securityRules []*gaap.SecurityPolicyRuleOut, err error)
- func (me *GaapService) DescribeTCPListeners(ctx context.Context, proxyId, listenerId, name *string, port *int) (listeners []*gaap.TCPListener, err error)
- func (me *GaapService) DescribeUDPListeners(ctx context.Context, proxyId, id, name *string, port *int) (listeners []*gaap.UDPListener, err error)
- func (me *GaapService) DisableGlobalDomain(ctx context.Context, domainId string) (errRet error)
- func (me *GaapService) DisableProxy(ctx context.Context, id string) error
- func (me *GaapService) DisableSecurityPolicy(ctx context.Context, proxyId, policyId string) error
- func (me *GaapService) DomainInstanceStateRefreshFunc(instanceId string, projectId int, failStates []string) resource.StateRefreshFunc
- func (me *GaapService) EnableProxy(ctx context.Context, id string) error
- func (me *GaapService) EnableSecurityPolicy(ctx context.Context, proxyId, policyId string) error
- func (me *GaapService) GlobalDomainDnsStateRefreshFunc(domainId string, dnsRecordId int, failStates []string) resource.StateRefreshFunc
- func (me *GaapService) ModifyCertificateName(ctx context.Context, id, name string) error
- func (me *GaapService) ModifyDomainCertificate(ctx context.Context, listenerId, domain, certificateId string, ...) error
- func (me *GaapService) ModifyHTTPListener(ctx context.Context, id, proxyId, name string) error
- func (me *GaapService) ModifyHTTPRuleAttribute(ctx context.Context, ...) error
- func (me *GaapService) ModifyHTTPRuleForwardHost(ctx context.Context, listenerId, ruleId, forwardHost string) error
- func (me *GaapService) ModifyHTTPSListener(ctx context.Context, proxyId, id string, ...) error
- func (me *GaapService) ModifyProxyConfiguration(ctx context.Context, id string, bandwidth, concurrent *int) error
- func (me *GaapService) ModifyProxyName(ctx context.Context, id, name string) error
- func (me *GaapService) ModifyProxyProjectId(ctx context.Context, id string, projectId int) error
- func (me *GaapService) ModifyRealserverName(ctx context.Context, id, name string) error
- func (me *GaapService) ModifySecurityRule(ctx context.Context, ...) error
- func (me *GaapService) ModifyTCPListenerAttribute(ctx context.Context, proxyId, id string, name, scheduler *string, ...) error
- func (me *GaapService) ModifyUDPListenerAttribute(ctx context.Context, proxyId, id string, name, scheduler *string) error
- func (me *GaapService) SetAdvancedAuth(ctx context.Context, listenerId, domain string, ...) error
- type GoRoutineLimit
- type InstanceAdvancedSettings
- type InstanceInfo
- type KmsService
- func (me *KmsService) ArchiveKey(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) CancelKeyArchive(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) CancelKeyDeletion(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) CreateKey(ctx context.Context, keyType uint64, alias, description, keyUsage string) (keyId string, errRet error)
- func (me *KmsService) DeleteImportKeyMaterial(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) DeleteKey(ctx context.Context, keyId string, pendingDeleteWindowInDays uint64) (errRet error)
- func (me *KmsService) DeleteKmsCloudResourceAttachmentById(ctx context.Context, keyId, productId, resourceId string) (errRet error)
- func (me *KmsService) DeleteKmsWhiteBoxKeyById(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) DescribeKeyById(ctx context.Context, keyId string) (key *kms.KeyMetadata, errRet error)
- func (me *KmsService) DescribeKeysByFilter(ctx context.Context, param map[string]interface{}) (keys []*kms.KeyMetadata, errRet error)
- func (me *KmsService) DescribeKmsCloudResourceAttachmentById(ctx context.Context, keyId string) (keyMetadata *kms.KeyMetadata, errRet error)
- func (me *KmsService) DescribeKmsGetParametersForImportByFilter(ctx context.Context, param map[string]interface{}) (getParametersForImport *kms.GetParametersForImportResponseParams, errRet error)
- func (me *KmsService) DescribeKmsKeyListsByFilter(ctx context.Context, param map[string]interface{}) (KeyLists []*kms.KeyMetadata, errRet error)
- func (me *KmsService) DescribeKmsListAlgorithmsByFilter(ctx context.Context) (listAlgorithms *kms.ListAlgorithmsResponseParams, errRet error)
- func (me *KmsService) DescribeKmsListKeysByFilter(ctx context.Context, param map[string]interface{}) (listKeys []*kms.Key, errRet error)
- func (me *KmsService) DescribeKmsPublicKeyByFilter(ctx context.Context, param map[string]interface{}) (publicKey *kms.GetPublicKeyResponseParams, errRet error)
- func (me *KmsService) DescribeKmsWhiteBoxDecryptKeyByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxDecryptKey *kms.DescribeWhiteBoxDecryptKeyResponseParams, errRet error)
- func (me *KmsService) DescribeKmsWhiteBoxDeviceFingerprintsByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxDeviceFingerprints []*kms.DeviceFingerprint, errRet error)
- func (me *KmsService) DescribeKmsWhiteBoxKeyById(ctx context.Context, keyId string) (whiteBoxKey *kms.WhiteboxKeyInfo, errRet error)
- func (me *KmsService) DescribeKmsWhiteBoxKeyDetailsByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxKeyInfo []*kms.WhiteboxKeyInfo, errRet error)
- func (me *KmsService) DisableKey(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) DisableKeyRotation(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) EnableKey(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) EnableKeyRotation(ctx context.Context, keyId string) (errRet error)
- func (me *KmsService) ImportKeyMaterial(ctx context.Context, param map[string]interface{}) (errRet error)
- func (me *KmsService) UpdateKeyAlias(ctx context.Context, keyId, alias string) (errRet error)
- func (me *KmsService) UpdateKeyDescription(ctx context.Context, keyId, description string) (errRet error)
- type LightHouseService
- func (me *LightHouseService) DeleteFirewallTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseBlueprintById(ctx context.Context, blueprintId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseDiskAttachmentById(ctx context.Context, diskId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseInstanceById(ctx context.Context, id string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseKeyPairAttachmentById(ctx context.Context, keyId string, instanceId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseKeyPairById(ctx context.Context, keyId string) (errRet error)
- func (me *LightHouseService) DeleteLighthouseSnapshotById(ctx context.Context, snapshotId string) (errRet error)
- func (me *LightHouseService) DescribeFirewallTemplateById(ctx context.Context, templateId string) (firewallTemplate *lighthouse.FirewallTemplate, errRet error)
- func (me *LightHouseService) DescribeFirewallTemplateRulesById(ctx context.Context, templateId string) (firewallTemplateRules []*lighthouse.FirewallTemplateRuleInfo, errRet error)
- func (me *LightHouseService) DescribeLighthouseAllSceneByFilter(ctx context.Context, param map[string]interface{}) (scene []*lighthouse.SceneInfo, errRet error)
- func (me *LightHouseService) DescribeLighthouseBlueprintById(ctx context.Context, blueprintId string) (blueprint *lighthouse.Blueprint, errRet error)
- func (me *LightHouseService) DescribeLighthouseBundleByFilter(ctx context.Context, param map[string]interface{}) (bundle []*lighthouse.Bundle, errRet error)
- func (me *LightHouseService) DescribeLighthouseDisk(ctx context.Context, diskIds []string, filters []*lighthouse.Filter) (disks []*lighthouse.Disk, errRet error)
- func (me *LightHouseService) DescribeLighthouseDiskBackupById(ctx context.Context, diskBackupId string) (diskBackup *lighthouse.DiskBackup, errRet error)
- func (me *LightHouseService) DescribeLighthouseDiskById(ctx context.Context, diskId string) (diskAttachment *lighthouse.Disk, errRet error)
- func (me *LightHouseService) DescribeLighthouseDiskConfigByFilter(ctx context.Context, param map[string]interface{}) (diskConfig []*lighthouse.DiskConfig, errRet error)
- func (me *LightHouseService) DescribeLighthouseFirewallRuleById(ctx context.Context, instance_id string) (firewallRules []*lighthouse.FirewallRuleInfo, errRet error)
- func (me *LightHouseService) DescribeLighthouseFirewallRulesTemplateByFilter(ctx context.Context) (firewallRulesTemplate []*lighthouse.FirewallRuleInfo, errRet error)
- func (me *LightHouseService) DescribeLighthouseInstanceBlueprintByFilter(ctx context.Context, instanceIds []string) (instanceBlueprint []*lighthouse.BlueprintInstance, errRet error)
- func (me *LightHouseService) DescribeLighthouseInstanceById(ctx context.Context, instanceId string) (instance *lighthouse.Instance, errRet error)
- func (me *LightHouseService) DescribeLighthouseInstanceDiskNum(ctx context.Context, instanceIds []string) (instanceDiskNum []*lighthouse.AttachDetail, errRet error)
- func (me *LightHouseService) DescribeLighthouseInstanceTrafficPackageByFilter(ctx context.Context, param map[string]interface{}) (instanceTrafficPackage []*lighthouse.InstanceTrafficPackage, errRet error)
- func (me *LightHouseService) DescribeLighthouseInstanceVncUrlByFilter(ctx context.Context, instanceId string) (instanceVncUrl string, errRet error)
- func (me *LightHouseService) DescribeLighthouseKeyPairAttachmentById(ctx context.Context, keyId string) (keyPairAttachment *lighthouse.KeyPair, errRet error)
- func (me *LightHouseService) DescribeLighthouseKeyPairById(ctx context.Context, keyId string) (keyPair *lighthouse.KeyPair, errRet error)
- func (me *LightHouseService) DescribeLighthouseModifyInstanceBundleByFilter(ctx context.Context, param map[string]interface{}) (modifyInstanceBundle []*lighthouse.ModifyBundle, errRet error)
- func (me *LightHouseService) DescribeLighthouseRegionByFilter(ctx context.Context, param map[string]interface{}) (region []*lighthouse.RegionInfo, errRet error)
- func (me *LightHouseService) DescribeLighthouseResetInstanceBlueprintByFilter(ctx context.Context, param map[string]interface{}) (resetInstanceBlueprint []*lighthouse.ResetInstanceBlueprint, errRet error)
- func (me *LightHouseService) DescribeLighthouseSceneByFilter(ctx context.Context, param map[string]interface{}) (scene []*lighthouse.Scene, errRet error)
- func (me *LightHouseService) DescribeLighthouseSnapshotById(ctx context.Context, snapshotId string) (snapshot *lighthouse.Snapshot, errRet error)
- func (me *LightHouseService) DescribeLighthouseZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*lighthouse.ZoneInfo, errRet error)
- func (me *LightHouseService) IsolateLighthouseDiskById(ctx context.Context, diskId string) (errRet error)
- func (me *LightHouseService) IsolateLighthouseInstanceById(ctx context.Context, id string, isolateDataDisk bool) (errRet error)
- func (me *LightHouseService) LighthouseApplyDiskBackupStateRefreshFunc(diskBackupId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseApplySnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseBlueprintStateRefreshFunc(blueprintId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseDiskBackupStateRefreshFunc(diskBackupId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseDiskLatestOperationRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseDiskStateRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseDiskTerminateRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseInstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) LighthouseSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
- func (me *LightHouseService) ModifyFirewallRuleDescription(ctx context.Context, instanceId string, firewallRule lighthouse.FirewallRule) (errRet error)
- func (me *LightHouseService) TerminateLighthouseDiskById(ctx context.Context, diskId string) (errRet error)
- type MariadbService
- func (me *MariadbService) DeleteMariadbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
- func (me *MariadbService) DeleteMariadbDbInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbHourDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbSecurityGroupsById(ctx context.Context, instanceId, securityGroupId, product string) (errRet error)
- func (me *MariadbService) DescribeDBEncryptAttributes(ctx context.Context, instanceId string) (encryptAttributes *mariadb.DescribeDBEncryptAttributesResponseParams, ...)
- func (me *MariadbService) DescribeDBInstanceDetailById(ctx context.Context, instanceId string) (dbDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
- func (me *MariadbService) DescribeFlowById(ctx context.Context, flowId int64) (flowParams *mariadb.DescribeFlowResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbAccount(ctx context.Context, instanceId, userName, host string) (account *mariadb.DBAccount, errRet error)
- func (me *MariadbService) DescribeMariadbAccountPrivilegesById(ctx context.Context, instanceId string, user string, host string) (accountPrivileges *mariadb.DescribeAccountPrivilegesResponseParams, ...)
- func (me *MariadbService) DescribeMariadbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*mariadb.DBAccount, errRet error)
- func (me *MariadbService) DescribeMariadbBackupTimeById(ctx context.Context, instanceId string) (backupTime *mariadb.DBBackupTimeConfig, errRet error)
- func (me *MariadbService) DescribeMariadbDatabaseObjectsByFilter(ctx context.Context, instanceId, dbName string) (databaseObjects *mariadb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbDatabaseTableByFilter(ctx context.Context, param map[string]interface{}) (cols []*mariadb.TableColumn, errRet error)
- func (me *MariadbService) DescribeMariadbDatabasesByFilter(ctx context.Context, instanceId string) (databases []*mariadb.Database, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstance(ctx context.Context, instanceId string) (dbInstance *mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstanceDetail(ctx context.Context, instanceId string) (dbInstanceDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (dbInstances []*mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbDcnDetailByFilter(ctx context.Context, param map[string]interface{}) (dcnDetail []*mariadb.DcnDetailItem, errRet error)
- func (me *MariadbService) DescribeMariadbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *mariadb.DescribeFileDownloadUrlResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbFlowByFilter(ctx context.Context, param map[string]interface{}) (flow *mariadb.DescribeFlowResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceById(ctx context.Context, instanceId string) (instance *mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*mariadb.NodeInfo, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceSpecsByFilter(ctx context.Context) (instanceSpecs []*mariadb.InstanceSpec, errRet error)
- func (me *MariadbService) DescribeMariadbLogFileRetentionPeriod(ctx context.Context, instanceId string) (logFileRetentionPeriod *mariadb.DescribeLogFileRetentionPeriodResponseParams, ...)
- func (me *MariadbService) DescribeMariadbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (logFiles *mariadb.DescribeDBLogFilesResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbOrdersByFilter(ctx context.Context, dealName string) (orders []*mariadb.Deal, errRet error)
- func (me *MariadbService) DescribeMariadbParameters(ctx context.Context, instanceId string) (parameters *mariadb.DescribeDBParametersResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbPriceByFilter(ctx context.Context, param map[string]interface{}) (price *mariadb.DescribePriceResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (renewalPrice *mariadb.DescribeRenewalPriceResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbSaleInfoByFilter(ctx context.Context) (saleInfo []*mariadb.RegionInfo, errRet error)
- func (me *MariadbService) DescribeMariadbSecurityGroup(ctx context.Context, instanceId, securityGroupId, product string) (securityGroup *mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs *mariadb.DescribeDBSlowLogsResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (upgradePrice *mariadb.DescribeUpgradePriceResponseParams, errRet error)
- func (me *MariadbService) InitDbInstance(ctx context.Context, instanceId string, params []*mariadb.DBParamValue) (initRet bool, errRet error)
- func (me *MariadbService) IsolateDBInstanceById(ctx context.Context, instanceId string) (errRet error)
- type MdlService
- type MongodbService
- func (me *MongodbService) DeleteMongodbInstanceAccountById(ctx context.Context, instanceId string, userName string, ...) (errRet error)
- func (me *MongodbService) DescribeAsyncRequestInfo(ctx context.Context, asyncId string, timeout time.Duration) (errRet error)
- func (me *MongodbService) DescribeDBInstanceNodeProperty(ctx context.Context, instanceId string) (replicateSets []*mongodb.ReplicateSetInfo, errRet error)
- func (me *MongodbService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *mongodb.InstanceDetail, has bool, errRet error)
- func (me *MongodbService) DescribeInstancesByFilter(ctx context.Context, instanceId string, clusterType int) (mongodbs []*mongodb.InstanceDetail, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceAccountById(ctx context.Context, instanceId string, userName string) (instanceAccount *mongodb.UserInfo, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceBackupDownloadTaskById(ctx context.Context, instanceId string, backupName string) (instanceBackupDownloadTask []*mongodb.BackupDownloadTask, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceBackupsByFilter(ctx context.Context, param map[string]interface{}) (instanceBackups []*mongodb.BackupInfo, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceConnectionsByFilter(ctx context.Context, param map[string]interface{}) (instanceConnections []*mongodb.ClientConnection, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceCurrentOpByFilter(ctx context.Context, param map[string]interface{}) (instanceCurrentOp []*mongodb.CurrentOp, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceParams(ctx context.Context, param map[string]interface{}) (instanceParams *mongodb.DescribeInstanceParamsResponseParams, errRet error)
- func (me *MongodbService) DescribeMongodbInstanceSlowLogByFilter(ctx context.Context, param map[string]interface{}) (instanceSlowLog []*string, errRet error)
- func (me *MongodbService) DescribeSecurityGroup(ctx context.Context, instanceId string) (groups []*mongodb.SecurityGroup, errRet error)
- func (me *MongodbService) DescribeSpecInfo(ctx context.Context, zone string) (infos []*mongodb.SpecificationInfo, errRet error)
- func (me *MongodbService) IsolateInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *MongodbService) ModifyAutoRenewFlag(ctx context.Context, instanceId string, period int, renewFlag int) (errRet error)
- func (me *MongodbService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) (errRet error)
- func (me *MongodbService) ModifyNetworkAddress(ctx context.Context, instanceId string, vpcId string, subnetId string) (errRet error)
- func (me *MongodbService) ModifyProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)
- func (me *MongodbService) ModifySecurityGroups(ctx context.Context, instanceId string, securityGroups []*string) (errRet error)
- func (me *MongodbService) OfflineIsolatedDBInstance(ctx context.Context, instanceId string, timeOutTolerant bool) (errRet error)
- func (me *MongodbService) ResetInstancePassword(ctx context.Context, instanceId, accountName, password string) (errRet error)
- func (me *MongodbService) TerminateDBInstances(ctx context.Context, instanceId string) (errRet error)
- func (me *MongodbService) UpgradeInstance(ctx context.Context, instanceId string, memory int, volume int) (errRet error)
- type MonitorService
- func (me *MonitorService) CheckCanCreateMysqlROInstance(ctx context.Context, mysqlId string) (can bool, errRet error)
- func (me *MonitorService) CleanGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorAlarmNoticeById(ctx context.Context, Id string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaIntegrationById(ctx context.Context, integrationId, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaNotificationChannelById(ctx context.Context, channelId, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaPluginById(ctx context.Context, instanceId, pluginId string) (errRet error)
- func (me *MonitorService) DeleteMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorRecordingRule(ctx context.Context, instanceId string, recordingRuleId string) (errRet error)
- func (me *MonitorService) DeleteMonitorSsoAccountById(ctx context.Context, instanceId, userId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpAlertRule(ctx context.Context, instanceId string, ruleId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpExporterIntegrationById(ctx context.Context, tmpExporterIntegrationId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpScrapeJobById(ctx context.Context, tmpScrapeJobId string) (errRet error)
- func (me *MonitorService) DeletePrometheusClusterAgent(ctx context.Context, instanceId, clusterId, clusterType string) (errRet error)
- func (me *MonitorService) DeletePrometheusRecordRuleYaml(ctx context.Context, id, name string) (errRet error)
- func (me *MonitorService) DeleteTkeTmpAlertPolicyById(ctx context.Context, instanceId, tmpAlertPolicyId string) (errRet error)
- func (me *MonitorService) DeleteTkeTmpConfigByName(ctx context.Context, configId string, ServiceMonitors []*string, ...) (errRet error)
- func (me *MonitorService) DeleteTmpTkeTemplate(ctx context.Context, tempId string) (errRet error)
- func (me *MonitorService) DescribeAlarmNoticeById(ctx context.Context, alarmmap map[string]interface{}) (noticeIds []*monitor.AlarmNotice, errRet error)
- func (me *MonitorService) DescribeAlarmPolicyById(ctx context.Context, policyId string) (info *monitor.AlarmPolicy, errRet error)
- func (me *MonitorService) DescribeBindingAlarmPolicyObjectList(ctx context.Context, policyId string) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
- func (me *MonitorService) DescribeBindingPolicyObjectList(ctx context.Context, groupId int64) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmAllNamespacesByFilter(ctx context.Context, param map[string]interface{}) (qce, custom []*monitor.CommonNamespace, common []*monitor.CommonNamespaceNew, ...)
- func (me *MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter(ctx context.Context, param map[string]interface{}) (alarms []*monitor.DescribeBasicAlarmListAlarms, warning *string, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmBasicMetricByFilter(ctx context.Context, param map[string]interface{}) (metric []*monitor.MetricSet, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter(ctx context.Context, param map[string]interface{}) (alarmConditionsTemplate []*monitor.TemplateGroup, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmHistoryByFilter(ctx context.Context, param map[string]interface{}) (alarmHistory []*monitor.AlarmHistory, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmMetricByFilter(ctx context.Context, param map[string]interface{}) (alarmMetric []*monitor.Metric, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmMonitorTypeByFilter(ctx context.Context, param map[string]interface{}) (alarmMonitor *monitor.DescribeMonitorTypesResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmNoticeCallbacksByFilter(ctx context.Context) (alarmNoticeCallbacks []*monitor.URLNotice, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmPolicyByFilter(ctx context.Context, param map[string]interface{}) (alarmPolicy []*monitor.AlarmPolicy, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaDnsConfigById(ctx context.Context, instanceId string) (grafanaDnsConfig *monitor.DescribeDNSConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaEnvConfigById(ctx context.Context, instanceId string) (grafanaEnvConfig *monitor.DescribeGrafanaEnvironmentsResponseParams, ...)
- func (me *MonitorService) DescribeMonitorGrafanaInstance(ctx context.Context, instanceId string) (grafanaInstance *monitor.GrafanaInstanceInfo, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaIntegration(ctx context.Context, integrationId, instanceId string) (grafanaIntegration *monitor.GrafanaIntegrationConfig, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaNotificationChannel(ctx context.Context, channelId, instanceId string) (grafanaNotificationChannel *monitor.GrafanaChannel, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaPlugin(ctx context.Context, instanceId, pluginId string) (grafanaPlugin *monitor.GrafanaPlugin, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter(ctx context.Context, param map[string]interface{}) (pluginOverviews []*monitor.GrafanaPlugin, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaWhitelistConfigById(ctx context.Context, instanceId string) (grafanaWhitelistConfig *monitor.DescribeGrafanaWhiteListResponseParams, ...)
- func (me *MonitorService) DescribeMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (manageGrafanaAttachment *monitor.PrometheusInstancesItem, errRet error)
- func (me *MonitorService) DescribeMonitorRecordingRuleById(ctx context.Context, instanceId string, recordingRuleId string) (instance *monitor.RecordingRuleSet, errRet error)
- func (me *MonitorService) DescribeMonitorSsoAccount(ctx context.Context, instanceId, userId string) (ssoAccount *monitor.GrafanaAccountInfo, errRet error)
- func (me *MonitorService) DescribeMonitorStatisticDataByFilter(ctx context.Context, param map[string]interface{}) (statisticData *monitor.DescribeStatisticDataResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorTmpAlertRuleById(ctx context.Context, instanceId string, tmpAlertRuleId string) (instance *monitor.PrometheusRuleSet, errRet error)
- func (me *MonitorService) DescribeMonitorTmpCvmAgent(ctx context.Context, instanceId string, tmpCvmAgentId string) (tmpCvmAgent *monitor.PrometheusAgent, errRet error)
- func (me *MonitorService) DescribeMonitorTmpExporterIntegration(ctx context.Context, tmpExporterIntegrationId string) (tmpExporterIntegration *monitor.IntegrationConfiguration, errRet error)
- func (me *MonitorService) DescribeMonitorTmpGrafanaConfigById(ctx context.Context, instanceId string) (tmpGrafanaConfig *monitor.DescribeGrafanaConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorTmpInstance(ctx context.Context, tmpInstanceId string) (tmpInstance *monitor.PrometheusInstancesItem, errRet error)
- func (me *MonitorService) DescribeMonitorTmpRegionsByFilter(ctx context.Context, param map[string]interface{}) (tmpRegions []*monitor.PrometheusRegionItem, errRet error)
- func (me *MonitorService) DescribeMonitorTmpScrapeJob(ctx context.Context, tmpScrapeJobId string) (tmpScrapeJob *monitor.PrometheusScrapeJob, errRet error)
- func (me *MonitorService) DescribePolicyGroup(ctx context.Context, groupId int64) (info *monitor.DescribePolicyGroupListGroup, errRet error)
- func (me *MonitorService) DescribePolicyGroupDetailInfo(ctx context.Context, groupId int64) (response *monitor.DescribePolicyGroupInfoResponse, errRet error)
- func (me *MonitorService) DescribePrometheusRecordRuleByName(ctx context.Context, id, name string) (ret *monitor.DescribePrometheusRecordRulesResponse, errRet error)
- func (me *MonitorService) DescribePrometheusTempSync(ctx context.Context, templateId string) (targets []*monitor.PrometheusTemplateSyncTarget, errRet error)
- func (me *MonitorService) DescribeTkeTmpAlertPolicy(ctx context.Context, instanceId, tmpAlertPolicyId string) (tmpAlertPolicy *monitor.PrometheusAlertPolicyItem, errRet error)
- func (me *MonitorService) DescribeTkeTmpBasicConfigById(ctx context.Context, clusterId, clusterType, instanceId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeTkeTmpConfigById(ctx context.Context, configId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeTkeTmpGlobalNotification(ctx context.Context, instanceId string) (tmpNotification *monitor.PrometheusNotificationItem, errRet error)
- func (me *MonitorService) DescribeTmpTkeClusterAgentsById(ctx context.Context, instanceId, clusterId, clusterType string) (agents *monitor.PrometheusAgentOverview, errRet error)
- func (me *MonitorService) DescribeTmpTkeTemplateById(ctx context.Context, templateId string) (template *monitor.PrometheusTemp, errRet error)
- func (me *MonitorService) FullRegions() (regions []string, errRet error)
- func (me *MonitorService) GetConfigType(name string, respParams *monitor.DescribePrometheusConfigResponseParams) (configType string, config *monitor.PrometheusConfigItem, err error)
- func (me *MonitorService) IsolateMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
- func (me *MonitorService) ModifyTkeTmpGlobalNotification(ctx context.Context, instanceId string, ...) (response *monitor.ModifyPrometheusGlobalNotificationResponse, errRet error)
- type MpsService
- func (me *MpsService) DeleteMpsAdaptiveDynamicStreamingTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsAiAnalysisTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsAiRecognitionTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsAnimatedGraphicsTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsContentReviewTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsEventById(ctx context.Context, eventId string) (errRet error)
- func (me *MpsService) DeleteMpsFlowById(ctx context.Context, flowId string) (errRet error)
- func (me *MpsService) DeleteMpsImageSpriteTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsOutputById(ctx context.Context, flowId, outputId string) (errRet error)
- func (me *MpsService) DeleteMpsPersonSampleById(ctx context.Context, personId string) (errRet error)
- func (me *MpsService) DeleteMpsSampleSnapshotTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsScheduleById(ctx context.Context, scheduleId string) (errRet error)
- func (me *MpsService) DeleteMpsSnapshotByTimeoffsetTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsTranscodeTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsWatermarkTemplateById(ctx context.Context, definition string) (errRet error)
- func (me *MpsService) DeleteMpsWordSamplesById(ctx context.Context, keywords []string) (errRet error)
- func (me *MpsService) DeleteMpsWorkflowById(ctx context.Context, workflowId string) (errRet error)
- func (me *MpsService) DescribeMpsAdaptiveDynamicStreamingTemplateById(ctx context.Context, definition string) (adaptiveDynamicStreamingTemplate *mps.AdaptiveDynamicStreamingTemplate, ...)
- func (me *MpsService) DescribeMpsAiAnalysisTemplateById(ctx context.Context, definition string) (aiAnalysisTemplate *mps.AIAnalysisTemplateItem, errRet error)
- func (me *MpsService) DescribeMpsAiRecognitionTemplateById(ctx context.Context, definition string) (aiRecognitionTemplate *mps.AIRecognitionTemplateItem, errRet error)
- func (me *MpsService) DescribeMpsAnimatedGraphicsTemplateById(ctx context.Context, definition string) (animatedGraphicsTemplate *mps.AnimatedGraphicsTemplate, errRet error)
- func (me *MpsService) DescribeMpsContentReviewTemplateById(ctx context.Context, definition string) (contentReviewTemplate *mps.ContentReviewTemplateItem, errRet error)
- func (me *MpsService) DescribeMpsEventById(ctx context.Context, eventId string) (event *mps.DescribeEvent, errRet error)
- func (me *MpsService) DescribeMpsFlowById(ctx context.Context, flowId string) (flow *mps.DescribeFlow, errRet error)
- func (me *MpsService) DescribeMpsImageSpriteTemplateById(ctx context.Context, definition string) (imageSpriteTemplate *mps.ImageSpriteTemplate, errRet error)
- func (me *MpsService) DescribeMpsInputById(ctx context.Context, flowId, inputId string) (input *mps.DescribeInput, errRet error)
- func (me *MpsService) DescribeMpsMediaMetaDataByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.MediaMetaData, errRet error)
- func (me *MpsService) DescribeMpsOutputById(ctx context.Context, flowId, outputId string) (output *mps.DescribeOutput, errRet error)
- func (me *MpsService) DescribeMpsParseLiveStreamProcessNotificationByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.ParseLiveStreamProcessNotificationResponseParams, errRet error)
- func (me *MpsService) DescribeMpsParseNotificationByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.ParseNotificationResponseParams, errRet error)
- func (me *MpsService) DescribeMpsPersonSampleById(ctx context.Context, personId string) (personSample *mps.AiSamplePerson, errRet error)
- func (me *MpsService) DescribeMpsSampleSnapshotTemplateById(ctx context.Context, definition string) (sampleSnapshotTemplate *mps.SampleSnapshotTemplate, errRet error)
- func (me *MpsService) DescribeMpsScheduleById(ctx context.Context, scheduleId *string) (schedules []*mps.SchedulesInfo, errRet error)
- func (me *MpsService) DescribeMpsSchedulesByFilter(ctx context.Context, param map[string]interface{}) (schedules []*mps.SchedulesInfo, errRet error)
- func (me *MpsService) DescribeMpsSnapshotByTimeoffsetTemplateById(ctx context.Context, definition string) (snapshotByTimeoffsetTemplate *mps.SnapshotByTimeOffsetTemplate, errRet error)
- func (me *MpsService) DescribeMpsTaskDetailById(ctx context.Context, taskId string) (manageTaskOperation *mps.DescribeTaskDetailResponseParams, errRet error)
- func (me *MpsService) DescribeMpsTasksByFilter(ctx context.Context, param map[string]interface{}) (tasks []*mps.TaskSimpleInfo, errRet error)
- func (me *MpsService) DescribeMpsTranscodeTemplateById(ctx context.Context, definition string) (transcodeTemplate *mps.TranscodeTemplate, errRet error)
- func (me *MpsService) DescribeMpsWatermarkTemplateById(ctx context.Context, definition string) (watermarkTemplate *mps.WatermarkTemplate, errRet error)
- func (me *MpsService) DescribeMpsWordSampleById(ctx context.Context, keyword string) (wordSample *mps.AiSampleWord, errRet error)
- func (me *MpsService) DescribeMpsWordSamplesById(ctx context.Context, keywords []string) (wordSamples []*mps.AiSampleWord, errRet error)
- func (me *MpsService) DescribeMpsWorkflowById(ctx context.Context, workflowId string) (workflow *mps.WorkflowInfo, errRet error)
- func (me *MpsService) DisableWorkflow(ctx context.Context, workflowId int64) (errRet error)
- func (me *MpsService) EnableWorkflow(ctx context.Context, workflowId int64) (errRet error)
- type MysqlService
- func (me *MysqlService) CheckDBGTIDOpen(ctx context.Context, mysqlId string) (open int64, errRet error)
- func (me *MysqlService) CloseWanService(ctx context.Context, mysqlId string) (asyncRequestId string, errRet error)
- func (me *MysqlService) CreateAccount(ctx context.Context, mysqlId string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) CreateBackup(ctx context.Context, mysqlId string) (backupId int64, errRet error)
- func (me *MysqlService) DeleteAccount(ctx context.Context, mysqlId string, accountName string, accountHost string) (asyncRequestId string, errRet error)
- func (me *MysqlService) DeleteMysqlAuditLogFileById(ctx context.Context, instanceId string, fileName string) (errRet error)
- func (me *MysqlService) DeleteMysqlDbImportJobById(ctx context.Context, asyncRequestId string) (errRet error)
- func (me *MysqlService) DeleteMysqlDeployGroupById(ctx context.Context, deployGroupId string) (errRet error)
- func (me *MysqlService) DeleteMysqlIsolateInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MysqlService) DeleteMysqlParamTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *MysqlService) DeleteMysqlProxyById(ctx context.Context, instanceId string) (errRet error)
- func (me *MysqlService) DeleteMysqlRollbackById(ctx context.Context, instanceId string) (asyncRequestId string, errRet error)
- func (me *MysqlService) DeleteMysqlSecurityGroupsAttachmentById(ctx context.Context, securityGroupId string, instanceId string) (errRet error)
- func (me *MysqlService) DeleteMysqlTimeWindowById(ctx context.Context, instanceId string) (errRet error)
- func (me *MysqlService) DescribeAccountPrivileges(ctx context.Context, mysqlId string, accountName string, accountHost string, ...) (privileges []string, errRet error)
- func (me *MysqlService) DescribeAccounts(ctx context.Context, mysqlId string) (accountInfos []*cdb.AccountInfo, errRet error)
- func (me *MysqlService) DescribeAsyncRequestInfo(ctx context.Context, asyncRequestId string) (status, message string, errRet error)
- func (me *MysqlService) DescribeBackupConfigByMysqlId(ctx context.Context, mysqlId string) (desResponse *cdb.DescribeBackupConfigResponse, errRet error)
- func (me *MysqlService) DescribeBackupsByMysqlId(ctx context.Context, mysqlId string, leftNumber int64) (backupInfos []*cdb.BackupInfo, errRet error)
- func (me *MysqlService) DescribeCaresParameters(ctx context.Context, instanceId string, cares []string) (caresKv map[string]interface{}, errRet error)
- func (me *MysqlService) DescribeDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
- func (me *MysqlService) DescribeDBInstanceConfig(ctx context.Context, mysqlId string) (backupConfig *cdb.DescribeDBInstanceConfigResponse, errRet error)
- func (me *MysqlService) DescribeDBSecurityGroups(ctx context.Context, mysqlId string) (securityGroups []string, errRet error)
- func (me *MysqlService) DescribeDBZoneConfig(ctx context.Context) (sellConfigures *cdb.CdbZoneDataResult, errRet error)
- func (me *MysqlService) DescribeDefaultParameters(ctx context.Context, engineVersion string) (parameterList []*cdb.ParameterDetail, errRet error)
- func (me *MysqlService) DescribeInstanceParameters(ctx context.Context, instanceId string) (parameterList []*cdb.ParameterDetail, errRet error)
- func (me *MysqlService) DescribeIsolatedDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
- func (me *MysqlService) DescribeMysqlAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cdb.AuditLogFile, errRet error)
- func (me *MysqlService) DescribeMysqlBackupDownloadRestrictionById(ctx context.Context) (backupDownloadRestriction *cdb.DescribeBackupDownloadRestrictionResponseParams, ...)
- func (me *MysqlService) DescribeMysqlBackupEncryptionStatusById(ctx context.Context, instanceId string) (backupEncryptionStatus *cdb.DescribeBackupEncryptionStatusResponseParams, ...)
- func (me *MysqlService) DescribeMysqlBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (backupOverview *cdb.DescribeBackupOverviewResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlBackupSummariesByFilter(ctx context.Context, param map[string]interface{}) (backupSummaries []*cdb.BackupSummaryItem, errRet error)
- func (me *MysqlService) DescribeMysqlBinLogByFilter(ctx context.Context, param map[string]interface{}) (binLog []*cdb.BinlogInfo, errRet error)
- func (me *MysqlService) DescribeMysqlBinlogBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (binlogBackupOverview *cdb.DescribeBinlogBackupOverviewResponseParams, ...)
- func (me *MysqlService) DescribeMysqlCloneListByFilter(ctx context.Context, param map[string]interface{}) (cloneList []*cdb.CloneItem, errRet error)
- func (me *MysqlService) DescribeMysqlDataBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (dataBackupOverview *cdb.DescribeDataBackupOverviewResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases *cdb.DescribeDatabasesResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlDbFeaturesByFilter(ctx context.Context, param map[string]interface{}) (dbFeatures *cdb.DescribeDBFeaturesResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlDbImportJobById(ctx context.Context, instanceId, asyncRequestId string) (dbImportJob *cdb.ImportRecord, errRet error)
- func (me *MysqlService) DescribeMysqlDeployGroupById(ctx context.Context, deployGroupId string) (deployGroup *cdb.DeployGroupInfo, errRet error)
- func (me *MysqlService) DescribeMysqlErrorLogByFilter(ctx context.Context, param map[string]interface{}) (errorLog []*cdb.ErrlogItem, errRet error)
- func (me *MysqlService) DescribeMysqlInstTablesByFilter(ctx context.Context, param map[string]interface{}) (instTables []*string, errRet error)
- func (me *MysqlService) DescribeMysqlInstanceCharsetByFilter(ctx context.Context, instanceId string) (instanceCharset *cdb.DescribeDBInstanceCharsetResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlInstanceInfoById(ctx context.Context, instanceId string) (instanceInfo *cdb.DescribeDBInstanceInfoResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlInstanceParamRecordByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecord []*cdb.ParamRecord, errRet error)
- func (me *MysqlService) DescribeMysqlInstanceRebootTimeByFilter(ctx context.Context, param map[string]interface{}) (instanceRebootTime []*cdb.InstanceRebootTime, errRet error)
- func (me *MysqlService) DescribeMysqlLocalBinlogConfigById(ctx context.Context, instanceId string) (localBinlogConfig *cdb.LocalBinlogConfig, errRet error)
- func (me *MysqlService) DescribeMysqlParamTemplateById(ctx context.Context, templateId string) (paramTemplate *cdb.DescribeParamTemplateInfoResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlParamTemplateInfoById(ctx context.Context, templateId string) (paramTemplateInfo *cdb.ParamTemplateInfo, errRet error)
- func (me *MysqlService) DescribeMysqlPasswordComplexityById(ctx context.Context, instanceId string) (passwordComplexity []*cdb.ParameterDetail, errRet error)
- func (me *MysqlService) DescribeMysqlProjectSecurityGroupByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroup []*cdb.SecurityGroup, errRet error)
- func (me *MysqlService) DescribeMysqlProxyById(ctx context.Context, instanceId, proxyGroupId string) (proxy *cdb.ProxyGroupInfo, errRet error)
- func (me *MysqlService) DescribeMysqlProxyCustomById(ctx context.Context, instanceId string) (proxyCustom *cdb.DescribeProxyCustomConfResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlRemoteBackupConfigById(ctx context.Context, instanceId string) (remoteBackupConfig *cdb.DescribeRemoteBackupConfigResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlRoGroupById(ctx context.Context, instanceId string, roGroupId string) (roGroup *cdb.RoGroup, errRet error)
- func (me *MysqlService) DescribeMysqlRoMinScaleByFilter(ctx context.Context, param map[string]interface{}) (roMinScale *cdb.DescribeRoMinScaleResponseParams, errRet error)
- func (me *MysqlService) DescribeMysqlRollbackById(ctx context.Context, instanceId, asyncRequestId string) (rollback []*cdb.RollbackInstancesInfo, errRet error)
- func (me *MysqlService) DescribeMysqlRollbackRangeTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackRangeTime []*cdb.InstanceRollbackRangeTime, errRet error)
- func (me *MysqlService) DescribeMysqlSecurityGroupsAttachmentById(ctx context.Context, securityGroupId string, instanceId string) (securityGroupsAttachment *cdb.SecurityGroup, errRet error)
- func (me *MysqlService) DescribeMysqlSlowLogByFilter(ctx context.Context, param map[string]interface{}) (slowLog []*cdb.SlowLogInfo, errRet error)
- func (me *MysqlService) DescribeMysqlSlowLogDataByFilter(ctx context.Context, param map[string]interface{}) (slowLogData []*cdb.SlowLogItem, errRet error)
- func (me *MysqlService) DescribeMysqlSupportedPrivilegesById(ctx context.Context, instanceId string) (supportedPrivileges *cdb.DescribeSupportedPrivilegesResponseParams, ...)
- func (me *MysqlService) DescribeMysqlSwitchRecordById(ctx context.Context, instanceId string) (switchRecord []*cdb.DBSwitchInfo, errRet error)
- func (me *MysqlService) DescribeMysqlTimeWindowById(ctx context.Context, instanceId string) (timeWindow *cdb.DescribeTimeWindowResponse, errRet error)
- func (me *MysqlService) DescribeMysqlUploadedFilesByFilter(ctx context.Context, param map[string]interface{}) (uploadedFiles []*cdb.SqlFileInfo, errRet error)
- func (me *MysqlService) DescribeMysqlUserTaskByFilter(ctx context.Context, param map[string]interface{}) (userTask []*cdb.TaskDetail, errRet error)
- func (me *MysqlService) DescribeRunningDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
- func (me *MysqlService) DescribeTagsOfInstanceId(ctx context.Context, mysqlId string) (tags map[string]string, errRet error)
- func (me *MysqlService) DisassociateSecurityGroup(ctx context.Context, mysqlId string, securityGroup string) (errRet error)
- func (me *MysqlService) InitDBInstances(ctx context.Context, mysqlId, password, charset, lowerCase string, port int) (asyncRequestId string, errRet error)
- func (me *MysqlService) IsolateDBInstance(ctx context.Context, mysqlId string) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAccountDescription(ctx context.Context, mysqlId string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAccountHost(ctx context.Context, mysqlId, accountName, host, newHost string) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAccountMaxUserConnections(ctx context.Context, mysqlId, accountName, accountHost string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAccountPassword(ctx context.Context, mysqlId string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAccountPrivileges(ctx context.Context, mysqlId string, accountName, accountHost string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyAutoRenewFlag(ctx context.Context, mysqlId string, newRenewFlag int64) (errRet error)
- func (me *MysqlService) ModifyBackupConfigByMysqlId(ctx context.Context, mysqlId string, retentionPeriod int64, ...) (errRet error)
- func (me *MysqlService) ModifyCdbProxyAddressDesc(ctx context.Context, proxyGroupId, proxyAddressId, desc string) (errRet error)
- func (me *MysqlService) ModifyCdbProxyAddressVipAndVPort(ctx context.Context, proxyGroupId, proxyAddressId, vpcId, subnetId, ip string, ...) (errRet error)
- func (me *MysqlService) ModifyDBInstanceName(ctx context.Context, mysqlId, newInstanceName string) (errRet error)
- func (me *MysqlService) ModifyDBInstanceProject(ctx context.Context, mysqlId string, newProjectId int64) (errRet error)
- func (me *MysqlService) ModifyDBInstanceSecurityGroups(ctx context.Context, mysqlId string, securityGroups []string) (errRet error)
- func (me *MysqlService) ModifyDBInstanceVipVport(ctx context.Context, mysqlId, vpcId, subnetId string, port int64) (errRet error)
- func (me *MysqlService) ModifyInstanceParam(ctx context.Context, instanceId string, params map[string]string) (asyncRequestId string, errRet error)
- func (me *MysqlService) ModifyInstanceTag(ctx context.Context, mysqlId string, deleteTags, modifyTags map[string]string) (errRet error)
- func (me *MysqlService) MysqlAuditLogFileStateRefreshFunc(instanceId, fileName string, failStates []string) resource.StateRefreshFunc
- func (me *MysqlService) NotFoundMysqlInstance(err error) bool
- func (me *MysqlService) OfflineIsolatedInstances(ctx context.Context, mysqlId string) (errRet error)
- func (me *MysqlService) OpenDBInstanceGTID(ctx context.Context, mysqlId string) (asyncRequestId string, errRet error)
- func (me *MysqlService) OpenWanService(ctx context.Context, mysqlId string) (asyncRequestId string, errRet error)
- func (me *MysqlService) UpgradeCDBProxyVersion(ctx context.Context, ...) (errRet error)
- func (me *MysqlService) UpgradeDBInstance(ctx context.Context, mysqlId string, ...) (asyncRequestId string, errRet error)
- func (me *MysqlService) UpgradeDBInstanceEngineVersion(ctx context.Context, mysqlId, engineVersion string, ...) (asyncRequestId string, errRet error)
- type OceanusService
- func (me *OceanusService) DeleteOceanusJobById(ctx context.Context, jobId string) (errRet error)
- func (me *OceanusService) DeleteOceanusJobConfigById(ctx context.Context, jobId, version string) (errRet error)
- func (me *OceanusService) DeleteOceanusResourceById(ctx context.Context, resourceId string) (errRet error)
- func (me *OceanusService) DeleteOceanusResourceConfigById(ctx context.Context, resourceId, version string) (errRet error)
- func (me *OceanusService) DeleteOceanusWorkSpaceById(ctx context.Context, workSpaceId string) (errRet error)
- func (me *OceanusService) DescribeOceanusCheckSavepointByFilter(ctx context.Context, param map[string]interface{}) (CheckSavepoint *oceanus.CheckSavepointResponseParams, errRet error)
- func (me *OceanusService) DescribeOceanusClustersByFilter(ctx context.Context, param map[string]interface{}) (Clusters []*oceanus.Cluster, errRet error)
- func (me *OceanusService) DescribeOceanusJobById(ctx context.Context, jobId string) (Job *oceanus.JobV1, errRet error)
- func (me *OceanusService) DescribeOceanusJobConfigById(ctx context.Context, jobId, version string) (JobConfig *oceanus.JobConfig, errRet error)
- func (me *OceanusService) DescribeOceanusJobSubmissionLogByFilter(ctx context.Context, param map[string]interface{}) (jobSubmissionLog *oceanus.DescribeJobSubmissionLogResponseParams, errRet error)
- func (me *OceanusService) DescribeOceanusResourceById(ctx context.Context, resourceId string) (resource *oceanus.ResourceItem, errRet error)
- func (me *OceanusService) DescribeOceanusResourceConfigById(ctx context.Context, resourceId, version string) (resourceConfig *oceanus.ResourceConfigItem, errRet error)
- func (me *OceanusService) DescribeOceanusResourceRelatedJobByFilter(ctx context.Context, param map[string]interface{}) (ResourceRelatedJob []*oceanus.ResourceRefJobInfo, errRet error)
- func (me *OceanusService) DescribeOceanusSavepointListByFilter(ctx context.Context, param map[string]interface{}) (savepointList []*oceanus.Savepoint, errRet error)
- func (me *OceanusService) DescribeOceanusSystemResourceByFilter(ctx context.Context, param map[string]interface{}) (SystemResource []*oceanus.SystemResourceItem, errRet error)
- func (me *OceanusService) DescribeOceanusTreeJobsByFilter(ctx context.Context, param map[string]interface{}) (treeJobs *oceanus.DescribeTreeJobsResponseParams, errRet error)
- func (me *OceanusService) DescribeOceanusTreeResourcesByFilter(ctx context.Context, param map[string]interface{}) (treeResources *oceanus.DescribeTreeResourcesResponseParams, errRet error)
- func (me *OceanusService) DescribeOceanusWorkSpaceById(ctx context.Context, workSpaceName string) (WorkSpace *oceanus.WorkSpaceSetItem, errRet error)
- func (me *OceanusService) DescribeOceanusWorkSpacesByFilter(ctx context.Context, param map[string]interface{}) (WorkSpace []*oceanus.WorkSpaceSetItem, errRet error)
- type OrganizationService
- func (me *OrganizationService) DeleteOrganizationOrgIdentityById(ctx context.Context, identityId string) (errRet error)
- func (me *OrganizationService) DeleteOrganizationOrgMemberAuthIdentityById(ctx context.Context, memberUin string, identityId []string) (errRet error)
- func (me *OrganizationService) DeleteOrganizationOrgMemberById(ctx context.Context, uin string) (errRet error)
- func (me *OrganizationService) DeleteOrganizationOrgMemberPolicyAttachmentById(ctx context.Context, policyId string) (errRet error)
- func (me *OrganizationService) DeleteOrganizationOrgNodeById(ctx context.Context, nodeId string) (errRet error)
- func (me *OrganizationService) DeleteOrganizationOrganizationById(ctx context.Context) (errRet error)
- func (me *OrganizationService) DeleteOrganizationPolicySubAccountAttachmentById(ctx context.Context, policyId, memberUin, orgSubAccountUin string) (errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgAuthNodeByFilter(ctx context.Context, param map[string]interface{}) (orgAuthNode []*organization.AuthNode, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgFinancialByMemberByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *OrganizationService) DescribeOrganizationOrgFinancialByMonthByFilter(ctx context.Context, param map[string]interface{}) (orgFinancialByMonth []*organization.OrgFinancialByMonth, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgFinancialByProductByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *OrganizationService) DescribeOrganizationOrgIdentityById(ctx context.Context, identityId string) (orgIdentity *organization.OrgIdentity, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgMember(ctx context.Context, uin string) (orgMember *organization.OrgMember, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgMemberAuthIdentityById(ctx context.Context, memberUin int64) (identityIds []int64, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrgMemberEmailById(ctx context.Context, memberUin int64, bindId uint64) (orgMemberEmail *organization.DescribeOrganizationMemberEmailBindResponseParams, ...)
- func (me *OrganizationService) DescribeOrganizationOrgNode(ctx context.Context, nodeId string) (orgNode *organization.OrgNode, errRet error)
- func (me *OrganizationService) DescribeOrganizationOrganizationById(ctx context.Context) (result *organization.DescribeOrganizationResponseParams, errRet error)
- func (me *OrganizationService) DescribeOrganizationPolicySubAccountAttachment(ctx context.Context, policyId, memberUin string) (policySubAccountAttachment *organization.OrgMemberAuthAccount, errRet error)
- type OverrideSettings
- type PostgresqlService
- func (me *PostgresqlService) CheckDBInstanceStatus(ctx context.Context, instanceId string, retryMinutes ...int) error
- func (me *PostgresqlService) CreatePostgresqlInstance(ctx context.Context, ...) (instanceId string, errRet error)
- func (me *PostgresqlService) DeletePostgresqlBaseBackupById(ctx context.Context, dBInstanceId string, baseBackupId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById(ctx context.Context, dBInstanceId, vpcId, subnetId, vip string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlParameterTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlReadOnlyGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById(ctx context.Context, readOnlyGroupId, vpcId, subnetId, vip string) (errRet error)
- func (me *PostgresqlService) DescribeBackupPlans(ctx context.Context, request *postgresql.DescribeBackupPlansRequest) (result []*postgresql.BackupPlan, errRet error)
- func (me *PostgresqlService) DescribeDBEncryptionKeys(ctx context.Context, request *postgresql.DescribeEncryptionKeysRequest) (has bool, key *postgresql.EncryptionKey, errRet error)
- func (me *PostgresqlService) DescribeDBInstanceAttribute(ctx context.Context, request *postgresql.DescribeDBInstanceAttributeRequest) (ins *postgresql.DBInstance, errRet error)
- func (me *PostgresqlService) DescribeDBXlogs(ctx context.Context, request *postgresql.DescribeDBXlogsRequest) (xlogs []*postgresql.Xlog, errRet error)
- func (me *PostgresqlService) DescribeOrders(ctx context.Context, dealIds []*string) (deals []*postgresql.PgDeal, errRet error)
- func (me *PostgresqlService) DescribePgParams(ctx context.Context, instanceId string) (params map[string]string, err error)
- func (me *PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById(ctx context.Context, restrictionType string) (...)
- func (me *PostgresqlService) DescribePostgresqlBackupDownloadUrlsByFilter(ctx context.Context, param map[string]interface{}) (BackupDownloadUrl *string, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBackupPlanConfigById(ctx context.Context, dBInstanceId string) (BackupPlanConfig *postgresql.BackupPlan, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBaseBackupById(ctx context.Context, baseBackupId string) (BaseBackup *postgresql.BaseBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBaseBackupsByFilter(ctx context.Context, param map[string]interface{}) (BaseBackups []*postgresql.BaseBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDBInstanceNetInfosById(ctx context.Context, dBInstanceId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter(ctx context.Context, param map[string]interface{}) (DbInstanceClasses []*postgresql.ClassInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter(ctx context.Context) (DbInstanceVersions []*postgresql.Version, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDefaultParametersByFilter(ctx context.Context, param map[string]interface{}) (DefaultParameters []*postgresql.ParamInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlInstanceById(ctx context.Context, instanceId string) (instance *postgresql.DBInstance, has bool, errRet error)
- func (me *PostgresqlService) DescribePostgresqlInstances(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.DBInstance, errRet error)
- func (me *PostgresqlService) DescribePostgresqlLogBackupsByFilter(ctx context.Context, param map[string]interface{}) (LogBackups []*postgresql.LogBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlParameterTemplateById(ctx context.Context, templateId string) (...)
- func (me *PostgresqlService) DescribePostgresqlParameterTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ParameterTemplates []*postgresql.ParameterTemplate, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadOnlyGroupById(ctx context.Context, dbInstanceId string) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById(ctx context.Context, dbInstanceId, roGroupId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroups(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter(ctx context.Context, param map[string]interface{}) (ReadOnlyGroups []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlRecoveryTimeByFilter(ctx context.Context, param map[string]interface{}) (ret *postgresql.DescribeAvailableRecoveryTimeResponseParams, errRet error)
- func (me *PostgresqlService) DescribePostgresqlRegionsByFilter(ctx context.Context) (Regions []*postgresql.RegionInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlSecurityGroupConfigById(ctx context.Context, dBInstanceId string, readOnlyGroupId string) (SecurityGroupConfigs []*postgresql.SecurityGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlZonesByFilter(ctx context.Context) (Zones []*postgresql.ZoneInfo, errRet error)
- func (me *PostgresqlService) DescribeRootUser(ctx context.Context, instanceId string) (accounts []*postgresql.AccountInfo, errRet error)
- func (me *PostgresqlService) DescribeSpecinfos(ctx context.Context, zone string) (specCodeList []*postgresql.SpecItemInfo, errRet error)
- func (me *PostgresqlService) InitPostgresqlInstance(ctx context.Context, instanceId string, username string, password string, ...) (errRet error)
- func (me *PostgresqlService) IsolatePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *PostgresqlService) ModifyBackupPlan(ctx context.Context, request *postgresql.ModifyBackupPlanRequest) (errRet error)
- func (me *PostgresqlService) ModifyDBInstanceDeployment(ctx context.Context, request *postgresql.ModifyDBInstanceDeploymentRequest) (errRet error)
- func (me *PostgresqlService) ModifyPgParams(ctx context.Context, instanceId string, paramEntrys map[string]string) (err error)
- func (me *PostgresqlService) ModifyPostgresqlInstanceName(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *PostgresqlService) ModifyPostgresqlInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)
- func (me *PostgresqlService) ModifyPublicService(ctx context.Context, openInternet bool, instanceId string) (errRet error)
- func (me *PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc(dBInstanceId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlDBInstanceStateRefreshFunc(dbInstanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc(dbInstanceId, roGroupId, vpcId, subnetId, oldVip, newVip string, ...) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc(dbInstanceId, roGroupId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) SetPostgresqlInstanceAutoRenewFlag(ctx context.Context, instanceId string, autoRenewFlag int) (errRet error)
- func (me *PostgresqlService) SetPostgresqlInstanceRootPassword(ctx context.Context, instanceId string, password string) (errRet error)
- func (me *PostgresqlService) UpgradePostgresqlInstance(ctx context.Context, instanceId string, memory int, storage int) (errRet error)
- type Principal
- type PrivateDnsService
- func (me *PrivateDnsService) DeletePrivateDnsZoneVpcAttachmentById(ctx context.Context, zoneId, uniqVpcId, region, uin string) (errRet error)
- func (me *PrivateDnsService) DescribePrivateDnsRecordByFilter(ctx context.Context, zoneId string, filterList []*privatedns.Filter) (recordInfos []*privatedns.PrivateZoneRecord, errRet error)
- func (me *PrivateDnsService) DescribePrivateDnsZoneVpcAttachmentById(ctx context.Context, zoneId string) (ZoneVpcAttachment *privatedns.PrivateZone, errRet error)
- type PrometheusConfig
- type PrometheusConfigIds
- type PtsService
- func (me *PtsService) DeletePtsAlertChannelById(ctx context.Context, noticeId, projectId string) (errRet error)
- func (me *PtsService) DeletePtsCronJobById(ctx context.Context, cronJobId, projectId string) (errRet error)
- func (me *PtsService) DeletePtsFileById(ctx context.Context, projectId, fileIds string) (errRet error)
- func (me *PtsService) DeletePtsJobById(ctx context.Context, projectId, scenarioId, jobId string) (errRet error)
- func (me *PtsService) DeletePtsProjectById(ctx context.Context, projectId string) (errRet error)
- func (me *PtsService) DeletePtsScenarioById(ctx context.Context, projectId, scenarioId string) (errRet error)
- func (me *PtsService) DescribePtsAlertChannel(ctx context.Context, noticeId, projectId string) (alertChannel *pts.AlertChannelRecord, errRet error)
- func (me *PtsService) DescribePtsCronJob(ctx context.Context, cronJobId, projectId string) (cronJob *pts.CronJob, errRet error)
- func (me *PtsService) DescribePtsFile(ctx context.Context, projectId, fileIds string) (file *pts.File, errRet error)
- func (me *PtsService) DescribePtsJob(ctx context.Context, projectId, scenarioId, jobId string) (job *pts.Job, errRet error)
- func (me *PtsService) DescribePtsProject(ctx context.Context, projectId string) (project *pts.Project, errRet error)
- func (me *PtsService) DescribePtsScenario(ctx context.Context, projectId, scenarioId string) (scenario *pts.Scenario, errRet error)
- func (me *PtsService) DescribePtsScenarioWithJobsByFilter(ctx context.Context, param map[string]interface{}) (scenarioWithJobs []*pts.ScenarioWithJobs, errRet error)
- type RedisService
- func (me *RedisService) AddReplicationInstance(ctx context.Context, groupId, instanceId, instanceRole string) error
- func (me *RedisService) ApplyParamsTemplate(ctx context.Context, request *redis.ApplyParamsTemplateRequest) (taskIds []*int64, errRet error)
- func (me *RedisService) CheckRedisDestroyOk(ctx context.Context, redisId string) (has bool, isolated bool, errRet error)
- func (me *RedisService) CheckRedisOnlineOk(ctx context.Context, redisId string, retryTimeout time.Duration) (has bool, online bool, info *redis.InstanceSet, errRet error)
- func (me *RedisService) CheckRedisUpdateOk(ctx context.Context, redisId string) (errRet error)
- func (me *RedisService) CleanUpInstance(ctx context.Context, redisId string) (taskId int64, errRet error)
- func (me *RedisService) CreateInstances(ctx context.Context, zoneName string, typeId int64, ...) (instanceIds []*string, errRet error)
- func (me *RedisService) CreateParamTemplate(ctx context.Context, request *redis.CreateParamTemplateRequest) (id string, errRet error)
- func (me *RedisService) DeleteParamTemplate(ctx context.Context, request *redis.DeleteParamTemplateRequest) (errRet error)
- func (me *RedisService) DeleteRedisAccountById(ctx context.Context, instanceId, accountName string) (taskId int64, errRet error)
- func (me *RedisService) DeleteRedisReplicateAttachmentById(ctx context.Context, instanceId string, groupId string) (errRet error)
- func (me *RedisService) DeleteRedisSecurityGroupAttachmentById(ctx context.Context, product string, instanceId string, securityGroupId string) (errRet error)
- func (me *RedisService) DescribeAutoBackupConfig(ctx context.Context, redisId string) (weekDays []string, timePeriod string, errRet error)
- func (me *RedisService) DescribeBandwidthRangeById(ctx context.Context, instanceId string) (connectionConfig *redis.DescribeBandwidthRangeResponseParams, errRet error)
- func (me *RedisService) DescribeDBSecurityGroups(ctx context.Context, product string, instanceId string) (sg []string, errRet error)
- func (me *RedisService) DescribeInstanceDealDetail(ctx context.Context, dealId string) (done bool, redisId string, errRet error)
- func (me *RedisService) DescribeInstanceSecurityGroup(ctx context.Context, redisId string) (sg []string, errRet error)
- func (me *RedisService) DescribeInstances(ctx context.Context, zoneName, searchKey string, projectId, needLimit int64) (instances []TencentCloudRedisDetail, errRet error)
- func (me *RedisService) DescribeParamTemplateById(ctx context.Context, id string) (params *redis.ParamTemplateInfo, errRet error)
- func (me *RedisService) DescribeParamTemplateInfo(ctx context.Context, templateId string) (info *redis.DescribeParamTemplateInfoResponseParams, errRet error)
- func (me *RedisService) DescribeParamTemplates(ctx context.Context, request *redis.DescribeParamTemplatesRequest) (params []*redis.ParamTemplateInfo, errRet error)
- func (me *RedisService) DescribeRedisAccountById(ctx context.Context, instanceId, accountName string) (account *redis.Account, errRet error)
- func (me *RedisService) DescribeRedisBackupByFilter(ctx context.Context, param map[string]interface{}) (backup []*redis.RedisBackupSet, errRet error)
- func (me *RedisService) DescribeRedisBackupDownloadInfoByFilter(ctx context.Context, param map[string]interface{}) (backup []*redis.BackupDownloadInfo, errRet error)
- func (me *RedisService) DescribeRedisBackupDownloadRestrictionById(ctx context.Context) (...)
- func (me *RedisService) DescribeRedisInstanceById(ctx context.Context, instanceId string) (param *redis.InstanceSet, errRet error)
- func (me *RedisService) DescribeRedisInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo *redis.DescribeInstanceNodeInfoResponseParams, errRet error)
- func (me *RedisService) DescribeRedisInstanceShardsByFilter(ctx context.Context, param map[string]interface{}) (instanceShards []*redis.InstanceClusterShard, errRet error)
- func (me *RedisService) DescribeRedisInstanceTaskListByFilter(ctx context.Context, param map[string]interface{}) (instanceTaskList []*redis.TaskInfoDetail, errRet error)
- func (me *RedisService) DescribeRedisInstanceZoneInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceZoneInfo []*redis.ReplicaGroup, errRet error)
- func (me *RedisService) DescribeRedisMaintenanceWindowById(ctx context.Context, instanceId string) (maintenanceWindow *redis.DescribeMaintenanceWindowResponseParams, errRet error)
- func (me *RedisService) DescribeRedisParamById(ctx context.Context, instanceId string) (params map[string]interface{}, errRet error)
- func (me *RedisService) DescribeRedisParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (params []*redis.InstanceParamHistory, errRet error)
- func (me *RedisService) DescribeRedisReplicateInstanceById(ctx context.Context, groupId string) (replicateGroup *redis.Groups, errRet error)
- func (me *RedisService) DescribeRedisSecurityGroupAttachmentById(ctx context.Context, product string, instanceId string, securityGroupId string) (securityGroupAttachment *redis.SecurityGroup, errRet error)
- func (me *RedisService) DescribeRedisSslById(ctx context.Context, instanceId string) (ssl *redis.DescribeSSLStatusResponseParams, errRet error)
- func (me *RedisService) DescribeRedisZoneConfig(ctx context.Context) (sellConfigures []*redis.RegionConf, errRet error)
- func (me *RedisService) DescribeTaskInfo(ctx context.Context, redisId string, taskId int64) (ok bool, errRet error)
- func (me *RedisService) DestroyPostpaidInstance(ctx context.Context, redisId string) (taskId int64, errRet error)
- func (me *RedisService) DestroyPrepaidInstance(ctx context.Context, redisId string) (dealId string, errRet error)
- func (me *RedisService) ModifyAutoBackupConfig(ctx context.Context, redisId string, weekDays []string, timePeriod string) (errRet error)
- func (me *RedisService) ModifyDBInstanceSecurityGroups(ctx context.Context, product string, instanceId string, ...) (errRet error)
- func (me *RedisService) ModifyInstanceName(ctx context.Context, redisId string, name string) (errRet error)
- func (me *RedisService) ModifyInstanceProjectId(ctx context.Context, redisId string, projectId int64) (errRet error)
- func (me *RedisService) ModifyParamTemplate(ctx context.Context, request *redis.ModifyParamTemplateRequest) (errRet error)
- func (me *RedisService) RedisAccountStateRefreshFunc(instanceId, accountName string, failStates []string) resource.StateRefreshFunc
- func (me *RedisService) ResetPassword(ctx context.Context, redisId string, newPassword string, noAuth bool) (taskId int64, errRet error)
- func (me *RedisService) UpgradeInstance(ctx context.Context, redisId string, ...) (dealId string, errRet error)
- type RumService
- func (me *RumService) DeleteRumOfflineLogConfigAttachmentById(ctx context.Context, projectKey, uniqueId string) (errRet error)
- func (me *RumService) DeleteRumProjectById(ctx context.Context, id string) (errRet error)
- func (me *RumService) DeleteRumReleaseFileById(ctx context.Context, releaseFileId int64) (errRet error)
- func (me *RumService) DeleteRumTawInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *RumService) DeleteRumWhitelistById(ctx context.Context, instanceID, id string) (errRet error)
- func (me *RumService) DescribeRumCustomUrlByFilter(ctx context.Context, param map[string]interface{}) (customUrl *string, errRet error)
- func (me *RumService) DescribeRumEventUrlByFilter(ctx context.Context, param map[string]interface{}) (eventUrl *string, errRet error)
- func (me *RumService) DescribeRumFetchUrlByFilter(ctx context.Context, param map[string]interface{}) (fetchUrl *string, errRet error)
- func (me *RumService) DescribeRumFetchUrlInfoByFilter(ctx context.Context, param map[string]interface{}) (fetchUrlInfo *string, errRet error)
- func (me *RumService) DescribeRumGroupLogByFilter(ctx context.Context, param map[string]interface{}) (groupLog *string, errRet error)
- func (me *RumService) DescribeRumInstanceStatusConfigById(ctx context.Context, instanceId string) (instanceStatusConfig *rum.RumInstanceInfo, errRet error)
- func (me *RumService) DescribeRumLogExportByFilter(ctx context.Context, param map[string]interface{}) (logExport *string, errRet error)
- func (me *RumService) DescribeRumLogExportListByFilter(ctx context.Context, param map[string]interface{}) (logExportList *string, errRet error)
- func (me *RumService) DescribeRumLogListByFilter(ctx context.Context, param map[string]interface{}) (logList *string, errRet error)
- func (me *RumService) DescribeRumLogStatsLogListByFilter(ctx context.Context, param map[string]interface{}) (logStatsLogList *string, errRet error)
- func (me *RumService) DescribeRumLogUrlInfoByFilter(ctx context.Context, param map[string]interface{}) (logUrlInfo *string, errRet error)
- func (me *RumService) DescribeRumLogUrlStatisticsByFilter(ctx context.Context, param map[string]interface{}) (logUrlStatistics *string, errRet error)
- func (me *RumService) DescribeRumOfflineLogConfigAttachment(ctx context.Context, projectKey, uniqueId string) (offlineLogConfig *rum.DescribeOfflineLogConfigsResponseParams, errRet error)
- func (me *RumService) DescribeRumOfflineLogConfigByFilter(ctx context.Context, param map[string]interface{}) (configs *rum.DescribeOfflineLogConfigsResponseParams, errRet error)
- func (me *RumService) DescribeRumPerformancePageByFilter(ctx context.Context, param map[string]interface{}) (performancePage *string, errRet error)
- func (me *RumService) DescribeRumProject(ctx context.Context, id string) (project *rum.RumProject, errRet error)
- func (me *RumService) DescribeRumProjectByFilter(ctx context.Context, param map[string]interface{}) (project []*rum.RumProject, errRet error)
- func (me *RumService) DescribeRumProjectStatusConfigById(ctx context.Context, projectId string) (projectStatusConfig *rum.RumProject, errRet error)
- func (me *RumService) DescribeRumPvUrlInfoByFilter(ctx context.Context, param map[string]interface{}) (pvUrlInfo *string, errRet error)
- func (me *RumService) DescribeRumPvUrlStatisticsByFilter(ctx context.Context, param map[string]interface{}) (pvUrlStatistics *string, errRet error)
- func (me *RumService) DescribeRumReleaseFileById(ctx context.Context, projectID, releaseFileId int64) (releaseFile *rum.ReleaseFile, errRet error)
- func (me *RumService) DescribeRumReportCountByFilter(ctx context.Context, param map[string]interface{}) (reportCount *string, errRet error)
- func (me *RumService) DescribeRumScoresByFilter(ctx context.Context, param map[string]interface{}) (scores []*rum.ScoreInfo, errRet error)
- func (me *RumService) DescribeRumSetUrlStatisticsByFilter(ctx context.Context, param map[string]interface{}) (setUrlStatistics *string, errRet error)
- func (me *RumService) DescribeRumSignByFilter(ctx context.Context, param map[string]interface{}) (sign *rum.DescribeReleaseFileSignResponseParams, errRet error)
- func (me *RumService) DescribeRumStaticProjectByFilter(ctx context.Context, param map[string]interface{}) (staticProject *string, errRet error)
- func (me *RumService) DescribeRumStaticResourceByFilter(ctx context.Context, param map[string]interface{}) (staticResource *string, errRet error)
- func (me *RumService) DescribeRumStaticUrlByFilter(ctx context.Context, param map[string]interface{}) (staticUrl *string, errRet error)
- func (me *RumService) DescribeRumTawAreaByFilter(ctx context.Context, param map[string]interface{}) (tawArea []*rum.RumAreaInfo, errRet error)
- func (me *RumService) DescribeRumTawInstance(ctx context.Context, instanceId string) (tawInstance *rum.RumInstanceInfo, errRet error)
- func (me *RumService) DescribeRumTawInstanceByFilter(ctx context.Context, param map[string]interface{}) (tawInstance []*rum.RumInstanceInfo, errRet error)
- func (me *RumService) DescribeRumWebVitalsPageByFilter(ctx context.Context, param map[string]interface{}) (webVitalsPage *string, errRet error)
- func (me *RumService) DescribeRumWhitelist(ctx context.Context, instanceID, id string) (whitelist *rum.Whitelist, errRet error)
- func (me *RumService) DescribeRumWhitelistByFilter(ctx context.Context, param map[string]interface{}) (whitelist []*rum.Whitelist, errRet error)
- type RunInstancesForNode
- type SSLService
- func (me *SSLService) ApplyCertificate(ctx context.Context, request *ssl.ApplyCertificateRequest) (id string, errRet error)
- func (me *SSLService) CancelAuditCertificate(ctx context.Context, request *ssl.CancelAuditCertificateRequest) (err error)
- func (me *SSLService) CancelCertificateOrder(ctx context.Context, request *ssl.CancelCertificateOrderRequest) (err error)
- func (me *SSLService) CommitCertificateInformation(ctx context.Context, request *ssl.CommitCertificateInformationRequest) (errRet error)
- func (me *SSLService) CreateCertificate(ctx context.Context, request *ssl.CreateCertificateRequest) (certificateId, dealId string, errRet error)
- func (me *SSLService) DeleteCertificate(ctx context.Context, request *ssl.DeleteCertificateRequest) (deleteResult bool, err error)
- func (me *SSLService) DescribeCertificateDetail(ctx context.Context, request *ssl.DescribeCertificateDetailRequest) (response *ssl.DescribeCertificateDetailResponse, err error)
- func (me *SSLService) DescribeCertificates(ctx context.Context, request *ssl.DescribeCertificatesRequest) (certificateList []*ssl.Certificates, err error)
- func (me *SSLService) ModifyCertificateAlias(ctx context.Context, request *ssl.ModifyCertificateAliasRequest) (err error)
- func (me *SSLService) ModifyCertificateProject(ctx context.Context, request *ssl.ModifyCertificateProjectRequest) (err error)
- func (me *SSLService) ModifyCertificateResubmit(ctx context.Context, request *ssl.ModifyCertificateResubmitRequest) (err error)
- func (me *SSLService) SubmitCertificateInformation(ctx context.Context, request *ssl.SubmitCertificateInformationRequest) (err error)
- func (me *SSLService) UploadCertificate(ctx context.Context, request *ssl.UploadCertificateRequest) (id string, err error)
- func (me *SSLService) UploadConfirmLetter(ctx context.Context, request *ssl.UploadConfirmLetterRequest) (err error)
- type ScfService
- func (me *ScfService) CreateFunction(ctx context.Context, info scfFunctionInfo) error
- func (me *ScfService) CreateNamespace(ctx context.Context, namespace, desc string) error
- func (me *ScfService) CreateTriggers(ctx context.Context, functionName, namespace string, triggers []scfTrigger) error
- func (me *ScfService) DeleteFunction(ctx context.Context, name, namespace string) error
- func (me *ScfService) DeleteNamespace(ctx context.Context, namespace string) error
- func (me *ScfService) DeleteScfFunctionAliasById(ctx context.Context, namespace string, functionName string, name string) (errRet error)
- func (me *ScfService) DeleteScfFunctionVersionById(ctx context.Context, functionName string, namespace string, ...) (errRet error)
- func (me *ScfService) DeleteScfProvisionedConcurrencyConfigById(ctx context.Context, functionName string, qualifier string, namespace string) (errRet error)
- func (me *ScfService) DeleteScfReservedConcurrencyConfigById(ctx context.Context, namespace string, functionName string) (errRet error)
- func (me *ScfService) DeleteTriggers(ctx context.Context, functionName, namespace string, triggers []scfTrigger) error
- func (me *ScfService) DescribeFunction(ctx context.Context, name, namespace string) (resp *scf.GetFunctionResponse, err error)
- func (me *ScfService) DescribeFunctions(ctx context.Context, name, namespace, desc *string, tags map[string]string) (functions []*scf.Function, err error)
- func (me *ScfService) DescribeLogs(ctx context.Context, fnName, namespace, order, orderBy string, ...) (logs []*scf.FunctionLog, err error)
- func (me *ScfService) DescribeNamespace(ctx context.Context, namespace string) (ns *scf.Namespace, err error)
- func (me *ScfService) DescribeNamespaces(ctx context.Context) (nss []*scf.Namespace, err error)
- func (me *ScfService) DescribeScfAccountInfo(ctx context.Context) (accountInfo *scf.GetAccountResponseParams, errRet error)
- func (me *ScfService) DescribeScfAsyncEventManagementByFilter(ctx context.Context, param map[string]interface{}) (AsyncEventManagement []*scf.AsyncEvent, errRet error)
- func (me *ScfService) DescribeScfAsyncEventStatus(ctx context.Context, param map[string]interface{}) (asyncEventStatus *scf.AsyncEventStatus, errRet error)
- func (me *ScfService) DescribeScfFunctionAddress(ctx context.Context, param map[string]interface{}) (functionAddress *scf.GetFunctionAddressResponseParams, errRet error)
- func (me *ScfService) DescribeScfFunctionAliasById(ctx context.Context, namespace string, functionName string, name string) (functionAlias *scf.GetAliasResponse, errRet error)
- func (me *ScfService) DescribeScfFunctionAliasesByFilter(ctx context.Context, param map[string]interface{}) (FunctionAliases []*scf.Alias, errRet error)
- func (me *ScfService) DescribeScfFunctionEventInvokeConfigById(ctx context.Context, namespace string, functionName string) (FunctionEventInvokeConfig *scf.AsyncTriggerConfig, errRet error)
- func (me *ScfService) DescribeScfFunctionVersionById(ctx context.Context, functionName string, namespace string, ...) (FunctionVersion *scf.GetFunctionResponse, errRet error)
- func (me *ScfService) DescribeScfFunctionVersionsByFilter(ctx context.Context, param map[string]interface{}) (functionVersions []*scf.FunctionVersion, errRet error)
- func (me *ScfService) DescribeScfLayerVersions(ctx context.Context, param map[string]interface{}) (layerVersions []*scf.LayerVersionInfo, errRet error)
- func (me *ScfService) DescribeScfLayersByFilter(ctx context.Context, param map[string]interface{}) (layers []*scf.LayerVersionInfo, errRet error)
- func (me *ScfService) DescribeScfProvisionedConcurrencyConfigById(ctx context.Context, functionName string, qualifier string, namespace string) (provisionedConcurrencyConfig *scf.VersionProvisionedConcurrencyInfo, ...)
- func (me *ScfService) DescribeScfRequestStatusByFilter(ctx context.Context, param map[string]interface{}) (requestStatus []*scf.RequestStatus, errRet error)
- func (me *ScfService) DescribeScfReservedConcurrencyConfigById(ctx context.Context, namespace string, functionName string) (reservedConcurrencyConfig *scf.GetReservedConcurrencyConfigResponse, ...)
- func (me *ScfService) DescribeScfTriggerConfigById(ctx context.Context, functionName string, namespace string, triggerName string) (triggerConfig *scf.TriggerInfo, errRet error)
- func (me *ScfService) DescribeScfTriggersByFilter(ctx context.Context, param map[string]interface{}) (Triggers []*scf.TriggerInfo, errRet error)
- func (me *ScfService) ModifyFunctionCode(ctx context.Context, info scfFunctionInfo) error
- func (me *ScfService) ModifyFunctionConfig(ctx context.Context, info scfFunctionInfo) error
- func (me *ScfService) ModifyNamespace(ctx context.Context, namespace, desc string) error
- type SecretInfo
- type SecretVersionInfo
- type SesService
- func (me *SesService) CheckEmailIdentityById(ctx context.Context, emailIdentity string) (errRet error)
- func (me *SesService) DeleteSesDomainById(ctx context.Context, emailIdentity string) (errRet error)
- func (me *SesService) DeleteSesEmail_addressById(ctx context.Context, emailAddress string) (errRet error)
- func (me *SesService) DeleteSesReceiverById(ctx context.Context, receiverId string) (errRet error)
- func (me *SesService) DeleteSesTemplateById(ctx context.Context, templateID uint64) (errRet error)
- func (me *SesService) DescribeSesBlackEmailAddressByFilter(ctx context.Context, param map[string]interface{}) (blackEmailAddress []*ses.BlackEmailAddress, errRet error)
- func (me *SesService) DescribeSesDomain(ctx context.Context, emailIdentity string) (attributes []*ses.DNSAttributes, errRet error)
- func (me *SesService) DescribeSesEmailAddress(ctx context.Context, emailAddress string) (emailSender *ses.EmailSender, errRet error)
- func (me *SesService) DescribeSesEmailIdentitiesByFilter(ctx context.Context) (emailIdentities *ses.ListEmailIdentitiesResponseParams, errRet error)
- func (me *SesService) DescribeSesReceiverById(ctx context.Context, receiverId string) (Receiver *ses.ReceiverData, errRet error)
- func (me *SesService) DescribeSesReceiverDetailById(ctx context.Context, receiverId string) (receiverDetail []*ses.ReceiverDetail, errRet error)
- func (me *SesService) DescribeSesReceiversByFilter(ctx context.Context, param map[string]interface{}) (receivers []*ses.ReceiverData, errRet error)
- func (me *SesService) DescribeSesSendEmailStatusByFilter(ctx context.Context, param map[string]interface{}) (sendEmailStatus []*ses.SendEmailStatus, errRet error)
- func (me *SesService) DescribeSesSendTasksByFilter(ctx context.Context, param map[string]interface{}) (sendTasks []*ses.SendTaskData, errRet error)
- func (me *SesService) DescribeSesStatisticsReportByFilter(ctx context.Context, param map[string]interface{}) (statisticsReport *ses.GetStatisticsReportResponseParams, errRet error)
- func (me *SesService) DescribeSesTemplate(ctx context.Context, templateId uint64) (templateResponse *ses.GetEmailTemplateResponseParams, errRet error)
- func (me *SesService) DescribeSesTemplateMetadata(ctx context.Context, templateId uint64) (templatesMetadata *ses.TemplatesMetadata, errRet error)
- func (me *SesService) DescribeSesVerifyDomainById(ctx context.Context, emailIdentity string) (verifyDomain *ses.GetEmailIdentityResponseParams, errRet error)
- type SmsService
- func (me *SmsService) DeleteSmsSignById(ctx context.Context, signId string) (errRet error)
- func (me *SmsService) DeleteSmsTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *SmsService) DescribeSmsSign(ctx context.Context, signId string, international string) (sign *sms.DescribeSignListStatus, errRet error)
- func (me *SmsService) DescribeSmsTemplate(ctx context.Context, templateId string, international string) (template *sms.DescribeTemplateListStatus, errRet error)
- type SourceContentJson
- type SqlserverService
- func (me *SqlserverService) AddSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)
- func (me *SqlserverService) CreateSqlserverAccount(ctx context.Context, instanceId string, userName string, password string, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverBasicInstance(ctx context.Context, paramMap map[string]interface{}, weekSet []int, ...) (instanceId string, errRet error)
- func (me *SqlserverService) CreateSqlserverDB(ctx context.Context, instanceID string, dbname string, charset string, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverInstance(ctx context.Context, request *sqlserver.CreateDBInstancesRequest) (instanceId string, errRet error)
- func (me *SqlserverService) CreateSqlserverPublishSubscribe(ctx context.Context, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverReadonlyInstance(ctx context.Context, request *sqlserver.CreateReadOnlyDBInstancesRequest) (instanceId string, errRet error)
- func (me *SqlserverService) DeletePublishSubscribe(ctx context.Context, publishSubscribe *sqlserver.PublishSubscribe, ...) (errRet error)
- func (me *SqlserverService) DeleteSqlserverAccount(ctx context.Context, instanceId string, userName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverDB(ctx context.Context, instanceId string, names []*string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralBackupsById(ctx context.Context, instanceId, backupName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCloneDB(ctx context.Context, instanceId, dbName string) (deleteResp *sqlserver.DeleteDBResponse, errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (flowId int64, errRet error)
- func (me *SqlserverService) DeleteSqlserverIncreBackupMigrationById(ctx context.Context, ...) (errRet error)
- func (me *SqlserverService) DeleteSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverMigrationById(ctx context.Context, migrateId string) (errRet error)
- func (me *SqlserverService) DescribeAccountDBAttachmentById(ctx context.Context, instanceId, accountName, dbName string) (attachment map[string]string, has bool, errRet error)
- func (me *SqlserverService) DescribeAccountDBAttachments(ctx context.Context, instanceId, accountName, dbName string) (attachments []map[string]string, errRet error)
- func (me *SqlserverService) DescribeBackupByFlowId(ctx context.Context, instanceId, flowId string) (BackupInfo *sqlserver.DescribeBackupByFlowIdResponse, errRet error)
- func (me *SqlserverService) DescribeCloneStatusByFlowId(ctx context.Context, flowId int64) (cloneStatus *sqlserver.DescribeFlowStatusResponseParams, errRet error)
- func (me *SqlserverService) DescribeDBDetailsById(ctx context.Context, dbId string) (dbInfo *sqlserver.DBDetail, has bool, errRet error)
- func (me *SqlserverService) DescribeDBsOfInstance(ctx context.Context, instanceId string) (instanceDBList []*sqlserver.DBDetail, errRet error)
- func (me *SqlserverService) DescribeInstanceSecurityGroups(ctx context.Context, instanceId string) (securityGroups []string, errRet error)
- func (me *SqlserverService) DescribeMaintenanceSpan(ctx context.Context, instanceId string) (weekSet []int, startTime string, timeSpan int, errRet error)
- func (me *SqlserverService) DescribeMaintenanceSpanById(ctx context.Context, instanceId string) (maintenanceSpan *sqlserver.DescribeMaintenanceSpanResponseParams, errRet error)
- func (me *SqlserverService) DescribeProductConfig(ctx context.Context, zone string) (specInfoList []*sqlserver.SpecInfo, errRet error)
- func (me *SqlserverService) DescribeReadonlyGroupList(ctx context.Context, instanceId string) (groupList []*sqlserver.ReadOnlyGroup, errRet error)
- func (me *SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId(ctx context.Context, instanceId string) (...)
- func (me *SqlserverService) DescribeSqlserverAccountById(ctx context.Context, instanceId string, userName string) (account *sqlserver.AccountDetail, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverAccounts(ctx context.Context, instanceId string) (accounts []*sqlserver.AccountDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupByBackupId(ctx context.Context, instanceId string, startTime string, endTime string, ...) (backupList []*sqlserver.Backup, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupCommand(ctx context.Context, param map[string]interface{}) (datasourceBackupCommand []*sqlserver.DescribeBackupCommandResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverBackupUploadSizeByFilter(ctx context.Context, param map[string]interface{}) (datasourceBackupUploadSize []*sqlserver.CosUploadBackupFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackups(ctx context.Context, instanceId, backupName string, startTime string, ...) (backupList []*sqlserver.Backup, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupsById(ctx context.Context, instanceId, groupId string) (generalBackups *sqlserver.BackupFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (businessIntelligenceFile *sqlserver.BusinessIntelligenceFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById(ctx context.Context, instanceId string) (businessIntelligenceInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigBackupStrategyById(ctx context.Context, instanceId string) (configBackupStrategy *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseCDCById(ctx context.Context, instanceId string) (configDatabaseCDC []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseCTById(ctx context.Context, instanceId string) (configDatabaseCT []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseMdfById(ctx context.Context, instanceId string) (configDatabaseMdf []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceNetworkById(ctx context.Context, instanceId string) (configInstanceNetwork *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceParamById(ctx context.Context, instanceId string) (configInstanceParam []*sqlserver.ParameterDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceRoGroupById(ctx context.Context, instanceId, readOnlyGroupId string) (configInstanceRoGroup *sqlserver.DescribeReadOnlyGroupDetailsResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById(ctx context.Context, instanceId string) (configInstanceSecurityGroups []*sqlserver.SecurityGroup, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById(ctx context.Context, instanceId string) (configTerminateDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverCrossRegionZoneByFilter(ctx context.Context, param map[string]interface{}) (datasourceCrossRegionZone *sqlserver.DescribeCrossRegionZoneResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverDBS(ctx context.Context, instanceId, dbName string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatabaseTDEById(ctx context.Context, instanceId string, dbNameList []string) (databaseTDE *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter(ctx context.Context, param map[string]interface{}) (databaseCharsets []*string, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (fullBackupMigration *sqlserver.Migration, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloneById(ctx context.Context, instanceId string) (generalCommunication []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloudInstanceById(ctx context.Context, instanceId string) (generalCloudInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (generalCloudRoInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (generalCommunication *sqlserver.InterInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverIncreBackupMigrationById(ctx context.Context, ...) (increBackupMigration *sqlserver.Migration, errRet error)
- func (me *SqlserverService) DescribeSqlserverInsAttributeByFilter(ctx context.Context, param map[string]interface{}) (datasourceInsAttribute *sqlserver.DescribeDBInstancesAttributeResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverInstanceById(ctx context.Context, instanceId string) (instance *sqlserver.DBInstance, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecords []*sqlserver.ParamRecord, errRet error)
- func (me *SqlserverService) DescribeSqlserverInstanceTDEById(ctx context.Context, instanceId string) (instanceTDE *sqlserver.DescribeDBInstancesAttributeResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverInstances(ctx context.Context, instanceId, instanceName string, projectId int, ...) (instanceList []*sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverMigrationById(ctx context.Context, migrateId string) (migration *sqlserver.DescribeMigrationDetailResponseParams, errRet error)
- func (me *SqlserverService) DescribeSqlserverMigrationsByFilter(ctx context.Context, param map[string]interface{}) (migrateTasks []*sqlserver.MigrateTask, errRet error)
- func (me *SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*sqlserver.SecurityGroup, errRet error)
- func (me *SqlserverService) DescribeSqlserverPublishSubscribeById(ctx context.Context, instanceId, pubOrSubInstanceId string) (instance *sqlserver.PublishSubscribe, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverPublishSubscribes(ctx context.Context, paramMap map[string]interface{}) (publishSubscribeList []*sqlserver.PublishSubscribe, errRet error)
- func (me *SqlserverService) DescribeSqlserverQueryXeventByFilter(ctx context.Context, param map[string]interface{}) (queryXevent []*sqlserver.Events, errRet error)
- func (me *SqlserverService) DescribeSqlserverRenewDBInstanceById(ctx context.Context, instanceId string) (renewDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById(ctx context.Context, instanceId string) (renewPostpaidDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRestartDBInstanceById(ctx context.Context, instanceId string) (restartDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRestoreInstanceById(ctx context.Context, instanceId string, allNameList []string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverRollbackInstanceById(ctx context.Context, instanceId string, allNameList []string) (rollBackInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverRollbackTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTime []*sqlserver.DbRollbackTimeInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverSlowlogsByFilter(ctx context.Context, param map[string]interface{}) (slowlogs []*sqlserver.SlowlogInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverUploadBackupInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadBackupInfo *sqlserver.DescribeUploadBackupInfoResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadIncrementalInfo *sqlserver.DescribeUploadIncrementalInfoResponseParams, ...)
- func (me *SqlserverService) DescribeZones(ctx context.Context) (zoneInfoList []*sqlserver.ZoneInfo, errRet error)
- func (me *SqlserverService) GetInfoFromDeal(ctx context.Context, dealId string, timeout ...time.Duration) (instanceId string, errRet error)
- func (me *SqlserverService) ModifyAccountDBAttachment(ctx context.Context, instanceId, accountName, dbName, privilege string) (errRet error)
- func (me *SqlserverService) ModifyPublishSubscribeName(ctx context.Context, id uint64, name string) (errRet error)
- func (me *SqlserverService) ModifySqlserverAccountRemark(ctx context.Context, instanceId string, userName string, remark string) (errRet error)
- func (me *SqlserverService) ModifySqlserverDBRemark(ctx context.Context, instanceId string, dbName string, remark string) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceMaintenanceSpan(ctx context.Context, instanceId string, weekSet []int, startTime string, ...) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceName(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)
- func (me *SqlserverService) NewModifyDBInstanceRenewFlag(ctx context.Context, instanceId string, renewFlag int) (errRet error)
- func (me *SqlserverService) RecycleDBInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) RemoveSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)
- func (me *SqlserverService) ResetSqlserverAccountPassword(ctx context.Context, instanceId string, userName string, password string) (errRet error)
- func (me *SqlserverService) TerminateSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) TerminateSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) UpgradeSqlserverBasicInstance(ctx context.Context, instanceId string, memory int, ...) (errRet error)
- func (me *SqlserverService) UpgradeSqlserverInstance(ctx context.Context, instanceId string, memory, storage, autoVoucher int, ...) (errRet error)
- func (me *SqlserverService) WaitForTaskFinish(ctx context.Context, flowId int64) (errRet error)
- type SslService
- func (me *SslService) CheckCertificateType(ctx context.Context, certId string, checkType string) (bool, error)
- func (me *SslService) CreateCertificate(ctx context.Context, certType, cert, name string, projectId int, key *string) (id string, err error)
- func (me *SslService) DeleteCertificate(ctx context.Context, id string) error
- func (me *SslService) DescribeCertificates(ctx context.Context, id, name, certType *string) (certificates []*ssl.SSLCertificate, err error)
- func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskResult []*ssl.SyncTaskBindResourceResult, ...)
- func (me *SslService) DescribeSslDescribeCertificateByID(ctx context.Context, certificateId string) (describeCertificate *ssl.DescribeCertificateResponseParams, errRet error)
- func (me *SslService) DescribeSslDescribeCompaniesByFilter(ctx context.Context, param map[string]interface{}) (describeCompanies []*ssl.CompanyInfo, errRet error)
- func (me *SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostApiGatewayInstanceList []*ssl.ApiGatewayInstanceDetail, ...)
- func (me *SslService) DescribeSslDescribeHostCdnInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCdnInstanceList *ssl.DescribeHostCdnInstanceListResponseParams, ...)
- func (me *SslService) DescribeSslDescribeHostClbInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostClbInstanceList *ssl.DescribeHostClbInstanceListResponseParams, ...)
- func (me *SslService) DescribeSslDescribeHostCosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCosInstanceList *ssl.DescribeHostCosInstanceListResponseParams, ...)
- func (me *SslService) DescribeSslDescribeHostDdosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostDdosInstanceList []*ssl.DdosInstanceDetail, errRet error)
- func (me *SslService) DescribeSslDescribeHostDeployRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostDeployRecord []*ssl.DeployRecordInfo, errRet error)
- func (me *SslService) DescribeSslDescribeHostDeployRecordDetailByFilter(ctx context.Context, param map[string]interface{}) (describeHostDeployRecordDetail []*ssl.DeployRecordDetail, ...)
- func (me *SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLighthouseInstanceList []*ssl.LighthouseInstanceDetail, ...)
- func (me *SslService) DescribeSslDescribeHostLiveInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLiveInstanceList []*ssl.LiveInstanceDetail, errRet error)
- func (me *SslService) DescribeSslDescribeHostTeoInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostTeoInstanceList []*ssl.TeoInstanceDetail, errRet error)
- func (me *SslService) DescribeSslDescribeHostTkeInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostTkeInstanceList []*ssl.TkeInstanceDetail, asyncTotalNum *int64, ...)
- func (me *SslService) DescribeSslDescribeHostUpdateRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostUpdateRecord []*ssl.UpdateRecordInfo, errRet error)
- func (me *SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter(ctx context.Context, param map[string]interface{}) (describeHostUpdateRecordDetail []*ssl.UpdateRecordDetails, ...)
- func (me *SslService) DescribeSslDescribeHostVodInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostVodInstanceList []*ssl.VodInstanceDetail, errRet error)
- func (me *SslService) DescribeSslDescribeHostWafInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostWafInstanceList []*ssl.LiveInstanceDetail, errRet error)
- func (me *SslService) DescribeSslDescribeManagerDetailByFilter(ctx context.Context, managerId string) (describeManagerDetailResponse *ssl.DescribeManagerDetailResponseParams, ...)
- func (me *SslService) DescribeSslDescribeManagersByFilter(ctx context.Context, param map[string]interface{}) (describeManagers []*ssl.ManagerInfo, errRet error)
- type SsmService
- func (me *SsmService) CreateSecret(ctx context.Context, param map[string]interface{}) (secretName string, errRet error)
- func (me *SsmService) DeleteSecret(ctx context.Context, secretName string, recoveryWindowInDays uint64) (errRet error)
- func (me *SsmService) DeleteSecretVersion(ctx context.Context, secretName, versionId string) (errRet error)
- func (me *SsmService) DeleteSsmProductSecretById(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) DeleteSsmSshKeyPairSecretById(ctx context.Context, secretName string, cleanSSHKey *bool) (errRet error)
- func (me *SsmService) DescribeAsyncRequestInfo(ctx context.Context, flowID int64) (taskStatus int64, errRet error)
- func (me *SsmService) DescribeSecretById(ctx context.Context, secretName string, serviceType uint64) (sshKeyPairSecret *ssm.SecretMetadata, errRet error)
- func (me *SsmService) DescribeSecretByName(ctx context.Context, secretName string) (secret *SecretInfo, errRet error)
- func (me *SsmService) DescribeSecretVersion(ctx context.Context, secretName, versionId string) (secretVersion *SecretVersionInfo, errRet error)
- func (me *SsmService) DescribeSecretVersionIdsByName(ctx context.Context, secretName string) (versionIds []string, errRet error)
- func (me *SsmService) DescribeSecretsByFilter(ctx context.Context, param map[string]interface{}) (secrets []*ssm.SecretMetadata, errRet error)
- func (me *SsmService) DescribeSsmProductsByFilter(ctx context.Context) (products []*string, errRet error)
- func (me *SsmService) DescribeSsmRotationDetailByFilter(ctx context.Context, param map[string]interface{}) (rotationDetail *ssm.DescribeRotationDetailResponseParams, errRet error)
- func (me *SsmService) DescribeSsmRotationHistoryByFilter(ctx context.Context, param map[string]interface{}) (rotationHistory []*string, errRet error)
- func (me *SsmService) DescribeSsmServiceStatusByFilter(ctx context.Context) (ServiceStatus *ssm.GetServiceStatusResponseParams, errRet error)
- func (me *SsmService) DescribeSsmSshKeyPairValueByFilter(ctx context.Context, param map[string]interface{}) (sshKeyPairValue *ssm.GetSSHKeyPairValueResponseParams, errRet error)
- func (me *SsmService) DisableSecret(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) EnableSecret(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) PutSecretValue(ctx context.Context, param map[string]interface{}) (secretName, versionId string, errRet error)
- func (me *SsmService) SsmProductSecretStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
- func (me *SsmService) UpdateSecret(ctx context.Context, param map[string]interface{}) (errRet error)
- func (me *SsmService) UpdateSecretDescription(ctx context.Context, secretName, description string) (errRet error)
- type Statement
- type StsService
- type TCRService
- func (me *TCRService) CreateReplicationInstance(ctx context.Context, request *tcr.CreateReplicationInstanceRequest) (id string, errRet error)
- func (me *TCRService) CreateTCRInstance(ctx context.Context, name string, instanceType string, ...) (instanceId string, errRet error)
- func (me *TCRService) CreateTCRLongTermToken(ctx context.Context, instanceId string, description string) (tokenId string, token string, userName string, errRet error)
- func (me *TCRService) CreateTCRNameSpace(ctx context.Context, instanceId string, name string, ...) (errRet error)
- func (me *TCRService) CreateTCRRepository(ctx context.Context, instanceId string, namespace string, ...) (errRet error)
- func (me *TCRService) CreateTCRVPCAttachment(ctx context.Context, instanceId string, vpcId string, subnetId string, ...) (errRet error)
- func (me *TCRService) CreateTcrVpcDns(ctx context.Context, instanceId string, vpcId string, accessIp string, ...) (errRet error)
- func (me *TCRService) DeleteReplicationInstance(ctx context.Context, request *tcr.DeleteReplicationInstanceRequest) (errRet error)
- func (me *TCRService) DeleteTCRInstance(ctx context.Context, instanceId string, deleteBucket bool) (errRet error)
- func (me *TCRService) DeleteTCRLongTermToken(ctx context.Context, instanceId string, tokenId string) (errRet error)
- func (me *TCRService) DeleteTCRNameSpace(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *TCRService) DeleteTCRRepository(ctx context.Context, instanceId string, namespace string, ...) (errRet error)
- func (me *TCRService) DeleteTCRVPCAttachment(ctx context.Context, instanceId string, vpcId string, subnetId string, ...) (errRet error)
- func (me *TCRService) DeleteTcrCustomizedDomainById(ctx context.Context, registryId string, domainName string) (errRet error)
- func (me *TCRService) DeleteTcrImmutableTagRuleById(ctx context.Context, registryId string, namespaceName string, ruleId string) (errRet error)
- func (me *TCRService) DeleteTcrServiceAccountById(ctx context.Context, registryId string, name string) (errRet error)
- func (me *TCRService) DeleteTcrTagRetentionRuleById(ctx context.Context, registryId string, retentionId string) (errRet error)
- func (me *TCRService) DeleteTcrVpcDns(ctx context.Context, instanceId string, vpcId string, accessIp string, ...) (errRet error)
- func (me *TCRService) DeleteTcrWebhookTriggerById(ctx context.Context, registryId string, namespaceName string, triggerId int64) (errRet error)
- func (me *TCRService) DescribeExternalEndpointStatus(ctx context.Context, instanceId string) (status string, has bool, errRet error)
- func (me *TCRService) DescribeReplicationInstances(ctx context.Context, request *tcr.DescribeReplicationInstancesRequest) (list []*tcr.ReplicationRegistry, errRet error)
- func (me *TCRService) DescribeSecurityPolicies(ctx context.Context, request *tcr.DescribeSecurityPoliciesRequest) (policies []*tcr.SecurityPolicy, errRet error)
- func (me *TCRService) DescribeTCRInstanceById(ctx context.Context, instanceId string) (instance *tcr.Registry, has bool, errRet error)
- func (me *TCRService) DescribeTCRInstances(ctx context.Context, instanceId string, filter []*tcr.Filter) (instanceList []*tcr.Registry, errRet error)
- func (me *TCRService) DescribeTCRLongTermTokenById(ctx context.Context, instanceId string, tokenId string) (token *tcr.TcrInstanceToken, has bool, errRet error)
- func (me *TCRService) DescribeTCRNameSpaceById(ctx context.Context, instanceId string, name string) (namespace *tcr.TcrNamespaceInfo, has bool, errRet error)
- func (me *TCRService) DescribeTCRNameSpaces(ctx context.Context, instanceId string, name string) (namespaceList []*tcr.TcrNamespaceInfo, errRet error)
- func (me *TCRService) DescribeTCRRepositories(ctx context.Context, instanceId string, namespace string, ...) (repositoryList []*tcr.TcrRepositoryInfo, errRet error)
- func (me *TCRService) DescribeTCRRepositoryById(ctx context.Context, instanceId string, namespace string, ...) (repository *tcr.TcrRepositoryInfo, has bool, errRet error)
- func (me *TCRService) DescribeTCRTokens(ctx context.Context, instanceId string, tokenId string) (tokenList []*tcr.TcrInstanceToken, errRet error)
- func (me *TCRService) DescribeTCRVPCAttachmentById(ctx context.Context, instanceId string, vpcId string, subnetId string) (vpcAccess *tcr.AccessVpc, has bool, errRet error)
- func (me *TCRService) DescribeTCRVPCAttachments(ctx context.Context, instanceId string, vpcId string, subnetId string) (vpcList []*tcr.AccessVpc, errRet error)
- func (me *TCRService) DescribeTcrCustomizedDomainById(ctx context.Context, registryId string, domainName *string) (CustomizedDomain []*tcr.CustomizedDomainInfo, errRet error)
- func (me *TCRService) DescribeTcrImageManifestsByFilter(ctx context.Context, param map[string]interface{}) (ImageManifests *tcr.DescribeImageManifestsResponseParams, errRet error)
- func (me *TCRService) DescribeTcrImagesByFilter(ctx context.Context, param map[string]interface{}) (Images []*tcr.TcrImageInfo, errRet error)
- func (me *TCRService) DescribeTcrImmutableTagRuleById(ctx context.Context, registryId string, namespaceName, ruleId *string) (ImmutableTagRules []*tcr.ImmutableTagRule, errRet error)
- func (me *TCRService) DescribeTcrReplicationInstanceCreateTasksByFilter(ctx context.Context, param map[string]interface{}) (ret *tcr.DescribeReplicationInstanceCreateTasksResponseParams, errRet error)
- func (me *TCRService) DescribeTcrReplicationInstanceSyncStatusByFilter(ctx context.Context, param map[string]interface{}) (ret *tcr.DescribeReplicationInstanceSyncStatusResponseParams, errRet error)
- func (me *TCRService) DescribeTcrServiceAccountById(ctx context.Context, registryId string, name string) (ServiceAccount *tcr.ServiceAccount, errRet error)
- func (me *TCRService) DescribeTcrTagRetentionExecutionConfigById(ctx context.Context, registryId string, retentionId string) (TagRetentionExecutionConfig *tcr.RetentionExecution, errRet error)
- func (me *TCRService) DescribeTcrTagRetentionExecutionTasksByFilter(ctx context.Context, param map[string]interface{}) (TagRetentionExecutionTasks []*tcr.RetentionTask, errRet error)
- func (me *TCRService) DescribeTcrTagRetentionExecutionsByFilter(ctx context.Context, param map[string]interface{}) (TagRetentionExecutions []*tcr.RetentionExecution, errRet error)
- func (me *TCRService) DescribeTcrTagRetentionRuleById(ctx context.Context, registryId, namespaceName string, retentionId *string) (TagRetentionRule *tcr.RetentionPolicy, errRet error)
- func (me *TCRService) DescribeTcrVpcDnsById(ctx context.Context, instanceId string, vpcId string, accessIp string, ...) (vpcPrivateDomainStatus *tcr.VpcPrivateDomainStatus, has bool, errRet error)
- func (me *TCRService) DescribeTcrWebhookTriggerById(ctx context.Context, registryId string, triggerId int64, namespaceName string) (WebhookTrigger *tcr.WebhookTrigger, errRet error)
- func (me *TCRService) DescribeTcrWebhookTriggerLogByFilter(ctx context.Context, param map[string]interface{}) (DescribeWebhookTriggerLog []*tcr.WebhookTriggerLog, errRet error)
- func (me *TCRService) ManageTCRExternalEndpoint(ctx context.Context, instanceId, operation string) (errRet error)
- func (me *TCRService) ModifyInstance(ctx context.Context, registryId, registryType string) (errRet error)
- func (me *TCRService) ModifyTCRLongTermToken(ctx context.Context, instanceId string, tokenId string, enable bool) (errRet error)
- func (me *TCRService) ModifyTCRNameSpace(ctx context.Context, instanceId string, name string, ...) (errRet error)
- func (me *TCRService) ModifyTCRRepository(ctx context.Context, instanceId string, namespace string, ...) (errRet error)
- func (me *TCRService) TcrCustomizedDomainStateRefreshFunc(registryId, domainName string, failStates []string) resource.StateRefreshFunc
- func (me *TCRService) TcrStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *TCRService) TcrTagRetentionExecutionConfigStateRefreshFunc(registryId string, retentionId string, failStates []string) resource.StateRefreshFunc
- type TagService
- func (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)
- func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)
- func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)
- func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)
- func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)
- func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)
- func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
- func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
- func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, ...) error
- type TargetContentJson
- type TatService
- func (me *TatService) DeleteTatCommandById(ctx context.Context, commandId string) (errRet error)
- func (me *TatService) DeleteTatInvocationById(ctx context.Context, invocationId, instanceId string) (errRet error)
- func (me *TatService) DeleteTatInvokerById(ctx context.Context, invokerId string) (errRet error)
- func (me *TatService) DescribeTatAgentByFilter(ctx context.Context, param map[string]interface{}) (agent []*tat.AutomationAgentInfo, errRet error)
- func (me *TatService) DescribeTatCommand(ctx context.Context, commandId string) (command *tat.Command, errRet error)
- func (me *TatService) DescribeTatCommandByFilter(ctx context.Context, param map[string]interface{}) (command []*tat.Command, errRet error)
- func (me *TatService) DescribeTatInvocationById(ctx context.Context, invocationId string) (invocation *tat.Invocation, errRet error)
- func (me *TatService) DescribeTatInvocationTaskByFilter(ctx context.Context, param map[string]interface{}) (invocationTaskDatasource []*tat.InvocationTask, errRet error)
- func (me *TatService) DescribeTatInvoker(ctx context.Context, invokerId string) (invoker *tat.Invoker, errRet error)
- func (me *TatService) DescribeTatInvokerByFilter(ctx context.Context, param map[string]interface{}) (invoker []*tat.Invoker, errRet error)
- func (me *TatService) DescribeTatInvokerConfigById(ctx context.Context, invokerId string) (invokerAttachment *tat.Invoker, errRet error)
- func (me *TatService) DescribeTatInvokerRecordsByFilter(ctx context.Context, param map[string]interface{}) (invokerRecords []*tat.InvokerRecord, errRet error)
- type TcaplusIdlId
- type TcaplusService
- func (me *TcaplusService) CreateCluster(ctx context.Context, idlType, clusterName, vpcId, subnetId, password string) (id string, errRet error)
- func (me *TcaplusService) CreateGroup(ctx context.Context, id string, groupName string) (groupId string, errRet error)
- func (me *TcaplusService) CreateTables(ctx context.Context, tid TcaplusIdlId, ...) (taskId string, tableInstanceId string, errRet error)
- func (me *TcaplusService) DeleteCluster(ctx context.Context, id string) (taskId string, errRet error)
- func (me *TcaplusService) DeleteGroup(ctx context.Context, clusterId string, groupId string) (errRet error)
- func (me *TcaplusService) DeleteIdlFiles(ctx context.Context, tid TcaplusIdlId) (errRet error)
- func (me *TcaplusService) DeleteTable(ctx context.Context, clusterId, groupId, tableInstanceId, tableName string) (taskId string, errRet error)
- func (me *TcaplusService) DesOldIdlFiles(ctx context.Context, tid TcaplusIdlId) (tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)
- func (me *TcaplusService) DescribeCluster(ctx context.Context, id string) (clusterInfo tcaplusdb.ClusterInfo, has bool, errRet error)
- func (me *TcaplusService) DescribeClusters(ctx context.Context, clusterId string, clusterName string) (clusterInfos []*tcaplusdb.ClusterInfo, errRet error)
- func (me *TcaplusService) DescribeGroup(ctx context.Context, id string, groupId string) (info tcaplusdb.TableGroupInfo, has bool, errRet error)
- func (me *TcaplusService) DescribeGroups(ctx context.Context, clusterId string, groupId, groupName string) (infos []*tcaplusdb.TableGroupInfo, errRet error)
- func (me *TcaplusService) DescribeIdlFileInfos(ctx context.Context, clusterId string) (infos []*tcaplusdb.IdlFileInfo, errRet error)
- func (me *TcaplusService) DescribeTable(ctx context.Context, clusterId, tableInstanceId string) (tableInfo tcaplusdb.TableInfoNew, has bool, errRet error)
- func (me *TcaplusService) DescribeTables(ctx context.Context, clusterId string, groupId, tableId, tableName string) (infos []*tcaplusdb.TableInfoNew, errRet error)
- func (me *TcaplusService) DescribeTask(ctx context.Context, clusterId string, taskId string) (taskInfo tcaplusdb.TaskInfoNew, has bool, errRet error)
- func (me *TcaplusService) ModifyClusterName(ctx context.Context, id string, clusterName string) (errRet error)
- func (me *TcaplusService) ModifyClusterPassword(ctx context.Context, id string, oldPassword, newPassword string, ...) (errRet error)
- func (me *TcaplusService) ModifyGroupName(ctx context.Context, id string, groupId, groupName string) (errRet error)
- func (me *TcaplusService) ModifyTableMemo(ctx context.Context, ...) (errRet error)
- func (me *TcaplusService) ModifyTables(ctx context.Context, tid TcaplusIdlId, ...) (taskId string, errRet error)
- func (me *TcaplusService) VerifyIdlFiles(ctx context.Context, tid TcaplusIdlId, groupId string, fileContent string) (idlId int64, tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)
- type TcmService
- func (me *TcmService) DeleteTcmClusterAttachmentById(ctx context.Context, meshId, clusterId string) (errRet error)
- func (me *TcmService) DeleteTcmMeshById(ctx context.Context, meshId string) (errRet error)
- func (me *TcmService) DeleteTcmPrometheusAttachmentById(ctx context.Context, meshID string) (errRet error)
- func (me *TcmService) DescribeTcmAccessLogConfig(ctx context.Context, meshName string) (accessLogConfig *tcm.DescribeAccessLogConfigResponseParams, errRet error)
- func (me *TcmService) DescribeTcmMesh(ctx context.Context, meshId string) (mesh *tcm.DescribeMeshResponseParams, errRet error)
- func (me *TcmService) DescribeTcmMeshByFilter(ctx context.Context, param map[string][]*string) (meshs []*tcm.Mesh, errRet error)
- type TcmqService
- func (me *TcmqService) DeleteTcmqQueueById(ctx context.Context, queueName string) (errRet error)
- func (me *TcmqService) DeleteTcmqSubscribeById(ctx context.Context, topicName string, subscriptionName string) (errRet error)
- func (me *TcmqService) DeleteTcmqTopicById(ctx context.Context, topicName string) (errRet error)
- func (me *TcmqService) DescribeTcmqQueueByFilter(ctx context.Context, paramMap map[string]interface{}) (queueList []*tcmq.CmqQueue, errRet error)
- func (me *TcmqService) DescribeTcmqQueueById(ctx context.Context, queueName string) (queue *tcmq.CmqQueue, errRet error)
- func (me *TcmqService) DescribeTcmqSubscribeByFilter(ctx context.Context, paramMap map[string]interface{}) (subscriptionList []*tcmq.CmqSubscription, errRet error)
- func (me *TcmqService) DescribeTcmqSubscribeById(ctx context.Context, topicName string, subscriptionName string) (subscribe *tcmq.CmqSubscription, errRet error)
- func (me *TcmqService) DescribeTcmqTopicByFilter(ctx context.Context, paramMap map[string]interface{}) (topicList []*tcmq.CmqTopic, errRet error)
- func (me *TcmqService) DescribeTcmqTopicById(ctx context.Context, topicName string) (topic *tcmq.CmqTopic, errRet error)
- type TdcpgService
- func (me *TdcpgService) DeleteTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
- func (me *TdcpgService) DeleteTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
- func (me *TdcpgService) DescribeTdcpgCluster(ctx context.Context, clusterId *string) (cluster *tdcpg.DescribeClustersResponseParams, errRet error)
- func (me *TdcpgService) DescribeTdcpgClustersByFilter(ctx context.Context, param map[string]interface{}) (clusters []*tdcpg.Cluster, errRet error)
- func (me *TdcpgService) DescribeTdcpgInstance(ctx context.Context, clusterId, instanceId *string) (instance *tdcpg.DescribeClusterInstancesResponseParams, errRet error)
- func (me *TdcpgService) DescribeTdcpgInstancesByFilter(ctx context.Context, clusterId *string, param map[string]interface{}) (instances []*tdcpg.Instance, errRet error)
- func (me *TdcpgService) DescribeTdcpgResourceByDealName(ctx context.Context, dealNames []*string) (resourceInfo []*tdcpg.ResourceIdInfo, errRet error)
- func (me *TdcpgService) IsolateTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
- func (me *TdcpgService) IsolateTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
- type TdmqRocketmqService
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqClusterById(ctx context.Context, clusterId string) (errRet error)
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqEnvironmentRoleById(ctx context.Context, clusterId, roleName, environmentId string) (errRet error)
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqGroupById(ctx context.Context, clusterId, namespaceId, groupId string) (errRet error)
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqNamespaceById(ctx context.Context, namespaceName, clusterId string) (errRet error)
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqRoleById(ctx context.Context, clusterId, roleName string) (errRet error)
- func (me *TdmqRocketmqService) DeleteTdmqRocketmqTopicById(ctx context.Context, clusterId, namespaceId, topic string) (errRet error)
- func (me *TdmqRocketmqService) DescribeRocketmqClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*tdmqRocketmq.RocketMQClusterDetail, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqCluster(ctx context.Context, clusterId string) (cluster *tdmqRocketmq.RocketMQClusterInfo, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqEnvironmentRole(ctx context.Context, clusterId, roleName, environmentId string) (environmentRoles []*tdmqRocketmq.EnvironmentRole, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqGroup(ctx context.Context, clusterId, namespaceId, groupId string) (result []*tdmqRocketmq.RocketMQGroup, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqGroupByFilter(ctx context.Context, param map[string]interface{}) (group []*tdmqRocketmq.RocketMQGroup, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqNamespace(ctx context.Context, namespaceName, clusterId string) (namespace []*tdmqRocketmq.RocketMQNamespace, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqNamespaceByFilter(ctx context.Context, param map[string]interface{}) (namespace []*tdmqRocketmq.RocketMQNamespace, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqRole(ctx context.Context, clusterId, roleName string) (role *tdmqRocketmq.Role, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqRoleByFilter(ctx context.Context, param map[string]interface{}) (role []*tdmqRocketmq.Role, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqTopic(ctx context.Context, clusterId, namespaceId, topicName string) (result []*tdmqRocketmq.RocketMQTopic, errRet error)
- func (me *TdmqRocketmqService) DescribeTdmqRocketmqTopicByFilter(ctx context.Context, param map[string]interface{}) (topic []*tdmqRocketmq.RocketMQTopic, errRet error)
- type TdmqService
- func (me *TdmqService) CreateTdmqNamespace(ctx context.Context, environName string, msgTtl uint64, clusterId string, ...) (environId string, errRet error)
- func (me *TdmqService) CreateTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, permissions []*string, ...) (errRet error)
- func (me *TdmqService) CreateTdmqRole(ctx context.Context, roleName string, clusterId string, remark string) (roleId string, errRet error)
- func (me *TdmqService) CreateTdmqTopic(ctx context.Context, environId string, topicName string, partitions uint64, ...) (errRet error)
- func (me *TdmqService) DeleteTdmqInstance(ctx context.Context, clusterId string) (errRet error)
- func (me *TdmqService) DeleteTdmqNamespace(ctx context.Context, environId string, clusterId string) (errRet error)
- func (me *TdmqService) DeleteTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, cluserId string) (errRet error)
- func (me *TdmqService) DeleteTdmqRabbitmqUserById(ctx context.Context, instanceId, user string) (errRet error)
- func (me *TdmqService) DeleteTdmqRabbitmqVipInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *TdmqService) DeleteTdmqRabbitmqVirtualHostById(ctx context.Context, instanceId, virtualHost string) (errRet error)
- func (me *TdmqService) DeleteTdmqRocketmqVipInstanceById(ctx context.Context, clusterId string) (errRet error)
- func (me *TdmqService) DeleteTdmqRole(ctx context.Context, roleName string, cluserId string) (errRet error)
- func (me *TdmqService) DeleteTdmqSubscriptionAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (errRet error)
- func (me *TdmqService) DeleteTdmqTopic(ctx context.Context, environId string, topicName string, clusterId string) (errRet error)
- func (me *TdmqService) DeleteTdmqTopicsAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (errRet error)
- func (me *TdmqService) DescribeTdmqDeadLetterSourceQueueByFilter(ctx context.Context, param map[string]interface{}) (deadLetterSourceQueue []*tdmq.CmqDeadLetterSource, errRet error)
- func (me *TdmqService) DescribeTdmqEnvironmentAttributesByFilter(ctx context.Context, param map[string]interface{}) (environmentAttributes *tdmq.DescribeEnvironmentAttributesResponseParams, ...)
- func (me *TdmqService) DescribeTdmqInstanceById(ctx context.Context, clusterId string) (info *tdmq.Cluster, has bool, errRet error)
- func (me *TdmqService) DescribeTdmqMessageByFilter(ctx context.Context, param map[string]interface{}) (message *tdmq.DescribeRocketMQMsgResponseParams, errRet error)
- func (me *TdmqService) DescribeTdmqNamespaceById(ctx context.Context, environId string, clusterId string) (info *tdmq.Environment, has bool, errRet error)
- func (me *TdmqService) DescribeTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, clusterId string) (info *tdmq.EnvironmentRole, has bool, errRet error)
- func (me *TdmqService) DescribeTdmqProInstanceDetailByFilter(ctx context.Context, param map[string]interface{}) (proInstanceDetail *tdmq.DescribePulsarProInstanceDetailResponseParams, ...)
- func (me *TdmqService) DescribeTdmqProInstancesByFilter(ctx context.Context, param map[string]interface{}) (proInstances []*tdmq.PulsarProInstance, errRet error)
- func (me *TdmqService) DescribeTdmqPublisherSummaryByFilter(ctx context.Context, param map[string]interface{}) (publisherSummary *tdmq.DescribePublisherSummaryResponseParams, errRet error)
- func (me *TdmqService) DescribeTdmqPublishersByFilter(ctx context.Context, param map[string]interface{}) (publishers []*tdmq.Publisher, errRet error)
- func (me *TdmqService) DescribeTdmqRabbitmqNodeListByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqNodeList []*tdmq.RabbitMQPrivateNode, errRet error)
- func (me *TdmqService) DescribeTdmqRabbitmqUserById(ctx context.Context, instanceId, user string) (rabbitmqUser *tdmq.RabbitMQUser, errRet error)
- func (me *TdmqService) DescribeTdmqRabbitmqVipInstanceByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqVipInstance []*tdmq.RabbitMQVipInstance, errRet error)
- func (me *TdmqService) DescribeTdmqRabbitmqVipInstanceById(ctx context.Context, instanceId string) (rabbitmqVipInstance *tdmq.DescribeRabbitMQVipInstanceResponseParams, ...)
- func (me *TdmqService) DescribeTdmqRabbitmqVirtualHostById(ctx context.Context, instanceId, virtualHost string) (rabbitmqVirtualHost *tdmq.RabbitMQVirtualHostInfo, errRet error)
- func (me *TdmqService) DescribeTdmqRabbitmqVirtualHostListByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqVirtualHostList []*tdmq.RabbitMQPrivateVirtualHost, errRet error)
- func (me *TdmqService) DescribeTdmqRocketmqVipInstanceById(ctx context.Context, clusterId string) (...)
- func (me *TdmqService) DescribeTdmqRocketmqVipInstancesByFilter(ctx context.Context, clusterId string) (rocketmqVipInstances *tdmq.RocketMQVipInstance, errRet error)
- func (me *TdmqService) DescribeTdmqRoleById(ctx context.Context, roleName string, clusterId string) (info *tdmq.Role, has bool, errRet error)
- func (me *TdmqService) DescribeTdmqSubscriptionAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (subscriptionAttachment *tdmq.Subscription, errRet error)
- func (me *TdmqService) DescribeTdmqTopicById(ctx context.Context, environId string, topicName string, clusterId string) (info *tdmq.Topic, has bool, errRet error)
- func (me *TdmqService) DescribeTdmqVipInstanceByFilter(ctx context.Context, param map[string]interface{}) (vipInstance *tdmq.DescribeRocketMQVipInstanceDetailResponseParams, ...)
- func (me *TdmqService) GetTdmqTopicsAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (has bool, errRet error)
- func (me *TdmqService) ModifyTdmqInstanceAttribute(ctx context.Context, clusterId, clusterName string, remark string) (errRet error)
- func (me *TdmqService) ModifyTdmqNamespaceAttribute(ctx context.Context, environId string, msgTtl uint64, remark string, ...) (errRet error)
- func (me *TdmqService) ModifyTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, permissions []*string, ...) (errRet error)
- func (me *TdmqService) ModifyTdmqRoleAttribute(ctx context.Context, roleName string, clusterId string, remark string) (errRet error)
- func (me *TdmqService) ModifyTdmqTopicAttribute(ctx context.Context, environId string, topicName string, partitions uint64, ...) (errRet error)
- type TemService
- func (me *TemService) DeleteTemAppConfigById(ctx context.Context, environmentId string, name string) (errRet error)
- func (me *TemService) DeleteTemApplicationById(ctx context.Context, applicationId string) (errRet error)
- func (me *TemService) DeleteTemApplicationServiceById(ctx context.Context, environmentId string, applicationId string, ...) (errRet error)
- func (me *TemService) DeleteTemEnvironmentById(ctx context.Context, environmentId string) (errRet error)
- func (me *TemService) DeleteTemGatewayById(ctx context.Context, environmentId string, ingressName string) (errRet error)
- func (me *TemService) DeleteTemLogConfigById(ctx context.Context, environmentId string, applicationId string, name string) (errRet error)
- func (me *TemService) DeleteTemScaleRuleById(ctx context.Context, environmentId string, applicationId string, ...) (errRet error)
- func (me *TemService) DeleteTemWorkloadById(ctx context.Context, environmentId string, applicationId string) (errRet error)
- func (me *TemService) DescribeTemAppConfig(ctx context.Context, environmentId string, name string) (appConfig *tem.ConfigData, errRet error)
- func (me *TemService) DescribeTemApplication(ctx context.Context, applicationId string) (application *tem.DescribeApplicationsResponseParams, errRet error)
- func (me *TemService) DescribeTemApplicationServiceById(ctx context.Context, environmentId string, applicationId string) (applicationService *tem.DescribeApplicationServiceListResponseParams, ...)
- func (me *TemService) DescribeTemEnvironment(ctx context.Context, environmentId string) (environment *tem.DescribeEnvironmentResponseParams, errRet error)
- func (me *TemService) DescribeTemEnvironmentStatus(ctx context.Context, environmentId string) (environment *tem.NamespaceStatusInfo, errRet error)
- func (me *TemService) DescribeTemGateway(ctx context.Context, environmentId string, ingressName string) (gateway *tem.IngressInfo, errRet error)
- func (me *TemService) DescribeTemLogConfig(ctx context.Context, environmentId string, applicationId string, name string) (logConfig *tem.LogConfig, errRet error)
- func (me *TemService) DescribeTemScaleRule(ctx context.Context, environmentId string, applicationId string, ...) (scaleRule *tem.Autoscaler, errRet error)
- func (me *TemService) DescribeTemWorkload(ctx context.Context, environmentId string, applicationId string) (workload *tem.DescribeApplicationInfoResponseParams, errRet error)
- func (me *TemService) DisableTemScaleRuleById(ctx context.Context, environmentId string, applicationId string, ...) (errRet error)
- type TencentCloudClient
- type TencentCloudRedisDetail
- type TeoService
- func (me *TeoService) CheckAccelerationDomainStatus(ctx context.Context, zoneId, domainName, operate string) error
- func (me *TeoService) CheckZoneComplete(ctx context.Context, zoneId string) error
- func (me *TeoService) DeleteTeoAccelerationDomainById(ctx context.Context, zoneId string, domainName string) (errRet error)
- func (me *TeoService) DeleteTeoApplicationProxyById(ctx context.Context, zoneId, proxyId string) (errRet error)
- func (me *TeoService) DeleteTeoApplicationProxyRuleById(ctx context.Context, zoneId, proxyId, ruleId string) (errRet error)
- func (me *TeoService) DeleteTeoOriginGroupById(ctx context.Context, zoneId, originGroupId string) (errRet error)
- func (me *TeoService) DeleteTeoRuleEngineById(ctx context.Context, zoneId, ruleId string) (errRet error)
- func (me *TeoService) DeleteTeoZoneById(ctx context.Context, zoneId string) (errRet error)
- func (me *TeoService) DescribeIdentifications(ctx context.Context, domain string) (identifications []*teo.Identification, errRet error)
- func (me *TeoService) DescribeTeoAccelerationDomainById(ctx context.Context, zoneId string, domainName string) (accelerationDomain *teo.AccelerationDomain, errRet error)
- func (me *TeoService) DescribeTeoApplicationProxy(ctx context.Context, zoneId, proxyId string) (applicationProxy *teo.ApplicationProxy, errRet error)
- func (me *TeoService) DescribeTeoApplicationProxyRule(ctx context.Context, zoneId, proxyId, ruleId string) (applicationProxyRule *teo.ApplicationProxyRule, errRet error)
- func (me *TeoService) DescribeTeoDefaultCertificate(ctx context.Context, zoneId, certId string) (defaultCertificate *teo.DefaultServerCertInfo, errRet error)
- func (me *TeoService) DescribeTeoOriginGroup(ctx context.Context, zoneId, originGroupId string) (originGroup *teo.OriginGroup, errRet error)
- func (me *TeoService) DescribeTeoRuleEngine(ctx context.Context, zoneId, ruleId string) (ruleEngine *teo.RuleItem, errRet error)
- func (me *TeoService) DescribeTeoRuleEnginePriority(ctx context.Context, zoneId string) (ruleEnginePriority []*teo.RuleItem, errRet error)
- func (me *TeoService) DescribeTeoRuleEngineSettingsByFilter(ctx context.Context) (actions []*teo.RulesSettingAction, errRet error)
- func (me *TeoService) DescribeTeoRuleEngines(ctx context.Context, zoneId string) (ruleEngines []*teo.RuleItem, errRet error)
- func (me *TeoService) DescribeTeoZone(ctx context.Context, zoneId string) (zone *teo.Zone, errRet error)
- func (me *TeoService) DescribeTeoZoneAvailablePlansByFilter(ctx context.Context) (planInfos []*teo.PlanInfo, errRet error)
- func (me *TeoService) DescribeTeoZoneSetting(ctx context.Context, zoneId string) (zoneSetting *teo.ZoneSetting, errRet error)
- func (me *TeoService) ModifyZoneStatus(ctx context.Context, zoneId string, paused bool, operate string) error
- type TkeService
- func (me *TkeService) AcquireClusterAdminRole(ctx context.Context, clusterId string) (errRet error)
- func (me *TkeService) CheckClusterVersion(ctx context.Context, id string, clusterVersion string) (isOk bool, errRet error)
- func (me *TkeService) CheckInstancesUpgradeAble(ctx context.Context, id string, upgradeType string) (instanceIds []string, errRet error)
- func (me *TkeService) CheckOneOfClusterNodeReady(ctx context.Context, clusterId string, mustHaveWorkers bool) error
- func (me *TkeService) CreateCluster(ctx context.Context, basic ClusterBasicSetting, ...) (id string, errRet error)
- func (me *TkeService) CreateClusterAsGroup(ctx context.Context, id, groupPara, configPara string, labels []*tke.Label, ...) (asGroupId string, errRet error)
- func (me *TkeService) CreateClusterEndpoint(ctx context.Context, id string, subnetId, securityGroupId string, ...) (errRet error)
- func (me *TkeService) CreateClusterInstances(ctx context.Context, id string, runInstancePara string, ...) (instanceIds []string, errRet error)
- func (me *TkeService) CreateClusterNodePool(ctx context.Context, clusterId, name, groupPara, configPara string, ...) (asGroupId string, errRet error)
- func (me *TkeService) CreateClusterVirtualNodePool(ctx context.Context, request *tke.CreateClusterVirtualNodePoolRequest) (id string, errRet error)
- func (me *TkeService) CreateExtensionAddon(ctx context.Context, clusterName, reqBody string) (errRet error)
- func (me *TkeService) DeleteCluster(ctx context.Context, id string) (errRet error)
- func (me *TkeService) DeleteClusterAsGroups(ctx context.Context, id, asGroupId string) (errRet error)
- func (me *TkeService) DeleteClusterEndpoint(ctx context.Context, id string, isInternet bool) (errRet error)
- func (me *TkeService) DeleteClusterInstances(ctx context.Context, id string, instanceIds []string) (errRet error)
- func (me *TkeService) DeleteClusterNodePool(ctx context.Context, id, nodePoolId string, deleteKeepInstance bool) (errRet error)
- func (me *TkeService) DeleteClusterVirtualNodePool(ctx context.Context, request *tke.DeleteClusterVirtualNodePoolRequest) (errRet error)
- func (me *TkeService) DeleteExtensionAddon(ctx context.Context, clusterName, addon string) (errRet error)
- func (me *TkeService) DeleteTkeEncryptionProtectionById(ctx context.Context, clusterId string) (errRet error)
- func (me *TkeService) DescribeCluster(ctx context.Context, id string) (clusterInfo ClusterInfo, has bool, errRet error)
- func (me *TkeService) DescribeClusterAsGroupsByGroupId(ctx context.Context, id string, groupId string) (clusterAsGroupSet *tke.ClusterAsGroup, errRet error)
- func (me *TkeService) DescribeClusterAuthenticationOptions(ctx context.Context, id string) (options *tke.ServiceAccountAuthenticationOptions, state string, ...)
- func (me *TkeService) DescribeClusterCommonNames(ctx context.Context, request *tke.DescribeClusterCommonNamesRequest) (commonNames []*tke.CommonName, errRet error)
- func (me *TkeService) DescribeClusterConfig(ctx context.Context, id string, isPublic bool) (config string, errRet error)
- func (me *TkeService) DescribeClusterEndpointStatus(ctx context.Context, id string, isExtranet bool) (status string, message string, errRet error)
- func (me *TkeService) DescribeClusterInstances(ctx context.Context, id string) (masters []InstanceInfo, workers []InstanceInfo, errRet error)
- func (me *TkeService) DescribeClusterLevelAttribute(ctx context.Context, id string) (clusterLevels []*tke.ClusterLevelAttribute, errRet error)
- func (me *TkeService) DescribeClusterNodePoolGlobalConfig(ctx context.Context, clusterId string) (npGlobalConfig *tke.ClusterAsGroupOption, errRet error)
- func (me *TkeService) DescribeClusterSecurity(ctx context.Context, id string) (ret *tke.DescribeClusterSecurityResponse, errRet error)
- func (me *TkeService) DescribeClusterVirtualNode(ctx context.Context, clusterId string) (virtualNodes []tke.VirtualNode, errRet error)
- func (me *TkeService) DescribeClusters(ctx context.Context, id string, name string) (clusterInfos []ClusterInfo, errRet error)
- func (me *TkeService) DescribeExtensionAddon(ctx context.Context, clusterName, addon string) (result string, has bool, errRet error)
- func (me *TkeService) DescribeImages(ctx context.Context) (imageIds []string, errRet error)
- func (me *TkeService) DescribeKubernetesAvailableClusterVersionsByFilter(ctx context.Context, param map[string]interface{}) (availableClusterVersions *tke.DescribeAvailableClusterVersionResponseParams, ...)
- func (me *TkeService) DescribeNodePool(ctx context.Context, clusterId string, nodePoolId string) (nodePool *tke.NodePool, has bool, errRet error)
- func (me *TkeService) DescribeServerlessNodePoolByClusterIdAndNodePoolId(ctx context.Context, clusterId, nodePoolId string) (instance *tke.VirtualNodePool, has bool, errRet error)
- func (me *TkeService) DescribeTkeEncryptionProtectionById(ctx context.Context, clusterId string) (encryptionProtection *tke.DescribeEncryptionStatusResponseParams, errRet error)
- func (me *TkeService) DisableClusterAudit(ctx context.Context, request *tke.DisableClusterAuditRequest) (errRet error)
- func (me *TkeService) DisableEventPersistence(ctx context.Context, request *tke.DisableEventPersistenceRequest) (errRet error)
- func (me *TkeService) EnableClusterAudit(ctx context.Context, request *tke.EnableClusterAuditRequest) (errRet error)
- func (me *TkeService) EnableEventPersistence(ctx context.Context, request *tke.EnableEventPersistenceRequest) (errRet error)
- func (me *TkeService) GetAddonNameFromJson(reqJson string) (name string, err error)
- func (me *TkeService) GetAddonReqBody(addon, version string, values []*string) (string, error)
- func (me *TkeService) GetAddonsPath(cluster, addon string) string
- func (me *TkeService) GetTkeAppChartList(ctx context.Context, request *tke.GetTkeAppChartListRequest) (info []*tke.AppChart, errRet error)
- func (me *TkeService) GetUpgradeInstanceResult(ctx context.Context, id string) (done bool, errRet error)
- func (me *TkeService) InstallLogAgent(ctx context.Context, request *tke.InstallLogAgentRequest) (errRet error)
- func (me *TkeService) ModifyClusterAsGroupAttribute(ctx context.Context, id, asGroupId string, maxSize, minSize int64) (errRet error)
- func (me *TkeService) ModifyClusterAttribute(ctx context.Context, id string, projectId int64, ...) (errRet error)
- func (me *TkeService) ModifyClusterAuthenticationOptions(ctx context.Context, request *tke.ModifyClusterAuthenticationOptionsRequest) (errRet error)
- func (me *TkeService) ModifyClusterEndpointSG(ctx context.Context, id string, securityGroup string) (errRet error)
- func (me *TkeService) ModifyClusterEndpointSP(ctx context.Context, id string, securityPolicies []string) (errRet error)
- func (me *TkeService) ModifyClusterNodePool(ctx context.Context, clusterId, nodePoolId string, name string, ...) (errRet error)
- func (me *TkeService) ModifyClusterNodePoolDesiredCapacity(ctx context.Context, clusterId, nodePoolId string, desiredCapacity int64) (errRet error)
- func (me *TkeService) ModifyClusterNodePoolGlobalConfig(ctx context.Context, request *tke.ModifyClusterAsGroupOptionAttributeRequest) (errRet error)
- func (me *TkeService) ModifyClusterNodePoolInstanceTypes(ctx context.Context, clusterId, nodePoolId string, instanceTypes []*string) (errRet error)
- func (me *TkeService) ModifyClusterVersion(ctx context.Context, id string, clusterVersion string, extraArgs interface{}) (errRet error)
- func (me *TkeService) ModifyClusterVirtualNodePool(ctx context.Context, request *tke.ModifyClusterVirtualNodePoolRequest) (errRet error)
- func (me *TkeService) ModifyDeletionProtection(ctx context.Context, id string, enable bool) (errRet error)
- func (me *TkeService) PollingAddonsPhase(ctx context.Context, clusterId, addonName string, ...) (string, bool, error)
- func (me *TkeService) ProcessExtensionAddons(ctx context.Context, request *tke.ForwardApplicationRequestV3Request) (response *tke.ForwardApplicationRequestV3Response, err error)
- func (me *TkeService) SwitchClusterAudit(ctx context.Context, clusterId, logSetId, topicId string, ...) error
- func (me *TkeService) SwitchEventPersistence(ctx context.Context, clusterId, logSetId, topicId string, ...) error
- func (me *TkeService) SwitchLogAgent(ctx context.Context, clusterId, rootDir string, enable bool) error
- func (me *TkeService) TkeEncryptionProtectionStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- func (me *TkeService) UninstallLogAgent(ctx context.Context, request *tke.UninstallLogAgentRequest) (errRet error)
- func (me *TkeService) UpdateExtensionAddon(ctx context.Context, clusterName, addon, reqBody string) (errRet error)
- func (me *TkeService) UpgradeClusterInstances(ctx context.Context, id string, upgradeType string, instanceIds []string) (errRet error)
- func (me *TkeService) WaitForAuthenticationOptionsUpdateSuccess(ctx context.Context, id string) (info *tke.ServiceAccountAuthenticationOptions, ...)
- type TriggerDesc
- type TrocketService
- func (me *TrocketService) DeleteTrocketRocketmqConsumerGroupById(ctx context.Context, instanceId string, consumerGroup string) (errRet error)
- func (me *TrocketService) DeleteTrocketRocketmqInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *TrocketService) DeleteTrocketRocketmqRoleById(ctx context.Context, instanceId string, role string) (errRet error)
- func (me *TrocketService) DeleteTrocketRocketmqTopicById(ctx context.Context, instanceId string, topic string) (errRet error)
- func (me *TrocketService) DescribeTrocketRocketmqConsumerGroupById(ctx context.Context, instanceId string, consumerGroup string) (rocketmqConsumerGroup *trocket.DescribeConsumerGroupResponseParams, ...)
- func (me *TrocketService) DescribeTrocketRocketmqInstanceById(ctx context.Context, instanceId string) (rocketmqInstance *trocket.DescribeInstanceResponseParams, errRet error)
- func (me *TrocketService) DescribeTrocketRocketmqRoleById(ctx context.Context, instanceId string, role string) (rocketmqRole *trocket.RoleItem, errRet error)
- func (me *TrocketService) DescribeTrocketRocketmqTopicById(ctx context.Context, instanceId string, topic string) (rocketmqTopic *trocket.TopicItem, errRet error)
- func (me *TrocketService) TrocketRocketmqInstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- type TseService
- func (me *TseService) CheckTseInstanceStatusById(ctx context.Context, instanceId, operate string) (errRet error)
- func (me *TseService) CheckTseNativeAPIGatewayGroupStatusById(ctx context.Context, gatewayId, groupId, operate string) (errRet error)
- func (me *TseService) CheckTseNativeAPIGatewayStatusById(ctx context.Context, gatewayId, operate string) (errRet error)
- func (me *TseService) DeleteTseCngwCanaryRuleById(ctx context.Context, gatewayId string, serviceId string, priority string) (errRet error)
- func (me *TseService) DeleteTseCngwCertificateById(ctx context.Context, gatewayId string, id string) (errRet error)
- func (me *TseService) DeleteTseCngwGatewayById(ctx context.Context, gatewayId string) (errRet error)
- func (me *TseService) DeleteTseCngwGroupById(ctx context.Context, gatewayId string, groupId string) (errRet error)
- func (me *TseService) DeleteTseCngwRouteById(ctx context.Context, gatewayId string, routeName string) (errRet error)
- func (me *TseService) DeleteTseCngwRouteRateLimitById(ctx context.Context, gatewayId, routeId string) (errRet error)
- func (me *TseService) DeleteTseCngwServiceById(ctx context.Context, gatewayId, name string) (errRet error)
- func (me *TseService) DeleteTseCngwServiceRateLimitById(ctx context.Context, gatewayId string, name string) (errRet error)
- func (me *TseService) DeleteTseInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *TseService) DescribeTseAccessAddressByFilter(ctx context.Context, param map[string]interface{}) (accessAddress *tse.DescribeSREInstanceAccessAddressResponseParams, ...)
- func (me *TseService) DescribeTseCngwCanaryRuleById(ctx context.Context, gatewayId string, serviceId string, priority string) (cngwCanaryRule *tse.CloudNativeAPIGatewayCanaryRule, errRet error)
- func (me *TseService) DescribeTseCngwCertificateById(ctx context.Context, gatewayId string, id string) (cngwCertificate *tse.KongCertificatesPreview, errRet error)
- func (me *TseService) DescribeTseCngwGatewayById(ctx context.Context, gatewayId string) (cngwGateway *tse.DescribeCloudNativeAPIGatewayResult, errRet error)
- func (me *TseService) DescribeTseCngwGroupById(ctx context.Context, gatewayId string, groupId string) (cngwGroup *tse.NativeGatewayServerGroup, errRet error)
- func (me *TseService) DescribeTseCngwRouteById(ctx context.Context, gatewayId string, serviceID string, routeName string) (cngwRoute *tse.KongRoutePreview, errRet error)
- func (me *TseService) DescribeTseCngwRouteRateLimitById(ctx context.Context, gatewayId, routeId string) (cngwRouteRateLimit *tse.CloudNativeAPIGatewayRateLimitDetail, errRet error)
- func (me *TseService) DescribeTseCngwServiceById(ctx context.Context, gatewayId, name string) (cngwService *tse.KongServiceDetail, errRet error)
- func (me *TseService) DescribeTseCngwServiceRateLimitById(ctx context.Context, gatewayId string, name string) (cngwServiceRateLimit *tse.CloudNativeAPIGatewayRateLimitDetail, errRet error)
- func (me *TseService) DescribeTseGatewayCanaryRulesByFilter(ctx context.Context, param map[string]interface{}) (gatewayCanaryRules *tse.CloudAPIGatewayCanaryRuleList, errRet error)
- func (me *TseService) DescribeTseGatewayCertificatesByFilter(ctx context.Context, param map[string]interface{}) (gatewayCertificates *tse.KongCertificatesList, errRet error)
- func (me *TseService) DescribeTseGatewayNodesByFilter(ctx context.Context, param map[string]interface{}) (gatewayNodes []*tse.CloudNativeAPIGatewayNode, errRet error)
- func (me *TseService) DescribeTseGatewayRoutesByFilter(ctx context.Context, param map[string]interface{}) (gatewayRoutes *tse.KongServiceRouteList, errRet error)
- func (me *TseService) DescribeTseGatewayServicesByFilter(ctx context.Context, param map[string]interface{}) (gatewayServices *tse.KongServices, errRet error)
- func (me *TseService) DescribeTseGatewaysByFilter(ctx context.Context, param map[string]interface{}) (gateways *tse.ListCloudNativeAPIGatewayResult, errRet error)
- func (me *TseService) DescribeTseGroupsByFilter(ctx context.Context, param map[string]interface{}) (groups *tse.NativeGatewayServerGroups, errRet error)
- func (me *TseService) DescribeTseInstanceById(ctx context.Context, instanceId string) (instance *tse.SREInstance, errRet error)
- func (me *TseService) DescribeTseNacosReplicasByFilter(ctx context.Context, param map[string]interface{}) (nacosReplicas []*tse.NacosReplica, errRet error)
- func (me *TseService) DescribeTseNacosServerInterfacesByFilter(ctx context.Context, instanceId string) (nacosServerInterfaces []*tse.NacosServerInterface, errRet error)
- func (me *TseService) DescribeTseZookeeperReplicasByFilter(ctx context.Context, param map[string]interface{}) (zookeeperReplicas []*tse.ZookeeperReplica, errRet error)
- func (me *TseService) DescribeTseZookeeperServerInterfacesByFilter(ctx context.Context, param map[string]interface{}) (zookeeperServerInterfaces []*tse.ZookeeperServerInterface, errRet error)
- type TsfService
- func (me *TsfService) DeleteTsfApiGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *TsfService) DeleteTsfApiRateLimitRuleById(ctx context.Context, apiId, ruleId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationById(ctx context.Context, applicationId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationConfigById(ctx context.Context, configId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationFileConfigById(ctx context.Context, configId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationFileConfigReleaseById(ctx context.Context, configId string, groupId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationPublicConfigById(ctx context.Context, configId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationPublicConfigReleaseById(ctx context.Context, configId, namespaceId string) (errRet error)
- func (me *TsfService) DeleteTsfApplicationReleaseConfigById(ctx context.Context, configReleaseId string) (errRet error)
- func (me *TsfService) DeleteTsfBindApiGroupById(ctx context.Context, groupId string, gatewayDeployGroupId string) (errRet error)
- func (me *TsfService) DeleteTsfClusterById(ctx context.Context, clusterId string) (errRet error)
- func (me *TsfService) DeleteTsfConfigTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *TsfService) DeleteTsfContainGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *TsfService) DeleteTsfGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *TsfService) DeleteTsfInstancesAttachmentById(ctx context.Context, clusterId string, instanceId string) (errRet error)
- func (me *TsfService) DeleteTsfLaneById(ctx context.Context, laneId string) (errRet error)
- func (me *TsfService) DeleteTsfLaneRuleById(ctx context.Context, ruleId string) (errRet error)
- func (me *TsfService) DeleteTsfMicroserviceById(ctx context.Context, microserviceId string) (errRet error)
- func (me *TsfService) DeleteTsfNamespaceById(ctx context.Context, namespaceId string) (errRet error)
- func (me *TsfService) DeleteTsfPathRewriteById(ctx context.Context, pathRewriteId string) (errRet error)
- func (me *TsfService) DeleteTsfRepositoryById(ctx context.Context, repositoryId string) (errRet error)
- func (me *TsfService) DeleteTsfTaskById(ctx context.Context, taskId string) (errRet error)
- func (me *TsfService) DeleteTsfUnitNamespaceById(ctx context.Context, gatewayInstanceId, unitNamespace string) (errRet error)
- func (me *TsfService) DeleteTsfUnitRuleById(ctx context.Context, id string) (errRet error)
- func (me *TsfService) DescribeTsfApiDetailByFilter(ctx context.Context, param map[string]interface{}) (apiDetail *tsf.ApiDetailResponse, errRet error)
- func (me *TsfService) DescribeTsfApiGroupByFilter(ctx context.Context, param map[string]interface{}) (apiGroupInfo *tsf.TsfPageApiGroupInfo, errRet error)
- func (me *TsfService) DescribeTsfApiGroupById(ctx context.Context, groupId string) (apiGroup *tsf.ApiGroupInfo, errRet error)
- func (me *TsfService) DescribeTsfApiRateLimitRuleById(ctx context.Context, apiId, ruleId string) (apiRateLimitRule *tsf.ApiRateLimitRule, errRet error)
- func (me *TsfService) DescribeTsfApplicationAttributeByFilter(ctx context.Context, param map[string]interface{}) (applicationAttribute *tsf.ApplicationAttribute, errRet error)
- func (me *TsfService) DescribeTsfApplicationByFilter(ctx context.Context, param map[string]interface{}) (application *tsf.TsfPageApplication, errRet error)
- func (me *TsfService) DescribeTsfApplicationById(ctx context.Context, applicationId string) (application *tsf.ApplicationForPage, errRet error)
- func (me *TsfService) DescribeTsfApplicationConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationConfig *tsf.TsfPageConfig, errRet error)
- func (me *TsfService) DescribeTsfApplicationConfigById(ctx context.Context, configId, configName string) (applicationConfig *tsf.Config, errRet error)
- func (me *TsfService) DescribeTsfApplicationFileConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationFileConfig *tsf.TsfPageFileConfig, errRet error)
- func (me *TsfService) DescribeTsfApplicationFileConfigById(ctx context.Context, configId string) (applicationFileConfig *tsf.FileConfig, errRet error)
- func (me *TsfService) DescribeTsfApplicationFileConfigReleaseById(ctx context.Context, configId string, groupId string) (applicationFileConfigRelease *tsf.FileConfigRelease, errRet error)
- func (me *TsfService) DescribeTsfApplicationPublicConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationPublicConfig *tsf.TsfPageConfig, errRet error)
- func (me *TsfService) DescribeTsfApplicationPublicConfigById(ctx context.Context, configId string) (applicationPublicConfig *tsf.Config, errRet error)
- func (me *TsfService) DescribeTsfApplicationPublicConfigReleaseById(ctx context.Context, configId, namespaceId string) (applicationPublicConfigRelease *tsf.ConfigRelease, errRet error)
- func (me *TsfService) DescribeTsfApplicationReleaseConfigById(ctx context.Context, configId string, groupId string) (applicationReleaseConfig *tsf.ConfigRelease, errRet error)
- func (me *TsfService) DescribeTsfBindApiGroupById(ctx context.Context, groupId string, gatewayDeployGroupId string) (bindApiGroup *tsf.GatewayDeployGroup, errRet error)
- func (me *TsfService) DescribeTsfBusinessLogConfigsByFilter(ctx context.Context, param map[string]interface{}) (businessLogConfigs *tsf.TsfPageBusinessLogConfig, errRet error)
- func (me *TsfService) DescribeTsfClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster *tsf.TsfPageCluster, errRet error)
- func (me *TsfService) DescribeTsfClusterById(ctx context.Context, clusterId string) (cluster *tsf.ClusterV2, errRet error)
- func (me *TsfService) DescribeTsfConfigSummaryByFilter(ctx context.Context, param map[string]interface{}) (configSummary *tsf.TsfPageConfig, errRet error)
- func (me *TsfService) DescribeTsfConfigTemplateById(ctx context.Context, templateId string) (configTemplate *tsf.ConfigTemplate, errRet error)
- func (me *TsfService) DescribeTsfContainGroupById(ctx context.Context, groupId string) (containGroup *tsf.ContainerGroupDetail, errRet error)
- func (me *TsfService) DescribeTsfDeliveryConfigByGroupIdByFilter(ctx context.Context, param map[string]interface{}) (deliveryConfigByGroupID *tsf.SimpleKafkaDeliveryConfig, errRet error)
- func (me *TsfService) DescribeTsfDeliveryConfigsByFilter(ctx context.Context, param map[string]interface{}) (deliveryConfigs *tsf.DeliveryConfigBindGroups, errRet error)
- func (me *TsfService) DescribeTsfDeployContainerGroupById(ctx context.Context, groupId string) (deployContainerGroup *tsf.ContainerGroupDeploy, errRet error)
- func (me *TsfService) DescribeTsfDeployVmGroupById(ctx context.Context, groupId string) (deployVmGroup *tsf.VmGroup, errRet error)
- func (me *TsfService) DescribeTsfDescribePodInstancesByFilter(ctx context.Context, param map[string]interface{}) (describePodInstances *tsf.GroupPodResult, errRet error)
- func (me *TsfService) DescribeTsfDescriptionContainerGroupByFilter(ctx context.Context, param map[string]interface{}) (descriptionContainerGroup *tsf.ContainGroupResult, errRet error)
- func (me *TsfService) DescribeTsfEnableUnitRuleById(ctx context.Context, id string) (enableUnitRuleAttachment *tsf.UnitRule, errRet error)
- func (me *TsfService) DescribeTsfGatewayAllGroupApisByFilter(ctx context.Context, param map[string]interface{}) (gatewayAllGroupApis *tsf.GatewayVo, errRet error)
- func (me *TsfService) DescribeTsfGroupById(ctx context.Context, groupId string) (group *tsf.VmGroup, errRet error)
- func (me *TsfService) DescribeTsfGroupConfigReleaseByFilter(ctx context.Context, param map[string]interface{}) (groupConfigRelease *tsf.GroupRelease, errRet error)
- func (me *TsfService) DescribeTsfGroupGatewaysByFilter(ctx context.Context, param map[string]interface{}) (groupGateways *tsf.TsfPageApiGroupInfo, errRet error)
- func (me *TsfService) DescribeTsfGroupInstancesByFilter(ctx context.Context, param map[string]interface{}) (groupInstances *tsf.TsfPageInstance, errRet error)
- func (me *TsfService) DescribeTsfGroupsByFilter(ctx context.Context, param map[string]interface{}) (groups *tsf.TsfPageVmGroup, errRet error)
- func (me *TsfService) DescribeTsfInstancesAttachmentById(ctx context.Context, clusterId string, instanceId string) (instance *tsf.Instance, errRet error)
- func (me *TsfService) DescribeTsfLaneById(ctx context.Context, laneId string) (lane *tsf.LaneInfo, errRet error)
- func (me *TsfService) DescribeTsfLaneRuleById(ctx context.Context, ruleId string) (laneRule *tsf.LaneRule, errRet error)
- func (me *TsfService) DescribeTsfMicroserviceApiVersionByFilter(ctx context.Context, param map[string]interface{}) (microserviceApiVersion []*tsf.ApiVersionArray, errRet error)
- func (me *TsfService) DescribeTsfMicroserviceByFilter(ctx context.Context, param map[string]interface{}) (microservice *tsf.TsfPageMicroservice, errRet error)
- func (me *TsfService) DescribeTsfMicroserviceById(ctx context.Context, namespaceId, microserviceId, microserviceName string) (microservice *tsf.Microservice, errRet error)
- func (me *TsfService) DescribeTsfMsApiListByFilter(ctx context.Context, param map[string]interface{}) (msApiList *tsf.TsfApiListResponse, errRet error)
- func (me *TsfService) DescribeTsfNamespaceById(ctx context.Context, namespaceId string) (namespace *tsf.Namespace, errRet error)
- func (me *TsfService) DescribeTsfPathRewriteById(ctx context.Context, pathRewriteId string) (pathRewrite *tsf.PathRewrite, errRet error)
- func (me *TsfService) DescribeTsfPublicConfigSummaryByFilter(ctx context.Context, param map[string]interface{}) (publicConfigSummary *tsf.TsfPageConfig, errRet error)
- func (me *TsfService) DescribeTsfReleaseApiGroupById(ctx context.Context, groupId string) (releaseApiGroup *tsf.ApiGroupInfo, errRet error)
- func (me *TsfService) DescribeTsfRepositoryByFilter(ctx context.Context, param map[string]interface{}) (repositoryList *tsf.RepositoryList, errRet error)
- func (me *TsfService) DescribeTsfRepositoryById(ctx context.Context, repositoryId string) (repository *tsf.RepositoryInfo, errRet error)
- func (me *TsfService) DescribeTsfStartContainerGroupById(ctx context.Context, groupId string) (startContainerGroup *tsf.ContainerGroupOther, errRet error)
- func (me *TsfService) DescribeTsfStartGroupById(ctx context.Context, groupId string) (startGroup *tsf.VmGroupOther, errRet error)
- func (me *TsfService) DescribeTsfTaskById(ctx context.Context, taskId string) (task *tsf.TaskRecord, errRet error)
- func (me *TsfService) DescribeTsfUnitNamespaceById(ctx context.Context, gatewayInstanceId, namespaceId string) (unitNamespace *tsf.UnitNamespace, errRet error)
- func (me *TsfService) DescribeTsfUnitRuleById(ctx context.Context, id string) (unitRule *tsf.UnitRule, errRet error)
- func (me *TsfService) DescribeTsfUnitRulesByFilter(ctx context.Context, param map[string]interface{}) (unitRule *tsf.TsfPageUnitRuleV2, errRet error)
- func (me *TsfService) DescribeTsfUsableUnitNamespacesByFilter(ctx context.Context, param map[string]interface{}) (usableUnitNamespaces *tsf.TsfPageUnitNamespace, errRet error)
- func (me *TsfService) TsfClusterStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- type VodService
- func (me *VodService) DeleteAdaptiveDynamicStreamingTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteImageSpriteTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteProcedureTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteSnapshotByTimeOffsetTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteSuperPlayerConfig(ctx context.Context, configId string, subAppid uint64) (errRet error)
- func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.AdaptiveDynamicStreamingTemplate, errRet error)
- func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.AdaptiveDynamicStreamingTemplate, has bool, errRet error)
- func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ImageSpriteTemplate, errRet error)
- func (me *VodService) DescribeImageSpriteTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ImageSpriteTemplate, has bool, errRet error)
- func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ProcedureTemplate, errRet error)
- func (me *VodService) DescribeProcedureTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ProcedureTemplate, has bool, errRet error)
- func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.SnapshotByTimeOffsetTemplate, errRet error)
- func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.SnapshotByTimeOffsetTemplate, has bool, errRet error)
- func (me *VodService) DescribeSuperPlayerConfigsByFilter(ctx context.Context, filters map[string]interface{}) (configs []*vod.PlayerConfig, errRet error)
- func (me *VodService) DescribeSuperPlayerConfigsById(ctx context.Context, configId string) (configInfo *vod.PlayerConfig, has bool, errRet error)
- type VpcACLRule
- type VpcBasicInfo
- type VpcEniIP
- type VpcRouteEntryBasicInfo
- type VpcRouteTableBasicInfo
- type VpcSecurityGroupLiteRule
- type VpcService
- func (me *VpcService) AssignIpv4ToEni(ctx context.Context, id string, ipv4s []VpcEniIP, ipv4Count *int) error
- func (me *VpcService) AssociateAclSubnets(ctx context.Context, aclId string, subnetIds []string) (errRet error)
- func (me *VpcService) AttachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string, ...) (errRet error)
- func (me *VpcService) AttachEip(ctx context.Context, eipId, instanceId string) error
- func (me *VpcService) AttachEniToCvm(ctx context.Context, eniId, cvmId string) error
- func (me *VpcService) AttachLiteRulesToSecurityGroup(ctx context.Context, sgId string, ingress, egress []VpcSecurityGroupLiteRule) error
- func (me *VpcService) AttachRulesToACL(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
- func (me *VpcService) CheckAssistantCidr(ctx context.Context, request *vpc.CheckAssistantCidrRequest) (info []*vpc.ConflictSource, errRet error)
- func (me *VpcService) CreateAddressTemplate(ctx context.Context, name string, addresses []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateAddressTemplateGroup(ctx context.Context, name string, addressTemplate []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateAssistantCidr(ctx context.Context, request *vpc.CreateAssistantCidrRequest) (info []*vpc.AssistantCidr, errRet error)
- func (me *VpcService) CreateCcn(ctx context.Context, ...) (basicInfo CcnBasicInfo, errRet error)
- func (me *VpcService) CreateDirectConnectGateway(ctx context.Context, name, networkType, networkInstanceId, gatewayType string) (dcgId string, errRet error)
- func (me *VpcService) CreateDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, cidr string, asPaths []string) (routeId string, errRet error)
- func (me *VpcService) CreateEni(ctx context.Context, name, vpcId, subnetId, desc string, ...) (id string, err error)
- func (me *VpcService) CreateNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
- func (me *VpcService) CreateRouteTable(ctx context.Context, name, vpcId string, tags map[string]string) (routeTableId string, errRet error)
- func (me *VpcService) CreateRoutes(ctx context.Context, ...) (entryId int64, errRet error)
- func (me *VpcService) CreateSecurityGroup(ctx context.Context, name, desc string, projectId *int, tags map[string]string) (id string, err error)
- func (me *VpcService) CreateSecurityGroupPolicies(ctx context.Context, request *vpc.CreateSecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) CreateSecurityGroupPolicy(ctx context.Context, info securityGroupRuleBasicInfoWithPolicyIndex) (ruleId string, err error)deprecated
- func (me *VpcService) CreateServiceTemplate(ctx context.Context, name string, services []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateServiceTemplateGroup(ctx context.Context, name string, serviceTemplate []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateSubnet(ctx context.Context, vpcId, name, cidr, zone string, tags map[string]string) (subnetId string, errRet error)
- func (me *VpcService) CreateVpc(ctx context.Context, name, cidr string, isMulticast bool, dnsServers []string, ...) (vpcId string, isDefault bool, errRet error)
- func (me *VpcService) CreateVpcNetworkAcl(ctx context.Context, vpcID string, name string, tags map[string]string) (aclID string, errRet error)
- func (me *VpcService) CreateVpnGatewayRoute(ctx context.Context, vpnGatewayId string, vpnGwRoutes []*vpc.VpnGatewayRoute) (errRet error, routes []*vpc.VpnGatewayRoute)
- func (me *VpcService) DeleteAcl(ctx context.Context, aclID string) (errRet error)
- func (me *VpcService) DeleteAclAttachment(ctx context.Context, attachmentAcl string) (errRet error)
- func (me *VpcService) DeleteAddressTemplate(ctx context.Context, templateId string) (errRet error)
- func (me *VpcService) DeleteAddressTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
- func (me *VpcService) DeleteAssistantCidr(ctx context.Context, request *vpc.DeleteAssistantCidrRequest) (errRet error)
- func (me *VpcService) DeleteCcn(ctx context.Context, ccnId string) (errRet error)
- func (me *VpcService) DeleteCustomerGateway(ctx context.Context, customerGatewayId string) (errRet error)
- func (me *VpcService) DeleteDcGatewayAttachmentById(ctx context.Context, vpcId string, directConnectGatewayId string, ...) (errRet error)
- func (me *VpcService) DeleteDirectConnectGateway(ctx context.Context, dcgId string) (errRet error)
- func (me *VpcService) DeleteDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, routeId string) (errRet error)
- func (me *VpcService) DeleteEip(ctx context.Context, eipId string) error
- func (me *VpcService) DeleteEni(ctx context.Context, id string) error
- func (me *VpcService) DeleteHaVip(ctx context.Context, haVipId string) (errRet error)
- func (me *VpcService) DeleteLiteRules(ctx context.Context, sgId string, rules []VpcSecurityGroupLiteRule, ...) error
- func (me *VpcService) DeleteNatGateway(ctx context.Context, natGatewayId string) (errRet error)
- func (me *VpcService) DeleteNatGatewaySnat(ctx context.Context, natGatewayId string, snatId string) (errRet error)
- func (me *VpcService) DeleteRouteTable(ctx context.Context, routeTableId string) (errRet error)
- func (me *VpcService) DeleteRoutes(ctx context.Context, routeTableId string, entryId uint64) (errRet error)
- func (me *VpcService) DeleteSecurityGroup(ctx context.Context, id string) error
- func (me *VpcService) DeleteSecurityGroupPolicies(ctx context.Context, request *vpc.DeleteSecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) DeleteSecurityGroupPolicy(ctx context.Context, ruleId string) error
- func (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndex(ctx context.Context, policyIndex int64, sgId, policyType string) error
- func (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndexList(ctx context.Context, sgId string, policyIndexList []*int64, policyType string) error
- func (me *VpcService) DeleteServiceTemplate(ctx context.Context, templateId string) (errRet error)
- func (me *VpcService) DeleteServiceTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
- func (me *VpcService) DeleteSubnet(ctx context.Context, subnetId string) (errRet error)
- func (me *VpcService) DeleteVpc(ctx context.Context, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcBandwidthPackageAttachmentById(ctx context.Context, bandwidthPackageId, resourceId string) (errRet error)
- func (me *VpcService) DeleteVpcBandwidthPackageById(ctx context.Context, bandwidthPackageId string) (errRet error)
- func (me *VpcService) DeleteVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (errRet error)
- func (me *VpcService) DeleteVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string) (errRet error)
- func (me *VpcService) DeleteVpcDhcpIpById(ctx context.Context, dhcpIpId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointById(ctx context.Context, endPointId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (errRet error)
- func (me *VpcService) DeleteVpcEniSgAttachmentById(ctx context.Context, networkInterfaceId string, securityGroupIds []string) (errRet error)
- func (me *VpcService) DeleteVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6CidrBlockById(ctx context.Context, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6EniAddressById(ctx context.Context, networkInterfaceId string, ipv6Address string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6SubnetCidrBlockById(ctx context.Context, vpcId string, subnetId string) (errRet error)
- func (me *VpcService) DeleteVpcLocalGatewayById(ctx context.Context, cdcId string, localGatewayId string) (errRet error)
- func (me *VpcService) DeleteVpcNetDetectById(ctx context.Context, netDetectId string) (errRet error)
- func (me *VpcService) DeleteVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (errRet error)
- func (me *VpcService) DeleteVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (errRet error)
- func (me *VpcService) DeleteVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (errRet error)
- func (me *VpcService) DeleteVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (errRet error)
- func (me *VpcService) DeleteVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (errRet error)
- func (me *VpcService) DeleteVpnGateway(ctx context.Context, vpnGatewayId string) (errRet error)
- func (me *VpcService) DeleteVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, routeIds []*string) (errRet error)
- func (me *VpcService) DeleteVpnGatewaySslClient(ctx context.Context, SslClientId string) (taskId *uint64, errRet error)
- func (me *VpcService) DeleteVpnGatewaySslServer(ctx context.Context, SslServerId string) (taskId uint64, errRet error)
- func (me *VpcService) DescribeAddressTemplateById(ctx context.Context, templateId string) (template *vpc.AddressTemplate, has bool, errRet error)
- func (me *VpcService) DescribeAddressTemplateGroupById(ctx context.Context, templateGroupId string) (templateGroup *vpc.AddressTemplateGroup, has bool, errRet error)
- func (me *VpcService) DescribeAddressTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplateGroup, errRet error)
- func (me *VpcService) DescribeAddressTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplate, errRet error)
- func (me *VpcService) DescribeAssistantCidr(ctx context.Context, vpcId string) (info []*vpc.AssistantCidr, errRet error)
- func (me *VpcService) DescribeByAclId(ctx context.Context, attachmentAcl string) (has bool, errRet error)
- func (me *VpcService) DescribeCcn(ctx context.Context, ccnId string) (info CcnBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeCcnAttachedInstance(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (info CcnAttachedInstanceInfo, has int, errRet error)
- func (me *VpcService) DescribeCcnAttachedInstances(ctx context.Context, ccnId string) (infos []CcnAttachedInstanceInfo, errRet error)
- func (me *VpcService) DescribeCcnAttachmentsByInstance(ctx context.Context, instanceType string, instanceId string, ...) (infos []vpc.CcnAttachedInstance, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
- func (me *VpcService) DescribeCcnRegionBandwidthLimit(ctx context.Context, ccnId, region string) (bandwidth int64, errRet error)
- func (me *VpcService) DescribeCcnRegionBandwidthLimits(ctx context.Context, ccnId string) (infos []CcnBandwidthLimit, errRet error)
- func (me *VpcService) DescribeCcns(ctx context.Context, ccnId, name string) (infos []CcnBasicInfo, errRet error)
- func (me *VpcService) DescribeCustomerGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.CustomerGateway, errRet error)
- func (me *VpcService) DescribeDcGatewayAttachmentById(ctx context.Context, vpcId string, directConnectGatewayId string, ...) (dcGateway *vpc.DirectConnectGateway, errRet error)
- func (me *VpcService) DescribeDirectConnectGateway(ctx context.Context, dcgId string) (info DcgInstanceInfo, has int, errRet error)
- func (me *VpcService) DescribeDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, routeId string) (infoRet DcgRouteInfo, has int, errRet error)
- func (me *VpcService) DescribeDirectConnectGatewayCcnRoutes(ctx context.Context, dcgId string) (infos []DcgRouteInfo, errRet error)
- func (me *VpcService) DescribeDirectConnectGateways(ctx context.Context, dcgId, name string) (infos []DcgInstanceInfo, errRet error)
- func (me *VpcService) DescribeEipAddressQuota(ctx context.Context) (addressQuota []*vpc.Quota, errRet error)
- func (me *VpcService) DescribeEipByFilter(ctx context.Context, filters map[string][]string) (eips []*vpc.Address, errRet error)
- func (me *VpcService) DescribeEipById(ctx context.Context, eipId string) (eip *vpc.Address, errRet error)
- func (me *VpcService) DescribeEipNetworkAccountType(ctx context.Context) (networkAccountType *string, errRet error)
- func (me *VpcService) DescribeEniByFilters(ctx context.Context, vpcId, subnetId, cvmId, sgId, name, desc, ipv4 *string, ...) (enis []*vpc.NetworkInterface, err error)
- func (me *VpcService) DescribeEniById(ctx context.Context, ids []string) (enis []*vpc.NetworkInterface, err error)
- func (me *VpcService) DescribeFlowLogs(ctx context.Context, request *vpc.DescribeFlowLogsRequest) (result []*vpc.FlowLog, errRet error)
- func (me *VpcService) DescribeHaVipByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.HaVip, errRet error)
- func (me *VpcService) DescribeHaVipEipById(ctx context.Context, haVipEipAttachmentId string) (eip string, haVip string, has bool, errRet error)
- func (me *VpcService) DescribeNatDcRouteByFilter(ctx context.Context, param map[string]interface{}) (natDcRoute []*vpc.NatDirectConnectGatewayRoute, errRet error)
- func (me *VpcService) DescribeNatGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.NatGateway, errRet error)
- func (me *VpcService) DescribeNatGatewayById(ctx context.Context, natGateWayId string) (natGateWay *vpc.NatGateway, errRet error)
- func (me *VpcService) DescribeNatGatewaySnats(ctx context.Context, natGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.SourceIpTranslationNatRule)
- func (me *VpcService) DescribeNetWorkAcls(ctx context.Context, aclID, vpcID, name string) (info []*vpc.NetworkAcl, errRet error)
- func (me *VpcService) DescribeNetWorkByACLID(ctx context.Context, aclID string) (info *vpc.NetworkAcl, has int, errRet error)
- func (me *VpcService) DescribeRouteTable(ctx context.Context, routeTableId string) (info VpcRouteTableBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeRouteTables(ctx context.Context, routeTableId, routeTableName, vpcId string, ...) (infos []VpcRouteTableBasicInfo, errRet error)
- func (me *VpcService) DescribeSecurityGroup(ctx context.Context, id string) (sg *vpc.SecurityGroup, err error)
- func (me *VpcService) DescribeSecurityGroupPolices(ctx context.Context, sgId string) (ingress, egress []VpcSecurityGroupLiteRule, exist bool, err error)
- func (me *VpcService) DescribeSecurityGroupPolicies(ctx context.Context, sgId string) (result *vpc.SecurityGroupPolicySet, errRet error)
- func (me *VpcService) DescribeSecurityGroupPolicy(ctx context.Context, ruleId string) (sgId string, policyType string, policy *vpc.SecurityGroupPolicy, errRet error)deprecated
- func (me *VpcService) DescribeSecurityGroups(ctx context.Context, sgId, sgName *string, projectId *int, ...) (sgs []*vpc.SecurityGroup, err error)
- func (me *VpcService) DescribeSecurityGroupsAssociate(ctx context.Context, ids []string) ([]*vpc.SecurityGroupAssociationStatistics, error)
- func (me *VpcService) DescribeServiceTemplateById(ctx context.Context, templateId string) (template *vpc.ServiceTemplate, has bool, errRet error)
- func (me *VpcService) DescribeServiceTemplateGroupById(ctx context.Context, templateGroupId string) (template *vpc.ServiceTemplateGroup, has bool, errRet error)
- func (me *VpcService) DescribeServiceTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplateGroup, errRet error)
- func (me *VpcService) DescribeServiceTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplate, errRet error)
- func (me *VpcService) DescribeSubnet(ctx context.Context, subnetId string, isRemoteVpcSNAT *bool, ...) (info VpcSubnetBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeSubnetById(ctx context.Context, subnetId string) (instance *vpc.Subnet, errRet error)
- func (me *VpcService) DescribeSubnets(ctx context.Context, subnetId, vpcId, subnetName, zone string, ...) (infos []VpcSubnetBasicInfo, errRet error)
- func (me *VpcService) DescribeTaskResult(ctx context.Context, taskId *uint64) (result *vpc.DescribeTaskResultResponse, err error)
- func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
- func (me *VpcService) DescribeVpc(ctx context.Context, vpcId string, tagKey string, cidrBlock string) (info VpcBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeVpcAccountAttributes(ctx context.Context) (accountAttributes []*vpc.AccountAttribute, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackage(ctx context.Context, bandwidthPackageId string) (resource *vpc.BandwidthPackage, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageAttachment(ctx context.Context, bandwidthPackageId, resourceId string) (bandwidthPackageResources *vpc.Resource, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageBillUsageByFilter(ctx context.Context, param map[string]interface{}) (bandwidthPackageBillUsage []*vpc.BandwidthPackageBillBandwidth, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageByEip(ctx context.Context, eipId string) (resource *vpc.BandwidthPackage, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageQuota(ctx context.Context) (bandwidthPackageQuota []*vpc.Quota, errRet error)
- func (me *VpcService) DescribeVpcById(ctx context.Context, vpcId string) (instance *vpc.Vpc, errRet error)
- func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
- func (me *VpcService) DescribeVpcCcnRoutesById(ctx context.Context, ccnId string, routeId string) (ccnRoutes *vpc.CcnRoute, errRet error)
- func (me *VpcService) DescribeVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (classicLinkAttachment *vpc.ClassicLinkInstance, errRet error)
- func (me *VpcService) DescribeVpcClassicLinkInstancesByFilter(ctx context.Context, param map[string]interface{}) (classicLinkInstances []*vpc.ClassicLinkInstance, errRet error)
- func (me *VpcService) DescribeVpcCvmInstancesByFilter(ctx context.Context, param map[string]interface{}) (CvmInstances []*vpc.CvmInstance, errRet error)
- func (me *VpcService) DescribeVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string, addressIp string) (dhcpAssociateAddress *vpc.DhcpIp, errRet error)
- func (me *VpcService) DescribeVpcDhcpIpById(ctx context.Context, dhcpIpId string) (dhcpIp *vpc.DhcpIp, errRet error)
- func (me *VpcService) DescribeVpcEndPointById(ctx context.Context, endPointId string) (endPoint *vpc.EndPoint, errRet error)
- func (me *VpcService) DescribeVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (endPointService *vpc.EndPointService, errRet error)
- func (me *VpcService) DescribeVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (endPointServiceWhiteList *vpc.VpcEndPointServiceUser, errRet error)
- func (me *VpcService) DescribeVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (FlowLog *vpc.FlowLog, errRet error)
- func (me *VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowMonitorDetail []*vpc.GatewayFlowMonitorDetail, errRet error)
- func (me *VpcService) DescribeVpcGatewayFlowQosByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowQos []*vpc.GatewayQos, errRet error)
- func (me *VpcService) DescribeVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (ipv6Address *vpc.Address, errRet error)
- func (me *VpcService) DescribeVpcIpv6EniAddressById(ctx context.Context, vpcId string, ipv6Address string) (ipv6EniAddress *vpc.VpcIpv6Address, errRet error)
- func (me *VpcService) DescribeVpcLimitsByFilter(ctx context.Context, param map[string]interface{}) (limits []*vpc.VpcLimit, errRet error)
- func (me *VpcService) DescribeVpcLocalGatewayById(ctx context.Context, localGatewayId string) (localGateway *vpc.LocalGateway, errRet error)
- func (me *VpcService) DescribeVpcNetDetectById(ctx context.Context, netDetectId string) (netDetect *vpc.NetDetect, errRet error)
- func (me *VpcService) DescribeVpcNetDetectStateCheck(ctx context.Context, param map[string]interface{}) (netDetectStateCheck []*vpc.NetDetectIpState, errRet error)
- func (me *VpcService) DescribeVpcNetDetectStatesByFilter(ctx context.Context, param map[string]interface{}) (NetDetectStates []*vpc.NetDetectState, errRet error)
- func (me *VpcService) DescribeVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (networkAclQuintuples []*vpc.NetworkAclQuintupleEntry, errRet error)
- func (me *VpcService) DescribeVpcNetworkInterfaceLimit(ctx context.Context, param map[string]interface{}) (networkInterfaceLimit *vpc.DescribeNetworkInterfaceLimitResponseParams, ...)
- func (me *VpcService) DescribeVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (notifyRoute *vpc.Route, errRet error)
- func (me *VpcService) DescribeVpcPrivateIpAddresses(ctx context.Context, param map[string]interface{}) (PrivateIpAddresses []*vpc.VpcPrivateIpAddress, errRet error)
- func (me *VpcService) DescribeVpcProductQuota(ctx context.Context, param map[string]interface{}) (ProductQuota []*vpc.ProductQuota, errRet error)
- func (me *VpcService) DescribeVpcResourceDashboard(ctx context.Context, param map[string]interface{}) (ResourceDashboard []*vpc.ResourceDashboard, errRet error)
- func (me *VpcService) DescribeVpcRouteConflicts(ctx context.Context, param map[string]interface{}) (routeConflicts []*vpc.RouteConflict, errRet error)
- func (me *VpcService) DescribeVpcSecurityGroupLimits(ctx context.Context, param map[string]interface{}) (securityGroupLimit *vpc.SecurityGroupLimitSet, errRet error)
- func (me *VpcService) DescribeVpcSecurityGroupReferences(ctx context.Context, param map[string]interface{}) (securityGroupReferences []*vpc.ReferredSecurityGroup, errRet error)
- func (me *VpcService) DescribeVpcSgSnapshotFileContent(ctx context.Context, param map[string]interface{}) (sgSnapshotFileContent *vpc.DescribeSgSnapshotFileContentResponseParams, ...)
- func (me *VpcService) DescribeVpcSnapshotFilesByFilter(ctx context.Context, param map[string]interface{}) (SnapshotFiles []*vpc.SnapshotFileInfo, errRet error)
- func (me *VpcService) DescribeVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (snapshotPolices []*vpc.SnapshotPolicy, errRet error)
- func (me *VpcService) DescribeVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (snapshotPolicyAttachment []*vpc.SnapshotInstance, errRet error)
- func (me *VpcService) DescribeVpcSubnetResourceDashboardByFilter(ctx context.Context, param map[string]interface{}) (subnetResourceDashboard []*vpc.ResourceStatistics, errRet error)
- func (me *VpcService) DescribeVpcTaskResult(ctx context.Context, taskId *string) (err error)
- func (me *VpcService) DescribeVpcTemplateLimits(ctx context.Context) (templateLimit *vpc.TemplateLimit, errRet error)
- func (me *VpcService) DescribeVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (TrafficPackage *vpc.TrafficPackage, errRet error)
- func (me *VpcService) DescribeVpcUsedIpAddressByFilter(ctx context.Context, param map[string]interface{}) (UsedIpAddress []*vpc.IpAddressStates, errRet error)
- func (me *VpcService) DescribeVpcVpnGatewayCcnRoutesById(ctx context.Context, vpnGatewayId string, routeId string) (vpnGatewayCcnRoutes *vpc.VpngwCcnRoutes, errRet error)
- func (me *VpcService) DescribeVpcs(ctx context.Context, vpcId, name string, tags map[string]string, ...) (infos []VpcBasicInfo, errRet error)
- func (me *VpcService) DescribeVpnCustomerGatewayVendors(ctx context.Context) (vpnCustomerGatewayVendors []*vpc.CustomerGatewayVendor, errRet error)
- func (me *VpcService) DescribeVpnDefaultHealthCheckIp(ctx context.Context, param map[string]interface{}) (...)
- func (me *VpcService) DescribeVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.VpnGatewayRoute)
- func (me *VpcService) DescribeVpnGwByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.VpnGateway, errRet error)
- func (me *VpcService) DescribeVpnGwSslClientByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnClient, errRet error)
- func (me *VpcService) DescribeVpnGwSslServerByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnSever, errRet error)
- func (me *VpcService) DescribeVpnSslClientById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnClient, err error)
- func (me *VpcService) DescribeVpnSslServerById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnSever, err error)
- func (me *VpcService) DescribeVpngwById(ctx context.Context, vpngwId string) (has bool, gateway *vpc.VpnGateway, err error)
- func (me *VpcService) DetachAllLiteRulesFromSecurityGroup(ctx context.Context, sgId string) error
- func (me *VpcService) DetachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (errRet error)
- func (me *VpcService) DetachEniFromCvm(ctx context.Context, eniId, cvmId string) error
- func (me *VpcService) DisableRoutes(ctx context.Context, request *vpc.DisableRoutesRequest) (errRet error)
- func (me *VpcService) DisassociateNatGatewayAddress(ctx context.Context, request *vpc.DisassociateNatGatewayAddressRequest) (result *vpc.DisassociateNatGatewayAddressResponse, errRet error)
- func (me *VpcService) EnableRoutes(ctx context.Context, request *vpc.EnableRoutesRequest) (errRet error)
- func (me *VpcService) GetCcnRegionBandwidthLimit(ctx context.Context, ccnId, region, dstRegion, limitType string) (int64, error)
- func (me *VpcService) GetCcnRegionBandwidthLimits(ctx context.Context, ccnID string) (infos []vpc.CcnRegionBandwidthLimit, errRet error)
- func (me *VpcService) GetCcnRouteId(ctx context.Context, dcgId, cidr string, asPaths []string) (routeId string, has int, errRet error)
- func (me *VpcService) GetRouteId(ctx context.Context, ...) (entryId int64, errRet error)
- func (me *VpcService) IsRouteTableInVpc(ctx context.Context, routeTableId, vpcId string) (info VpcRouteTableBasicInfo, has int, errRet error)
- func (me *VpcService) ModifyAddressTemplate(ctx context.Context, templateId string, name string, addresses []interface{}) (errRet error)
- func (me *VpcService) ModifyAddressTemplateGroup(ctx context.Context, templateGroupId string, name string, ...) (errRet error)
- func (me *VpcService) ModifyAssistantCidr(ctx context.Context, request *vpc.ModifyAssistantCidrRequest) (errRet error)
- func (me *VpcService) ModifyCcnAttribute(ctx context.Context, ccnId, name, description string) (errRet error)
- func (me *VpcService) ModifyCcnRegionBandwidthLimitsType(ctx context.Context, ccnID, limitType string) error
- func (me *VpcService) ModifyDirectConnectGatewayAttribute(ctx context.Context, dcgId, name string) (errRet error)
- func (me *VpcService) ModifyEipBandwidthOut(ctx context.Context, eipId string, bandwidthOut int) error
- func (me *VpcService) ModifyEipInternetChargeType(ctx context.Context, eipId string, internetChargeType string, ...) error
- func (me *VpcService) ModifyEipName(ctx context.Context, eipId, eipName string) error
- func (me *VpcService) ModifyEniAttribute(ctx context.Context, id string, name, desc *string, sgs []string) error
- func (me *VpcService) ModifyEniPrimaryIpv4Desc(ctx context.Context, id, ip string, desc *string) error
- func (me *VpcService) ModifyNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
- func (me *VpcService) ModifyNetWorkAclRules(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
- func (me *VpcService) ModifyRouteTableAttribute(ctx context.Context, routeTableId string, name string) (errRet error)
- func (me *VpcService) ModifySecurityGroup(ctx context.Context, id string, newName, newDesc *string) error
- func (me *VpcService) ModifySecurityGroupPolicies(ctx context.Context, request *vpc.ModifySecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) ModifySecurityGroupPolicy(ctx context.Context, ruleId string, desc *string) errordeprecated
- func (me *VpcService) ModifyServiceTemplate(ctx context.Context, templateId string, name string, services []interface{}) (errRet error)
- func (me *VpcService) ModifyServiceTemplateGroup(ctx context.Context, serviceGroupId string, name string, ...) (errRet error)
- func (me *VpcService) ModifySubnetAttribute(ctx context.Context, subnetId, name string, isMulticast bool) (errRet error)
- func (me *VpcService) ModifyVpcAttribute(ctx context.Context, vpcId, name string, isMulticast bool, dnsServers []string) (errRet error)
- func (me *VpcService) ModifyVpcNetworkAcl(ctx context.Context, id *string, name *string) (errRet error)
- func (me *VpcService) ModifyVpnGatewayRoute(ctx context.Context, vpnGatewayId, routeId, status string) (errRet error, routes *vpc.VpnGatewayRoute)
- func (me *VpcService) RenewAddress(ctx context.Context, eipId string, period int, renewFlag int) error
- func (me *VpcService) ReplaceDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, cidr string, asPaths []string) (routeId string, errRet error)
- func (me *VpcService) ReplaceRouteTableAssociation(ctx context.Context, subnetId string, routeTableId string) (errRet error)
- func (me *VpcService) SetCcnRegionBandwidthLimits(ctx context.Context, ccnId, region, dstRegion string, bandwidth int64) (errRet error)
- func (me *VpcService) SwitchRouteEnabled(ctx context.Context, routeTableId string, routeId uint64, enabled bool) error
- func (me *VpcService) UnAssignIpv4FromEni(ctx context.Context, id string, ipv4s []string) error
- func (me *VpcService) UnattachEip(ctx context.Context, eipId string) error
- func (me *VpcService) VpcIpv6AddressStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
- type VpcSubnetBasicInfo
- type WafService
- func (me *WafService) DeleteWafAntiFakeById(ctx context.Context, id, domain string) (errRet error)
- func (me *WafService) DeleteWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (errRet error)
- func (me *WafService) DeleteWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (errRet error)
- func (me *WafService) DeleteWafCustomRuleById(ctx context.Context, domain, ruleId string) (errRet error)
- func (me *WafService) DeleteWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (errRet error)
- func (me *WafService) DeleteWafSaasDomainById(ctx context.Context, instanceID, domain string) (errRet error)
- func (me *WafService) DescribeDomainsById(ctx context.Context, instanceID, domain string) (domainInfo *waf.DomainInfo, errRet error)
- func (me *WafService) DescribeWafAntiFakeById(ctx context.Context, id, domain string) (antiFake *waf.CacheUrlItems, errRet error)
- func (me *WafService) DescribeWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (antiInfoLeak *waf.DescribeAntiLeakageItem, errRet error)
- func (me *WafService) DescribeWafAttackLogHistogramByFilter(ctx context.Context, param map[string]interface{}) (AttackLogHistogram *waf.GetAttackHistogramResponseParams, errRet error)
- func (me *WafService) DescribeWafAttackLogListByFilter(ctx context.Context, param map[string]interface{}) (AttackLogList []*waf.AttackLogInfo, errRet error)
- func (me *WafService) DescribeWafAttackOverviewByFilter(ctx context.Context, param map[string]interface{}) (AttackOverview *waf.DescribeAttackOverviewResponseParams, errRet error)
- func (me *WafService) DescribeWafAttackTotalCountByFilter(ctx context.Context, param map[string]interface{}) (AttackTotalCount *waf.GetAttackTotalCountResponseParams, errRet error)
- func (me *WafService) DescribeWafCiphersByFilter(ctx context.Context) (ciphers []*waf.TLSCiphers, errRet error)
- func (me *WafService) DescribeWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (clbDomainInfo *waf.ClbDomainsInfo, errRet error)
- func (me *WafService) DescribeWafCustomRuleById(ctx context.Context, domain, ruleId string) (CustomRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)
- func (me *WafService) DescribeWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (CustomWhiteRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)
- func (me *WafService) DescribeWafDomainsByFilter(ctx context.Context, instanceID, domain string) (domains []*waf.DomainInfo, errRet error)
- func (me *WafService) DescribeWafFindDomainsByFilter(ctx context.Context, param map[string]interface{}) (findDomains []*waf.FindAllDomainDetail, errRet error)
- func (me *WafService) DescribeWafInstanceById(ctx context.Context, instanceId string) (instance *waf.InstanceInfo, errRet error)
- func (me *WafService) DescribeWafInstanceQpsLimitByFilter(ctx context.Context, param map[string]interface{}) (instanceQpsLimit *waf.QpsData, errRet error)
- func (me *WafService) DescribeWafPeakPointsByFilter(ctx context.Context, param map[string]interface{}) (PeakPoints []*waf.PeakPointsItem, errRet error)
- func (me *WafService) DescribeWafPortsByFilter(ctx context.Context, param map[string]interface{}) (ports *waf.DescribePortsResponseParams, errRet error)
- func (me *WafService) DescribeWafSaasDomainById(ctx context.Context, instanceID, domain, domainId string) (saasDomain *waf.DomainsPartInfo, errRet error)
- func (me *WafService) DescribeWafTlsVersionsByFilter(ctx context.Context) (tlsVersions []*waf.TLSVersion, errRet error)
- func (me *WafService) DescribeWafUserDomainsByFilter(ctx context.Context) (userDomains []*waf.UserDomainInfo, errRet error)
- func (me *WafService) DescribeWafWafInfosByFilter(ctx context.Context, param map[string]interface{}) (wafInfos []*waf.ClbHostResult, errRet error)
- type WedataService
- func (me *WedataService) DeleteWedataBaselineById(ctx context.Context, projectId, baselineId string) (errRet error)
- func (me *WedataService) DeleteWedataDatasourceById(ctx context.Context, datasourceId string) (errRet error)
- func (me *WedataService) DeleteWedataDqRuleById(ctx context.Context, projectId, ruleId string) (errRet error)
- func (me *WedataService) DeleteWedataDqRuleTemplateById(ctx context.Context, projectId, templateId string) (errRet error)
- func (me *WedataService) DeleteWedataFunctionById(ctx context.Context, functionId, projectId, clusterIdentifier string) (errRet error)
- func (me *WedataService) DeleteWedataIntegrationOfflineTaskById(ctx context.Context, projectId, taskId string) (errRet error)
- func (me *WedataService) DeleteWedataIntegrationRealtimeTaskById(ctx context.Context, projectId, taskId string) (errRet error)
- func (me *WedataService) DeleteWedataIntegrationTaskNodeById(ctx context.Context, projectId, nodeId string) (errRet error)
- func (me *WedataService) DeleteWedataResourceById(ctx context.Context, projectId, resourceId string) (errRet error)
- func (me *WedataService) DeleteWedataRuleTemplateById(ctx context.Context, projectId, ruleTemplateId string) (errRet error)
- func (me *WedataService) DeleteWedataScriptById(ctx context.Context, projectId, resourceId string) (errRet error)
- func (me *WedataService) DescribeWedataBaselineById(ctx context.Context, projectId, baselineId string) (baseline *wedata.BaselineDetailResponse, errRet error)
- func (me *WedataService) DescribeWedataDataSourceInfoListByFilter(ctx context.Context, param map[string]interface{}) (dataSourceInfoList []*wedata.DatasourceBaseInfo, errRet error)
- func (me *WedataService) DescribeWedataDataSourceListByFilter(ctx context.Context, param map[string]interface{}) (dataSourceList []*wedata.DataSourceInfo, errRet error)
- func (me *WedataService) DescribeWedataDataSourceWithoutInfoByFilter(ctx context.Context, param map[string]interface{}) (dataSourceWithoutInfo []*wedata.DataSourceInfo, errRet error)
- func (me *WedataService) DescribeWedataDatasourceById(ctx context.Context, datasourceId string) (datasource *wedata.DataSourceInfo, errRet error)
- func (me *WedataService) DescribeWedataDqRuleById(ctx context.Context, projectId, ruleId string) (dqRule *wedata.Rule, errRet error)
- func (me *WedataService) DescribeWedataDqRuleTemplateById(ctx context.Context, projectId, templateId string) (dqRuleTemplate *wedata.RuleTemplate, errRet error)
- func (me *WedataService) DescribeWedataFunctionById(ctx context.Context, functionId, funcType, funcName, projectId string) (function *wedata.OrganizationalFunction, errRet error)
- func (me *WedataService) DescribeWedataIntegrationOfflineTaskById(ctx context.Context, projectId, taskId string) (integrationOfflineTask *wedata.DescribeIntegrationTaskResponseParams, ...)
- func (me *WedataService) DescribeWedataIntegrationRealtimeTaskById(ctx context.Context, projectId, taskId string) (integrationRealtimeTask *wedata.DescribeIntegrationTaskResponseParams, ...)
- func (me *WedataService) DescribeWedataIntegrationTaskNodeById(ctx context.Context, projectId, nodeId string) (integrationTaskNode *wedata.DescribeIntegrationNodeResponseParams, ...)
- func (me *WedataService) DescribeWedataResourceById(ctx context.Context, projectId, filePath, resourceId string) (resourceInfo *wedata.ResourcePathTree, errRet error)
- func (me *WedataService) DescribeWedataRuleTemplateById(ctx context.Context, projectId string, ruleTemplateId string) (ruleTemplate *wedata.RuleTemplate, errRet error)
- func (me *WedataService) DescribeWedataRuleTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ruleTemplates []*wedata.RuleTemplate, errRet error)
- func (me *WedataService) DescribeWedataScriptById(ctx context.Context, projectId, filePath string) (fileInfo *wedata.UserFileInfo, errRet error)
Constants ¶
const ( PROVIDER_READ_RETRY_TIMEOUT = "TENCENTCLOUD_READ_RETRY_TIMEOUT" PROVIDER_WRITE_RETRY_TIMEOUT = "TENCENTCLOUD_WRITE_RETRY_TIMEOUT" PROVIDER_WAIT_READ_TIMEOUT = "TENCENTCLOUD_WAIT_READ_TIMEOUT" SWEEPER_NEED_PROTECT = "SWEEPER_NEED_PROTECT" TENCENTCLOUD_COMMON_TIME_LAYOUT = "2006-01-02 15:04:05" )
const ( SERVICE_ERR_CODE = "ResourceNotFound.InvalidService" API_ERR_CODE = "ResourceNotFound.InvalidApi" OSS_EXCEPTION = "InternalError.OssException" )
const ( QUOTA = -1 QUOTA_MAX = 5000 )
const ( STRATEGY = -1 STRATEGY_MAX = 5000 )
const ( API_GATEWAY_KEY_ENABLED = "on" API_GATEWAY_KEY_DISABLED = "off" )
const ( API_GATEWAY_UPSTREAM_SCHEME_HTTP = "HTTP" API_GATEWAY_UPSTREAM_SCHEME_HTTPS = "HTTPS" API_GATEWAY_UPSTREAM_SCHEME_gRPC = "gRPC" API_GATEWAY_UPSTREAM_SCHEME_gPRCs = "gRPCs" )
const ( API_GATEWAY_UPSTREAM_TYPE_IP = "IP_PORT" API_GATEWAY_UPSTREAM_TYPE_K8S = "K8S" )
const ( API_GATEWAY_KEY_TYPE_AUTO = "auto" API_GATEWAY_KEY_TYPE_MANUAL = "manual" )
const ( API_GATEWAY_TYPE_SERVICE = "SERVICE" API_GATEWAY_TYPE_API = "API" )
const ( API_GATEWAY_NET_TYPE_INNER = "INNER" API_GATEWAY_NET_TYPE_OUTER = "OUTER" )
const ( API_GATEWAY_NET_IP_VERSION4 = "IPv4" API_GATEWAY_NET_IP_VERSION6 = "IPv6" )
const ( API_GATEWAY_SERVICE_PROTOCOL_HTTP = "http" API_GATEWAY_SERVICE_PROTOCOL_HTTPS = "https" API_GATEWAY_SERVICE_PROTOCOL_ALL = "http&https" )
const ( API_GATEWAY_SERVICE_ENV_TEST = "test" API_GATEWAY_SERVICE_ENV_RELEASE = "release" API_GATEWAY_SERVICE_ENV_PREPUB = "prepub" )
const ( API_GATEWAY_SERVICE_TYPE_WEBSOCKET = "WEBSOCKET" API_GATEWAY_SERVICE_TYPE_HTTP = "HTTP" API_GATEWAY_SERVICE_TYPE_SCF = "SCF" API_GATEWAY_SERVICE_TYPE_TSF = "TSF" API_GATEWAY_SERVICE_TYPE_MOCK = "MOCK" API_GATEWAY_SERVICE_TYPE_TARGET = "TARGET" API_GATEWAY_SERVICE_TYPE_COS = "COS" )
const ( API_GATEWAY_AUTH_TYPE_SECRET = "SECRET" API_GATEWAY_AUTH_TYPE_NONE = "NONE" API_GATEWAY_AUTH_TYPE_OAUTH = "OAUTH" API_GATEWAY_AUTH_TYPE_APP = "APP" )
const ( API_GATEWAY_API_TYPE_NORMAL = "NORMAL" API_GATEWAY_API_TYPE_TSF = "TSF" )
const ( API_GATEWAY_API_PROTOCOL_HTTP = "HTTP" API_GATEWAY_API_PROTOCOL_WEBSOCKET = "WEBSOCKET" )
const ( CERTIFI_CATE_ID_EXPIRED = "FailedOperation.CertificateIdExpired" CERTIFICATE_ID_UNDER_VERIFY = "FailedOperation.CertificateIdUnderVerify" DOMAIN_NEED_BEIAN = "FailedOperation.DomainNeedBeian" EXCEEDED_DEFINE_MAPPING_LIMIT = "LimitExceeded.ExceededDefineMappingLimit" DOMAIN_RESOLVE_ERROR = "FailedOperation.DomainResolveError" DOMAIN_BIND_SERVICE = "FailedOperation.DomainAlreadyBindService" )
const ( API_GATEWAY_API_DOC_STATUS_PROCESSING = "PROCESSING" API_GATEWAY_API_DOC_STATUS_COMPLETED = "COMPLETED" API_GATEWAY_API_DOC_STATUS_FAIL = "FAIL" )
const ( IMPORT_OPEN_API_ENCODE_TYPE_YAML = "YAML" IMPORT_OPEN_API_ENCODE_TYPE_JSON = "JSON" )
const ( SYSTEM_DISK_TYPE_LOCAL_BASIC = "LOCAL_BASIC" SYSTEM_DISK_TYPE_LOCAL_SSD = "LOCAL_SSD" SYSTEM_DISK_TYPE_CLOUD_BASIC = "CLOUD_BASIC" SYSTEM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM" SYSTEM_DISK_TYPE_CLOUD_SSD = "CLOUD_SSD" SYSTEM_DISK_TYPE_CLOUD_HSSD = "CLOUD_HSSD" SYSTEM_DISK_TYPE_CLOUD_BSSD = "CLOUD_BSSD" SYSTEM_DISK_TYPE_CLOUD_TSSD = "CLOUD_TSSD" )
const ( INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID = "BANDWIDTH_PREPAID" INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID_BY_HOUR = "TRAFFIC_POSTPAID_BY_HOUR" INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID_BY_HOUR = "BANDWIDTH_POSTPAID_BY_HOUR" INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE = "BANDWIDTH_PACKAGE" )
const ( INSTANCE_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" INSTANCE_CHARGE_TYPE_SPOTPAID = "SPOTPAID" INSTANCE_CHARGE_TYPE_PREPAID = "PREPAID" )
const ( SCALING_GROUP_TERMINATION_POLICY_NEWEST_INSTANCE = "NEWEST_INSTANCE" SCALING_GROUP_TERMINATION_POLICY_OLDEST_INSTANCE = "OLDEST_INSTANCE" )
const ( SCALING_GROUP_RETRY_POLICY_IMMEDIATE_RETRY = "IMMEDIATE_RETRY" SCALING_GROUP_RETRY_POLICY_NO_RETRY = "NO_RETRY" SCALING_GROUP_RETRY_POLICY_INCREMENTAL_INTERVALS = "INCREMENTAL_INTERVALS" )
const ( SCALING_DISK_TYPE_POLICY_ORIGINAL = "ORIGINAL" SCALING_DISK_TYPE_POLICY_AUTOMATIC = "AUTOMATIC" )
const ( INSTANCE_NAME_ORIGINAL = "ORIGINAL" INSTANCE_NAME_UNIQUE = "UNIQUE" )
const ( SCALING_GROUP_ADJUSTMENT_TYPE_CHANGE_IN_CAPACITY = "CHANGE_IN_CAPACITY" SCALING_GROUP_ADJUSTMENT_TYPE_EXACT_CAPACITY = "EXACT_CAPACITY" SCALING_GROUP_ADJUSTMENT_TYPE_PERCENT_CHANGE_IN_CAPACITY = "PERCENT_CHANGE_IN_CAPACITY" )
const ( SCALING_GROUP_COMPARISON_OPERATOR_GREATER = "GREATER_THAN" SCALING_GROUP_COMPARISON_OPERATOR_GREATER_EQUAL = "GREATER_THAN_OR_EQUAL_TO" SCALING_GROUP_COMPARISON_OPERATOR_LESS = "LESS_THAN" SCALING_GROUP_COMPARISON_OPERATOR_LESS_EQUAL = "LESS_THAN_OR_EQUAL_TO" SCALING_GROUP_COMPARISON_OPERATOR_EQUAL = "EQUAL_TO" SCALING_GROUP_COMPARISON_OPERATOR_NOT_EQUAL = "NOT_EQUAL_TO" )
const ( SCALING_GROUP_METRIC_NAME_CPU_UTILIZATION = "CPU_UTILIZATION" SCALING_GROUP_METRIC_NAME_MEM_UTILIZATION = "MEM_UTILIZATION" SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_OUT = "LAN_TRAFFIC_OUT" SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_IN = "LAN_TRAFFIC_IN" SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_OUT = "WAN_TRAFFIC_OUT" SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_IN = "WAN_TRAFFIC_IN" )
const ( SCALING_GROUP_STATISTIC_AVERAGE = "AVERAGE" SCALING_GROUP_STATISTIC_MAXIMUM = "MAXIMUM" SCALING_GROUP_STATISTIC_MINIMUM = "MINIMUM" )
const ( SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_SUCCESS = "SCALE_OUT_SUCCESSFUL" SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_FAILED = "SCALE_OUT_FAILED" SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_SUCCESS = "SCALE_IN_SUCCESSFUL" SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_FAILED = "SCALE_IN_FAILED" SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_SUCCESS = "REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL" SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_FAILED = "REPLACE_UNHEALTHY_INSTANCE_FAILED" )
const ( SCALING_GROUP_ACTIVITY_STATUS_INIT = "INIT" SCALING_GROUP_ACTIVITY_STATUS_RUNNING = "RUNNING" SCALING_GROUP_ACTIVITY_STATUS_SUCCESSFUL = "SUCCESSFUL" SCALING_GROUP_ACTIVITY_STATUS_PARTIALLY_SUCCESSFUL = "PARTIALLY_SUCCESSFUL" SCALING_GROUP_ACTIVITY_STATUS_FAILED = "FAILED" SCALING_GROUP_ACTIVITY_STATUS_CANCELLED = "CANCELLED" )
const ( AsScheduleNotFound = "ResourceNotFound.ScheduledActionNotFound" AsScalingGroupInProgress = "ResourceInUse.ActivityInProgress" AsScalingGroupInstanceInGroup = "ResourceInUse.InstanceInGroup" AsScalingGroupNotFound = "ResourceNotFound.AutoScalingGroupNotFound" SCALING_GROUP_IN_ACTIVITY_STATUS = "IN_ACTIVITY" SCALING_GROUP_NOT_IN_ACTIVITY_STATUS = "NOT_IN_ACTIVITY" )
const ( MultiZoneSubnetPolicyPriority = "PRIORITY" MultiZoneSubnetPolicyEquality = "EQUALITY" )
const ( SCALING_MODE_CLASSIC = "CLASSIC_SCALING" SCALING_MODE_WAKE_UP_STOPPED = "WAKE_UP_STOPPED_SCALING" )
const ( CAM_POLICY_CREATE_STRATEGY_CUSTOM = "User" CAM_POLICY_CREATE_STRATEGY_PRESET = "QCS" CAM_POLICY_CREATE_STRATEGY_NULL = "" )
const ( CBS_STORAGE_TYPE_CLOUD_BASIC = "CLOUD_BASIC" CBS_STORAGE_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM" CBS_STORAGE_TYPE_CLOUD_SSD = "CLOUD_SSD" CBS_STORAGE_USAGE_SYSTEM_DISK = "SYSTEM_DISK" CBS_STORAGE_USAGE_DATA_DISK = "DATA_DISK" CBS_STORAGE_STATUS_UNATTACHED = "UNATTACHED" CBS_STORAGE_STATUS_ATTACHING = "ATTACHING" CBS_STORAGE_STATUS_ATTACHED = "ATTACHED" CBS_STORAGE_STATUS_EXPANDING = "EXPANDING" CBS_STORAGE_STATUS_ROLLBACKING = "ROLLBACKING" CBS_STORAGE_STATUS_TORECYCLE = "TORECYCLE" CBS_SNAPSHOT_STATUS_NORMAL = "NORMAL" CBS_SNAPSHOT_STATUS_CREATING = "CREATING" )
const ( CBS_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW" CBS_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW = "NOTIFY_AND_MANUAL_RENEW" CBS_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW = "DISABLE_NOTIFY_AND_MANUAL_RENEW" CBS_CHARGE_TYPE_PREPAID = "PREPAID" CBS_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" )
const ( SNAPSHOT_SHARE_PERMISSION_SHARE = "SHARE" SNAPSHOT_SHARE_PERMISSION_CANCEL = "CANCEL" )
const ( CDH_CHARGE_TYPE_PREPAID = "PREPAID" CDH_PREPAID_RENEW_FLAG_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW" CDH_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW = "NOTIFY_AND_MANUAL_RENEW" CDH_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW = "DISABLE_NOTIFY_AND_MANUAL_RENEW" CDH_HOST_STATE_PENDING = "PENDING" CDH_HOST_STATE_LAUNCH_FAILURE = "LAUNCH_FAILURE" CDH_HOST_RUNNING = "RUNNING" CDH_HOST_EXPIRED = "EXPIRED" CDH_ZONE_SOLD_OUT_FOR_SPECIFIED_INSTANCE_ERROR = "ResourceInsufficient.ZoneSoldOutForSpecifiedInstance" )
const ( CDN_SERVICE_TYPE_WEB = "web" CDN_SERVICE_TYPE_DOWNLOAD = "download" CDN_SERVICE_TYPE_MEDIA = "media" CDN_SERVICE_TYPE_HYBIRD = "hybrid" CDN_SERVICE_TYPE_DYNAMIC = "dynamic" CDN_ORIGIN_TYPE_DOMAIN = "domain" CDN_ORIGIN_TYPE_COS = "cos" CDN_ORIGIN_TYPE_IP = "ip" CDN_ORIGIN_TYPE_IPV6 = "ipv6" CDN_ORIGIN_TYPE_IP_IPV6 = "ip_ipv6" CDN_ORIGIN_PULL_PROTOCOL_HTTP = "http" CDN_ORIGIN_PULL_PROTOCOL_HTTPS = "https" CDN_ORIGIN_PULL_PROTOCOL_FOLLOW = "follow" CDN_AREA_MAINLAND = "mainland" CDN_AREA_OVERSEAS = "overseas" CDN_AREA_GLOBAL = "global" CDN_SWITCH_ON = "on" CDN_SWITCH_OFF = "off" CDN_DOMAIN_STATUS_ONLINE = "online" CDN_DOMAIN_STATUS_OFFLINE = "offline" CDN_DOMAIN_STATUS_PROCESSING = "processing" CDN_SERVICE_NAME = "cdn" CDN_RESOURCE_NAME_DOMAIN = "domain" CDN_HOST_NOT_FOUND = "ResourceNotFound.CdnHostNotExists" CDN_HOST_EXISTS = "ResourceInUse.CdnHostExists" CDN_DOMAIN_CONFIG_ERROR = "FailedOperation.CdnConfigError" CDN_RULE_TYPE_ALL = "all" CDN_RULE_TYPE_FILE = "file" CDN_RULE_TYPE_DIRECTORY = "directory" CDN_RULE_TYPE_PATH = "path" CDN_RULE_TYPE_INDEX = "index" CDN_RULE_TYPE_DEFAULT = "default" CDN_RULE_PATH = "no max-age" )
const ( CDWCH_PAY_MODE_HOUR = "hour" CDWCH_PAY_MODE_PREPAY = "prepay" )
const ( CDWCH_CHARGE_TYPE_PREPAID = "PREPAID" CDWCH_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR" )
const ( NODE_TYPE_CLICKHOUSE = "DATA" NODE_TYPE_ZOOKEEPER = "COMMON" )
const ( OPERATION_TYPE_CREATE = "create" OPERATION_TYPE_UPDATE = "update" )
const ( SCHEDULE_TYPE_DATA = "data" SCHEDULE_TYPE_META = "meta" )
const ( ACTION_ALTER_CK_USER_ADD_SYSTEM_USER = "AddSystemUser" ACTION_ALTER_CK_USER_UPDATE_SYSTEM_USER = "UpdateSystemUser" )
const ( DESCRIBE_CK_SQL_APIS_GET_SYSTEM_USERS = "GetSystemUsers" DESCRIBE_CK_SQL_APIS_REVOKE_CLUSTER_USER = "RevokeClusterUser" DESCRIBE_CK_SQL_APIS_DELETE_SYSTEM_USER = "DeleteSystemUser" )
const ( CFS_PROTOCOL_NFS = "NFS" CFS_PROTOCOL_CIFS = "CIFS" CFS_PROTOCOL_TURBO = "TURBO" CFS_STORAGETYPE_SD = "SD" CFS_STORAGETYPE_HP = "HP" CFS_STORAGETYPE_TB = "TB" CFS_STORAGETYPE_TP = "TP" CFS_NET_VPC = "VPC" CFS_NET_CCN = "CCN" CFS_FILE_SYSTEM_STATUS_CREATING = "creating" CFS_FILE_SYSTEM_STATUS_SUCCESS = "available" CFS_FILE_SYSTEM_STATUS_FAILED = "create_failed" CFS_RW_PERMISSION_RO = "RO" CFS_RW_PERMISSION_RW = "RW" CFS_USER_PERMISSION_ALL_SQUASH = "all_squash" CFS_USER_PERMISSION_NO_ALL_SQUASH = "no_all_squash" CFS_USER_PERMISSION_ROOT_SQUASH = "root_squash" CFS_USER_PERMISSION_NO_ROOT_SQUASH = "no_root_squash" )
const ( ADDRESS_TEMPLATE_TYPE_1 = 1 ADDRESS_TEMPLATE_TYPE_5 = 5 )
const ( RULE_TYPE_1 = 1 RULE_TYPE_2 = 2 )
const ( DIRECTION_0 = "0" DIRECTION_1 = "1" DIRECTION_3 = "3" )
const ( MODE_0 = 0 MODE_1 = 1 )
const ( CROSS_A_ZONE_0 = 0 CROSS_A_ZONE_1 = 1 )
const ( SWITCH_MODE_1 = 1 SWITCH_MODE_2 = 2 SWITCH_MODE_4 = 4 )
const ( FW_TYPE_NAT = "nat" FW_TYPE_EW = "ew" )
const ( POLICY_ENABLE_TRUE = "true" POLICY_ENABLE_FALSE = "false" )
const ( POLICY_SCOPE_SERIAL = "serial" POLICY_SCOPE_SIDE = "side" POLICY_SCOPE_ALL = "all" )
const ( POLICY_RULE_ACTION_ACCEPT = "accept" POLICY_RULE_ACTION_DROP = "drop" POLICY_RULE_ACTION_LOG = "log" )
const ( CKAFKA_DESCRIBE_LIMIT = 50 CKAFKA_ACL_PRINCIPAL_STR = "User:" )
const ( CKAFKA_CHARGE_TYPE_POSTPAID = COMMON_PAYTYPE_POSTPAID CKAFKA_CHARGE_TYPE_PREPAID = COMMON_PAYTYPE_PREPAID )
const ( CLB_NETWORK_TYPE_OPEN = "OPEN" CLB_NETWORK_TYPE_INTERNAL = "INTERNAL" )
const ( CLB_LISTENER_PROTOCOL_TCP = "TCP" CLB_LISTENER_PROTOCOL_UDP = "UDP" CLB_LISTENER_PROTOCOL_HTTP = "HTTP" CLB_LISTENER_PROTOCOL_HTTPS = "HTTPS" CLB_LISTENER_PROTOCOL_TCPSSL = "TCP_SSL" CLB_LISTENER_PROTOCOL_QUIC = "QUIC" )
const ( CLB_HTTP_METHOD_GET = "GET" CLB_HTTP_METHOD_HEAD = "HEAD" )
const ( CLB_LISTENER_SCHEDULER_WRR = "WRR" CLB_LISTENER_SCHEDULER_LEASTCONN = "LEAST_CONN" CLB_LISTENER_SCHEDULER_IP_HASH = "IP_HASH" )
const ( HTTP_VERSION_ONE_ZERO = "HTTP/1.0" HTTP_VERSION_ONE_ONE = "HTTP/1.1" )
const ( HEALTH_CHECK_TYPE_CUSTOM = "CUSTOM" HEALTH_CHECK_TYPE_TCP = "TCP" HEALTH_CHECK_TYPE_HTTP = "HTTP" )
const ( CONTEX_TYPE_HEX = "HEX" CONTEX_TYPE_TEXT = "TEXT" )
const ( CERT_SSL_MODE_UNI = "UNIDIRECTIONAL" CERT_SSL_MODE_MUT = "MUTUAL" )
const ( CLB_TASK_SUCCESS = 0 CLB_TASK_FAIL = 1 CLB_TASK_EXPANDING = 2 )
const ( HEALTH_APPLY_TYPE_LISTENER = "listener" HEALTH_APPLY_TYPE_RULE = "rule" )
const ( AUTO_TARGET_PORT = 443 AUTO_SOURCE_PORT = 80 )
const ( CLB_TARGET_TYPE_NODE = "NODE" CLB_TARGET_TYPE_TARGETGROUP = "TARGETGROUP" )
const ( CLB_BACKEND_TYPE_CVM = "CVM" CLB_BACKEND_TYPE_ENI = "ENI" )
const ( COS_ACL_GRANTEE_TYPE_USER = "CanonicalUser" COS_ACL_GRANTEE_TYPE_ANONYMOUS = "Group" )
const ( CSS_DOMAIN_TYPE_PUSH = 0 CSS_DOMAIN_TYPE_PLAY_BACK = 1 CSS_DOMAIN_STATUS_DEACTIVATED = 0 CSS_DOMAIN_STATUS_ACTIVATED = 1 CSS_PLAY_TYPE_MAINLAND = 0 CSS_PLAY_TYPE_GLOBAL = 1 CSS_PLAY_TYPE_OUTSIDE_MAINLAND = 2 CSS_DELAY_LIVE_LVB = 0 CSS_DELAY_LIVE_LCB = 1 CSS_OWERSHIP_VIRIFIED = 0 CSS_VERIFY_TYPE_DB_CHECK = "dbCheck" CSS_VERIFY_TYPE_DNS_CHECK = "dnsCheck" CSS_VERIFY_TYPE_FILE_CHECK = "fileCheck" )
const ( CVM_CHARGE_TYPE_PREPAID = "PREPAID" CVM_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" CVM_CHARGE_TYPE_SPOTPAID = "SPOTPAID" CVM_CHARGE_TYPE_CDHPAID = "CDHPAID" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID = "BANDWIDTH_PREPAID" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID = "BANDWIDTH_POSTPAID_BY_HOUR" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE = "BANDWIDTH_PACKAGE" CVM_INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID = "TRAFFIC_POSTPAID_BY_HOUR" CVM_STATUS_RUNNING = "RUNNING" CVM_STATUS_STOPPED = "STOPPED" CVM_STATUS_SHUTDOWN = "SHUTDOWN" CVM_STATUS_TERMINATING = "TERMINATING" CVM_STATUS_LAUNCH_FAILED = "LAUNCH_FAILED" CVM_LATEST_OPERATION_STATE_OPERATING = "OPERATING" CVM_LATEST_OPERATION_STATE_SUCCESS = "SUCCESS" CVM_LATEST_OPERATION_STATE_FAILED = "FAILED" CVM_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW" CVM_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW = "NOTIFY_AND_MANUAL_RENEW" CVM_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW = "DISABLE_NOTIFY_AND_MANUAL_RENEW" CVM_DISK_TYPE_LOCAL_BASIC = "LOCAL_BASIC" CVM_DISK_TYPE_LOCAL_SSD = "LOCAL_SSD" CVM_DISK_TYPE_CLOUD_BASIC = "CLOUD_BASIC" CVM_DISK_TYPE_CLOUD_SSD = "CLOUD_SSD" CVM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM" CVM_DISK_TYPE_CLOUD_BSSD = "CLOUD_BSSD" CVM_DISK_TYPE_CLOUD_HSSD = "CLOUD_HSSD" CVM_DISK_TYPE_CLOUD_TSSD = "CLOUD_TSSD" CVM_PLACEMENT_GROUP_TYPE_HOST = "HOST" CVM_PLACEMENT_GROUP_TYPE_SW = "SW" CVM_PLACEMENT_GROUP_TYPE_RACK = "RACK" ZONE_STATE_AVAILABLE = "AVAILABLE" ZONE_STATE_UNAVAILABLE = "UNAVAILABLE" CVM_NOT_FOUND_ERROR = "InvalidInstanceId.NotFound" KEY_PAIR_NOT_SUPPORT_ERROR = "InvalidParameterValue.KeyPairNotSupported" KYE_PAIR_INVALID_ERROR = "InvalidKeyPair" CVM_SPOT_INSTANCE_TYPE_ONE_TIME = "ONE-TIME" CVM_MARKET_TYPE_SPOT = "spot" CVM_IMAGE_LOGIN = "TRUE" CVM_IMAGE_LOGIN_NOT = "FALSE" // @Deprecated use cvm.INVALIDPARAMETERVALUE_ZONENOTSUPPORTED CVM_ZONE_NOT_SUPPORT_ERROR = "InvalidParameterValue.ZoneNotSupported" // @Deprecated use cvm.RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT instead CVM_CLOUD_DISK_SOLD_OUT_ERROR = "ResourceInsufficient.CloudDiskSoldOut" CVM_STOP_MODE_KEEP_CHARGING = "KEEP_CHARGING" CVM_STOP_MODE_STOP_CHARGING = "STOP_CHARGING" CVM_SELL_STATUS = "SELL" CVM_SOLD_OUT_STATUS = "SOLD_OUT" MIDLINE = "-" UNDERLINE = "_" IMAGE_SHARE_PERMISSION_SHARE = "SHARE" IMAGE_SHARE_PERMISSION_CANCEL = "CANCEL" )
const ( LICENSE_TYPE_0 = 0 LICENSE_TYPE_1 = 1 LICENSE_TYPE_2 = 2 )
const ( REGION_ID_1 = 1 REGION_ID_9 = 9 )
const ( CYNOSDB_CHARGE_TYPE_POSTPAID = COMMON_PAYTYPE_POSTPAID CYNOSDB_CHARGE_TYPE_PREPAID = COMMON_PAYTYPE_PREPAID CYNOSDB_SERVERLESS = "SERVERLESS" CYNOSDB_STATUS_RUNNING = "running" CYNOSDB_STATUS_OFFLINE = "offlined" CYNOSDB_STATUS_ISOLATED = "isolated" CYNOSDB_STATUS_DELETED = "deleted" CYNOSDB_UPGRADE_IMMEDIATE = "upgradeImmediate" CYNOSDB_INSTANCE_RW_TYPE = "rw" CYNOSDB_INSTANCE_RO_TYPE = "ro" CYNOSDB_DEFAULT_OFFSET = 0 CYNOSDB_MAX_LIMIT = 100 CYNOSDB_INSGRP_HA = "ha" CYNOSDB_INSGRP_RO = "ro" // 0-成功,1-失败,2-处理中 CYNOSDB_FLOW_STATUS_SUCCESSFUL = "0" CYNOSDB_FLOW_STATUS_FAILED = "1" CYNOSDB_FLOW_STATUS_PROCESSING = "2" )
const ( STATUS_YES = "yes" STATUS_NO = "no" RW_TYPE = "READWRITE" RO_TYPE = "READONLY" )
const ( DAYU_RESOURCE_TYPE_BGPIP = "bgpip" DAYU_RESOURCE_TYPE_BGP = "bgp" DAYU_RESOURCE_TYPE_BGPMUL = "bgp-multip" DAYU_RESOURCE_TYPE_NET = "net" )
const ( DAYU_APP_PLATFORM_PC = "PC" DAYU_APP_PLATFORM_MOBILE = "MOBILE" DAYU_APP_PLATFORM_TV = "TV" DAYU_APP_PLATFORM_SERVER = "SERVER" )
const ( DAYU_PROTOCOL_TCP = "tcp" DAYU_PROTOCOL_UDP = "udp" DAYU_PROTOCOL_ICMP = "icmp" DAYU_PROTOCOL_ALL = "all" )
const ( DAYU_MATCH_TYPE_SUNDAY = "sunday" DAYU_MATCH_TYPE_PCRE = "pcre" )
const ( DAYU_MATCH_SWITCH_ON_L5 = "begin_l5" DAYU_MATCH_SWITCH_OFF = "no_match" )
const ( DAYU_IP_TYPE_BLACK = "black" DAYU_IP_TYPE_WHITE = "white" )
const ( DAYU_PACKET_ACTION_DROP = "drop" DAYU_PACKET_ACTION_TRANSMIT = "transmit" DAYU_PACKET_PROTOCOL_DROP_BLACK = "drop_black" DAYU_PACKET_PROTOCOL_DROP_RST = "drop_rst" DAYU_PACKET_PROTOCOL_DROP_BLACK_RST = "drop_black_rst" )
const ( DAYU_PORT_ACTION_DROP = "drop" DAYU_PORT_ACTION_TRANSMIT = "transmit" )
const ( DAYU_APP_TYPE_WEB = "WEB" DAYU_APP_TYPE_GAME = "GAME" DAYU_APP_TYPE_APP = "APP" DAYU_APP_TYPE_OTHER = "OTHER" )
const ( DAYU_BOOL_FLAG_TRUE = "yes" DAYU_BOOL_FLAG_FALSE = "no" )
const ( DAYU_L7_RULE_PROTOCOL_HTTP = "http" DAYU_L7_RULE_PROTOCOL_HTTPS = "https" )
const ( DAYU_RULE_METHOD_GET = "GET" DAYU_RULE_METHOD_HEAD = "HEAD" )
const ( DAYU_L7_RULE_SOURCE_TYPE_HOST = 1 DAYU_L7_RULE_SOURCE_TYPE_IP = 2 )
const ( DAYU_L7_HTTPS_SWITCH_ON_DEFAULT = 20000 DAYU_L7_HTTPS_SWITCH_OFF = 0 )
const ( DAYU_CC_POLICY_ACTION_DROP = "drop" DAYU_CC_POLICY_ACTION_ALG = "alg" )
const ( DAYU_CC_POLICY_SMODE_MATCH = "matching" DAYU_CC_POLICY_SMODE_SPEED_LIMIT = "speedlimit" )
const ( DAYU_CC_POLICY_CHECK_TYPE_HOST = "host" DAYU_CC_POLICY_CHECK_TYPE_CGI = "cgi" DAYU_CC_POLICY_CHECK_TYPE_UA = "ua" DAYU_CC_POLICY_CHECK_TYPE_REFERER = "referer" )
const ( DAYU_CC_POLICY_CHECK_OP_INCLUDE = "include" DAYU_CC_POLICY_CHECK_OP_NOT_INCLUDE = "not_include" DAYU_CC_POLICY_CHECK_OP_EQUAL = "equal" )
const ( DAYU_L4_RULE_PROTOCOL_TCP = "TCP" DAYU_L4_RULE_PROTOCOL_UDP = "UDP" )
const ( DAYU_L7_STATUS_SET_DONE = 0 DAYU_L7_STATUS_SETTING = 1 DAYU_L7_STATUS_SET_FAIL = 2 DAYU_L7_STATUS_DEL_DONE = 3 DAYU_L7_STATUS_DEL_FAIL = 5 DAYU_L7_STATUS_SET_WAIT = 6 DAYU_L7_STATUS_DEL_WAIT = 7 DAYU_L7_STATUS_SSL_WAIT = 8 )
const ( DAYU_L7_HEALTH_STATUS_SET_DONE = 0 DAYU_L7_HEALTH_STATUS_SETTING = 1 DAYU_L7_HEALTH_STATUS_SET_FAIL = 2 )
const ( DC_NETWORK_TYPE_VPC = "VPC" DC_NETWORK_TYPE_BMVPC = "BMVPC" DC_NETWORK_TYPE_CCN = "CCN" )
const ( DC_ROUTE_TYPE_BGP = "BGP" DC_ROUTE_TYPE_STATIC = "STATIC" )
const ( DCG_NETWORK_TYPE_VPC = "VPC" DCG_NETWORK_TYPE_CCN = "CCN" )
https://cloud.tencent.com/document/product/215/19192
const ( DCG_GATEWAY_TYPE_NORMAL = "NORMAL" DCG_GATEWAY_TYPE_NAT = "NAT" )
const ( DCG_CCN_ROUTE_TYPE_BGP = "BGP" DCG_CCN_ROUTE_TYPE_STATIC = "STATIC" )
https://cloud.tencent.com/document/product/215/30643
const ( DCDB_WAN_STATUS_UNOPEN = 0 DCDB_WAN_STATUS_OPENED = 1 DCDB_WAN_STATUS_CLOSED = 2 DCDB_WAN_STATUS_OPENING = 3 )
const ( DCDB_DCN_FLAG_MASTER = 1 DCDB_DCN_FLAG_SLAVE = 2 )
const ( DDOS_EIP_BIND_STATUS_BINDING = "BINDING" DDOS_EIP_BIND_STATUS_BIND = "BIND" DDOS_EIP_BIND_STATUS_UNBINDING = "UNBINDING" DDOS_EIP_BIND_STATUS_UNBIND = "UNBIND" )
const ( DDOS_EIP_BIND_RESOURCE_TYPE_CVM = "cvm" DDOS_EIP_BIND_RESOURCE_TYPE_CLB = "clb" )
const ( DDOS_BLACK_WHITE_IP_TYPE_BLACK = "black" DDOS_BLACK_WHITE_IP_TYPE_WHITE = "white" )
const ( DNSPOD_DOMAIN_MARK_YES = "yes" DNSPOD_DOMAIN_MARK_NO = "no" )
const ( DNSPOD_DOMAIN_STATUS_ENABLE = "enable" DNSPOD_DOMAIN_STATUS_DISABLE = "disable" )
const ( DTS_MIGRATE_ACTION_PAUSE = "pause" DTS_MIGRATE_ACTION_CONTINUE = "continue" DTS_MIGRATE_ACTION_COMPLETE = "complete" DTS_MIGRATE_ACTION_RECOVER = "recover" DTS_MIGRATE_ACTION_STOP = "stop" DTS_MIGRATE_ACTION_RESUME = "resume" DTS_MIGRATE_ACTION_ISOLATE = "isolate" )
const ( ES_CHARGE_TYPE_PREPAID = "PREPAID" ES_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR" ES_DEPLOY_MODE_SINGLE_REGION = 0 ES_DEPLOY_MODE_MULTI_REGION = 1 ES_LICENSE_TYPE_OSS = "oss" ES_LICENSE_TYPE_BASIC = "basic" ES_LICENSE_TYPE_PLATINUM = "platinum" ES_BASIC_SECURITY_TYPE_ON = 2 ES_BASIC_SECURITY_TYPE_OFF = 1 ES_NODE_TYPE_HOT_DATA = "hotData" ES_NODE_TYPE_WARM_DATA = "warmData" ES_NODE_TYPE_DEDICATED_MATER = "dedicatedMaster" ES_RENEW_FLAG_AUTO = "RENEW_FLAG_AUTO" ES_RENEW_FLAG_MANUAL = "RENEW_FLAG_MANUAL" ES_INSTANCE_STATUS_PROCESSING = 0 ES_INSTANCE_STATUS_NORMAL = 1 ES_INSTANCE_STATUS_CREATING = 2 ES_INSTANCE_STATUS_STOP = -1 ES_INSTANCE_STATUS_DESTROYING = -2 ES_INSTANCE_STATUS_DESTROYED = -3 )
const ( EmrInternetStatusCreated int64 = 2 EmrInternetStatusDeleted int64 = 201 )
const ( EMR_MASTER_WAN_TYPE_NEED_MASTER_WAN = "NEED_MASTER_WAN" EMR_MASTER_WAN_TYPE_NOT_NEED_MASTER_WAN = "NOT_NEED_MASTER_WAN" )
const ( // all gaap proxy status https://cloud.tencent.com/document/api/608/37023#ProxyInfo GAAP_PROXY_CREATING = "CREATING" GAAP_PROXY_RUNNING = "RUNNING" GAAP_PROXY_DESTROYING = "DESTROYING" GAAP_PROXY_OPENING = "OPENING" GAAP_PROXY_CLOSING = "CLOSING" GAAP_PROXY_CLOSED = "CLOSED" GAAP_PROXY_ADJUSTING = "ADJUSTING" GAAP_PROXY_ISOLATING = "ISOLATING" GAAP_PROXY_ISOLATED = "ISOLATED" GAAP_PROXY_UNKNOWN = "UNKNOWN" GAAP_LISTENER_RUNNING = 0 GAAP_LISTENER_CREATING = 1 GAAP_LISTENER_DESTROYING = 2 GAAP_LISTENER_REALSERVER_ADJUSTING = 3 GAAP_LISTENER_ADJUSTING = 4 GAAP_SECURITY_POLICY_BOUND = "BOUND" GAAP_SECURITY_POLICY_UNBIND = "UNBIND" GAAP_SECURITY_POLICY_BINDING = "BINDING" GAAP_SECURITY_POLICY_UNBINDING = "UNBINDING" GAAP_HTTP_RULE_RUNNING = 0 GAAP_HTTP_RULE_CREATING = 1 GAAP_HTTP_RULE_DESTROYING = 2 GAAP_HTTP_RULE_BINDING_OR_UNBINDING = 3 GAAP_HTTP_RULE_ADJUSTING = 4 GAAPInternalError = "InternalError" GAAPResourceNotFound = "ResourceNotFound" GAAP_SERVER_NAME_INDICATION_SWITCH_ON = "ON" GAAP_SERVER_NAME_INDICATION_SWITCH_OFF = "OFF" NETWORK_TYPE_NORMAL = "normal" NETWORK_TYPE_CN2 = "cn2" NETWORK_TYPE_TRIPLE = "triple" )
const ( TRUE = "true" FALSE = "false" )
const ( KMS_ORIGIN_TENCENT_KMS = "TENCENT_KMS" KMS_ORIGIN_EXTERNAL = "EXTERNAL" KMS_ORIGIN_ALL = "ALL" )
const ( KMS_KEY_USAGE_ALL = "ALL" KMS_KEY_USAGE_ENCRYPT_DECRYPT = "ENCRYPT_DECRYPT" KMS_KEY_USAGE_ASYMMETRIC_DECRYPT_RSA_2048 = "ASYMMETRIC_DECRYPT_RSA_2048" KMS_KEY_USAGE_ASYMMETRIC_DECRYPT_SM2 = "ASYMMETRIC_DECRYPT_SM2" KMS_KEY_USAGE_ASYMMETRIC_SIGN_VERIFY_SM2 = "ASYMMETRIC_SIGN_VERIFY_SM2" KMS_KEY_USAGE_ASYMMETRIC_SIGN_VERIFY_RSA_2048 = "ASYMMETRIC_SIGN_VERIFY_RSA_2048" KMS_KEY_USAGE_ASYMMETRIC_SIGN_VERIFY_ECC = "ASYMMETRIC_SIGN_VERIFY_ECC" )
const ( KMS_WRAPPING_ALGORITHM_RSAES_PKCS1_V1_5 = "RSAES_PKCS1_V1_5" KMS_WRAPPING_ALGORITHM_RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1" KMS_WRAPPING_ALGORITHM_RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256" )
const ( KMS_KEY_STATE_ALL = "All" KMS_KEY_STATE_ENABLED = "Enabled" KMS_KEY_STATE_DISABLED = "Disabled" KMS_KEY_STATE_PENDINGDELETE = "PendingDelete" KMS_KEY_STATE_PENDINGIMPORT = "PendingImport" KMS_KEY_STATE_ARCHIVED = "Archived" )
const ( WHITE_BOX_KEY_ALGORITHM_AES_256 = "AES_256" WHITE_BOX_KEY_ALGORITHM_SM4 = "SM4" )
const ( WHITE_BOX_KEY_STATUS_ENABLED = "Enabled" WHITE_BOX_KEY_STATUS_DISABLED = "Disabled" )
const ( MARIADB_TASK_SUCCESS = 0 MARIADB_TASK_FAIL = 1 MARIADB_TASK_RUNNING = 2 )
const ( MARIADB_STATUS_ISOLATE = -1 MARIADB_STATUS_FLOW = 1 MARIADB_STATUS_RUNNING = 2 )
const ( MONGODB_INSTANCE_STATUS_INITIAL = 0 MONGODB_INSTANCE_STATUS_PROCESSING = 1 MONGODB_INSTANCE_STATUS_RUNNING = 2 MONGODB_INSTANCE_STATUS_EXPIRED = -2 MONGODB_ENGINE_VERSION_3_WT = "MONGO_3_WT" MONGODB_ENGINE_VERSION_36_WT = "MONGO_36_WT" MONGODB_ENGINE_VERSION_3_ROCKS = "MONGO_3_ROCKS" MONGODB_ENGINE_VERSION_4_WT = "MONGO_40_WT" MONGODB_MACHINE_TYPE_GIO = "GIO" MONGODB_MACHINE_TYPE_TGIO = "TGIO" MONGODB_MACHINE_TYPE_HIO = "HIO" MONGODB_MACHINE_TYPE_HIO10G = "HIO10G" MONGODB_CLUSTER_TYPE_REPLSET = "REPLSET" MONGODB_CLUSTER_TYPE_SHARD = "SHARD" MONGO_INSTANCE_TYPE_FORMAL = 1 MONGO_INSTANCE_TYPE_READONLY = 3 MONGO_INSTANCE_TYPE_STANDBY = 4 )
const ( MONGODB_DEFAULT_LIMIT = 20 MONGODB_MAX_LIMIT = 100 MONGODB_DEFAULT_OFFSET = 0 )
const ( MONGODB_CHARGE_TYPE_POSTPAID = COMMON_PAYTYPE_POSTPAID MONGODB_CHARGE_TYPE_PREPAID = COMMON_PAYTYPE_PREPAID )
const ( MONGODB_TASK_FAILED = "failed" MONGODB_TASK_PAUSED = "paused" MONGODB_TASK_RUNNING = "running" MONGODB_TASK_SUCCESS = "success" )
const ( WORKFLOW_STATUS_ENABLED = "Enabled" WORKFLOW_STATUS_DISABLED = "Disabled" )
const ( PROTOCOL_RTP = "RTP" PROTOCOL_SRT = "SRT" PROTOCOL_RTMP = "RTMP" PROTOCOL_HLS = "HLS" PROTOCOL_RTMP_PULL = "RTMP_PULL" PROTOCOL_RTSP_PULL = "RTSP_PULL" PROTOCOL_HLS_PULL = "HLS_PULL" )
const ( MYSQL_STATUS_DELIVING = 0 MYSQL_STATUS_RUNNING = 1 MYSQL_STATUS_ISOLATING = 4 MYSQL_STATUS_ISOLATED = 5 //https://cloud.tencent.com/document/api/236/36197 //Internal business state , not public MYSQL_STATUS_ISOLATED_1 = 6 MYSQL_STATUS_ISOLATED_2 = 7 )
mysql Status https://cloud.tencent.com/document/api/236/15872
const ( MYSQL_TASK_STATUS_INITIAL = "INITIAL" MYSQL_TASK_STATUS_RUNNING = "RUNNING" MYSQL_TASK_STATUS_SUCCESS = "SUCCESS" MYSQL_TASK_STATUS_FAILED = "FAILED" MYSQL_TASK_STATUS_REMOVED = "REMOVED" MYSQL_TASK_STATUS_PAUSED = "PAUSED " )
Async task status, from https://cloud.tencent.com/document/api/236/20410
const ( MYSQL_RENEW_NOUSE = 0 MYSQL_RENEW_OPEN = 1 MYSQL_RENEW_CLOSE = 2 )
automatic renewal status code
const ( MYSQL_CHARGE_TYPE_PREPAID = "PREPAID" MYSQL_CHARGE_TYPE_POSTPAID = "POSTPAID" )
const ( MysqlInstanceIdNotFound = "InvalidParameter.InstanceNotFound" MysqlInstanceIdNotFound2 = "InvalidParameter" MysqlInstanceIdNotFound3 = "InternalError.DatabaseAccessError" )
const ( DESC_BY_JOB_CONFIG_CREATETIME_0 = 0 DESC_BY_JOB_CONFIG_CREATETIME_1 = 1 )
const ( WORK_SPACES_ORDER_TYPE_0 = 0 WORK_SPACES_ORDER_TYPE_1 = 1 WORK_SPACES_ORDER_TYPE_2 = 2 WORK_SPACES_ORDER_TYPE_3 = 3 WORK_SPACES_ORDER_TYPE_4 = 4 )
const ( JOB_TYPE_1 = 1 JOB_TYPE_2 = 2 )
const ( CLUSTER_TYPE_1 = 1 CLUSTER_TYPE_2 = 2 )
const ( CU_MEM_2 = 2 CU_MEM_4 = 4 CU_MEM_8 = 8 CU_MEM_16 = 16 )
const ( CLUSTER_ORDER_TYPE_1 = 1 CLUSTER_ORDER_TYPE_2 = 2 CLUSTER_ORDER_TYPE_3 = 3 )
const ( RECORD_TYPE_1 = 1 RECORD_TYPE_2 = 2 RECORD_TYPE_3 = 3 )
const ( POSTGRESQL_PAYTYPE_PREPAID = "prepaid" POSTGRESQL_PAYTYPE_POSTPAID = "postpaid" )
const ( COMMON_PAYTYPE_PREPAID = "PREPAID" COMMON_PAYTYPE_POSTPAID = "POSTPAID_BY_HOUR" )
const ( POSTGRESQL_DB_VERSION_9_3_5 = "9.3.5" POSTGRESQL_DB_VERSION_9_5_4 = "9.5.4" POSTGRESQL_DB_VERSION_10_4 = "10.4" )
const ( POSTGRESQL_KERNEL_UPGRADE_IMMEDIATELY = 0 POSTGRESQL_KERNEL_UPGRADE_SPECIFIED_TIME = 1 POSTGRESQL_KERNEL_UPGRADE_MAINTAIN_WINDOW = 2 )
const ( POSTGRESQL_DB_CHARSET_UTF8 = "UTF8" POSTGRESQL_DB_CHARSET_LATIN1 = "LATIN1" )
const ( DNS_FORWARD_STATUS_ENABLE = "ENABLED" DNS_FORWARD_STATUS_DISABLED = "DISABLED" )
const ( CNAME_SPEEDUP_STATUS_ENABLED = "ENABLED" CNAME_SPEEDUP_STATUS_DISABLED = "DISABLED" )
const ( REDIS_VERSION_MASTER_SLAVE_REDIS = 2 REDIS_VERSION_MASTER_SLAVE_CKV = 3 REDIS_VERSION_CLUSTER_CKV = 4 REDIS_VERSION_STANDALONE_REDIS = 5 REDIS_VERSION_MASTER_SLAVE_REDIS4 = 6 REDIS_VERSION_CLUSTER_REDIS = 7 REDIS_VERSION_MASTER_SLAVE_REDIS5 = 8 REDIS_VERSION_CLUSTER_REDIS5 = 9 )
redis version https://cloud.tencent.com/document/api/239/20022#ProductConf
const ( REDIS_STATUS_INIT = 0 REDIS_STATUS_PROCESSING = 1 REDIS_STATUS_ONLINE = 2 REDIS_STATUS_ISOLATE = -2 REDIS_STATUS_TODELETE = -3 )
redis status https://cloud.tencent.com/document/product/239/20018
const ( REDIS_ORDER_SUCCESS_DELIVERY = 4 REDIS_ORDER_PAYMENT = 12 )
https://cloud.tencent.com/document/api/239/20022#TradeDealDetail Order status 1: unpaid 2: paid, not shipped 3: in shipment 4: successfully 5: shipped failed 6: refunded 7: closed order 8: expired 9: order no longer valid 10: product no longer valid 11: payment refused 12: in payment
const ( REDIS_TASK_PREPARING = "preparing" REDIS_TASK_RUNNING = "running" REDIS_TASK_SUCCEED = "succeed" REDIS_TASK_FAILED = "failed" REDIS_TASK_ERROR = "error" )
https://cloud.tencent.com/document/api/239/30601
const ( REDIS_CHARGE_TYPE_POSTPAID = "POSTPAID" REDIS_CHARGE_TYPE_PREPAID = "PREPAID" )
const ( SCF_FUNCTION_TYPE_EVENT = "Event" SCF_FUNCTION_STATUS_ACTIVE = "Active" SCF_FUNCTION_STATUS_CREATING = "Creating" SCF_FUNCTION_STATUS_CREATE_FAILED = "CreateFailed" SCF_FUNCTION_STATUS_UPDATING = "Updating" SCF_FUNCTION_STATUS_UPDATE_FAILED = "UpdateFailed" SCF_FUNCTION_STATUS_PUBLISH_FAILED = "PublishFailed" SCF_SERVICE = "scf" SCF_FUNCTION_RESOURCE = "lam" SCF_TRIGGER_TYPE_COS = "cos" SCF_TRIGGER_TYPE_CMQ = "cmq" SCF_TRIGGER_TYPE_TIMER = "timer" SCF_TRIGGER_TYPE_CKAFKA = "ckafka" SCF_TRIGGER_TYPE_API_GATEWAY = "apigw" SCF_LOGS_ORDER_BY_FUNCTION_NAME = "function_name" SCF_LOGS_ORDER_BY_DERATION = "duration" SCF_LOGS_ORDER_BY_MEM_USAGE = "mem_usage" SCF_LOGS_ORDER_BY_START_TIME = "start_time" SCF_LOGS_RET_CODE_NOT0 = "not0" SCF_LOGS_RET_CODE_IS0 = "is0" SCF_LOGS_RET_CODE_TIME_LIMIT_EXECEEDED = "TimeLimitExceeded" SCF_LOGS_RET_CODE_RESOURCE_LIMIT_EXECEEDED = "ResourceLimitExceeded" SCF_LOGS_RET_CODE_USER_CODE_EXCEPTION = "UserCodeException" SCF_LOGS_DESCRIBE_TIME_FORMAT = "2006-01-02 15:04:05" SCF_LOGS_ORDER_DESC = "desc" SCF_LOGS_ORDER_ASC = "asc" SCF_FUNCTION_DESCRIBE_LIMIT = 20 SCF_NAMESPACE_DESCRIBE_LIMIT = 20 )
const ( SQLSERVER_CHARGE_TYPE_PREPAID = "PREPAID" SQLSERVER_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" )
const ( SQLSERVER_TASK_SUCCESS = 0 SQLSERVER_TASK_FAIL = 1 SQLSERVER_TASK_RUNNING = 2 )
const ( SQLSERVER_ACCOUNT_RW = "ReadWrite" SQLSERVER_ACCOUNT_RO = "ReadOnly" )
const ( SQLSERVER_DEFAULT_LIMIT = 20 SQLSERVER_DEFAULT_OFFSET = 0 )
const ( SQLSERVER_DB_CREATING = 1 SQLSERVER_DB_RUNNING = 2 SQLSERVER_DB_MODIFYING = 3 SQLSERVER_DB_DELETING = -1 SQLSERVER_DB_UPGRADING = 9 SQLSERVER_DB_SWITCH_PENDING = 13 // 实例修改中且待切换 SQLSERVER_DB_PUBSUB_CREATING = 14 // 订阅发布创建中 SQLSERVER_DB_PUBSUB_MODIFYING = 15 // 订阅发布修改中 SQLSERVER_DB_SWITCHING = 16 // 实例修改中且切换中 SQLSERVER_DB_RO_CREATING = 17 // 创建RO副本中 )
const ( SQLSERVER_BACKUP_CYCLETYPE_DAILY = "daily" SQLSERVER_BACKUP_CYCLETYPE_WEEKLY = "weekly" SQLSERVER_BACKUP_CYCLETYPE_MONTHLY = "monthly" )
const ( SQLSERVER_HA_FLAG_SINGLE = "SINGLE" SQLSERVER_HA_FLAG_DAUL = "MIRROR" SQLSERVER_HA_FLAG_CLUSTER = "ALWAYSON" )
const ( BASIC_NETWORK = 0 VPC_NEWORK = 1 )
const ( INTERNALERROR_DBERROR = "InternalError.DBError" INSTANCE_STATUS_INVALID = "ResourceUnavailable.InstanceStatusInvalid" )
const ( CLOUD_PREMIUM = "CLOUD_PREMIUM" CLOUD_SSD = "CLOUD_SSD" CLOUD_BSSD = "CLOUD_BSSD" CLOUD_HSSD = "CLOUD_HSSD" )
const ( SQLSERVER_MIGRATION_INIT = 1 SQLSERVER_MIGRATION_MIGRATING = 4 SQLSERVER_MIGRATION_FAILED = 5 SQLSERVER_MIGRATION_COMPLETED = 6 SQLSERVER_MIGRATION_TERMINATED = 8 )
const ( SQLSERVER_BACKUP_RUNNING = 0 SQLSERVER_BACKUP_SUCCESS = 1 SQLSERVER_BACKUP_FAIL = 2 )
const ( SQLSERVER_BACKUP_STRATEGY_ALL = 0 SQLSERVER_BACKUP_STRATEGY_SINGEL = 1 )
const ( SQLSERVER_CLONE_SUCCESS = 0 SQLSERVER_CLONE_FAIL = 1 SQLSERVER_CLONE_RUNNING = 2 )
const ( SQLSERVER_BSDBINSTANCE_STATUS_RUNNING = 1 SQLSERVER_BSDBINSTANCE_STATUS_SUCCESS = 2 )
const ( SQLSERVER_DB_VERSION_2016 = "201603" SQLSERVER_DB_VERSION_2017 = "201703" SQLSERVER_DB_VERSION_2019 = "201903" )
const ( SQLSERVER_DB_VERSION_NAME_2016 = "SQL Server 2016 Integration Services" SQLSERVER_DB_VERSION_NAME_2017 = "SQL Server 2017 Integration Services" SQLSERVER_DB_VERSION_NAME_2019 = "SQL Server 2019 Integration Services" )
const ( SQLSERVER_CLOUD_DB_VERSION_2008R2 = "2008R2" SQLSERVER_CLOUD_DB_VERSION_2012SP3 = "2012SP3" SQLSERVER_CLOUD_DB_VERSION_201202 = "201202" SQLSERVER_CLOUD_DB_VERSION_2014SP2 = "2014SP2" SQLSERVER_CLOUD_DB_VERSION_201402 = "201402" SQLSERVER_CLOUD_DB_VERSION_2016SP1 = "2016SP1" SQLSERVER_CLOUD_DB_VERSION_201602 = "201602" SQLSERVER_CLOUD_DB_VERSION_2017 = "2017" SQLSERVER_CLOUD_DB_VERSION_201702 = "201702" SQLSERVER_CLOUD_DB_VERSION_2019 = "2019" SQLSERVER_CLOUD_DB_VERSION_201902 = "201902" )
const ( SQLSERVER_CLOUD_DB_VERSION_NAME_2008R2 = "SQL Server 2008 R2 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_2012SP3 = "SQL Server 2012 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201202 = "SQL Server 2012 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2014SP2 = "SQL Server 2014 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201402 = "SQL Server 2014 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2016SP1 = "SQL Server 2016 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201602 = "SQL Server 2016 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2017 = "SQL Server 2017 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201702 = "SQL Server 2017 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2019 = "SQL Server 2019 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201902 = "SQL Server 2019 Standard" )
const ( SQLSERVER_TYPE_PREPAID = "PREPAID" SQLSERVER_TYPE_POSTPAID = "POSTPAID" )
const ( CreateDefaultTimeout = 7200 ReadDefaultTimeout = 7200 UpdateDefaultTimeout = 7200 DeleteDefaultTimeout = 7200 )
const ( SSL_MODULE_TYPE = "ssl" SSL_WITH_CERT = "1" )
const ( SSL_STATUS_PENDING = iota SSL_STATUS_AVAILABLE SSL_STATUS_REJECTED SSL_STATUS_EXPIRED SSL_STATUS_DNS_ADDED SSL_STATUS_PENDING_SUB SSL_STATUS_CANCELING SSL_STATUS_CANCELED SSL_STATUS_DATA_PENDING SSL_STATUS_REVOKING SSL_STATUS_REVOKED SSL_STATUS_REISSUING SSL_STATUS_REVOCATION_PENDING )
const ( SSL_CERT_TYPE_SERVER = "SVR" SSL_CERT_TYPE_CA = "CA" )
const ( CsrTypeOnline = "online" CsrTypeParse = "parse" )
const ( DNSAuto = "DNS_AUTO" DNS = "DNS" File = "FILE" )
const ( InvalidParam = "FailedOperation.InvalidParam" CertificateNotFound = "FailedOperation.CertificateNotFound" InvalidParameter = "InvalidParameter" InvalidParameterValue = "InvalidParameterValue" CertificateInvalid = "FailedOperation.CertificateInvalid" )
const ( SSM_STATUS_ENABLED = "Enabled" SSM_STATUS_DISABLED = "Disabled" SSM_STATUS_PENDINGDELETE = "PendingDelete" )
const ( TCAPLUS_IDL_TYPE_PROTO = "PROTO" TCAPLUS_IDL_TYPE_TDR = "TDR" TCAPLUS_IDL_TYPE_MIX = "MIX" )
const ( TCAPLUS_FILE_EXT_TYPE_PROTO = "proto" TCAPLUS_FILE_EXT_TYPE_XML = "xml" )
const ( TCAPLUS_TABLE_IDL_TYPE_PROTO = "PROTO" TCAPLUS_TABLE_IDL_TYPE_TDR = "TDR" )
const ( TCAPLUS_TABLE_TYPE_GENERIC = "GENERIC" TCAPLUS_TABLE_TYPE__LIST = "LIST" )
const ( TCR_VPC_DNS_STATUS_ENABLED = "ENABLED" TCR_VPC_DNS_STATUS_DISABLED = "DISABLED" )
const ( REGISTRY_CHARGE_TYPE_POSTPAID = 0 REGISTRY_CHARGE_TYPE_PREPAID = 1 )
const ( NoneTopicType = -1 NonePulsarTopicType = -1 )
const ( RabbitMQVipInstanceRunning = 0 RabbitMQVipInstanceSuccess = 1 )
const ( RocketMqVipInsRunning = 0 RocketMqVipInsSuccess = 1 RocketMqVipInsIsolating = 2 RocketMqVipInsDestroy = 3 RocketMqVipInsUpdate = 6 )
const ( TKE_CLUSTER_OS_CENTOS72 = "centos7.2x86_64" TKE_CLUSTER_OS_CENTOS76 = "centos7.6.0_x64" TKE_CLUSTER_OS_UBUNTU18 = "ubuntu18.04.1x86_64" TKE_CLUSTER_OS_LINUX24 = "tlinux2.4x86_64" TKE_CLUSTER_OS_LINUX22 = "tlinux2.2(tkernel3)x86_64" TKE_CLUSTER_OS_LINUXF22 = "Tencent tlinux release 2.2 (Final)" )
const ( TkeClusterOsCentOS76 = "centos7.6x86_64" //TkeClusterOsUbuntu16 = "ubuntu16.04.1 LTSx86_64" TkeClusterOsUbuntu18 = "ubuntu18.04.1 LTSx86_64" )
兼容旧的 cluster_os 定义
const ( TKE_DEPLOY_TYPE_MANAGED = "MANAGED_CLUSTER" TKE_DEPLOY_TYPE_INDEPENDENT = "INDEPENDENT_CLUSTER" )
const ( TKE_RUNTIME_DOCKER = "docker" TKE_RUNTIME_CONTAINERD = "containerd" )
const ( TKE_ROLE_MASTER_ETCD = "MASTER_ETCD" TKE_ROLE_WORKER = "WORKER" )
const ( TKE_CLUSTER_OS_TYPE_DOCKER_CUSTOMIZE = "DOCKER_CUSTOMIZE" TKE_CLUSTER_OS_TYPE_GENERAL = "GENERAL" )
const ( TkeInternetStatusCreating = "Creating" TkeInternetStatusCreateFailed = "CreateFailed" TkeInternetStatusCreated = "Created" TkeInternetStatusDeleting = "Deleting" TkeInternetStatusDeleted = "Deleted" TkeInternetStatusDeletedFailed = "DeletedFailed" TkeInternetStatusNotfound = "NotFound" )
const ( TKE_CLUSTER_NETWORK_TYPE_GR = "GR" TKE_CLUSTER_NETWORK_TYPE_VPC_CNI = "VPC-CNI" TKE_CLUSTER_NETWORK_TYPE_CILIUM_OVERLAY = "CiliumOverlay" )
const ( TKE_CLUSTER_NODE_NAME_TYPE_LAN_IP = "lan-ip" TKE_CLUSTER_NODE_NAME_TYPE_HOSTNAME = "hostname" )
const ( TKE_CLUSTER_INTERNET = true TKE_CLUSTER_INTRANET = false TKE_CLUSTER_OPEN_ACCESS = true TKE_CLUSTER_CLOSE_ACCESS = false )
const ( ENDPOINT_TYPE_PUBLIC = "PUBLIC" ENDPOINT_TYPE_VPC = "VPC" )
const ( VOD_AUDIO_CHANNEL_MONO = "mono" VOD_AUDIO_CHANNEL_DUAL = "dual" VOD_AUDIO_CHANNEL_STEREO = "stereo" VOD_SUB_APPLICATION_RUNNING = "On" VOD_SUB_APPLICATION_STOPPED = "Off" VOD_SUB_APPLICATION_DESTROY = "Destroyed" VOD_DEFAULT_OFFSET = 0 VOD_MAX_LIMIT = 100 )
const ( EIP_STATUS_CREATING = "CREATING" EIP_STATUS_BINDING = "BINDING" EIP_STATUS_BIND = "BIND" EIP_STATUS_UNBINDING = "UNBINDING" EIP_STATUS_UNBIND = "UNBIND" EIP_STATUS_OFFLINING = "OFFLINING" EIP_STATUS_BIND_ENI = "BIND_ENI" EIP_TYPE_EIP = "EIP" EIP_TYPE_ANYCAST = "AnycastEIP" EIP_TYPE_HIGH_QUALITY = "HighQualityEIP" EIP_TYPE_ANTI_DDOS = "AntiDDoSEIP" EIP_ANYCAST_ZONE_GLOBAL = "ANYCAST_ZONE_GLOBAL" EIP_ANYCAST_ZONE_OVERSEAS = "ANYCAST_ZONE_OVERSEAS" EIP_INTERNET_PROVIDER_BGP = "BGP" EIP_INTERNET_PROVIDER_CMCC = "CMCC" EIP_INTERNET_PROVIDER_CTCC = "CTCC" EIP_INTERNET_PROVIDER_CUCC = "CUCC" EIP_RESOURCE_TYPE = "eip" EIP_TASK_STATUS_SUCCESS = "SUCCESS" EIP_TASK_STATUS_RUNNING = "RUNNING" EIP_TASK_STATUS_FAILED = "FAILED" )
EIP
const ( ENI_STATE_PENDING = "PENDING" ENI_STATE_AVAILABLE = "AVAILABLE" ENI_STATE_ATTACHING = "ATTACHING" ENI_STATE_DETACHING = "DETACHING" ENI_STATE_DELETING = "DELETING" )
const ( ENI_IP_PENDING = "PENDING" ENI_IP_AVAILABLE = "AVAILABLE" ENI_IP_ATTACHING = "ATTACHING" ENI_IP_DETACHING = "DETACHING" ENI_IP_DELETING = "DELETING" )
const ( NAT_DESCRIBE_LIMIT = 100 NAT_EIP_MAX_LIMIT = 10 )
const ( NAT_GATEWAY_TYPE_SUBNET = "SUBNET" NAT_GATEWAY_TYPE_NETWORK_INTERFACE = "NETWORKINTERFACE" )
const ( VPN_TASK_STATUS_SUCCESS = "SUCCESS" VPN_TASK_STATUS_RUNNING = "RUNNING" VPN_TASK_STATUS_FAILED = "FAILED" )
const ( VPN_STATE_PENDING = "PENDING" VPN_STATE_DELETING = "DELETING" VPN_STATE_AVAILABLE = "AVAILABLE" )
const ( VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY = "NOTIFY_AND_AUTO_RENEW" VPN_PERIOD_PREPAID_RENEW_FLAG_NOT = "NOTIFY_AND_MANUAL_RENEW" )
const ( VPN_CHARGE_TYPE_PREPAID = "PREPAID" VPN_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR" )
const ( VPN_RESTRICT_STATE_NORMAL = "NORMAL" VPN_RESTRICT_STATE_ISOLATE = "PRETECIVELY_ISOLATED" )
const ( VPN_IKE_PROPO_ENCRY_ALGORITHM_3DESCBC = "3DES-CBC" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC128 = "AES-CBC-128" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC192 = "AES-CBS-192`" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC256 = "AES-CBC-256" VPN_IKE_PROPO_ENCRY_ALGORITHM_DESCBC = "DES-CBC" )
const ( VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA = "SHA" VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5 = "MD5" VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA256 = "SHA-256" )
const ( VPN_IPSEC_INTEGRITY_ALGORITHM_SHA1 = "SHA1" VPN_IPSEC_INTEGRITY_ALGORITHM_MD5 = "MD5" VPN_IPSEC_INTEGRITY_ALGORITHM_SHA256 = "SHA-256" )
const ( VPN_IKE_EXCHANGE_MODE_AGGRESSIVE = "AGGRESSIVE" VPN_IKE_EXCHANGE_MODE_MAIN = "MAIN" )
const ( VPN_IKE_IDENTITY_ADDRESS = "ADDRESS" VPN_IKE_IDENTITY_FQDN = "FQDN" )
const ( VPN_IKE_DH_GROUP_NAME_GROUP1 = "GROUP1" VPN_IKE_DH_GROUP_NAME_GROUP2 = "GROUP2" VPN_IKE_DH_GROUP_NAME_GROUP5 = "GROUP5" VPN_IKE_DH_GROUP_NAME_GROUP14 = "GROUP14" VPN_IKE_DH_GROUP_NAME_GROUP24 = "GROUP24" )
const ( VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP1 = "DH-GROUP1" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP2 = "DH-GROUP2" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP5 = "DH-GROUP5" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP14 = "DH-GROUP14" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP24 = "DH-GROUP24" VPN_IPSEC_PFS_DH_GROUP_NAME_NULL = "NULL" )
const ( VPN_IPSEC_ENCRY_ALGORITHM_3DESCBC = "3DES-CBC" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC128 = "AES-CBC-128" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC192 = "AES-CBS-192`" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC256 = "AES-CBC-256" VPN_IPSEC_ENCRY_ALGORITHM_DESCBC = "DES-CBC" VPN_IPSEC_ENCRY_ALGORITHM_NULL = "NULL" )
const ( VPCNotFound = "ResourceNotFound" VPCUnsupportedOperation = "UnsupportedOperation" )
COMMON
const ( DPD_ACTION_CLEAR = "clear" DPD_ACTION_RESTART = "restart" )
const ( CUSTOM_RULE_ACTION_TYPE_1 = "1" CUSTOM_RULE_ACTION_TYPE_2 = "2" CUSTOM_RULE_ACTION_TYPE_3 = "3" CUSTOM_RULE_ACTION_TYPE_4 = "4" )
const ( CUSTOM_RULE_STATUS_0 = "0" CUSTOM_RULE_STATUS_1 = "1" CUSTOM_RULE_STATUS_0_INT = 0 CUSTOM_RULE_STATUS_1_INT = 1 )
const ( CUSTOM_WHITE_RULE_STATUS_0 = "0" CUSTOM_WHITE_RULE_STATUS_1 = "1" CUSTOM_WHITE_RULE_STATUS_0_INT = 0 CUSTOM_WHITE_RULE_STATUS_1_INT = 1 )
const ( CLB_DOMAIN_STATUS_0 = 0 CLB_DOMAIN_STATUS_1 = 1 )
const ( CLB_DOMAIN_ENGINE_10 = 10 CLB_DOMAIN_ENGINE_11 = 11 CLB_DOMAIN_ENGINE_12 = 12 CLB_DOMAIN_ENGINE_20 = 20 CLB_DOMAIN_ENGINE_21 = 21 CLB_DOMAIN_ENGINE_22 = 22 )
const ( ISCDN_0 = 0 ISCDN_1 = 1 ISCDN_2 = 2 ISCDN_3 = 3 )
const ( FLOW_MODE_0 = 0 FLOW_MODE_1 = 1 )
const ( CLS_STATUS_0 = 0 CLS_STATUS_1 = 1 )
const ( BOT_STATUS_0 = 0 BOT_STATUS_1 = 1 )
const ( API_SAFE_STATUS_0 = 0 API_SAFE_STATUS_1 = 1 )
const ( IPV6_ON = 1 IPV6_OFF = 2 )
const ( ALB_TYPE_CLB = "clb" ALB_TYPE_APISIX = "apisix" ALB_TYPE_TSEGW = "tsegw" )
const ( CERT_TYPE_0 = 0 CERT_TYPE_1 = 1 CERT_TYPE_2 = 2 )
const ( UPSTREAM_SCHEME_HTTP = "http" UPSTREAM_SCHEME_HTTPS = "https" )
const ( IS_GRAY_0 = 0 IS_GRAY_1 = 1 )
const ( UP_STREAM_TYPE_0 = 0 UP_STREAM_TYPE_1 = 1 )
const ( IS_HTTP2_0 = 0 IS_HTTP2_1 = 1 )
const ( IS_WEBSOCKET_0 = 0 IS_WEBSOCKET_1 = 1 )
const ( LOAD_BALANCE_0 = "0" LOAD_BALANCE_1 = "1" LOAD_BALANCE_2 = "2" )
const ( HTTPS_REWRITE_0 = 0 HTTPS_REWRITE_1 = 1 )
const ( ANYCAST_0 = 0 ANYCAST_1 = 1 )
const ( ACTIVE_CHECK_0 = 0 ACTIVE_CHECK_1 = 1 )
const ( CIPHER_TEMPLATE_1 = 1 CIPHER_TEMPLATE_2 = 2 CIPHER_TEMPLATE_3 = 3 )
const ( PROXY_READ_TIMEOUT = 300 PROXY_SEND_TIMEOUT = 300 )
const ( SNI_TYPE_0 = 0 SNI_TYPE_1 = 1 SNI_TYPE_2 = 2 SNI_TYPE_3 = 3 )
const ( XFF_RESET_0 = 0 XFF_RESET_1 = 1 )
const ( IPV6_STATUS_0 = 0 IPV6_STATUS_1 = 1 )
const ( SAAS_DOMAIN_STATUS_0 = 0 SAAS_DOMAIN_STATUS_1 = 1 )
const ( IS_KEEP_ALIVE_0 = "0" IS_KEEP_ALIVE_1 = "1" )
const ( ORDER_ASC = "asc" ORDER_DESC = "desc" )
const ( WAF_PREMIUM_SAAS = "premium_saas" WAF_ENTERPRISE_SAAS = "enterprise_saas" WAF_ULTIMATE_SAAS = "ultimate_saas" )
const ( WAF_PREMIUM_CLB = "premium_clb" WAF_ENTERPRISE_CLB = "enterprise_clb" WAF_ULTIMATE_CLB = "ultimate_clb" )
const ( TIME_UINT_D = "d" TIME_UINT_M = "m" TIME_UINT_Y = "y" )
const ( REGION_ID_MAINLAND = 1 REGION_ID_NON_MAINLAND = 9 )
const ( AUTO_RENEW_FLAG_0 = 0 AUTO_RENEW_FLAG_1 = 1 )
const ( ELASTIC_MODE_0 = 0 ELASTIC_MODE_1 = 1 )
const ( MAINLAND_0 = 0 MAINLAND_1 = 1 )
const ( DOMIAN_CATEGORY_ID_SAAS = 102372 DOMAIN_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_domain" DOMAIN_PID_SAAS = 1000834 DOMAIN_LABEL_TYPE_SAAS = "sv_wsm_waf_domain" )
const ( QPS_CATEGORY_ID_SAAS = 101040 QPS_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_qpsep" QPS_PID_SAAS = 1000481 QPS_LABEL_TYPE_SAAS = "sv_wsm_waf_qps_ep" )
const ( DOMIAN_CATEGORY_ID_CLB = 101207 DOMAIN_SUB_PRODUCT_CODE_CLB = "sp_wsm_waf_domain_clb" DOMAIN_PID_CLB = 1001156 DOMAIN_LABEL_TYPE_CLB = "sv_wsm_waf_domain_clb" )
const ( QPS_CATEGORY_ID_CLB = 101210 QPS_SUB_PRODUCT_CODE_CLB = "sp_wsm_waf_qpsep_clb" QPS_PID_CLB = 1001160 QPS_LABEL_TYPE_CLB = "sv_wsm_waf_qps_ep_clb" )
const ( SAAS_REAL_REGION_MAINLAND_GZ = "gz" SAAS_REAL_REGION_MAINLAND_SH = "sh" SAAS_REAL_REGION_MAINLAND_BJ = "bj" SAAS_REAL_REGION_MAINLAND_CD = "cd" )
const ( SAAS_REAL_REGION_NON_MAINLAND_HK = "hk" SAAS_REAL_REGION_NON_MAINLAND_SG = "sg" SAAS_REAL_REGION_NON_MAINLAND_TH = "th" SAAS_REAL_REGION_NON_MAINLAND_KR = "kr" SAAS_REAL_REGION_NON_MAINLAND_IN = "in" SAAS_REAL_REGION_NON_MAINLAND_DE = "de" SAAS_REAL_REGION_NON_MAINLAND_CA = "ca" SAAS_REAL_REGION_NON_MAINLAND_USE = "use" SAAS_REAL_REGION_NON_MAINLAND_SAO = "sao" SAAS_REAL_REGION_NON_MAINLAND_USW = "usw" SAAS_REAL_REGION_NON_MAINLAND_JKT = "jkt" )
const ( EDITION_SAAS = "sparta-waf" EDITION_CLB = "clb-waf" )
const ( REGION_GZ = "ap-guangzhou" REGION_KR = "ap-seoul" )
const ( METRIC_NAME_ACCESS = "access" METRIC_NAME_BOTACCESS = "botAccess" METRIC_NAME_DOWN = "down" METRIC_NAME_UP = "up" METRIC_NAME_ATTACK = "attack" METRIC_NAME_CC = "cc" METRIC_NAME_STATUSSERVERERROR = "StatusServerError" METRIC_NAME_STATUSCLIENTERROR = "StatusClientError" METRIC_NAME_STATUSREDIRECT = "StatusRedirect" METRIC_NAME_STATUSOK = "StatusOk" METRIC_NAME_UPSTREAMSERVERERROR = "UpstreamServerError" METRIC_NAME_UPSTREAMCLIENTERROR = "UpstreamClientError" METRIC_NAME_UPSTREAMREDIRECT = "UpstreamRedirect" )
const ( ANTI_FAKE_URL_STATUS_0 = 0 ANTI_FAKE_URL_STATUS_1 = 1 ANTI_FAKE_URL_STATUS_2 = 2 ANTI_FAKE_URL_STATUS_3 = 3 )
const ( ANTI_INFO_LEAK_ACTION_TYPE_0 = 0 ANTI_INFO_LEAK_ACTION_TYPE_1 = 1 ANTI_INFO_LEAK_ACTION_TYPE_2 = 2 ANTI_INFO_LEAK_ACTION_TYPE_3 = 3 ANTI_INFO_LEAK_ACTION_TYPE_4 = 4 )
const ( STRATEGIES_FIELD_RETURNCODE = "returncode" STRATEGIES_FIELD_KEYWORDS = "keywords" STRATEGIES_FIELD_INFORMATION = "information" )
const ( ANTI_INFO_LEAK_RULE_STATUS_0 = 0 ANTI_INFO_LEAK_RULE_STATUS_1 = 1 )
const ( PROVIDER_SECRET_ID = "TENCENTCLOUD_SECRET_ID" PROVIDER_SECRET_KEY = "TENCENTCLOUD_SECRET_KEY" PROVIDER_SECURITY_TOKEN = "TENCENTCLOUD_SECURITY_TOKEN" PROVIDER_REGION = "TENCENTCLOUD_REGION" PROVIDER_PROTOCOL = "TENCENTCLOUD_PROTOCOL" PROVIDER_DOMAIN = "TENCENTCLOUD_DOMAIN" PROVIDER_ASSUME_ROLE_ARN = "TENCENTCLOUD_ASSUME_ROLE_ARN" PROVIDER_ASSUME_ROLE_SESSION_NAME = "TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME" PROVIDER_ASSUME_ROLE_SESSION_DURATION = "TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION" )
const ( SERVICE_MONITORS string = "service_monitors" POD_MONITORS string = "pod_monitors" RAW_JOBS string = "raw_jobs" )
const ( CERT_ENABLED = "Enabled" CERT_DISABLED = "Disabled" )
const ( DTSJobStatus = "Status" DTSTradeStatus = "TradeStatus" )
const ( TDCPG_CLUSTER_FILTER_ID = "ClusterId" TDCPG_CLUSTER_FILTER_NAME = "ClusterName" TDCPG_CLUSTER_FILTER_PROJECT_ID = "ProjectId" TDCPG_CLUSTER_FILTER_STATUS = "Status" TDCPG_CLUSTER_FILTER_PAY_MODE = "PayMode" TDCPG_INSTANCE_FILTER_ID = "InstanceId" TDCPG_INSTANCE_FILTER_NAME = "InstanceName" TDCPG_INSTANCE_FILTER_ENDPOINT_ID = "EndpointId" TDCPG_INSTANCE_FILTER_STATUS = "Status" TDCPG_INSTANCE_FILTER_TYPE = "InstanceType" )
const (
AutoRenewFlagTrue = 1
)
const (
BAND_WIDTH = 20
)
const BUSINESS_BGP_MULTIP = "bgp-multip"
const (
CLB_PAGE_LIMIT = 100
)
const CNN_INSTANCE_TYPE_BMVPC = "BMVPC"
const CNN_INSTANCE_TYPE_DIRECTCONNECT = "DIRECTCONNECT"
const CNN_INSTANCE_TYPE_VPC = "VPC"
const CNN_INSTANCE_TYPE_VPNGW = "VPNGW"
const CNN_QOS_AG = "AG"
const CNN_QOS_AU = "AU"
const CNN_QOS_PT = "PT"
const COMMA_SP = ","
const CfsInvalidPgroup = "InvalidParameterValue.InvalidPgroup"
const CkafkaFailedOperation = "FailedOperation"
const CkafkaInstanceNotFound = "InvalidParameterValue.InstanceNotExist"
sdk ckafka not found error
const DAYU_BOUNDSTATUS_IDLE = "idle"
const DESCRIBE_SECURITY_GROUP_LIMIT = 50
const DESCRIBE_TAGS_LIMIT = 20
const (
DefaultAuthenticationOptionsIssuer = "https://kubernetes.default.svc.cluster.local"
)
const (
DefaultDesiredPodNum = 0
)
const (
DescribeDomainVerifyResultSUCCESS = 0
)
const (
DescribeHostLimitSuccess = "Success"
)
const (
DisplayStrategyIsclusterList = "clusterList"
)
const (
ENI_DESCRIBE_LIMIT = 100
)
ENI
const (
ExtranetAccess_ENABLE = 1
)
const FILED_SP = "#"
const (
FORWARD_TYPE_HTTP = "HTTP"
)
const GATE_WAY_TYPE_CCN = "CCN"
const GATE_WAY_TYPE_CVM = "CVM"
all gate way types https://cloud.tencent.com/document/api/215/15824#Route
const GATE_WAY_TYPE_DIRECTCONNECT = "DIRECTCONNECT"
const GATE_WAY_TYPE_EIP = "EIP"
const GATE_WAY_TYPE_HAVIP = "HAVIP"
const GATE_WAY_TYPE_LOCAL_GATEWAY = "LOCAL_GATEWAY"
const GATE_WAY_TYPE_NAT = "NAT"
const GATE_WAY_TYPE_NORMAL_CVM = "NORMAL_CVM"
const GATE_WAY_TYPE_PEERCONNECTION = "PEERCONNECTION"
const GATE_WAY_TYPE_SSLVPN = "SSLVPN"
const GATE_WAY_TYPE_VPN = "VPN"
const (
HAVIP_DESCRIBE_LIMIT = 100
)
const ISP_CODE_BGP = 5
const (
InstallSecurityAgentCommandId = "cmd-d8jj2skv"
)
const InterRegionLimit = "INTER_REGION_LIMIT"
const InternalError = "InternalError"
InternalError common internalError, do not add in retryableErrorCode, because when some product return this error, retry won't fix anything.
const (
KMS_PAGE_LIMIT = 200
)
const (
KMS_WRAPPING_KEY_SPEC_RSA_2048 = "RSA_2048"
)
const (
MODIFY_BACKUPTIME_SUCCESS = 0
)
const (
NAT_FAILED_STATE = "FAILED"
)
const (
NONE_FLOW_TASK = 0
)
const OuterRegionLimit = "OUTER_REGION_LIMIT"
const PAGE_ITEM = 200
const (
POSTGRESQL_STAUTS_RUNNING = "running"
)
const POSTPAID = "POSTPAID"
const PREPAID = "PREPAID"
const PRODUCT string = "redis"
const PUBLIC_GRANTEE = "http://cam.qcloud.com/groups/global/AllUsers"
const RESPONSE_SUCCESS_CODE = "Success"
const (
RSACCESSSTRATEGY_ENABLE = 1
)
const RedisInstanceNotFound = "ResourceNotFound.InstanceNotExists"
sdk redis not found error
const SSL_ERR_CANCELING = `` /* 326-byte string literal not displayed */
const (
SSMResourceNotFound = "ResourceNotFound"
)
const (
SSM_PAGE_LIMIT = 200
)
const (
TCR_NAME_PREFIX = "tcr$"
)
const (
TKE_CLUSTER_KUBE_PROXY_MODE_BPF = "kube-proxy-bpf"
)
const (
TLS_VERSION_STATUS_3 = 3
)
const VPC_SERVICE_TYPE = "vpc"
const (
VPN_DESCRIBE_LIMIT = 100
)
const (
VPN_PURCHASE_PLAN_PRE_POST = "PREPAID_TO_POSTPAID"
)
const (
ZONE_SELL_STATUS_ONLINE = 0
)
Variables ¶
var ( CYNOSDB_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36} CYNOSDB_CHARGE_TYPE = map[int64]string{ 0: COMMON_PAYTYPE_POSTPAID, 1: COMMON_PAYTYPE_PREPAID, } )
var ( MysqlPayByMonth = 0 MysqlPayByUse = 1 )
type of pay
var ( SCF_FUNCTIONS_NOT_FOUND_SET = []string{ "ResourceNotFound.Function", "ResourceNotFound.FunctionName", "InvalidParameterValue.FunctionName", "ResourceNotFound.Namespace", } SCF_TRIGGER_TYPES = []string{ SCF_TRIGGER_TYPE_COS, SCF_TRIGGER_TYPE_CMQ, SCF_TRIGGER_TYPE_TIMER, SCF_TRIGGER_TYPE_CKAFKA, SCF_TRIGGER_TYPE_API_GATEWAY, } SCF_LOGS_ORDERS = []string{ SCF_LOGS_ORDER_DESC, SCF_LOGS_ORDER_ASC, } SCF_LOGS_ORDER_BY = []string{ SCF_LOGS_ORDER_BY_FUNCTION_NAME, SCF_LOGS_ORDER_BY_DERATION, SCF_LOGS_ORDER_BY_MEM_USAGE, SCF_LOGS_ORDER_BY_START_TIME, } SCF_LOGS_RET_CODES = []string{ SCF_LOGS_RET_CODE_NOT0, SCF_LOGS_RET_CODE_IS0, SCF_LOGS_RET_CODE_TIME_LIMIT_EXECEEDED, SCF_LOGS_RET_CODE_RESOURCE_LIMIT_EXECEEDED, SCF_LOGS_RET_CODE_USER_CODE_EXCEPTION, } )
var ( VOD_AUDIO_CHANNEL_TYPE_TO_INT = map[string]int64{ VOD_AUDIO_CHANNEL_MONO: 1, VOD_AUDIO_CHANNEL_DUAL: 2, VOD_AUDIO_CHANNEL_STEREO: 6, } VOD_AUDIO_CHANNEL_TYPE_TO_STRING = map[int64]string{ 1: VOD_AUDIO_CHANNEL_MONO, 2: VOD_AUDIO_CHANNEL_DUAL, 6: VOD_AUDIO_CHANNEL_STEREO, } DISABLE_HIGHER_VIDEO_BITRATE_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } DISABLE_HIGHER_VIDEO_RESOLUTION_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } RESOLUTION_ADAPTIVE_TO_STRING = map[bool]string{ // contains filtered or unexported fields } REMOVE_AUDIO_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } DRM_SWITCH_TO_STRING = map[bool]string{ // contains filtered or unexported fields } )
var ACTIVE_CHECK_STATUS = []int{ ACTIVE_CHECK_0, ACTIVE_CHECK_1, }
var ADDRESS_TEMPLATE_TYPE = []int{ ADDRESS_TEMPLATE_TYPE_1, ADDRESS_TEMPLATE_TYPE_5, }
var ALB_TYPES = []string{ ALB_TYPE_CLB, ALB_TYPE_APISIX, ALB_TYPE_TSEGW, }
var ALL_GATE_WAY_TYPES = []string{ GATE_WAY_TYPE_CVM, GATE_WAY_TYPE_VPN, GATE_WAY_TYPE_DIRECTCONNECT, GATE_WAY_TYPE_PEERCONNECTION, GATE_WAY_TYPE_SSLVPN, GATE_WAY_TYPE_HAVIP, GATE_WAY_TYPE_NAT, GATE_WAY_TYPE_NORMAL_CVM, GATE_WAY_TYPE_EIP, GATE_WAY_TYPE_CCN, GATE_WAY_TYPE_LOCAL_GATEWAY, }
var ANTI_FAKE_URL_STATUS = []int{ ANTI_FAKE_URL_STATUS_0, ANTI_FAKE_URL_STATUS_1, ANTI_FAKE_URL_STATUS_2, ANTI_FAKE_URL_STATUS_3, }
var ANTI_INFO_LEAK_ACTION_TYPE = []int{ ANTI_INFO_LEAK_ACTION_TYPE_0, ANTI_INFO_LEAK_ACTION_TYPE_1, ANTI_INFO_LEAK_ACTION_TYPE_2, ANTI_INFO_LEAK_ACTION_TYPE_3, ANTI_INFO_LEAK_ACTION_TYPE_4, }
var ANTI_INFO_LEAK_RULE_STATUS = []int{ ANTI_INFO_LEAK_RULE_STATUS_0, ANTI_INFO_LEAK_RULE_STATUS_1, }
var ANYCAST_STATUS = []int{ ANYCAST_0, ANYCAST_1, }
var API_GATEWAY_API_PROTOCOLS = []string{ API_GATEWAY_API_PROTOCOL_HTTP, API_GATEWAY_API_PROTOCOL_WEBSOCKET, }
var API_GATEWAY_API_RESPONSE_TYPES = []string{"HTML", "JSON", "TEXT", "BINARY", "XML", ""}
var API_GATEWAY_APT_TYPES = []string{ API_GATEWAY_API_TYPE_NORMAL, API_GATEWAY_API_TYPE_TSF, }
var API_GATEWAY_AUTH_TYPES = []string{ API_GATEWAY_AUTH_TYPE_SECRET, API_GATEWAY_AUTH_TYPE_NONE, API_GATEWAY_AUTH_TYPE_OAUTH, API_GATEWAY_AUTH_TYPE_APP, }
var API_GATEWAY_KEYS = []string{ API_GATEWAY_KEY_ENABLED, API_GATEWAY_KEY_DISABLED, }
var API_GATEWAY_KEYS_TYPE = []string{ API_GATEWAY_KEY_TYPE_AUTO, API_GATEWAY_KEY_TYPE_MANUAL, }
var API_GATEWAY_KEY_INT2STRS = map[int64]string{ 1: API_GATEWAY_KEY_ENABLED, 0: API_GATEWAY_KEY_DISABLED, }
var API_GATEWAY_KEY_STR2INTS = map[string]int64{ API_GATEWAY_KEY_ENABLED: 1, API_GATEWAY_KEY_DISABLED: 0, }
var API_GATEWAY_NET_IP_VERSIONS = []string{ API_GATEWAY_NET_IP_VERSION4, API_GATEWAY_NET_IP_VERSION6, }
var API_GATEWAY_SERVICE_ENVS = []string{ API_GATEWAY_SERVICE_ENV_TEST, API_GATEWAY_SERVICE_ENV_RELEASE, API_GATEWAY_SERVICE_ENV_PREPUB, }
var API_GATEWAY_SERVICE_PROTOCOLS = []string{ API_GATEWAY_SERVICE_PROTOCOL_HTTP, API_GATEWAY_SERVICE_PROTOCOL_HTTPS, API_GATEWAY_SERVICE_PROTOCOL_ALL, }
var API_GATEWAY_SERVICE_TYPES = []string{ API_GATEWAY_SERVICE_TYPE_WEBSOCKET, API_GATEWAY_SERVICE_TYPE_HTTP, API_GATEWAY_SERVICE_TYPE_SCF, API_GATEWAY_SERVICE_TYPE_TSF, API_GATEWAY_SERVICE_TYPE_MOCK, API_GATEWAY_SERVICE_TYPE_TARGET, API_GATEWAY_SERVICE_TYPE_COS, }
var API_GATEWAY_TYPES = []string{ API_GATEWAY_TYPE_SERVICE, API_GATEWAY_TYPE_API, }
var API_GATEWAY_UPSTREAM_SCHEME = []string{ API_GATEWAY_UPSTREAM_SCHEME_HTTP, API_GATEWAY_UPSTREAM_SCHEME_HTTPS, API_GATEWAY_UPSTREAM_SCHEME_gRPC, API_GATEWAY_UPSTREAM_SCHEME_gPRCs, }
var API_GATEWAY_UPSTREAM_TYPE = []string{ API_GATEWAY_UPSTREAM_TYPE_IP, API_GATEWAY_UPSTREAM_TYPE_K8S, }
var API_SAFE_STATUS = []int{ API_SAFE_STATUS_0, API_SAFE_STATUS_1, }
var AUTO_RENEW_FLAG = []int{ AUTO_RENEW_FLAG_0, AUTO_RENEW_FLAG_1, }
var BOT_STATUS = []int{ BOT_STATUS_0, BOT_STATUS_1, }
var CAM_POLICY_CREATE_STRATEGY = []string{ CAM_POLICY_CREATE_STRATEGY_CUSTOM, CAM_POLICY_CREATE_STRATEGY_PRESET, CAM_POLICY_CREATE_STRATEGY_NULL, }
var CBS_CHARGE_TYPE = []string{ CBS_CHARGE_TYPE_PREPAID, CBS_CHARGE_TYPE_POSTPAID, }
var CBS_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var CBS_PREPAID_RENEW_FLAG = []string{ CBS_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW, CBS_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW, CBS_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW, }
var CBS_STORAGE_TYPE = []string{ CBS_STORAGE_TYPE_CLOUD_BASIC, CBS_STORAGE_TYPE_CLOUD_PREMIUM, CBS_STORAGE_TYPE_CLOUD_SSD, }
var CBS_STORAGE_USAGE = []string{ CBS_STORAGE_USAGE_SYSTEM_DISK, CBS_STORAGE_USAGE_DATA_DISK, }
var CDH_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var CDH_PREPAID_RENEW_FLAG = []string{ CDH_PREPAID_RENEW_FLAG_NOTIFY_AND_AUTO_RENEW, CDH_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW, CDH_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW, }
var CDN_AREA = []string{ CDN_AREA_MAINLAND, CDN_AREA_OVERSEAS, CDN_AREA_GLOBAL, }
var CDN_BACKUP_ORIGIN_TYPE = []string{ CDN_ORIGIN_TYPE_IP, CDN_ORIGIN_TYPE_DOMAIN, }
var CDN_FORCE_REDIRECT_TYPE = []string{ CDN_ORIGIN_PULL_PROTOCOL_HTTP, CDN_ORIGIN_PULL_PROTOCOL_HTTPS, }
var CDN_HEADER_RULE = []string{ CDN_RULE_TYPE_ALL, CDN_RULE_TYPE_FILE, CDN_RULE_TYPE_DIRECTORY, CDN_RULE_TYPE_PATH, }
var CDN_HTTPS_SWITCH = []string{ CDN_DOMAIN_STATUS_ONLINE, CDN_DOMAIN_STATUS_OFFLINE, CDN_DOMAIN_STATUS_PROCESSING, }
var CDN_ORIGIN_PULL_PROTOCOL = []string{ CDN_ORIGIN_PULL_PROTOCOL_HTTP, CDN_ORIGIN_PULL_PROTOCOL_HTTPS, CDN_ORIGIN_PULL_PROTOCOL_FOLLOW, }
var CDN_ORIGIN_TYPE = []string{ CDN_ORIGIN_TYPE_DOMAIN, CDN_ORIGIN_TYPE_COS, CDN_ORIGIN_TYPE_IP, CDN_ORIGIN_TYPE_IPV6, CDN_ORIGIN_TYPE_IP_IPV6, }
var CDN_RULE_TYPE = []string{ CDN_RULE_TYPE_ALL, CDN_RULE_TYPE_FILE, CDN_RULE_TYPE_DIRECTORY, CDN_RULE_TYPE_PATH, CDN_RULE_TYPE_INDEX, CDN_RULE_TYPE_DEFAULT, }
var CDN_SERVICE_TYPE = []string{ CDN_SERVICE_TYPE_WEB, CDN_SERVICE_TYPE_DOWNLOAD, CDN_SERVICE_TYPE_MEDIA, CDN_SERVICE_TYPE_HYBIRD, CDN_SERVICE_TYPE_DYNAMIC, }
var CDN_SWITCH = []string{ CDN_SWITCH_OFF, CDN_SWITCH_ON, }
var CERT_SSL_MODE = []string{ CERT_SSL_MODE_UNI, CERT_SSL_MODE_MUT, }
var CERT_TYPES = []int{ CERT_TYPE_0, CERT_TYPE_1, CERT_TYPE_2, }
var CFS_NET = []string{ CFS_NET_VPC, CFS_NET_CCN, }
var CFS_PROTOCOL = []string{ CFS_PROTOCOL_NFS, CFS_PROTOCOL_CIFS, CFS_PROTOCOL_TURBO, }
var CFS_RW_PERMISSION = []string{ CFS_RW_PERMISSION_RO, CFS_RW_PERMISSION_RW, }
var CFS_STORAGETYPE = []string{ CFS_STORAGETYPE_SD, CFS_STORAGETYPE_HP, CFS_STORAGETYPE_TB, CFS_STORAGETYPE_TP, }
var CFS_USER_PERMISSION = []string{ CFS_USER_PERMISSION_ALL_SQUASH, CFS_USER_PERMISSION_NO_ALL_SQUASH, CFS_USER_PERMISSION_ROOT_SQUASH, CFS_USER_PERMISSION_NO_ROOT_SQUASH, }
var CIPHER_TEMPLATES = []int{ CIPHER_TEMPLATE_1, CIPHER_TEMPLATE_2, CIPHER_TEMPLATE_3, }
var CKAFKA_ACL_OPERATION = map[string]int64{
"UNKNOWN": 0,
"ANY": 1,
"ALL": 2,
"READ": 3,
"WRITE": 4,
"CREATE": 5,
"DELETE": 6,
"ALTER": 7,
"DESCRIBE": 8,
"CLUSTER_ACTION": 9,
"DESCRIBE_CONFIGS": 10,
"ALTER_CONFIGS": 11,
"IDEMPOTEN_WRITE": 12,
}
var CKAFKA_ACL_OPERATION_TO_STRING = map[int64]string{
0: "UNKNOWN",
1: "ANY",
2: "ALL",
3: "READ",
4: "WRITE",
5: "CREATE",
6: "DELETE",
7: "ALTER",
8: "DESCRIBE",
9: "CLUSTER_ACTION",
10: "DESCRIBE_CONFIGS",
11: "ALTER_CONFIGS",
12: "IDEMPOTEN_WRITE",
}
var CKAFKA_ACL_RESOURCE_TYPE = map[string]int64{
"UNKNOWN": 0,
"ANY": 1,
"TOPIC": 2,
"GROUP": 3,
"CLUSTER": 4,
"TRANSACTIONAL_ID": 5,
}
var CKAFKA_ACL_RESOURCE_TYPE_TO_STRING = map[int64]string{
0: "UNKNOWN",
1: "ANY",
2: "TOPIC",
3: "GROUP",
4: "CLUSTER",
5: "TRANSACTIONAL_ID",
}
var CKAFKA_INSTANCE_TYPE = map[string]int64{
"general": 1,
"standard": 2,
"advanced": 3,
"capacity": 4,
"specialized-1": 5,
"specialized-2": 6,
"specialized-3": 7,
"specialized-4": 8,
"exclusive": 9,
}
var CKAFKA_PERMISSION_TYPE = map[string]int64{
"UNKNOWN": 0,
"ANY": 1,
"DENY": 2,
"ALLOW": 3,
}
var CKAFKA_PERMISSION_TYPE_TO_STRING = map[int64]string{
0: "UNKNOWN",
1: "ANY",
2: "DENY",
3: "ALLOW",
}
var CLB_DOMAIN_ENGINE = []int{ CLB_DOMAIN_ENGINE_10, CLB_DOMAIN_ENGINE_11, CLB_DOMAIN_ENGINE_12, CLB_DOMAIN_ENGINE_20, CLB_DOMAIN_ENGINE_21, CLB_DOMAIN_ENGINE_22, }
var CLB_DOMAIN_STATUS = []int{ CLB_DOMAIN_STATUS_0, CLB_DOMAIN_STATUS_1, }
var CLB_HTTP_METHOD = []string{ CLB_HTTP_METHOD_GET, CLB_HTTP_METHOD_HEAD, }
var CLB_LISTENER_PROTOCOL = []string{ CLB_LISTENER_PROTOCOL_TCP, CLB_LISTENER_PROTOCOL_UDP, CLB_LISTENER_PROTOCOL_HTTP, CLB_LISTENER_PROTOCOL_HTTPS, CLB_LISTENER_PROTOCOL_TCPSSL, CLB_LISTENER_PROTOCOL_QUIC, }
var CLB_LISTENER_SCHEDULER = []string{ CLB_LISTENER_SCHEDULER_WRR, CLB_LISTENER_SCHEDULER_LEASTCONN, CLB_LISTENER_SCHEDULER_IP_HASH, }
var CLB_NETWORK_TYPE = []string{ CLB_NETWORK_TYPE_OPEN, CLB_NETWORK_TYPE_INTERNAL, }
var CLS_STATUS = []int{ CLS_STATUS_0, CLS_STATUS_1, }
var CLUSTER_ORDER_TYPE = []int{ CLUSTER_ORDER_TYPE_1, CLUSTER_ORDER_TYPE_2, CLUSTER_ORDER_TYPE_3, }
var CLUSTER_TYPE = []int{ CLUSTER_TYPE_1, CLUSTER_TYPE_2, }
var CNAME_SPEEDUP_STATUS = []string{ CNAME_SPEEDUP_STATUS_ENABLED, CNAME_SPEEDUP_STATUS_DISABLED, }
var CONTEX_TYPE = []string{ CONTEX_TYPE_HEX, CONTEX_TYPE_TEXT, }
var COSACLGranteeTypeSeq = []string{ COS_ACL_GRANTEE_TYPE_USER, COS_ACL_GRANTEE_TYPE_ANONYMOUS, }
var COSACLPermissionSeq = []string{
"READ",
"WRITE",
"FULL_CONTROL",
"WRITE_ACP",
"READ_ACP",
}
var CROSS_A_ZONE = []int{ CROSS_A_ZONE_0, CROSS_A_ZONE_1, }
var CUSTOM_RULE_ACTION_TYPE = []string{ CUSTOM_RULE_ACTION_TYPE_1, CUSTOM_RULE_ACTION_TYPE_2, CUSTOM_RULE_ACTION_TYPE_3, CUSTOM_RULE_ACTION_TYPE_4, }
var CUSTOM_RULE_STATUS = []string{ CUSTOM_RULE_STATUS_0, CUSTOM_RULE_STATUS_1, }
var CUSTOM_WHITE_RULE_STATUS = []string{ CUSTOM_WHITE_RULE_STATUS_0, CUSTOM_WHITE_RULE_STATUS_1, }
var CVM_CHARGE_TYPE = []string{ CVM_CHARGE_TYPE_PREPAID, CVM_CHARGE_TYPE_POSTPAID, CVM_CHARGE_TYPE_SPOTPAID, CVM_CHARGE_TYPE_CDHPAID, }
var CVM_DISK_TYPE = []string{ CVM_DISK_TYPE_LOCAL_BASIC, CVM_DISK_TYPE_LOCAL_SSD, CVM_DISK_TYPE_CLOUD_BASIC, CVM_DISK_TYPE_CLOUD_SSD, CVM_DISK_TYPE_CLOUD_PREMIUM, CVM_DISK_TYPE_CLOUD_BSSD, CVM_DISK_TYPE_CLOUD_HSSD, CVM_DISK_TYPE_CLOUD_TSSD, }
var CVM_INTERNET_CHARGE_TYPE = []string{ CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID, CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID, CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE, CVM_INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID, }
var CVM_PLACEMENT_GROUP_TYPE = []string{ CVM_PLACEMENT_GROUP_TYPE_HOST, CVM_PLACEMENT_GROUP_TYPE_SW, CVM_PLACEMENT_GROUP_TYPE_RACK, }
var CVM_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var CVM_PREPAID_RENEW_FLAG = []string{ CVM_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW, CVM_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW, CVM_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW, }
var CVM_RETRYABLE_ERROR = []string{
"ClientError.HttpStatusCodeError",
}
Only client error can cvm retry, others will directly returns
var CVM_SPOT_INSTANCE_TYPE = []string{ CVM_SPOT_INSTANCE_TYPE_ONE_TIME, }
var CsrTypeArr = []string{ CsrTypeOnline, CsrTypeParse, }
var DAYU_APP_PLATFORM = []string{DAYU_APP_PLATFORM_PC, DAYU_APP_PLATFORM_MOBILE, DAYU_APP_PLATFORM_TV, DAYU_APP_PLATFORM_SERVER}
var DAYU_APP_TYPE = []string{DAYU_APP_TYPE_WEB, DAYU_APP_TYPE_GAME, DAYU_APP_TYPE_APP, DAYU_APP_TYPE_OTHER}
var DAYU_BOOL_FLAG = []string{DAYU_BOOL_FLAG_FALSE, DAYU_BOOL_FLAG_TRUE}
var DAYU_CC_POLICY_ACTION = []string{DAYU_CC_POLICY_ACTION_DROP, DAYU_CC_POLICY_ACTION_ALG}
var DAYU_CC_POLICY_CHECK_OP = []string{DAYU_CC_POLICY_CHECK_OP_INCLUDE, DAYU_CC_POLICY_CHECK_OP_NOT_INCLUDE, DAYU_CC_POLICY_CHECK_OP_EQUAL}
var DAYU_CC_POLICY_CHECK_OP_HTTPS = []string{DAYU_CC_POLICY_CHECK_OP_INCLUDE, DAYU_CC_POLICY_CHECK_OP_EQUAL}
var DAYU_CC_POLICY_HTTPS_CHECK_TYPE = []string{DAYU_CC_POLICY_CHECK_TYPE_CGI, DAYU_CC_POLICY_CHECK_TYPE_UA, DAYU_CC_POLICY_CHECK_TYPE_REFERER}
var DAYU_CC_POLICY_HTTP_CHECK_TYPE = []string{DAYU_CC_POLICY_CHECK_TYPE_HOST, DAYU_CC_POLICY_CHECK_TYPE_CGI, DAYU_CC_POLICY_CHECK_TYPE_UA, DAYU_CC_POLICY_CHECK_TYPE_REFERER}
var DAYU_CC_POLICY_SMODE = []string{DAYU_CC_POLICY_SMODE_MATCH, DAYU_CC_POLICY_SMODE_SPEED_LIMIT}
var DAYU_IP_TYPE = []string{DAYU_IP_TYPE_BLACK, DAYU_IP_TYPE_WHITE}
var DAYU_L4_RULE_PROTOCOL = []string{DAYU_L4_RULE_PROTOCOL_TCP, DAYU_L4_RULE_PROTOCOL_UDP}
var DAYU_L7_RULE_PROTOCOL = []string{DAYU_L7_RULE_PROTOCOL_HTTP, DAYU_L7_RULE_PROTOCOL_HTTPS}
var DAYU_L7_RULE_SOURCE_TYPE = []int{DAYU_L7_RULE_SOURCE_TYPE_HOST, DAYU_L7_RULE_SOURCE_TYPE_IP}
var DAYU_MATCH_SWITCH = []string{DAYU_MATCH_SWITCH_ON_L5, DAYU_MATCH_SWITCH_OFF}
var DAYU_MATCH_TYPE = []string{DAYU_MATCH_TYPE_SUNDAY, DAYU_MATCH_TYPE_PCRE}
var DAYU_PACKET_ACTION = []string{DAYU_PACKET_ACTION_DROP, DAYU_PACKET_ACTION_TRANSMIT, DAYU_PACKET_PROTOCOL_DROP_BLACK, DAYU_PACKET_PROTOCOL_DROP_RST, DAYU_PACKET_PROTOCOL_DROP_BLACK_RST}
var DAYU_PORT_ACTION = []string{DAYU_PORT_ACTION_DROP, DAYU_PORT_ACTION_TRANSMIT}
var DAYU_PROTOCOL = []string{DAYU_PROTOCOL_TCP, DAYU_PROTOCOL_UDP, DAYU_PROTOCOL_ICMP, DAYU_PROTOCOL_ALL}
var DAYU_RESOURCE_TYPE = []string{DAYU_RESOURCE_TYPE_BGPIP, DAYU_RESOURCE_TYPE_BGP, DAYU_RESOURCE_TYPE_BGPMUL, DAYU_RESOURCE_TYPE_NET}
var DAYU_RESOURCE_TYPE_CASE = []string{DAYU_RESOURCE_TYPE_BGPIP, DAYU_RESOURCE_TYPE_BGPMUL, DAYU_RESOURCE_TYPE_BGP}
var DAYU_RESOURCE_TYPE_HTTPS = []string{DAYU_RESOURCE_TYPE_BGPIP}
var DAYU_RESOURCE_TYPE_RULE = []string{DAYU_RESOURCE_TYPE_BGPIP, DAYU_RESOURCE_TYPE_NET}
var DAYU_RULE_METHOD = []string{ DAYU_RULE_METHOD_GET, DAYU_RULE_METHOD_HEAD, }
var DCG_GATEWAY_TYPES = []string{DCG_GATEWAY_TYPE_NORMAL, DCG_GATEWAY_TYPE_NAT}
var DCG_NETWORK_TYPES = []string{DCG_NETWORK_TYPE_VPC, DCG_NETWORK_TYPE_CCN}
var DC_NETWORK_TYPES = []string{DC_NETWORK_TYPE_VPC, DC_NETWORK_TYPE_BMVPC, DC_NETWORK_TYPE_CCN}
var DC_ROUTE_TYPES = []string{DC_ROUTE_TYPE_BGP, DC_ROUTE_TYPE_STATIC}
var DDOS_EIP_BIND_RESOURCE_TYPE = []string{DDOS_EIP_BIND_RESOURCE_TYPE_CVM, DDOS_EIP_BIND_RESOURCE_TYPE_CLB}
var DDOS_EIP_BIND_STATUS = []string{DDOS_EIP_BIND_STATUS_BINDING, DDOS_EIP_BIND_STATUS_BIND, DDOS_EIP_BIND_STATUS_UNBINDING, DDOS_EIP_BIND_STATUS_UNBIND}
var DESC_BY_JOB_CONFIG_CREATETIME = []int{ DESC_BY_JOB_CONFIG_CREATETIME_0, DESC_BY_JOB_CONFIG_CREATETIME_1, }
var DIRECTION = []string{ DIRECTION_0, DIRECTION_1, DIRECTION_3, }
var DNSPOD_DOMAIN_MARK_TYPE = []string{ DNSPOD_DOMAIN_MARK_YES, DNSPOD_DOMAIN_MARK_NO, }
var DNSPOD_DOMAIN_STATUS_TYPE = []string{ DNSPOD_DOMAIN_STATUS_ENABLE, DNSPOD_DOMAIN_STATUS_DISABLE, }
var DNSPOD_OV_EV_TYPE = []int64{51, 52, 53}
var DPD_ACTIONS = []string{ DPD_ACTION_CLEAR, DPD_ACTION_RESTART, }
var EDITION_TYPE = []string{ EDITION_SAAS, EDITION_CLB, }
var EIP_ANYCAST_ZONE = []string{ EIP_ANYCAST_ZONE_GLOBAL, EIP_ANYCAST_ZONE_OVERSEAS, }
var EIP_AVAILABLE_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var EIP_INTERNET_PROVIDER = []string{ EIP_INTERNET_PROVIDER_BGP, EIP_INTERNET_PROVIDER_CMCC, EIP_INTERNET_PROVIDER_CTCC, EIP_INTERNET_PROVIDER_CUCC, }
var EIP_TYPE = []string{ EIP_TYPE_EIP, EIP_TYPE_ANYCAST, EIP_TYPE_HIGH_QUALITY, EIP_TYPE_ANTI_DDOS, }
var ELASTIC_MODE = []int{ ELASTIC_MODE_0, ELASTIC_MODE_1, }
var EMR_MASTER_WAN_TYPES = []string{EMR_MASTER_WAN_TYPE_NEED_MASTER_WAN, EMR_MASTER_WAN_TYPE_NOT_NEED_MASTER_WAN}
var ES_BASIC_SECURITY_TYPE = []int{ ES_BASIC_SECURITY_TYPE_ON, ES_BASIC_SECURITY_TYPE_OFF, }
var ES_CHARGE_TYPE = []string{ ES_CHARGE_TYPE_POSTPAID_BY_HOUR, ES_CHARGE_TYPE_PREPAID, }
var ES_DEPLOY_MODE = []int{ ES_DEPLOY_MODE_SINGLE_REGION, ES_DEPLOY_MODE_MULTI_REGION, }
var ES_LICENSE_TYPE = []string{ ES_LICENSE_TYPE_BASIC, ES_LICENSE_TYPE_PLATINUM, ES_LICENSE_TYPE_OSS, }
var ES_NODE_DISK_TYPE = []string{ CVM_DISK_TYPE_CLOUD_SSD, CVM_DISK_TYPE_CLOUD_PREMIUM, CVM_DISK_TYPE_CLOUD_HSSD, }
var ES_NODE_TYPE = []string{ ES_NODE_TYPE_HOT_DATA, ES_NODE_TYPE_WARM_DATA, ES_NODE_TYPE_DEDICATED_MATER, }
var ES_RENEW_FLAG = []string{ ES_RENEW_FLAG_AUTO, ES_RENEW_FLAG_MANUAL, }
var FLOW_MODE_STATUS = []int{ FLOW_MODE_0, FLOW_MODE_1, }
var FORWARD_TYPE = []string{ FORWARD_TYPE_HTTP, }
var FW_TYPE = []string{ FW_TYPE_NAT, FW_TYPE_EW, }
var FileExtTypeMatch = map[string]map[string]bool{ TCAPLUS_IDL_TYPE_PROTO: { TCAPLUS_FILE_EXT_TYPE_PROTO: true, }, TCAPLUS_IDL_TYPE_TDR: { TCAPLUS_FILE_EXT_TYPE_XML: true, }, TCAPLUS_IDL_TYPE_MIX: { TCAPLUS_FILE_EXT_TYPE_PROTO: true, TCAPLUS_FILE_EXT_TYPE_XML: true, }, }
var GEOTRUST_OV_EV_TYPE = []int64{8, 9, 10}
var GLOBALSIGN_OV_EV_TYPE = []int64{18, 19, 20, 21, 22, 23, 24}
var HEALTH_CHECK_TYPE = []string{ HEALTH_CHECK_TYPE_CUSTOM, HEALTH_CHECK_TYPE_TCP, HEALTH_CHECK_TYPE_HTTP, }
var HTTPS_REWRITE_STATUS = []int{ HTTPS_REWRITE_0, HTTPS_REWRITE_1, }
var HTTP_VERSION = []string{ HTTP_VERSION_ONE_ZERO, HTTP_VERSION_ONE_ONE, }
var IMPORT_OPEN_API_ENCODE_TYPE = []string{ IMPORT_OPEN_API_ENCODE_TYPE_YAML, IMPORT_OPEN_API_ENCODE_TYPE_JSON, }
var INSTANCE_NAME_STYLE = []string{ INSTANCE_NAME_ORIGINAL, INSTANCE_NAME_UNIQUE, }
var INTERNET_CHARGE_ALLOW_TYPE = []string{ INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID, INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID_BY_HOUR, INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID_BY_HOUR, INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE, }
var IPV6_STATUS = []int{ IPV6_STATUS_0, IPV6_STATUS_1, }
var IS_GRAY_STATUS = []int{ IS_GRAY_0, IS_GRAY_1, }
var IS_HTTP2_STATUS = []int{ IS_HTTP2_0, IS_HTTP2_1, }
var IS_KEEP_ALIVE_STATUS = []string{ IS_KEEP_ALIVE_0, IS_KEEP_ALIVE_1, }
var IS_WEBSOCKET_STATUS = []int{ IS_WEBSOCKET_0, IS_WEBSOCKET_1, }
var JOB_TYPE = []int{ JOB_TYPE_1, JOB_TYPE_2, }
var KMS_ORIGIN_TYPE = map[string]uint64{ KMS_ORIGIN_TENCENT_KMS: 1, KMS_ORIGIN_EXTERNAL: 2, }
var KMS_RETRYABLE_ERROR = []string{
"ClientError.NetworkError",
"ClientError.HttpStatusCodeError",
}
var LABEL_TYPES_CLB = map[string]string{ WAF_PREMIUM_CLB: "sv_wsm_waf_package_premium_clb", WAF_ENTERPRISE_CLB: "sv_wsm_waf_package_enterprise_clb", WAF_ULTIMATE_CLB: "sv_wsm_waf_package_ultimate_clb", }
var LABEL_TYPES_SAAS = map[string]string{ WAF_PREMIUM_SAAS: "sv_wsm_waf_package_premium", WAF_ENTERPRISE_SAAS: "sv_wsm_waf_package_enterprise", WAF_ULTIMATE_SAAS: "sv_wsm_waf_package_ultimate", }
var LICENSE_TYPE = []int{ LICENSE_TYPE_0, LICENSE_TYPE_1, LICENSE_TYPE_2, }
var LOAD_BALANCE_STATUS = []string{ LOAD_BALANCE_0, LOAD_BALANCE_1, LOAD_BALANCE_2, }
var MAINLAND = []int{ MAINLAND_0, MAINLAND_1, }
var MODE = []int{ MODE_0, MODE_1, }
var MONGODB_AUTO_RENEW_FLAG = map[int]string{
0: "NOTIFY_AND_MANUAL_RENEW",
1: "NOTIFY_AND_AUTO_RENEW",
2: "DISABLE_NOTIFY_AND_MANUAL_RENEW",
}
var MONGODB_CHARGE_TYPE = map[uint64]string{ 0: MONGODB_CHARGE_TYPE_POSTPAID, 1: MONGODB_CHARGE_TYPE_PREPAID, }
var MONGODB_CLUSTER_TYPE = []string{ MONGODB_CLUSTER_TYPE_REPLSET, MONGODB_CLUSTER_TYPE_SHARD, }
var MONGODB_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var MYSQL_ALLOW_BACKUP_MODEL = []string{"logical", "physical"}
var MYSQL_ALLOW_BACKUP_TIME = []string{"02:00-06:00", "06:00-10:00", "10:00-14:00", "14:00-18:00", "18:00-22:00", "22:00-02:00"}
var MYSQL_AVAILABLE_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
mysql available period value
var MYSQL_CHARGE_TYPE = map[int]string{ MysqlPayByMonth: MYSQL_CHARGE_TYPE_PREPAID, MysqlPayByUse: MYSQL_CHARGE_TYPE_POSTPAID, }
var MYSQL_COLUMN_PRIVILEGE = []string{
"SELECT", "INSERT", "UPDATE", "REFERENCES",
}
var MYSQL_DATABASE_MUST_PRIVILEGE = "SHOW VIEW"
var MYSQL_DATABASE_PRIVILEGE = []string{"SELECT", "INSERT", "UPDATE", "DELETE",
"CREATE", "DROP", "REFERENCES", "INDEX",
"ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES",
"EXECUTE", "CREATE VIEW", "SHOW VIEW",
"CREATE ROUTINE", "ALTER ROUTINE", "EVENT", "TRIGGER"}
var MYSQL_DEFAULT_ACCOUNT_HOST = "%"
default to all host
var MYSQL_GlOBAL_PRIVILEGE = []string{
"ALTER", "ALTER ROUTINE", "CREATE", "CREATE ROUTINE", "CREATE TEMPORARY TABLES",
"CREATE USER", "CREATE VIEW", "DELETE", "DROP", "EVENT", "EXECUTE", "INDEX", "INSERT",
"LOCK TABLES", "PROCESS", "REFERENCES", "RELOAD", "REPLICATION CLIENT",
"REPLICATION SLAVE", "SELECT", "SHOW DATABASES", "SHOW VIEW", "TRIGGER", "UPDATE",
}
var MYSQL_ROLE_MAP = map[int64]string{
1: "master",
2: "ro",
3: "dr",
}
var MYSQL_SUPPORTS_ENGINE = []string{"5.5", "5.6", "5.7", "8.0"}
var MYSQL_TABLE_PRIVILEGE = []string{
"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX",
"ALTER", "CREATE VIEW", "SHOW VIEW", "TRIGGER",
}
var MYSQL_TASK_STATUS = map[string]int64{
"UNDEFINED": -1,
"INITIAL": 0,
"RUNNING": 1,
"SUCCEED": 2,
"FAILED": 3,
"KILLED": 4,
"REMOVED": 5,
"PAUSED": 6,
}
var MYSQL_TASK_TYPES = map[string]int64{
"ROLLBACK": 1,
"SQL OPERATION": 2,
"IMPORT DATA": 3,
"MODIFY PARAM": 5,
"INITIAL": 6,
"REBOOT": 7,
"OPEN GTID": 8,
"UPGRADE RO": 9,
"BATCH ROLLBACK": 10,
"UPGRADE MASTER": 11,
"DROP TABLES": 12,
"SWITCH DR TO MASTER": 13,
}
var MetricNameList = []string{ METRIC_NAME_ACCESS, METRIC_NAME_BOTACCESS, METRIC_NAME_DOWN, METRIC_NAME_UP, METRIC_NAME_ATTACK, METRIC_NAME_CC, METRIC_NAME_STATUSSERVERERROR, METRIC_NAME_STATUSCLIENTERROR, METRIC_NAME_STATUSREDIRECT, METRIC_NAME_STATUSOK, METRIC_NAME_UPSTREAMSERVERERROR, METRIC_NAME_UPSTREAMCLIENTERROR, METRIC_NAME_UPSTREAMREDIRECT, }
var MonitorRegionMap = map[string]string{
"ap-guangzhou": "gz",
"ap-shenzhen-fsi": "szjr",
"ap-guangzhou-open": "gzopen",
"ap-shenzhen": "szx",
"ap-shanghai": "sh",
"ap-shanghai-fsi": "shjr",
"ap-nanjing": "nj",
"ap-jinan-ec": "jnec",
"ap-hangzhou-ec": "hzec",
"ap-fuzhou-ec": "fzec",
"ap-beijing": "bj",
"ap-tianjin": "tsn",
"ap-shijiazhuang-ec": "sjwec",
"ap-beijing-fsi": "bjjr",
"ap-wuhan-ec": "whec",
"ap-changsha-ec": "csec",
"ap-chengdu": "cd",
"ap-chongqing": "cq",
"ap-taipei": "tpe",
"ap-hongkong": "hk",
"ap-singapore": "sg",
"ap-bangkok": "th",
"ap-mumbai": "in",
"ap-seoul": "kr",
"ap-tokyo": "jp",
"na-siliconvalley": "usw",
"na-ashburn": "use",
"na-toronto": "ca",
"eu-frankfurt": "de",
"eu-moscow": "ru",
}
regions in monitor
var MysqlDelStates = map[int64]bool{ MYSQL_STATUS_ISOLATING: true, MYSQL_STATUS_ISOLATED: true, MYSQL_STATUS_ISOLATED_1: true, MYSQL_STATUS_ISOLATED_2: true, }
var PAY_MODE_TO_CHARGE_TYPE = map[string]string{ CDWCH_PAY_MODE_HOUR: CDWCH_CHARGE_TYPE_POSTPAID_BY_HOUR, CDWCH_PAY_MODE_PREPAY: CDWCH_CHARGE_TYPE_PREPAID, }
var PID_CLB = map[string]int{ WAF_PREMIUM_CLB: 1001150, WAF_ENTERPRISE_CLB: 1001152, WAF_ULTIMATE_CLB: 1001154, }
var PID_SAAS = map[string]int{ WAF_PREMIUM_SAAS: 1000827, WAF_ENTERPRISE_SAAS: 1000830, WAF_ULTIMATE_SAAS: 1000832, }
var PKG_SAAS = map[string]int{
"DOMAIN": 1000834,
"QPS": 1000481,
}
var POLICY_ENABLE = []string{ POLICY_ENABLE_TRUE, POLICY_ENABLE_FALSE, }
var POLICY_RULE_ACTION = []string{ POLICY_RULE_ACTION_ACCEPT, POLICY_RULE_ACTION_DROP, POLICY_RULE_ACTION_LOG, }
var POLICY_SCOPE = []string{ POLICY_SCOPE_SERIAL, POLICY_SCOPE_SIDE, POLICY_SCOPE_ALL, }
var POSTGRESQL_DB_CHARSET = []string{POSTGRESQL_DB_CHARSET_UTF8, POSTGRESQL_DB_CHARSET_LATIN1}
var POSTGRESQL_PAYTYPE = []string{COMMON_PAYTYPE_POSTPAID}
var POSTGRESQL_RETRYABLE_STATUS = []string{
"initing",
"expanding",
"switching",
"deployment changing",
}
var POSTSQL_DB_VERSION = []string{POSTGRESQL_DB_VERSION_9_3_5, POSTGRESQL_DB_VERSION_9_5_4, POSTGRESQL_DB_VERSION_10_4}
var PRIVATE_DNS_FORWARD_STATUS = []string{ DNS_FORWARD_STATUS_ENABLE, DNS_FORWARD_STATUS_DISABLED, }
var (
PROXY_NETWORK_TYPE = []string{NETWORK_TYPE_NORMAL, NETWORK_TYPE_CN2, NETWORK_TYPE_TRIPLE}
)
var RECORD_TYPE = []int{ RECORD_TYPE_1, RECORD_TYPE_2, RECORD_TYPE_3, }
var REDIS_CHARGE_TYPE_ID = map[string]int64{ REDIS_CHARGE_TYPE_POSTPAID: 0, REDIS_CHARGE_TYPE_PREPAID: 1, }
var REDIS_CHARGE_TYPE_NAME = map[int64]string{ 0: REDIS_CHARGE_TYPE_POSTPAID, 1: REDIS_CHARGE_TYPE_PREPAID, }
var REDIS_MODIFY_NETWORK_CONFIG = []string{"changeVip", "changeVpc", "changeBaseToVpc", "changeVPort"}
var REDIS_NAMES = map[int64]string{ REDIS_VERSION_MASTER_SLAVE_REDIS: "master_slave_redis", REDIS_VERSION_MASTER_SLAVE_CKV: "master_slave_ckv", REDIS_VERSION_CLUSTER_REDIS: "cluster_redis", REDIS_VERSION_CLUSTER_CKV: "cluster_ckv", REDIS_VERSION_STANDALONE_REDIS: "standalone_redis", REDIS_VERSION_MASTER_SLAVE_REDIS4: "master_slave_redis4.0", REDIS_VERSION_MASTER_SLAVE_REDIS5: "master_slave_redis5.0", REDIS_VERSION_CLUSTER_REDIS5: "cluster_redis5.0", }
var REDIS_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
var REDIS_RECYCLE_TIME = []int{0, 1, 2, 3, 7, 15}
var REDIS_STATUS = map[int64]string{ REDIS_STATUS_INIT: "init", REDIS_STATUS_PROCESSING: "processing", REDIS_STATUS_ONLINE: "online", REDIS_STATUS_ISOLATE: "isolate", REDIS_STATUS_TODELETE: "todelete", }
var REGION_ID = []int{ REGION_ID_1, REGION_ID_9, }
var RULE_TYPE = []int{ RULE_TYPE_1, RULE_TYPE_2, }
var RegionIdMap = map[string]string{
"ap-guangzhou": "1",
"ap-shanghai": "4",
"ap-hongkong": "5",
"na-toronto": "6",
"ap-shanghai-fsi": "7",
"ap-beijing": "8",
"ap-singapore": "9",
"ap-shenzhen-fsi": "11",
"ap-guangzhou-open": "12",
"ap-shanghai-ysx": "13",
"na-siliconvalley": "15",
"ap-chengdu": "16",
"eu-frankfurt": "17",
"ap-seoul": "18",
"ap-chongqing": "19",
"ap-mumbai": "21",
"na-ashburn": "22",
"ap-bangkok": "23",
"eu-moscow": "24",
"ap-tokyo": "25",
"ap-jinan-ec": "31",
"ap-hangzhou-ec": "32",
"ap-nanjing": "33",
"ap-fuzhou-ec": "34",
"ap-wuhan-ec": "35",
"ap-tianjin": "36",
"ap-shenzhen": "37",
"ap-taipei": "39",
"ap-changsha-ec": "45",
"ap-beijing-fsi": "46",
"ap-shijiazhuang-ec": "53",
"ap-qingyuan": "54",
"ap-hefei-ec": "55",
"ap-shenyang-ec": "56",
"ap-xian-ec": "57",
"ap-xibei-ec": "58",
"ap-zhengzhou-ec": "71",
"ap-jakarta": "72",
"ap-qingyuan-xinan": "73",
"sa-saopaulo": "74",
"ap-guiyang": "76",
"ap-shenzhen-sycft": "77",
"ap-shanghai-adc": "78",
}
FIXME: temp data, use api request instead if support
var SAAS_DOMAIN_STATUS = []int{ SAAS_DOMAIN_STATUS_0, SAAS_DOMAIN_STATUS_1, }
var SAAS_REAL_REGIONS = append(SAAS_REAL_REGION_MAINLAND, SAAS_REAL_REGION_NON_MAINLAND...)
var SAAS_REAL_REGION_MAINLAND = []string{ SAAS_REAL_REGION_MAINLAND_GZ, SAAS_REAL_REGION_MAINLAND_SH, SAAS_REAL_REGION_MAINLAND_BJ, SAAS_REAL_REGION_MAINLAND_CD, }
var SAAS_REAL_REGION_MAINLAND_ID_MAP = map[string]int{ SAAS_REAL_REGION_MAINLAND_GZ: 1, SAAS_REAL_REGION_MAINLAND_SH: 4, SAAS_REAL_REGION_MAINLAND_BJ: 8, SAAS_REAL_REGION_MAINLAND_CD: 16, }
var SAAS_REAL_REGION_NON_MAINLAND = []string{ SAAS_REAL_REGION_NON_MAINLAND_HK, SAAS_REAL_REGION_NON_MAINLAND_SG, SAAS_REAL_REGION_NON_MAINLAND_TH, SAAS_REAL_REGION_NON_MAINLAND_KR, SAAS_REAL_REGION_NON_MAINLAND_IN, SAAS_REAL_REGION_NON_MAINLAND_DE, SAAS_REAL_REGION_NON_MAINLAND_CA, SAAS_REAL_REGION_NON_MAINLAND_USE, SAAS_REAL_REGION_NON_MAINLAND_SAO, SAAS_REAL_REGION_NON_MAINLAND_USW, SAAS_REAL_REGION_NON_MAINLAND_JKT, }
var SAAS_REAL_REGION_NON_MAINLAND_ID_MAP = map[string]int{ SAAS_REAL_REGION_NON_MAINLAND_HK: 5, SAAS_REAL_REGION_NON_MAINLAND_SG: 9, SAAS_REAL_REGION_NON_MAINLAND_TH: 23, SAAS_REAL_REGION_NON_MAINLAND_KR: 18, SAAS_REAL_REGION_NON_MAINLAND_IN: 21, SAAS_REAL_REGION_NON_MAINLAND_DE: 17, SAAS_REAL_REGION_NON_MAINLAND_CA: 6, SAAS_REAL_REGION_NON_MAINLAND_USE: 22, SAAS_REAL_REGION_NON_MAINLAND_SAO: 43, SAAS_REAL_REGION_NON_MAINLAND_USW: 51, SAAS_REAL_REGION_NON_MAINLAND_JKT: 72, }
var SCALING_DISK_TYPE_ALLOW_POLICY = []string{ SCALING_DISK_TYPE_POLICY_ORIGINAL, SCALING_DISK_TYPE_POLICY_AUTOMATIC, }
var SCALING_GROUP_ADJUSTMENT_TYPE = []string{ SCALING_GROUP_ADJUSTMENT_TYPE_CHANGE_IN_CAPACITY, SCALING_GROUP_ADJUSTMENT_TYPE_EXACT_CAPACITY, SCALING_GROUP_ADJUSTMENT_TYPE_PERCENT_CHANGE_IN_CAPACITY, }
var SCALING_GROUP_COMPARISON_OPERATOR = []string{ SCALING_GROUP_COMPARISON_OPERATOR_GREATER, SCALING_GROUP_COMPARISON_OPERATOR_GREATER_EQUAL, SCALING_GROUP_COMPARISON_OPERATOR_LESS, SCALING_GROUP_COMPARISON_OPERATOR_LESS_EQUAL, SCALING_GROUP_COMPARISON_OPERATOR_EQUAL, SCALING_GROUP_COMPARISON_OPERATOR_NOT_EQUAL, }
var SCALING_GROUP_METRIC_NAME = []string{ SCALING_GROUP_METRIC_NAME_CPU_UTILIZATION, SCALING_GROUP_METRIC_NAME_MEM_UTILIZATION, SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_OUT, SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_IN, SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_OUT, SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_IN, }
var SCALING_GROUP_NOTIFICATION_TYPE = []string{ SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_SUCCESS, SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_FAILED, SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_SUCCESS, SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_FAILED, SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_SUCCESS, SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_FAILED, }
var SCALING_GROUP_STATISTIC = []string{ SCALING_GROUP_STATISTIC_AVERAGE, SCALING_GROUP_STATISTIC_MAXIMUM, SCALING_GROUP_STATISTIC_MINIMUM, }
var SECURESITE_OV_EV_TYPE = []int64{3, 4, 5, 6, 7}
var SNI_TYPES = []int{ SNI_TYPE_0, SNI_TYPE_1, SNI_TYPE_2, SNI_TYPE_3, }
var SQLSERVER_ACCOUNT_PRIVILEGE = []string{ SQLSERVER_ACCOUNT_RW, SQLSERVER_ACCOUNT_RO, }
var SQLSERVER_CHARGE_TYPE_NAME = map[string]string{ "PRE": SQLSERVER_CHARGE_TYPE_PREPAID, "POST": SQLSERVER_CHARGE_TYPE_POSTPAID, "ALL": "ALL", }
var SQLSERVER_CHARSET_LIST = []string{
"Chinese_PRC_CI_AS",
"Chinese_PRC_CS_AS",
"Chinese_PRC_BIN",
"Chinese_Taiwan_Stroke_CI_AS",
"SQL_Latin1_General_CP1_CI_AS",
"SQL_Latin1_General_CP1_CS_AS",
}
var SQLSERVER_DB_STATUS = map[int64]string{ SQLSERVER_DB_CREATING: "creating", SQLSERVER_DB_RUNNING: "running", SQLSERVER_DB_MODIFYING: "modifying", SQLSERVER_DB_DELETING: "deleting", SQLSERVER_DB_UPGRADING: "upgrading", SQLSERVER_DB_SWITCH_PENDING: "switch pending", SQLSERVER_DB_PUBSUB_CREATING: "pubsub creating", SQLSERVER_DB_PUBSUB_MODIFYING: "pubsub modifying", SQLSERVER_DB_SWITCHING: "switching", SQLSERVER_DB_RO_CREATING: "ro creating", }
var SQLSERVER_HA_TYPE_FLAGS = map[string]string{ SQLSERVER_HA_FLAG_SINGLE: "SINGLE", SQLSERVER_HA_FLAG_DAUL: "DUAL", SQLSERVER_HA_FLAG_CLUSTER: "CLUSTER", }
var SQLSERVER_MIGRATION_STATUS = map[int64]string{ SQLSERVER_MIGRATION_INIT: "init", SQLSERVER_MIGRATION_MIGRATING: "migrating", SQLSERVER_MIGRATION_FAILED: "failed", SQLSERVER_MIGRATION_COMPLETED: "completed", SQLSERVER_MIGRATION_TERMINATED: "terminated", }
var SQLSERVER_STATUS_WAITING = []int{ SQLSERVER_DB_CREATING, SQLSERVER_DB_MODIFYING, SQLSERVER_DB_UPGRADING, SQLSERVER_DB_SWITCH_PENDING, SQLSERVER_DB_PUBSUB_CREATING, SQLSERVER_DB_PUBSUB_MODIFYING, SQLSERVER_DB_SWITCHING, SQLSERVER_DB_RO_CREATING, }
var SSL_CERT_TYPE = []string{ SSL_CERT_TYPE_SERVER, SSL_CERT_TYPE_CA, }
var (
STATE_0 = 0
)
var STRATEGIES_FIELD = []string{ STRATEGIES_FIELD_RETURNCODE, STRATEGIES_FIELD_KEYWORDS, STRATEGIES_FIELD_INFORMATION, }
var SUB_PRODUCT_CODE_CLB = map[string]string{ WAF_PREMIUM_CLB: "sp_wsm_waf_premium_clb", WAF_ENTERPRISE_CLB: "sp_wsm_waf_enterprise_clb", WAF_ULTIMATE_CLB: "sp_wsm_waf_ultimate_clb", }
var SUB_PRODUCT_CODE_SAAS = map[string]string{ WAF_PREMIUM_SAAS: "sp_wsm_waf_premium", WAF_ENTERPRISE_SAAS: "sp_wsm_waf_enterprise", WAF_ULTIMATE_SAAS: "sp_wsm_waf_ultimate", }
var SWITCH_MODE = []int{ SWITCH_MODE_1, SWITCH_MODE_2, SWITCH_MODE_4, }
var SYSTEM_DISK_ALLOW_TYPE = []string{ SYSTEM_DISK_TYPE_LOCAL_BASIC, SYSTEM_DISK_TYPE_LOCAL_SSD, SYSTEM_DISK_TYPE_CLOUD_BASIC, SYSTEM_DISK_TYPE_CLOUD_PREMIUM, SYSTEM_DISK_TYPE_CLOUD_SSD, SYSTEM_DISK_TYPE_CLOUD_HSSD, SYSTEM_DISK_TYPE_CLOUD_TSSD, SYSTEM_DISK_TYPE_CLOUD_BSSD, }
var SslCanCancelStatus = map[uint64]struct{}{ SSL_STATUS_PENDING: {}, SSL_STATUS_DNS_ADDED: {}, SSL_STATUS_DATA_PENDING: {}, }
var TCAPLUS_FILE_EXT_TYPES = []string{ TCAPLUS_FILE_EXT_TYPE_PROTO, TCAPLUS_FILE_EXT_TYPE_XML, }
var TCAPLUS_IDL_TYPES = []string{ TCAPLUS_IDL_TYPE_PROTO, TCAPLUS_IDL_TYPE_TDR, }
var TCAPLUS_TABLE_IDL_TYPES = []string{ TCAPLUS_TABLE_IDL_TYPE_PROTO, TCAPLUS_TABLE_IDL_TYPE_TDR, }
var TCAPLUS_TABLE_TYPES = []string{ TCAPLUS_TABLE_TYPE_GENERIC, TCAPLUS_TABLE_TYPE__LIST, }
var TIME_UNIT = []string{ TIME_UINT_D, TIME_UINT_M, TIME_UINT_Y, }
var TKE_ADDON_DEFAULT_VALUES_KEY = []string{
"global.image.host",
"global.cluster.id",
"global.cluster.appid",
"global.cluster.uin",
"global.cluster.subuin",
"global.cluster.type",
"global.cluster.clustertype",
"global.cluster.kubeversion",
"global.cluster.kubeminor",
}
This use to filter default values the addon returns.
var TKE_CLUSTER_KUBE_PROXY_MODE = []string{TKE_CLUSTER_KUBE_PROXY_MODE_BPF}
var TKE_CLUSTER_NETWORK_TYPE = []string{TKE_CLUSTER_NETWORK_TYPE_GR, TKE_CLUSTER_NETWORK_TYPE_VPC_CNI, TKE_CLUSTER_NETWORK_TYPE_CILIUM_OVERLAY}
var TKE_CLUSTER_NODE_NAME_TYPE = []string{TKE_CLUSTER_NODE_NAME_TYPE_LAN_IP, TKE_CLUSTER_NODE_NAME_TYPE_HOSTNAME}
var TKE_CLUSTER_OS = []string{TKE_CLUSTER_OS_CENTOS76, TKE_CLUSTER_OS_UBUNTU18, TKE_CLUSTER_OS_LINUX24}
var TKE_CLUSTER_OS_TYPES = []string{TKE_CLUSTER_OS_TYPE_GENERAL}
var TKE_DEPLOY_TYPES = []string{TKE_DEPLOY_TYPE_MANAGED, TKE_DEPLOY_TYPE_INDEPENDENT}
var TKE_INSTANCE_CHARGE_TYPE = []string{CVM_CHARGE_TYPE_PREPAID, CVM_CHARGE_TYPE_POSTPAID}
var TKE_RUNTIMES = []string{TKE_RUNTIME_DOCKER, TKE_RUNTIME_CONTAINERD}
var TRUSTASIA_OV_EV_TYPE = []int64{13, 14, 15, 16, 17}
var UPSTREAM_SCHEMES = []string{ UPSTREAM_SCHEME_HTTP, UPSTREAM_SCHEME_HTTPS, }
var UP_STREAM_TYPES = []int{ UP_STREAM_TYPE_0, UP_STREAM_TYPE_1, }
var VOD_SUB_APPLICATION_STATUS = []string{ VOD_SUB_APPLICATION_RUNNING, VOD_SUB_APPLICATION_STOPPED, VOD_SUB_APPLICATION_DESTROY, }
var VPN_CHARGE_TYPE = []string{ VPN_CHARGE_TYPE_PREPAID, VPN_CHARGE_TYPE_POSTPAID_BY_HOUR, }
var VPN_IKE_DH_GROUP_NAME = []string{ VPN_IKE_DH_GROUP_NAME_GROUP1, VPN_IKE_DH_GROUP_NAME_GROUP2, VPN_IKE_DH_GROUP_NAME_GROUP5, VPN_IKE_DH_GROUP_NAME_GROUP14, VPN_IKE_DH_GROUP_NAME_GROUP24, }
var VPN_IKE_EXCHANGE_MODE = []string{ VPN_IKE_EXCHANGE_MODE_AGGRESSIVE, VPN_IKE_EXCHANGE_MODE_MAIN, }
var VPN_IKE_IDENTITY = []string{ VPN_IKE_IDENTITY_ADDRESS, VPN_IKE_IDENTITY_FQDN, }
var VPN_IKE_PROPO_AUTHEN_ALGORITHM = []string{ VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA, VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5, VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA256, }
var VPN_IKE_PROPO_ENCRY_ALGORITHM = []string{ VPN_IKE_PROPO_ENCRY_ALGORITHM_3DESCBC, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC128, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC192, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC256, VPN_IKE_PROPO_ENCRY_ALGORITHM_DESCBC, }
var VPN_IPSEC_ENCRY_ALGORITHM = []string{ VPN_IPSEC_ENCRY_ALGORITHM_3DESCBC, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC128, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC192, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC256, VPN_IPSEC_ENCRY_ALGORITHM_DESCBC, VPN_IPSEC_ENCRY_ALGORITHM_NULL, }
var VPN_IPSEC_INTEGRITY_ALGORITHM = []string{ VPN_IPSEC_INTEGRITY_ALGORITHM_SHA1, VPN_IPSEC_INTEGRITY_ALGORITHM_MD5, VPN_IPSEC_INTEGRITY_ALGORITHM_SHA256, }
var VPN_IPSEC_PFS_DH_GROUP_NAME = []string{ VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP1, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP2, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP5, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP14, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP24, VPN_IPSEC_PFS_DH_GROUP_NAME_NULL, }
var VPN_PERIOD_PREPAID_RENEW_FLAG = []string{ VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY, VPN_PERIOD_PREPAID_RENEW_FLAG_NOT, }
var VPN_PURCHASE_PLAN = []string{ VPN_PURCHASE_PLAN_PRE_POST, }
var VPN_RESTRICT_STATE = []string{ VPN_RESTRICT_STATE_NORMAL, VPN_RESTRICT_STATE_ISOLATE, }
var VPN_STATE = []string{ VPN_STATE_PENDING, VPN_STATE_DELETING, VPN_STATE_AVAILABLE, }
var VerifyType = []string{ DNSAuto, DNS, File, }
var WAF_CATEGORY_CLB = []string{ WAF_PREMIUM_CLB, WAF_ENTERPRISE_CLB, WAF_ULTIMATE_CLB, }
var WAF_CATEGORY_ID_CLB = map[string]int{ WAF_PREMIUM_CLB: 101198, WAF_ENTERPRISE_CLB: 101204, WAF_ULTIMATE_CLB: 101201, }
var WAF_CATEGORY_ID_SAAS = map[string]int{ WAF_PREMIUM_SAAS: 102375, WAF_ENTERPRISE_SAAS: 102378, WAF_ULTIMATE_SAAS: 102369, }
var WAF_CATEGORY_SAAS = []string{ WAF_PREMIUM_SAAS, WAF_ENTERPRISE_SAAS, WAF_ULTIMATE_SAAS, }
var WHITE_BOX_KEY_ALGORITHM = []string{ WHITE_BOX_KEY_ALGORITHM_AES_256, WHITE_BOX_KEY_ALGORITHM_SM4, }
var WHITE_BOX_KEY_STATUS = []string{ WHITE_BOX_KEY_STATUS_ENABLED, WHITE_BOX_KEY_STATUS_DISABLED, }
var WORK_SPACES_ORDER_TYPE = []int{ WORK_SPACES_ORDER_TYPE_0, WORK_SPACES_ORDER_TYPE_1, WORK_SPACES_ORDER_TYPE_2, WORK_SPACES_ORDER_TYPE_3, WORK_SPACES_ORDER_TYPE_4, }
var XFF_RESET_STATUS = []int{ XFF_RESET_0, XFF_RESET_1, }
var ZONE_MAP_CN2EN = map[string]string{}/* 194 elements not displayed */
var ZONE_MAP_EN2CN = map[string]string{}/* 194 elements not displayed */
Functions ¶
func ACLBodyDiffFunc ¶ added in v1.81.11
func ACLBodyDiffFunc(olds, news string, d *schema.ResourceData) (result bool)
func AlarmPolicyRule ¶ added in v1.59.19
func Base64ToString ¶ added in v1.78.11
func BuildStateChangeConf ¶ added in v1.79.4
func BuildStateChangeConf(pending, target []string, timeout, delay time.Duration, refresh resource.StateRefreshFunc) *resource.StateChangeConf
func BuildTagResourceName ¶ added in v1.41.3
BuildTagResourceName builds the Tencent Cloud specific name of a resource description. The format is `qcs:project_id:service_type:region:account:resource`. For more information, go to https://cloud.tencent.com/document/product/598/10606.
func CheckIfDefaultRule ¶ added in v1.81.28
func CheckIfDefaultRule(aclEntry *vpc.NetworkAclEntry) bool
func ConverterVpnGatewayRouteToMap ¶ added in v1.58.0
func ConverterVpnGatewayRouteToMap(vpnGatewayId string, route *vpc.VpnGatewayRoute) map[string]interface{}
func DecodeJSONFromReader ¶ added in v1.81.35
func DisableTcrVpcDns ¶ added in v1.54.1
func EnableTcrVpcDns ¶ added in v1.54.1
func EncryptShares ¶ added in v1.81.35
func FetchKeybasePubkeys ¶ added in v1.81.35
func FindIntListIndex ¶ added in v1.71.0
func GetBucketPublicACL ¶ added in v1.61.9
func GetBucketPublicACL(acl *cos.BucketGetACLResult) string
func GetCertificateList ¶ added in v1.55.0
func GetCertificateList(ctx context.Context, sslService SSLService, id, name, certType *string) (certificateList []*ssl.Certificates, errRet error)
func GetCommonCertificates ¶ added in v1.55.0
func GetCommonCertificates(certificatesById, certificatesByName []*ssl.Certificates) (result []*ssl.Certificates)
func GetDnsStatus ¶ added in v1.54.1
func GetDnsStatus(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, accessIp string, usePublicDomain bool) (status *tcr.VpcPrivateDomainStatus, err error)
func GetFingerprints ¶ added in v1.81.35
func GetListIncrement ¶ added in v1.71.0
func GetOptimizedTkeLabels ¶ added in v1.79.7
func GetOptimizedTkeLabels(d *schema.ResourceData, k string) []*tke.Label
func GetOptimizedTkeTaints ¶ added in v1.79.7
func GetOptimizedTkeTaints(d *schema.ResourceData, k string) []*tke.Taint
func GetTkeLabels ¶ added in v1.41.3
func GetTkeLabels(d *schema.ResourceData, k string) []*tke.Label
func GetTkeTaints ¶ added in v1.52.0
func GetTkeTaints(d *schema.ResourceData, k string) []*tke.Taint
func GetUrlsHash ¶ added in v1.74.0
func IsContainProductId ¶ added in v1.79.3
func IsContains ¶ added in v1.41.3
func IsContains(array interface{}, value interface{}) bool
IsContains returns whether value is within array
func IsString ¶ added in v1.79.5
func IsString(data interface{}) bool
IsString Determine whether data is a string
func LayerContent ¶ added in v1.60.0
func ListenerIdCheck ¶ added in v1.47.0
func ModifyClusterInternetOrIntranetAccess ¶ added in v1.79.12
func ModifySecurityServiceOfCvmInNodePool ¶ added in v1.79.9
func ModifySecurityServiceOfCvmInNodePool(ctx context.Context, d *schema.ResourceData, tkeSvc *TkeService, cvmSvc *CvmService, client *connectivity.TencentCloudClient, clusterId string, nodePoolId string) error
func NatGatewaySnatPara ¶ added in v1.58.0
func ParseMultiDisks ¶ added in v1.60.11
func ParseResource ¶ added in v1.60.11
func ReadFromFile ¶ added in v1.79.5
ReadFromFile return file content
func RetryWithContext ¶ added in v1.79.4
func RetryWithContext( ctx context.Context, timeout time.Duration, f func(context.Context) (interface{}, error), additionRetryableError ...string) (interface{}, error)
RetryWhenContext retries the function `f` when the error it returns satisfies `predicate`. `f` is retried until `timeout` expires.
func RuleIdCheck ¶ added in v1.47.0
func StringToBase64 ¶ added in v1.78.11
func TKEGpuArgsSetting ¶ added in v1.79.17
func TencentCloudMysqlParameterDetail ¶ added in v1.41.3
func TencentCynosdbClusterBaseInfo ¶ added in v1.44.0
func TencentCynosdbInstanceBaseInfo ¶ added in v1.44.0
func TencentKmsBasicInfo ¶ added in v1.54.0
func TencentMongodbBasicInfo ¶ added in v1.41.3
func TencentMsyqlBasicInfo ¶ added in v1.41.3
func TencentMysqlSellType ¶ added in v1.41.3
func TencentMysqlZoneConfig ¶ added in v1.41.3
func TencentSqlServerBasicInfo ¶ added in v1.41.3
func TkeCvmCreateInfo ¶ added in v1.41.3
func TkeExistCvmCreateInfo ¶ added in v1.56.8
func TkeInstanceAdvancedSetting ¶ added in v1.41.3
func TkeNodePoolGlobalConfig ¶ added in v1.55.2
func VodWatermarkResource ¶ added in v1.45.0
func VpnGatewayRoutePara ¶ added in v1.58.0
func WaitForAccessIpExists ¶ added in v1.54.1
func YamlParser ¶ added in v1.77.4
YamlParser yaml syntax Parser
Types ¶
type APIGatewayService ¶ added in v1.46.0
type APIGatewayService struct {
// contains filtered or unexported fields
}
func (*APIGatewayService) BindEnvironment ¶ added in v1.46.0
func (me *APIGatewayService) BindEnvironment(ctx context.Context, serviceId, environment, bindType, usagePlanId, apiId string) (errRet error)
func (*APIGatewayService) BindSecretId ¶ added in v1.46.0
func (*APIGatewayService) BindSecretIds ¶ added in v1.81.23
func (*APIGatewayService) BindSubDomainService ¶ added in v1.46.0
func (*APIGatewayService) CreateApiKey ¶ added in v1.46.0
func (*APIGatewayService) CreateIPStrategy ¶ added in v1.46.0
func (*APIGatewayService) CreateService ¶ added in v1.46.0
func (*APIGatewayService) CreateStrategyAttachment ¶ added in v1.46.0
func (*APIGatewayService) CreateUsagePlan ¶ added in v1.46.0
func (*APIGatewayService) DeleteAPIGatewayAPIAppById ¶ added in v1.81.0
func (me *APIGatewayService) DeleteAPIGatewayAPIAppById(ctx context.Context, apiAppId string) (errRet error)
func (*APIGatewayService) DeleteAPIGatewayAPIDocById ¶ added in v1.81.0
func (me *APIGatewayService) DeleteAPIGatewayAPIDocById(ctx context.Context, apiDocId string) (errRet error)
func (*APIGatewayService) DeleteAPIGatewayApiAppAttachmentById ¶ added in v1.81.23
func (me *APIGatewayService) DeleteAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (errRet error)
func (*APIGatewayService) DeleteApi ¶ added in v1.46.0
func (me *APIGatewayService) DeleteApi(ctx context.Context, serviceId, apiId string) (errRet error)
func (*APIGatewayService) DeleteApiGatewayImportOpenApiById ¶ added in v1.81.36
func (me *APIGatewayService) DeleteApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (errRet error)
func (*APIGatewayService) DeleteApiGatewayPluginAttachmentById ¶ added in v1.79.4
func (*APIGatewayService) DeleteApiGatewayPluginById ¶ added in v1.79.4
func (me *APIGatewayService) DeleteApiGatewayPluginById(ctx context.Context, pluginId string) (errRet error)
func (*APIGatewayService) DeleteApiKey ¶ added in v1.46.0
func (me *APIGatewayService) DeleteApiKey(ctx context.Context, accessKeyId string) (errRet error)
func (*APIGatewayService) DeleteApigatewayUpstreamById ¶ added in v1.81.23
func (me *APIGatewayService) DeleteApigatewayUpstreamById(ctx context.Context, upstreamId string) (errRet error)
func (*APIGatewayService) DeleteIPStrategy ¶ added in v1.46.0
func (me *APIGatewayService) DeleteIPStrategy(ctx context.Context, serviceId, strategyId string) (errRet error)
func (*APIGatewayService) DeleteService ¶ added in v1.46.0
func (me *APIGatewayService) DeleteService(ctx context.Context, serviceId string) (errRet error)
func (*APIGatewayService) DeleteStrategyAttachment ¶ added in v1.46.0
func (*APIGatewayService) DeleteUsagePlan ¶ added in v1.46.0
func (me *APIGatewayService) DeleteUsagePlan(ctx context.Context, usagePlanId string) (errRet error)
func (*APIGatewayService) DescribeAPIGatewayApiAppAttachmentById ¶ added in v1.81.23
func (me *APIGatewayService) DescribeAPIGatewayApiAppAttachmentById(ctx context.Context, apiAppId, environment, serviceId, apiId string) (apiAppAttachment *apigateway.ApiAppApiInfo, errRet error)
func (*APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter ¶ added in v1.81.23
func (me *APIGatewayService) DescribeAPIGatewayApiAppServiceByFilter(ctx context.Context, param map[string]interface{}) (apiAppService *apigateway.DescribeServiceForApiAppResponseParams, errRet error)
func (*APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter ¶ added in v1.81.23
func (me *APIGatewayService) DescribeAPIGatewayApiUsagePlanByFilter(ctx context.Context, param map[string]interface{}) (ApiUsagePlan []*apigateway.ApiUsagePlan, errRet error)
func (*APIGatewayService) DescribeAPIGatewayPluginByFilter ¶ added in v1.81.23
func (me *APIGatewayService) DescribeAPIGatewayPluginByFilter(ctx context.Context, param map[string]interface{}) (plugin []*apigateway.AvailableApiInfo, errRet error)
func (*APIGatewayService) DescribeAPIGatewayUpstreamByFilter ¶ added in v1.81.23
func (me *APIGatewayService) DescribeAPIGatewayUpstreamByFilter(ctx context.Context, param map[string]interface{}) (upstream []*apigateway.BindApiInfo, errRet error)
func (*APIGatewayService) DescribeApi ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApi(ctx context.Context, serviceId, apiId string) (info apigateway.ApiInfo, has bool, errRet error)
func (*APIGatewayService) DescribeApiApp ¶ added in v1.81.0
func (me *APIGatewayService) DescribeApiApp(ctx context.Context, apiAppId string) (apiDoc *apigateway.ApiAppInfos, errRet error)
func (*APIGatewayService) DescribeApiAppList ¶ added in v1.81.0
func (me *APIGatewayService) DescribeApiAppList(ctx context.Context, apiAppId, apiAppName string) (apiApp []*apigateway.ApiAppInfo, errRet error)
func (*APIGatewayService) DescribeApiDoc ¶ added in v1.81.0
func (me *APIGatewayService) DescribeApiDoc(ctx context.Context, apiDocId string) (apiDoc *apigateway.APIDocInfo, errRet error)
func (*APIGatewayService) DescribeApiDocList ¶ added in v1.81.0
func (me *APIGatewayService) DescribeApiDocList(ctx context.Context) (apiDoc []*apigateway.APIDoc, errRet error)
func (*APIGatewayService) DescribeApiEnvironmentStrategyList ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApiEnvironmentStrategyList(ctx context.Context, serviceId string, environmentNames []string, apiId string) (environmentApiList []*apigateway.ApiEnvironmentStrategy, errRet error)
func (*APIGatewayService) DescribeApiGatewayApiAppApiByFilter ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayApiAppApiByFilter(ctx context.Context, param map[string]interface{}) (apiAppApi *apigateway.ApiInfo, errRet error)
func (*APIGatewayService) DescribeApiGatewayApiPluginsByFilter ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayApiPluginsByFilter(ctx context.Context, param map[string]interface{}) (ApiPlugins []*apigateway.AttachedPluginInfo, errRet error)
func (*APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayBindApiAppsStatusByFilter(ctx context.Context, param map[string]interface{}) (bindApiAppsStatus []*apigateway.ApiAppApiInfo, errRet error)
func (*APIGatewayService) DescribeApiGatewayImportOpenApiById ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayImportOpenApiById(ctx context.Context, serviceId, apiId string) (importOpenApi *apigateway.ApiInfo, errRet error)
func (*APIGatewayService) DescribeApiGatewayPluginAttachmentById ¶ added in v1.79.4
func (me *APIGatewayService) DescribeApiGatewayPluginAttachmentById(ctx context.Context, pluginId string, serviceId string, environmentName string, apiId string) (pluginAttachment *apigateway.AttachedApiInfo, errRet error)
func (*APIGatewayService) DescribeApiGatewayPluginById ¶ added in v1.79.4
func (me *APIGatewayService) DescribeApiGatewayPluginById(ctx context.Context, pluginId string) (plugin *apigateway.Plugin, errRet error)
func (*APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayServiceEnvironmentListByFilter(ctx context.Context, param map[string]interface{}) (environmentList []*apigateway.Environment, errRet error)
func (*APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter ¶ added in v1.81.36
func (me *APIGatewayService) DescribeApiGatewayServiceReleaseVersionsByFilter(ctx context.Context, param map[string]interface{}) (versionList []*apigateway.DescribeServiceReleaseVersionResultVersionListInfo, errRet error)
func (*APIGatewayService) DescribeApiKey ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApiKey(ctx context.Context, accessKeyId string) (apiKey *apigateway.ApiKey, has bool, errRet error)
func (*APIGatewayService) DescribeApiKeysStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApiKeysStatus(ctx context.Context, secretName, accessKeyId string) (apiKeySet []*apigateway.ApiKey, errRet error)
func (*APIGatewayService) DescribeApiUsagePlan ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApiUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
func (*APIGatewayService) DescribeApiUsagePlanSecretIds ¶ added in v1.81.23
func (me *APIGatewayService) DescribeApiUsagePlanSecretIds(ctx context.Context, usagePlanId string) (list []*apigateway.UsagePlanBindSecret, errRet error)
func (*APIGatewayService) DescribeApigatewayUpstreamById ¶ added in v1.81.23
func (me *APIGatewayService) DescribeApigatewayUpstreamById(ctx context.Context, upstreamId string) (upstreamInfo *apigateway.UpstreamInfo, errRet error)
func (*APIGatewayService) DescribeApisStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeApisStatus(ctx context.Context, serviceId, apiName, apiId string) (infos []*apigateway.DescribeApisStatusResultApiIdStatusSetInfo, errRet error)
func (*APIGatewayService) DescribeIPStrategies ¶ added in v1.46.0
func (me *APIGatewayService) DescribeIPStrategies(ctx context.Context, serviceId, strategyId, environmentName string) (ipStrategies *apigateway.IPStrategy, errRet error)
func (*APIGatewayService) DescribeIPStrategyHas ¶ added in v1.46.0
func (*APIGatewayService) DescribeIPStrategyStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeIPStrategyStatus(ctx context.Context, serviceId, strategyId string) (ipStrategies *apigateway.IPStrategy, has bool, errRet error)
func (*APIGatewayService) DescribeIPStrategysStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeIPStrategysStatus(ctx context.Context, serviceId, strategyName string) (infos []*apigateway.IPStrategy, errRet error)
func (*APIGatewayService) DescribeService ¶ added in v1.46.0
func (me *APIGatewayService) DescribeService(ctx context.Context, serviceId string) (info apigateway.DescribeServiceResponse, has bool, errRet error)
func (*APIGatewayService) DescribeServiceEnvironmentReleaseHistory ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceEnvironmentReleaseHistory(ctx context.Context, serviceId, envName string) (versionList []*apigateway.ServiceReleaseHistoryInfo, has bool, errRet error)
func (*APIGatewayService) DescribeServiceEnvironmentStrategyList ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceEnvironmentStrategyList(ctx context.Context, serviceId string) (environmentList []*apigateway.ServiceEnvironmentStrategy, errRet error)
limit & domain
func (*APIGatewayService) DescribeServiceSubDomainMappings ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceSubDomainMappings(ctx context.Context, serviceId, subDomain string) (info *apigateway.ServiceSubDomainMappings, errRet error)
func (*APIGatewayService) DescribeServiceSubDomains ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceSubDomains(ctx context.Context, serviceId string) (domainList []*apigateway.DomainSetList, errRet error)
func (*APIGatewayService) DescribeServiceSubDomainsService ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceSubDomainsService(ctx context.Context, serviceId, subDomain string) (resultList []*apigateway.DomainSetList, errRet error)
func (*APIGatewayService) DescribeServiceUsagePlan ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServiceUsagePlan(ctx context.Context, serviceId string) (list []*apigateway.ApiUsagePlan, errRet error)
func (*APIGatewayService) DescribeServicesStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeServicesStatus(ctx context.Context, serviceId, serviceName string) (infos []*apigateway.Service, errRet error)
func (*APIGatewayService) DescribeStrategyAttachment ¶ added in v1.46.0
func (*APIGatewayService) DescribeUsagePlan ¶ added in v1.46.0
func (me *APIGatewayService) DescribeUsagePlan(ctx context.Context, usagePlanId string) (info apigateway.UsagePlanInfo, has bool, errRet error)
func (*APIGatewayService) DescribeUsagePlanEnvironments ¶ added in v1.46.0
func (me *APIGatewayService) DescribeUsagePlanEnvironments(ctx context.Context, usagePlanId string, bindType string) (list []*apigateway.UsagePlanEnvironment, errRet error)
func (*APIGatewayService) DescribeUsagePlansStatus ¶ added in v1.46.0
func (me *APIGatewayService) DescribeUsagePlansStatus(ctx context.Context, usagePlanId string, usagePlanName string) (infos []*apigateway.UsagePlanStatusInfo, errRet error)
func (*APIGatewayService) DisableApiKey ¶ added in v1.46.0
func (me *APIGatewayService) DisableApiKey(ctx context.Context, accessKeyId string) (errRet error)
func (*APIGatewayService) EnableApiKey ¶ added in v1.46.0
func (me *APIGatewayService) EnableApiKey(ctx context.Context, accessKeyId string) (errRet error)
func (*APIGatewayService) ModifyApiEnvironmentStrategy ¶ added in v1.46.0
func (*APIGatewayService) ModifyService ¶ added in v1.46.0
func (*APIGatewayService) ModifyServiceEnvironmentStrategy ¶ added in v1.46.0
func (*APIGatewayService) ModifySubDomainService ¶ added in v1.46.0
func (*APIGatewayService) ModifyUsagePlan ¶ added in v1.46.0
func (*APIGatewayService) ReleaseService ¶ added in v1.46.0
func (me *APIGatewayService) ReleaseService(ctx context.Context, serviceId, environmentName, releaseDesc string) (response *apigateway.ReleaseServiceResponse, err error)
func (*APIGatewayService) UnBindEnvironment ¶ added in v1.46.0
func (me *APIGatewayService) UnBindEnvironment(ctx context.Context, serviceId, environment, bindType, usagePlanId, apiId string) (errRet error)
func (*APIGatewayService) UnBindSecretId ¶ added in v1.46.0
func (*APIGatewayService) UnBindSecretIds ¶ added in v1.81.23
func (*APIGatewayService) UnBindSubDomainService ¶ added in v1.46.0
func (me *APIGatewayService) UnBindSubDomainService(ctx context.Context, serviceId, subDomain string) (errRet error)
func (*APIGatewayService) UnReleaseService ¶ added in v1.46.0
func (me *APIGatewayService) UnReleaseService(ctx context.Context, serviceId, environment string) (errRet error)
func (*APIGatewayService) UpdateIPStrategy ¶ added in v1.46.0
func (me *APIGatewayService) UpdateIPStrategy(ctx context.Context, serviceId, strategyId, strategyData string) (errRet error)
type APIService ¶ added in v1.60.4
type APIService struct {
// contains filtered or unexported fields
}
func (*APIService) DescribeZonesWithProduct ¶ added in v1.60.4
type AccountInfo ¶ added in v1.81.26
type AccountPermission ¶ added in v1.81.26
type AccountPermission struct { InstanceId string `json:"InstanceId"` Cluster string `json:"Cluster"` UserName string `json:"UserName"` AllDatabase bool `json:"AllDatabase"` GlobalPrivileges []string `json:"GlobalPrivileges"` DatabasePrivilegeList []*cdwch.DatabasePrivilegeInfo `json:"DatabasePrivilegeList"` }
type AddonRequestBody ¶ added in v1.60.15
type AddonResponseData ¶ added in v1.60.15
type AddonResponseData struct { Kind *string `json:"kind,omitempty"` ApiVersion *string `json:"apiVersion,omitempty"` Metadata *AddonResponseMeta `json:"metadata,omitempty"` Spec *AddonSpec `json:"spec,omitempty"` Status map[string]interface{} `json:"status,omitempty"` }
type AddonResponseMeta ¶ added in v1.60.15
type AddonResponseMeta struct { Name *string `json:"name,omitempty"` GenerateName *string `json:"generateName,omitempty"` Namespace *string `json:"namespace,omitempty"` SelfLink *string `json:"selfLink,omitempty"` Uid *string `json:"uid,omitempty"` ResourceVersion *string `json:"resourceVersion,omitempty"` Generation *int `json:"generation,omitempty"` CreationTimestamp *string `json:"creationTimestamp,omitempty"` Labels map[string]*string `json:"labels,omitempty"` }
type AddonSpec ¶ added in v1.60.15
type AddonSpec struct { Chart *AddonSpecChart `json:"chart,omitempty"` Values *AddonSpecValues `json:"values,omitempty"` }
type AddonSpecChart ¶ added in v1.60.15
type AddonSpecValues ¶ added in v1.60.15
type AntiddosService ¶ added in v1.61.4
type AntiddosService struct {
// contains filtered or unexported fields
}
func (*AntiddosService) AssociateDDoSEipAddress ¶ added in v1.61.4
func (*AntiddosService) AssociateDDoSEipLoadBalancer ¶ added in v1.61.4
func (*AntiddosService) CreateCCPrecisionPolicy ¶ added in v1.64.0
func (me *AntiddosService) CreateCCPrecisionPolicy(ctx context.Context, instanceId, protocol, ip, domain, policyAction string, policyList []*antiddos.CCPrecisionPlyRecord) (err error)
func (*AntiddosService) CreateCCReqLimitPolicy ¶ added in v1.64.0
func (me *AntiddosService) CreateCCReqLimitPolicy(ctx context.Context, instanceId, protocol, ip, domain string, ccReqLimitPolicyRecord antiddos.CCReqLimitPolicyRecord) (err error)
func (*AntiddosService) CreateCcBlackWhiteIpList ¶ added in v1.64.0
func (*AntiddosService) CreateCcGeoIPBlockConfig ¶ added in v1.64.0
func (me *AntiddosService) CreateCcGeoIPBlockConfig(ctx context.Context, instanceId, protocol, ip, domain string, ccGeoIPBlockConfig antiddos.CcGeoIPBlockConfig) (err error)
func (*AntiddosService) CreateDDoSAI ¶ added in v1.62.0
func (me *AntiddosService) CreateDDoSAI(ctx context.Context, instanceId, ddosAI string) (err error)
func (*AntiddosService) CreateDDoSBlackWhiteIpList ¶ added in v1.62.0
func (*AntiddosService) CreateDDoSConnectLimit ¶ added in v1.62.0
func (me *AntiddosService) CreateDDoSConnectLimit(ctx context.Context, instanceId string, connectLimitConfig antiddos.ConnectLimitConfig) (err error)
func (*AntiddosService) CreateDDoSGeoIPBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) CreateDDoSGeoIPBlockConfig(ctx context.Context, instanceId string, ddosGeoIPBlockConfig antiddos.DDoSGeoIPBlockConfig) (err error)
func (*AntiddosService) CreateDDoSSpeedLimitConfig ¶ added in v1.62.0
func (me *AntiddosService) CreateDDoSSpeedLimitConfig(ctx context.Context, instanceId string, ddosSpeedLimitConfig antiddos.DDoSSpeedLimitConfig) (err error)
func (*AntiddosService) CreatePacketFilterConfig ¶ added in v1.62.0
func (me *AntiddosService) CreatePacketFilterConfig(ctx context.Context, instanceId string, packetFilterConfig antiddos.PacketFilterConfig) (err error)
func (*AntiddosService) CreatePortAclConfig ¶ added in v1.62.0
func (*AntiddosService) CreateProtocolBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) CreateProtocolBlockConfig(ctx context.Context, instanceId string, protocolBlockConfig antiddos.ProtocolBlockConfig) (err error)
func (*AntiddosService) DeleteCCLevelPolicy ¶ added in v1.64.0
func (me *AntiddosService) DeleteCCLevelPolicy(ctx context.Context, instanceId, ip, domain string) (err error)
func (*AntiddosService) DeleteCCPrecisionPolicy ¶ added in v1.64.0
func (me *AntiddosService) DeleteCCPrecisionPolicy(ctx context.Context, instanceId, policyId string) (err error)
func (*AntiddosService) DeleteCCRequestLimitPolicy ¶ added in v1.64.0
func (me *AntiddosService) DeleteCCRequestLimitPolicy(ctx context.Context, instanceId, policyId string) (err error)
func (*AntiddosService) DeleteCCThresholdPolicy ¶ added in v1.64.0
func (me *AntiddosService) DeleteCCThresholdPolicy(ctx context.Context, instanceId, ip, domain string) (err error)
func (*AntiddosService) DeleteCcBlackWhiteIpList ¶ added in v1.64.0
func (me *AntiddosService) DeleteCcBlackWhiteIpList(ctx context.Context, instanceId, policyId string) (err error)
func (*AntiddosService) DeleteCcGeoIPBlockConfig ¶ added in v1.64.0
func (me *AntiddosService) DeleteCcGeoIPBlockConfig(ctx context.Context, instanceId string, ccGeoIPBlockConfig antiddos.CcGeoIPBlockConfig) (err error)
func (*AntiddosService) DeleteDDoSAI ¶ added in v1.62.0
func (me *AntiddosService) DeleteDDoSAI(ctx context.Context, instanceId string) (err error)
func (*AntiddosService) DeleteDDoSBlackWhiteIpList ¶ added in v1.62.0
func (*AntiddosService) DeleteDDoSConnectLimit ¶ added in v1.62.0
func (me *AntiddosService) DeleteDDoSConnectLimit(ctx context.Context, instanceId string) (err error)
func (*AntiddosService) DeleteDDoSGeoIPBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) DeleteDDoSGeoIPBlockConfig(ctx context.Context, instanceId string, ddosGeoIPBlockConfig antiddos.DDoSGeoIPBlockConfig) (err error)
func (*AntiddosService) DeleteDDoSSpeedLimitConfig ¶ added in v1.62.0
func (me *AntiddosService) DeleteDDoSSpeedLimitConfig(ctx context.Context, instanceId string, ddosSpeedLimitConfig antiddos.DDoSSpeedLimitConfig) (err error)
func (*AntiddosService) DeleteDDoSThreshold ¶ added in v1.62.0
func (me *AntiddosService) DeleteDDoSThreshold(ctx context.Context, business, instanceId string) (err error)
func (*AntiddosService) DeletePacketFilterConfig ¶ added in v1.62.0
func (me *AntiddosService) DeletePacketFilterConfig(ctx context.Context, instanceId string, packetFilterConfig antiddos.PacketFilterConfig) (err error)
func (*AntiddosService) DeletePortAclConfig ¶ added in v1.62.0
func (*AntiddosService) DeleteProtocolBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) DeleteProtocolBlockConfig(ctx context.Context, instanceId string) (err error)
func (*AntiddosService) DeleteyDDoSLevel ¶ added in v1.62.0
func (me *AntiddosService) DeleteyDDoSLevel(ctx context.Context, business, instanceId string) (err error)
func (*AntiddosService) DescribeAntiddosBoundipById ¶ added in v1.79.5
func (me *AntiddosService) DescribeAntiddosBoundipById(ctx context.Context, id string) (boundip *antiddos.BGPInstance, errRet error)
func (*AntiddosService) DescribeCCLevelList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCCLevelList(ctx context.Context, business, instanceId string) (result []*antiddos.CCLevelPolicy, err error)
func (*AntiddosService) DescribeCCLevelPolicy ¶ added in v1.64.0
func (*AntiddosService) DescribeCCPrecisionPlyList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCCPrecisionPlyList(ctx context.Context, business, instanceId string) (result []*antiddos.CCPrecisionPolicy, err error)
func (*AntiddosService) DescribeCCReqLimitPolicyList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCCReqLimitPolicyList(ctx context.Context, business, instanceId string) (result []*antiddos.CCReqLimitPolicy, err error)
func (*AntiddosService) DescribeCCThresholdList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCCThresholdList(ctx context.Context, business, instanceId string) (result []*antiddos.CCThresholdPolicy, err error)
func (*AntiddosService) DescribeCcBlackWhiteIpList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCcBlackWhiteIpList(ctx context.Context, business, instanceId string) (result []*antiddos.CcBlackWhiteIpPolicy, err error)
func (*AntiddosService) DescribeCcGeoIPBlockConfigList ¶ added in v1.64.0
func (me *AntiddosService) DescribeCcGeoIPBlockConfigList(ctx context.Context, business, instanceId string) (result []*antiddos.CcGeoIpPolicyNew, err error)
func (*AntiddosService) DescribeDDoSConnectLimitList ¶ added in v1.62.0
func (me *AntiddosService) DescribeDDoSConnectLimitList(ctx context.Context, instanceId string) (result antiddos.ConnectLimitConfig, err error)
func (*AntiddosService) DescribeListBGPIPInstanceById ¶ added in v1.64.0
func (me *AntiddosService) DescribeListBGPIPInstanceById(ctx context.Context, business, instanceId string) (result []*antiddos.BGPIPInstance, err error)
func (*AntiddosService) DescribeListBGPIPInstances ¶ added in v1.61.4
func (me *AntiddosService) DescribeListBGPIPInstances(ctx context.Context, instanceId string, status []string, offset int, limit int) (result []*antiddos.BGPIPInstance, err error)
func (*AntiddosService) DescribeListBGPInstanceById ¶ added in v1.64.0
func (me *AntiddosService) DescribeListBGPInstanceById(ctx context.Context, business, instanceId string) (result []*antiddos.BGPInstance, err error)
func (*AntiddosService) DescribeListBlackWhiteIpList ¶ added in v1.62.0
func (me *AntiddosService) DescribeListBlackWhiteIpList(ctx context.Context, instanceId string) (result []*antiddos.BlackWhiteIpRelation, err error)
func (*AntiddosService) DescribeListDDoSAI ¶ added in v1.62.0
func (me *AntiddosService) DescribeListDDoSAI(ctx context.Context, instanceId string) (result antiddos.DDoSAIRelation, err error)
func (*AntiddosService) DescribeListDDoSGeoIPBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListDDoSGeoIPBlockConfig(ctx context.Context, instanceId string) (result []*antiddos.DDoSGeoIPBlockConfigRelation, err error)
func (*AntiddosService) DescribeListDDoSSpeedLimitConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListDDoSSpeedLimitConfig(ctx context.Context, instanceId string) (result []*antiddos.DDoSSpeedLimitConfigRelation, err error)
func (*AntiddosService) DescribeListPacketFilterConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListPacketFilterConfig(ctx context.Context, instanceId string) (result []*antiddos.PacketFilterRelation, err error)
func (*AntiddosService) DescribeListPortAclList ¶ added in v1.62.0
func (me *AntiddosService) DescribeListPortAclList(ctx context.Context, instanceId string) (result []*antiddos.AclConfigRelation, err error)
func (*AntiddosService) DescribeListProtectThresholdConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListProtectThresholdConfig(ctx context.Context, instanceId string) (result antiddos.ProtectThresholdRelation, err error)
func (*AntiddosService) DescribeListProtocolBlockConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListProtocolBlockConfig(ctx context.Context, instanceId string) (result antiddos.ProtocolBlockRelation, err error)
func (*AntiddosService) DescribeListWaterPrintConfig ¶ added in v1.62.0
func (me *AntiddosService) DescribeListWaterPrintConfig(ctx context.Context, instanceId string) (result antiddos.WaterPrintRelation, err error)
func (*AntiddosService) DisassociateDDoSEipAddress ¶ added in v1.61.4
func (*AntiddosService) ModifyCCLevelPolicy ¶ added in v1.64.0
func (me *AntiddosService) ModifyCCLevelPolicy(ctx context.Context, instanceId, ip, domain, protocol, level string) (err error)
func (*AntiddosService) ModifyCCThresholdPolicy ¶ added in v1.64.0
func (*AntiddosService) ModifyDDoSLevel ¶ added in v1.62.0
func (me *AntiddosService) ModifyDDoSLevel(ctx context.Context, business, instanceId, ddosLevel string) (err error)
func (*AntiddosService) ModifyDDoSThreshold ¶ added in v1.62.0
type ApmService ¶ added in v1.79.18
type ApmService struct {
// contains filtered or unexported fields
}
func (*ApmService) DeleteApmInstanceById ¶ added in v1.79.18
func (me *ApmService) DeleteApmInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*ApmService) DescribeApmInstanceById ¶ added in v1.79.18
func (me *ApmService) DescribeApmInstanceById(ctx context.Context, instanceId string) (instance *apm.ApmInstanceDetail, errRet error)
type AsService ¶ added in v1.41.3
type AsService struct {
// contains filtered or unexported fields
}
func (*AsService) AttachInstances ¶ added in v1.41.3
func (*AsService) ClearScalingGroupInstance ¶ added in v1.41.3
set the scaling group desired capacity to 0
func (*AsService) DeleteAsLoadBalancerById ¶ added in v1.81.6
func (*AsService) DeleteLaunchConfiguration ¶ added in v1.41.3
func (*AsService) DeleteLifecycleHook ¶ added in v1.41.3
func (*AsService) DeleteNotification ¶ added in v1.41.3
func (*AsService) DeleteScalingGroup ¶ added in v1.41.3
func (*AsService) DeleteScalingPolicy ¶ added in v1.41.3
func (*AsService) DeleteScheduledAction ¶ added in v1.41.3
func (*AsService) DescribeActivityById ¶ added in v1.41.3
func (*AsService) DescribeAsAdvices ¶ added in v1.81.6
func (*AsService) DescribeAsInstancesByFilter ¶ added in v1.79.3
func (*AsService) DescribeAsLastActivity ¶ added in v1.81.6
func (*AsService) DescribeAsLimits ¶ added in v1.81.6
func (*AsService) DescribeAsLoadBalancerById ¶ added in v1.81.6
func (*AsService) DescribeAutoScalingAttachment ¶ added in v1.41.3
func (*AsService) DescribeAutoScalingGroupByFilter ¶ added in v1.41.3
func (*AsService) DescribeAutoScalingGroupById ¶ added in v1.41.3
func (*AsService) DescribeLaunchConfigurationByFilter ¶ added in v1.41.3
func (*AsService) DescribeLaunchConfigurationById ¶ added in v1.41.3
func (*AsService) DescribeLifecycleHookById ¶ added in v1.41.3
func (*AsService) DescribeNotificationById ¶ added in v1.41.3
func (*AsService) DescribeScalingPolicyByFilter ¶ added in v1.41.3
func (*AsService) DescribeScalingPolicyById ¶ added in v1.41.3
func (*AsService) DescribeScheduledActionById ¶ added in v1.41.3
func (*AsService) DetachInstances ¶ added in v1.41.3
func (*AsService) ModifyAutoScalingGroup ¶ added in v1.77.0
type AuditService ¶ added in v1.43.0
type AuditService struct {
// contains filtered or unexported fields
}
func (*AuditService) DeleteAuditTrackById ¶ added in v1.78.16
func (me *AuditService) DeleteAuditTrackById(ctx context.Context, trackId string) (errRet error)
func (*AuditService) DescribeAuditById ¶ added in v1.43.0
func (me *AuditService) DescribeAuditById(ctx context.Context, name string) (auditInfo *audit.DescribeAuditResponse, has bool, errRet error)
func (*AuditService) DescribeAuditCmqRegions ¶ added in v1.43.0
func (me *AuditService) DescribeAuditCmqRegions(ctx context.Context) (regions []*audit.CmqRegionInfo, errRet error)
func (*AuditService) DescribeAuditCosRegions ¶ added in v1.43.0
func (me *AuditService) DescribeAuditCosRegions(ctx context.Context) (regions []*audit.CosRegionInfo, errRet error)
func (*AuditService) DescribeAuditTrackById ¶ added in v1.79.2
func (me *AuditService) DescribeAuditTrackById(ctx context.Context, trackId string) (track *audit.DescribeAuditTrackResponseParams, errRet error)
func (*AuditService) DescribeKeyAlias ¶ added in v1.43.0
func (me *AuditService) DescribeKeyAlias(ctx context.Context, region string) (keyMetadatas []*audit.KeyMetadata, errRet error)
type BiService ¶ added in v1.81.39
type BiService struct {
// contains filtered or unexported fields
}
func (*BiService) DeleteBiDatasourceById ¶ added in v1.81.39
func (*BiService) DeleteBiDatasourceCloudById ¶ added in v1.81.39
func (*BiService) DeleteBiProjectById ¶ added in v1.81.39
func (*BiService) DeleteBiProjectUserRoleById ¶ added in v1.81.39
func (*BiService) DeleteBiUserRoleById ¶ added in v1.81.39
func (*BiService) DescribeBiDatasourceById ¶ added in v1.81.39
func (*BiService) DescribeBiDatasourceCloudById ¶ added in v1.81.39
func (*BiService) DescribeBiProjectByFilter ¶ added in v1.81.39
func (*BiService) DescribeBiProjectById ¶ added in v1.81.39
func (*BiService) DescribeBiProjectUserRoleById ¶ added in v1.81.39
func (*BiService) DescribeBiUserProjectByFilter ¶ added in v1.81.39
func (*BiService) DescribeBiUserRoleById ¶ added in v1.81.39
type CamService ¶ added in v1.41.3
type CamService struct {
// contains filtered or unexported fields
}
func (*CamService) AddGroupPolicyAttachment ¶ added in v1.41.3
func (*CamService) AddUserPolicyAttachment ¶ added in v1.41.3
func (*CamService) DeleteCamAccessKeyById ¶ added in v1.81.35
func (me *CamService) DeleteCamAccessKeyById(ctx context.Context, uin, accessKeyId string) (errRet error)
func (*CamService) DeleteCamPolicyVersionById ¶ added in v1.81.36
func (*CamService) DeleteCamRolePermissionBoundaryAttachmentById ¶ added in v1.81.37
func (*CamService) DeleteCamServiceLinkedRoleById ¶ added in v1.79.0
func (*CamService) DeleteCamTagRoleById ¶ added in v1.81.37
func (*CamService) DeleteCamUserPermissionBoundaryById ¶ added in v1.81.34
func (me *CamService) DeleteCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (errRet error)
func (*CamService) DeleteCamUserSamlConfigById ¶ added in v1.79.5
func (me *CamService) DeleteCamUserSamlConfigById(ctx context.Context) (errRet error)
func (*CamService) DeleteGroupPolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DeleteGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) error
func (*CamService) DeleteRoleById ¶ added in v1.41.3
func (me *CamService) DeleteRoleById(ctx context.Context, roleId string) error
func (*CamService) DeleteRoleByName ¶ added in v1.78.14
func (me *CamService) DeleteRoleByName(ctx context.Context, roleName string) error
func (*CamService) DeleteRolePolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DeleteRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) error
func (*CamService) DeleteRolePolicyAttachmentByName ¶ added in v1.78.14
func (me *CamService) DeleteRolePolicyAttachmentByName(ctx context.Context, roleName, policyName string) error
func (*CamService) DeleteUserPolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DeleteUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) error
func (*CamService) DescribeCamAccessKeyById ¶ added in v1.81.35
func (*CamService) DescribeCamAccountSummaryByFilter ¶ added in v1.81.37
func (me *CamService) DescribeCamAccountSummaryByFilter(ctx context.Context) (AccountSummary *cam.GetAccountSummaryResponseParams, errRet error)
func (*CamService) DescribeCamListAttachedUserPolicyByFilter ¶ added in v1.81.37
func (me *CamService) DescribeCamListAttachedUserPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListAttachedUserPolicy []*cam.AttachedUserPolicy, errRet error)
func (*CamService) DescribeCamListEntitiesForPolicyByFilter ¶ added in v1.81.36
func (me *CamService) DescribeCamListEntitiesForPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListEntitiesForPolicy []*cam.AttachEntityOfPolicy, errRet error)
func (*CamService) DescribeCamMfaFlagById ¶ added in v1.81.25
func (me *CamService) DescribeCamMfaFlagById(ctx context.Context, id uint64) (loginFlag *cam.LoginActionFlag, actionFlag *cam.LoginActionFlag, errRet error)
func (*CamService) DescribeCamPolicyGrantingServiceAccessByFilter ¶ added in v1.81.37
func (me *CamService) DescribeCamPolicyGrantingServiceAccessByFilter(ctx context.Context, param map[string]interface{}) (PolicyGrantingServiceAccess []*cam.ListGrantServiceAccessNode, errRet error)
func (*CamService) DescribeCamPolicyVersionById ¶ added in v1.81.36
func (me *CamService) DescribeCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (policyVersion *cam.PolicyVersionDetail, errRet error)
func (*CamService) DescribeCamRolePermissionBoundaryAttachmentById ¶ added in v1.81.37
func (me *CamService) DescribeCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, policyId string) (RolePermissionBoundaryAttachment *cam.GetRolePermissionBoundaryResponseParams, errRet error)
func (*CamService) DescribeCamSecretLastUsedTimeByFilter ¶ added in v1.81.37
func (me *CamService) DescribeCamSecretLastUsedTimeByFilter(ctx context.Context, param map[string]interface{}) (SecretLastUsedTime []*cam.SecretIdLastUsed, errRet error)
func (*CamService) DescribeCamServiceLinkedRole ¶ added in v1.79.0
func (*CamService) DescribeCamServiceLinkedRoleDeleteStatus ¶ added in v1.79.0
func (me *CamService) DescribeCamServiceLinkedRoleDeleteStatus(ctx context.Context, deletionTaskId string) (response *cam.GetServiceLinkedRoleDeletionStatusResponse, errRet error)
func (*CamService) DescribeCamSetPolicyVersionById ¶ added in v1.81.37
func (me *CamService) DescribeCamSetPolicyVersionById(ctx context.Context, policyId, versionId string) (SetPolicyVersion *cam.PolicyVersionItem, errRet error)
func (*CamService) DescribeCamTagRoleById ¶ added in v1.81.37
func (*CamService) DescribeCamUserPermissionBoundaryById ¶ added in v1.81.34
func (me *CamService) DescribeCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (UserPermissionBoundary *cam.GetUserPermissionBoundaryResponse, errRet error)
func (*CamService) DescribeCamUserSamlConfigById ¶ added in v1.79.5
func (me *CamService) DescribeCamUserSamlConfigById(ctx context.Context) (userSamlConfig *cam.DescribeUserSAMLConfigResponse, errRet error)
func (*CamService) DescribeGroupById ¶ added in v1.41.3
func (me *CamService) DescribeGroupById(ctx context.Context, groupId string) (camInstance *cam.GetGroupResponse, errRet error)
func (*CamService) DescribeGroupMembershipById ¶ added in v1.41.3
func (*CamService) DescribeGroupPolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DescribeGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeGroupPolicyAttachmentsByFilter ¶ added in v1.41.3
func (me *CamService) DescribeGroupPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeGroupsByFilter ¶ added in v1.41.3
func (*CamService) DescribePoliciesByFilter ¶ added in v1.41.3
func (me *CamService) DescribePoliciesByFilter(ctx context.Context, params map[string]interface{}) (policies []*cam.StrategyInfo, errRet error)
func (*CamService) DescribePolicyById ¶ added in v1.41.3
func (me *CamService) DescribePolicyById(ctx context.Context, policyId string) (result *cam.GetPolicyResponse, errRet error)
func (*CamService) DescribeRoleById ¶ added in v1.41.3
func (*CamService) DescribeRolePolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DescribeRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolePolicyAttachmentByName ¶ added in v1.78.14
func (me *CamService) DescribeRolePolicyAttachmentByName(ctx context.Context, roleName string, params map[string]interface{}) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolePolicyAttachmentsByFilter ¶ added in v1.41.3
func (me *CamService) DescribeRolePolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyOfRoles []*cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolesByFilter ¶ added in v1.41.3
func (*CamService) DescribeSAMLProviderById ¶ added in v1.41.3
func (me *CamService) DescribeSAMLProviderById(ctx context.Context, providerName string) (result *cam.GetSAMLProviderResponse, errRet error)
func (*CamService) DescribeSAMLProvidersByFilter ¶ added in v1.41.3
func (me *CamService) DescribeSAMLProvidersByFilter(ctx context.Context, params map[string]interface{}) (providers []*cam.SAMLProviderInfo, errRet error)
func (*CamService) DescribeUserById ¶ added in v1.41.3
func (me *CamService) DescribeUserById(ctx context.Context, userId string) (response *cam.GetUserResponse, errRet error)
func (*CamService) DescribeUserPolicyAttachmentById ¶ added in v1.41.3
func (me *CamService) DescribeUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeUserPolicyAttachmentsByFilter ¶ added in v1.41.3
func (me *CamService) DescribeUserPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeUsersByFilter ¶ added in v1.41.3
func (me *CamService) DescribeUsersByFilter(ctx context.Context, params map[string]interface{}) (result []*cam.SubAccountInfo, errRet error)
func (*CamService) PolicyDocumentForceCheck ¶ added in v1.41.3
func (me *CamService) PolicyDocumentForceCheck(document string) error
type CatService ¶ added in v1.78.9
type CatService struct {
// contains filtered or unexported fields
}
func (*CatService) DeleteCatTaskSetById ¶ added in v1.78.9
func (me *CatService) DeleteCatTaskSetById(ctx context.Context, taskId string) (errRet error)
func (*CatService) DescribeCatMetricDataByFilter ¶ added in v1.81.33
func (me *CatService) DescribeCatMetricDataByFilter(ctx context.Context, param map[string]interface{}) (metricData *cat.DescribeProbeMetricDataResponseParams, errRet error)
func (*CatService) DescribeCatNodeByFilter ¶ added in v1.78.9
func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefineExt, errRet error)
DescribeNodes interface is an alternative interface to DescribeProbeNodes, but it lacks the NodeDefineStatus field, so both interfaces are used at the same time.
func (*CatService) DescribeCatProbeDataByFilter ¶ added in v1.78.9
func (me *CatService) DescribeCatProbeDataByFilter(ctx context.Context, param map[string]interface{}) (probeData []*cat.DetailedSingleDataDefine, errRet error)
func (*CatService) DescribeCatProbeNodeByFilter ¶ added in v1.81.33
func (me *CatService) DescribeCatProbeNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefine, errRet error)
func (*CatService) DescribeCatTaskSet ¶ added in v1.78.9
type CbsService ¶ added in v1.41.3
type CbsService struct {
// contains filtered or unexported fields
}
func (*CbsService) ApplyDiskBackup ¶ added in v1.79.9
func (me *CbsService) ApplyDiskBackup(ctx context.Context, diskBackupId, diskId string) (errRet error)
func (*CbsService) ApplySnapshot ¶ added in v1.41.3
func (me *CbsService) ApplySnapshot(ctx context.Context, diskId, snapshotId string) error
func (*CbsService) AttachDisk ¶ added in v1.41.3
func (me *CbsService) AttachDisk(ctx context.Context, diskId, instanceId string) error
func (*CbsService) AttachSnapshotPolicy ¶ added in v1.41.3
func (me *CbsService) AttachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
func (*CbsService) CreateDiskBackup ¶ added in v1.79.9
func (*CbsService) CreateSnapshot ¶ added in v1.41.3
func (*CbsService) DeleteCbsDiskBackupById ¶ added in v1.79.9
func (me *CbsService) DeleteCbsDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
func (*CbsService) DeleteDiskById ¶ added in v1.41.3
func (me *CbsService) DeleteDiskById(ctx context.Context, diskId string) error
func (*CbsService) DeleteDiskSetByIds ¶ added in v1.75.2
func (me *CbsService) DeleteDiskSetByIds(ctx context.Context, diskSetIds string) error
func (*CbsService) DeleteSnapshot ¶ added in v1.41.3
func (me *CbsService) DeleteSnapshot(ctx context.Context, snapshotId string) error
func (*CbsService) DeleteSnapshotPolicy ¶ added in v1.41.3
func (me *CbsService) DeleteSnapshotPolicy(ctx context.Context, policyId string) error
func (*CbsService) DescribeAttachedSnapshotPolicy ¶ added in v1.41.3
func (me *CbsService) DescribeAttachedSnapshotPolicy(ctx context.Context, diskId, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeCbsDiskBackupById ¶ added in v1.79.9
func (me *CbsService) DescribeCbsDiskBackupById(ctx context.Context, diskBackupId string) (DiskBackup *cbs.DiskBackup, errRet error)
func (*CbsService) DescribeCbsSnapshotSharePermissionById ¶ added in v1.79.9
func (me *CbsService) DescribeCbsSnapshotSharePermissionById(ctx context.Context, snapshotId string) (snapshotSharePermissions []*cbs.SharePermission, errRet error)
func (*CbsService) DescribeDiskById ¶ added in v1.41.3
func (*CbsService) DescribeDiskList ¶ added in v1.61.10
func (*CbsService) DescribeDiskSetByIds ¶ added in v1.75.2
func (*CbsService) DescribeDisksByFilter ¶ added in v1.41.3
func (*CbsService) DescribeDisksInParallelByFilter ¶ added in v1.75.4
func (*CbsService) DescribeSnapshotById ¶ added in v1.41.3
func (*CbsService) DescribeSnapshotByIds ¶ added in v1.41.3
func (*CbsService) DescribeSnapshotPolicy ¶ added in v1.41.3
func (me *CbsService) DescribeSnapshotPolicy(ctx context.Context, policyId, policyName string) (policies []*cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeSnapshotPolicyById ¶ added in v1.41.3
func (me *CbsService) DescribeSnapshotPolicyById(ctx context.Context, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeSnapshotsByFilter ¶ added in v1.41.3
func (*CbsService) DetachDisk ¶ added in v1.41.3
func (me *CbsService) DetachDisk(ctx context.Context, diskId, instanceId string) error
func (*CbsService) ModifyDiskAttributes ¶ added in v1.41.3
func (*CbsService) ModifyDiskBackupQuota ¶ added in v1.79.9
func (*CbsService) ModifyDiskChargeType ¶ added in v1.41.3
func (*CbsService) ModifyDisksRenewFlag ¶ added in v1.41.3
func (*CbsService) ModifySnapshotName ¶ added in v1.41.3
func (me *CbsService) ModifySnapshotName(ctx context.Context, snapshotId, snapshotName string) error
func (*CbsService) ModifySnapshotsSharePermission ¶ added in v1.79.9
func (*CbsService) ModifyThroughputPerformance ¶ added in v1.53.2
func (*CbsService) ResizeDisk ¶ added in v1.41.3
func (*CbsService) UnattachSnapshotPolicy ¶ added in v1.41.3
func (me *CbsService) UnattachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
type CcnAttachedInstanceInfo ¶ added in v1.41.3
type CcnAttachedInstanceInfo struct {
// contains filtered or unexported fields
}
type CcnBandwidthLimit ¶ added in v1.41.3
type CcnBandwidthLimit struct {
// contains filtered or unexported fields
}
type CcnBasicInfo ¶ added in v1.41.3
type CcnBasicInfo struct {
// contains filtered or unexported fields
}
Ccn basic information
type CdhService ¶ added in v1.55.3
type CdhService struct {
// contains filtered or unexported fields
}
func (*CdhService) CreateCdhInstance ¶ added in v1.55.3
func (me *CdhService) CreateCdhInstance(ctx context.Context, placement *cvm.Placement, hostChargePrepaid *cvm.ChargePrepaid, hostChargeType, hostType string) (hostId string, errRet error)
func (*CdhService) DescribeCdhInstanceByFilter ¶ added in v1.55.3
func (*CdhService) DescribeCdhInstanceById ¶ added in v1.55.3
func (*CdhService) ModifyHostName ¶ added in v1.55.3
func (me *CdhService) ModifyHostName(ctx context.Context, hostId, hostName string) (errRet error)
func (*CdhService) ModifyPrepaidRenewFlag ¶ added in v1.55.3
func (me *CdhService) ModifyPrepaidRenewFlag(ctx context.Context, hostId, renewFlag string) (errRet error)
func (*CdhService) ModifyProject ¶ added in v1.55.3
type CdnService ¶ added in v1.41.3
type CdnService struct {
// contains filtered or unexported fields
}
func (*CdnService) CreateVerifyRecord ¶ added in v1.74.0
func (me *CdnService) CreateVerifyRecord(ctx context.Context, domain string) (resp *cdn.CreateVerifyRecordResponseParams, errRet error)
func (*CdnService) DeleteDomain ¶ added in v1.41.3
func (me *CdnService) DeleteDomain(ctx context.Context, domain string) error
func (*CdnService) DescribeDomainsConfigByDomain ¶ added in v1.41.3
func (me *CdnService) DescribeDomainsConfigByDomain(ctx context.Context, domain string) (domainConfig *cdn.DetailDomain, errRet error)
func (*CdnService) DescribeDomainsConfigByFilters ¶ added in v1.41.3
func (me *CdnService) DescribeDomainsConfigByFilters(ctx context.Context, filterMap map[string]interface{}) (domainConfig []*cdn.DetailDomain, errRet error)
func (*CdnService) DescribePurgeTasks ¶ added in v1.74.0
func (me *CdnService) DescribePurgeTasks(ctx context.Context, request *cdn.DescribePurgeTasksRequest) (task []*cdn.PurgeTask, errRet error)
func (*CdnService) DescribePushTasks ¶ added in v1.74.0
func (me *CdnService) DescribePushTasks(ctx context.Context, request *cdn.DescribePushTasksRequest) (task []*cdn.PushTask, errRet error)
func (*CdnService) PurgeUrlsCache ¶ added in v1.74.0
func (me *CdnService) PurgeUrlsCache(ctx context.Context, request *cdn.PurgeUrlsCacheRequest) (taskId string, errRet error)
func (*CdnService) PushUrlsCache ¶ added in v1.74.0
func (me *CdnService) PushUrlsCache(ctx context.Context, request *cdn.PushUrlsCacheRequest) (taskId string, errRet error)
func (*CdnService) StartDomain ¶ added in v1.41.3
func (me *CdnService) StartDomain(ctx context.Context, domain string) error
func (*CdnService) StopDomain ¶ added in v1.41.3
func (me *CdnService) StopDomain(ctx context.Context, domain string) error
func (*CdnService) UpdateDomainConfig ¶ added in v1.78.6
func (me *CdnService) UpdateDomainConfig(ctx context.Context, request *cdn.UpdateDomainConfigRequest) (errRet error)
func (*CdnService) VerifyDomainRecord ¶ added in v1.74.0
type CdnVerifyRecordResponse ¶ added in v1.74.0
type CdwchService ¶ added in v1.81.15
type CdwchService struct {
// contains filtered or unexported fields
}
func (*CdwchService) ActionAlterCkUser ¶ added in v1.81.26
func (*CdwchService) CreateBackUpSchedule ¶ added in v1.81.23
func (*CdwchService) DescribeBackUpScheduleById ¶ added in v1.81.23
func (me *CdwchService) DescribeBackUpScheduleById(ctx context.Context, instanceId string) (backup *cdwch.DescribeBackUpScheduleResponseParams, errRet error)
func (*CdwchService) DescribeCdwchAccountPermission ¶ added in v1.81.26
func (me *CdwchService) DescribeCdwchAccountPermission(ctx context.Context, instanceId, cluster, username string) (userNewPrivilege *cdwch.ModifyUserNewPrivilegeRequestParams, errRet error)
func (*CdwchService) DescribeCkSqlApis ¶ added in v1.81.26
func (me *CdwchService) DescribeCkSqlApis(ctx context.Context, instanceId, cluster, userName, apiType string) error
func (*CdwchService) DescribeClickhouseAccountByUserName ¶ added in v1.81.26
func (me *CdwchService) DescribeClickhouseAccountByUserName(ctx context.Context, instanceId, userName string) (accounts []*AccountInfo, errRet error)
func (*CdwchService) DescribeClickhouseBackupJobsByFilter ¶ added in v1.81.23
func (me *CdwchService) DescribeClickhouseBackupJobsByFilter(ctx context.Context, param map[string]interface{}) (backupJobs []*clickhouse.BackUpJobDisplay, errRet error)
func (*CdwchService) DescribeClickhouseBackupTablesByFilter ¶ added in v1.81.26
func (me *CdwchService) DescribeClickhouseBackupTablesByFilter(ctx context.Context, instanceId string) (backupTables []*clickhouse.BackupTableContent, errRet error)
func (*CdwchService) DescribeInstance ¶ added in v1.81.15
func (me *CdwchService) DescribeInstance(ctx context.Context, instanceId string) (InstanceInfo *cdwch.InstanceInfo, errRet error)
func (*CdwchService) DescribeInstanceClusters ¶ added in v1.81.15
func (me *CdwchService) DescribeInstanceClusters(ctx context.Context, instanceId string) (clusterInfos []*cdwch.ClusterInfo, errRet error)
func (*CdwchService) DescribeInstancesNew ¶ added in v1.81.15
func (me *CdwchService) DescribeInstancesNew(ctx context.Context, instanceId string) (instancesList []*cdwch.InstanceInfo, errRet error)
func (*CdwchService) DestroyInstance ¶ added in v1.81.15
func (me *CdwchService) DestroyInstance(ctx context.Context, instanceId string) (errRet error)
func (*CdwchService) ResizeDisk ¶ added in v1.81.15
func (*CdwchService) ScaleOutInstance ¶ added in v1.81.15
func (*CdwchService) ScaleUpInstance ¶ added in v1.81.15
func (me *CdwchService) ScaleUpInstance(ctx context.Context, instanceId, nodeType, specName string) (errRet error)
type CdwpgService ¶ added in v1.81.39
type CdwpgService struct {
// contains filtered or unexported fields
}
func (*CdwpgService) DeleteCdwpgInstanceById ¶ added in v1.81.39
func (me *CdwpgService) DeleteCdwpgInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*CdwpgService) DescribeCdwpgInstanceById ¶ added in v1.81.39
func (me *CdwpgService) DescribeCdwpgInstanceById(ctx context.Context, instanceId string) (instance *cdwpg.SimpleInstanceInfo, errRet error)
func (*CdwpgService) InstanceStateRefreshFunc ¶ added in v1.81.39
func (me *CdwpgService) InstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
type CfsService ¶ added in v1.41.3
type CfsService struct {
// contains filtered or unexported fields
}
func (*CfsService) CfsSnapshotStateRefreshFunc ¶ added in v1.79.7
func (me *CfsService) CfsSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
func (*CfsService) CreateAccessGroup ¶ added in v1.41.3
func (*CfsService) DeleteAccessGroup ¶ added in v1.41.3
func (me *CfsService) DeleteAccessGroup(ctx context.Context, id string) error
func (*CfsService) DeleteAccessRule ¶ added in v1.41.3
func (me *CfsService) DeleteAccessRule(ctx context.Context, accessGroupId, accessRuleId string) error
func (*CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById ¶ added in v1.79.3
func (*CfsService) DeleteCfsAutoSnapshotPolicyById ¶ added in v1.79.3
func (me *CfsService) DeleteCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (errRet error)
func (*CfsService) DeleteCfsSnapshotById ¶ added in v1.79.7
func (me *CfsService) DeleteCfsSnapshotById(ctx context.Context, snapshotId string) (errRet error)
func (*CfsService) DeleteCfsUserQuotaById ¶ added in v1.79.7
func (*CfsService) DeleteFileSystem ¶ added in v1.41.3
func (me *CfsService) DeleteFileSystem(ctx context.Context, fsId string) error
func (*CfsService) DescribeAccessGroup ¶ added in v1.41.3
func (me *CfsService) DescribeAccessGroup(ctx context.Context, id, name string) (accessGroups []*cfs.PGroupInfo, errRet error)
func (*CfsService) DescribeAccessRule ¶ added in v1.41.3
func (me *CfsService) DescribeAccessRule(ctx context.Context, accessGroupId, accessRuleId string) (accessRules []*cfs.PGroupRuleInfo, errRet error)
func (*CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById ¶ added in v1.79.3
func (me *CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (autoSnapshotPolicyAttachment *cfs.AutoSnapshotPolicyInfo, errRet error)
func (*CfsService) DescribeCfsAutoSnapshotPolicyById ¶ added in v1.79.3
func (me *CfsService) DescribeCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (autoSnapshotPolicy *cfs.AutoSnapshotPolicyInfo, errRet error)
func (*CfsService) DescribeCfsAvailableZoneByFilter ¶ added in v1.79.7
func (me *CfsService) DescribeCfsAvailableZoneByFilter(ctx context.Context) (availableZone []*cfs.AvailableRegion, errRet error)
func (*CfsService) DescribeCfsFileSystemClientsById ¶ added in v1.79.7
func (me *CfsService) DescribeCfsFileSystemClientsById(ctx context.Context, fileSystemId string) (fileSystemClients []*cfs.FileSystemClient, errRet error)
func (*CfsService) DescribeCfsMountTargetsById ¶ added in v1.79.7
func (*CfsService) DescribeCfsSnapshotById ¶ added in v1.79.7
func (me *CfsService) DescribeCfsSnapshotById(ctx context.Context, snapshotId string) (snapshot *cfs.SnapshotInfo, errRet error)
func (*CfsService) DescribeCfsUserQuotaById ¶ added in v1.79.7
func (*CfsService) DescribeFileSystem ¶ added in v1.41.3
func (me *CfsService) DescribeFileSystem(ctx context.Context, fsId, vpcId, subnetId string) (fs []*cfs.FileSystemInfo, errRet error)
func (*CfsService) DescribeMountTargets ¶ added in v1.41.3
func (*CfsService) ModifyFileSystemAccessGroup ¶ added in v1.41.3
func (me *CfsService) ModifyFileSystemAccessGroup(ctx context.Context, fsId, accessGroupId string) error
func (*CfsService) ModifyFileSystemName ¶ added in v1.41.3
func (me *CfsService) ModifyFileSystemName(ctx context.Context, fsId, fsName string) error
type CfwService ¶ added in v1.81.32
type CfwService struct {
// contains filtered or unexported fields
}
func (*CfwService) DeleteCfwAddressTemplateById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwAddressTemplateById(ctx context.Context, uuid string) (errRet error)
func (*CfwService) DeleteCfwBlockIgnoreListById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (errRet error)
func (*CfwService) DeleteCfwEdgePolicyById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwEdgePolicyById(ctx context.Context, uuid string) (errRet error)
func (*CfwService) DeleteCfwNatInstanceById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwNatInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*CfwService) DeleteCfwNatPolicyById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwNatPolicyById(ctx context.Context, uuid string) (errRet error)
func (*CfwService) DeleteCfwVpcInstanceById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwVpcInstanceById(ctx context.Context, fwGroupId string) (errRet error)
func (*CfwService) DeleteCfwVpcPolicyById ¶ added in v1.81.32
func (me *CfwService) DeleteCfwVpcPolicyById(ctx context.Context, uuid string) (errRet error)
func (*CfwService) DescribeCfwAddressTemplateById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwAddressTemplateById(ctx context.Context, uuid string) (addressTemplate *cfw.TemplateListInfo, errRet error)
func (*CfwService) DescribeCfwBlockIgnoreListById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (blockIgnoreRule *cfw.BlockIgnoreRule, errRet error)
func (*CfwService) DescribeCfwEdgeFirewallSwitchById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwEdgeFirewallSwitchById(ctx context.Context, publicIp string) (edgeFirewallSwitch *cfw.EdgeIpInfo, errRet error)
func (*CfwService) DescribeCfwEdgeFwSwitchesByFilter ¶ added in v1.81.32
func (me *CfwService) DescribeCfwEdgeFwSwitchesByFilter(ctx context.Context) (edgeFwSwitches []*cfw.EdgeIpInfo, errRet error)
func (*CfwService) DescribeCfwEdgePolicyById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwEdgePolicyById(ctx context.Context, uuid string) (edgePolicy *cfw.DescAcItem, errRet error)
func (*CfwService) DescribeCfwEipsById ¶ added in v1.81.32
func (*CfwService) DescribeCfwNatFirewallSwitchById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwNatFirewallSwitchById(ctx context.Context, natInsId, subnetId string) (natFirewallSwitch *cfw.NatSwitchListData, errRet error)
func (*CfwService) DescribeCfwNatFwSwitchesByFilter ¶ added in v1.81.32
func (me *CfwService) DescribeCfwNatFwSwitchesByFilter(ctx context.Context, param map[string]interface{}) (natFwSwitches []*cfw.NatSwitchListData, errRet error)
func (*CfwService) DescribeCfwNatInstanceById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwNatInstanceById(ctx context.Context, natinsId string) (natInstance *cfw.NatInstanceInfo, errRet error)
func (*CfwService) DescribeCfwNatPolicyById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwNatPolicyById(ctx context.Context, uuid string) (natPolicy *cfw.DescAcItem, errRet error)
func (*CfwService) DescribeCfwVpcFirewallSwitchById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwVpcFirewallSwitchById(ctx context.Context, vpcInsId, switchId string) (vpcFirewallSwitch *cfw.FwGroupSwitchShow, errRet error)
func (*CfwService) DescribeCfwVpcFwSwitchesByFilter ¶ added in v1.81.32
func (me *CfwService) DescribeCfwVpcFwSwitchesByFilter(ctx context.Context, vpcInsId string) (vpcFirewallSwitch []*cfw.FwGroupSwitchShow, errRet error)
func (*CfwService) DescribeCfwVpcInstanceById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwVpcInstanceById(ctx context.Context, fwGroupId string) (vpcInstance *cfw.VpcFwGroupInfo, errRet error)
func (*CfwService) DescribeCfwVpcPolicyById ¶ added in v1.81.32
func (me *CfwService) DescribeCfwVpcPolicyById(ctx context.Context, uuid string) (vpcPolicy *cfw.VpcRuleItem, errRet error)
func (*CfwService) DescribeFwGroupInstanceInfoById ¶ added in v1.81.32
func (me *CfwService) DescribeFwGroupInstanceInfoById(ctx context.Context, fwGroupId string) (vpcFwGroupInfo *cfw.VpcFwGroupInfo, errRet error)
func (*CfwService) DescribeNatFwVpcDnsLstById ¶ added in v1.81.32
type ChdfsService ¶ added in v1.79.11
type ChdfsService struct {
// contains filtered or unexported fields
}
func (*ChdfsService) ChdfsFileSystemStateRefreshFunc ¶ added in v1.79.11
func (me *ChdfsService) ChdfsFileSystemStateRefreshFunc(fileSystemId string, failStates []string) resource.StateRefreshFunc
func (*ChdfsService) DeleteChdfsAccessGroupById ¶ added in v1.79.11
func (me *ChdfsService) DeleteChdfsAccessGroupById(ctx context.Context, accessGroupId string) (errRet error)
func (*ChdfsService) DeleteChdfsAccessRulesById ¶ added in v1.79.11
func (me *ChdfsService) DeleteChdfsAccessRulesById(ctx context.Context, accessRuleId string) (errRet error)
func (*ChdfsService) DeleteChdfsFileSystemById ¶ added in v1.79.11
func (me *ChdfsService) DeleteChdfsFileSystemById(ctx context.Context, fileSystemId string) (errRet error)
func (*ChdfsService) DeleteChdfsLifeCycleRuleById ¶ added in v1.79.11
func (me *ChdfsService) DeleteChdfsLifeCycleRuleById(ctx context.Context, lifeCycleRuleId string) (errRet error)
func (*ChdfsService) DeleteChdfsMountPointAttachmentById ¶ added in v1.79.12
func (*ChdfsService) DeleteChdfsMountPointById ¶ added in v1.79.12
func (me *ChdfsService) DeleteChdfsMountPointById(ctx context.Context, mountPointId string) (errRet error)
func (*ChdfsService) DescribeChdfsAccessGroupById ¶ added in v1.79.11
func (me *ChdfsService) DescribeChdfsAccessGroupById(ctx context.Context, accessGroupId string) (accessGroup *chdfs.AccessGroup, errRet error)
func (*ChdfsService) DescribeChdfsAccessGroupsByFilter ¶ added in v1.79.12
func (me *ChdfsService) DescribeChdfsAccessGroupsByFilter(ctx context.Context, param map[string]interface{}) (AccessGroups []*chdfs.AccessGroup, errRet error)
func (*ChdfsService) DescribeChdfsAccessRulesById ¶ added in v1.79.11
func (me *ChdfsService) DescribeChdfsAccessRulesById(ctx context.Context, accessGroupId string, accessRuleId string) (accessRule *chdfs.AccessRule, errRet error)
func (*ChdfsService) DescribeChdfsFileSystemById ¶ added in v1.79.11
func (me *ChdfsService) DescribeChdfsFileSystemById(ctx context.Context, fileSystemId string) (fileSystem *chdfs.FileSystem, errRet error)
func (*ChdfsService) DescribeChdfsFileSystems ¶ added in v1.81.6
func (me *ChdfsService) DescribeChdfsFileSystems(ctx context.Context) (fileSystems []*chdfs.FileSystem, errRet error)
func (*ChdfsService) DescribeChdfsLifeCycleRuleById ¶ added in v1.79.11
func (me *ChdfsService) DescribeChdfsLifeCycleRuleById(ctx context.Context, fileSystemId string, lifeCycleRuleId string) (lifeCycleRule *chdfs.LifeCycleRule, errRet error)
func (*ChdfsService) DescribeChdfsLifeCycleRuleByPath ¶ added in v1.79.12
func (me *ChdfsService) DescribeChdfsLifeCycleRuleByPath(ctx context.Context, fileSystemId string, path string) (lifeCycleRule *chdfs.LifeCycleRule, errRet error)
func (*ChdfsService) DescribeChdfsMountPointById ¶ added in v1.79.12
func (me *ChdfsService) DescribeChdfsMountPointById(ctx context.Context, mountPointId string) (mountPoint *chdfs.MountPoint, errRet error)
func (*ChdfsService) DescribeChdfsMountPointsByFilter ¶ added in v1.79.12
func (me *ChdfsService) DescribeChdfsMountPointsByFilter(ctx context.Context, param map[string]interface{}) (MountPoints []*chdfs.MountPoint, errRet error)
type CiService ¶ added in v1.79.3
type CiService struct {
// contains filtered or unexported fields
}
func (*CiService) CloseCiGuetzliById ¶ added in v1.79.4
func (*CiService) CloseCiOriginalImageProtectionById ¶ added in v1.79.4
func (*CiService) DeleteCiBucketById ¶ added in v1.79.3
func (*CiService) DeleteCiBucketPicStyleById ¶ added in v1.79.3
func (*CiService) DeleteCiMediaTemplateById ¶ added in v1.79.3
func (*CiService) DescribeCiBucketById ¶ added in v1.79.3
func (*CiService) DescribeCiBucketPicStyleById ¶ added in v1.79.3
func (*CiService) DescribeCiHotLinkById ¶ added in v1.79.3
func (*CiService) DescribeCiMediaTemplateById ¶ added in v1.79.3
func (*CiService) GetCiGuetzliById ¶ added in v1.79.4
func (*CiService) GetCiOriginalImageProtectionById ¶ added in v1.79.4
func (*CiService) OpenCiGuetzliById ¶ added in v1.79.4
type CiamService ¶ added in v1.81.12
type CiamService struct {
// contains filtered or unexported fields
}
func (*CiamService) DeleteCiamUserGroupById ¶ added in v1.81.12
func (*CiamService) DeleteCiamUserStoreById ¶ added in v1.81.12
func (me *CiamService) DeleteCiamUserStoreById(ctx context.Context, userPoolId string) (errRet error)
func (*CiamService) DescribeCiamUserGroupById ¶ added in v1.81.12
func (*CiamService) DescribeCiamUserStoreById ¶ added in v1.81.12
type CkafkaService ¶ added in v1.41.3
type CkafkaService struct {
// contains filtered or unexported fields
}
func (*CkafkaService) AddCkafkaTopicIpWhiteList ¶ added in v1.42.0
func (*CkafkaService) AddCkafkaTopicPartition ¶ added in v1.42.0
func (*CkafkaService) CheckCkafkaInstanceReady ¶ added in v1.60.19
func (*CkafkaService) CkafkaConnectResourceStateRefreshFunc ¶ added in v1.80.3
func (me *CkafkaService) CkafkaConnectResourceStateRefreshFunc(resourceId string, failStates []string) resource.StateRefreshFunc
func (*CkafkaService) CkafkaDatahubTaskStateRefreshFunc ¶ added in v1.81.4
func (me *CkafkaService) CkafkaDatahubTaskStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
func (*CkafkaService) CkafkaRouteStateRefreshFunc ¶ added in v1.81.17
func (me *CkafkaService) CkafkaRouteStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
func (*CkafkaService) CreateAcl ¶ added in v1.41.3
func (me *CkafkaService) CreateAcl(ctx context.Context, instanceId, resourceType, resourceName, operation, permissionType, host, principal string) (errRet error)
func (*CkafkaService) CreateCkafkaTopic ¶ added in v1.42.0
func (me *CkafkaService) CreateCkafkaTopic(ctx context.Context, request *ckafka.CreateTopicRequest) (errRet error)
func (*CkafkaService) CreateUser ¶ added in v1.41.3
func (me *CkafkaService) CreateUser(ctx context.Context, instanceId, user, password string) (errRet error)
func (*CkafkaService) DeleteAcl ¶ added in v1.41.3
func (me *CkafkaService) DeleteAcl(ctx context.Context, aclId string) (errRet error)
func (*CkafkaService) DeleteCkafkaAclRuleById ¶ added in v1.81.4
func (*CkafkaService) DeleteCkafkaConnectResourceById ¶ added in v1.80.3
func (me *CkafkaService) DeleteCkafkaConnectResourceById(ctx context.Context, resourceId string) (errRet error)
func (*CkafkaService) DeleteCkafkaConsumerGroupById ¶ added in v1.81.4
func (*CkafkaService) DeleteCkafkaDatahubTaskById ¶ added in v1.81.4
func (me *CkafkaService) DeleteCkafkaDatahubTaskById(ctx context.Context, taskId string) (errRet error)
func (*CkafkaService) DeleteCkafkaDatahubTopicById ¶ added in v1.80.3
func (me *CkafkaService) DeleteCkafkaDatahubTopicById(ctx context.Context, topicName string) (errRet error)
func (*CkafkaService) DeleteCkafkaRouteById ¶ added in v1.81.17
func (*CkafkaService) DeleteCkafkaTopic ¶ added in v1.42.0
func (*CkafkaService) DeleteUser ¶ added in v1.41.3
func (me *CkafkaService) DeleteUser(ctx context.Context, userId string) (errRet error)
func (*CkafkaService) DescribeAclByAclId ¶ added in v1.41.3
func (*CkafkaService) DescribeAclByFilter ¶ added in v1.41.3
func (*CkafkaService) DescribeCkafkaAclRuleById ¶ added in v1.81.4
func (*CkafkaService) DescribeCkafkaById ¶ added in v1.42.0
func (me *CkafkaService) DescribeCkafkaById(ctx context.Context, instanceId string) (instance *ckafka.InstanceDetail, has bool, errRet error)
func (*CkafkaService) DescribeCkafkaCkafkaZoneByFilter ¶ added in v1.81.4
func (me *CkafkaService) DescribeCkafkaCkafkaZoneByFilter(ctx context.Context, param map[string]interface{}) (ckafkaZone *ckafka.ZoneResponse, errRet error)
func (*CkafkaService) DescribeCkafkaConnectResourceByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaConnectResourceByFilter(ctx context.Context, params map[string]interface{}) (describeConnectResourceResp *ckafka.DescribeConnectResourcesResp, errRet error)
func (*CkafkaService) DescribeCkafkaConnectResourceById ¶ added in v1.80.3
func (me *CkafkaService) DescribeCkafkaConnectResourceById(ctx context.Context, resourceId string) (connectResource *ckafka.DescribeConnectResourceResp, errRet error)
func (*CkafkaService) DescribeCkafkaConsumerGroupById ¶ added in v1.81.4
func (me *CkafkaService) DescribeCkafkaConsumerGroupById(ctx context.Context, instanceId string, groupName string) (consumerGroup *ckafka.ConsumerGroupResponse, errRet error)
func (*CkafkaService) DescribeCkafkaDatahubGroupOffsetsByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaDatahubGroupOffsetsByFilter(ctx context.Context, param map[string]interface{}) (groupOffsetTopics []*ckafka.GroupOffsetTopic, errRet error)
func (*CkafkaService) DescribeCkafkaDatahubTaskByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaDatahubTaskByFilter(ctx context.Context, param map[string]interface{}) (datahubTaskInfos []*ckafka.DatahubTaskInfo, errRet error)
func (*CkafkaService) DescribeCkafkaDatahubTopicByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaDatahubTopicByFilter(ctx context.Context, paramMap map[string]interface{}) (result *ckafka.DescribeDatahubTopicsResp, errRet error)
func (*CkafkaService) DescribeCkafkaDatahubTopicById ¶ added in v1.80.3
func (me *CkafkaService) DescribeCkafkaDatahubTopicById(ctx context.Context, topicName string) (datahubTopic *ckafka.DescribeDatahubTopicResp, errRet error)
func (*CkafkaService) DescribeCkafkaGroupByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaGroupByFilter(ctx context.Context, param map[string]interface{}) (groups []*ckafka.DescribeGroup, errRet error)
func (*CkafkaService) DescribeCkafkaGroupInfoByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaGroupInfoByFilter(ctx context.Context, param map[string]interface{}) (groupInfo []*ckafka.GroupInfoResponse, errRet error)
func (*CkafkaService) DescribeCkafkaGroupOffsetsByFilter ¶ added in v1.81.2
func (me *CkafkaService) DescribeCkafkaGroupOffsetsByFilter(ctx context.Context, param map[string]interface{}) (groupOffsetTopics []*ckafka.GroupOffsetTopic, errRet error)
func (*CkafkaService) DescribeCkafkaInstanceById ¶ added in v1.60.19
func (me *CkafkaService) DescribeCkafkaInstanceById(ctx context.Context, instanceId string) (info *ckafka.InstanceDetail, has bool, errRet error)
func (*CkafkaService) DescribeCkafkaRouteById ¶ added in v1.81.17
func (*CkafkaService) DescribeCkafkaTaskStatusByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaTaskStatusByFilter(ctx context.Context, flowId int) (taskStatus *ckafka.TaskStatusResponse, errRet error)
func (*CkafkaService) DescribeCkafkaTopicAttributes ¶ added in v1.42.0
func (me *CkafkaService) DescribeCkafkaTopicAttributes(ctx context.Context, instanceId string, topicName string) (topicInfo *ckafka.TopicAttributesResponse, errRet error)
func (*CkafkaService) DescribeCkafkaTopicByName ¶ added in v1.42.0
func (me *CkafkaService) DescribeCkafkaTopicByName(ctx context.Context, instanceId string, topicName string) (topic *ckafka.TopicDetail, has bool, errRet error)
func (*CkafkaService) DescribeCkafkaTopicFlowRankingByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaTopicFlowRankingByFilter(ctx context.Context, param map[string]interface{}) (topicFlowRanking *ckafka.TopicFlowRankingResult, errRet error)
func (*CkafkaService) DescribeCkafkaTopicProduceConnectionByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaTopicProduceConnectionByFilter(ctx context.Context, param map[string]interface{}) (topicProduceConnection []*ckafka.DescribeConnectInfoResultDTO, errRet error)
func (*CkafkaService) DescribeCkafkaTopicSubscribeGroupByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaTopicSubscribeGroupByFilter(ctx context.Context, param map[string]interface{}) (groupInfos []*ckafka.GroupInfoResponse, errRet error)
func (*CkafkaService) DescribeCkafkaTopicSyncReplicaByFilter ¶ added in v1.81.3
func (me *CkafkaService) DescribeCkafkaTopicSyncReplicaByFilter(ctx context.Context, param map[string]interface{}) (topicInSyncReplicaInfos []*ckafka.TopicInSyncReplicaInfo, errRet error)
func (*CkafkaService) DescribeCkafkaTopics ¶ added in v1.42.0
func (me *CkafkaService) DescribeCkafkaTopics(ctx context.Context, instanceId string, topicName string) (topicList []*ckafka.TopicDetail, errRet error)
func (*CkafkaService) DescribeDatahubTask ¶ added in v1.81.4
func (me *CkafkaService) DescribeDatahubTask(ctx context.Context, taskId string) (result *ckafka.DescribeDatahubTaskRes, errRet error)
func (*CkafkaService) DescribeInstanceById ¶ added in v1.41.3
func (me *CkafkaService) DescribeInstanceById(ctx context.Context, instanceId string) (instanceInfo *ckafka.InstanceAttributesResponse, has bool, errRet error)
func (*CkafkaService) DescribeTopicById ¶ added in v1.41.3
func (me *CkafkaService) DescribeTopicById(ctx context.Context, topicId string) (topicInfo *ckafka.TopicAttributesResponse, has bool, errRet error)
func (*CkafkaService) DescribeUserByFilter ¶ added in v1.41.3
func (*CkafkaService) DescribeUserByUserId ¶ added in v1.41.3
func (*CkafkaService) ModifyCkafkaInstanceAttributes ¶ added in v1.60.19
func (me *CkafkaService) ModifyCkafkaInstanceAttributes(ctx context.Context, request *ckafka.ModifyInstanceAttributesRequest) (errRet error)
func (*CkafkaService) ModifyCkafkaTopicAttribute ¶ added in v1.42.0
func (me *CkafkaService) ModifyCkafkaTopicAttribute(ctx context.Context, request *ckafka.ModifyTopicAttributesRequest) (errRet error)
func (*CkafkaService) ModifyPassword ¶ added in v1.41.3
func (me *CkafkaService) ModifyPassword(ctx context.Context, instanceId, user, oldPasswd, newPasswd string) (errRet error)
func (*CkafkaService) OperateStatusCheck ¶ added in v1.41.3
func (me *CkafkaService) OperateStatusCheck(ctx context.Context, result *ckafka.JgwOperateResponse) (isSucceed bool)
func (*CkafkaService) RemoveCkafkaTopicIpWhiteList ¶ added in v1.42.0
type ClbService ¶ added in v1.41.3
type ClbService struct {
// contains filtered or unexported fields
}
func (*ClbService) AssociateTargetGroups ¶ added in v1.45.0
func (me *ClbService) AssociateTargetGroups(ctx context.Context, listenerId, clbId, targetGroupId, locationId string) (errRet error)
func (*ClbService) BindOrUnBindCustomizedConfigWithLbId ¶ added in v1.60.11
func (*ClbService) CreateClbLogSet ¶ added in v1.60.7
func (*ClbService) CreateLoadBalancerSnatIps ¶ added in v1.74.2
func (*ClbService) CreateTargetGroup ¶ added in v1.45.0
func (me *ClbService) CreateTargetGroup(ctx context.Context, targetGroupName string, vpcId string, port uint64, targetGroupInstances []*clb.TargetGroupInstance) (targetGroupId string, err error)
func (*ClbService) CreateTopic ¶ added in v1.60.7
func (me *ClbService) CreateTopic(ctx context.Context, params map[string]interface{}) (response *clb.CreateTopicResponse, err error)
func (*ClbService) DeleteAttachmentById ¶ added in v1.41.3
func (*ClbService) DeleteClbFunctionTargetsAttachmentById ¶ added in v1.79.9
func (*ClbService) DeleteLbCustomizedConfigById ¶ added in v1.60.11
func (me *ClbService) DeleteLbCustomizedConfigById(ctx context.Context, configId string) (errRet error)
func (*ClbService) DeleteListenerById ¶ added in v1.41.3
func (*ClbService) DeleteLoadBalancerById ¶ added in v1.41.3
func (me *ClbService) DeleteLoadBalancerById(ctx context.Context, clbId string) error
func (*ClbService) DeleteLoadBalancerSnatIps ¶ added in v1.74.2
func (*ClbService) DeleteRedirectionById ¶ added in v1.41.3
func (me *ClbService) DeleteRedirectionById(ctx context.Context, rewriteId string) error
func (*ClbService) DeleteRuleById ¶ added in v1.41.3
func (*ClbService) DeleteTarget ¶ added in v1.45.0
func (me *ClbService) DeleteTarget(ctx context.Context, targetGroupId string) error
func (*ClbService) DeregisterTargetInstances ¶ added in v1.45.0
func (*ClbService) DescribeAllAutoRedirections ¶ added in v1.46.2
func (*ClbService) DescribeAssociateTargetGroups ¶ added in v1.45.0
func (*ClbService) DescribeAttachmentByPara ¶ added in v1.41.3
func (me *ClbService) DescribeAttachmentByPara(ctx context.Context, clbId string, listenerId string, locationId string) (clbAttachment *clb.ListenerBackend, errRet error)
func (*ClbService) DescribeAttachmentsByFilter ¶ added in v1.41.3
func (me *ClbService) DescribeAttachmentsByFilter(ctx context.Context, params map[string]string) (clbAttachments []*clb.ListenerBackend, errRet error)
func (*ClbService) DescribeClbClusterResourcesByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbClusterResourcesByFilter(ctx context.Context, param map[string]interface{}) (clusterResources []*clb.ClusterResource, errRet error)
func (*ClbService) DescribeClbCrossTargetsByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbCrossTargetsByFilter(ctx context.Context, param map[string]interface{}) (crossTargets []*clb.CrossTargets, errRet error)
func (*ClbService) DescribeClbExclusiveClustersByFilter ¶ added in v1.81.3
func (*ClbService) DescribeClbFunctionTargetsAttachmentById ¶ added in v1.79.9
func (*ClbService) DescribeClbIdleInstancesByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbIdleInstancesByFilter(ctx context.Context, param map[string]interface{}) (idleLoadbalancers []*clb.IdleLoadBalancer, errRet error)
func (*ClbService) DescribeClbInstanceByCertId ¶ added in v1.81.3
func (me *ClbService) DescribeClbInstanceByCertId(ctx context.Context, param map[string]interface{}) (instances []*clb.CertIdRelatedWithLoadBalancers, errRet error)
func (*ClbService) DescribeClbInstanceDetailByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbInstanceDetailByFilter(ctx context.Context, param map[string]interface{}) (instanceDetail []*clb.LoadBalancerDetail, errRet error)
func (*ClbService) DescribeClbInstanceTraffic ¶ added in v1.81.3
func (me *ClbService) DescribeClbInstanceTraffic(ctx context.Context, param map[string]interface{}) (instanceTraffic []*clb.LoadBalancerTraffic, errRet error)
func (*ClbService) DescribeClbListenersByTargets ¶ added in v1.81.3
func (*ClbService) DescribeClbLogSet ¶ added in v1.60.7
func (*ClbService) DescribeClbResourcesByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbResourcesByFilter(ctx context.Context, param map[string]interface{}) (resources []*clb.ZoneResource, errRet error)
func (*ClbService) DescribeClbTargetGroupListByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbTargetGroupListByFilter(ctx context.Context, param map[string]interface{}) (targetGroupList []*clb.TargetGroupInfo, errRet error)
func (*ClbService) DescribeClbTargetHealthByFilter ¶ added in v1.81.3
func (me *ClbService) DescribeClbTargetHealthByFilter(ctx context.Context, param map[string]interface{}) (targetHealth []*clb.LoadBalancerHealth, errRet error)
func (*ClbService) DescribeLbCustomizedConfigById ¶ added in v1.60.11
func (me *ClbService) DescribeLbCustomizedConfigById(ctx context.Context, configId string) (customizedConfig *clb.ConfigListItem, errRet error)
func (*ClbService) DescribeListenerById ¶ added in v1.41.3
func (*ClbService) DescribeListenersByFilter ¶ added in v1.41.3
func (*ClbService) DescribeLoadBalancerByFilter ¶ added in v1.41.3
func (me *ClbService) DescribeLoadBalancerByFilter(ctx context.Context, params map[string]interface{}) (clbs []*clb.LoadBalancer, errRet error)
func (*ClbService) DescribeLoadBalancerById ¶ added in v1.41.3
func (me *ClbService) DescribeLoadBalancerById(ctx context.Context, clbId string) (clbInstance *clb.LoadBalancer, errRet error)
func (*ClbService) DescribeRedirectionById ¶ added in v1.41.3
func (*ClbService) DescribeRedirectionsByFilter ¶ added in v1.41.3
func (*ClbService) DescribeRuleByPara ¶ added in v1.41.3
func (me *ClbService) DescribeRuleByPara(ctx context.Context, clbId string, listenerId string, domain string, url string) (clbRule *clb.RuleOutput, errRet error)
func (*ClbService) DescribeRulesByFilter ¶ added in v1.41.3
func (me *ClbService) DescribeRulesByFilter(ctx context.Context, params map[string]string) (rules []*clb.RuleOutput, errRet error)
func (*ClbService) DescribeTargetGroupInstances ¶ added in v1.45.0
func (me *ClbService) DescribeTargetGroupInstances(ctx context.Context, filters map[string]string) (targetGroupInstances []*clb.TargetGroupBackend, errRet error)
func (*ClbService) DescribeTargetGroups ¶ added in v1.45.0
func (me *ClbService) DescribeTargetGroups(ctx context.Context, targetGroupId string, filters map[string]string) (targetGroupInfos []*clb.TargetGroupInfo, errRet error)
func (*ClbService) DescribeTaskStatusById ¶ added in v1.81.3
func (*ClbService) DisassociateTargetGroups ¶ added in v1.45.0
func (me *ClbService) DisassociateTargetGroups(ctx context.Context, targetGroupId, listenerId, clbId, locationId string) (errRet error)
func (*ClbService) ModifyTargetGroup ¶ added in v1.45.0
func (*ClbService) ModifyTargetGroupInstancesPort ¶ added in v1.81.2
func (*ClbService) ModifyTargetGroupInstancesWeight ¶ added in v1.45.0
func (*ClbService) ModifyTargetPort ¶ added in v1.81.2
func (me *ClbService) ModifyTargetPort(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, newPort int64) (errRet error)
not use
func (*ClbService) ModifyTargetWeight ¶ added in v1.81.2
func (me *ClbService) ModifyTargetWeight(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, weight int64) (errRet error)
not use
func (*ClbService) RegisterTargetInstances ¶ added in v1.45.0
func (*ClbService) SetClbSecurityGroup ¶ added in v1.81.3
func (*ClbService) UpdateClsLogSet ¶ added in v1.67.0
func (me *ClbService) UpdateClsLogSet(ctx context.Context, request *cls.ModifyLogsetRequest) (errRet error)
type ClsService ¶ added in v1.60.7
type ClsService struct {
// contains filtered or unexported fields
}
func (*ClsService) DeleteClsAlarmById ¶ added in v1.81.2
func (me *ClsService) DeleteClsAlarmById(ctx context.Context, alarmId string) (errRet error)
func (*ClsService) DeleteClsAlarmNoticeById ¶ added in v1.81.2
func (me *ClsService) DeleteClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (errRet error)
func (*ClsService) DeleteClsCkafkaConsumerById ¶ added in v1.81.2
func (me *ClsService) DeleteClsCkafkaConsumerById(ctx context.Context, topicId string) (errRet error)
func (*ClsService) DeleteClsConfig ¶ added in v1.70.0
func (me *ClsService) DeleteClsConfig(ctx context.Context, id string) (errRet error)
func (*ClsService) DeleteClsConfigExtra ¶ added in v1.70.2
func (me *ClsService) DeleteClsConfigExtra(ctx context.Context, id string) (errRet error)
func (*ClsService) DeleteClsCosShipper ¶ added in v1.68.0
func (me *ClsService) DeleteClsCosShipper(ctx context.Context, id string) (errRet error)
func (*ClsService) DeleteClsDataTransformById ¶ added in v1.81.20
func (me *ClsService) DeleteClsDataTransformById(ctx context.Context, taskId string) (errRet error)
func (*ClsService) DeleteClsExportById ¶ added in v1.81.2
func (me *ClsService) DeleteClsExportById(ctx context.Context, exportId string) (errRet error)
func (*ClsService) DeleteClsIndex ¶ added in v1.73.0
func (me *ClsService) DeleteClsIndex(ctx context.Context, id string) (errRet error)
cls index
func (*ClsService) DeleteClsKafkaRechargeById ¶ added in v1.81.20
func (*ClsService) DeleteClsLogsetById ¶ added in v1.77.0
func (me *ClsService) DeleteClsLogsetById(ctx context.Context, logsetId string) (errRet error)
func (*ClsService) DeleteClsMachineGroup ¶ added in v1.67.0
func (me *ClsService) DeleteClsMachineGroup(ctx context.Context, id string) (errRet error)
func (*ClsService) DeleteClsScheduledSqlById ¶ added in v1.81.20
func (*ClsService) DeleteClsTopic ¶ added in v1.67.0
func (me *ClsService) DeleteClsTopic(ctx context.Context, id string) (errRet error)
func (*ClsService) DescribeClsAlarmById ¶ added in v1.81.2
func (*ClsService) DescribeClsAlarmNoticeById ¶ added in v1.81.2
func (me *ClsService) DescribeClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (alarmNotice *cls.AlarmNotice, errRet error)
func (*ClsService) DescribeClsCkafkaConsumerById ¶ added in v1.81.2
func (me *ClsService) DescribeClsCkafkaConsumerById(ctx context.Context, topicId string) (ckafkaConsumer *cls.DescribeConsumerResponseParams, errRet error)
func (*ClsService) DescribeClsConfigById ¶ added in v1.81.2
func (me *ClsService) DescribeClsConfigById(ctx context.Context, configId string) (config *cls.ConfigInfo, errRet error)
cls config
func (*ClsService) DescribeClsConfigExtraById ¶ added in v1.81.2
func (me *ClsService) DescribeClsConfigExtraById(ctx context.Context, configExtraId string) (config *cls.ConfigExtraInfo, errRet error)
cls config extra
func (*ClsService) DescribeClsCosRechargeById ¶ added in v1.81.2
func (me *ClsService) DescribeClsCosRechargeById(ctx context.Context, topicId string, rechargeId string) (cosRecharge *cls.CosRechargeInfo, errRet error)
func (*ClsService) DescribeClsCosShipperById ¶ added in v1.68.0
func (me *ClsService) DescribeClsCosShipperById(ctx context.Context, shipperId string) (instance *cls.ShipperInfo, errRet error)
func (*ClsService) DescribeClsCosShippersByFilter ¶ added in v1.68.0
func (me *ClsService) DescribeClsCosShippersByFilter(ctx context.Context, filters map[string]string) (instances []*cls.ShipperInfo, errRet error)
cls cos shipper
func (*ClsService) DescribeClsDataTransformById ¶ added in v1.81.20
func (me *ClsService) DescribeClsDataTransformById(ctx context.Context, taskId string) (dataTransform *cls.DataTransformTaskInfo, errRet error)
func (*ClsService) DescribeClsExportById ¶ added in v1.81.2
func (me *ClsService) DescribeClsExportById(ctx context.Context, topicId string, exportId string) (export *cls.ExportInfo, errRet error)
func (*ClsService) DescribeClsKafkaRechargeById ¶ added in v1.81.20
func (me *ClsService) DescribeClsKafkaRechargeById(ctx context.Context, id string, topic string) (kafkaRecharge *cls.KafkaRechargeInfo, errRet error)
func (*ClsService) DescribeClsLogset ¶ added in v1.77.0
func (me *ClsService) DescribeClsLogset(ctx context.Context, logsetId string) (logset *cls.LogsetInfo, errRet error)
cls logset
func (*ClsService) DescribeClsLogsetByFilter ¶ added in v1.67.0
func (me *ClsService) DescribeClsLogsetByFilter(ctx context.Context, filters map[string]string) (instances []*cls.LogsetInfo, errRet error)
func (*ClsService) DescribeClsMachineGroupByConfigId ¶ added in v1.81.2
func (me *ClsService) DescribeClsMachineGroupByConfigId(ctx context.Context, configId, groupId string) (machineGroup *cls.MachineGroupInfo, errRet error)
func (*ClsService) DescribeClsMachineGroupByFilter ¶ added in v1.67.0
func (me *ClsService) DescribeClsMachineGroupByFilter(ctx context.Context, filters map[string]string) (instances []*cls.MachineGroupInfo, errRet error)
cls machine group
func (*ClsService) DescribeClsMachineGroupById ¶ added in v1.67.0
func (me *ClsService) DescribeClsMachineGroupById(ctx context.Context, id string) (machineGroup *cls.MachineGroupInfo, errRet error)
func (*ClsService) DescribeClsMachineGroupConfigsByFilter ¶ added in v1.81.2
func (me *ClsService) DescribeClsMachineGroupConfigsByFilter(ctx context.Context, param map[string]interface{}) (machineGroupConfigs []*cls.ConfigInfo, errRet error)
func (*ClsService) DescribeClsMachinesByFilter ¶ added in v1.81.2
func (me *ClsService) DescribeClsMachinesByFilter(ctx context.Context, param map[string]interface{}) (machines []*cls.MachineInfo, errRet error)
func (*ClsService) DescribeClsScheduledSqlById ¶ added in v1.81.20
func (me *ClsService) DescribeClsScheduledSqlById(ctx context.Context, taskId string) (scheduledSql *cls.ScheduledSqlTaskInfo, errRet error)
func (*ClsService) DescribeClsShipperTasksByFilter ¶ added in v1.81.2
func (me *ClsService) DescribeClsShipperTasksByFilter(ctx context.Context, param map[string]interface{}) (shipperTasks []*cls.ShipperTaskInfo, errRet error)
func (*ClsService) DescribeClsTopicByFilter ¶ added in v1.67.0
func (me *ClsService) DescribeClsTopicByFilter(ctx context.Context, filters map[string]string) (instances []*cls.TopicInfo, errRet error)
cls topic
func (*ClsService) DescribeClsTopicById ¶ added in v1.67.0
type ClusterAdvancedSettings ¶ added in v1.41.3
type ClusterBasicSetting ¶ added in v1.41.3
type ClusterBasicSetting struct { ClusterId string ClusterOs string ClusterOsType string ClusterVersion string ClusterName string ClusterDescription string ClusterLevel *string AutoUpgradeClusterLevel *bool VpcId string ProjectId int64 ClusterNodeNum int64 ClusterStatus string SubnetId string Tags map[string]string }
type ClusterCidrSettings ¶ added in v1.41.3
type ClusterExtraArgs ¶ added in v1.41.3
type ClusterInfo ¶ added in v1.41.3
type ClusterInfo struct { ClusterBasicSetting ClusterCidrSettings ClusterAdvancedSettings DeployType string CreatedTime string }
type CosBucketDomainCertItem ¶ added in v1.77.8
type CosBucketDomainCertItem struct {
// contains filtered or unexported fields
}
type CosService ¶ added in v1.41.3
type CosService struct {
// contains filtered or unexported fields
}
func (*CosService) BucketGetIntelligentTiering ¶ added in v1.81.9
func (me *CosService) BucketGetIntelligentTiering(ctx context.Context, bucket string) (result *cos.BucketGetIntelligentTieringResult, errRet error)
func (*CosService) BucketPutIntelligentTiering ¶ added in v1.81.9
func (me *CosService) BucketPutIntelligentTiering(ctx context.Context, bucket string, opt *cos.BucketPutIntelligentTieringOptions) (errRet error)
func (*CosService) DeleteBucket ¶ added in v1.41.3
func (*CosService) DeleteBucketOriginDomain ¶ added in v1.58.5
func (me *CosService) DeleteBucketOriginDomain(ctx context.Context, bucket string) (errRet error)
func (*CosService) DeleteBucketPolicy ¶ added in v1.49.0
func (me *CosService) DeleteBucketPolicy(ctx context.Context, bucket string) (errRet error)
func (*CosService) DeleteBucketPullOrigin ¶ added in v1.58.5
func (me *CosService) DeleteBucketPullOrigin(ctx context.Context, bucket string) (errRet error)
func (*CosService) DeleteBucketReplication ¶ added in v1.60.27
func (me *CosService) DeleteBucketReplication(ctx context.Context, bucket string) (errRet error)
func (*CosService) DeleteCosBucketDomainCertificate ¶ added in v1.77.8
func (me *CosService) DeleteCosBucketDomainCertificate(ctx context.Context, certId string) (errRet error)
func (*CosService) DeleteObject ¶ added in v1.41.3
func (me *CosService) DeleteObject(ctx context.Context, bucket, key string) (errRet error)
func (*CosService) DescribeCosBucketDomainCertificate ¶ added in v1.77.8
func (*CosService) DescribeCosBucketRefererById ¶ added in v1.81.8
func (me *CosService) DescribeCosBucketRefererById(ctx context.Context, bucket string) (*cos.BucketGetRefererResult, error)
func (*CosService) DescribeCosBucketVersionById ¶ added in v1.81.8
func (me *CosService) DescribeCosBucketVersionById(ctx context.Context, bucket string) (*cos.BucketGetVersionResult, error)
func (*CosService) DescribePolicyByBucket ¶ added in v1.49.0
func (*CosService) ForceCleanObject ¶ added in v1.78.1
func (*CosService) GetBucketACL ¶ added in v1.61.9
func (me *CosService) GetBucketACL(ctx context.Context, bucket string) (result *cos.BucketGetACLResult, errRet error)
func (*CosService) GetBucketAccleration ¶ added in v1.79.7
func (*CosService) GetBucketCors ¶ added in v1.41.3
func (*CosService) GetBucketEncryption ¶ added in v1.41.3
func (*CosService) GetBucketLifecycle ¶ added in v1.41.3
func (*CosService) GetBucketLogStatus ¶ added in v1.51.1
func (*CosService) GetBucketOriginDomain ¶ added in v1.58.5
func (*CosService) GetBucketPullOrigin ¶ added in v1.58.5
func (*CosService) GetBucketReplication ¶ added in v1.60.27
func (me *CosService) GetBucketReplication(ctx context.Context, bucket string) (result *cos.GetBucketReplicationResult, errRet error)
func (*CosService) GetBucketTags ¶ added in v1.41.3
func (*CosService) GetBucketVersioning ¶ added in v1.41.3
func (*CosService) GetBucketWebsite ¶ added in v1.41.3
func (*CosService) GetDataSourceBucketLifecycle ¶ added in v1.41.3
func (*CosService) GetObjectTags ¶ added in v1.59.10
func (*CosService) HeadBucket ¶ added in v1.41.3
func (me *CosService) HeadBucket(ctx context.Context, bucket string) (errRet error)
func (*CosService) HeadObject ¶ added in v1.41.3
func (me *CosService) HeadObject(ctx context.Context, bucket, key string) (info *s3.HeadObjectOutput, errRet error)
func (*CosService) ListBuckets ¶ added in v1.41.3
func (*CosService) ListObjects ¶ added in v1.41.3
func (*CosService) PutBucket ¶ added in v1.41.3
func (me *CosService) PutBucket(ctx context.Context, bucket, acl string) (errRet error)
PutBucket - base on aws s3
func (*CosService) PutBucketOriginDomain ¶ added in v1.58.5
func (me *CosService) PutBucketOriginDomain(ctx context.Context, bucket string, rules []cos.BucketDomainRule) (errRet error)
func (*CosService) PutBucketPolicy ¶ added in v1.49.0
func (me *CosService) PutBucketPolicy(ctx context.Context, bucket, policy string) (errRet error)
func (*CosService) PutBucketPullOrigin ¶ added in v1.58.5
func (me *CosService) PutBucketPullOrigin(ctx context.Context, bucket string, rules []cos.BucketOriginRule) (errRet error)
func (*CosService) PutBucketReplication ¶ added in v1.60.27
func (*CosService) PutObjectAcl ¶ added in v1.41.3
func (me *CosService) PutObjectAcl(ctx context.Context, bucket, key, acl string) (errRet error)
func (*CosService) SetBucketTags ¶ added in v1.41.3
func (me *CosService) SetBucketTags(ctx context.Context, bucket string, tags map[string]string) error
SetBucketTags if len(tags) == 0, only delete tags
func (*CosService) SetObjectTags ¶ added in v1.59.10
func (me *CosService) SetObjectTags(ctx context.Context, bucket string, key string, tags map[string]string) error
SetObjectTags same as delete Bucket Tags
func (*CosService) TencentCosBucketGetLocation ¶ added in v1.81.9
func (*CosService) TencentCosPutBucket ¶ added in v1.58.5
func (me *CosService) TencentCosPutBucket(ctx context.Context, bucket string, opt *cos.BucketPutOptions) (errRet error)
TencentCosPutBucket - To support MAZ config, We use tencentcloud cos sdk instead of aws s3
func (*CosService) TencentCosPutBucketACLBody ¶ added in v1.81.11
func (*CosService) TencentcloudHeadBucket ¶ added in v1.61.9
type CssService ¶ added in v1.78.12
type CssService struct {
// contains filtered or unexported fields
}
func (*CssService) DeleteCssCallbackRuleById ¶ added in v1.81.41
func (*CssService) DeleteCssCallbackTemplateById ¶ added in v1.81.41
func (me *CssService) DeleteCssCallbackTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CssService) DeleteCssDomainById ¶ added in v1.79.11
func (*CssService) DeleteCssLiveTranscodeRuleAttachmentById ¶ added in v1.78.12
func (me *CssService) DeleteCssLiveTranscodeRuleAttachmentById(ctx context.Context, domainName, appName, streamName, templateId *string) (errRet error)
func (*CssService) DeleteCssLiveTranscodeTemplateById ¶ added in v1.78.12
func (me *CssService) DeleteCssLiveTranscodeTemplateById(ctx context.Context, templateId *int64) (errRet error)
func (*CssService) DeleteCssPadRuleAttachmentById ¶ added in v1.81.41
func (*CssService) DeleteCssPadTemplateById ¶ added in v1.81.41
func (me *CssService) DeleteCssPadTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CssService) DeleteCssPlayDomainCertAttachmentById ¶ added in v1.79.14
func (me *CssService) DeleteCssPlayDomainCertAttachmentById(ctx context.Context, domainName string) (errRet error)
func (*CssService) DeleteCssPullStreamTaskById ¶ added in v1.78.12
func (me *CssService) DeleteCssPullStreamTaskById(ctx context.Context, taskId, operator *string) (errRet error)
func (*CssService) DeleteCssRecordRuleById ¶ added in v1.81.41
func (me *CssService) DeleteCssRecordRuleById(ctx context.Context, domainName, appName, streamName string) (errRet error)
func (*CssService) DeleteCssRecordTemplateById ¶ added in v1.81.41
func (me *CssService) DeleteCssRecordTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CssService) DeleteCssSnapshotRuleById ¶ added in v1.81.41
func (me *CssService) DeleteCssSnapshotRuleById(ctx context.Context, domainName, appName, streamName string) (errRet error)
func (*CssService) DeleteCssSnapshotTemplateById ¶ added in v1.81.41
func (me *CssService) DeleteCssSnapshotTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CssService) DeleteCssStreamMonitorById ¶ added in v1.81.41
func (me *CssService) DeleteCssStreamMonitorById(ctx context.Context, monitorId string) (errRet error)
func (*CssService) DeleteCssTimeshiftRuleAttachmentById ¶ added in v1.81.41
func (*CssService) DeleteCssTimeshiftTemplateById ¶ added in v1.81.41
func (me *CssService) DeleteCssTimeshiftTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CssService) DeleteCssWatermarkById ¶ added in v1.78.12
func (me *CssService) DeleteCssWatermarkById(ctx context.Context, watermarkId *int64) (errRet error)
func (*CssService) DescribeCssBackupStreamByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssBackupStreamByFilter(ctx context.Context, param map[string]interface{}) (backupStream []*css.BackupStreamGroupInfo, errRet error)
func (*CssService) DescribeCssBackupStreamById ¶ added in v1.81.41
func (me *CssService) DescribeCssBackupStreamById(ctx context.Context, pushDomainName string, appName string, streamName string) (backupStream *css.BackupStreamDetailData, errRet error)
func (*CssService) DescribeCssBackupStreamByStreamName ¶ added in v1.81.41
func (me *CssService) DescribeCssBackupStreamByStreamName(ctx context.Context, streamName string) (backupStream *css.BackupStreamGroupInfo, errRet error)
func (*CssService) DescribeCssCallbackRuleById ¶ added in v1.81.41
func (me *CssService) DescribeCssCallbackRuleById(ctx context.Context, templateId int64, domainName string) (callbackRule *css.CallBackRuleInfo, errRet error)
func (*CssService) DescribeCssCallbackTemplateById ¶ added in v1.81.41
func (me *CssService) DescribeCssCallbackTemplateById(ctx context.Context, templateId int64) (callbackTemplate *css.CallBackTemplateInfo, errRet error)
func (*CssService) DescribeCssDeliverLogDownListByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssDeliverLogDownListByFilter(ctx context.Context, param map[string]interface{}) (deliverLogDownList []*css.PushLogInfo, errRet error)
func (*CssService) DescribeCssDomainById ¶ added in v1.79.11
func (me *CssService) DescribeCssDomainById(ctx context.Context, name string) (domain *css.DomainInfo, errRet error)
func (*CssService) DescribeCssDomainCertBindingsById ¶ added in v1.81.41
func (me *CssService) DescribeCssDomainCertBindingsById(ctx context.Context, domainName string) (domainCertBindings *css.LiveDomainCertBindings, errRet error)
func (*CssService) DescribeCssDomainCertById ¶ added in v1.81.41
func (me *CssService) DescribeCssDomainCertById(ctx context.Context, domainName string) (domainCert *css.DomainCertInfo, errRet error)
func (*CssService) DescribeCssDomainRefererById ¶ added in v1.81.41
func (me *CssService) DescribeCssDomainRefererById(ctx context.Context, domainName string) (domainReferer *css.RefererAuthConfig, errRet error)
func (*CssService) DescribeCssDomainsByFilter ¶ added in v1.79.11
func (me *CssService) DescribeCssDomainsByFilter(ctx context.Context, param map[string]interface{}) (domains []*css.DomainInfo, errRet error)
func (*CssService) DescribeCssLiveTranscodeRuleAttachment ¶ added in v1.78.12
func (*CssService) DescribeCssLiveTranscodeTemplate ¶ added in v1.78.12
func (me *CssService) DescribeCssLiveTranscodeTemplate(ctx context.Context, templateId *int64) (liveTranscodeTemplate *css.TemplateInfo, errRet error)
func (*CssService) DescribeCssLiveTranscodeTemplates ¶ added in v1.78.12
func (me *CssService) DescribeCssLiveTranscodeTemplates(ctx context.Context) (temps []*css.TemplateInfo, errRet error)
func (*CssService) DescribeCssMonitorReportByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssMonitorReportByFilter(ctx context.Context, param map[string]interface{}) (monitorReport *css.DescribeMonitorReportResponseParams, errRet error)
func (*CssService) DescribeCssPadRuleAttachmentById ¶ added in v1.81.41
func (*CssService) DescribeCssPadTemplateById ¶ added in v1.81.41
func (me *CssService) DescribeCssPadTemplateById(ctx context.Context, templateId int64) (padTemplate *css.PadTemplate, errRet error)
func (*CssService) DescribeCssPadTemplatesByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssPadTemplatesByFilter(ctx context.Context, param map[string]interface{}) (padTemplates []*css.PadTemplate, errRet error)
func (*CssService) DescribeCssPlayAuthKeyConfigById ¶ added in v1.79.14
func (me *CssService) DescribeCssPlayAuthKeyConfigById(ctx context.Context, domainName string) (playAuthKeyConfig *css.PlayAuthKeyInfo, errRet error)
func (*CssService) DescribeCssPlayDomainCertAttachmentById ¶ added in v1.79.14
func (me *CssService) DescribeCssPlayDomainCertAttachmentById(ctx context.Context, domainName string, cloudCertId string) (playDomainCertAttachment *css.LiveDomainCertBindings, errRet error)
func (*CssService) DescribeCssPullStreamTask ¶ added in v1.78.12
func (me *CssService) DescribeCssPullStreamTask(ctx context.Context, taskId string) (tasks []*css.PullStreamTaskInfo, errRet error)
func (*CssService) DescribeCssPullStreamTaskStatusByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssPullStreamTaskStatusByFilter(ctx context.Context, param map[string]interface{}) (pullStreamTaskStatus *css.TaskStatusInfo, errRet error)
func (*CssService) DescribeCssPushAuthKeyConfigById ¶ added in v1.79.14
func (me *CssService) DescribeCssPushAuthKeyConfigById(ctx context.Context, domainName string) (pushAuthKeyConfig *css.PushAuthKeyInfo, errRet error)
func (*CssService) DescribeCssRecordRuleById ¶ added in v1.81.41
func (*CssService) DescribeCssRecordTemplateById ¶ added in v1.81.41
func (me *CssService) DescribeCssRecordTemplateById(ctx context.Context, templateId int64) (recordTemplate *css.RecordTemplateInfo, errRet error)
func (*CssService) DescribeCssSnapshotRuleById ¶ added in v1.81.41
func (*CssService) DescribeCssSnapshotTemplateById ¶ added in v1.81.41
func (me *CssService) DescribeCssSnapshotTemplateById(ctx context.Context, templateId int64) (snapshotTemplate *css.SnapshotTemplateInfo, errRet error)
func (*CssService) DescribeCssStreamMonitorById ¶ added in v1.81.41
func (me *CssService) DescribeCssStreamMonitorById(ctx context.Context, monitorId string) (streamMonitor *css.LiveStreamMonitorInfo, errRet error)
func (*CssService) DescribeCssStreamMonitorListByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssStreamMonitorListByFilter(ctx context.Context, param map[string]interface{}) (streamMonitorList []*css.LiveStreamMonitorInfo, errRet error)
func (*CssService) DescribeCssTimeShiftRecordDetailByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssTimeShiftRecordDetailByFilter(ctx context.Context, param map[string]interface{}) (timeShiftRecordDetail []*css.TimeShiftRecord, errRet error)
func (*CssService) DescribeCssTimeShiftStreamListByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssTimeShiftStreamListByFilter(ctx context.Context, param map[string]interface{}) (timeShiftStreamList []*css.TimeShiftStreamInfo, errRet error)
func (*CssService) DescribeCssTimeshiftRuleAttachmentById ¶ added in v1.81.41
func (*CssService) DescribeCssTimeshiftTemplateById ¶ added in v1.81.41
func (me *CssService) DescribeCssTimeshiftTemplateById(ctx context.Context, templateId int64) (timeshiftTemplate *css.TimeShiftTemplate, errRet error)
func (*CssService) DescribeCssWatermark ¶ added in v1.78.12
func (me *CssService) DescribeCssWatermark(ctx context.Context, watermarkId string) (watermark *css.WatermarkInfo, errRet error)
func (*CssService) DescribeCssWatermarkRuleAttachment ¶ added in v1.78.12
func (*CssService) DescribeCssWatermarks ¶ added in v1.78.12
func (me *CssService) DescribeCssWatermarks(ctx context.Context) (marks []*css.WatermarkInfo, errRet error)
func (*CssService) DescribeCssWatermarksByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssWatermarksByFilter(ctx context.Context, param map[string]interface{}) (watermarks []*css.WatermarkInfo, errRet error)
func (*CssService) DescribeCssXp2pDetailInfoListByFilter ¶ added in v1.81.41
func (me *CssService) DescribeCssXp2pDetailInfoListByFilter(ctx context.Context, param map[string]interface{}) (xp2pDetailInfoList []*css.XP2PDetailInfo, errRet error)
func (*CssService) DetachCssWatermarkRuleAttachment ¶ added in v1.78.12
func (me *CssService) DetachCssWatermarkRuleAttachment(ctx context.Context, domainName, appName, streamName string) (errRet error)
type CvmService ¶ added in v1.41.3
type CvmService struct {
// contains filtered or unexported fields
}
func (*CvmService) BindKeyPair ¶ added in v1.42.2
func (*CvmService) CreatePlacementGroup ¶ added in v1.41.3
func (*CvmService) CreateReservedInstance ¶ added in v1.41.3
func (*CvmService) CvmChcInstanceDeployVpcStateRefreshFunc ¶ added in v1.80.4
func (me *CvmService) CvmChcInstanceDeployVpcStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) CvmChcInstanceStateRefreshFunc ¶ added in v1.80.4
func (me *CvmService) CvmChcInstanceStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) CvmSyncImagesStateRefreshFunc ¶ added in v1.81.2
func (me *CvmService) CvmSyncImagesStateRefreshFunc(imageId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) DeleteCvmChcAssistVpcById ¶ added in v1.80.4
func (me *CvmService) DeleteCvmChcAssistVpcById(ctx context.Context, chcId string) (errRet error)
func (*CvmService) DeleteCvmHpcClusterById ¶ added in v1.79.2
func (me *CvmService) DeleteCvmHpcClusterById(ctx context.Context, hpcClusterId string) (errRet error)
func (*CvmService) DeleteCvmLaunchTemplateById ¶ added in v1.79.7
func (me *CvmService) DeleteCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (errRet error)
func (*CvmService) DeleteCvmLaunchTemplateVersionById ¶ added in v1.79.18
func (me *CvmService) DeleteCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (errRet error)
func (*CvmService) DeleteImage ¶ added in v1.43.0
func (me *CvmService) DeleteImage(ctx context.Context, imageId string) error
func (*CvmService) DeleteInstance ¶ added in v1.41.3
func (me *CvmService) DeleteInstance(ctx context.Context, instanceId string) error
func (*CvmService) DeleteInstanceSetByIds ¶ added in v1.75.0
func (me *CvmService) DeleteInstanceSetByIds(ctx context.Context, instanceSetIds string) error
func (*CvmService) DeleteKeyPair ¶ added in v1.41.3
func (me *CvmService) DeleteKeyPair(ctx context.Context, keyId string) error
func (*CvmService) DeletePlacementGroup ¶ added in v1.41.3
func (me *CvmService) DeletePlacementGroup(ctx context.Context, placementId string) error
func (*CvmService) DescribeCvmChcDeniedActionsByFilter ¶ added in v1.80.4
func (me *CvmService) DescribeCvmChcDeniedActionsByFilter(ctx context.Context, param map[string]interface{}) (chcDeniedActions []*cvm.ChcHostDeniedActions, errRet error)
func (*CvmService) DescribeCvmChcHostsByFilter ¶ added in v1.80.4
func (*CvmService) DescribeCvmHpcClusterById ¶ added in v1.79.2
func (me *CvmService) DescribeCvmHpcClusterById(ctx context.Context, hpcClusterId string) (hpcCluster *cvm.HpcClusterInfo, errRet error)
func (*CvmService) DescribeCvmImageQuotaByFilter ¶ added in v1.81.2
func (*CvmService) DescribeCvmImageSharePermissionByFilter ¶ added in v1.81.2
func (me *CvmService) DescribeCvmImageSharePermissionByFilter(ctx context.Context, param map[string]interface{}) (imageSharePermission []*cvm.SharePermission, errRet error)
func (*CvmService) DescribeCvmLaunchTemplateById ¶ added in v1.79.7
func (me *CvmService) DescribeCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateInfo, errRet error)
func (*CvmService) DescribeCvmLaunchTemplateVersionById ¶ added in v1.79.18
func (me *CvmService) DescribeCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (launchTemplateVersion *cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribeImageById ¶ added in v1.43.0
func (*CvmService) DescribeImagesByFilter ¶ added in v1.41.3
func (*CvmService) DescribeInstanceByFilter ¶ added in v1.41.3
func (*CvmService) DescribeInstanceById ¶ added in v1.41.3
func (*CvmService) DescribeInstanceInParallelByFilter ¶ added in v1.75.4
func (*CvmService) DescribeInstanceSetByIds ¶ added in v1.75.0
func (*CvmService) DescribeInstanceTypes ¶ added in v1.41.3
func (me *CvmService) DescribeInstanceTypes(ctx context.Context, zone string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
func (*CvmService) DescribeInstanceTypesByFilter ¶ added in v1.41.3
func (me *CvmService) DescribeInstanceTypesByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
func (*CvmService) DescribeInstancesSellTypeByFilter ¶ added in v1.47.0
func (me *CvmService) DescribeInstancesSellTypeByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeQuotaItem, errRet error)
func (*CvmService) DescribeKeyPairByFilter ¶ added in v1.41.3
func (*CvmService) DescribeKeyPairById ¶ added in v1.41.3
func (*CvmService) DescribeLaunchTemplateVersions ¶ added in v1.79.19
func (me *CvmService) DescribeLaunchTemplateVersions(ctx context.Context, launchTemplateId string) (launchTemplates []*cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribeLaunchTemplateVersionsById ¶ added in v1.79.7
func (me *CvmService) DescribeLaunchTemplateVersionsById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribePlacementGroupByFilter ¶ added in v1.41.3
func (me *CvmService) DescribePlacementGroupByFilter(ctx context.Context, id, name string) (placementGroups []*cvm.DisasterRecoverGroup, errRet error)
func (*CvmService) DescribePlacementGroupById ¶ added in v1.41.3
func (me *CvmService) DescribePlacementGroupById(ctx context.Context, placementId string) (placementGroup *cvm.DisasterRecoverGroup, errRet error)
func (*CvmService) DescribeRegions ¶ added in v1.41.3
func (me *CvmService) DescribeRegions(ctx context.Context) (zones []*cvm.RegionInfo, errRet error)
func (*CvmService) DescribeReservedInstanceByFilter ¶ added in v1.41.3
func (me *CvmService) DescribeReservedInstanceByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.ReservedInstances, errRet error)
func (*CvmService) DescribeReservedInstanceConfigs ¶ added in v1.41.3
func (me *CvmService) DescribeReservedInstanceConfigs(ctx context.Context, filters map[string]string) (configs []*cvm.ReservedInstancesOffering, errRet error)
func (*CvmService) DescribeZones ¶ added in v1.41.3
func (*CvmService) ModifyDisableApiTermination ¶ added in v1.80.4
func (*CvmService) ModifyImage ¶ added in v1.43.0
func (me *CvmService) ModifyImage(ctx context.Context, instanceId, imageName, imageDesc string) (errRet error)
func (*CvmService) ModifyImageSharePermission ¶ added in v1.81.4
func (*CvmService) ModifyInstanceChargeType ¶ added in v1.60.26
func (*CvmService) ModifyInstanceName ¶ added in v1.41.3
func (me *CvmService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) error
func (*CvmService) ModifyInstanceType ¶ added in v1.41.3
func (me *CvmService) ModifyInstanceType(ctx context.Context, instanceId, instanceType string) error
func (*CvmService) ModifyInternetMaxBandwidthOut ¶ added in v1.41.3
func (*CvmService) ModifyKeyPairName ¶ added in v1.41.3
func (me *CvmService) ModifyKeyPairName(ctx context.Context, keyId, keyName string) error
func (*CvmService) ModifyLaunchTemplateDefaultVersion ¶ added in v1.79.19
func (*CvmService) ModifyPassword ¶ added in v1.41.3
func (me *CvmService) ModifyPassword(ctx context.Context, instanceId, password string) error
func (*CvmService) ModifyPlacementGroup ¶ added in v1.41.3
func (me *CvmService) ModifyPlacementGroup(ctx context.Context, placementId, name string) error
func (*CvmService) ModifyProjectId ¶ added in v1.41.3
func (*CvmService) ModifyRenewParam ¶ added in v1.41.3
func (*CvmService) ModifySecurityGroups ¶ added in v1.41.3
func (*CvmService) ModifyVpc ¶ added in v1.41.3
func (me *CvmService) ModifyVpc(ctx context.Context, instanceId, vpcId, subnetId, privateIp string) error
func (*CvmService) ResetInstance ¶ added in v1.59.18
func (me *CvmService) ResetInstance(ctx context.Context, request *cvm.ResetInstanceRequest) (errRet error)
func (*CvmService) ResizeInstanceDisks ¶ added in v1.61.10
func (me *CvmService) ResizeInstanceDisks(ctx context.Context, request *cvm.ResizeInstanceDisksRequest) (errRet error)
func (*CvmService) StartInstance ¶ added in v1.41.3
func (me *CvmService) StartInstance(ctx context.Context, instanceId string) error
func (*CvmService) StopInstance ¶ added in v1.41.3
func (*CvmService) UnbindKeyPair ¶ added in v1.41.3
type CwpService ¶ added in v1.81.35
type CwpService struct {
// contains filtered or unexported fields
}
func (*CwpService) DeleteCwpLicenseBindAttachmentById ¶ added in v1.81.35
func (me *CwpService) DeleteCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid, licenseType string) (errRet error)
func (*CwpService) DeleteCwpLicenseOrderById ¶ added in v1.81.35
func (*CwpService) DescribeCwpLicenseBindAttachmentById ¶ added in v1.81.35
func (me *CwpService) DescribeCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid string, licenseId, licenseType uint64) (licenseBindAttachment *cwp.LicenseBindDetail, errRet error)
func (*CwpService) DescribeCwpLicenseOrderById ¶ added in v1.81.35
func (me *CwpService) DescribeCwpLicenseOrderById(ctx context.Context, resourceId string) (licenseOrder *cwp.LicenseDetail, errRet error)
func (*CwpService) DescribeCwpMachinesSimpleByFilter ¶ added in v1.81.35
func (me *CwpService) DescribeCwpMachinesSimpleByFilter(ctx context.Context, param map[string]interface{}) (machinesSimple []*cwp.MachineSimple, errRet error)
type CynosdbService ¶ added in v1.44.0
type CynosdbService struct {
// contains filtered or unexported fields
}
func (*CynosdbService) CopyClusterPasswordComplexity ¶ added in v1.81.9
func (me *CynosdbService) CopyClusterPasswordComplexity(ctx context.Context, clusterId string) (errRet error)
func (*CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc ¶ added in v1.81.10
func (me *CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
func (*CynosdbService) CynosdbInstanceIsolateStateRefreshFunc ¶ added in v1.81.5
func (me *CynosdbService) CynosdbInstanceIsolateStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
func (*CynosdbService) CynosdbInstanceOfflineStateRefreshFunc ¶ added in v1.81.5
func (me *CynosdbService) CynosdbInstanceOfflineStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
func (*CynosdbService) DeleteCynosdbAccountById ¶ added in v1.81.9
func (*CynosdbService) DeleteCynosdbAccountPrivilegesById ¶ added in v1.81.9
func (*CynosdbService) DeleteCynosdbAuditLogFileById ¶ added in v1.79.5
func (*CynosdbService) DeleteCynosdbBackupById ¶ added in v1.79.5
func (me *CynosdbService) DeleteCynosdbBackupById(ctx context.Context, clusterId, backupId string) (errRet error)
func (*CynosdbService) DeleteCynosdbClusterDatabasesById ¶ added in v1.81.9
func (me *CynosdbService) DeleteCynosdbClusterDatabasesById(ctx context.Context, clusterId, dbName string) (errRet error)
func (*CynosdbService) DeleteCynosdbClusterPasswordComplexityById ¶ added in v1.81.9
func (*CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById ¶ added in v1.81.9
func (*CynosdbService) DeleteCynosdbClusterSlaveZoneById ¶ added in v1.81.10
func (*CynosdbService) DeleteCynosdbParamTemplateById ¶ added in v1.81.9
func (me *CynosdbService) DeleteCynosdbParamTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CynosdbService) DeleteCynosdbProxyById ¶ added in v1.81.10
func (*CynosdbService) DeleteCynosdbProxyEndPointById ¶ added in v1.81.11
func (*CynosdbService) DeleteCynosdbResourcePackageById ¶ added in v1.81.9
func (me *CynosdbService) DeleteCynosdbResourcePackageById(ctx context.Context, packageId string) (errRet error)
func (*CynosdbService) DeleteCynosdbSecurityGroupById ¶ added in v1.79.5
func (*CynosdbService) DeleteCynosdbWanById ¶ added in v1.81.9
func (*CynosdbService) DescribeClusterById ¶ added in v1.44.0
func (me *CynosdbService) DescribeClusterById(ctx context.Context, clusterId string) (clusterItem *cynosdb.CynosdbCluster, clusterInfo *cynosdb.CynosdbClusterDetail, has bool, errRet error)
* Return values:
clusterItem: ResponseBody of DescribeClusters, include `renew_flag` and `db_mode` clusterInfo: ResponseBody of DescribeClusterDetailResponse, primary args setter.
func (*CynosdbService) DescribeClusterInstanceGrps ¶ added in v1.44.0
func (me *CynosdbService) DescribeClusterInstanceGrps(ctx context.Context, clusterId string) (response *cynosdb.DescribeClusterInstanceGrpsResponse, errRet error)
func (*CynosdbService) DescribeClusterParams ¶ added in v1.77.7
func (*CynosdbService) DescribeClusterParamsByFilter ¶ added in v1.79.5
func (*CynosdbService) DescribeClusters ¶ added in v1.44.0
func (me *CynosdbService) DescribeClusters(ctx context.Context, filters map[string]string) (clusters []*cynosdb.CynosdbCluster, errRet error)
func (*CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter(ctx context.Context, param map[string]interface{}) (accountAllGrantPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbAccountById ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbAccountPrivilegesById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (accountPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbAccountsByFilter ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbAccountsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (result *cynosdb.DescribeAccountsResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbAuditLogFileById ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cynosdb.AuditLogFile, errRet error)
func (*CynosdbService) DescribeCynosdbAuditLogsByFilter ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbBackup ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbBackup(ctx context.Context, clusterId string, params map[string]interface{}) (backups []*cynosdb.BackupFileInfo, errRet error)
func (*CynosdbService) DescribeCynosdbBackupById ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbBackupById(ctx context.Context, clusterId, backupId string) (backup *cynosdb.BackupFileInfo, errRet error)
func (*CynosdbService) DescribeCynosdbBackupDownloadUrlById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbBackupDownloadUrlById(ctx context.Context, param map[string]interface{}) (backupDownloadUrl *cynosdb.DescribeBackupDownloadUrlResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (binlogDownloadUrl *cynosdb.DescribeBinlogDownloadUrlResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbBinlogSaveDaysById ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbClusterByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*cynosdb.DatabaseTables, errRet error)
func (*CynosdbService) DescribeCynosdbClusterDatabasesById ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbClusterParamLogsByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbClusterParamLogsByFilter(ctx context.Context, param map[string]interface{}) (clusterParamLogs []*cynosdb.ClusterParamModifyLog, errRet error)
func (*CynosdbService) DescribeCynosdbClusterPasswordComplexityById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (clusterPasswordComplexity *cynosdb.DescribeClusterPasswordComplexityResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string) (clusterResourcePackagesAttachment *cynosdb.CynosdbClusterDetail, errRet error)
func (*CynosdbService) DescribeCynosdbClusterSlaveZoneById ¶ added in v1.81.10
func (me *CynosdbService) DescribeCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string) (clusterSlaveZone *cynosdb.CynosdbClusterDetail, errRet error)
func (*CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceErrorLogs []*cynosdb.CynosdbErrorLogItem, errRet error)
func (*CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceSlowQueries []*cynosdb.BinlogItem, errRet error)
func (*CynosdbService) DescribeCynosdbInstanceParamById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbInstanceParamById(ctx context.Context, clusterId string, instanceId string) (instanceParam *cynosdb.InstanceParamItem, errRet error)
func (*CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter ¶ added in v1.81.10
func (me *CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (InstanceSlowQueries []*cynosdb.SlowQueriesItem, errRet error)
func (*CynosdbService) DescribeCynosdbParamTemplateById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbParamTemplateById(ctx context.Context, templateId int64) (paramTemplate *cynosdb.DescribeParamTemplateDetailResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbParamTemplatesByFilter ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbParamTemplatesByFilter(ctx context.Context, paramMap map[string]interface{}) (items []*cynosdb.ParamTemplateListInfo, errRet error)
func (*CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*cynosdb.SecurityGroup, errRet error)
func (*CynosdbService) DescribeCynosdbProxyById ¶ added in v1.81.10
func (me *CynosdbService) DescribeCynosdbProxyById(ctx context.Context, clusterId, proxyGroupId string) (proxy *cynosdb.DescribeProxiesResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbProxyEndPointById ¶ added in v1.81.11
func (me *CynosdbService) DescribeCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (proxyEndPoint *cynosdb.ProxyGroupInfo, errRet error)
func (*CynosdbService) DescribeCynosdbProxyNodeByFilter ¶ added in v1.81.10
func (me *CynosdbService) DescribeCynosdbProxyNodeByFilter(ctx context.Context, param map[string]interface{}) (proxyNode []*cynosdb.ProxyNodeInfo, errRet error)
func (*CynosdbService) DescribeCynosdbProxyVersionByFilter ¶ added in v1.81.10
func (me *CynosdbService) DescribeCynosdbProxyVersionByFilter(ctx context.Context, param map[string]interface{}) (proxyVersion *cynosdb.DescribeSupportProxyVersionResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbResourcePackageById ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbResourcePackageById(ctx context.Context, packageId string) (resourcePackage *cynosdb.PackageDetail, errRet error)
func (*CynosdbService) DescribeCynosdbResourcePackageListByFilter ¶ added in v1.81.9
func (*CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageSaleSpecs []*cynosdb.SalePackageSpec, errRet error)
func (*CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeRange *cynosdb.DescribeRollbackTimeRangeResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeValidity *cynosdb.DescribeRollbackTimeValidityResponseParams, errRet error)
func (*CynosdbService) DescribeCynosdbSecurityGroups ¶ added in v1.79.5
func (me *CynosdbService) DescribeCynosdbSecurityGroups(ctx context.Context, instanceId string) (securityGroups []*cynosdb.SecurityGroup, errRet error)
func (*CynosdbService) DescribeCynosdbUpgradeProxyVersionById ¶ added in v1.81.14
func (me *CynosdbService) DescribeCynosdbUpgradeProxyVersionById(ctx context.Context, clusterId string) (upgradeProxyGroup *cynosdb.ProxyGroup, errRet error)
func (*CynosdbService) DescribeCynosdbZoneByFilter ¶ added in v1.81.9
func (me *CynosdbService) DescribeCynosdbZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*cynosdb.SaleRegion, errRet error)
func (*CynosdbService) DescribeFlow ¶ added in v1.81.9
func (*CynosdbService) DescribeInsGrpSecurityGroups ¶ added in v1.44.0
func (me *CynosdbService) DescribeInsGrpSecurityGroups(ctx context.Context, instanceGrpId string) (response *cynosdb.DescribeDBSecurityGroupsResponse, errRet error)
func (*CynosdbService) DescribeInstanceById ¶ added in v1.44.0
func (me *CynosdbService) DescribeInstanceById(ctx context.Context, instanceId string) (clusterId string, instanceInfo *cynosdb.CynosdbInstanceDetail, has bool, errRet error)
func (*CynosdbService) DescribeInstances ¶ added in v1.44.0
func (me *CynosdbService) DescribeInstances(ctx context.Context, filters map[string]string) (instances []*cynosdb.CynosdbInstance, errRet error)
func (*CynosdbService) DescribeMaintainPeriod ¶ added in v1.44.0
func (me *CynosdbService) DescribeMaintainPeriod(ctx context.Context, instanceId string) (response *cynosdb.DescribeMaintainPeriodResponse, errRet error)
func (*CynosdbService) DescribeRedisZoneConfig ¶ added in v1.77.7
func (me *CynosdbService) DescribeRedisZoneConfig(ctx context.Context) (instanceSpecSet []*cynosdb.InstanceSpec, err error)
func (*CynosdbService) IsolateCluster ¶ added in v1.44.0
func (*CynosdbService) IsolateInstance ¶ added in v1.44.0
func (me *CynosdbService) IsolateInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
func (*CynosdbService) ModifyBackupConfig ¶ added in v1.79.5
func (*CynosdbService) ModifyClusterName ¶ added in v1.81.10
func (*CynosdbService) ModifyClusterParam ¶ added in v1.64.0
func (me *CynosdbService) ModifyClusterParam(ctx context.Context, request *cynosdb.ModifyClusterParamRequest) (asyncReqId string, errRet error)
func (*CynosdbService) ModifyClusterStorage ¶ added in v1.81.10
func (*CynosdbService) ModifyInsGrpSecurityGroups ¶ added in v1.44.0
func (*CynosdbService) ModifyMaintainPeriodConfig ¶ added in v1.44.0
func (*CynosdbService) OfflineCluster ¶ added in v1.44.0
func (me *CynosdbService) OfflineCluster(ctx context.Context, clusterId string) (errRet error)
func (*CynosdbService) OfflineInstance ¶ added in v1.44.0
func (me *CynosdbService) OfflineInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
func (*CynosdbService) PauseServerless ¶ added in v1.78.16
func (me *CynosdbService) PauseServerless(ctx context.Context, request *cynosdb.PauseServerlessRequest) (errRet error)
func (*CynosdbService) ResumeServerless ¶ added in v1.78.16
func (me *CynosdbService) ResumeServerless(ctx context.Context, request *cynosdb.ResumeServerlessRequest) (errRet error)
func (*CynosdbService) SetRenewFlag ¶ added in v1.81.9
func (*CynosdbService) SwitchClusterVpc ¶ added in v1.81.10
func (*CynosdbService) SwitchServerlessCluster ¶ added in v1.78.16
func (*CynosdbService) UpgradeInstance ¶ added in v1.44.0
type DayuService ¶ added in v1.41.3
type DayuService struct {
// contains filtered or unexported fields
}
func (*DayuService) BindDdosPolicy ¶ added in v1.41.3
func (*DayuService) CreateCCSelfdefinePolicy ¶ added in v1.41.3
func (*DayuService) CreateDdosPolicy ¶ added in v1.41.3
func (me *DayuService) CreateDdosPolicy(ctx context.Context, resourceType string, name string, ddosPolicyDropOption []*dayu.DDoSPolicyDropOption, ddosPolicyPortLimit []*dayu.DDoSPolicyPortLimit, ipBlackWhite []*dayu.IpBlackWhite, ddosPacketFilter []*dayu.DDoSPolicyPacketFilter, waterPrintPolicy []*dayu.WaterPrintPolicy) (policyId string, errRet error)
func (*DayuService) CreateDdosPolicyCase ¶ added in v1.41.3
func (me *DayuService) CreateDdosPolicyCase(ctx context.Context, request *dayu.CreateDDoSPolicyCaseRequest) (sceneId string, errRet error)
func (*DayuService) CreateL4Rule ¶ added in v1.41.3
func (me *DayuService) CreateL4Rule(ctx context.Context, resourceType string, resourceId string, rule dayu.L4RuleEntry) (ruleId string, errRet error)
func (*DayuService) CreateL7Rule ¶ added in v1.41.3
func (me *DayuService) CreateL7Rule(ctx context.Context, resourceType string, resourceId string, rule dayu.L7RuleEntry) (ruleId string, errRet error)
func (*DayuService) CreateL7RuleV2 ¶ added in v1.61.4
func (*DayuService) CreateNewL4Rules ¶ added in v1.61.4
func (*DayuService) DeleteCCSelfdefinePolicy ¶ added in v1.41.3
func (*DayuService) DeleteDdosPolicy ¶ added in v1.41.3
func (*DayuService) DeleteDdosPolicyCase ¶ added in v1.41.3
func (*DayuService) DeleteL4Rule ¶ added in v1.41.3
func (*DayuService) DeleteL7Rule ¶ added in v1.41.3
func (*DayuService) DeleteL7RulesV2 ¶ added in v1.61.4
func (*DayuService) DeleteNewL4Rules ¶ added in v1.61.4
func (*DayuService) DescribeCCSelfdefinePolicies ¶ added in v1.41.3
func (*DayuService) DescribeCCSelfdefinePolicy ¶ added in v1.41.3
func (*DayuService) DescribeDdosPolicies ¶ added in v1.41.3
func (me *DayuService) DescribeDdosPolicies(ctx context.Context, resourceType string, policyId string) (ddosPolicies []*dayu.DDosPolicy, errRet error)
func (*DayuService) DescribeDdosPolicy ¶ added in v1.41.3
func (me *DayuService) DescribeDdosPolicy(ctx context.Context, resourceType string, policyId string) (ddosPolicy dayu.DDosPolicy, has bool, errRet error)
func (*DayuService) DescribeDdosPolicyAttachments ¶ added in v1.41.3
func (*DayuService) DescribeDdosPolicyCase ¶ added in v1.41.3
func (me *DayuService) DescribeDdosPolicyCase(ctx context.Context, resourceType string, sceneId string) (ddosPolicyCase dayu.KeyValueRecord, has bool, errRet error)
func (*DayuService) DescribeL4Health ¶ added in v1.41.3
func (me *DayuService) DescribeL4Health(ctx context.Context, resourceType string, resourceId string, ruleId string) (healthCheck *dayu.L4HealthConfig, has bool, errRet error)
func (*DayuService) DescribeL4Rule ¶ added in v1.41.3
func (me *DayuService) DescribeL4Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (infos *dayu.L4RuleEntry, health *dayu.L4RuleHealth, has bool, errRet error)
func (*DayuService) DescribeL4Rules ¶ added in v1.41.3
func (me *DayuService) DescribeL4Rules(ctx context.Context, resourceType string, resourceId string, ruleName string, ruleId string) (infos []*dayu.L4RuleEntry, healths []*dayu.L4RuleHealth, has bool, errRet error)
func (*DayuService) DescribeL7Health ¶ added in v1.41.3
func (me *DayuService) DescribeL7Health(ctx context.Context, resourceType string, resourceId string, ruleId string) (healthCheck *dayu.L7HealthConfig, has bool, errRet error)
func (*DayuService) DescribeL7Rule ¶ added in v1.41.3
func (me *DayuService) DescribeL7Rule(ctx context.Context, resourceType string, resourceId string, ruleId string) (infos *dayu.L7RuleEntry, health *dayu.L7RuleHealth, has bool, errRet error)
func (*DayuService) DescribeL7Rules ¶ added in v1.41.3
func (me *DayuService) DescribeL7Rules(ctx context.Context, resourceType string, resourceId string, ruleDomain string, ruleId string, protocol string) (infos []*dayu.L7RuleEntry, healths []*dayu.L7RuleHealth, has bool, errRet error)
func (*DayuService) DescribeL7RulesV2 ¶ added in v1.61.4
func (me *DayuService) DescribeL7RulesV2(ctx context.Context, business string, extendParams map[string]interface{}) (rules []*dayu.NewL7RuleEntry, healths []*dayu.L7RuleHealth, errRet error)
func (*DayuService) DescribeNewL4Rules ¶ added in v1.61.4
func (me *DayuService) DescribeNewL4Rules(ctx context.Context, business string, extendParams map[string]interface{}) (infos []*dayu.NewL4RuleEntry, errRet error)
func (*DayuService) ModifyCCSelfdefinePolicy ¶ added in v1.41.3
func (*DayuService) ModifyDdosPolicy ¶ added in v1.41.3
func (me *DayuService) ModifyDdosPolicy(ctx context.Context, resourceType string, policyId string, ddosPolicyDropOption []*dayu.DDoSPolicyDropOption, ddosPolicyPortLimit []*dayu.DDoSPolicyPortLimit, ipBlackWhite []*dayu.IpBlackWhite, ddosPacketFilter []*dayu.DDoSPolicyPacketFilter, waterPrintPolicy []*dayu.WaterPrintPolicy) (errRet error)
func (*DayuService) ModifyDdosPolicyCase ¶ added in v1.41.3
func (me *DayuService) ModifyDdosPolicyCase(ctx context.Context, request *dayu.ModifyDDoSPolicyCaseRequest) (errRet error)
func (*DayuService) ModifyDdosPolicyName ¶ added in v1.41.3
func (*DayuService) ModifyL4Rule ¶ added in v1.41.3
func (me *DayuService) ModifyL4Rule(ctx context.Context, resourceType string, resourceId string, rule dayu.L4RuleEntry) (errRet error)
func (*DayuService) ModifyL7Rule ¶ added in v1.41.3
func (me *DayuService) ModifyL7Rule(ctx context.Context, resourceType string, resourceId string, rule dayu.L7RuleEntry) (errRet error)
func (*DayuService) ModifyL7RuleV2 ¶ added in v1.61.4
func (me *DayuService) ModifyL7RuleV2(ctx context.Context, resourceType string, resourceId string, rule *dayu.NewL7RuleEntry) (errRet error)
func (*DayuService) ModifyNewL4Rule ¶ added in v1.61.4
func (*DayuService) SetL4Health ¶ added in v1.41.3
func (me *DayuService) SetL4Health(ctx context.Context, resourceType string, resourceId string, healthCheck dayu.L4HealthConfig) (errRet error)
func (*DayuService) SetL7Health ¶ added in v1.41.3
func (me *DayuService) SetL7Health(ctx context.Context, resourceType string, resourceId string, healthCheck dayu.L7HealthConfig) (errRet error)
func (*DayuService) SetRuleSwitch ¶ added in v1.41.3
func (*DayuService) SetSession ¶ added in v1.41.3
func (*DayuService) UnbindDdosPolicy ¶ added in v1.41.3
type DbbrainService ¶ added in v1.78.14
type DbbrainService struct {
// contains filtered or unexported fields
}
func (*DbbrainService) DbbrainDbDiagReportTaskStateRefreshFunc ¶ added in v1.80.3
func (me *DbbrainService) DbbrainDbDiagReportTaskStateRefreshFunc(asyncRequestId *int64, instanceId string, product string, failStates []string) resource.StateRefreshFunc
func (*DbbrainService) DeleteDbbrainDbDiagReportTaskById ¶ added in v1.80.3
func (*DbbrainService) DeleteDbbrainSecurityAuditLogExportTaskById ¶ added in v1.78.14
func (me *DbbrainService) DeleteDbbrainSecurityAuditLogExportTaskById(ctx context.Context, secAuditGroupId, asyncRequestId, product *string) (errRet error)
func (*DbbrainService) DeleteDbbrainSqlFilterById ¶ added in v1.78.14
func (me *DbbrainService) DeleteDbbrainSqlFilterById(ctx context.Context, instanceId, filterId, sessionToken *string) (errRet error)
func (*DbbrainService) DeleteDbbrainTdsqlAuditLogById ¶ added in v1.81.0
func (*DbbrainService) DescribeDbbrainDbDiagReportTaskById ¶ added in v1.80.3
func (me *DbbrainService) DescribeDbbrainDbDiagReportTaskById(ctx context.Context, asyncRequestId *int64, instanceId string, product string) (dbDiagReportTask *dbbrain.HealthReportTask, errRet error)
func (*DbbrainService) DescribeDbbrainDbSpaceStatusByFilter ¶ added in v1.81.1
func (me *DbbrainService) DescribeDbbrainDbSpaceStatusByFilter(ctx context.Context, param map[string]interface{}) (DbSpaceStatus *dbbrain.DescribeDBSpaceStatusResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainDiagDbInstancesByFilter ¶ added in v1.81.7
func (me *DbbrainService) DescribeDbbrainDiagDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (items []*dbbrain.InstanceInfo, DbScanStatus *int64, errRet error)
func (*DbbrainService) DescribeDbbrainDiagEventByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainDiagEventByFilter(ctx context.Context, param map[string]interface{}) (diagEvent *dbbrain.DescribeDBDiagEventResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainDiagEventsByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainDiagEventsByFilter(ctx context.Context, param map[string]interface{}) (diagEvents []*dbbrain.DiagHistoryEventItem, errRet error)
func (*DbbrainService) DescribeDbbrainDiagHistoryByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainDiagHistoryByFilter(ctx context.Context, param map[string]interface{}) (diagHistory []*dbbrain.DiagHistoryEventItem, errRet error)
func (*DbbrainService) DescribeDbbrainHealthScoresByFilter ¶ added in v1.81.0
func (me *DbbrainService) DescribeDbbrainHealthScoresByFilter(ctx context.Context, param map[string]interface{}) (healthScores *dbbrain.HealthScoreInfo, errRet error)
func (*DbbrainService) DescribeDbbrainMysqlProcessListByFilter ¶ added in v1.81.7
func (me *DbbrainService) DescribeDbbrainMysqlProcessListByFilter(ctx context.Context, param map[string]interface{}) (mysqlProcessList []*dbbrain.MySqlProcess, errRet error)
func (*DbbrainService) DescribeDbbrainNoPrimaryKeyTablesByFilter ¶ added in v1.81.7
func (me *DbbrainService) DescribeDbbrainNoPrimaryKeyTablesByFilter(ctx context.Context, param map[string]interface{}) (tables []*dbbrain.Table, resp *dbbrain.DescribeNoPrimaryKeyTablesResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainRedisTopBigKeysByFilter ¶ added in v1.81.7
func (me *DbbrainService) DescribeDbbrainRedisTopBigKeysByFilter(ctx context.Context, param map[string]interface{}) (redisTopBigKeys []*dbbrain.RedisKeySpaceData, errRet error)
func (*DbbrainService) DescribeDbbrainRedisTopKeyPrefixListByFilter ¶ added in v1.81.7
func (me *DbbrainService) DescribeDbbrainRedisTopKeyPrefixListByFilter(ctx context.Context, param map[string]interface{}) (redisTopKeyPrefixList []*dbbrain.RedisPreKeySpaceData, errRet error)
func (*DbbrainService) DescribeDbbrainSecurityAuditLogDownloadUrlsByFilter ¶ added in v1.79.18
func (*DbbrainService) DescribeDbbrainSecurityAuditLogExportTask ¶ added in v1.78.14
func (me *DbbrainService) DescribeDbbrainSecurityAuditLogExportTask(ctx context.Context, secAuditGroupId, asyncRequestId, product *string) (task *dbbrain.SecLogExportTaskInfo, errRet error)
func (*DbbrainService) DescribeDbbrainSecurityAuditLogExportTasksByFilter ¶ added in v1.78.16
func (me *DbbrainService) DescribeDbbrainSecurityAuditLogExportTasksByFilter(ctx context.Context, param map[string]interface{}) (securityAuditLogExportTasks []*dbbrain.SecLogExportTaskInfo, errRet error)
func (*DbbrainService) DescribeDbbrainSlowLogTimeSeriesStatsByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainSlowLogTimeSeriesStatsByFilter(ctx context.Context, param map[string]interface{}) (slowLogTimeSeriesStats *dbbrain.DescribeSlowLogTimeSeriesStatsResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainSlowLogTopSqlsByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainSlowLogTopSqlsByFilter(ctx context.Context, param map[string]interface{}) (slowLogTopSqls []*dbbrain.SlowLogTopSqlItem, errRet error)
func (*DbbrainService) DescribeDbbrainSlowLogUserHostStatsByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainSlowLogUserHostStatsByFilter(ctx context.Context, param map[string]interface{}) (slowLogUserHostStats []*dbbrain.SlowLogHost, errRet error)
func (*DbbrainService) DescribeDbbrainSlowLogUserSqlAdviceByFilter ¶ added in v1.79.18
func (me *DbbrainService) DescribeDbbrainSlowLogUserSqlAdviceByFilter(ctx context.Context, param map[string]interface{}) (slowLogUserSqlAdvice *dbbrain.DescribeUserSqlAdviceResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainSlowLogsByFilter ¶ added in v1.81.1
func (me *DbbrainService) DescribeDbbrainSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (SlowLogs []*dbbrain.SlowLogInfoItem, errRet error)
func (*DbbrainService) DescribeDbbrainSqlFilter ¶ added in v1.78.14
func (*DbbrainService) DescribeDbbrainSqlFiltersByFilter ¶ added in v1.78.16
func (*DbbrainService) DescribeDbbrainSqlTemplatesByFilter ¶ added in v1.81.1
func (me *DbbrainService) DescribeDbbrainSqlTemplatesByFilter(ctx context.Context, param map[string]interface{}) (SqlTemplate *dbbrain.DescribeSqlTemplateResponseParams, errRet error)
func (*DbbrainService) DescribeDbbrainTdsqlAuditLogById ¶ added in v1.81.0
func (me *DbbrainService) DescribeDbbrainTdsqlAuditLogById(ctx context.Context, asyncRequestId *string, instanceId string, product string) (tdsqlAuditLog []*dbbrain.AuditLogFile, errRet error)
func (*DbbrainService) DescribeDbbrainTopSpaceSchemaTimeSeriesByFilter ¶ added in v1.81.2
func (me *DbbrainService) DescribeDbbrainTopSpaceSchemaTimeSeriesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceSchemaTimeSeries []*dbbrain.SchemaSpaceTimeSeries, errRet error)
func (*DbbrainService) DescribeDbbrainTopSpaceSchemasByFilter ¶ added in v1.81.2
func (me *DbbrainService) DescribeDbbrainTopSpaceSchemasByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceSchemas []*dbbrain.SchemaSpaceData, Timestamp *int64, errRet error)
func (*DbbrainService) DescribeDbbrainTopSpaceTableTimeSeriesByFilter ¶ added in v1.81.2
func (me *DbbrainService) DescribeDbbrainTopSpaceTableTimeSeriesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceTableTimeSeries []*dbbrain.TableSpaceTimeSeries, errRet error)
func (*DbbrainService) DescribeDbbrainTopSpaceTablesByFilter ¶ added in v1.81.2
func (me *DbbrainService) DescribeDbbrainTopSpaceTablesByFilter(ctx context.Context, param map[string]interface{}) (TopSpaceTables []*dbbrain.TableSpaceData, Timestamp *int64, errRet error)
type DcService ¶ added in v1.41.3
type DcService struct {
// contains filtered or unexported fields
}
func (*DcService) CreateDirectConnectTunnel ¶ added in v1.41.3
func (*DcService) DeleteDcInstanceById ¶ added in v1.81.2
func (*DcService) DeleteDcInternetAddressById ¶ added in v1.81.2
func (*DcService) DeleteDirectConnectTunnel ¶ added in v1.41.3
func (*DcService) DescribeDcAccessPointsByFilter ¶ added in v1.81.2
func (*DcService) DescribeDcInternetAddressById ¶ added in v1.81.2
func (*DcService) DescribeDcInternetAddressQuota ¶ added in v1.81.2
func (*DcService) DescribeDcInternetAddressStatistics ¶ added in v1.81.2
func (*DcService) DescribeDcPublicDirectConnectTunnelRoutesByFilter ¶ added in v1.81.2
func (*DcService) DescribeDcShareDcxConfigById ¶ added in v1.81.2
func (*DcService) DescribeDcxExtraConfigById ¶ added in v1.81.2
func (*DcService) DescribeDirectConnectTunnel ¶ added in v1.41.3
func (*DcService) DescribeDirectConnectTunnels ¶ added in v1.41.3
func (*DcService) DescribeDirectConnects ¶ added in v1.41.3
type DcdbService ¶ added in v1.78.8
type DcdbService struct {
// contains filtered or unexported fields
}
func (*DcdbService) DcdbAccountRefreshFunc ¶ added in v1.81.6
func (me *DcdbService) DcdbAccountRefreshFunc(instanceId string, userName string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDbInstanceStateRefreshFunc ¶ added in v1.79.4
func (me *DcdbService) DcdbDbInstanceStateRefreshFunc(flowId *int64, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDbSyncModeConfigStateRefreshFunc ¶ added in v1.81.6
func (me *DcdbService) DcdbDbSyncModeConfigStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDcnStateRefreshFunc ¶ added in v1.81.6
func (me *DcdbService) DcdbDcnStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DeleteDcdbAccountById ¶ added in v1.78.8
func (me *DcdbService) DeleteDcdbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
func (*DcdbService) DeleteDcdbDbInstanceById ¶ added in v1.79.4
func (me *DcdbService) DeleteDcdbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
tencentcloud_dcdb_db_instance
func (*DcdbService) DeleteDcdbDedicatedClusterDbInstanceById ¶ added in v1.81.6
func (me *DcdbService) DeleteDcdbDedicatedClusterDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*DcdbService) DeleteDcdbHourdbInstanceById ¶ added in v1.78.8
func (me *DcdbService) DeleteDcdbHourdbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*DcdbService) DeleteDcdbSecurityGroupAttachmentById ¶ added in v1.78.8
func (me *DcdbService) DeleteDcdbSecurityGroupAttachmentById(ctx context.Context, instanceId, securityGroupId string) (errRet error)
func (*DcdbService) DescribeDcdbAccount ¶ added in v1.78.8
func (me *DcdbService) DescribeDcdbAccount(ctx context.Context, instanceId, userName string) (account *dcdb.DescribeAccountsResponseParams, errRet error)
dc_account
func (*DcdbService) DescribeDcdbAccountPrivilegesById ¶ added in v1.79.4
func (me *DcdbService) DescribeDcdbAccountPrivilegesById(ctx context.Context, ids string, dbName, aType, object, colName *string) (accountPrivileges *dcdb.DescribeAccountPrivilegesResponseParams, errRet error)
tencentcloud_dcdb_account_privileges
func (*DcdbService) DescribeDcdbAccountsByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*dcdb.DBAccount, errRet error)
tencentcloud_dcdb_accounts
func (*DcdbService) DescribeDcdbDBObjects ¶ added in v1.79.4
func (me *DcdbService) DescribeDcdbDBObjects(ctx context.Context, instanceId string, dbName string) (rets *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDBObjectsByFilter ¶ added in v1.79.5
func (me *DcdbService) DescribeDcdbDBObjectsByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
tencentcloud_dcdb_database_objects
func (*DcdbService) DescribeDcdbDBTables ¶ added in v1.79.4
func (me *DcdbService) DescribeDcdbDBTables(ctx context.Context, instanceId string, dbName string, tableName string) (rets *dcdb.DescribeDatabaseTableResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDBTablesByFilter ¶ added in v1.79.5
func (me *DcdbService) DescribeDcdbDBTablesByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseTableResponseParams, errRet error)
tencentcloud_dcdb_database_tables
func (*DcdbService) DescribeDcdbDatabases ¶ added in v1.79.4
func (me *DcdbService) DescribeDcdbDatabases(ctx context.Context, instanceId string) (rets *dcdb.DescribeDatabasesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDatabasesByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases []*dcdb.Database, errRet error)
tencentcloud_dcdb_databases
func (*DcdbService) DescribeDcdbDbInstance ¶ added in v1.78.8
func (me *DcdbService) DescribeDcdbDbInstance(ctx context.Context, instanceId string) (instances *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
dc_db_instance
func (*DcdbService) DescribeDcdbDbInstanceDetailById ¶ added in v1.81.6
func (me *DcdbService) DescribeDcdbDbInstanceDetailById(ctx context.Context, instanceId string) (dedicatedClusterDbInstance *dcdb.DescribeDCDBInstanceDetailResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDbParametersById ¶ added in v1.79.5
func (me *DcdbService) DescribeDcdbDbParametersById(ctx context.Context, instanceId string) (dbParameters *dcdb.DescribeDBParametersResponseParams, errRet error)
tencentcloud_dcdb_db_parameters
func (*DcdbService) DescribeDcdbDbSyncModeConfigById ¶ added in v1.81.6
func (me *DcdbService) DescribeDcdbDbSyncModeConfigById(ctx context.Context, instanceId string) (dbSyncModeConfig *dcdb.DescribeDBSyncModeResponseParams, errRet error)
func (*DcdbService) DescribeDcdbEncryptAttributesConfigById ¶ added in v1.81.6
func (me *DcdbService) DescribeDcdbEncryptAttributesConfigById(ctx context.Context, instanceId string) (encryptAttributesConfig *dcdb.DescribeDBEncryptAttributesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbFileDownloadUrlByFilter ¶ added in v1.81.7
func (*DcdbService) DescribeDcdbFlowById ¶ added in v1.79.4
func (me *DcdbService) DescribeDcdbFlowById(ctx context.Context, flowId *int64) (dbInstance *dcdb.DescribeFlowResponseParams, errRet error)
func (*DcdbService) DescribeDcdbHourdbInstance ¶ added in v1.78.8
func (me *DcdbService) DescribeDcdbHourdbInstance(ctx context.Context, instanceId string) (hourdbInstance *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
dc_hourdb_instance
func (*DcdbService) DescribeDcdbInstanceNodeInfoByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*dcdb.BriefNodeInfo, errRet error)
func (*DcdbService) DescribeDcdbInstancesByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbInstancesByFilter(ctx context.Context, params map[string]interface{}) (instances []*dcdb.DCDBInstanceInfo, errRet error)
for data_source tencentcloud_dcdb_instances
func (*DcdbService) DescribeDcdbLogFilesByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDBLogFilesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbOrdersByFilter ¶ added in v1.81.7
func (*DcdbService) DescribeDcdbParametersByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbParametersByFilter(ctx context.Context, param map[string]interface{}) (parameters []*dcdb.ParamDesc, errRet error)
tencentcloud_dcdb_parameters
func (*DcdbService) DescribeDcdbPriceByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBPriceResponseParams, errRet error)
func (*DcdbService) DescribeDcdbProjectSecurityGroupsByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*dcdb.SecurityGroup, errRet error)
func (*DcdbService) DescribeDcdbProjectsByFilter ¶ added in v1.81.7
func (*DcdbService) DescribeDcdbRenewalPriceByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBRenewalPriceResponseParams, errRet error)
func (*DcdbService) DescribeDcdbSaleInfoByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbSaleInfoByFilter(ctx context.Context, param map[string]interface{}) (regionInfo []*dcdb.RegionInfo, errRet error)
func (*DcdbService) DescribeDcdbSecurityGroup ¶ added in v1.78.8
func (me *DcdbService) DescribeDcdbSecurityGroup(ctx context.Context, instanceId string) (securityGroup *dcdb.DescribeDBSecurityGroupsResponseParams, errRet error)
dc_sg
func (*DcdbService) DescribeDcdbSecurityGroupsByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*dcdb.SecurityGroup, errRet error)
tencentcloud_dcdb_security_groups
func (*DcdbService) DescribeDcdbShardSpecByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbShardSpecByFilter(ctx context.Context, param map[string]interface{}) (specConfigs []*dcdb.SpecConfig, errRet error)
func (*DcdbService) DescribeDcdbShardsByFilter ¶ added in v1.78.9
func (me *DcdbService) DescribeDcdbShardsByFilter(ctx context.Context, param map[string]interface{}) (shards []*dcdb.DCDBShardInfo, errRet error)
tencentcloud_dcdb_shards
func (*DcdbService) DescribeDcdbSlowLogsByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs []*dcdb.SlowLogData, ret *dcdb.DescribeDBSlowLogsResponseParams, errRet error)
func (*DcdbService) DescribeDcdbUpgradePriceByFilter ¶ added in v1.81.7
func (me *DcdbService) DescribeDcdbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBUpgradePriceResponseParams, errRet error)
func (*DcdbService) DescribeDcnDetailById ¶ added in v1.79.4
func (me *DcdbService) DescribeDcnDetailById(ctx context.Context, instanceId string) (dcnDetails []*dcdb.DcnDetailItem, errRet error)
func (*DcdbService) InitDcdbDbInstance ¶ added in v1.78.8
func (me *DcdbService) InitDcdbDbInstance(ctx context.Context, instanceId string, params []*dcdb.DBParamValue) (initRet bool, flowId *uint64, errRet error)
func (*DcdbService) SetDcdbExtranetAccess ¶ added in v1.81.6
func (*DcdbService) SetNetworkVip ¶ added in v1.81.6
func (me *DcdbService) SetNetworkVip(ctx context.Context, instanceId, vpcId, subnetId, vip, vipv6 string) (errRet error)
func (*DcdbService) SetRealServerAccessStrategy ¶ added in v1.81.6
type DcgInstanceInfo ¶ added in v1.41.3
type DcgInstanceInfo struct {
// contains filtered or unexported fields
}
info for one direct connect gateway.
type DcgRouteInfo ¶ added in v1.41.3
type DcgRouteInfo struct {
// contains filtered or unexported fields
}
info for direct connect gateway[ ccn type] route.
type DlcService ¶ added in v1.81.21
type DlcService struct {
// contains filtered or unexported fields
}
func (*DlcService) DeleteDlcAttachWorkGroupPolicyAttachmentById ¶ added in v1.81.41
func (*DlcService) DeleteDlcBindWorkGroupsToUserById ¶ added in v1.81.41
func (*DlcService) DeleteDlcDataEngineByName ¶ added in v1.81.39
func (me *DlcService) DeleteDlcDataEngineByName(ctx context.Context, dataEngineName string) (errRet error)
func (*DlcService) DeleteDlcUserById ¶ added in v1.81.21
func (me *DlcService) DeleteDlcUserById(ctx context.Context, userId string) (errRet error)
func (*DlcService) DeleteDlcUsersToWorkGroupAttachmentById ¶ added in v1.81.38
func (*DlcService) DeleteDlcWorkGroupById ¶ added in v1.81.21
func (me *DlcService) DeleteDlcWorkGroupById(ctx context.Context, workGroupId string) (errRet error)
func (*DlcService) DescribeDlcCheckDataEngineConfigPairsValidityByFilter ¶ added in v1.81.41
func (me *DlcService) DescribeDlcCheckDataEngineConfigPairsValidityByFilter(ctx context.Context, param map[string]interface{}) (checkDataEngineConfigPairsValidity *dlc.CheckDataEngineConfigPairsValidityResponseParams, errRet error)
func (*DlcService) DescribeDlcCheckDataEngineImageCanBeRollbackByFilter ¶ added in v1.81.38
func (me *DlcService) DescribeDlcCheckDataEngineImageCanBeRollbackByFilter(ctx context.Context, param map[string]interface{}) (checkDataEngineImageCanBeRollback *dlc.CheckDataEngineImageCanBeRollbackResponseParams, errRet error)
func (*DlcService) DescribeDlcCheckDataEngineImageCanBeUpgradeByFilter ¶ added in v1.81.39
func (me *DlcService) DescribeDlcCheckDataEngineImageCanBeUpgradeByFilter(ctx context.Context, param map[string]interface{}) (checkDataEngineImageCanBeUpgrade *dlc.CheckDataEngineImageCanBeUpgradeResponseParams, errRet error)
func (*DlcService) DescribeDlcDataEngineById ¶ added in v1.81.41
func (me *DlcService) DescribeDlcDataEngineById(ctx context.Context, dataEngineId string) (dataEngine *dlc.DataEngineInfo, errRet error)
func (*DlcService) DescribeDlcDataEngineByName ¶ added in v1.81.39
func (me *DlcService) DescribeDlcDataEngineByName(ctx context.Context, dataEngineName string) (dataEngine *dlc.DataEngineInfo, errRet error)
func (*DlcService) DescribeDlcDataEngineImageVersionsByFilter ¶ added in v1.81.40
func (me *DlcService) DescribeDlcDataEngineImageVersionsByFilter(ctx context.Context, param map[string]interface{}) (describeDataEngineImageVersions []*dlc.DataEngineImageVersion, errRet error)
func (*DlcService) DescribeDlcDataEnginePythonSparkImagesByFilter ¶ added in v1.81.40
func (me *DlcService) DescribeDlcDataEnginePythonSparkImagesByFilter(ctx context.Context, param map[string]interface{}) (describeDataEnginePythonSparkImages []*dlc.PythonSparkImage, errRet error)
func (*DlcService) DescribeDlcDescribeEngineUsageInfoByFilter ¶ added in v1.81.40
func (me *DlcService) DescribeDlcDescribeEngineUsageInfoByFilter(ctx context.Context, param map[string]interface{}) (describeEngineUsageInfo *dlc.DescribeEngineUsageInfoResponseParams, errRet error)
func (*DlcService) DescribeDlcDescribeUserInfoByFilter ¶ added in v1.81.39
func (me *DlcService) DescribeDlcDescribeUserInfoByFilter(ctx context.Context, param map[string]interface{}) (describeUserInfo *dlc.UserDetailInfo, errRet error)
func (*DlcService) DescribeDlcDescribeUserRolesByFilter ¶ added in v1.81.39
func (*DlcService) DescribeDlcDescribeUserTypeByFilter ¶ added in v1.81.39
func (*DlcService) DescribeDlcDescribeWorkGroupInfoByFilter ¶ added in v1.81.40
func (me *DlcService) DescribeDlcDescribeWorkGroupInfoByFilter(ctx context.Context, param map[string]interface{}) (describeWorkGroupInfo *dlc.WorkGroupDetailInfo, errRet error)
func (*DlcService) DescribeDlcStoreLocationConfigById ¶ added in v1.81.38
func (me *DlcService) DescribeDlcStoreLocationConfigById(ctx context.Context) (storeLocationConfig *dlc.DescribeAdvancedStoreLocationResponseParams, errRet error)
func (*DlcService) DescribeDlcUserById ¶ added in v1.81.21
func (*DlcService) DescribeDlcUserDataEngineConfigById ¶ added in v1.81.41
func (me *DlcService) DescribeDlcUserDataEngineConfigById(ctx context.Context, dataEngineId string) (userDataEngineConfig *dlc.DataEngineConfigInstanceInfo, errRet error)
func (*DlcService) DescribeDlcWorkGroupById ¶ added in v1.81.21
func (me *DlcService) DescribeDlcWorkGroupById(ctx context.Context, workGroupId string) (workGroup *dlc.WorkGroupInfo, errRet error)
func (*DlcService) DlcRestartDataEngineStateRefreshFunc ¶ added in v1.81.41
func (me *DlcService) DlcRestartDataEngineStateRefreshFunc(dataEngineId string, failStates []string) resource.StateRefreshFunc
type DnspodService ¶ added in v1.60.10
type DnspodService struct {
// contains filtered or unexported fields
}
func (*DnspodService) DeleteDnspodCustomLineById ¶ added in v1.81.43
func (*DnspodService) DeleteDnspodDomainAliasById ¶ added in v1.81.42
func (*DnspodService) DeleteDnspodRecordGroupById ¶ added in v1.81.41
func (*DnspodService) DeleteDomain ¶ added in v1.78.4
func (me *DnspodService) DeleteDomain(ctx context.Context, domain string) (errRet error)
func (*DnspodService) DescribeDnspodCustomLineById ¶ added in v1.81.43
func (me *DnspodService) DescribeDnspodCustomLineById(ctx context.Context, domain string, name string) (customLineInfo *dnspod.CustomLineInfo, errRet error)
func (*DnspodService) DescribeDnspodDomainAliasById ¶ added in v1.81.42
func (me *DnspodService) DescribeDnspodDomainAliasById(ctx context.Context, domain string, domainAliasId int64) (domainAliasInfo *dnspod.DomainAliasInfo, errRet error)
func (*DnspodService) DescribeDnspodDomainAnalyticsByFilter ¶ added in v1.81.37
func (me *DnspodService) DescribeDnspodDomainAnalyticsByFilter(ctx context.Context, param map[string]interface{}) (alias_data []*dnspod.DomainAliasAnalyticsItem, data []*dnspod.DomainAnalyticsDetail, info *dnspod.DomainAnalyticsInfo, errRet error)
func (*DnspodService) DescribeDnspodDomainListByFilter ¶ added in v1.81.37
func (me *DnspodService) DescribeDnspodDomainListByFilter(ctx context.Context, param map[string]interface{}) (domain_list []*dnspod.DomainListItem, errRet error)
func (*DnspodService) DescribeDnspodDomainLogListByFilter ¶ added in v1.81.38
func (*DnspodService) DescribeDnspodRecordAnalyticsByFilter ¶ added in v1.81.38
func (me *DnspodService) DescribeDnspodRecordAnalyticsByFilter(ctx context.Context, param map[string]interface{}) (alias_data []*dnspod.SubdomainAliasAnalyticsItem, data []*dnspod.DomainAnalyticsDetail, info *dnspod.SubdomainAnalyticsInfo, errRet error)
func (*DnspodService) DescribeDnspodRecordGroupById ¶ added in v1.81.41
func (me *DnspodService) DescribeDnspodRecordGroupById(ctx context.Context, domain string, groupId uint64) (recordGroup *dnspod.RecordGroupInfo, errRet error)
func (*DnspodService) DescribeDnspodRecordLineListByFilter ¶ added in v1.81.38
func (me *DnspodService) DescribeDnspodRecordLineListByFilter(ctx context.Context, param map[string]interface{}) (line_list []*dnspod.LineInfo, line_group_list []*dnspod.LineGroupInfo, errRet error)
func (*DnspodService) DescribeDnspodRecordListByFilter ¶ added in v1.81.38
func (me *DnspodService) DescribeDnspodRecordListByFilter(ctx context.Context, param map[string]interface{}) (record_list []*dnspod.RecordListItem, errRet error)
func (*DnspodService) DescribeDnspodRecordTypeByFilter ¶ added in v1.81.38
func (*DnspodService) DescribeDomain ¶ added in v1.78.4
func (me *DnspodService) DescribeDomain(ctx context.Context, domain string) (ret *dnspod.DescribeDomainResponse, errRet error)
func (*DnspodService) DescribeRecordList ¶ added in v1.78.12
func (me *DnspodService) DescribeRecordList(ctx context.Context, request *dnspod.DescribeRecordListRequest) (list []*dnspod.RecordListItem, info *dnspod.RecordCountInfo, errRet error)
func (*DnspodService) ModifyDnsPodDomainRemark ¶ added in v1.60.10
func (*DnspodService) ModifyDnsPodDomainStatus ¶ added in v1.60.10
func (me *DnspodService) ModifyDnsPodDomainStatus(ctx context.Context, domain string, status string) (errRet error)
////////api
type DomainService ¶ added in v1.73.0
type DomainService struct {
// contains filtered or unexported fields
}
func (*DomainService) DescribeDomainNameList ¶ added in v1.73.0
func (me *DomainService) DescribeDomainNameList(ctx context.Context, request *domain.DescribeDomainNameListRequest) (result []*domain.DomainList, errRet error)
type DtsService ¶ added in v1.78.16
type DtsService struct {
// contains filtered or unexported fields
}
func (*DtsService) DeleteDtsCompareTaskById ¶ added in v1.78.16
func (me *DtsService) DeleteDtsCompareTaskById(ctx context.Context, jobId, compareTaskId string) (errRet error)
func (*DtsService) DeleteDtsMigrateServiceById ¶ added in v1.79.5
func (me *DtsService) DeleteDtsMigrateServiceById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DeleteDtsSyncJobById ¶ added in v1.78.16
func (me *DtsService) DeleteDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DescribeDtsCompareTask ¶ added in v1.78.16
func (me *DtsService) DescribeDtsCompareTask(ctx context.Context, jobId, compareTaskId *string) (tasks []*dts.CompareTaskItem, errRet error)
func (*DtsService) DescribeDtsCompareTaskStopOperationById ¶ added in v1.80.2
func (me *DtsService) DescribeDtsCompareTaskStopOperationById(ctx context.Context, jobId string, compareTaskId string) (result *dts.DescribeCompareReportResponseParams, errRet error)
func (*DtsService) DescribeDtsCompareTasksByFilter ¶ added in v1.79.1
func (me *DtsService) DescribeDtsCompareTasksByFilter(ctx context.Context, param map[string]interface{}) (compareTasks []*dts.CompareTaskItem, errRet error)
compare task
func (*DtsService) DescribeDtsMigrateCheckById ¶ added in v1.79.5
func (me *DtsService) DescribeDtsMigrateCheckById(ctx context.Context, jobId string) (migrateCheckJob *dts.DescribeMigrationCheckJobResponseParams, errRet error)
func (*DtsService) DescribeDtsMigrateDbInstancesByFilter ¶ added in v1.81.5
func (me *DtsService) DescribeDtsMigrateDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (migrateDbInstances []*dts.MigrateDBItem, errRet error)
func (*DtsService) DescribeDtsMigrateJobById ¶ added in v1.79.5
func (me *DtsService) DescribeDtsMigrateJobById(ctx context.Context, jobId string) (migrateJob *dts.DescribeMigrationDetailResponseParams, errRet error)
func (*DtsService) DescribeDtsMigrateJobsByFilter ¶ added in v1.79.1
func (me *DtsService) DescribeDtsMigrateJobsByFilter(ctx context.Context, param map[string]interface{}) (migrateJobs []*dts.JobItem, errRet error)
migration job
func (*DtsService) DescribeDtsMigrateServiceById ¶ added in v1.79.5
func (me *DtsService) DescribeDtsMigrateServiceById(ctx context.Context, jobId string) (migrateService *dts.DescribeMigrationDetailResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncCheckJobOperationById ¶ added in v1.80.2
func (me *DtsService) DescribeDtsSyncCheckJobOperationById(ctx context.Context, jobId string) (syncCheckJobOperation *dts.DescribeCheckSyncJobResultResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncConfigById ¶ added in v1.81.5
func (me *DtsService) DescribeDtsSyncConfigById(ctx context.Context, jobId string) (syncConfig *dts.SyncJobInfo, errRet error)
func (*DtsService) DescribeDtsSyncJob ¶ added in v1.78.16
func (me *DtsService) DescribeDtsSyncJob(ctx context.Context, jobId *string) (jobInfo *dts.SyncJobInfo, errRet error)
sync job
func (*DtsService) DescribeDtsSyncJobResumeOperationById ¶ added in v1.80.2
func (me *DtsService) DescribeDtsSyncJobResumeOperationById(ctx context.Context, jobId string) (syncJobResumeOperation *dts.DescribeSyncJobsResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncJobsByFilter ¶ added in v1.78.16
func (me *DtsService) DescribeDtsSyncJobsByFilter(ctx context.Context, param map[string]interface{}) (syncJobs []*dts.SyncJobInfo, errRet error)
func (*DtsService) DestroyDtsSyncJobById ¶ added in v1.81.5
func (me *DtsService) DestroyDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DtsMigrateCheckConfigStateRefreshFunc ¶ added in v1.79.5
func (me *DtsService) DtsMigrateCheckConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobConfigStateRefreshFunc ¶ added in v1.80.2
func (me *DtsService) DtsMigrateJobConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobResumeOperationStateRefreshFunc ¶ added in v1.80.2
func (me *DtsService) DtsMigrateJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobStateRefreshFunc ¶ added in v1.79.5
func (me *DtsService) DtsMigrateJobStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateServiceStateRefreshFunc ¶ added in v1.79.5
func (me *DtsService) DtsMigrateServiceStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncCheckJobOperationStateRefreshFunc ¶ added in v1.80.2
func (me *DtsService) DtsSyncCheckJobOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobConfigDeleteStateRefreshFunc ¶ added in v1.81.5
func (me *DtsService) DtsSyncJobConfigDeleteStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobConfigIsolateStateRefreshFunc ¶ added in v1.81.5
func (me *DtsService) DtsSyncJobConfigIsolateStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobResumeOperationStateRefreshFunc ¶ added in v1.80.2
func (me *DtsService) DtsSyncJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobStateRefreshFunc ¶ added in v1.81.5
func (me *DtsService) DtsSyncJobStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobTradeStateRefreshFunc ¶ added in v1.81.5
func (me *DtsService) DtsSyncJobTradeStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
func (*DtsService) IsolateDtsMigrateJobById ¶ added in v1.79.1
func (me *DtsService) IsolateDtsMigrateJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) IsolateDtsSyncJobById ¶ added in v1.78.16
func (me *DtsService) IsolateDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) PollingCompareTaskStatusUntil ¶ added in v1.79.1
func (me *DtsService) PollingCompareTaskStatusUntil(ctx context.Context, jobId, compareTaskId, targetStatus string) error
func (*DtsService) PollingMigrateJobStatusUntil ¶ added in v1.79.1
func (*DtsService) PollingSyncJobStatusUntil ¶ added in v1.79.1
func (*DtsService) StopDtsCompareById ¶ added in v1.79.1
func (me *DtsService) StopDtsCompareById(ctx context.Context, jobId, compareTaskId string) (errRet error)
type EMRService ¶ added in v1.60.11
type EMRService struct {
// contains filtered or unexported fields
}
func (*EMRService) CreateInstance ¶ added in v1.60.11
func (me *EMRService) CreateInstance(ctx context.Context, d *schema.ResourceData) (id string, err error)
func (*EMRService) DeleteEmrUserManagerById ¶ added in v1.81.36
func (*EMRService) DeleteInstance ¶ added in v1.60.11
func (me *EMRService) DeleteInstance(ctx context.Context, d *schema.ResourceData) error
func (*EMRService) DescribeClusterNodes ¶ added in v1.65.0
func (me *EMRService) DescribeClusterNodes(ctx context.Context, instanceId, nodeFlag, hardwareResourceType string, offset, limit int) (nodes []*emr.NodeHardwareInfo, errRet error)
func (*EMRService) DescribeEmrUserManagerById ¶ added in v1.81.36
func (me *EMRService) DescribeEmrUserManagerById(ctx context.Context, instanceId string, userName string) (userManager *emr.DescribeUsersForUserManagerResponseParams, errRet error)
func (*EMRService) DescribeInstances ¶ added in v1.60.11
func (me *EMRService) DescribeInstances(ctx context.Context, filters map[string]interface{}) (clusters []*emr.ClusterInstancesInfo, errRet error)
func (*EMRService) DescribeInstancesById ¶ added in v1.60.11
func (me *EMRService) DescribeInstancesById(ctx context.Context, instanceId string, displayStrategy string) (clusters []*emr.ClusterInstancesInfo, errRet error)
func (*EMRService) ModifyResourcesTags ¶ added in v1.81.21
func (*EMRService) UpdateInstance ¶ added in v1.60.11
func (me *EMRService) UpdateInstance(ctx context.Context, request *emr.ScaleOutInstanceRequest) (id string, err error)
type EbService ¶ added in v1.81.20
type EbService struct {
// contains filtered or unexported fields
}
func (*EbService) DeleteEbEventBusById ¶ added in v1.81.20
func (*EbService) DeleteEbEventConnectorById ¶ added in v1.81.21
func (*EbService) DeleteEbEventRuleById ¶ added in v1.81.20
func (*EbService) DeleteEbEventTargetById ¶ added in v1.81.20
func (*EbService) DeleteEbEventTransformById ¶ added in v1.81.20
func (*EbService) DescribeEbBusByFilter ¶ added in v1.81.20
func (*EbService) DescribeEbEventBusById ¶ added in v1.81.20
func (*EbService) DescribeEbEventConnectorById ¶ added in v1.81.21
func (*EbService) DescribeEbEventRuleById ¶ added in v1.81.20
func (*EbService) DescribeEbEventRulesByFilter ¶ added in v1.81.23
func (*EbService) DescribeEbEventTargetById ¶ added in v1.81.20
func (*EbService) DescribeEbEventTransformById ¶ added in v1.81.20
func (*EbService) DescribeEbPlateformByFilter ¶ added in v1.81.34
func (*EbService) DescribeEbPlateformEventTemplateByFilter ¶ added in v1.81.34
func (*EbService) DescribeEbPlatformEventPatternsByFilter ¶ added in v1.81.34
func (*EbService) DescribeEbPlatformProductsByFilter ¶ added in v1.81.34
func (*EbService) DescribeEbSearchByFilter ¶ added in v1.81.20
func (*EbService) DescribeEbSearchLogByFilter ¶ added in v1.81.20
type EipAssociationId ¶ added in v1.41.3
type EksClusterCredentialResponse ¶ added in v1.66.0
type EksClusterCredentialResponse struct { Addresses []*tke.IPAddress `json:"Addresses,omitempty" name:"Addresses"` Credential *tke.ClusterCredential `json:"Credential,omitempty" name:"Credential"` PublicLB *tke.ClusterPublicLB `json:"PublicLB,omitempty" name:"PublicLB"` InternalLB *tke.ClusterInternalLB `json:"InternalLB,omitempty" name:"InternalLB"` KubeConfig string ProxyLB bool }
type EksClusterInfo ¶ added in v1.59.11
type EksClusterInfo struct { ClusterId string ClusterName string ClusterDesc string K8SVersion string VpcId string SubnetIds []string Status string CreatedTime string ServiceSubnetId string ExtraParam string DnsServers []map[string]interface{} NeedDeleteCbs bool EnableVpcCoreDNS bool Tags map[string]string }
type EksService ¶ added in v1.59.11
type EksService struct {
// contains filtered or unexported fields
}
func (*EksService) CreateEksCluster ¶ added in v1.59.11
func (me *EksService) CreateEksCluster(ctx context.Context, request *tke.CreateEKSClusterRequest) (id string, errRet error)
func (*EksService) CreateEksContainerInstances ¶ added in v1.60.10
func (me *EksService) CreateEksContainerInstances(ctx context.Context, request *tke.CreateEKSContainerInstancesRequest) (id string, errRet error)
func (*EksService) DeleteEksCluster ¶ added in v1.59.11
func (me *EksService) DeleteEksCluster(ctx context.Context, request *tke.DeleteEKSClusterRequest) (errRet error)
func (*EksService) DeleteEksContainerInstance ¶ added in v1.60.10
func (me *EksService) DeleteEksContainerInstance(ctx context.Context, request *tke.DeleteEKSContainerInstancesRequest) (errRet error)
func (*EksService) DescribeEKSClusterCredential ¶ added in v1.66.0
func (me *EksService) DescribeEKSClusterCredential(ctx context.Context, request *tke.DescribeEKSClusterCredentialRequest) (info *EksClusterCredentialResponse, errRet error)
func (*EksService) DescribeEKSClusterCredentialById ¶ added in v1.66.0
func (me *EksService) DescribeEKSClusterCredentialById(ctx context.Context, id string) (info *EksClusterCredentialResponse, errRet error)
func (*EksService) DescribeEKSClusters ¶ added in v1.59.11
func (me *EksService) DescribeEKSClusters(ctx context.Context, id string, name string) (eksClusters []EksClusterInfo, errRet error)
func (*EksService) DescribeEksCluster ¶ added in v1.59.11
func (me *EksService) DescribeEksCluster(ctx context.Context, id string) (clusterInfo EksClusterInfo, has bool, errRet error)
func (*EksService) DescribeEksContainerInstanceById ¶ added in v1.60.10
func (*EksService) DescribeEksContainerInstancesByFilter ¶ added in v1.60.10
func (*EksService) UpdateEksCluster ¶ added in v1.59.11
func (me *EksService) UpdateEksCluster(ctx context.Context, request *tke.UpdateEKSClusterRequest) (errRet error)
func (*EksService) UpdateEksContainerInstances ¶ added in v1.60.10
func (me *EksService) UpdateEksContainerInstances(ctx context.Context, request *tke.UpdateEKSContainerInstanceRequest) (errRet error)
type ElasticsearchService ¶ added in v1.41.3
type ElasticsearchService struct {
// contains filtered or unexported fields
}
func (*ElasticsearchService) DeleteElasticsearchIndexByName ¶ added in v1.81.37
func (me *ElasticsearchService) DeleteElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (errRet error)
func (*ElasticsearchService) DeleteElasticsearchLogstashById ¶ added in v1.81.37
func (me *ElasticsearchService) DeleteElasticsearchLogstashById(ctx context.Context, instanceId string) (errRet error)
func (*ElasticsearchService) DeleteElasticsearchLogstashPipelineById ¶ added in v1.81.37
func (me *ElasticsearchService) DeleteElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (errRet error)
func (*ElasticsearchService) DeleteInstance ¶ added in v1.41.3
func (me *ElasticsearchService) DeleteInstance(ctx context.Context, instanceId string) error
func (*ElasticsearchService) DescribeElasticsearchDiagnoseByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchDiagnoseByFilter(ctx context.Context, param map[string]interface{}) (diagnose []*elasticsearch.DiagnoseResult, errRet error)
func (*ElasticsearchService) DescribeElasticsearchDictionariesById ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchDictionariesById(ctx context.Context, instanceId string) (Dictionaries *elasticsearch.DiagnoseResult, errRet error)
func (*ElasticsearchService) DescribeElasticsearchIndexByName ¶ added in v1.81.37
func (me *ElasticsearchService) DescribeElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (index *es.IndexMetaField, errRet error)
func (*ElasticsearchService) DescribeElasticsearchInstanceLogsByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (elasticsearchInstanceLogs []*es.InstanceLog, errRet error)
func (*ElasticsearchService) DescribeElasticsearchInstanceOperationsByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (instanceOperations []*elasticsearch.Operation, errRet error)
func (*ElasticsearchService) DescribeElasticsearchInstancePluginListByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchInstancePluginListByFilter(ctx context.Context, param map[string]interface{}) (InstancePluginList []*elasticsearch.DescribeInstancePluginInfo, errRet error)
func (*ElasticsearchService) DescribeElasticsearchLogstashById ¶ added in v1.81.37
func (me *ElasticsearchService) DescribeElasticsearchLogstashById(ctx context.Context, instanceId string) (logstash *es.LogstashInstanceInfo, errRet error)
func (*ElasticsearchService) DescribeElasticsearchLogstashInstanceLogsByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceLogs []*elasticsearch.InstanceLog, errRet error)
func (*ElasticsearchService) DescribeElasticsearchLogstashInstanceOperationsByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceOperations []*elasticsearch.Operation, errRet error)
func (*ElasticsearchService) DescribeElasticsearchLogstashPipelineById ¶ added in v1.81.37
func (me *ElasticsearchService) DescribeElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (logstashPipeline *es.LogstashPipelineInfo, errRet error)
func (*ElasticsearchService) DescribeElasticsearchViewsByFilter ¶ added in v1.81.41
func (me *ElasticsearchService) DescribeElasticsearchViewsByFilter(ctx context.Context, param map[string]interface{}) (clusterView *elasticsearch.ClusterView, nodesViews []*elasticsearch.NodeView, kibanasViews []*elasticsearch.KibanaView, errRet error)
func (*ElasticsearchService) DescribeInstanceById ¶ added in v1.41.3
func (me *ElasticsearchService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *es.InstanceInfo, errRet error)
func (*ElasticsearchService) DescribeInstancesByFilter ¶ added in v1.41.3
func (me *ElasticsearchService) DescribeInstancesByFilter(ctx context.Context, instanceId, instanceName string, tags map[string]string) (instances []*es.InstanceInfo, errRet error)
func (*ElasticsearchService) ElasticsearchInstanceRefreshFunc ¶ added in v1.81.41
func (me *ElasticsearchService) ElasticsearchInstanceRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*ElasticsearchService) ElasticsearchLogstashPipelineStateRefreshFunc ¶ added in v1.81.37
func (me *ElasticsearchService) ElasticsearchLogstashPipelineStateRefreshFunc(instanceId, pipelineId string, failStates []string) resource.StateRefreshFunc
func (*ElasticsearchService) ElasticsearchLogstashStateRefreshFunc ¶ added in v1.81.37
func (me *ElasticsearchService) ElasticsearchLogstashStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*ElasticsearchService) GetDiagnoseSettingsById ¶ added in v1.81.41
func (me *ElasticsearchService) GetDiagnoseSettingsById(ctx context.Context, instanceId string) (diagnoseSettings *es.GetDiagnoseSettingsResponseParams, errRet error)
func (*ElasticsearchService) UpdateDiagnoseSettings ¶ added in v1.81.41
func (*ElasticsearchService) UpdateInstance ¶ added in v1.41.3
func (me *ElasticsearchService) UpdateInstance(ctx context.Context, instanceId, instanceName, password string, basicSecurityType int64, nodeList []*es.NodeInfo, nodeTypeInfo *es.WebNodeTypeInfo, esAcl *es.EsAcl) error
UpdateInstance FIXME: use *Request instead of these suck params
func (*ElasticsearchService) UpdateInstanceLicense ¶ added in v1.41.3
func (me *ElasticsearchService) UpdateInstanceLicense(ctx context.Context, instanceId, licenseType string) error
func (*ElasticsearchService) UpdateInstanceVersion ¶ added in v1.41.3
func (me *ElasticsearchService) UpdateInstanceVersion(ctx context.Context, instanceId, version string) error
func (*ElasticsearchService) UpdateLogstashInstance ¶ added in v1.81.37
type GaapService ¶ added in v1.41.3
type GaapService struct {
// contains filtered or unexported fields
}
func (*GaapService) BindHttpRuleRealservers ¶ added in v1.41.3
func (me *GaapService) BindHttpRuleRealservers(ctx context.Context, listenerId, ruleId string, realservers []gaapRealserverBind) error
func (*GaapService) BindLayer4ListenerRealservers ¶ added in v1.41.3
func (me *GaapService) BindLayer4ListenerRealservers(ctx context.Context, id, protocol, proxyId string, realserverBinds []gaapRealserverBind) error
func (*GaapService) CreateDomainErrorPageInfo ¶ added in v1.41.3
func (*GaapService) CreateHTTPDomain ¶ added in v1.41.3
func (me *GaapService) CreateHTTPDomain(ctx context.Context, listenerId, domain string) error
func (*GaapService) CreateHTTPListener ¶ added in v1.41.3
func (*GaapService) CreateHTTPSDomain ¶ added in v1.41.3
func (*GaapService) CreateHTTPSListener ¶ added in v1.41.3
func (*GaapService) CreateHttpRule ¶ added in v1.41.3
func (me *GaapService) CreateHttpRule(ctx context.Context, httpRule gaapHttpRule) (id string, err error)
func (*GaapService) CreateProxy ¶ added in v1.41.3
func (*GaapService) CreateRealserver ¶ added in v1.41.3
func (*GaapService) CreateSecurityPolicy ¶ added in v1.41.3
func (*GaapService) CreateSecurityRule ¶ added in v1.41.3
func (*GaapService) CreateTCPListener ¶ added in v1.41.3
func (*GaapService) CreateUDPListener ¶ added in v1.41.3
func (*GaapService) DeleteCertificate ¶ added in v1.41.3
func (me *GaapService) DeleteCertificate(ctx context.Context, id string) error
func (*GaapService) DeleteDomain ¶ added in v1.41.3
func (me *GaapService) DeleteDomain(ctx context.Context, listenerId, domain string) error
func (*GaapService) DeleteDomainErrorPageInfo ¶ added in v1.41.3
func (me *GaapService) DeleteDomainErrorPageInfo(ctx context.Context, id string) error
func (*GaapService) DeleteGaapGlobalDomainById ¶ added in v1.81.41
func (me *GaapService) DeleteGaapGlobalDomainById(ctx context.Context, domainId string) (errRet error)
func (*GaapService) DeleteGaapGlobalDomainDnsById ¶ added in v1.81.41
func (me *GaapService) DeleteGaapGlobalDomainDnsById(ctx context.Context, dnsRecordId int) (errRet error)
func (*GaapService) DeleteGaapProxyGroupById ¶ added in v1.81.41
func (me *GaapService) DeleteGaapProxyGroupById(ctx context.Context, groupId string) (errRet error)
func (*GaapService) DeleteHttpRule ¶ added in v1.41.3
func (me *GaapService) DeleteHttpRule(ctx context.Context, listenerId, ruleId string) error
func (*GaapService) DeleteLayer4Listener ¶ added in v1.41.3
func (me *GaapService) DeleteLayer4Listener(ctx context.Context, id, proxyId, protocol string) error
func (*GaapService) DeleteLayer7Listener ¶ added in v1.41.3
func (me *GaapService) DeleteLayer7Listener(ctx context.Context, id, proxyId, protocol string) error
func (*GaapService) DeleteProxy ¶ added in v1.41.3
func (me *GaapService) DeleteProxy(ctx context.Context, id string) error
func (*GaapService) DeleteRealserver ¶ added in v1.41.3
func (me *GaapService) DeleteRealserver(ctx context.Context, id string) error
func (*GaapService) DeleteSecurityPolicy ¶ added in v1.41.3
func (me *GaapService) DeleteSecurityPolicy(ctx context.Context, id string) error
func (*GaapService) DeleteSecurityRule ¶ added in v1.41.3
func (me *GaapService) DeleteSecurityRule(ctx context.Context, policyId, ruleId string) error
func (*GaapService) DescribeCertificateById ¶ added in v1.41.3
func (me *GaapService) DescribeCertificateById(ctx context.Context, id string) (certificate *gaap.CertificateDetail, err error)
func (*GaapService) DescribeCertificates ¶ added in v1.41.3
func (me *GaapService) DescribeCertificates(ctx context.Context, id, name *string, certificateType *int) (certificates []*gaap.Certificate, err error)
func (*GaapService) DescribeDomain ¶ added in v1.41.3
func (me *GaapService) DescribeDomain(ctx context.Context, listenerId, domain string) (domainRet *gaap.DomainRuleSet, err error)
func (*GaapService) DescribeDomainErrorPageInfo ¶ added in v1.41.3
func (me *GaapService) DescribeDomainErrorPageInfo(ctx context.Context, listenerId, domain, id string) (info *gaap.DomainErrorPageInfo, err error)
func (*GaapService) DescribeDomainErrorPageInfoList ¶ added in v1.41.3
func (me *GaapService) DescribeDomainErrorPageInfoList(ctx context.Context, listenerId, domain string) (list []*gaap.DomainErrorPageInfo, err error)
func (*GaapService) DescribeDomains ¶ added in v1.41.3
func (me *GaapService) DescribeDomains(ctx context.Context, listenerId, domain string) (domains []*gaap.DomainRuleSet, err error)
func (*GaapService) DescribeGaapAccessRegions ¶ added in v1.81.34
func (me *GaapService) DescribeGaapAccessRegions(ctx context.Context) (describeAccessRegions []*gaap.RegionDetail, errRet error)
func (*GaapService) DescribeGaapAccessRegionsByDestRegionByFilter ¶ added in v1.81.34
func (me *GaapService) DescribeGaapAccessRegionsByDestRegionByFilter(ctx context.Context, param map[string]interface{}) (accessRegionsByDestRegion []*gaap.AccessRegionDetial, errRet error)
func (*GaapService) DescribeGaapBlackHeader ¶ added in v1.81.34
func (me *GaapService) DescribeGaapBlackHeader(ctx context.Context) (blackHeader []*string, errRet error)
func (*GaapService) DescribeGaapCheckProxyCreate ¶ added in v1.81.38
func (*GaapService) DescribeGaapCountryAreaMapping ¶ added in v1.81.34
func (me *GaapService) DescribeGaapCountryAreaMapping(ctx context.Context) (countryAreaMapping []*gaap.CountryAreaMap, errRet error)
func (*GaapService) DescribeGaapCustomHeader ¶ added in v1.81.34
func (me *GaapService) DescribeGaapCustomHeader(ctx context.Context, ruleId string) (customHeader []*gaap.HttpHeaderParam, errRet error)
func (*GaapService) DescribeGaapDestRegions ¶ added in v1.81.34
func (me *GaapService) DescribeGaapDestRegions(ctx context.Context) (destRegions []*gaap.RegionDetail, errRet error)
func (*GaapService) DescribeGaapDomainErrorPageInfosByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapDomainErrorPageInfosByFilter(ctx context.Context, param map[string]interface{}) (domainErrorPageInfos []*gaap.DomainErrorPageInfo, errRet error)
func (*GaapService) DescribeGaapGlobalDomainById ¶ added in v1.81.41
func (*GaapService) DescribeGaapGlobalDomainDnsById ¶ added in v1.81.41
func (*GaapService) DescribeGaapGroupAndStatisticsProxyByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapGroupAndStatisticsProxyByFilter(ctx context.Context, param map[string]interface{}) (groupAndStatisticsProxy []*gaap.GroupStatisticsInfo, errRet error)
func (*GaapService) DescribeGaapListenerRealServersByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapListenerRealServersByFilter(ctx context.Context, param map[string]interface{}) (listenerRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, errRet error)
func (*GaapService) DescribeGaapListenerStatisticsByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapListenerStatisticsByFilter(ctx context.Context, param map[string]interface{}) (listenerStatistics []*gaap.MetricStatisticsInfo, errRet error)
func (*GaapService) DescribeGaapProxiesStatusByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapProxiesStatusByFilter(ctx context.Context, param map[string]interface{}) (proxiesStatus []*gaap.ProxyStatus, errRet error)
func (*GaapService) DescribeGaapProxyAndStatisticsListenersByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapProxyAndStatisticsListenersByFilter(ctx context.Context, param map[string]interface{}) (proxyAndStatisticsListeners []*gaap.ProxySimpleInfo, errRet error)
func (*GaapService) DescribeGaapProxyDetail ¶ added in v1.81.34
func (*GaapService) DescribeGaapProxyGroupById ¶ added in v1.81.41
func (me *GaapService) DescribeGaapProxyGroupById(ctx context.Context, groupId string) (proxyGroup *gaap.ProxyGroupDetail, errRet error)
func (*GaapService) DescribeGaapProxyGroupProxies ¶ added in v1.81.41
func (*GaapService) DescribeGaapProxyGroupStatisticsByFilter ¶ added in v1.81.34
func (me *GaapService) DescribeGaapProxyGroupStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroupStatistics []*gaap.MetricStatisticsInfo, errRet error)
func (*GaapService) DescribeGaapProxyGroupsByFilter ¶ added in v1.81.34
func (me *GaapService) DescribeGaapProxyGroupsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroups []*gaap.ProxyGroupInfo, errRet error)
func (*GaapService) DescribeGaapProxyStatisticsByFilter ¶ added in v1.81.34
func (me *GaapService) DescribeGaapProxyStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyStatistics []*gaap.MetricStatisticsInfo, errRet error)
func (*GaapService) DescribeGaapRealServersStatusByFilter ¶ added in v1.81.34
func (me *GaapService) DescribeGaapRealServersStatusByFilter(ctx context.Context, param map[string]interface{}) (realServersStatus []*gaap.RealServerStatus, errRet error)
func (*GaapService) DescribeGaapRegionAndPriceByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapRegionAndPriceByFilter(ctx context.Context, param map[string]interface{}) (regionAndPrice []*gaap.RegionDetail, bandwidthUnitPrice []*gaap.BandwidthPriceGradient, currency *string, errRet error)
func (*GaapService) DescribeGaapResourcesByTagByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapResourcesByTagByFilter(ctx context.Context, param map[string]interface{}) (resourcesByTag []*gaap.TagResourceInfo, errRet error)
func (*GaapService) DescribeGaapRuleRealServersByFilter ¶ added in v1.81.38
func (me *GaapService) DescribeGaapRuleRealServersByFilter(ctx context.Context, param map[string]interface{}) (ruleRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, errRet error)
func (*GaapService) DescribeHTTPListeners ¶ added in v1.41.3
func (me *GaapService) DescribeHTTPListeners( ctx context.Context, proxyId, id, name *string, port *int, ) (listeners []*gaap.HTTPListener, err error)
func (*GaapService) DescribeHTTPSListeners ¶ added in v1.41.3
func (me *GaapService) DescribeHTTPSListeners( ctx context.Context, proxyId, listenerId, name *string, port *int, ) (listeners []*gaap.HTTPSListener, err error)
func (*GaapService) DescribeHttpRule ¶ added in v1.41.3
func (*GaapService) DescribeProxies ¶ added in v1.41.3
func (*GaapService) DescribeRealservers ¶ added in v1.41.3
func (me *GaapService) DescribeRealservers(ctx context.Context, address, name *string, tags map[string]string, projectId int) (realservers []*gaap.BindRealServerInfo, err error)
func (*GaapService) DescribeSecurityPolicy ¶ added in v1.41.3
func (*GaapService) DescribeSecurityRule ¶ added in v1.41.3
func (me *GaapService) DescribeSecurityRule(ctx context.Context, id string) (securityRule *gaap.SecurityPolicyRuleOut, err error)
func (*GaapService) DescribeSecurityRules ¶ added in v1.41.3
func (me *GaapService) DescribeSecurityRules(ctx context.Context, policyId string) (securityRules []*gaap.SecurityPolicyRuleOut, err error)
func (*GaapService) DescribeTCPListeners ¶ added in v1.41.3
func (me *GaapService) DescribeTCPListeners(ctx context.Context, proxyId, listenerId, name *string, port *int) (listeners []*gaap.TCPListener, err error)
func (*GaapService) DescribeUDPListeners ¶ added in v1.41.3
func (me *GaapService) DescribeUDPListeners(ctx context.Context, proxyId, id, name *string, port *int) (listeners []*gaap.UDPListener, err error)
func (*GaapService) DisableGlobalDomain ¶ added in v1.81.41
func (me *GaapService) DisableGlobalDomain(ctx context.Context, domainId string) (errRet error)
func (*GaapService) DisableProxy ¶ added in v1.41.3
func (me *GaapService) DisableProxy(ctx context.Context, id string) error
func (*GaapService) DisableSecurityPolicy ¶ added in v1.41.3
func (me *GaapService) DisableSecurityPolicy(ctx context.Context, proxyId, policyId string) error
func (*GaapService) DomainInstanceStateRefreshFunc ¶ added in v1.81.41
func (me *GaapService) DomainInstanceStateRefreshFunc(instanceId string, projectId int, failStates []string) resource.StateRefreshFunc
func (*GaapService) EnableProxy ¶ added in v1.41.3
func (me *GaapService) EnableProxy(ctx context.Context, id string) error
func (*GaapService) EnableSecurityPolicy ¶ added in v1.41.3
func (me *GaapService) EnableSecurityPolicy(ctx context.Context, proxyId, policyId string) error
func (*GaapService) GlobalDomainDnsStateRefreshFunc ¶ added in v1.81.41
func (me *GaapService) GlobalDomainDnsStateRefreshFunc(domainId string, dnsRecordId int, failStates []string) resource.StateRefreshFunc
func (*GaapService) ModifyCertificateName ¶ added in v1.41.3
func (me *GaapService) ModifyCertificateName(ctx context.Context, id, name string) error
func (*GaapService) ModifyDomainCertificate ¶ added in v1.41.3
func (*GaapService) ModifyHTTPListener ¶ added in v1.41.3
func (me *GaapService) ModifyHTTPListener(ctx context.Context, id, proxyId, name string) error
func (*GaapService) ModifyHTTPRuleAttribute ¶ added in v1.41.3
func (*GaapService) ModifyHTTPRuleForwardHost ¶ added in v1.41.3
func (me *GaapService) ModifyHTTPRuleForwardHost(ctx context.Context, listenerId, ruleId, forwardHost string) error
func (*GaapService) ModifyHTTPSListener ¶ added in v1.41.3
func (*GaapService) ModifyProxyConfiguration ¶ added in v1.41.3
func (*GaapService) ModifyProxyName ¶ added in v1.41.3
func (me *GaapService) ModifyProxyName(ctx context.Context, id, name string) error
func (*GaapService) ModifyProxyProjectId ¶ added in v1.41.3
func (*GaapService) ModifyRealserverName ¶ added in v1.41.3
func (me *GaapService) ModifyRealserverName(ctx context.Context, id, name string) error
func (*GaapService) ModifySecurityRule ¶ added in v1.79.1
func (me *GaapService) ModifySecurityRule(ctx context.Context, policyId, ruleId, cidrIp, action, port, protocol, name string) error
func (*GaapService) ModifyTCPListenerAttribute ¶ added in v1.41.3
func (*GaapService) ModifyUDPListenerAttribute ¶ added in v1.41.3
func (*GaapService) SetAdvancedAuth ¶ added in v1.41.3
type GoRoutineLimit ¶ added in v1.75.4
type GoRoutineLimit struct { Count int Chan chan struct{} }
GoRoutine Limit
func NewGoRoutine ¶ added in v1.75.4
func NewGoRoutine(num int) *GoRoutineLimit
func (*GoRoutineLimit) Run ¶ added in v1.75.4
func (g *GoRoutineLimit) Run(f func())
type InstanceAdvancedSettings ¶ added in v1.41.3
type InstanceInfo ¶ added in v1.41.3
type KmsService ¶ added in v1.54.0
type KmsService struct {
// contains filtered or unexported fields
}
func (*KmsService) ArchiveKey ¶ added in v1.54.0
func (me *KmsService) ArchiveKey(ctx context.Context, keyId string) (errRet error)
func (*KmsService) CancelKeyArchive ¶ added in v1.54.0
func (me *KmsService) CancelKeyArchive(ctx context.Context, keyId string) (errRet error)
func (*KmsService) CancelKeyDeletion ¶ added in v1.54.0
func (me *KmsService) CancelKeyDeletion(ctx context.Context, keyId string) (errRet error)
func (*KmsService) DeleteImportKeyMaterial ¶ added in v1.54.0
func (me *KmsService) DeleteImportKeyMaterial(ctx context.Context, keyId string) (errRet error)
func (*KmsService) DeleteKmsCloudResourceAttachmentById ¶ added in v1.81.37
func (me *KmsService) DeleteKmsCloudResourceAttachmentById(ctx context.Context, keyId, productId, resourceId string) (errRet error)
func (*KmsService) DeleteKmsWhiteBoxKeyById ¶ added in v1.81.33
func (me *KmsService) DeleteKmsWhiteBoxKeyById(ctx context.Context, keyId string) (errRet error)
func (*KmsService) DescribeKeyById ¶ added in v1.54.0
func (me *KmsService) DescribeKeyById(ctx context.Context, keyId string) (key *kms.KeyMetadata, errRet error)
func (*KmsService) DescribeKeysByFilter ¶ added in v1.54.0
func (me *KmsService) DescribeKeysByFilter(ctx context.Context, param map[string]interface{}) (keys []*kms.KeyMetadata, errRet error)
func (*KmsService) DescribeKmsCloudResourceAttachmentById ¶ added in v1.81.37
func (me *KmsService) DescribeKmsCloudResourceAttachmentById(ctx context.Context, keyId string) (keyMetadata *kms.KeyMetadata, errRet error)
func (*KmsService) DescribeKmsGetParametersForImportByFilter ¶ added in v1.81.24
func (me *KmsService) DescribeKmsGetParametersForImportByFilter(ctx context.Context, param map[string]interface{}) (getParametersForImport *kms.GetParametersForImportResponseParams, errRet error)
func (*KmsService) DescribeKmsKeyListsByFilter ¶ added in v1.81.33
func (me *KmsService) DescribeKmsKeyListsByFilter(ctx context.Context, param map[string]interface{}) (KeyLists []*kms.KeyMetadata, errRet error)
func (*KmsService) DescribeKmsListAlgorithmsByFilter ¶ added in v1.81.37
func (me *KmsService) DescribeKmsListAlgorithmsByFilter(ctx context.Context) (listAlgorithms *kms.ListAlgorithmsResponseParams, errRet error)
func (*KmsService) DescribeKmsListKeysByFilter ¶ added in v1.81.33
func (*KmsService) DescribeKmsPublicKeyByFilter ¶ added in v1.81.23
func (me *KmsService) DescribeKmsPublicKeyByFilter(ctx context.Context, param map[string]interface{}) (publicKey *kms.GetPublicKeyResponseParams, errRet error)
func (*KmsService) DescribeKmsWhiteBoxDecryptKeyByFilter ¶ added in v1.81.37
func (me *KmsService) DescribeKmsWhiteBoxDecryptKeyByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxDecryptKey *kms.DescribeWhiteBoxDecryptKeyResponseParams, errRet error)
func (*KmsService) DescribeKmsWhiteBoxDeviceFingerprintsByFilter ¶ added in v1.81.37
func (me *KmsService) DescribeKmsWhiteBoxDeviceFingerprintsByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxDeviceFingerprints []*kms.DeviceFingerprint, errRet error)
func (*KmsService) DescribeKmsWhiteBoxKeyById ¶ added in v1.81.33
func (me *KmsService) DescribeKmsWhiteBoxKeyById(ctx context.Context, keyId string) (whiteBoxKey *kms.WhiteboxKeyInfo, errRet error)
func (*KmsService) DescribeKmsWhiteBoxKeyDetailsByFilter ¶ added in v1.81.33
func (me *KmsService) DescribeKmsWhiteBoxKeyDetailsByFilter(ctx context.Context, param map[string]interface{}) (whiteBoxKeyInfo []*kms.WhiteboxKeyInfo, errRet error)
func (*KmsService) DisableKey ¶ added in v1.54.0
func (me *KmsService) DisableKey(ctx context.Context, keyId string) (errRet error)
func (*KmsService) DisableKeyRotation ¶ added in v1.54.0
func (me *KmsService) DisableKeyRotation(ctx context.Context, keyId string) (errRet error)
func (*KmsService) EnableKey ¶ added in v1.54.0
func (me *KmsService) EnableKey(ctx context.Context, keyId string) (errRet error)
func (*KmsService) EnableKeyRotation ¶ added in v1.54.0
func (me *KmsService) EnableKeyRotation(ctx context.Context, keyId string) (errRet error)
func (*KmsService) ImportKeyMaterial ¶ added in v1.54.0
func (me *KmsService) ImportKeyMaterial(ctx context.Context, param map[string]interface{}) (errRet error)
func (*KmsService) UpdateKeyAlias ¶ added in v1.54.0
func (me *KmsService) UpdateKeyAlias(ctx context.Context, keyId, alias string) (errRet error)
func (*KmsService) UpdateKeyDescription ¶ added in v1.54.0
func (me *KmsService) UpdateKeyDescription(ctx context.Context, keyId, description string) (errRet error)
type LightHouseService ¶ added in v1.73.0
type LightHouseService struct {
// contains filtered or unexported fields
}
func (*LightHouseService) DeleteFirewallTemplateById ¶ added in v1.81.22
func (me *LightHouseService) DeleteFirewallTemplateById(ctx context.Context, templateId string) (errRet error)
func (*LightHouseService) DeleteLighthouseBlueprintById ¶ added in v1.79.18
func (me *LightHouseService) DeleteLighthouseBlueprintById(ctx context.Context, blueprintId string) (errRet error)
func (*LightHouseService) DeleteLighthouseDiskAttachmentById ¶ added in v1.80.5
func (me *LightHouseService) DeleteLighthouseDiskAttachmentById(ctx context.Context, diskId string) (errRet error)
func (*LightHouseService) DeleteLighthouseDiskBackupById ¶ added in v1.80.5
func (me *LightHouseService) DeleteLighthouseDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
func (*LightHouseService) DeleteLighthouseInstanceById ¶ added in v1.73.0
func (me *LightHouseService) DeleteLighthouseInstanceById(ctx context.Context, id string) (errRet error)
func (*LightHouseService) DeleteLighthouseKeyPairAttachmentById ¶ added in v1.81.1
func (*LightHouseService) DeleteLighthouseKeyPairById ¶ added in v1.80.5
func (me *LightHouseService) DeleteLighthouseKeyPairById(ctx context.Context, keyId string) (errRet error)
func (*LightHouseService) DeleteLighthouseSnapshotById ¶ added in v1.80.6
func (me *LightHouseService) DeleteLighthouseSnapshotById(ctx context.Context, snapshotId string) (errRet error)
func (*LightHouseService) DescribeFirewallTemplateById ¶ added in v1.81.22
func (me *LightHouseService) DescribeFirewallTemplateById(ctx context.Context, templateId string) (firewallTemplate *lighthouse.FirewallTemplate, errRet error)
func (*LightHouseService) DescribeFirewallTemplateRulesById ¶ added in v1.81.22
func (me *LightHouseService) DescribeFirewallTemplateRulesById(ctx context.Context, templateId string) (firewallTemplateRules []*lighthouse.FirewallTemplateRuleInfo, errRet error)
func (*LightHouseService) DescribeLighthouseAllSceneByFilter ¶ added in v1.81.2
func (me *LightHouseService) DescribeLighthouseAllSceneByFilter(ctx context.Context, param map[string]interface{}) (scene []*lighthouse.SceneInfo, errRet error)
func (*LightHouseService) DescribeLighthouseBlueprintById ¶ added in v1.79.18
func (me *LightHouseService) DescribeLighthouseBlueprintById(ctx context.Context, blueprintId string) (blueprint *lighthouse.Blueprint, errRet error)
func (*LightHouseService) DescribeLighthouseBundleByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseBundleByFilter(ctx context.Context, param map[string]interface{}) (bundle []*lighthouse.Bundle, errRet error)
func (*LightHouseService) DescribeLighthouseDisk ¶ added in v1.81.8
func (me *LightHouseService) DescribeLighthouseDisk(ctx context.Context, diskIds []string, filters []*lighthouse.Filter) (disks []*lighthouse.Disk, errRet error)
func (*LightHouseService) DescribeLighthouseDiskBackupById ¶ added in v1.80.5
func (me *LightHouseService) DescribeLighthouseDiskBackupById(ctx context.Context, diskBackupId string) (diskBackup *lighthouse.DiskBackup, errRet error)
func (*LightHouseService) DescribeLighthouseDiskById ¶ added in v1.81.1
func (me *LightHouseService) DescribeLighthouseDiskById(ctx context.Context, diskId string) (diskAttachment *lighthouse.Disk, errRet error)
func (*LightHouseService) DescribeLighthouseDiskConfigByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseDiskConfigByFilter(ctx context.Context, param map[string]interface{}) (diskConfig []*lighthouse.DiskConfig, errRet error)
func (*LightHouseService) DescribeLighthouseFirewallRuleById ¶ added in v1.79.19
func (me *LightHouseService) DescribeLighthouseFirewallRuleById(ctx context.Context, instance_id string) (firewallRules []*lighthouse.FirewallRuleInfo, errRet error)
func (*LightHouseService) DescribeLighthouseFirewallRulesTemplateByFilter ¶ added in v1.79.19
func (me *LightHouseService) DescribeLighthouseFirewallRulesTemplateByFilter(ctx context.Context) (firewallRulesTemplate []*lighthouse.FirewallRuleInfo, errRet error)
func (*LightHouseService) DescribeLighthouseInstanceBlueprintByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseInstanceBlueprintByFilter(ctx context.Context, instanceIds []string) (instanceBlueprint []*lighthouse.BlueprintInstance, errRet error)
func (*LightHouseService) DescribeLighthouseInstanceById ¶ added in v1.73.0
func (me *LightHouseService) DescribeLighthouseInstanceById(ctx context.Context, instanceId string) (instance *lighthouse.Instance, errRet error)
func (*LightHouseService) DescribeLighthouseInstanceDiskNum ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseInstanceDiskNum(ctx context.Context, instanceIds []string) (instanceDiskNum []*lighthouse.AttachDetail, errRet error)
func (*LightHouseService) DescribeLighthouseInstanceTrafficPackageByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseInstanceTrafficPackageByFilter(ctx context.Context, param map[string]interface{}) (instanceTrafficPackage []*lighthouse.InstanceTrafficPackage, errRet error)
func (*LightHouseService) DescribeLighthouseInstanceVncUrlByFilter ¶ added in v1.81.0
func (*LightHouseService) DescribeLighthouseKeyPairAttachmentById ¶ added in v1.81.1
func (me *LightHouseService) DescribeLighthouseKeyPairAttachmentById(ctx context.Context, keyId string) (keyPairAttachment *lighthouse.KeyPair, errRet error)
func (*LightHouseService) DescribeLighthouseKeyPairById ¶ added in v1.80.5
func (me *LightHouseService) DescribeLighthouseKeyPairById(ctx context.Context, keyId string) (keyPair *lighthouse.KeyPair, errRet error)
func (*LightHouseService) DescribeLighthouseModifyInstanceBundleByFilter ¶ added in v1.81.2
func (me *LightHouseService) DescribeLighthouseModifyInstanceBundleByFilter(ctx context.Context, param map[string]interface{}) (modifyInstanceBundle []*lighthouse.ModifyBundle, errRet error)
func (*LightHouseService) DescribeLighthouseRegionByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseRegionByFilter(ctx context.Context, param map[string]interface{}) (region []*lighthouse.RegionInfo, errRet error)
func (*LightHouseService) DescribeLighthouseResetInstanceBlueprintByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseResetInstanceBlueprintByFilter(ctx context.Context, param map[string]interface{}) (resetInstanceBlueprint []*lighthouse.ResetInstanceBlueprint, errRet error)
func (*LightHouseService) DescribeLighthouseSceneByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseSceneByFilter(ctx context.Context, param map[string]interface{}) (scene []*lighthouse.Scene, errRet error)
func (*LightHouseService) DescribeLighthouseSnapshotById ¶ added in v1.80.6
func (me *LightHouseService) DescribeLighthouseSnapshotById(ctx context.Context, snapshotId string) (snapshot *lighthouse.Snapshot, errRet error)
func (*LightHouseService) DescribeLighthouseZoneByFilter ¶ added in v1.81.0
func (me *LightHouseService) DescribeLighthouseZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*lighthouse.ZoneInfo, errRet error)
func (*LightHouseService) IsolateLighthouseDiskById ¶ added in v1.81.1
func (me *LightHouseService) IsolateLighthouseDiskById(ctx context.Context, diskId string) (errRet error)
func (*LightHouseService) IsolateLighthouseInstanceById ¶ added in v1.73.0
func (*LightHouseService) LighthouseApplyDiskBackupStateRefreshFunc ¶ added in v1.80.5
func (me *LightHouseService) LighthouseApplyDiskBackupStateRefreshFunc(diskBackupId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseApplySnapshotStateRefreshFunc ¶ added in v1.80.6
func (me *LightHouseService) LighthouseApplySnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseBlueprintStateRefreshFunc ¶ added in v1.79.18
func (me *LightHouseService) LighthouseBlueprintStateRefreshFunc(blueprintId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseDiskBackupStateRefreshFunc ¶ added in v1.80.5
func (me *LightHouseService) LighthouseDiskBackupStateRefreshFunc(diskBackupId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseDiskLatestOperationRefreshFunc ¶ added in v1.81.1
func (me *LightHouseService) LighthouseDiskLatestOperationRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseDiskStateRefreshFunc ¶ added in v1.81.1
func (me *LightHouseService) LighthouseDiskStateRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseDiskTerminateRefreshFunc ¶ added in v1.81.1
func (me *LightHouseService) LighthouseDiskTerminateRefreshFunc(diskId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseInstanceStateRefreshFunc ¶ added in v1.81.1
func (me *LightHouseService) LighthouseInstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) LighthouseSnapshotStateRefreshFunc ¶ added in v1.80.6
func (me *LightHouseService) LighthouseSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
func (*LightHouseService) ModifyFirewallRuleDescription ¶ added in v1.81.2
func (me *LightHouseService) ModifyFirewallRuleDescription(ctx context.Context, instanceId string, firewallRule lighthouse.FirewallRule) (errRet error)
func (*LightHouseService) TerminateLighthouseDiskById ¶ added in v1.81.1
func (me *LightHouseService) TerminateLighthouseDiskById(ctx context.Context, diskId string) (errRet error)
type MariadbService ¶ added in v1.78.9
type MariadbService struct {
// contains filtered or unexported fields
}
func (*MariadbService) DeleteMariadbAccountById ¶ added in v1.78.9
func (me *MariadbService) DeleteMariadbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
func (*MariadbService) DeleteMariadbDbInstance ¶ added in v1.78.9
func (me *MariadbService) DeleteMariadbDbInstance(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbDbInstanceById ¶ added in v1.78.9
func (me *MariadbService) DeleteMariadbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbHourDbInstanceById ¶ added in v1.78.9
func (me *MariadbService) DeleteMariadbHourDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbInstanceById ¶ added in v1.79.15
func (me *MariadbService) DeleteMariadbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbSecurityGroupsById ¶ added in v1.78.9
func (me *MariadbService) DeleteMariadbSecurityGroupsById(ctx context.Context, instanceId, securityGroupId, product string) (errRet error)
func (*MariadbService) DescribeDBEncryptAttributes ¶ added in v1.81.0
func (me *MariadbService) DescribeDBEncryptAttributes(ctx context.Context, instanceId string) (encryptAttributes *mariadb.DescribeDBEncryptAttributesResponseParams, errRet error)
func (*MariadbService) DescribeDBInstanceDetailById ¶ added in v1.81.6
func (me *MariadbService) DescribeDBInstanceDetailById(ctx context.Context, instanceId string) (dbDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
func (*MariadbService) DescribeFlowById ¶ added in v1.81.6
func (me *MariadbService) DescribeFlowById(ctx context.Context, flowId int64) (flowParams *mariadb.DescribeFlowResponseParams, errRet error)
func (*MariadbService) DescribeMariadbAccount ¶ added in v1.78.9
func (*MariadbService) DescribeMariadbAccountPrivilegesById ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbAccountPrivilegesById(ctx context.Context, instanceId string, user string, host string) (accountPrivileges *mariadb.DescribeAccountPrivilegesResponseParams, errRet error)
func (*MariadbService) DescribeMariadbAccountsByFilter ¶ added in v1.78.9
func (*MariadbService) DescribeMariadbBackupTimeById ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbBackupTimeById(ctx context.Context, instanceId string) (backupTime *mariadb.DBBackupTimeConfig, errRet error)
func (*MariadbService) DescribeMariadbDatabaseObjectsByFilter ¶ added in v1.81.0
func (me *MariadbService) DescribeMariadbDatabaseObjectsByFilter(ctx context.Context, instanceId, dbName string) (databaseObjects *mariadb.DescribeDatabaseObjectsResponseParams, errRet error)
func (*MariadbService) DescribeMariadbDatabaseTableByFilter ¶ added in v1.81.0
func (me *MariadbService) DescribeMariadbDatabaseTableByFilter(ctx context.Context, param map[string]interface{}) (cols []*mariadb.TableColumn, errRet error)
func (*MariadbService) DescribeMariadbDatabasesByFilter ¶ added in v1.81.0
func (*MariadbService) DescribeMariadbDbInstance ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbDbInstance(ctx context.Context, instanceId string) (dbInstance *mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbDbInstanceDetail ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbDbInstanceDetail(ctx context.Context, instanceId string) (dbInstanceDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
func (*MariadbService) DescribeMariadbDbInstancesByFilter ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (dbInstances []*mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbDcnDetailByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbDcnDetailByFilter(ctx context.Context, param map[string]interface{}) (dcnDetail []*mariadb.DcnDetailItem, errRet error)
func (*MariadbService) DescribeMariadbFileDownloadUrlByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *mariadb.DescribeFileDownloadUrlResponseParams, errRet error)
func (*MariadbService) DescribeMariadbFlowByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbFlowByFilter(ctx context.Context, param map[string]interface{}) (flow *mariadb.DescribeFlowResponseParams, errRet error)
func (*MariadbService) DescribeMariadbInstanceById ¶ added in v1.79.15
func (me *MariadbService) DescribeMariadbInstanceById(ctx context.Context, instanceId string) (instance *mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbInstanceNodeInfoByFilter ¶ added in v1.81.6
func (*MariadbService) DescribeMariadbInstanceSpecsByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbInstanceSpecsByFilter(ctx context.Context) (instanceSpecs []*mariadb.InstanceSpec, errRet error)
func (*MariadbService) DescribeMariadbLogFileRetentionPeriod ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbLogFileRetentionPeriod(ctx context.Context, instanceId string) (logFileRetentionPeriod *mariadb.DescribeLogFileRetentionPeriodResponseParams, errRet error)
func (*MariadbService) DescribeMariadbLogFilesByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (logFiles *mariadb.DescribeDBLogFilesResponseParams, errRet error)
func (*MariadbService) DescribeMariadbOrdersByFilter ¶ added in v1.81.6
func (*MariadbService) DescribeMariadbParameters ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbParameters(ctx context.Context, instanceId string) (parameters *mariadb.DescribeDBParametersResponseParams, errRet error)
func (*MariadbService) DescribeMariadbPriceByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbPriceByFilter(ctx context.Context, param map[string]interface{}) (price *mariadb.DescribePriceResponseParams, errRet error)
func (*MariadbService) DescribeMariadbProjectSecurityGroupsByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbRenewalPriceByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (renewalPrice *mariadb.DescribeRenewalPriceResponseParams, errRet error)
func (*MariadbService) DescribeMariadbSaleInfoByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbSaleInfoByFilter(ctx context.Context) (saleInfo []*mariadb.RegionInfo, errRet error)
func (*MariadbService) DescribeMariadbSecurityGroup ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbSecurityGroup(ctx context.Context, instanceId, securityGroupId, product string) (securityGroup *mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbSecurityGroupsByFilter ¶ added in v1.78.9
func (me *MariadbService) DescribeMariadbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbSlowLogsByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs *mariadb.DescribeDBSlowLogsResponseParams, errRet error)
func (*MariadbService) DescribeMariadbUpgradePriceByFilter ¶ added in v1.81.6
func (me *MariadbService) DescribeMariadbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (upgradePrice *mariadb.DescribeUpgradePriceResponseParams, errRet error)
func (*MariadbService) InitDbInstance ¶ added in v1.78.9
func (me *MariadbService) InitDbInstance(ctx context.Context, instanceId string, params []*mariadb.DBParamValue) (initRet bool, errRet error)
func (*MariadbService) IsolateDBInstanceById ¶ added in v1.79.15
func (me *MariadbService) IsolateDBInstanceById(ctx context.Context, instanceId string) (errRet error)
type MdlService ¶ added in v1.79.14
type MdlService struct {
// contains filtered or unexported fields
}
func (*MdlService) DeleteMdlStreamLiveInputById ¶ added in v1.79.14
func (me *MdlService) DeleteMdlStreamLiveInputById(ctx context.Context, id string) (errRet error)
func (*MdlService) DescribeMdlStreamLiveInputById ¶ added in v1.79.14
type MongodbService ¶ added in v1.41.3
type MongodbService struct {
// contains filtered or unexported fields
}
func (*MongodbService) DeleteMongodbInstanceAccountById ¶ added in v1.80.3
func (*MongodbService) DescribeAsyncRequestInfo ¶ added in v1.41.3
func (*MongodbService) DescribeDBInstanceNodeProperty ¶ added in v1.79.13
func (me *MongodbService) DescribeDBInstanceNodeProperty(ctx context.Context, instanceId string) (replicateSets []*mongodb.ReplicateSetInfo, errRet error)
func (*MongodbService) DescribeInstanceById ¶ added in v1.41.3
func (me *MongodbService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *mongodb.InstanceDetail, has bool, errRet error)
func (*MongodbService) DescribeInstancesByFilter ¶ added in v1.41.3
func (me *MongodbService) DescribeInstancesByFilter(ctx context.Context, instanceId string, clusterType int) (mongodbs []*mongodb.InstanceDetail, errRet error)
func (*MongodbService) DescribeMongodbInstanceAccountById ¶ added in v1.80.3
func (*MongodbService) DescribeMongodbInstanceBackupDownloadTaskById ¶ added in v1.81.0
func (me *MongodbService) DescribeMongodbInstanceBackupDownloadTaskById(ctx context.Context, instanceId string, backupName string) (instanceBackupDownloadTask []*mongodb.BackupDownloadTask, errRet error)
func (*MongodbService) DescribeMongodbInstanceBackupsByFilter ¶ added in v1.81.0
func (me *MongodbService) DescribeMongodbInstanceBackupsByFilter(ctx context.Context, param map[string]interface{}) (instanceBackups []*mongodb.BackupInfo, errRet error)
func (*MongodbService) DescribeMongodbInstanceConnectionsByFilter ¶ added in v1.81.0
func (me *MongodbService) DescribeMongodbInstanceConnectionsByFilter(ctx context.Context, param map[string]interface{}) (instanceConnections []*mongodb.ClientConnection, errRet error)
func (*MongodbService) DescribeMongodbInstanceCurrentOpByFilter ¶ added in v1.81.0
func (*MongodbService) DescribeMongodbInstanceParams ¶ added in v1.81.0
func (me *MongodbService) DescribeMongodbInstanceParams(ctx context.Context, param map[string]interface{}) (instanceParams *mongodb.DescribeInstanceParamsResponseParams, errRet error)
func (*MongodbService) DescribeMongodbInstanceSlowLogByFilter ¶ added in v1.81.0
func (*MongodbService) DescribeSecurityGroup ¶ added in v1.79.11
func (me *MongodbService) DescribeSecurityGroup(ctx context.Context, instanceId string) (groups []*mongodb.SecurityGroup, errRet error)
func (*MongodbService) DescribeSpecInfo ¶ added in v1.41.3
func (me *MongodbService) DescribeSpecInfo(ctx context.Context, zone string) (infos []*mongodb.SpecificationInfo, errRet error)
func (*MongodbService) IsolateInstance ¶ added in v1.41.3
func (me *MongodbService) IsolateInstance(ctx context.Context, instanceId string) (errRet error)
func (*MongodbService) ModifyAutoRenewFlag ¶ added in v1.41.3
func (*MongodbService) ModifyInstanceName ¶ added in v1.41.3
func (me *MongodbService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) (errRet error)
func (*MongodbService) ModifyNetworkAddress ¶ added in v1.81.0
func (*MongodbService) ModifyProjectId ¶ added in v1.41.3
func (*MongodbService) ModifySecurityGroups ¶ added in v1.81.0
func (*MongodbService) OfflineIsolatedDBInstance ¶ added in v1.42.1
func (*MongodbService) ResetInstancePassword ¶ added in v1.41.3
func (me *MongodbService) ResetInstancePassword(ctx context.Context, instanceId, accountName, password string) (errRet error)
func (*MongodbService) TerminateDBInstances ¶ added in v1.79.8
func (me *MongodbService) TerminateDBInstances(ctx context.Context, instanceId string) (errRet error)
func (*MongodbService) UpgradeInstance ¶ added in v1.41.3
type MonitorService ¶ added in v1.41.3
type MonitorService struct {
// contains filtered or unexported fields
}
func (*MonitorService) CheckCanCreateMysqlROInstance ¶ added in v1.41.3
func (*MonitorService) CleanGrafanaInstanceById ¶ added in v1.81.15
func (me *MonitorService) CleanGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorAlarmNoticeById ¶ added in v1.77.4
func (me *MonitorService) DeleteMonitorAlarmNoticeById(ctx context.Context, Id string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaInstanceById ¶ added in v1.77.9
func (me *MonitorService) DeleteMonitorGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaIntegrationById ¶ added in v1.77.9
func (me *MonitorService) DeleteMonitorGrafanaIntegrationById(ctx context.Context, integrationId, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaNotificationChannelById ¶ added in v1.77.9
func (me *MonitorService) DeleteMonitorGrafanaNotificationChannelById(ctx context.Context, channelId, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaPluginById ¶ added in v1.77.9
func (me *MonitorService) DeleteMonitorGrafanaPluginById(ctx context.Context, instanceId, pluginId string) (errRet error)
func (*MonitorService) DeleteMonitorManageGrafanaAttachmentById ¶ added in v1.79.18
func (me *MonitorService) DeleteMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorRecordingRule ¶ added in v1.75.6
func (*MonitorService) DeleteMonitorSsoAccountById ¶ added in v1.77.9
func (me *MonitorService) DeleteMonitorSsoAccountById(ctx context.Context, instanceId, userId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpAlertRule ¶ added in v1.75.6
func (*MonitorService) DeleteMonitorTmpExporterIntegrationById ¶ added in v1.76.2
func (me *MonitorService) DeleteMonitorTmpExporterIntegrationById(ctx context.Context, tmpExporterIntegrationId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpInstanceById ¶ added in v1.76.2
func (me *MonitorService) DeleteMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpScrapeJobById ¶ added in v1.76.2
func (me *MonitorService) DeleteMonitorTmpScrapeJobById(ctx context.Context, tmpScrapeJobId string) (errRet error)
func (*MonitorService) DeletePrometheusClusterAgent ¶ added in v1.79.17
func (me *MonitorService) DeletePrometheusClusterAgent(ctx context.Context, instanceId, clusterId, clusterType string) (errRet error)
func (*MonitorService) DeletePrometheusRecordRuleYaml ¶ added in v1.79.17
func (me *MonitorService) DeletePrometheusRecordRuleYaml(ctx context.Context, id, name string) (errRet error)
func (*MonitorService) DeleteTkeTmpAlertPolicyById ¶ added in v1.79.17
func (me *MonitorService) DeleteTkeTmpAlertPolicyById(ctx context.Context, instanceId, tmpAlertPolicyId string) (errRet error)
func (*MonitorService) DeleteTkeTmpConfigByName ¶ added in v1.79.17
func (*MonitorService) DeleteTmpTkeTemplate ¶ added in v1.79.17
func (me *MonitorService) DeleteTmpTkeTemplate(ctx context.Context, tempId string) (errRet error)
func (*MonitorService) DescribeAlarmNoticeById ¶ added in v1.77.4
func (me *MonitorService) DescribeAlarmNoticeById(ctx context.Context, alarmmap map[string]interface{}) (noticeIds []*monitor.AlarmNotice, errRet error)
func (*MonitorService) DescribeAlarmPolicyById ¶ added in v1.60.6
func (me *MonitorService) DescribeAlarmPolicyById(ctx context.Context, policyId string) (info *monitor.AlarmPolicy, errRet error)
func (*MonitorService) DescribeBindingAlarmPolicyObjectList ¶ added in v1.60.6
func (me *MonitorService) DescribeBindingAlarmPolicyObjectList(ctx context.Context, policyId string) ( objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
func (*MonitorService) DescribeBindingPolicyObjectList ¶ added in v1.41.3
func (me *MonitorService) DescribeBindingPolicyObjectList(ctx context.Context, groupId int64) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
func (*MonitorService) DescribeMonitorAlarmAllNamespacesByFilter ¶ added in v1.81.43
func (me *MonitorService) DescribeMonitorAlarmAllNamespacesByFilter(ctx context.Context, param map[string]interface{}) ( qce, custom []*monitor.CommonNamespace, common []*monitor.CommonNamespaceNew, errRet error)
func (*MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter(ctx context.Context, param map[string]interface{}) (alarms []*monitor.DescribeBasicAlarmListAlarms, warning *string, errRet error)
func (*MonitorService) DescribeMonitorAlarmBasicMetricByFilter ¶ added in v1.81.38
func (*MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter(ctx context.Context, param map[string]interface{}) (alarmConditionsTemplate []*monitor.TemplateGroup, errRet error)
func (*MonitorService) DescribeMonitorAlarmHistoryByFilter ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorAlarmHistoryByFilter(ctx context.Context, param map[string]interface{}) (alarmHistory []*monitor.AlarmHistory, errRet error)
func (*MonitorService) DescribeMonitorAlarmMetricByFilter ¶ added in v1.81.38
func (*MonitorService) DescribeMonitorAlarmMonitorTypeByFilter ¶ added in v1.81.43
func (me *MonitorService) DescribeMonitorAlarmMonitorTypeByFilter(ctx context.Context, param map[string]interface{}) (alarmMonitor *monitor.DescribeMonitorTypesResponseParams, errRet error)
func (*MonitorService) DescribeMonitorAlarmNoticeCallbacksByFilter ¶ added in v1.81.43
func (*MonitorService) DescribeMonitorAlarmPolicyByFilter ¶ added in v1.81.43
func (me *MonitorService) DescribeMonitorAlarmPolicyByFilter(ctx context.Context, param map[string]interface{}) (alarmPolicy []*monitor.AlarmPolicy, errRet error)
func (*MonitorService) DescribeMonitorGrafanaDnsConfigById ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorGrafanaDnsConfigById(ctx context.Context, instanceId string) (grafanaDnsConfig *monitor.DescribeDNSConfigResponseParams, errRet error)
func (*MonitorService) DescribeMonitorGrafanaEnvConfigById ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorGrafanaEnvConfigById(ctx context.Context, instanceId string) (grafanaEnvConfig *monitor.DescribeGrafanaEnvironmentsResponseParams, errRet error)
func (*MonitorService) DescribeMonitorGrafanaInstance ¶ added in v1.77.9
func (me *MonitorService) DescribeMonitorGrafanaInstance(ctx context.Context, instanceId string) (grafanaInstance *monitor.GrafanaInstanceInfo, errRet error)
func (*MonitorService) DescribeMonitorGrafanaIntegration ¶ added in v1.77.9
func (me *MonitorService) DescribeMonitorGrafanaIntegration(ctx context.Context, integrationId, instanceId string) (grafanaIntegration *monitor.GrafanaIntegrationConfig, errRet error)
func (*MonitorService) DescribeMonitorGrafanaNotificationChannel ¶ added in v1.77.9
func (me *MonitorService) DescribeMonitorGrafanaNotificationChannel(ctx context.Context, channelId, instanceId string) (grafanaNotificationChannel *monitor.GrafanaChannel, errRet error)
func (*MonitorService) DescribeMonitorGrafanaPlugin ¶ added in v1.77.9
func (me *MonitorService) DescribeMonitorGrafanaPlugin(ctx context.Context, instanceId, pluginId string) (grafanaPlugin *monitor.GrafanaPlugin, errRet error)
func (*MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter(ctx context.Context, param map[string]interface{}) (pluginOverviews []*monitor.GrafanaPlugin, errRet error)
func (*MonitorService) DescribeMonitorGrafanaWhitelistConfigById ¶ added in v1.81.38
func (me *MonitorService) DescribeMonitorGrafanaWhitelistConfigById(ctx context.Context, instanceId string) (grafanaWhitelistConfig *monitor.DescribeGrafanaWhiteListResponseParams, errRet error)
func (*MonitorService) DescribeMonitorManageGrafanaAttachmentById ¶ added in v1.79.18
func (me *MonitorService) DescribeMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (manageGrafanaAttachment *monitor.PrometheusInstancesItem, errRet error)
func (*MonitorService) DescribeMonitorRecordingRuleById ¶ added in v1.75.6
func (me *MonitorService) DescribeMonitorRecordingRuleById(ctx context.Context, instanceId string, recordingRuleId string) (instance *monitor.RecordingRuleSet, errRet error)
func (*MonitorService) DescribeMonitorSsoAccount ¶ added in v1.77.9
func (me *MonitorService) DescribeMonitorSsoAccount(ctx context.Context, instanceId, userId string) (ssoAccount *monitor.GrafanaAccountInfo, errRet error)
func (*MonitorService) DescribeMonitorStatisticDataByFilter ¶ added in v1.81.43
func (me *MonitorService) DescribeMonitorStatisticDataByFilter(ctx context.Context, param map[string]interface{}) (statisticData *monitor.DescribeStatisticDataResponseParams, errRet error)
func (*MonitorService) DescribeMonitorTmpAlertRuleById ¶ added in v1.75.6
func (me *MonitorService) DescribeMonitorTmpAlertRuleById(ctx context.Context, instanceId string, tmpAlertRuleId string) (instance *monitor.PrometheusRuleSet, errRet error)
func (*MonitorService) DescribeMonitorTmpCvmAgent ¶ added in v1.76.2
func (me *MonitorService) DescribeMonitorTmpCvmAgent(ctx context.Context, instanceId string, tmpCvmAgentId string) (tmpCvmAgent *monitor.PrometheusAgent, errRet error)
func (*MonitorService) DescribeMonitorTmpExporterIntegration ¶ added in v1.76.2
func (me *MonitorService) DescribeMonitorTmpExporterIntegration(ctx context.Context, tmpExporterIntegrationId string) (tmpExporterIntegration *monitor.IntegrationConfiguration, errRet error)
func (*MonitorService) DescribeMonitorTmpGrafanaConfigById ¶ added in v1.80.6
func (me *MonitorService) DescribeMonitorTmpGrafanaConfigById(ctx context.Context, instanceId string) (tmpGrafanaConfig *monitor.DescribeGrafanaConfigResponseParams, errRet error)
func (*MonitorService) DescribeMonitorTmpInstance ¶ added in v1.76.2
func (me *MonitorService) DescribeMonitorTmpInstance(ctx context.Context, tmpInstanceId string) (tmpInstance *monitor.PrometheusInstancesItem, errRet error)
DescribeMonitorTmpInstance tmp
func (*MonitorService) DescribeMonitorTmpRegionsByFilter ¶ added in v1.81.43
func (me *MonitorService) DescribeMonitorTmpRegionsByFilter(ctx context.Context, param map[string]interface{}) (tmpRegions []*monitor.PrometheusRegionItem, errRet error)
func (*MonitorService) DescribeMonitorTmpScrapeJob ¶ added in v1.76.2
func (me *MonitorService) DescribeMonitorTmpScrapeJob(ctx context.Context, tmpScrapeJobId string) (tmpScrapeJob *monitor.PrometheusScrapeJob, errRet error)
func (*MonitorService) DescribePolicyGroup ¶ added in v1.41.3
func (me *MonitorService) DescribePolicyGroup(ctx context.Context, groupId int64) (info *monitor.DescribePolicyGroupListGroup, errRet error)
func (*MonitorService) DescribePolicyGroupDetailInfo ¶ added in v1.41.3
func (me *MonitorService) DescribePolicyGroupDetailInfo(ctx context.Context, groupId int64) (response *monitor.DescribePolicyGroupInfoResponse, errRet error)
func (*MonitorService) DescribePrometheusRecordRuleByName ¶ added in v1.79.17
func (me *MonitorService) DescribePrometheusRecordRuleByName(ctx context.Context, id, name string) ( ret *monitor.DescribePrometheusRecordRulesResponse, errRet error)
func (*MonitorService) DescribePrometheusTempSync ¶ added in v1.79.17
func (me *MonitorService) DescribePrometheusTempSync(ctx context.Context, templateId string) (targets []*monitor.PrometheusTemplateSyncTarget, errRet error)
func (*MonitorService) DescribeTkeTmpAlertPolicy ¶ added in v1.79.17
func (me *MonitorService) DescribeTkeTmpAlertPolicy(ctx context.Context, instanceId, tmpAlertPolicyId string) (tmpAlertPolicy *monitor.PrometheusAlertPolicyItem, errRet error)
func (*MonitorService) DescribeTkeTmpBasicConfigById ¶ added in v1.80.0
func (me *MonitorService) DescribeTkeTmpBasicConfigById(ctx context.Context, clusterId, clusterType, instanceId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
func (*MonitorService) DescribeTkeTmpConfigById ¶ added in v1.79.17
func (me *MonitorService) DescribeTkeTmpConfigById(ctx context.Context, configId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
func (*MonitorService) DescribeTkeTmpGlobalNotification ¶ added in v1.79.17
func (me *MonitorService) DescribeTkeTmpGlobalNotification(ctx context.Context, instanceId string) (tmpNotification *monitor.PrometheusNotificationItem, errRet error)
func (*MonitorService) DescribeTmpTkeClusterAgentsById ¶ added in v1.79.17
func (me *MonitorService) DescribeTmpTkeClusterAgentsById(ctx context.Context, instanceId, clusterId, clusterType string) (agents *monitor.PrometheusAgentOverview, errRet error)
func (*MonitorService) DescribeTmpTkeTemplateById ¶ added in v1.79.17
func (me *MonitorService) DescribeTmpTkeTemplateById(ctx context.Context, templateId string) (template *monitor.PrometheusTemp, errRet error)
func (*MonitorService) FullRegions ¶ added in v1.41.3
func (me *MonitorService) FullRegions() (regions []string, errRet error)
func (*MonitorService) GetConfigType ¶ added in v1.80.0
func (me *MonitorService) GetConfigType(name string, respParams *monitor.DescribePrometheusConfigResponseParams) (configType string, config *monitor.PrometheusConfigItem, err error)
func (*MonitorService) IsolateMonitorTmpInstanceById ¶ added in v1.76.2
func (me *MonitorService) IsolateMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
func (*MonitorService) ModifyTkeTmpGlobalNotification ¶ added in v1.79.17
func (me *MonitorService) ModifyTkeTmpGlobalNotification(ctx context.Context, instanceId string, notification monitor.PrometheusNotificationItem) (response *monitor.ModifyPrometheusGlobalNotificationResponse, errRet error)
type MpsService ¶ added in v1.79.7
type MpsService struct {
// contains filtered or unexported fields
}
func (*MpsService) DeleteMpsAdaptiveDynamicStreamingTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsAdaptiveDynamicStreamingTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsAiAnalysisTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsAiAnalysisTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsAiRecognitionTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsAiRecognitionTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsAnimatedGraphicsTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsAnimatedGraphicsTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsContentReviewTemplateById ¶ added in v1.81.36
func (me *MpsService) DeleteMpsContentReviewTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsEventById ¶ added in v1.81.35
func (me *MpsService) DeleteMpsEventById(ctx context.Context, eventId string) (errRet error)
func (*MpsService) DeleteMpsFlowById ¶ added in v1.81.35
func (me *MpsService) DeleteMpsFlowById(ctx context.Context, flowId string) (errRet error)
func (*MpsService) DeleteMpsImageSpriteTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsImageSpriteTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsOutputById ¶ added in v1.81.36
func (me *MpsService) DeleteMpsOutputById(ctx context.Context, flowId, outputId string) (errRet error)
func (*MpsService) DeleteMpsPersonSampleById ¶ added in v1.79.15
func (me *MpsService) DeleteMpsPersonSampleById(ctx context.Context, personId string) (errRet error)
func (*MpsService) DeleteMpsSampleSnapshotTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsSampleSnapshotTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsScheduleById ¶ added in v1.81.34
func (me *MpsService) DeleteMpsScheduleById(ctx context.Context, scheduleId string) (errRet error)
func (*MpsService) DeleteMpsSnapshotByTimeoffsetTemplateById ¶ added in v1.79.13
func (me *MpsService) DeleteMpsSnapshotByTimeoffsetTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsTranscodeTemplateById ¶ added in v1.79.9
func (me *MpsService) DeleteMpsTranscodeTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsWatermarkTemplateById ¶ added in v1.79.11
func (me *MpsService) DeleteMpsWatermarkTemplateById(ctx context.Context, definition string) (errRet error)
func (*MpsService) DeleteMpsWordSamplesById ¶ added in v1.81.33
func (me *MpsService) DeleteMpsWordSamplesById(ctx context.Context, keywords []string) (errRet error)
func (*MpsService) DeleteMpsWorkflowById ¶ added in v1.79.7
func (me *MpsService) DeleteMpsWorkflowById(ctx context.Context, workflowId string) (errRet error)
func (*MpsService) DescribeMpsAdaptiveDynamicStreamingTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsAdaptiveDynamicStreamingTemplateById(ctx context.Context, definition string) (adaptiveDynamicStreamingTemplate *mps.AdaptiveDynamicStreamingTemplate, errRet error)
func (*MpsService) DescribeMpsAiAnalysisTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsAiAnalysisTemplateById(ctx context.Context, definition string) (aiAnalysisTemplate *mps.AIAnalysisTemplateItem, errRet error)
func (*MpsService) DescribeMpsAiRecognitionTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsAiRecognitionTemplateById(ctx context.Context, definition string) (aiRecognitionTemplate *mps.AIRecognitionTemplateItem, errRet error)
func (*MpsService) DescribeMpsAnimatedGraphicsTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsAnimatedGraphicsTemplateById(ctx context.Context, definition string) (animatedGraphicsTemplate *mps.AnimatedGraphicsTemplate, errRet error)
func (*MpsService) DescribeMpsContentReviewTemplateById ¶ added in v1.81.36
func (me *MpsService) DescribeMpsContentReviewTemplateById(ctx context.Context, definition string) (contentReviewTemplate *mps.ContentReviewTemplateItem, errRet error)
func (*MpsService) DescribeMpsEventById ¶ added in v1.81.35
func (me *MpsService) DescribeMpsEventById(ctx context.Context, eventId string) (event *mps.DescribeEvent, errRet error)
func (*MpsService) DescribeMpsFlowById ¶ added in v1.81.35
func (me *MpsService) DescribeMpsFlowById(ctx context.Context, flowId string) (flow *mps.DescribeFlow, errRet error)
func (*MpsService) DescribeMpsImageSpriteTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsImageSpriteTemplateById(ctx context.Context, definition string) (imageSpriteTemplate *mps.ImageSpriteTemplate, errRet error)
func (*MpsService) DescribeMpsInputById ¶ added in v1.81.36
func (me *MpsService) DescribeMpsInputById(ctx context.Context, flowId, inputId string) (input *mps.DescribeInput, errRet error)
func (*MpsService) DescribeMpsMediaMetaDataByFilter ¶ added in v1.81.41
func (me *MpsService) DescribeMpsMediaMetaDataByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.MediaMetaData, errRet error)
func (*MpsService) DescribeMpsOutputById ¶ added in v1.81.36
func (me *MpsService) DescribeMpsOutputById(ctx context.Context, flowId, outputId string) (output *mps.DescribeOutput, errRet error)
func (*MpsService) DescribeMpsParseLiveStreamProcessNotificationByFilter ¶ added in v1.81.41
func (me *MpsService) DescribeMpsParseLiveStreamProcessNotificationByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.ParseLiveStreamProcessNotificationResponseParams, errRet error)
func (*MpsService) DescribeMpsParseNotificationByFilter ¶ added in v1.81.41
func (me *MpsService) DescribeMpsParseNotificationByFilter(ctx context.Context, param map[string]interface{}) (ret *mps.ParseNotificationResponseParams, errRet error)
func (*MpsService) DescribeMpsPersonSampleById ¶ added in v1.79.15
func (me *MpsService) DescribeMpsPersonSampleById(ctx context.Context, personId string) (personSample *mps.AiSamplePerson, errRet error)
func (*MpsService) DescribeMpsSampleSnapshotTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsSampleSnapshotTemplateById(ctx context.Context, definition string) (sampleSnapshotTemplate *mps.SampleSnapshotTemplate, errRet error)
func (*MpsService) DescribeMpsScheduleById ¶ added in v1.81.34
func (me *MpsService) DescribeMpsScheduleById(ctx context.Context, scheduleId *string) (schedules []*mps.SchedulesInfo, errRet error)
func (*MpsService) DescribeMpsSchedulesByFilter ¶ added in v1.81.35
func (me *MpsService) DescribeMpsSchedulesByFilter(ctx context.Context, param map[string]interface{}) (schedules []*mps.SchedulesInfo, errRet error)
func (*MpsService) DescribeMpsSnapshotByTimeoffsetTemplateById ¶ added in v1.79.13
func (me *MpsService) DescribeMpsSnapshotByTimeoffsetTemplateById(ctx context.Context, definition string) (snapshotByTimeoffsetTemplate *mps.SnapshotByTimeOffsetTemplate, errRet error)
func (*MpsService) DescribeMpsTaskDetailById ¶ added in v1.81.35
func (me *MpsService) DescribeMpsTaskDetailById(ctx context.Context, taskId string) (manageTaskOperation *mps.DescribeTaskDetailResponseParams, errRet error)
func (*MpsService) DescribeMpsTasksByFilter ¶ added in v1.81.36
func (me *MpsService) DescribeMpsTasksByFilter(ctx context.Context, param map[string]interface{}) (tasks []*mps.TaskSimpleInfo, errRet error)
func (*MpsService) DescribeMpsTranscodeTemplateById ¶ added in v1.79.9
func (me *MpsService) DescribeMpsTranscodeTemplateById(ctx context.Context, definition string) (transcodeTemplate *mps.TranscodeTemplate, errRet error)
func (*MpsService) DescribeMpsWatermarkTemplateById ¶ added in v1.79.11
func (me *MpsService) DescribeMpsWatermarkTemplateById(ctx context.Context, definition string) (watermarkTemplate *mps.WatermarkTemplate, errRet error)
func (*MpsService) DescribeMpsWordSampleById ¶ added in v1.81.33
func (me *MpsService) DescribeMpsWordSampleById(ctx context.Context, keyword string) (wordSample *mps.AiSampleWord, errRet error)
func (*MpsService) DescribeMpsWordSamplesById ¶ added in v1.81.33
func (me *MpsService) DescribeMpsWordSamplesById(ctx context.Context, keywords []string) (wordSamples []*mps.AiSampleWord, errRet error)
func (*MpsService) DescribeMpsWorkflowById ¶ added in v1.79.7
func (me *MpsService) DescribeMpsWorkflowById(ctx context.Context, workflowId string) (workflow *mps.WorkflowInfo, errRet error)
func (*MpsService) DisableWorkflow ¶ added in v1.79.7
func (me *MpsService) DisableWorkflow(ctx context.Context, workflowId int64) (errRet error)
func (*MpsService) EnableWorkflow ¶ added in v1.79.7
func (me *MpsService) EnableWorkflow(ctx context.Context, workflowId int64) (errRet error)
type MysqlService ¶ added in v1.41.3
type MysqlService struct {
// contains filtered or unexported fields
}
func (*MysqlService) CheckDBGTIDOpen ¶ added in v1.41.3
func (*MysqlService) CloseWanService ¶ added in v1.41.3
func (*MysqlService) CreateAccount ¶ added in v1.41.3
func (*MysqlService) CreateBackup ¶ added in v1.41.3
func (*MysqlService) DeleteAccount ¶ added in v1.41.3
func (*MysqlService) DeleteMysqlAuditLogFileById ¶ added in v1.79.19
func (*MysqlService) DeleteMysqlDbImportJobById ¶ added in v1.81.3
func (me *MysqlService) DeleteMysqlDbImportJobById(ctx context.Context, asyncRequestId string) (errRet error)
func (*MysqlService) DeleteMysqlDeployGroupById ¶ added in v1.79.5
func (me *MysqlService) DeleteMysqlDeployGroupById(ctx context.Context, deployGroupId string) (errRet error)
func (*MysqlService) DeleteMysqlIsolateInstanceById ¶ added in v1.81.3
func (me *MysqlService) DeleteMysqlIsolateInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MysqlService) DeleteMysqlParamTemplateById ¶ added in v1.79.5
func (me *MysqlService) DeleteMysqlParamTemplateById(ctx context.Context, templateId string) (errRet error)
func (*MysqlService) DeleteMysqlProxyById ¶ added in v1.81.3
func (me *MysqlService) DeleteMysqlProxyById(ctx context.Context, instanceId string) (errRet error)
func (*MysqlService) DeleteMysqlRollbackById ¶ added in v1.81.5
func (*MysqlService) DeleteMysqlSecurityGroupsAttachmentById ¶ added in v1.79.5
func (*MysqlService) DeleteMysqlTimeWindowById ¶ added in v1.79.5
func (me *MysqlService) DeleteMysqlTimeWindowById(ctx context.Context, instanceId string) (errRet error)
func (*MysqlService) DescribeAccountPrivileges ¶ added in v1.41.3
func (*MysqlService) DescribeAccounts ¶ added in v1.41.3
func (me *MysqlService) DescribeAccounts(ctx context.Context, mysqlId string) (accountInfos []*cdb.AccountInfo, errRet error)
func (*MysqlService) DescribeAsyncRequestInfo ¶ added in v1.41.3
func (*MysqlService) DescribeBackupConfigByMysqlId ¶ added in v1.41.3
func (me *MysqlService) DescribeBackupConfigByMysqlId(ctx context.Context, mysqlId string) (desResponse *cdb.DescribeBackupConfigResponse, errRet error)
func (*MysqlService) DescribeBackupsByMysqlId ¶ added in v1.41.3
func (me *MysqlService) DescribeBackupsByMysqlId(ctx context.Context, mysqlId string, leftNumber int64) (backupInfos []*cdb.BackupInfo, errRet error)
func (*MysqlService) DescribeCaresParameters ¶ added in v1.41.3
func (*MysqlService) DescribeDBInstanceById ¶ added in v1.41.3
func (me *MysqlService) DescribeDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
func (*MysqlService) DescribeDBInstanceConfig ¶ added in v1.41.3
func (me *MysqlService) DescribeDBInstanceConfig(ctx context.Context, mysqlId string) (backupConfig *cdb.DescribeDBInstanceConfigResponse, errRet error)
func (*MysqlService) DescribeDBSecurityGroups ¶ added in v1.41.3
func (*MysqlService) DescribeDBZoneConfig ¶ added in v1.41.3
func (me *MysqlService) DescribeDBZoneConfig(ctx context.Context) (sellConfigures *cdb.CdbZoneDataResult, errRet error)
func (*MysqlService) DescribeDefaultParameters ¶ added in v1.41.3
func (me *MysqlService) DescribeDefaultParameters(ctx context.Context, engineVersion string) (parameterList []*cdb.ParameterDetail, errRet error)
func (*MysqlService) DescribeInstanceParameters ¶ added in v1.41.3
func (me *MysqlService) DescribeInstanceParameters(ctx context.Context, instanceId string) (parameterList []*cdb.ParameterDetail, errRet error)
func (*MysqlService) DescribeIsolatedDBInstanceById ¶ added in v1.41.3
func (me *MysqlService) DescribeIsolatedDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
func (*MysqlService) DescribeMysqlAuditLogFileById ¶ added in v1.79.19
func (me *MysqlService) DescribeMysqlAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cdb.AuditLogFile, errRet error)
func (*MysqlService) DescribeMysqlBackupDownloadRestrictionById ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlBackupDownloadRestrictionById(ctx context.Context) (backupDownloadRestriction *cdb.DescribeBackupDownloadRestrictionResponseParams, errRet error)
func (*MysqlService) DescribeMysqlBackupEncryptionStatusById ¶ added in v1.81.3
func (me *MysqlService) DescribeMysqlBackupEncryptionStatusById(ctx context.Context, instanceId string) (backupEncryptionStatus *cdb.DescribeBackupEncryptionStatusResponseParams, errRet error)
func (*MysqlService) DescribeMysqlBackupOverviewByFilter ¶ added in v1.80.3
func (me *MysqlService) DescribeMysqlBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (backupOverview *cdb.DescribeBackupOverviewResponseParams, errRet error)
func (*MysqlService) DescribeMysqlBackupSummariesByFilter ¶ added in v1.80.3
func (me *MysqlService) DescribeMysqlBackupSummariesByFilter(ctx context.Context, param map[string]interface{}) (backupSummaries []*cdb.BackupSummaryItem, errRet error)
func (*MysqlService) DescribeMysqlBinLogByFilter ¶ added in v1.80.3
func (me *MysqlService) DescribeMysqlBinLogByFilter(ctx context.Context, param map[string]interface{}) (binLog []*cdb.BinlogInfo, errRet error)
func (*MysqlService) DescribeMysqlBinlogBackupOverviewByFilter ¶ added in v1.80.3
func (me *MysqlService) DescribeMysqlBinlogBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (binlogBackupOverview *cdb.DescribeBinlogBackupOverviewResponseParams, errRet error)
func (*MysqlService) DescribeMysqlCloneListByFilter ¶ added in v1.80.3
func (*MysqlService) DescribeMysqlDataBackupOverviewByFilter ¶ added in v1.80.3
func (me *MysqlService) DescribeMysqlDataBackupOverviewByFilter(ctx context.Context, param map[string]interface{}) (dataBackupOverview *cdb.DescribeDataBackupOverviewResponseParams, errRet error)
func (*MysqlService) DescribeMysqlDatabasesByFilter ¶ added in v1.81.6
func (me *MysqlService) DescribeMysqlDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases *cdb.DescribeDatabasesResponseParams, errRet error)
func (*MysqlService) DescribeMysqlDbFeaturesByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlDbFeaturesByFilter(ctx context.Context, param map[string]interface{}) (dbFeatures *cdb.DescribeDBFeaturesResponseParams, errRet error)
func (*MysqlService) DescribeMysqlDbImportJobById ¶ added in v1.81.3
func (me *MysqlService) DescribeMysqlDbImportJobById(ctx context.Context, instanceId, asyncRequestId string) (dbImportJob *cdb.ImportRecord, errRet error)
func (*MysqlService) DescribeMysqlDeployGroupById ¶ added in v1.79.5
func (me *MysqlService) DescribeMysqlDeployGroupById(ctx context.Context, deployGroupId string) (deployGroup *cdb.DeployGroupInfo, errRet error)
func (*MysqlService) DescribeMysqlErrorLogByFilter ¶ added in v1.81.6
func (me *MysqlService) DescribeMysqlErrorLogByFilter(ctx context.Context, param map[string]interface{}) (errorLog []*cdb.ErrlogItem, errRet error)
func (*MysqlService) DescribeMysqlInstTablesByFilter ¶ added in v1.81.2
func (*MysqlService) DescribeMysqlInstanceCharsetByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlInstanceCharsetByFilter(ctx context.Context, instanceId string) (instanceCharset *cdb.DescribeDBInstanceCharsetResponseParams, errRet error)
func (*MysqlService) DescribeMysqlInstanceInfoById ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlInstanceInfoById(ctx context.Context, instanceId string) (instanceInfo *cdb.DescribeDBInstanceInfoResponseParams, errRet error)
func (*MysqlService) DescribeMysqlInstanceParamRecordByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlInstanceParamRecordByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecord []*cdb.ParamRecord, errRet error)
func (*MysqlService) DescribeMysqlInstanceRebootTimeByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlInstanceRebootTimeByFilter(ctx context.Context, param map[string]interface{}) (instanceRebootTime []*cdb.InstanceRebootTime, errRet error)
func (*MysqlService) DescribeMysqlLocalBinlogConfigById ¶ added in v1.79.5
func (me *MysqlService) DescribeMysqlLocalBinlogConfigById(ctx context.Context, instanceId string) (localBinlogConfig *cdb.LocalBinlogConfig, errRet error)
func (*MysqlService) DescribeMysqlParamTemplateById ¶ added in v1.79.5
func (me *MysqlService) DescribeMysqlParamTemplateById(ctx context.Context, templateId string) (paramTemplate *cdb.DescribeParamTemplateInfoResponseParams, errRet error)
func (*MysqlService) DescribeMysqlParamTemplateInfoById ¶ added in v1.81.1
func (me *MysqlService) DescribeMysqlParamTemplateInfoById(ctx context.Context, templateId string) (paramTemplateInfo *cdb.ParamTemplateInfo, errRet error)
func (*MysqlService) DescribeMysqlPasswordComplexityById ¶ added in v1.81.3
func (me *MysqlService) DescribeMysqlPasswordComplexityById(ctx context.Context, instanceId string) (passwordComplexity []*cdb.ParameterDetail, errRet error)
func (*MysqlService) DescribeMysqlProjectSecurityGroupByFilter ¶ added in v1.81.6
func (me *MysqlService) DescribeMysqlProjectSecurityGroupByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroup []*cdb.SecurityGroup, errRet error)
func (*MysqlService) DescribeMysqlProxyById ¶ added in v1.81.3
func (me *MysqlService) DescribeMysqlProxyById(ctx context.Context, instanceId, proxyGroupId string) (proxy *cdb.ProxyGroupInfo, errRet error)
func (*MysqlService) DescribeMysqlProxyCustomById ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlProxyCustomById(ctx context.Context, instanceId string) (proxyCustom *cdb.DescribeProxyCustomConfResponseParams, errRet error)
func (*MysqlService) DescribeMysqlRemoteBackupConfigById ¶ added in v1.81.3
func (me *MysqlService) DescribeMysqlRemoteBackupConfigById(ctx context.Context, instanceId string) (remoteBackupConfig *cdb.DescribeRemoteBackupConfigResponseParams, errRet error)
func (*MysqlService) DescribeMysqlRoGroupById ¶ added in v1.81.5
func (*MysqlService) DescribeMysqlRoMinScaleByFilter ¶ added in v1.81.6
func (me *MysqlService) DescribeMysqlRoMinScaleByFilter(ctx context.Context, param map[string]interface{}) (roMinScale *cdb.DescribeRoMinScaleResponseParams, errRet error)
func (*MysqlService) DescribeMysqlRollbackById ¶ added in v1.81.5
func (me *MysqlService) DescribeMysqlRollbackById(ctx context.Context, instanceId, asyncRequestId string) (rollback []*cdb.RollbackInstancesInfo, errRet error)
func (*MysqlService) DescribeMysqlRollbackRangeTimeByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlRollbackRangeTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackRangeTime []*cdb.InstanceRollbackRangeTime, errRet error)
func (*MysqlService) DescribeMysqlSecurityGroupsAttachmentById ¶ added in v1.79.5
func (me *MysqlService) DescribeMysqlSecurityGroupsAttachmentById(ctx context.Context, securityGroupId string, instanceId string) (securityGroupsAttachment *cdb.SecurityGroup, errRet error)
func (*MysqlService) DescribeMysqlSlowLogByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlSlowLogByFilter(ctx context.Context, param map[string]interface{}) (slowLog []*cdb.SlowLogInfo, errRet error)
func (*MysqlService) DescribeMysqlSlowLogDataByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlSlowLogDataByFilter(ctx context.Context, param map[string]interface{}) (slowLogData []*cdb.SlowLogItem, errRet error)
func (*MysqlService) DescribeMysqlSupportedPrivilegesById ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlSupportedPrivilegesById(ctx context.Context, instanceId string) (supportedPrivileges *cdb.DescribeSupportedPrivilegesResponseParams, errRet error)
func (*MysqlService) DescribeMysqlSwitchRecordById ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlSwitchRecordById(ctx context.Context, instanceId string) (switchRecord []*cdb.DBSwitchInfo, errRet error)
func (*MysqlService) DescribeMysqlTimeWindowById ¶ added in v1.79.5
func (me *MysqlService) DescribeMysqlTimeWindowById(ctx context.Context, instanceId string) (timeWindow *cdb.DescribeTimeWindowResponse, errRet error)
func (*MysqlService) DescribeMysqlUploadedFilesByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlUploadedFilesByFilter(ctx context.Context, param map[string]interface{}) (uploadedFiles []*cdb.SqlFileInfo, errRet error)
func (*MysqlService) DescribeMysqlUserTaskByFilter ¶ added in v1.81.2
func (me *MysqlService) DescribeMysqlUserTaskByFilter(ctx context.Context, param map[string]interface{}) (userTask []*cdb.TaskDetail, errRet error)
func (*MysqlService) DescribeRunningDBInstanceById ¶ added in v1.41.3
func (me *MysqlService) DescribeRunningDBInstanceById(ctx context.Context, mysqlId string) (mysqlInfo *cdb.InstanceInfo, errRet error)
func (*MysqlService) DescribeTagsOfInstanceId ¶ added in v1.41.3
func (*MysqlService) DisassociateSecurityGroup ¶ added in v1.41.3
func (*MysqlService) InitDBInstances ¶ added in v1.41.3
func (me *MysqlService) InitDBInstances(ctx context.Context, mysqlId, password, charset, lowerCase string, port int) (asyncRequestId string, errRet error)
DEPRECATED: Specify these arguments while creating.
func (*MysqlService) IsolateDBInstance ¶ added in v1.41.3
func (*MysqlService) ModifyAccountDescription ¶ added in v1.41.3
func (*MysqlService) ModifyAccountHost ¶ added in v1.81.10
func (*MysqlService) ModifyAccountMaxUserConnections ¶ added in v1.81.6
func (*MysqlService) ModifyAccountPassword ¶ added in v1.41.3
func (*MysqlService) ModifyAccountPrivileges ¶ added in v1.41.3
func (*MysqlService) ModifyAutoRenewFlag ¶ added in v1.41.3
func (*MysqlService) ModifyBackupConfigByMysqlId ¶ added in v1.41.3
func (*MysqlService) ModifyCdbProxyAddressDesc ¶ added in v1.81.10
func (me *MysqlService) ModifyCdbProxyAddressDesc(ctx context.Context, proxyGroupId, proxyAddressId, desc string) (errRet error)
func (*MysqlService) ModifyCdbProxyAddressVipAndVPort ¶ added in v1.81.10
func (*MysqlService) ModifyDBInstanceName ¶ added in v1.41.3
func (me *MysqlService) ModifyDBInstanceName(ctx context.Context, mysqlId, newInstanceName string) (errRet error)
func (*MysqlService) ModifyDBInstanceProject ¶ added in v1.41.3
func (*MysqlService) ModifyDBInstanceSecurityGroups ¶ added in v1.41.3
func (*MysqlService) ModifyDBInstanceVipVport ¶ added in v1.41.3
func (*MysqlService) ModifyInstanceParam ¶ added in v1.41.3
func (*MysqlService) ModifyInstanceTag ¶ added in v1.41.3
func (*MysqlService) MysqlAuditLogFileStateRefreshFunc ¶ added in v1.79.19
func (me *MysqlService) MysqlAuditLogFileStateRefreshFunc(instanceId, fileName string, failStates []string) resource.StateRefreshFunc
func (*MysqlService) NotFoundMysqlInstance ¶ added in v1.41.3
func (me *MysqlService) NotFoundMysqlInstance(err error) bool
check if the err means the mysql_id is not found
func (*MysqlService) OfflineIsolatedInstances ¶ added in v1.41.3
func (me *MysqlService) OfflineIsolatedInstances(ctx context.Context, mysqlId string) (errRet error)
func (*MysqlService) OpenDBInstanceGTID ¶ added in v1.41.3
func (*MysqlService) OpenWanService ¶ added in v1.41.3
func (*MysqlService) UpgradeCDBProxyVersion ¶ added in v1.81.10
func (me *MysqlService) UpgradeCDBProxyVersion(ctx context.Context, instanceId, proxyGroupId, oldProxyVersion, proxyVersion, upgradeTime string) (errRet error)
func (*MysqlService) UpgradeDBInstance ¶ added in v1.41.3
func (*MysqlService) UpgradeDBInstanceEngineVersion ¶ added in v1.81.10
type OceanusService ¶ added in v1.81.40
type OceanusService struct {
// contains filtered or unexported fields
}
func (*OceanusService) DeleteOceanusJobById ¶ added in v1.81.40
func (me *OceanusService) DeleteOceanusJobById(ctx context.Context, jobId string) (errRet error)
func (*OceanusService) DeleteOceanusJobConfigById ¶ added in v1.81.40
func (me *OceanusService) DeleteOceanusJobConfigById(ctx context.Context, jobId, version string) (errRet error)
func (*OceanusService) DeleteOceanusResourceById ¶ added in v1.81.40
func (me *OceanusService) DeleteOceanusResourceById(ctx context.Context, resourceId string) (errRet error)
func (*OceanusService) DeleteOceanusResourceConfigById ¶ added in v1.81.40
func (me *OceanusService) DeleteOceanusResourceConfigById(ctx context.Context, resourceId, version string) (errRet error)
func (*OceanusService) DeleteOceanusWorkSpaceById ¶ added in v1.81.40
func (me *OceanusService) DeleteOceanusWorkSpaceById(ctx context.Context, workSpaceId string) (errRet error)
func (*OceanusService) DescribeOceanusCheckSavepointByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusCheckSavepointByFilter(ctx context.Context, param map[string]interface{}) (CheckSavepoint *oceanus.CheckSavepointResponseParams, errRet error)
func (*OceanusService) DescribeOceanusClustersByFilter ¶ added in v1.81.40
func (*OceanusService) DescribeOceanusJobById ¶ added in v1.81.40
func (*OceanusService) DescribeOceanusJobConfigById ¶ added in v1.81.40
func (*OceanusService) DescribeOceanusJobSubmissionLogByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusJobSubmissionLogByFilter(ctx context.Context, param map[string]interface{}) (jobSubmissionLog *oceanus.DescribeJobSubmissionLogResponseParams, errRet error)
func (*OceanusService) DescribeOceanusResourceById ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusResourceById(ctx context.Context, resourceId string) (resource *oceanus.ResourceItem, errRet error)
func (*OceanusService) DescribeOceanusResourceConfigById ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusResourceConfigById(ctx context.Context, resourceId, version string) (resourceConfig *oceanus.ResourceConfigItem, errRet error)
func (*OceanusService) DescribeOceanusResourceRelatedJobByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusResourceRelatedJobByFilter(ctx context.Context, param map[string]interface{}) (ResourceRelatedJob []*oceanus.ResourceRefJobInfo, errRet error)
func (*OceanusService) DescribeOceanusSavepointListByFilter ¶ added in v1.81.40
func (*OceanusService) DescribeOceanusSystemResourceByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusSystemResourceByFilter(ctx context.Context, param map[string]interface{}) (SystemResource []*oceanus.SystemResourceItem, errRet error)
func (*OceanusService) DescribeOceanusTreeJobsByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusTreeJobsByFilter(ctx context.Context, param map[string]interface{}) (treeJobs *oceanus.DescribeTreeJobsResponseParams, errRet error)
func (*OceanusService) DescribeOceanusTreeResourcesByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusTreeResourcesByFilter(ctx context.Context, param map[string]interface{}) (treeResources *oceanus.DescribeTreeResourcesResponseParams, errRet error)
func (*OceanusService) DescribeOceanusWorkSpaceById ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusWorkSpaceById(ctx context.Context, workSpaceName string) (WorkSpace *oceanus.WorkSpaceSetItem, errRet error)
func (*OceanusService) DescribeOceanusWorkSpacesByFilter ¶ added in v1.81.40
func (me *OceanusService) DescribeOceanusWorkSpacesByFilter(ctx context.Context, param map[string]interface{}) (WorkSpace []*oceanus.WorkSpaceSetItem, errRet error)
type OrganizationService ¶ added in v1.78.13
type OrganizationService struct {
// contains filtered or unexported fields
}
func (*OrganizationService) DeleteOrganizationOrgIdentityById ¶ added in v1.81.38
func (me *OrganizationService) DeleteOrganizationOrgIdentityById(ctx context.Context, identityId string) (errRet error)
func (*OrganizationService) DeleteOrganizationOrgMemberAuthIdentityById ¶ added in v1.81.35
func (*OrganizationService) DeleteOrganizationOrgMemberById ¶ added in v1.78.13
func (me *OrganizationService) DeleteOrganizationOrgMemberById(ctx context.Context, uin string) (errRet error)
func (*OrganizationService) DeleteOrganizationOrgMemberPolicyAttachmentById ¶ added in v1.81.39
func (me *OrganizationService) DeleteOrganizationOrgMemberPolicyAttachmentById(ctx context.Context, policyId string) (errRet error)
func (*OrganizationService) DeleteOrganizationOrgNodeById ¶ added in v1.78.13
func (me *OrganizationService) DeleteOrganizationOrgNodeById(ctx context.Context, nodeId string) (errRet error)
func (*OrganizationService) DeleteOrganizationOrganizationById ¶ added in v1.81.35
func (me *OrganizationService) DeleteOrganizationOrganizationById(ctx context.Context) (errRet error)
func (*OrganizationService) DeleteOrganizationPolicySubAccountAttachmentById ¶ added in v1.78.13
func (me *OrganizationService) DeleteOrganizationPolicySubAccountAttachmentById(ctx context.Context, policyId, memberUin, orgSubAccountUin string) (errRet error)
func (*OrganizationService) DescribeOrganizationOrgAuthNodeByFilter ¶ added in v1.81.35
func (me *OrganizationService) DescribeOrganizationOrgAuthNodeByFilter(ctx context.Context, param map[string]interface{}) (orgAuthNode []*organization.AuthNode, errRet error)
func (*OrganizationService) DescribeOrganizationOrgFinancialByMemberByFilter ¶ added in v1.81.35
func (me *OrganizationService) DescribeOrganizationOrgFinancialByMemberByFilter(ctx context.Context, param map[string]interface{}) (orgFinancialByMember *organization.DescribeOrganizationFinancialByMemberResponseParams, errRet error)
func (*OrganizationService) DescribeOrganizationOrgFinancialByMonthByFilter ¶ added in v1.81.36
func (me *OrganizationService) DescribeOrganizationOrgFinancialByMonthByFilter(ctx context.Context, param map[string]interface{}) (orgFinancialByMonth []*organization.OrgFinancialByMonth, errRet error)
func (*OrganizationService) DescribeOrganizationOrgFinancialByProductByFilter ¶ added in v1.81.36
func (me *OrganizationService) DescribeOrganizationOrgFinancialByProductByFilter(ctx context.Context, param map[string]interface{}) (orgFinancialByProduct *organization.DescribeOrganizationFinancialByProductResponseParams, errRet error)
func (*OrganizationService) DescribeOrganizationOrgIdentityById ¶ added in v1.81.38
func (me *OrganizationService) DescribeOrganizationOrgIdentityById(ctx context.Context, identityId string) (orgIdentity *organization.OrgIdentity, errRet error)
func (*OrganizationService) DescribeOrganizationOrgMember ¶ added in v1.78.13
func (me *OrganizationService) DescribeOrganizationOrgMember(ctx context.Context, uin string) (orgMember *organization.OrgMember, errRet error)
func (*OrganizationService) DescribeOrganizationOrgMemberAuthIdentityById ¶ added in v1.81.35
func (*OrganizationService) DescribeOrganizationOrgMemberEmailById ¶ added in v1.81.35
func (me *OrganizationService) DescribeOrganizationOrgMemberEmailById(ctx context.Context, memberUin int64, bindId uint64) (orgMemberEmail *organization.DescribeOrganizationMemberEmailBindResponseParams, errRet error)
func (*OrganizationService) DescribeOrganizationOrgNode ¶ added in v1.78.13
func (me *OrganizationService) DescribeOrganizationOrgNode(ctx context.Context, nodeId string) (orgNode *organization.OrgNode, errRet error)
func (*OrganizationService) DescribeOrganizationOrganizationById ¶ added in v1.81.35
func (me *OrganizationService) DescribeOrganizationOrganizationById(ctx context.Context) (result *organization.DescribeOrganizationResponseParams, errRet error)
func (*OrganizationService) DescribeOrganizationPolicySubAccountAttachment ¶ added in v1.78.13
func (me *OrganizationService) DescribeOrganizationPolicySubAccountAttachment(ctx context.Context, policyId, memberUin string) (policySubAccountAttachment *organization.OrgMemberAuthAccount, errRet error)
type OverrideSettings ¶ added in v1.56.11
type OverrideSettings struct { Master []tke.InstanceAdvancedSettings Work []tke.InstanceAdvancedSettings }
type PostgresqlService ¶ added in v1.41.3
type PostgresqlService struct {
// contains filtered or unexported fields
}
func (*PostgresqlService) CheckDBInstanceStatus ¶ added in v1.41.3
func (*PostgresqlService) CreatePostgresqlInstance ¶ added in v1.41.3
func (me *PostgresqlService) CreatePostgresqlInstance( ctx context.Context, name, dbVersion, dbMajorVersion, dbKernelVersion, chargeType, specCode string, autoRenewFlag, projectId, period int, subnetId, vpcId, zone string, securityGroups []string, storage int, username, password, charset string, dbNodeSet []*postgresql.DBNode, needSupportTde int, kmsKeyId, kmsRegion string, autoVoucher int, voucherIds []*string, ) (instanceId string, errRet error)
func (*PostgresqlService) DeletePostgresqlBaseBackupById ¶ added in v1.81.6
func (*PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById ¶ added in v1.81.3
func (me *PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById(ctx context.Context, dBInstanceId, vpcId, subnetId, vip string) (errRet error)
func (*PostgresqlService) DeletePostgresqlInstance ¶ added in v1.41.3
func (me *PostgresqlService) DeletePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlParameterTemplateById ¶ added in v1.79.19
func (me *PostgresqlService) DeletePostgresqlParameterTemplateById(ctx context.Context, templateId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlReadOnlyGroupById ¶ added in v1.68.0
func (me *PostgresqlService) DeletePostgresqlReadOnlyGroupById(ctx context.Context, groupId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById ¶ added in v1.81.3
func (me *PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById(ctx context.Context, readOnlyGroupId, vpcId, subnetId, vip string) (errRet error)
func (*PostgresqlService) DescribeBackupPlans ¶ added in v1.71.0
func (me *PostgresqlService) DescribeBackupPlans(ctx context.Context, request *postgresql.DescribeBackupPlansRequest) (result []*postgresql.BackupPlan, errRet error)
func (*PostgresqlService) DescribeDBEncryptionKeys ¶ added in v1.72.0
func (me *PostgresqlService) DescribeDBEncryptionKeys(ctx context.Context, request *postgresql.DescribeEncryptionKeysRequest) (has bool, key *postgresql.EncryptionKey, errRet error)
func (*PostgresqlService) DescribeDBInstanceAttribute ¶ added in v1.61.2
func (me *PostgresqlService) DescribeDBInstanceAttribute(ctx context.Context, request *postgresql.DescribeDBInstanceAttributeRequest) (ins *postgresql.DBInstance, errRet error)
func (*PostgresqlService) DescribeDBXlogs ¶ added in v1.71.0
func (me *PostgresqlService) DescribeDBXlogs(ctx context.Context, request *postgresql.DescribeDBXlogsRequest) (xlogs []*postgresql.Xlog, errRet error)
func (*PostgresqlService) DescribeOrders ¶ added in v1.79.5
func (me *PostgresqlService) DescribeOrders(ctx context.Context, dealIds []*string) (deals []*postgresql.PgDeal, errRet error)
func (*PostgresqlService) DescribePgParams ¶ added in v1.60.17
func (*PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById ¶ added in v1.81.2
func (me *PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById(ctx context.Context, restrictionType string) (BackupDownloadRestrictionConfig *postgresql.DescribeBackupDownloadRestrictionResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlBackupDownloadUrlsByFilter ¶ added in v1.81.3
func (*PostgresqlService) DescribePostgresqlBackupPlanConfigById ¶ added in v1.81.2
func (me *PostgresqlService) DescribePostgresqlBackupPlanConfigById(ctx context.Context, dBInstanceId string) (BackupPlanConfig *postgresql.BackupPlan, errRet error)
func (*PostgresqlService) DescribePostgresqlBaseBackupById ¶ added in v1.81.6
func (me *PostgresqlService) DescribePostgresqlBaseBackupById(ctx context.Context, baseBackupId string) (BaseBackup *postgresql.BaseBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlBaseBackupsByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlBaseBackupsByFilter(ctx context.Context, param map[string]interface{}) (BaseBackups []*postgresql.BaseBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlDBInstanceNetInfosById ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlDBInstanceNetInfosById(ctx context.Context, dBInstanceId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter(ctx context.Context, param map[string]interface{}) (DbInstanceClasses []*postgresql.ClassInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter(ctx context.Context) (DbInstanceVersions []*postgresql.Version, errRet error)
func (*PostgresqlService) DescribePostgresqlDefaultParametersByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlDefaultParametersByFilter(ctx context.Context, param map[string]interface{}) (DefaultParameters []*postgresql.ParamInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlInstanceById ¶ added in v1.41.3
func (me *PostgresqlService) DescribePostgresqlInstanceById(ctx context.Context, instanceId string) (instance *postgresql.DBInstance, has bool, errRet error)
func (*PostgresqlService) DescribePostgresqlInstances ¶ added in v1.41.3
func (me *PostgresqlService) DescribePostgresqlInstances(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.DBInstance, errRet error)
func (*PostgresqlService) DescribePostgresqlLogBackupsByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlLogBackupsByFilter(ctx context.Context, param map[string]interface{}) (LogBackups []*postgresql.LogBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlParameterTemplateById ¶ added in v1.79.19
func (me *PostgresqlService) DescribePostgresqlParameterTemplateById(ctx context.Context, templateId string) (ParameterTemplate *postgresql.DescribeParameterTemplateAttributesResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlParameterTemplatesByFilter ¶ added in v1.79.19
func (me *PostgresqlService) DescribePostgresqlParameterTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ParameterTemplates []*postgresql.ParameterTemplate, errRet error)
func (*PostgresqlService) DescribePostgresqlReadOnlyGroupById ¶ added in v1.68.0
func (me *PostgresqlService) DescribePostgresqlReadOnlyGroupById(ctx context.Context, dbInstanceId string) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById(ctx context.Context, dbInstanceId, roGroupId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroups ¶ added in v1.81.2
func (me *PostgresqlService) DescribePostgresqlReadonlyGroups(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter ¶ added in v1.81.2
func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter(ctx context.Context, param map[string]interface{}) (ReadOnlyGroups []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlRecoveryTimeByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlRecoveryTimeByFilter(ctx context.Context, param map[string]interface{}) (ret *postgresql.DescribeAvailableRecoveryTimeResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlRegionsByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlRegionsByFilter(ctx context.Context) (Regions []*postgresql.RegionInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlSecurityGroupConfigById ¶ added in v1.81.2
func (me *PostgresqlService) DescribePostgresqlSecurityGroupConfigById(ctx context.Context, dBInstanceId string, readOnlyGroupId string) (SecurityGroupConfigs []*postgresql.SecurityGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlZonesByFilter ¶ added in v1.81.3
func (me *PostgresqlService) DescribePostgresqlZonesByFilter(ctx context.Context) (Zones []*postgresql.ZoneInfo, errRet error)
func (*PostgresqlService) DescribeRootUser ¶ added in v1.58.0
func (me *PostgresqlService) DescribeRootUser(ctx context.Context, instanceId string) (accounts []*postgresql.AccountInfo, errRet error)
func (*PostgresqlService) DescribeSpecinfos ¶ added in v1.41.3
func (me *PostgresqlService) DescribeSpecinfos(ctx context.Context, zone string) (specCodeList []*postgresql.SpecItemInfo, errRet error)
func (*PostgresqlService) InitPostgresqlInstance ¶ added in v1.41.3
func (*PostgresqlService) IsolatePostgresqlInstance ¶ added in v1.58.0
func (me *PostgresqlService) IsolatePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
func (*PostgresqlService) ModifyBackupPlan ¶ added in v1.71.0
func (me *PostgresqlService) ModifyBackupPlan(ctx context.Context, request *postgresql.ModifyBackupPlanRequest) (errRet error)
func (*PostgresqlService) ModifyDBInstanceDeployment ¶ added in v1.61.2
func (me *PostgresqlService) ModifyDBInstanceDeployment(ctx context.Context, request *postgresql.ModifyDBInstanceDeploymentRequest) (errRet error)
func (*PostgresqlService) ModifyPgParams ¶ added in v1.60.17
func (*PostgresqlService) ModifyPostgresqlInstanceName ¶ added in v1.41.3
func (*PostgresqlService) ModifyPostgresqlInstanceProjectId ¶ added in v1.41.3
func (*PostgresqlService) ModifyPublicService ¶ added in v1.41.3
func (*PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc ¶ added in v1.81.3
func (me *PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc(dBInstanceId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlDBInstanceStateRefreshFunc ¶ added in v1.81.3
func (me *PostgresqlService) PostgresqlDBInstanceStateRefreshFunc(dbInstanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc ¶ added in v1.81.2
func (me *PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc ¶ added in v1.81.3
func (me *PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc(dbInstanceId, roGroupId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc ¶ added in v1.81.3
func (me *PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc(dbInstanceId, roGroupId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc ¶ added in v1.81.1
func (me *PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) SetPostgresqlInstanceAutoRenewFlag ¶ added in v1.41.3
func (*PostgresqlService) SetPostgresqlInstanceRootPassword ¶ added in v1.41.3
func (*PostgresqlService) UpgradePostgresqlInstance ¶ added in v1.41.3
type PrivateDnsService ¶ added in v1.60.21
type PrivateDnsService struct {
// contains filtered or unexported fields
}
func (*PrivateDnsService) DeletePrivateDnsZoneVpcAttachmentById ¶ added in v1.81.28
func (me *PrivateDnsService) DeletePrivateDnsZoneVpcAttachmentById(ctx context.Context, zoneId, uniqVpcId, region, uin string) (errRet error)
func (*PrivateDnsService) DescribePrivateDnsRecordByFilter ¶ added in v1.60.21
func (me *PrivateDnsService) DescribePrivateDnsRecordByFilter(ctx context.Context, zoneId string, filterList []*privatedns.Filter) (recordInfos []*privatedns.PrivateZoneRecord, errRet error)
////////api
func (*PrivateDnsService) DescribePrivateDnsZoneVpcAttachmentById ¶ added in v1.81.28
func (me *PrivateDnsService) DescribePrivateDnsZoneVpcAttachmentById(ctx context.Context, zoneId string) (ZoneVpcAttachment *privatedns.PrivateZone, errRet error)
type PrometheusConfig ¶ added in v1.80.0
func (*PrometheusConfig) MarshalToYaml ¶ added in v1.80.0
func (r *PrometheusConfig) MarshalToYaml(config *map[interface{}]interface{}) (string, error)
func (*PrometheusConfig) SetRegex ¶ added in v1.80.0
func (r *PrometheusConfig) SetRegex(configs []interface{}) (*[]interface{}, error)
func (*PrometheusConfig) UnmarshalToMap ¶ added in v1.80.0
func (r *PrometheusConfig) UnmarshalToMap() (map[interface{}]interface{}, error)
type PrometheusConfigIds ¶ added in v1.77.4
type PtsService ¶ added in v1.78.11
type PtsService struct {
// contains filtered or unexported fields
}
func (*PtsService) DeletePtsAlertChannelById ¶ added in v1.78.11
func (me *PtsService) DeletePtsAlertChannelById(ctx context.Context, noticeId, projectId string) (errRet error)
func (*PtsService) DeletePtsCronJobById ¶ added in v1.78.11
func (me *PtsService) DeletePtsCronJobById(ctx context.Context, cronJobId, projectId string) (errRet error)
func (*PtsService) DeletePtsFileById ¶ added in v1.78.11
func (me *PtsService) DeletePtsFileById(ctx context.Context, projectId, fileIds string) (errRet error)
func (*PtsService) DeletePtsJobById ¶ added in v1.78.11
func (me *PtsService) DeletePtsJobById(ctx context.Context, projectId, scenarioId, jobId string) (errRet error)
func (*PtsService) DeletePtsProjectById ¶ added in v1.78.11
func (me *PtsService) DeletePtsProjectById(ctx context.Context, projectId string) (errRet error)
func (*PtsService) DeletePtsScenarioById ¶ added in v1.78.11
func (me *PtsService) DeletePtsScenarioById(ctx context.Context, projectId, scenarioId string) (errRet error)
func (*PtsService) DescribePtsAlertChannel ¶ added in v1.78.11
func (me *PtsService) DescribePtsAlertChannel(ctx context.Context, noticeId, projectId string) (alertChannel *pts.AlertChannelRecord, errRet error)
func (*PtsService) DescribePtsCronJob ¶ added in v1.78.11
func (*PtsService) DescribePtsFile ¶ added in v1.78.11
func (*PtsService) DescribePtsJob ¶ added in v1.78.11
func (*PtsService) DescribePtsProject ¶ added in v1.78.11
func (*PtsService) DescribePtsScenario ¶ added in v1.78.11
func (*PtsService) DescribePtsScenarioWithJobsByFilter ¶ added in v1.81.35
func (me *PtsService) DescribePtsScenarioWithJobsByFilter(ctx context.Context, param map[string]interface{}) (scenarioWithJobs []*pts.ScenarioWithJobs, errRet error)
type RedisService ¶ added in v1.41.3
type RedisService struct {
// contains filtered or unexported fields
}
func (*RedisService) AddReplicationInstance ¶ added in v1.81.7
func (me *RedisService) AddReplicationInstance(ctx context.Context, groupId, instanceId, instanceRole string) error
func (*RedisService) ApplyParamsTemplate ¶ added in v1.77.7
func (me *RedisService) ApplyParamsTemplate(ctx context.Context, request *redis.ApplyParamsTemplateRequest) (taskIds []*int64, errRet error)
func (*RedisService) CheckRedisDestroyOk ¶ added in v1.41.3
func (*RedisService) CheckRedisOnlineOk ¶ added in v1.41.3
func (*RedisService) CheckRedisUpdateOk ¶ added in v1.77.5
func (me *RedisService) CheckRedisUpdateOk(ctx context.Context, redisId string) (errRet error)
func (*RedisService) CleanUpInstance ¶ added in v1.41.3
func (*RedisService) CreateInstances ¶ added in v1.41.3
func (me *RedisService) CreateInstances(ctx context.Context, zoneName string, typeId int64, password, vpcId, subnetId, redisName string, memSize, projectId, port int64, securityGroups []string, redisShardNum, redisReplicasNum int, chargeTypeID int64, chargePeriod uint64, nodeInfo []*redis.RedisNodeInfo, noAuth bool, autoRenewFlag int, replicasReadonly bool, paramsTemplateId string, ) (instanceIds []*string, errRet error)
func (*RedisService) CreateParamTemplate ¶ added in v1.77.7
func (me *RedisService) CreateParamTemplate(ctx context.Context, request *redis.CreateParamTemplateRequest) (id string, errRet error)
func (*RedisService) DeleteParamTemplate ¶ added in v1.77.7
func (me *RedisService) DeleteParamTemplate(ctx context.Context, request *redis.DeleteParamTemplateRequest) (errRet error)
func (*RedisService) DeleteRedisAccountById ¶ added in v1.80.2
func (*RedisService) DeleteRedisReplicateAttachmentById ¶ added in v1.81.7
func (*RedisService) DeleteRedisSecurityGroupAttachmentById ¶ added in v1.81.10
func (*RedisService) DescribeAutoBackupConfig ¶ added in v1.41.3
func (*RedisService) DescribeBandwidthRangeById ¶ added in v1.81.1
func (me *RedisService) DescribeBandwidthRangeById(ctx context.Context, instanceId string) (connectionConfig *redis.DescribeBandwidthRangeResponseParams, errRet error)
func (*RedisService) DescribeDBSecurityGroups ¶ added in v1.60.3
func (me *RedisService) DescribeDBSecurityGroups(ctx context.Context, product string, instanceId string) (sg []string, errRet error)
DescribeDBSecurityGroups support query different type of DB by passing product name
func (*RedisService) DescribeInstanceDealDetail ¶ added in v1.41.3
func (*RedisService) DescribeInstanceSecurityGroup ¶ added in v1.41.3
func (*RedisService) DescribeInstances ¶ added in v1.41.3
func (me *RedisService) DescribeInstances(ctx context.Context, zoneName, searchKey string, projectId, needLimit int64) (instances []TencentCloudRedisDetail, errRet error)
func (*RedisService) DescribeParamTemplateById ¶ added in v1.77.7
func (me *RedisService) DescribeParamTemplateById(ctx context.Context, id string) (params *redis.ParamTemplateInfo, errRet error)
func (*RedisService) DescribeParamTemplateInfo ¶ added in v1.78.16
func (me *RedisService) DescribeParamTemplateInfo(ctx context.Context, templateId string) (info *redis.DescribeParamTemplateInfoResponseParams, errRet error)
func (*RedisService) DescribeParamTemplates ¶ added in v1.77.7
func (me *RedisService) DescribeParamTemplates(ctx context.Context, request *redis.DescribeParamTemplatesRequest) (params []*redis.ParamTemplateInfo, errRet error)
func (*RedisService) DescribeRedisAccountById ¶ added in v1.80.2
func (*RedisService) DescribeRedisBackupByFilter ¶ added in v1.80.2
func (me *RedisService) DescribeRedisBackupByFilter(ctx context.Context, param map[string]interface{}) (backup []*redis.RedisBackupSet, errRet error)
func (*RedisService) DescribeRedisBackupDownloadInfoByFilter ¶ added in v1.80.2
func (me *RedisService) DescribeRedisBackupDownloadInfoByFilter(ctx context.Context, param map[string]interface{}) (backup []*redis.BackupDownloadInfo, errRet error)
func (*RedisService) DescribeRedisBackupDownloadRestrictionById ¶ added in v1.81.1
func (me *RedisService) DescribeRedisBackupDownloadRestrictionById(ctx context.Context) (backupDownloadRestriction *redis.DescribeBackupDownloadRestrictionResponseParams, errRet error)
func (*RedisService) DescribeRedisInstanceById ¶ added in v1.80.2
func (me *RedisService) DescribeRedisInstanceById(ctx context.Context, instanceId string) (param *redis.InstanceSet, errRet error)
func (*RedisService) DescribeRedisInstanceNodeInfoByFilter ¶ added in v1.81.1
func (me *RedisService) DescribeRedisInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo *redis.DescribeInstanceNodeInfoResponseParams, errRet error)
func (*RedisService) DescribeRedisInstanceShardsByFilter ¶ added in v1.80.3
func (me *RedisService) DescribeRedisInstanceShardsByFilter(ctx context.Context, param map[string]interface{}) (instanceShards []*redis.InstanceClusterShard, errRet error)
func (*RedisService) DescribeRedisInstanceTaskListByFilter ¶ added in v1.80.3
func (me *RedisService) DescribeRedisInstanceTaskListByFilter(ctx context.Context, param map[string]interface{}) (instanceTaskList []*redis.TaskInfoDetail, errRet error)
func (*RedisService) DescribeRedisInstanceZoneInfoByFilter ¶ added in v1.80.3
func (me *RedisService) DescribeRedisInstanceZoneInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceZoneInfo []*redis.ReplicaGroup, errRet error)
func (*RedisService) DescribeRedisMaintenanceWindowById ¶ added in v1.80.2
func (me *RedisService) DescribeRedisMaintenanceWindowById(ctx context.Context, instanceId string) (maintenanceWindow *redis.DescribeMaintenanceWindowResponseParams, errRet error)
func (*RedisService) DescribeRedisParamById ¶ added in v1.80.2
func (*RedisService) DescribeRedisParamRecordsByFilter ¶ added in v1.80.3
func (me *RedisService) DescribeRedisParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (params []*redis.InstanceParamHistory, errRet error)
func (*RedisService) DescribeRedisReplicateInstanceById ¶ added in v1.81.0
func (*RedisService) DescribeRedisSecurityGroupAttachmentById ¶ added in v1.81.10
func (me *RedisService) DescribeRedisSecurityGroupAttachmentById(ctx context.Context, product string, instanceId string, securityGroupId string) (securityGroupAttachment *redis.SecurityGroup, errRet error)
func (*RedisService) DescribeRedisSslById ¶ added in v1.80.2
func (me *RedisService) DescribeRedisSslById(ctx context.Context, instanceId string) (ssl *redis.DescribeSSLStatusResponseParams, errRet error)
func (*RedisService) DescribeRedisZoneConfig ¶ added in v1.41.3
func (me *RedisService) DescribeRedisZoneConfig(ctx context.Context) (sellConfigures []*redis.RegionConf, errRet error)
func (*RedisService) DescribeTaskInfo ¶ added in v1.41.3
func (*RedisService) DestroyPostpaidInstance ¶ added in v1.41.3
func (*RedisService) DestroyPrepaidInstance ¶ added in v1.41.3
func (*RedisService) ModifyAutoBackupConfig ¶ added in v1.41.3
func (*RedisService) ModifyDBInstanceSecurityGroups ¶ added in v1.60.3
func (*RedisService) ModifyInstanceName ¶ added in v1.41.3
func (*RedisService) ModifyInstanceProjectId ¶ added in v1.41.3
func (*RedisService) ModifyParamTemplate ¶ added in v1.78.16
func (me *RedisService) ModifyParamTemplate(ctx context.Context, request *redis.ModifyParamTemplateRequest) (errRet error)
func (*RedisService) RedisAccountStateRefreshFunc ¶ added in v1.80.2
func (me *RedisService) RedisAccountStateRefreshFunc(instanceId, accountName string, failStates []string) resource.StateRefreshFunc
func (*RedisService) ResetPassword ¶ added in v1.41.3
func (*RedisService) UpgradeInstance ¶ added in v1.41.3
func (me *RedisService) UpgradeInstance(ctx context.Context, redisId string, newMemSize, redisShardNum, redisReplicasNum int, nodeSet []*redis.RedisNodeInfo) (dealId string, errRet error)
type RumService ¶ added in v1.78.15
type RumService struct {
// contains filtered or unexported fields
}
func (*RumService) DeleteRumOfflineLogConfigAttachmentById ¶ added in v1.78.15
func (me *RumService) DeleteRumOfflineLogConfigAttachmentById(ctx context.Context, projectKey, uniqueId string) (errRet error)
func (*RumService) DeleteRumProjectById ¶ added in v1.78.15
func (me *RumService) DeleteRumProjectById(ctx context.Context, id string) (errRet error)
func (*RumService) DeleteRumReleaseFileById ¶ added in v1.81.35
func (me *RumService) DeleteRumReleaseFileById(ctx context.Context, releaseFileId int64) (errRet error)
func (*RumService) DeleteRumTawInstanceById ¶ added in v1.78.15
func (me *RumService) DeleteRumTawInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*RumService) DeleteRumWhitelistById ¶ added in v1.78.15
func (me *RumService) DeleteRumWhitelistById(ctx context.Context, instanceID, id string) (errRet error)
func (*RumService) DescribeRumCustomUrlByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumEventUrlByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumFetchUrlByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumFetchUrlInfoByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumGroupLogByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumInstanceStatusConfigById ¶ added in v1.81.35
func (me *RumService) DescribeRumInstanceStatusConfigById(ctx context.Context, instanceId string) (instanceStatusConfig *rum.RumInstanceInfo, errRet error)
func (*RumService) DescribeRumLogExportByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumLogExportListByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumLogListByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumLogStatsLogListByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumLogUrlInfoByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumLogUrlStatisticsByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumOfflineLogConfigAttachment ¶ added in v1.78.15
func (me *RumService) DescribeRumOfflineLogConfigAttachment(ctx context.Context, projectKey, uniqueId string) (offlineLogConfig *rum.DescribeOfflineLogConfigsResponseParams, errRet error)
func (*RumService) DescribeRumOfflineLogConfigByFilter ¶ added in v1.78.15
func (me *RumService) DescribeRumOfflineLogConfigByFilter(ctx context.Context, param map[string]interface{}) (configs *rum.DescribeOfflineLogConfigsResponseParams, errRet error)
func (*RumService) DescribeRumPerformancePageByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumProject ¶ added in v1.78.15
func (me *RumService) DescribeRumProject(ctx context.Context, id string) (project *rum.RumProject, errRet error)
func (*RumService) DescribeRumProjectByFilter ¶ added in v1.78.15
func (me *RumService) DescribeRumProjectByFilter(ctx context.Context, param map[string]interface{}) (project []*rum.RumProject, errRet error)
func (*RumService) DescribeRumProjectStatusConfigById ¶ added in v1.81.35
func (me *RumService) DescribeRumProjectStatusConfigById(ctx context.Context, projectId string) (projectStatusConfig *rum.RumProject, errRet error)
func (*RumService) DescribeRumPvUrlInfoByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumPvUrlStatisticsByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumReleaseFileById ¶ added in v1.81.35
func (me *RumService) DescribeRumReleaseFileById(ctx context.Context, projectID, releaseFileId int64) (releaseFile *rum.ReleaseFile, errRet error)
func (*RumService) DescribeRumReportCountByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumScoresByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumSetUrlStatisticsByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumSignByFilter ¶ added in v1.81.35
func (me *RumService) DescribeRumSignByFilter(ctx context.Context, param map[string]interface{}) (sign *rum.DescribeReleaseFileSignResponseParams, errRet error)
func (*RumService) DescribeRumStaticProjectByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumStaticResourceByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumStaticUrlByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumTawAreaByFilter ¶ added in v1.81.35
func (me *RumService) DescribeRumTawAreaByFilter(ctx context.Context, param map[string]interface{}) (tawArea []*rum.RumAreaInfo, errRet error)
func (*RumService) DescribeRumTawInstance ¶ added in v1.78.15
func (me *RumService) DescribeRumTawInstance(ctx context.Context, instanceId string) (tawInstance *rum.RumInstanceInfo, errRet error)
func (*RumService) DescribeRumTawInstanceByFilter ¶ added in v1.78.15
func (me *RumService) DescribeRumTawInstanceByFilter(ctx context.Context, param map[string]interface{}) (tawInstance []*rum.RumInstanceInfo, errRet error)
func (*RumService) DescribeRumWebVitalsPageByFilter ¶ added in v1.81.35
func (*RumService) DescribeRumWhitelist ¶ added in v1.78.15
func (*RumService) DescribeRumWhitelistByFilter ¶ added in v1.78.15
type RunInstancesForNode ¶ added in v1.41.3
type SSLService ¶ added in v1.53.0
type SSLService struct {
// contains filtered or unexported fields
}
func (*SSLService) ApplyCertificate ¶ added in v1.74.2
func (me *SSLService) ApplyCertificate(ctx context.Context, request *ssl.ApplyCertificateRequest) (id string, errRet error)
func (*SSLService) CancelAuditCertificate ¶ added in v1.81.28
func (me *SSLService) CancelAuditCertificate(ctx context.Context, request *ssl.CancelAuditCertificateRequest) (err error)
func (*SSLService) CancelCertificateOrder ¶ added in v1.53.0
func (me *SSLService) CancelCertificateOrder(ctx context.Context, request *ssl.CancelCertificateOrderRequest) (err error)
func (*SSLService) CommitCertificateInformation ¶ added in v1.53.0
func (me *SSLService) CommitCertificateInformation(ctx context.Context, request *ssl.CommitCertificateInformationRequest) (errRet error)
func (*SSLService) CreateCertificate ¶ added in v1.53.0
func (me *SSLService) CreateCertificate(ctx context.Context, request *ssl.CreateCertificateRequest) (certificateId, dealId string, errRet error)
func (*SSLService) DeleteCertificate ¶ added in v1.53.0
func (me *SSLService) DeleteCertificate(ctx context.Context, request *ssl.DeleteCertificateRequest) (deleteResult bool, err error)
func (*SSLService) DescribeCertificateDetail ¶ added in v1.53.0
func (me *SSLService) DescribeCertificateDetail(ctx context.Context, request *ssl.DescribeCertificateDetailRequest) (response *ssl.DescribeCertificateDetailResponse, err error)
func (*SSLService) DescribeCertificates ¶ added in v1.55.0
func (me *SSLService) DescribeCertificates(ctx context.Context, request *ssl.DescribeCertificatesRequest) (certificateList []*ssl.Certificates, err error)
func (*SSLService) ModifyCertificateAlias ¶ added in v1.53.0
func (me *SSLService) ModifyCertificateAlias(ctx context.Context, request *ssl.ModifyCertificateAliasRequest) (err error)
func (*SSLService) ModifyCertificateProject ¶ added in v1.53.0
func (me *SSLService) ModifyCertificateProject(ctx context.Context, request *ssl.ModifyCertificateProjectRequest) (err error)
func (*SSLService) ModifyCertificateResubmit ¶ added in v1.81.28
func (me *SSLService) ModifyCertificateResubmit(ctx context.Context, request *ssl.ModifyCertificateResubmitRequest) (err error)
func (*SSLService) SubmitCertificateInformation ¶ added in v1.53.0
func (me *SSLService) SubmitCertificateInformation(ctx context.Context, request *ssl.SubmitCertificateInformationRequest) (err error)
func (*SSLService) UploadCertificate ¶ added in v1.55.0
func (me *SSLService) UploadCertificate(ctx context.Context, request *ssl.UploadCertificateRequest) (id string, err error)
func (*SSLService) UploadConfirmLetter ¶ added in v1.79.3
func (me *SSLService) UploadConfirmLetter(ctx context.Context, request *ssl.UploadConfirmLetterRequest) (err error)
type ScfService ¶ added in v1.41.3
type ScfService struct {
// contains filtered or unexported fields
}
func (*ScfService) CreateFunction ¶ added in v1.41.3
func (me *ScfService) CreateFunction(ctx context.Context, info scfFunctionInfo) error
func (*ScfService) CreateNamespace ¶ added in v1.41.3
func (me *ScfService) CreateNamespace(ctx context.Context, namespace, desc string) error
func (*ScfService) CreateTriggers ¶ added in v1.41.3
func (me *ScfService) CreateTriggers(ctx context.Context, functionName, namespace string, triggers []scfTrigger) error
func (*ScfService) DeleteFunction ¶ added in v1.41.3
func (me *ScfService) DeleteFunction(ctx context.Context, name, namespace string) error
func (*ScfService) DeleteNamespace ¶ added in v1.41.3
func (me *ScfService) DeleteNamespace(ctx context.Context, namespace string) error
func (*ScfService) DeleteScfFunctionAliasById ¶ added in v1.81.0
func (*ScfService) DeleteScfFunctionVersionById ¶ added in v1.81.2
func (*ScfService) DeleteScfProvisionedConcurrencyConfigById ¶ added in v1.81.3
func (*ScfService) DeleteScfReservedConcurrencyConfigById ¶ added in v1.81.3
func (*ScfService) DeleteTriggers ¶ added in v1.41.3
func (me *ScfService) DeleteTriggers(ctx context.Context, functionName, namespace string, triggers []scfTrigger) error
func (*ScfService) DescribeFunction ¶ added in v1.41.3
func (me *ScfService) DescribeFunction(ctx context.Context, name, namespace string) (resp *scf.GetFunctionResponse, err error)
func (*ScfService) DescribeFunctions ¶ added in v1.41.3
func (*ScfService) DescribeLogs ¶ added in v1.41.3
func (me *ScfService) DescribeLogs( ctx context.Context, fnName, namespace, order, orderBy string, offset, limit int, retCode, invokeRequestId, startTime, endTime *string, ) (logs []*scf.FunctionLog, err error)
func (*ScfService) DescribeNamespace ¶ added in v1.41.3
func (*ScfService) DescribeNamespaces ¶ added in v1.41.3
func (*ScfService) DescribeScfAccountInfo ¶ added in v1.81.3
func (me *ScfService) DescribeScfAccountInfo(ctx context.Context) (accountInfo *scf.GetAccountResponseParams, errRet error)
func (*ScfService) DescribeScfAsyncEventManagementByFilter ¶ added in v1.81.3
func (me *ScfService) DescribeScfAsyncEventManagementByFilter(ctx context.Context, param map[string]interface{}) (AsyncEventManagement []*scf.AsyncEvent, errRet error)
func (*ScfService) DescribeScfAsyncEventStatus ¶ added in v1.81.3
func (me *ScfService) DescribeScfAsyncEventStatus(ctx context.Context, param map[string]interface{}) (asyncEventStatus *scf.AsyncEventStatus, errRet error)
func (*ScfService) DescribeScfFunctionAddress ¶ added in v1.81.3
func (me *ScfService) DescribeScfFunctionAddress(ctx context.Context, param map[string]interface{}) (functionAddress *scf.GetFunctionAddressResponseParams, errRet error)
func (*ScfService) DescribeScfFunctionAliasById ¶ added in v1.81.0
func (me *ScfService) DescribeScfFunctionAliasById(ctx context.Context, namespace string, functionName string, name string) (functionAlias *scf.GetAliasResponse, errRet error)
func (*ScfService) DescribeScfFunctionAliasesByFilter ¶ added in v1.81.3
func (*ScfService) DescribeScfFunctionEventInvokeConfigById ¶ added in v1.81.2
func (me *ScfService) DescribeScfFunctionEventInvokeConfigById(ctx context.Context, namespace string, functionName string) (FunctionEventInvokeConfig *scf.AsyncTriggerConfig, errRet error)
func (*ScfService) DescribeScfFunctionVersionById ¶ added in v1.81.2
func (me *ScfService) DescribeScfFunctionVersionById(ctx context.Context, functionName string, namespace string, functionVersion string) (FunctionVersion *scf.GetFunctionResponse, errRet error)
func (*ScfService) DescribeScfFunctionVersionsByFilter ¶ added in v1.81.3
func (me *ScfService) DescribeScfFunctionVersionsByFilter(ctx context.Context, param map[string]interface{}) (functionVersions []*scf.FunctionVersion, errRet error)
func (*ScfService) DescribeScfLayerVersions ¶ added in v1.81.3
func (me *ScfService) DescribeScfLayerVersions(ctx context.Context, param map[string]interface{}) (layerVersions []*scf.LayerVersionInfo, errRet error)
func (*ScfService) DescribeScfLayersByFilter ¶ added in v1.81.3
func (me *ScfService) DescribeScfLayersByFilter(ctx context.Context, param map[string]interface{}) (layers []*scf.LayerVersionInfo, errRet error)
func (*ScfService) DescribeScfProvisionedConcurrencyConfigById ¶ added in v1.81.3
func (me *ScfService) DescribeScfProvisionedConcurrencyConfigById(ctx context.Context, functionName string, qualifier string, namespace string) (provisionedConcurrencyConfig *scf.VersionProvisionedConcurrencyInfo, errRet error)
func (*ScfService) DescribeScfRequestStatusByFilter ¶ added in v1.81.3
func (me *ScfService) DescribeScfRequestStatusByFilter(ctx context.Context, param map[string]interface{}) (requestStatus []*scf.RequestStatus, errRet error)
func (*ScfService) DescribeScfReservedConcurrencyConfigById ¶ added in v1.81.3
func (me *ScfService) DescribeScfReservedConcurrencyConfigById(ctx context.Context, namespace string, functionName string) (reservedConcurrencyConfig *scf.GetReservedConcurrencyConfigResponse, errRet error)
func (*ScfService) DescribeScfTriggerConfigById ¶ added in v1.81.5
func (me *ScfService) DescribeScfTriggerConfigById(ctx context.Context, functionName string, namespace string, triggerName string) (triggerConfig *scf.TriggerInfo, errRet error)
func (*ScfService) DescribeScfTriggersByFilter ¶ added in v1.81.3
func (me *ScfService) DescribeScfTriggersByFilter(ctx context.Context, param map[string]interface{}) (Triggers []*scf.TriggerInfo, errRet error)
func (*ScfService) ModifyFunctionCode ¶ added in v1.41.3
func (me *ScfService) ModifyFunctionCode(ctx context.Context, info scfFunctionInfo) error
func (*ScfService) ModifyFunctionConfig ¶ added in v1.41.3
func (me *ScfService) ModifyFunctionConfig(ctx context.Context, info scfFunctionInfo) error
func (*ScfService) ModifyNamespace ¶ added in v1.41.3
func (me *ScfService) ModifyNamespace(ctx context.Context, namespace, desc string) error
type SecretInfo ¶ added in v1.55.0
type SecretInfo struct {
// contains filtered or unexported fields
}
type SecretVersionInfo ¶ added in v1.55.0
type SecretVersionInfo struct {
// contains filtered or unexported fields
}
type SesService ¶ added in v1.78.8
type SesService struct {
// contains filtered or unexported fields
}
func (*SesService) CheckEmailIdentityById ¶ added in v1.81.25
func (me *SesService) CheckEmailIdentityById(ctx context.Context, emailIdentity string) (errRet error)
func (*SesService) DeleteSesDomainById ¶ added in v1.78.8
func (me *SesService) DeleteSesDomainById(ctx context.Context, emailIdentity string) (errRet error)
func (*SesService) DeleteSesEmail_addressById ¶ added in v1.78.8
func (me *SesService) DeleteSesEmail_addressById(ctx context.Context, emailAddress string) (errRet error)
func (*SesService) DeleteSesReceiverById ¶ added in v1.81.25
func (me *SesService) DeleteSesReceiverById(ctx context.Context, receiverId string) (errRet error)
func (*SesService) DeleteSesTemplateById ¶ added in v1.78.8
func (me *SesService) DeleteSesTemplateById(ctx context.Context, templateID uint64) (errRet error)
func (*SesService) DescribeSesBlackEmailAddressByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesBlackEmailAddressByFilter(ctx context.Context, param map[string]interface{}) (blackEmailAddress []*ses.BlackEmailAddress, errRet error)
func (*SesService) DescribeSesDomain ¶ added in v1.78.8
func (me *SesService) DescribeSesDomain(ctx context.Context, emailIdentity string) (attributes []*ses.DNSAttributes, errRet error)
func (*SesService) DescribeSesEmailAddress ¶ added in v1.78.8
func (me *SesService) DescribeSesEmailAddress(ctx context.Context, emailAddress string) (emailSender *ses.EmailSender, errRet error)
func (*SesService) DescribeSesEmailIdentitiesByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesEmailIdentitiesByFilter(ctx context.Context) (emailIdentities *ses.ListEmailIdentitiesResponseParams, errRet error)
func (*SesService) DescribeSesReceiverById ¶ added in v1.81.25
func (me *SesService) DescribeSesReceiverById(ctx context.Context, receiverId string) (Receiver *ses.ReceiverData, errRet error)
func (*SesService) DescribeSesReceiverDetailById ¶ added in v1.81.27
func (me *SesService) DescribeSesReceiverDetailById(ctx context.Context, receiverId string) (receiverDetail []*ses.ReceiverDetail, errRet error)
func (*SesService) DescribeSesReceiversByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesReceiversByFilter(ctx context.Context, param map[string]interface{}) (receivers []*ses.ReceiverData, errRet error)
func (*SesService) DescribeSesSendEmailStatusByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesSendEmailStatusByFilter(ctx context.Context, param map[string]interface{}) (sendEmailStatus []*ses.SendEmailStatus, errRet error)
func (*SesService) DescribeSesSendTasksByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesSendTasksByFilter(ctx context.Context, param map[string]interface{}) (sendTasks []*ses.SendTaskData, errRet error)
func (*SesService) DescribeSesStatisticsReportByFilter ¶ added in v1.81.25
func (me *SesService) DescribeSesStatisticsReportByFilter(ctx context.Context, param map[string]interface{}) (statisticsReport *ses.GetStatisticsReportResponseParams, errRet error)
func (*SesService) DescribeSesTemplate ¶ added in v1.78.8
func (me *SesService) DescribeSesTemplate(ctx context.Context, templateId uint64) (templateResponse *ses.GetEmailTemplateResponseParams, errRet error)
func (*SesService) DescribeSesTemplateMetadata ¶ added in v1.78.8
func (me *SesService) DescribeSesTemplateMetadata(ctx context.Context, templateId uint64) (templatesMetadata *ses.TemplatesMetadata, errRet error)
func (*SesService) DescribeSesVerifyDomainById ¶ added in v1.81.25
func (me *SesService) DescribeSesVerifyDomainById(ctx context.Context, emailIdentity string) (verifyDomain *ses.GetEmailIdentityResponseParams, errRet error)
type SmsService ¶ added in v1.78.7
type SmsService struct {
// contains filtered or unexported fields
}
func (*SmsService) DeleteSmsSignById ¶ added in v1.78.7
func (me *SmsService) DeleteSmsSignById(ctx context.Context, signId string) (errRet error)
func (*SmsService) DeleteSmsTemplateById ¶ added in v1.78.7
func (me *SmsService) DeleteSmsTemplateById(ctx context.Context, templateId string) (errRet error)
func (*SmsService) DescribeSmsSign ¶ added in v1.78.7
func (me *SmsService) DescribeSmsSign(ctx context.Context, signId string, international string) (sign *sms.DescribeSignListStatus, errRet error)
func (*SmsService) DescribeSmsTemplate ¶ added in v1.78.7
func (me *SmsService) DescribeSmsTemplate(ctx context.Context, templateId string, international string) (template *sms.DescribeTemplateListStatus, errRet error)
type SourceContentJson ¶ added in v1.81.36
type SqlserverService ¶ added in v1.41.3
type SqlserverService struct {
// contains filtered or unexported fields
}
func (*SqlserverService) AddSecurityGroup ¶ added in v1.41.3
func (*SqlserverService) CreateSqlserverAccount ¶ added in v1.41.3
func (*SqlserverService) CreateSqlserverBasicInstance ¶ added in v1.48.0
func (*SqlserverService) CreateSqlserverDB ¶ added in v1.41.3
func (*SqlserverService) CreateSqlserverInstance ¶ added in v1.41.3
func (me *SqlserverService) CreateSqlserverInstance(ctx context.Context, request *sqlserver.CreateDBInstancesRequest) (instanceId string, errRet error)
func (*SqlserverService) CreateSqlserverPublishSubscribe ¶ added in v1.45.0
func (me *SqlserverService) CreateSqlserverPublishSubscribe(ctx context.Context, publishInstanceId, subscribeInstanceId, publishSubscribeName string, databaseTuples []interface{}) (errRet error)
func (*SqlserverService) CreateSqlserverReadonlyInstance ¶ added in v1.41.3
func (me *SqlserverService) CreateSqlserverReadonlyInstance(ctx context.Context, request *sqlserver.CreateReadOnlyDBInstancesRequest) (instanceId string, errRet error)
func (*SqlserverService) DeletePublishSubscribe ¶ added in v1.45.0
func (me *SqlserverService) DeletePublishSubscribe(ctx context.Context, publishSubscribe *sqlserver.PublishSubscribe, deleteDatabaseTuples []*sqlserver.DatabaseTuple) (errRet error)
func (*SqlserverService) DeleteSqlserverAccount ¶ added in v1.41.3
func (*SqlserverService) DeleteSqlserverBusinessIntelligenceFileById ¶ added in v1.81.2
func (me *SqlserverService) DeleteSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (errRet error)
func (*SqlserverService) DeleteSqlserverDB ¶ added in v1.41.3
func (*SqlserverService) DeleteSqlserverFullBackupMigrationById ¶ added in v1.81.0
func (me *SqlserverService) DeleteSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralBackupsById ¶ added in v1.81.0
func (me *SqlserverService) DeleteSqlserverGeneralBackupsById(ctx context.Context, instanceId, backupName string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCloneDB ¶ added in v1.81.0
func (me *SqlserverService) DeleteSqlserverGeneralCloneDB(ctx context.Context, instanceId, dbName string) (deleteResp *sqlserver.DeleteDBResponse, errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById ¶ added in v1.81.10
func (me *SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCommunicationById ¶ added in v1.81.2
func (*SqlserverService) DeleteSqlserverIncreBackupMigrationById ¶ added in v1.81.2
func (me *SqlserverService) DeleteSqlserverIncreBackupMigrationById(ctx context.Context, instanceId, backupMigrationId, incrementalMigrationId string) (errRet error)
func (*SqlserverService) DeleteSqlserverInstance ¶ added in v1.41.3
func (me *SqlserverService) DeleteSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DeleteSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverMigrationById ¶ added in v1.79.7
func (me *SqlserverService) DeleteSqlserverMigrationById(ctx context.Context, migrateId string) (errRet error)
func (*SqlserverService) DescribeAccountDBAttachmentById ¶ added in v1.41.3
func (*SqlserverService) DescribeAccountDBAttachments ¶ added in v1.41.3
func (*SqlserverService) DescribeBackupByFlowId ¶ added in v1.81.0
func (me *SqlserverService) DescribeBackupByFlowId(ctx context.Context, instanceId, flowId string) (BackupInfo *sqlserver.DescribeBackupByFlowIdResponse, errRet error)
func (*SqlserverService) DescribeCloneStatusByFlowId ¶ added in v1.81.0
func (me *SqlserverService) DescribeCloneStatusByFlowId(ctx context.Context, flowId int64) (cloneStatus *sqlserver.DescribeFlowStatusResponseParams, errRet error)
func (*SqlserverService) DescribeDBDetailsById ¶ added in v1.41.3
func (*SqlserverService) DescribeDBsOfInstance ¶ added in v1.41.3
func (*SqlserverService) DescribeInstanceSecurityGroups ¶ added in v1.41.3
func (*SqlserverService) DescribeMaintenanceSpan ¶ added in v1.41.3
func (*SqlserverService) DescribeMaintenanceSpanById ¶ added in v1.81.2
func (me *SqlserverService) DescribeMaintenanceSpanById(ctx context.Context, instanceId string) (maintenanceSpan *sqlserver.DescribeMaintenanceSpanResponseParams, errRet error)
func (*SqlserverService) DescribeProductConfig ¶ added in v1.41.3
func (*SqlserverService) DescribeReadonlyGroupList ¶ added in v1.41.3
func (me *SqlserverService) DescribeReadonlyGroupList(ctx context.Context, instanceId string) (groupList []*sqlserver.ReadOnlyGroup, errRet error)
func (*SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId ¶ added in v1.41.3
func (me *SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId(ctx context.Context, instanceId string) (readonlyInstance *sqlserver.DescribeReadOnlyGroupByReadOnlyInstanceResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverAccountById ¶ added in v1.41.3
func (me *SqlserverService) DescribeSqlserverAccountById(ctx context.Context, instanceId string, userName string) (account *sqlserver.AccountDetail, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverAccounts ¶ added in v1.41.3
func (me *SqlserverService) DescribeSqlserverAccounts(ctx context.Context, instanceId string) (accounts []*sqlserver.AccountDetail, errRet error)
func (*SqlserverService) DescribeSqlserverBackupByBackupId ¶ added in v1.81.0
func (*SqlserverService) DescribeSqlserverBackupCommand ¶ added in v1.81.0
func (me *SqlserverService) DescribeSqlserverBackupCommand(ctx context.Context, param map[string]interface{}) (datasourceBackupCommand []*sqlserver.DescribeBackupCommandResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverBackupUploadSizeByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverBackupUploadSizeByFilter(ctx context.Context, param map[string]interface{}) (datasourceBackupUploadSize []*sqlserver.CosUploadBackupFile, errRet error)
func (*SqlserverService) DescribeSqlserverBackups ¶ added in v1.41.3
func (*SqlserverService) DescribeSqlserverBackupsById ¶ added in v1.81.0
func (me *SqlserverService) DescribeSqlserverBackupsById(ctx context.Context, instanceId, groupId string) (generalBackups *sqlserver.BackupFile, errRet error)
func (*SqlserverService) DescribeSqlserverBusinessIntelligenceFileById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (businessIntelligenceFile *sqlserver.BusinessIntelligenceFile, errRet error)
func (*SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById(ctx context.Context, instanceId string) (businessIntelligenceInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigBackupStrategyById ¶ added in v1.80.4
func (me *SqlserverService) DescribeSqlserverConfigBackupStrategyById(ctx context.Context, instanceId string) (configBackupStrategy *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseCDCById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigDatabaseCDCById(ctx context.Context, instanceId string) (configDatabaseCDC []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseCTById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigDatabaseCTById(ctx context.Context, instanceId string) (configDatabaseCT []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseMdfById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigDatabaseMdfById(ctx context.Context, instanceId string) (configDatabaseMdf []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceNetworkById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigInstanceNetworkById(ctx context.Context, instanceId string) (configInstanceNetwork *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceParamById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigInstanceParamById(ctx context.Context, instanceId string) (configInstanceParam []*sqlserver.ParameterDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceRoGroupById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigInstanceRoGroupById(ctx context.Context, instanceId, readOnlyGroupId string) (configInstanceRoGroup *sqlserver.DescribeReadOnlyGroupDetailsResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById(ctx context.Context, instanceId string) (configInstanceSecurityGroups []*sqlserver.SecurityGroup, errRet error)
func (*SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById(ctx context.Context, instanceId string) (configTerminateDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverCrossRegionZoneByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverCrossRegionZoneByFilter(ctx context.Context, param map[string]interface{}) (datasourceCrossRegionZone *sqlserver.DescribeCrossRegionZoneResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverDBS ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverDBS(ctx context.Context, instanceId, dbName string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverDatabaseTDEById ¶ added in v1.81.10
func (me *SqlserverService) DescribeSqlserverDatabaseTDEById(ctx context.Context, instanceId string, dbNameList []string) (databaseTDE *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter ¶ added in v1.81.2
func (*SqlserverService) DescribeSqlserverDatasourceRegionsByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)
func (*SqlserverService) DescribeSqlserverFullBackupMigrationById ¶ added in v1.81.0
func (*SqlserverService) DescribeSqlserverGeneralCloneById ¶ added in v1.81.0
func (me *SqlserverService) DescribeSqlserverGeneralCloneById(ctx context.Context, instanceId string) (generalCommunication []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCloudInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverGeneralCloudInstanceById(ctx context.Context, instanceId string) (generalCloudInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById ¶ added in v1.81.10
func (me *SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (generalCloudRoInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCommunicationById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (generalCommunication *sqlserver.InterInstance, errRet error)
func (*SqlserverService) DescribeSqlserverIncreBackupMigrationById ¶ added in v1.81.2
func (*SqlserverService) DescribeSqlserverInsAttributeByFilter ¶ added in v1.81.10
func (me *SqlserverService) DescribeSqlserverInsAttributeByFilter(ctx context.Context, param map[string]interface{}) (datasourceInsAttribute *sqlserver.DescribeDBInstancesAttributeResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceById ¶ added in v1.41.3
func (me *SqlserverService) DescribeSqlserverInstanceById(ctx context.Context, instanceId string) (instance *sqlserver.DBInstance, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecords []*sqlserver.ParamRecord, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceTDEById ¶ added in v1.81.10
func (me *SqlserverService) DescribeSqlserverInstanceTDEById(ctx context.Context, instanceId string) (instanceTDE *sqlserver.DescribeDBInstancesAttributeResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverInstances ¶ added in v1.41.3
func (me *SqlserverService) DescribeSqlserverInstances(ctx context.Context, instanceId, instanceName string, projectId int, vpcId, subnetId string, netType int) (instanceList []*sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverMigrationById ¶ added in v1.79.7
func (me *SqlserverService) DescribeSqlserverMigrationById(ctx context.Context, migrateId string) (migration *sqlserver.DescribeMigrationDetailResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverMigrationsByFilter ¶ added in v1.79.7
func (me *SqlserverService) DescribeSqlserverMigrationsByFilter(ctx context.Context, param map[string]interface{}) (migrateTasks []*sqlserver.MigrateTask, errRet error)
func (*SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*sqlserver.SecurityGroup, errRet error)
func (*SqlserverService) DescribeSqlserverPublishSubscribeById ¶ added in v1.45.0
func (me *SqlserverService) DescribeSqlserverPublishSubscribeById(ctx context.Context, instanceId, pubOrSubInstanceId string) (instance *sqlserver.PublishSubscribe, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverPublishSubscribes ¶ added in v1.45.0
func (me *SqlserverService) DescribeSqlserverPublishSubscribes(ctx context.Context, paramMap map[string]interface{}) (publishSubscribeList []*sqlserver.PublishSubscribe, errRet error)
func (*SqlserverService) DescribeSqlserverQueryXeventByFilter ¶ added in v1.81.10
func (*SqlserverService) DescribeSqlserverRenewDBInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRenewDBInstanceById(ctx context.Context, instanceId string) (renewDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById(ctx context.Context, instanceId string) (renewPostpaidDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRestartDBInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRestartDBInstanceById(ctx context.Context, instanceId string) (restartDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRestoreInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRestoreInstanceById(ctx context.Context, instanceId string, allNameList []string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverRollbackInstanceById ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRollbackInstanceById(ctx context.Context, instanceId string, allNameList []string) (rollBackInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverRollbackTimeByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverRollbackTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTime []*sqlserver.DbRollbackTimeInfo, errRet error)
func (*SqlserverService) DescribeSqlserverSlowlogsByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverSlowlogsByFilter(ctx context.Context, param map[string]interface{}) (slowlogs []*sqlserver.SlowlogInfo, errRet error)
func (*SqlserverService) DescribeSqlserverUploadBackupInfoByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverUploadBackupInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadBackupInfo *sqlserver.DescribeUploadBackupInfoResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter ¶ added in v1.81.2
func (me *SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadIncrementalInfo *sqlserver.DescribeUploadIncrementalInfoResponseParams, errRet error)
func (*SqlserverService) DescribeZones ¶ added in v1.41.3
func (*SqlserverService) GetInfoFromDeal ¶ added in v1.41.3
func (*SqlserverService) ModifyAccountDBAttachment ¶ added in v1.41.3
func (me *SqlserverService) ModifyAccountDBAttachment(ctx context.Context, instanceId, accountName, dbName, privilege string) (errRet error)
func (*SqlserverService) ModifyPublishSubscribeName ¶ added in v1.45.0
func (*SqlserverService) ModifySqlserverAccountRemark ¶ added in v1.41.3
func (*SqlserverService) ModifySqlserverDBRemark ¶ added in v1.41.3
func (*SqlserverService) ModifySqlserverInstanceMaintenanceSpan ¶ added in v1.41.3
func (*SqlserverService) ModifySqlserverInstanceName ¶ added in v1.41.3
func (*SqlserverService) ModifySqlserverInstanceProjectId ¶ added in v1.41.3
func (*SqlserverService) NewModifyDBInstanceRenewFlag ¶ added in v1.48.0
func (*SqlserverService) RecycleDBInstance ¶ added in v1.46.0
func (me *SqlserverService) RecycleDBInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) RemoveSecurityGroup ¶ added in v1.41.3
func (*SqlserverService) ResetSqlserverAccountPassword ¶ added in v1.41.3
func (*SqlserverService) TerminateSqlserverInstance ¶ added in v1.41.3
func (me *SqlserverService) TerminateSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) TerminateSqlserverInstanceById ¶ added in v1.81.2
func (me *SqlserverService) TerminateSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) UpgradeSqlserverBasicInstance ¶ added in v1.48.0
func (*SqlserverService) UpgradeSqlserverInstance ¶ added in v1.41.3
func (*SqlserverService) WaitForTaskFinish ¶ added in v1.41.3
func (me *SqlserverService) WaitForTaskFinish(ctx context.Context, flowId int64) (errRet error)
type SslService ¶ added in v1.41.3
type SslService struct {
// contains filtered or unexported fields
}
func (*SslService) CheckCertificateType ¶ added in v1.55.0
func (*SslService) CreateCertificate ¶ added in v1.41.3
func (*SslService) DeleteCertificate ¶ added in v1.41.3
func (me *SslService) DeleteCertificate(ctx context.Context, id string) error
func (*SslService) DescribeCertificates ¶ added in v1.41.3
func (me *SslService) DescribeCertificates(ctx context.Context, id, name, certType *string) (certificates []*ssl.SSLCertificate, err error)
func (*SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskDetail *ssl.DescribeCertificateBindResourceTaskDetailResponseParams, errRet error)
func (*SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskResult []*ssl.SyncTaskBindResourceResult, errRet error)
func (*SslService) DescribeSslDescribeCertificateByID ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeCertificateByID(ctx context.Context, certificateId string) (describeCertificate *ssl.DescribeCertificateResponseParams, errRet error)
func (*SslService) DescribeSslDescribeCompaniesByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeCompaniesByFilter(ctx context.Context, param map[string]interface{}) (describeCompanies []*ssl.CompanyInfo, errRet error)
func (*SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostApiGatewayInstanceList []*ssl.ApiGatewayInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostCdnInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostCdnInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCdnInstanceList *ssl.DescribeHostCdnInstanceListResponseParams, err error)
func (*SslService) DescribeSslDescribeHostClbInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostClbInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostClbInstanceList *ssl.DescribeHostClbInstanceListResponseParams, err error)
func (*SslService) DescribeSslDescribeHostCosInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostCosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCosInstanceList *ssl.DescribeHostCosInstanceListResponseParams, errRet error)
func (*SslService) DescribeSslDescribeHostDdosInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostDdosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostDdosInstanceList []*ssl.DdosInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostDeployRecordByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostDeployRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostDeployRecord []*ssl.DeployRecordInfo, errRet error)
func (*SslService) DescribeSslDescribeHostDeployRecordDetailByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostDeployRecordDetailByFilter( ctx context.Context, param map[string]interface{}) ( describeHostDeployRecordDetail []*ssl.DeployRecordDetail, successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64, errRet error)
func (*SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLighthouseInstanceList []*ssl.LighthouseInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostLiveInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostLiveInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLiveInstanceList []*ssl.LiveInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostTeoInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostTeoInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostTeoInstanceList []*ssl.TeoInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostTkeInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostTkeInstanceListByFilter( ctx context.Context, param map[string]interface{}) ( describeHostTkeInstanceList []*ssl.TkeInstanceDetail, asyncTotalNum *int64, asyncOffset *int64, asyncCacheTime *string, errRet error)
func (*SslService) DescribeSslDescribeHostUpdateRecordByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostUpdateRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostUpdateRecord []*ssl.UpdateRecordInfo, errRet error)
func (*SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter( ctx context.Context, param map[string]interface{}) ( describeHostUpdateRecordDetail []*ssl.UpdateRecordDetails, successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64, errRet error)
func (*SslService) DescribeSslDescribeHostVodInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostVodInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostVodInstanceList []*ssl.VodInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeHostWafInstanceListByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeHostWafInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostWafInstanceList []*ssl.LiveInstanceDetail, errRet error)
func (*SslService) DescribeSslDescribeManagerDetailByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeManagerDetailByFilter(ctx context.Context, managerId string) (describeManagerDetailResponse *ssl.DescribeManagerDetailResponseParams, errRet error)
func (*SslService) DescribeSslDescribeManagersByFilter ¶ added in v1.81.35
func (me *SslService) DescribeSslDescribeManagersByFilter(ctx context.Context, param map[string]interface{}) (describeManagers []*ssl.ManagerInfo, errRet error)
type SsmService ¶ added in v1.55.0
type SsmService struct {
// contains filtered or unexported fields
}
func (*SsmService) CreateSecret ¶ added in v1.55.0
func (*SsmService) DeleteSecret ¶ added in v1.55.0
func (*SsmService) DeleteSecretVersion ¶ added in v1.55.0
func (me *SsmService) DeleteSecretVersion(ctx context.Context, secretName, versionId string) (errRet error)
func (*SsmService) DeleteSsmProductSecretById ¶ added in v1.81.19
func (me *SsmService) DeleteSsmProductSecretById(ctx context.Context, secretName string) (errRet error)
func (*SsmService) DeleteSsmSshKeyPairSecretById ¶ added in v1.81.11
func (*SsmService) DescribeAsyncRequestInfo ¶ added in v1.81.19
func (*SsmService) DescribeSecretById ¶ added in v1.81.11
func (me *SsmService) DescribeSecretById(ctx context.Context, secretName string, serviceType uint64) (sshKeyPairSecret *ssm.SecretMetadata, errRet error)
func (*SsmService) DescribeSecretByName ¶ added in v1.55.0
func (me *SsmService) DescribeSecretByName(ctx context.Context, secretName string) (secret *SecretInfo, errRet error)
func (*SsmService) DescribeSecretVersion ¶ added in v1.55.0
func (me *SsmService) DescribeSecretVersion(ctx context.Context, secretName, versionId string) (secretVersion *SecretVersionInfo, errRet error)
func (*SsmService) DescribeSecretVersionIdsByName ¶ added in v1.55.0
func (*SsmService) DescribeSecretsByFilter ¶ added in v1.55.0
func (me *SsmService) DescribeSecretsByFilter(ctx context.Context, param map[string]interface{}) (secrets []*ssm.SecretMetadata, errRet error)
func (*SsmService) DescribeSsmProductsByFilter ¶ added in v1.81.19
func (me *SsmService) DescribeSsmProductsByFilter(ctx context.Context) (products []*string, errRet error)
func (*SsmService) DescribeSsmRotationDetailByFilter ¶ added in v1.81.33
func (me *SsmService) DescribeSsmRotationDetailByFilter(ctx context.Context, param map[string]interface{}) (rotationDetail *ssm.DescribeRotationDetailResponseParams, errRet error)
func (*SsmService) DescribeSsmRotationHistoryByFilter ¶ added in v1.81.33
func (*SsmService) DescribeSsmServiceStatusByFilter ¶ added in v1.81.33
func (me *SsmService) DescribeSsmServiceStatusByFilter(ctx context.Context) (ServiceStatus *ssm.GetServiceStatusResponseParams, errRet error)
func (*SsmService) DescribeSsmSshKeyPairValueByFilter ¶ added in v1.81.33
func (me *SsmService) DescribeSsmSshKeyPairValueByFilter(ctx context.Context, param map[string]interface{}) (sshKeyPairValue *ssm.GetSSHKeyPairValueResponseParams, errRet error)
func (*SsmService) DisableSecret ¶ added in v1.55.0
func (me *SsmService) DisableSecret(ctx context.Context, secretName string) (errRet error)
func (*SsmService) EnableSecret ¶ added in v1.55.0
func (me *SsmService) EnableSecret(ctx context.Context, secretName string) (errRet error)
func (*SsmService) PutSecretValue ¶ added in v1.55.0
func (*SsmService) SsmProductSecretStateRefreshFunc ¶ added in v1.81.19
func (me *SsmService) SsmProductSecretStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
func (*SsmService) UpdateSecret ¶ added in v1.55.0
func (me *SsmService) UpdateSecret(ctx context.Context, param map[string]interface{}) (errRet error)
func (*SsmService) UpdateSecretDescription ¶ added in v1.55.0
func (me *SsmService) UpdateSecretDescription(ctx context.Context, secretName, description string) (errRet error)
type StsService ¶ added in v1.78.7
type StsService struct {
// contains filtered or unexported fields
}
func (*StsService) DescribeStsCallerIdentityByFilter ¶ added in v1.78.7
func (me *StsService) DescribeStsCallerIdentityByFilter(ctx context.Context) (callerIdentity *sts.GetCallerIdentityResponseParams, errRet error)
type TCRService ¶ added in v1.49.0
type TCRService struct {
// contains filtered or unexported fields
}
func (*TCRService) CreateReplicationInstance ¶ added in v1.78.1
func (me *TCRService) CreateReplicationInstance(ctx context.Context, request *tcr.CreateReplicationInstanceRequest) (id string, errRet error)
func (*TCRService) CreateTCRInstance ¶ added in v1.49.0
func (*TCRService) CreateTCRLongTermToken ¶ added in v1.49.0
func (me *TCRService) CreateTCRLongTermToken(ctx context.Context, instanceId string, description string) (tokenId string, token string, userName string, errRet error)
longterm token
func (*TCRService) CreateTCRNameSpace ¶ added in v1.49.0
func (me *TCRService) CreateTCRNameSpace(ctx context.Context, instanceId string, name string, isPublic, isAutoScan, isPreventVUL bool, severity string, whitelistItems []interface{}) (errRet error)
name space
func (*TCRService) CreateTCRRepository ¶ added in v1.49.0
func (me *TCRService) CreateTCRRepository(ctx context.Context, instanceId string, namespace string, repositoryName string, briefDesc string, description string) (errRet error)
repository
func (*TCRService) CreateTCRVPCAttachment ¶ added in v1.51.0
func (me *TCRService) CreateTCRVPCAttachment(ctx context.Context, instanceId string, vpcId string, subnetId string, regionId int64, regionName string, ) (errRet error)
VPC attachment
func (*TCRService) CreateTcrVpcDns ¶ added in v1.54.1
func (*TCRService) DeleteReplicationInstance ¶ added in v1.78.1
func (me *TCRService) DeleteReplicationInstance(ctx context.Context, request *tcr.DeleteReplicationInstanceRequest) (errRet error)
func (*TCRService) DeleteTCRInstance ¶ added in v1.49.0
func (*TCRService) DeleteTCRLongTermToken ¶ added in v1.49.0
func (*TCRService) DeleteTCRNameSpace ¶ added in v1.49.0
func (*TCRService) DeleteTCRRepository ¶ added in v1.49.0
func (*TCRService) DeleteTCRVPCAttachment ¶ added in v1.51.0
func (*TCRService) DeleteTcrCustomizedDomainById ¶ added in v1.81.0
func (*TCRService) DeleteTcrImmutableTagRuleById ¶ added in v1.81.0
func (*TCRService) DeleteTcrServiceAccountById ¶ added in v1.81.13
func (*TCRService) DeleteTcrTagRetentionRuleById ¶ added in v1.80.3
func (*TCRService) DeleteTcrVpcDns ¶ added in v1.54.1
func (*TCRService) DeleteTcrWebhookTriggerById ¶ added in v1.80.6
func (*TCRService) DescribeExternalEndpointStatus ¶ added in v1.53.9
func (*TCRService) DescribeReplicationInstances ¶ added in v1.78.1
func (me *TCRService) DescribeReplicationInstances(ctx context.Context, request *tcr.DescribeReplicationInstancesRequest) (list []*tcr.ReplicationRegistry, errRet error)
func (*TCRService) DescribeSecurityPolicies ¶ added in v1.72.6
func (me *TCRService) DescribeSecurityPolicies(ctx context.Context, request *tcr.DescribeSecurityPoliciesRequest) (policies []*tcr.SecurityPolicy, errRet error)
func (*TCRService) DescribeTCRInstanceById ¶ added in v1.49.0
func (*TCRService) DescribeTCRInstances ¶ added in v1.49.0
func (*TCRService) DescribeTCRLongTermTokenById ¶ added in v1.49.0
func (me *TCRService) DescribeTCRLongTermTokenById(ctx context.Context, instanceId string, tokenId string) (token *tcr.TcrInstanceToken, has bool, errRet error)
func (*TCRService) DescribeTCRNameSpaceById ¶ added in v1.49.0
func (me *TCRService) DescribeTCRNameSpaceById(ctx context.Context, instanceId string, name string) (namespace *tcr.TcrNamespaceInfo, has bool, errRet error)
func (*TCRService) DescribeTCRNameSpaces ¶ added in v1.49.0
func (me *TCRService) DescribeTCRNameSpaces(ctx context.Context, instanceId string, name string) (namespaceList []*tcr.TcrNamespaceInfo, errRet error)
func (*TCRService) DescribeTCRRepositories ¶ added in v1.49.0
func (me *TCRService) DescribeTCRRepositories(ctx context.Context, instanceId string, namespace string, repositoryName string) (repositoryList []*tcr.TcrRepositoryInfo, errRet error)
func (*TCRService) DescribeTCRRepositoryById ¶ added in v1.49.0
func (me *TCRService) DescribeTCRRepositoryById(ctx context.Context, instanceId string, namespace string, repositoryName string) (repository *tcr.TcrRepositoryInfo, has bool, errRet error)
func (*TCRService) DescribeTCRTokens ¶ added in v1.49.0
func (me *TCRService) DescribeTCRTokens(ctx context.Context, instanceId string, tokenId string) (tokenList []*tcr.TcrInstanceToken, errRet error)
func (*TCRService) DescribeTCRVPCAttachmentById ¶ added in v1.51.0
func (*TCRService) DescribeTCRVPCAttachments ¶ added in v1.51.0
func (*TCRService) DescribeTcrCustomizedDomainById ¶ added in v1.81.0
func (me *TCRService) DescribeTcrCustomizedDomainById(ctx context.Context, registryId string, domainName *string) (CustomizedDomain []*tcr.CustomizedDomainInfo, errRet error)
func (*TCRService) DescribeTcrImageManifestsByFilter ¶ added in v1.81.0
func (me *TCRService) DescribeTcrImageManifestsByFilter(ctx context.Context, param map[string]interface{}) (ImageManifests *tcr.DescribeImageManifestsResponseParams, errRet error)
func (*TCRService) DescribeTcrImagesByFilter ¶ added in v1.81.0
func (me *TCRService) DescribeTcrImagesByFilter(ctx context.Context, param map[string]interface{}) (Images []*tcr.TcrImageInfo, errRet error)
func (*TCRService) DescribeTcrImmutableTagRuleById ¶ added in v1.81.0
func (me *TCRService) DescribeTcrImmutableTagRuleById(ctx context.Context, registryId string, namespaceName, ruleId *string) (ImmutableTagRules []*tcr.ImmutableTagRule, errRet error)
func (*TCRService) DescribeTcrReplicationInstanceCreateTasksByFilter ¶ added in v1.81.8
func (me *TCRService) DescribeTcrReplicationInstanceCreateTasksByFilter(ctx context.Context, param map[string]interface{}) (ret *tcr.DescribeReplicationInstanceCreateTasksResponseParams, errRet error)
func (*TCRService) DescribeTcrReplicationInstanceSyncStatusByFilter ¶ added in v1.81.8
func (me *TCRService) DescribeTcrReplicationInstanceSyncStatusByFilter(ctx context.Context, param map[string]interface{}) (ret *tcr.DescribeReplicationInstanceSyncStatusResponseParams, errRet error)
func (*TCRService) DescribeTcrServiceAccountById ¶ added in v1.81.13
func (me *TCRService) DescribeTcrServiceAccountById(ctx context.Context, registryId string, name string) (ServiceAccount *tcr.ServiceAccount, errRet error)
func (*TCRService) DescribeTcrTagRetentionExecutionConfigById ¶ added in v1.81.8
func (me *TCRService) DescribeTcrTagRetentionExecutionConfigById(ctx context.Context, registryId string, retentionId string) (TagRetentionExecutionConfig *tcr.RetentionExecution, errRet error)
func (*TCRService) DescribeTcrTagRetentionExecutionTasksByFilter ¶ added in v1.81.0
func (me *TCRService) DescribeTcrTagRetentionExecutionTasksByFilter(ctx context.Context, param map[string]interface{}) (TagRetentionExecutionTasks []*tcr.RetentionTask, errRet error)
func (*TCRService) DescribeTcrTagRetentionExecutionsByFilter ¶ added in v1.81.8
func (me *TCRService) DescribeTcrTagRetentionExecutionsByFilter(ctx context.Context, param map[string]interface{}) (TagRetentionExecutions []*tcr.RetentionExecution, errRet error)
func (*TCRService) DescribeTcrTagRetentionRuleById ¶ added in v1.80.3
func (me *TCRService) DescribeTcrTagRetentionRuleById(ctx context.Context, registryId, namespaceName string, retentionId *string) (TagRetentionRule *tcr.RetentionPolicy, errRet error)
func (*TCRService) DescribeTcrVpcDnsById ¶ added in v1.54.1
func (*TCRService) DescribeTcrWebhookTriggerById ¶ added in v1.80.6
func (me *TCRService) DescribeTcrWebhookTriggerById(ctx context.Context, registryId string, triggerId int64, namespaceName string) (WebhookTrigger *tcr.WebhookTrigger, errRet error)
func (*TCRService) DescribeTcrWebhookTriggerLogByFilter ¶ added in v1.80.6
func (me *TCRService) DescribeTcrWebhookTriggerLogByFilter(ctx context.Context, param map[string]interface{}) (DescribeWebhookTriggerLog []*tcr.WebhookTriggerLog, errRet error)
func (*TCRService) ManageTCRExternalEndpoint ¶ added in v1.53.9
func (me *TCRService) ManageTCRExternalEndpoint(ctx context.Context, instanceId, operation string) (errRet error)
func (*TCRService) ModifyInstance ¶ added in v1.77.4
func (me *TCRService) ModifyInstance(ctx context.Context, registryId, registryType string) (errRet error)
func (*TCRService) ModifyTCRLongTermToken ¶ added in v1.49.0
func (*TCRService) ModifyTCRNameSpace ¶ added in v1.49.0
func (*TCRService) ModifyTCRRepository ¶ added in v1.49.0
func (*TCRService) TcrCustomizedDomainStateRefreshFunc ¶ added in v1.81.0
func (me *TCRService) TcrCustomizedDomainStateRefreshFunc(registryId, domainName string, failStates []string) resource.StateRefreshFunc
func (*TCRService) TcrStateRefreshFunc ¶ added in v1.81.8
func (me *TCRService) TcrStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*TCRService) TcrTagRetentionExecutionConfigStateRefreshFunc ¶ added in v1.81.8
func (me *TCRService) TcrTagRetentionExecutionConfigStateRefreshFunc(registryId string, retentionId string, failStates []string) resource.StateRefreshFunc
type TagService ¶ added in v1.41.3
type TagService struct {
// contains filtered or unexported fields
}
func (*TagService) DeleteTagResourceById ¶ added in v1.81.18
func (*TagService) DeleteTagTagAttachmentById ¶ added in v1.81.18
func (*TagService) DescribeProjectById ¶ added in v1.81.7
func (*TagService) DescribeProjects ¶ added in v1.81.7
func (*TagService) DescribeResourceTags ¶ added in v1.41.3
func (*TagService) DescribeTagResourceById ¶ added in v1.81.18
func (*TagService) DescribeTagTagAttachmentById ¶ added in v1.81.18
func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
func (*TagService) DisableProjectById ¶ added in v1.81.7
func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
func (*TagService) ModifyTags ¶ added in v1.41.3
type TargetContentJson ¶ added in v1.81.36
type TatService ¶ added in v1.78.12
type TatService struct {
// contains filtered or unexported fields
}
func (*TatService) DeleteTatCommandById ¶ added in v1.78.12
func (me *TatService) DeleteTatCommandById(ctx context.Context, commandId string) (errRet error)
func (*TatService) DeleteTatInvocationById ¶ added in v1.80.3
func (me *TatService) DeleteTatInvocationById(ctx context.Context, invocationId, instanceId string) (errRet error)
func (*TatService) DeleteTatInvokerById ¶ added in v1.78.12
func (me *TatService) DeleteTatInvokerById(ctx context.Context, invokerId string) (errRet error)
func (*TatService) DescribeTatAgentByFilter ¶ added in v1.80.3
func (me *TatService) DescribeTatAgentByFilter(ctx context.Context, param map[string]interface{}) (agent []*tat.AutomationAgentInfo, errRet error)
func (*TatService) DescribeTatCommand ¶ added in v1.78.12
func (*TatService) DescribeTatCommandByFilter ¶ added in v1.78.12
func (*TatService) DescribeTatInvocationById ¶ added in v1.80.3
func (me *TatService) DescribeTatInvocationById(ctx context.Context, invocationId string) (invocation *tat.Invocation, errRet error)
func (*TatService) DescribeTatInvocationTaskByFilter ¶ added in v1.80.6
func (me *TatService) DescribeTatInvocationTaskByFilter(ctx context.Context, param map[string]interface{}) (invocationTaskDatasource []*tat.InvocationTask, errRet error)
func (*TatService) DescribeTatInvoker ¶ added in v1.78.12
func (*TatService) DescribeTatInvokerByFilter ¶ added in v1.78.12
func (*TatService) DescribeTatInvokerConfigById ¶ added in v1.80.3
func (*TatService) DescribeTatInvokerRecordsByFilter ¶ added in v1.80.3
func (me *TatService) DescribeTatInvokerRecordsByFilter(ctx context.Context, param map[string]interface{}) (invokerRecords []*tat.InvokerRecord, errRet error)
type TcaplusIdlId ¶ added in v1.41.3
type TcaplusService ¶ added in v1.41.3
type TcaplusService struct {
// contains filtered or unexported fields
}
func (*TcaplusService) CreateCluster ¶ added in v1.41.3
func (*TcaplusService) CreateGroup ¶ added in v1.41.3
func (*TcaplusService) CreateTables ¶ added in v1.41.3
func (me *TcaplusService) CreateTables(ctx context.Context, tid TcaplusIdlId, clusterId, groupId, tableName, tableType, description, tableIdlType string, reservedReadQps, reservedWriteQps, reservedVolume int64) (taskId string, tableInstanceId string, errRet error)
func (*TcaplusService) DeleteCluster ¶ added in v1.41.3
func (*TcaplusService) DeleteGroup ¶ added in v1.41.3
func (*TcaplusService) DeleteIdlFiles ¶ added in v1.41.3
func (me *TcaplusService) DeleteIdlFiles(ctx context.Context, tid TcaplusIdlId) (errRet error)
func (*TcaplusService) DeleteTable ¶ added in v1.41.3
func (*TcaplusService) DesOldIdlFiles ¶ added in v1.41.3
func (me *TcaplusService) DesOldIdlFiles(ctx context.Context, tid TcaplusIdlId) (tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)
func (*TcaplusService) DescribeCluster ¶ added in v1.41.3
func (me *TcaplusService) DescribeCluster(ctx context.Context, id string) (clusterInfo tcaplusdb.ClusterInfo, has bool, errRet error)
func (*TcaplusService) DescribeClusters ¶ added in v1.41.3
func (me *TcaplusService) DescribeClusters(ctx context.Context, clusterId string, clusterName string) (clusterInfos []*tcaplusdb.ClusterInfo, errRet error)
func (*TcaplusService) DescribeGroup ¶ added in v1.41.3
func (me *TcaplusService) DescribeGroup(ctx context.Context, id string, groupId string) (info tcaplusdb.TableGroupInfo, has bool, errRet error)
func (*TcaplusService) DescribeGroups ¶ added in v1.41.3
func (me *TcaplusService) DescribeGroups(ctx context.Context, clusterId string, groupId, groupName string) (infos []*tcaplusdb.TableGroupInfo, errRet error)
func (*TcaplusService) DescribeIdlFileInfos ¶ added in v1.41.3
func (me *TcaplusService) DescribeIdlFileInfos(ctx context.Context, clusterId string) (infos []*tcaplusdb.IdlFileInfo, errRet error)
func (*TcaplusService) DescribeTable ¶ added in v1.41.3
func (me *TcaplusService) DescribeTable(ctx context.Context, clusterId, tableInstanceId string) (tableInfo tcaplusdb.TableInfoNew, has bool, errRet error)
func (*TcaplusService) DescribeTables ¶ added in v1.41.3
func (me *TcaplusService) DescribeTables(ctx context.Context, clusterId string, groupId, tableId, tableName string) (infos []*tcaplusdb.TableInfoNew, errRet error)
func (*TcaplusService) DescribeTask ¶ added in v1.41.3
func (me *TcaplusService) DescribeTask(ctx context.Context, clusterId string, taskId string) (taskInfo tcaplusdb.TaskInfoNew, has bool, errRet error)
func (*TcaplusService) ModifyClusterName ¶ added in v1.41.3
func (*TcaplusService) ModifyClusterPassword ¶ added in v1.41.3
func (*TcaplusService) ModifyGroupName ¶ added in v1.41.3
func (*TcaplusService) ModifyTableMemo ¶ added in v1.41.3
func (me *TcaplusService) ModifyTableMemo(ctx context.Context, clusterId, groupId, tableInstanceId, tableName, newDesc string) (errRet error)
func (*TcaplusService) ModifyTables ¶ added in v1.41.3
func (me *TcaplusService) ModifyTables(ctx context.Context, tid TcaplusIdlId, clusterId, groupId, tableInstanceId, tableName, tableIdType string) (taskId string, errRet error)
func (*TcaplusService) VerifyIdlFiles ¶ added in v1.41.3
func (me *TcaplusService) VerifyIdlFiles(ctx context.Context, tid TcaplusIdlId, groupId string, fileContent string) (idlId int64, tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)
type TcmService ¶ added in v1.78.6
type TcmService struct {
// contains filtered or unexported fields
}
func (*TcmService) DeleteTcmClusterAttachmentById ¶ added in v1.78.6
func (me *TcmService) DeleteTcmClusterAttachmentById(ctx context.Context, meshId, clusterId string) (errRet error)
func (*TcmService) DeleteTcmMeshById ¶ added in v1.78.6
func (me *TcmService) DeleteTcmMeshById(ctx context.Context, meshId string) (errRet error)
func (*TcmService) DeleteTcmPrometheusAttachmentById ¶ added in v1.79.0
func (me *TcmService) DeleteTcmPrometheusAttachmentById(ctx context.Context, meshID string) (errRet error)
func (*TcmService) DescribeTcmAccessLogConfig ¶ added in v1.79.0
func (me *TcmService) DescribeTcmAccessLogConfig(ctx context.Context, meshName string) (accessLogConfig *tcm.DescribeAccessLogConfigResponseParams, errRet error)
func (*TcmService) DescribeTcmMesh ¶ added in v1.78.6
func (me *TcmService) DescribeTcmMesh(ctx context.Context, meshId string) (mesh *tcm.DescribeMeshResponseParams, errRet error)
func (*TcmService) DescribeTcmMeshByFilter ¶ added in v1.79.15
type TcmqService ¶ added in v1.79.3
type TcmqService struct {
// contains filtered or unexported fields
}
func (*TcmqService) DeleteTcmqQueueById ¶ added in v1.79.3
func (me *TcmqService) DeleteTcmqQueueById(ctx context.Context, queueName string) (errRet error)
func (*TcmqService) DeleteTcmqSubscribeById ¶ added in v1.79.3
func (*TcmqService) DeleteTcmqTopicById ¶ added in v1.79.3
func (me *TcmqService) DeleteTcmqTopicById(ctx context.Context, topicName string) (errRet error)
func (*TcmqService) DescribeTcmqQueueByFilter ¶ added in v1.79.3
func (*TcmqService) DescribeTcmqQueueById ¶ added in v1.79.3
func (*TcmqService) DescribeTcmqSubscribeByFilter ¶ added in v1.79.3
func (me *TcmqService) DescribeTcmqSubscribeByFilter(ctx context.Context, paramMap map[string]interface{}) (subscriptionList []*tcmq.CmqSubscription, errRet error)
func (*TcmqService) DescribeTcmqSubscribeById ¶ added in v1.79.3
func (me *TcmqService) DescribeTcmqSubscribeById(ctx context.Context, topicName string, subscriptionName string) (subscribe *tcmq.CmqSubscription, errRet error)
func (*TcmqService) DescribeTcmqTopicByFilter ¶ added in v1.79.3
func (*TcmqService) DescribeTcmqTopicById ¶ added in v1.79.3
type TdcpgService ¶ added in v1.78.13
type TdcpgService struct {
// contains filtered or unexported fields
}
func (*TdcpgService) DeleteTdcpgClusterById ¶ added in v1.78.13
func (me *TdcpgService) DeleteTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
func (*TdcpgService) DeleteTdcpgInstanceById ¶ added in v1.78.13
func (me *TdcpgService) DeleteTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
func (*TdcpgService) DescribeTdcpgCluster ¶ added in v1.78.13
func (me *TdcpgService) DescribeTdcpgCluster(ctx context.Context, clusterId *string) (cluster *tdcpg.DescribeClustersResponseParams, errRet error)
tdcpg resource
func (*TdcpgService) DescribeTdcpgClustersByFilter ¶ added in v1.78.13
func (me *TdcpgService) DescribeTdcpgClustersByFilter(ctx context.Context, param map[string]interface{}) (clusters []*tdcpg.Cluster, errRet error)
tdcpg data-source
func (*TdcpgService) DescribeTdcpgInstance ¶ added in v1.78.13
func (me *TdcpgService) DescribeTdcpgInstance(ctx context.Context, clusterId, instanceId *string) (instance *tdcpg.DescribeClusterInstancesResponseParams, errRet error)
func (*TdcpgService) DescribeTdcpgInstancesByFilter ¶ added in v1.78.13
func (*TdcpgService) DescribeTdcpgResourceByDealName ¶ added in v1.78.13
func (me *TdcpgService) DescribeTdcpgResourceByDealName(ctx context.Context, dealNames []*string) (resourceInfo []*tdcpg.ResourceIdInfo, errRet error)
func (*TdcpgService) IsolateTdcpgClusterById ¶ added in v1.78.13
func (me *TdcpgService) IsolateTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
func (*TdcpgService) IsolateTdcpgInstanceById ¶ added in v1.78.13
func (me *TdcpgService) IsolateTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
type TdmqRocketmqService ¶ added in v1.79.0
type TdmqRocketmqService struct {
// contains filtered or unexported fields
}
func (*TdmqRocketmqService) DeleteTdmqRocketmqClusterById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqClusterById(ctx context.Context, clusterId string) (errRet error)
func (*TdmqRocketmqService) DeleteTdmqRocketmqEnvironmentRoleById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqEnvironmentRoleById(ctx context.Context, clusterId, roleName, environmentId string) (errRet error)
func (*TdmqRocketmqService) DeleteTdmqRocketmqGroupById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqGroupById(ctx context.Context, clusterId, namespaceId, groupId string) (errRet error)
func (*TdmqRocketmqService) DeleteTdmqRocketmqNamespaceById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqNamespaceById(ctx context.Context, namespaceName, clusterId string) (errRet error)
func (*TdmqRocketmqService) DeleteTdmqRocketmqRoleById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqRoleById(ctx context.Context, clusterId, roleName string) (errRet error)
func (*TdmqRocketmqService) DeleteTdmqRocketmqTopicById ¶ added in v1.79.0
func (me *TdmqRocketmqService) DeleteTdmqRocketmqTopicById(ctx context.Context, clusterId, namespaceId, topic string) (errRet error)
func (*TdmqRocketmqService) DescribeRocketmqClusterByFilter ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeRocketmqClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*tdmqRocketmq.RocketMQClusterDetail, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqCluster ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqCluster(ctx context.Context, clusterId string) (cluster *tdmqRocketmq.RocketMQClusterInfo, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqEnvironmentRole ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqEnvironmentRole(ctx context.Context, clusterId, roleName, environmentId string) (environmentRoles []*tdmqRocketmq.EnvironmentRole, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqGroup ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqGroup(ctx context.Context, clusterId, namespaceId, groupId string) (result []*tdmqRocketmq.RocketMQGroup, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqGroupByFilter ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqGroupByFilter(ctx context.Context, param map[string]interface{}) (group []*tdmqRocketmq.RocketMQGroup, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqNamespace ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqNamespace(ctx context.Context, namespaceName, clusterId string) (namespace []*tdmqRocketmq.RocketMQNamespace, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqNamespaceByFilter ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqNamespaceByFilter(ctx context.Context, param map[string]interface{}) (namespace []*tdmqRocketmq.RocketMQNamespace, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqRole ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqRole(ctx context.Context, clusterId, roleName string) (role *tdmqRocketmq.Role, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqRoleByFilter ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqRoleByFilter(ctx context.Context, param map[string]interface{}) (role []*tdmqRocketmq.Role, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqTopic ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqTopic(ctx context.Context, clusterId, namespaceId, topicName string) (result []*tdmqRocketmq.RocketMQTopic, errRet error)
func (*TdmqRocketmqService) DescribeTdmqRocketmqTopicByFilter ¶ added in v1.79.0
func (me *TdmqRocketmqService) DescribeTdmqRocketmqTopicByFilter(ctx context.Context, param map[string]interface{}) (topic []*tdmqRocketmq.RocketMQTopic, errRet error)
type TdmqService ¶ added in v1.59.12
type TdmqService struct {
// contains filtered or unexported fields
}
func (*TdmqService) CreateTdmqNamespace ¶ added in v1.59.12
func (me *TdmqService) CreateTdmqNamespace(ctx context.Context, environName string, msgTtl uint64, clusterId string, remark string, retentionPolicy tdmq.RetentionPolicy) (environId string, errRet error)
tdmq namespace
func (*TdmqService) CreateTdmqNamespaceRoleAttachment ¶ added in v1.59.12
func (me *TdmqService) CreateTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, permissions []*string, clusterId string) (errRet error)
tdmq role
func (*TdmqService) CreateTdmqRole ¶ added in v1.59.12
func (me *TdmqService) CreateTdmqRole(ctx context.Context, roleName string, clusterId string, remark string) (roleId string, errRet error)
tdmq role
func (*TdmqService) CreateTdmqTopic ¶ added in v1.59.12
func (me *TdmqService) CreateTdmqTopic(ctx context.Context, environId string, topicName string, partitions uint64, topicType int64, remark string, clusterId string, pulsarTopicType int64) (errRet error)
tdmq topic
func (*TdmqService) DeleteTdmqInstance ¶ added in v1.59.12
func (me *TdmqService) DeleteTdmqInstance(ctx context.Context, clusterId string) (errRet error)
func (*TdmqService) DeleteTdmqNamespace ¶ added in v1.59.12
func (*TdmqService) DeleteTdmqNamespaceRoleAttachment ¶ added in v1.59.12
func (*TdmqService) DeleteTdmqRabbitmqUserById ¶ added in v1.81.10
func (me *TdmqService) DeleteTdmqRabbitmqUserById(ctx context.Context, instanceId, user string) (errRet error)
func (*TdmqService) DeleteTdmqRabbitmqVipInstanceById ¶ added in v1.81.18
func (me *TdmqService) DeleteTdmqRabbitmqVipInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*TdmqService) DeleteTdmqRabbitmqVirtualHostById ¶ added in v1.81.10
func (me *TdmqService) DeleteTdmqRabbitmqVirtualHostById(ctx context.Context, instanceId, virtualHost string) (errRet error)
func (*TdmqService) DeleteTdmqRocketmqVipInstanceById ¶ added in v1.81.19
func (me *TdmqService) DeleteTdmqRocketmqVipInstanceById(ctx context.Context, clusterId string) (errRet error)
func (*TdmqService) DeleteTdmqRole ¶ added in v1.59.12
func (*TdmqService) DeleteTdmqSubscriptionAttachmentById ¶ added in v1.81.5
func (me *TdmqService) DeleteTdmqSubscriptionAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (errRet error)
func (*TdmqService) DeleteTdmqTopic ¶ added in v1.59.12
func (*TdmqService) DeleteTdmqTopicsAttachmentById ¶ added in v1.81.5
func (me *TdmqService) DeleteTdmqTopicsAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (errRet error)
func (*TdmqService) DescribeTdmqDeadLetterSourceQueueByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqDeadLetterSourceQueueByFilter(ctx context.Context, param map[string]interface{}) (deadLetterSourceQueue []*tdmq.CmqDeadLetterSource, errRet error)
func (*TdmqService) DescribeTdmqEnvironmentAttributesByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqEnvironmentAttributesByFilter(ctx context.Context, param map[string]interface{}) (environmentAttributes *tdmq.DescribeEnvironmentAttributesResponseParams, errRet error)
func (*TdmqService) DescribeTdmqInstanceById ¶ added in v1.59.12
func (*TdmqService) DescribeTdmqMessageByFilter ¶ added in v1.81.9
func (me *TdmqService) DescribeTdmqMessageByFilter(ctx context.Context, param map[string]interface{}) (message *tdmq.DescribeRocketMQMsgResponseParams, errRet error)
func (*TdmqService) DescribeTdmqNamespaceById ¶ added in v1.59.12
func (me *TdmqService) DescribeTdmqNamespaceById(ctx context.Context, environId string, clusterId string) (info *tdmq.Environment, has bool, errRet error)
func (*TdmqService) DescribeTdmqNamespaceRoleAttachment ¶ added in v1.59.12
func (me *TdmqService) DescribeTdmqNamespaceRoleAttachment(ctx context.Context, environId string, roleName string, clusterId string) (info *tdmq.EnvironmentRole, has bool, errRet error)
func (*TdmqService) DescribeTdmqProInstanceDetailByFilter ¶ added in v1.81.9
func (me *TdmqService) DescribeTdmqProInstanceDetailByFilter(ctx context.Context, param map[string]interface{}) (proInstanceDetail *tdmq.DescribePulsarProInstanceDetailResponseParams, errRet error)
func (*TdmqService) DescribeTdmqProInstancesByFilter ¶ added in v1.81.9
func (me *TdmqService) DescribeTdmqProInstancesByFilter(ctx context.Context, param map[string]interface{}) (proInstances []*tdmq.PulsarProInstance, errRet error)
func (*TdmqService) DescribeTdmqPublisherSummaryByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqPublisherSummaryByFilter(ctx context.Context, param map[string]interface{}) (publisherSummary *tdmq.DescribePublisherSummaryResponseParams, errRet error)
func (*TdmqService) DescribeTdmqPublishersByFilter ¶ added in v1.81.5
func (*TdmqService) DescribeTdmqRabbitmqNodeListByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqRabbitmqNodeListByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqNodeList []*tdmq.RabbitMQPrivateNode, errRet error)
func (*TdmqService) DescribeTdmqRabbitmqUserById ¶ added in v1.81.10
func (me *TdmqService) DescribeTdmqRabbitmqUserById(ctx context.Context, instanceId, user string) (rabbitmqUser *tdmq.RabbitMQUser, errRet error)
func (*TdmqService) DescribeTdmqRabbitmqVipInstanceByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqRabbitmqVipInstanceByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqVipInstance []*tdmq.RabbitMQVipInstance, errRet error)
func (*TdmqService) DescribeTdmqRabbitmqVipInstanceById ¶ added in v1.81.18
func (me *TdmqService) DescribeTdmqRabbitmqVipInstanceById(ctx context.Context, instanceId string) (rabbitmqVipInstance *tdmq.DescribeRabbitMQVipInstanceResponseParams, errRet error)
func (*TdmqService) DescribeTdmqRabbitmqVirtualHostById ¶ added in v1.81.10
func (me *TdmqService) DescribeTdmqRabbitmqVirtualHostById(ctx context.Context, instanceId, virtualHost string) (rabbitmqVirtualHost *tdmq.RabbitMQVirtualHostInfo, errRet error)
func (*TdmqService) DescribeTdmqRabbitmqVirtualHostListByFilter ¶ added in v1.81.10
func (me *TdmqService) DescribeTdmqRabbitmqVirtualHostListByFilter(ctx context.Context, param map[string]interface{}) (rabbitmqVirtualHostList []*tdmq.RabbitMQPrivateVirtualHost, errRet error)
func (*TdmqService) DescribeTdmqRocketmqVipInstanceById ¶ added in v1.81.19
func (me *TdmqService) DescribeTdmqRocketmqVipInstanceById(ctx context.Context, clusterId string) (rocketmqVipInstanceDetail *tdmq.DescribeRocketMQVipInstanceDetailResponseParams, errRet error)
func (*TdmqService) DescribeTdmqRocketmqVipInstancesByFilter ¶ added in v1.81.19
func (me *TdmqService) DescribeTdmqRocketmqVipInstancesByFilter(ctx context.Context, clusterId string) (rocketmqVipInstances *tdmq.RocketMQVipInstance, errRet error)
func (*TdmqService) DescribeTdmqRoleById ¶ added in v1.59.12
func (*TdmqService) DescribeTdmqSubscriptionAttachmentById ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqSubscriptionAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (subscriptionAttachment *tdmq.Subscription, errRet error)
func (*TdmqService) DescribeTdmqTopicById ¶ added in v1.59.12
func (*TdmqService) DescribeTdmqVipInstanceByFilter ¶ added in v1.81.5
func (me *TdmqService) DescribeTdmqVipInstanceByFilter(ctx context.Context, param map[string]interface{}) (vipInstance *tdmq.DescribeRocketMQVipInstanceDetailResponseParams, errRet error)
func (*TdmqService) GetTdmqTopicsAttachmentById ¶ added in v1.81.5
func (*TdmqService) ModifyTdmqInstanceAttribute ¶ added in v1.59.12
func (*TdmqService) ModifyTdmqNamespaceAttribute ¶ added in v1.59.12
func (me *TdmqService) ModifyTdmqNamespaceAttribute(ctx context.Context, environId string, msgTtl uint64, remark string, clusterId string, retentionPolicy *tdmq.RetentionPolicy) (errRet error)
func (*TdmqService) ModifyTdmqNamespaceRoleAttachment ¶ added in v1.59.12
func (*TdmqService) ModifyTdmqRoleAttribute ¶ added in v1.59.12
type TemService ¶ added in v1.77.0
type TemService struct {
// contains filtered or unexported fields
}
func (*TemService) DeleteTemAppConfigById ¶ added in v1.77.0
func (*TemService) DeleteTemApplicationById ¶ added in v1.77.0
func (me *TemService) DeleteTemApplicationById(ctx context.Context, applicationId string) (errRet error)
func (*TemService) DeleteTemApplicationServiceById ¶ added in v1.79.2
func (*TemService) DeleteTemEnvironmentById ¶ added in v1.77.0
func (me *TemService) DeleteTemEnvironmentById(ctx context.Context, environmentId string) (errRet error)
func (*TemService) DeleteTemGatewayById ¶ added in v1.77.0
func (*TemService) DeleteTemLogConfigById ¶ added in v1.77.0
func (*TemService) DeleteTemScaleRuleById ¶ added in v1.77.0
func (*TemService) DeleteTemWorkloadById ¶ added in v1.77.0
func (*TemService) DescribeTemAppConfig ¶ added in v1.77.0
func (me *TemService) DescribeTemAppConfig(ctx context.Context, environmentId string, name string) (appConfig *tem.ConfigData, errRet error)
func (*TemService) DescribeTemApplication ¶ added in v1.77.0
func (me *TemService) DescribeTemApplication(ctx context.Context, applicationId string) (application *tem.DescribeApplicationsResponseParams, errRet error)
func (*TemService) DescribeTemApplicationServiceById ¶ added in v1.79.2
func (me *TemService) DescribeTemApplicationServiceById(ctx context.Context, environmentId string, applicationId string) (applicationService *tem.DescribeApplicationServiceListResponseParams, errRet error)
func (*TemService) DescribeTemEnvironment ¶ added in v1.77.0
func (me *TemService) DescribeTemEnvironment(ctx context.Context, environmentId string) (environment *tem.DescribeEnvironmentResponseParams, errRet error)
func (*TemService) DescribeTemEnvironmentStatus ¶ added in v1.77.0
func (me *TemService) DescribeTemEnvironmentStatus(ctx context.Context, environmentId string) (environment *tem.NamespaceStatusInfo, errRet error)
func (*TemService) DescribeTemGateway ¶ added in v1.77.0
func (me *TemService) DescribeTemGateway(ctx context.Context, environmentId string, ingressName string) (gateway *tem.IngressInfo, errRet error)
func (*TemService) DescribeTemLogConfig ¶ added in v1.77.0
func (*TemService) DescribeTemScaleRule ¶ added in v1.77.0
func (me *TemService) DescribeTemScaleRule(ctx context.Context, environmentId string, applicationId string, scaleRuleId string) (scaleRule *tem.Autoscaler, errRet error)
func (*TemService) DescribeTemWorkload ¶ added in v1.77.0
func (me *TemService) DescribeTemWorkload(ctx context.Context, environmentId string, applicationId string) (workload *tem.DescribeApplicationInfoResponseParams, errRet error)
func (*TemService) DisableTemScaleRuleById ¶ added in v1.77.0
type TencentCloudClient ¶
type TencentCloudClient struct {
// contains filtered or unexported fields
}
type TencentCloudRedisDetail ¶ added in v1.41.3
type TencentCloudRedisDetail struct { RedisId string Name string Zone string ProjectId int64 TypeId int64 Type string MemSize int64 Status string VpcId string SubnetId string Ip string Port int64 RedisShardNum int64 RedisReplicasNum int64 CreateTime string Tags map[string]string BillingMode string NodeInfo []map[string]interface{} }
type TeoService ¶ added in v1.77.5
type TeoService struct {
// contains filtered or unexported fields
}
func (*TeoService) CheckAccelerationDomainStatus ¶ added in v1.81.32
func (me *TeoService) CheckAccelerationDomainStatus(ctx context.Context, zoneId, domainName, operate string) error
func (*TeoService) CheckZoneComplete ¶ added in v1.78.0
func (me *TeoService) CheckZoneComplete(ctx context.Context, zoneId string) error
func (*TeoService) DeleteTeoAccelerationDomainById ¶ added in v1.81.32
func (*TeoService) DeleteTeoApplicationProxyById ¶ added in v1.77.5
func (me *TeoService) DeleteTeoApplicationProxyById(ctx context.Context, zoneId, proxyId string) (errRet error)
func (*TeoService) DeleteTeoApplicationProxyRuleById ¶ added in v1.77.5
func (me *TeoService) DeleteTeoApplicationProxyRuleById(ctx context.Context, zoneId, proxyId, ruleId string) (errRet error)
func (*TeoService) DeleteTeoOriginGroupById ¶ added in v1.77.5
func (me *TeoService) DeleteTeoOriginGroupById(ctx context.Context, zoneId, originGroupId string) (errRet error)
func (*TeoService) DeleteTeoRuleEngineById ¶ added in v1.77.5
func (me *TeoService) DeleteTeoRuleEngineById(ctx context.Context, zoneId, ruleId string) (errRet error)
func (*TeoService) DeleteTeoZoneById ¶ added in v1.77.5
func (me *TeoService) DeleteTeoZoneById(ctx context.Context, zoneId string) (errRet error)
func (*TeoService) DescribeIdentifications ¶ added in v1.81.32
func (me *TeoService) DescribeIdentifications(ctx context.Context, domain string) (identifications []*teo.Identification, errRet error)
func (*TeoService) DescribeTeoAccelerationDomainById ¶ added in v1.81.32
func (me *TeoService) DescribeTeoAccelerationDomainById(ctx context.Context, zoneId string, domainName string) (accelerationDomain *teo.AccelerationDomain, errRet error)
func (*TeoService) DescribeTeoApplicationProxy ¶ added in v1.77.5
func (me *TeoService) DescribeTeoApplicationProxy(ctx context.Context, zoneId, proxyId string) (applicationProxy *teo.ApplicationProxy, errRet error)
func (*TeoService) DescribeTeoApplicationProxyRule ¶ added in v1.77.5
func (me *TeoService) DescribeTeoApplicationProxyRule(ctx context.Context, zoneId, proxyId, ruleId string) (applicationProxyRule *teo.ApplicationProxyRule, errRet error)
func (*TeoService) DescribeTeoDefaultCertificate ¶ added in v1.77.5
func (me *TeoService) DescribeTeoDefaultCertificate(ctx context.Context, zoneId, certId string) (defaultCertificate *teo.DefaultServerCertInfo, errRet error)
func (*TeoService) DescribeTeoOriginGroup ¶ added in v1.77.5
func (me *TeoService) DescribeTeoOriginGroup(ctx context.Context, zoneId, originGroupId string) (originGroup *teo.OriginGroup, errRet error)
func (*TeoService) DescribeTeoRuleEngine ¶ added in v1.77.5
func (*TeoService) DescribeTeoRuleEnginePriority ¶ added in v1.78.0
func (*TeoService) DescribeTeoRuleEngineSettingsByFilter ¶ added in v1.78.0
func (me *TeoService) DescribeTeoRuleEngineSettingsByFilter(ctx context.Context) (actions []*teo.RulesSettingAction, errRet error)
func (*TeoService) DescribeTeoRuleEngines ¶ added in v1.79.13
func (*TeoService) DescribeTeoZone ¶ added in v1.77.5
func (*TeoService) DescribeTeoZoneAvailablePlansByFilter ¶ added in v1.78.0
func (*TeoService) DescribeTeoZoneSetting ¶ added in v1.77.5
func (me *TeoService) DescribeTeoZoneSetting(ctx context.Context, zoneId string) (zoneSetting *teo.ZoneSetting, errRet error)
func (*TeoService) ModifyZoneStatus ¶ added in v1.81.32
type TkeService ¶ added in v1.41.3
type TkeService struct {
// contains filtered or unexported fields
}
func (*TkeService) AcquireClusterAdminRole ¶ added in v1.72.0
func (me *TkeService) AcquireClusterAdminRole(ctx context.Context, clusterId string) (errRet error)
func (*TkeService) CheckClusterVersion ¶ added in v1.53.1
func (*TkeService) CheckInstancesUpgradeAble ¶ added in v1.56.3
func (*TkeService) CheckOneOfClusterNodeReady ¶ added in v1.77.0
func (*TkeService) CreateCluster ¶ added in v1.41.3
func (me *TkeService) CreateCluster(ctx context.Context, basic ClusterBasicSetting, advanced ClusterAdvancedSettings, cvms RunInstancesForNode, iAdvanced InstanceAdvancedSettings, cidrSetting ClusterCidrSettings, tags map[string]string, existedInstance []*tke.ExistedInstancesForNode, overrideSettings *OverrideSettings, iDiskMountSettings []*tke.InstanceDataDiskMountSetting, extensionAddons []*tke.ExtensionAddon, ) (id string, errRet error)
func (*TkeService) CreateClusterAsGroup ¶ added in v1.41.3
func (me *TkeService) CreateClusterAsGroup(ctx context.Context, id, groupPara, configPara string, labels []*tke.Label, iAdvanced InstanceAdvancedSettings) (asGroupId string, errRet error)
func (*TkeService) CreateClusterEndpoint ¶ added in v1.41.3
func (me *TkeService) CreateClusterEndpoint(ctx context.Context, id string, subnetId, securityGroupId string, internet bool, domain string, extensiveParameters string) (errRet error)
open internet access
func (*TkeService) CreateClusterInstances ¶ added in v1.41.3
func (me *TkeService) CreateClusterInstances(ctx context.Context, id string, runInstancePara string, iAdvanced tke.InstanceAdvancedSettings) (instanceIds []string, errRet error)
func (*TkeService) CreateClusterNodePool ¶ added in v1.52.0
func (me *TkeService) CreateClusterNodePool(ctx context.Context, clusterId, name, groupPara, configPara string, enableAutoScale bool, nodeOs string, nodeOsType string, labels []*tke.Label, taints []*tke.Taint, iAdvanced tke.InstanceAdvancedSettings, deletionProtection bool) (asGroupId string, errRet error)
func (*TkeService) CreateClusterVirtualNodePool ¶ added in v1.79.7
func (me *TkeService) CreateClusterVirtualNodePool(ctx context.Context, request *tke.CreateClusterVirtualNodePoolRequest) (id string, errRet error)
func (*TkeService) CreateExtensionAddon ¶ added in v1.60.15
func (me *TkeService) CreateExtensionAddon(ctx context.Context, clusterName, reqBody string) (errRet error)
func (*TkeService) DeleteCluster ¶ added in v1.41.3
func (me *TkeService) DeleteCluster(ctx context.Context, id string) (errRet error)
func (*TkeService) DeleteClusterAsGroups ¶ added in v1.41.3
func (me *TkeService) DeleteClusterAsGroups(ctx context.Context, id, asGroupId string) (errRet error)
func (*TkeService) DeleteClusterEndpoint ¶ added in v1.41.3
func (*TkeService) DeleteClusterInstances ¶ added in v1.41.3
func (me *TkeService) DeleteClusterInstances(ctx context.Context, id string, instanceIds []string) (errRet error)
if cluster is creating, return error:TencentCloudSDKError] Code=InternalError.ClusterState
func (*TkeService) DeleteClusterNodePool ¶ added in v1.52.0
func (*TkeService) DeleteClusterVirtualNodePool ¶ added in v1.79.7
func (me *TkeService) DeleteClusterVirtualNodePool(ctx context.Context, request *tke.DeleteClusterVirtualNodePoolRequest) (errRet error)
func (*TkeService) DeleteExtensionAddon ¶ added in v1.60.15
func (me *TkeService) DeleteExtensionAddon(ctx context.Context, clusterName, addon string) (errRet error)
func (*TkeService) DeleteTkeEncryptionProtectionById ¶ added in v1.81.13
func (me *TkeService) DeleteTkeEncryptionProtectionById(ctx context.Context, clusterId string) (errRet error)
func (*TkeService) DescribeCluster ¶ added in v1.41.3
func (me *TkeService) DescribeCluster(ctx context.Context, id string) ( clusterInfo ClusterInfo, has bool, errRet error, )
func (*TkeService) DescribeClusterAsGroupsByGroupId ¶ added in v1.41.3
func (me *TkeService) DescribeClusterAsGroupsByGroupId(ctx context.Context, id string, groupId string) (clusterAsGroupSet *tke.ClusterAsGroup, errRet error)
func (*TkeService) DescribeClusterAuthenticationOptions ¶ added in v1.59.9
func (me *TkeService) DescribeClusterAuthenticationOptions(ctx context.Context, id string) (options *tke.ServiceAccountAuthenticationOptions, state string, oidcConfig *tke.OIDCConfigAuthenticationOptions, errRet error)
DescribeClusterAuthenticationOptions Field `ServiceAccounts.AutoCreateDiscoveryAnonymousAuth` will always return null by design
func (*TkeService) DescribeClusterCommonNames ¶ added in v1.72.0
func (me *TkeService) DescribeClusterCommonNames(ctx context.Context, request *tke.DescribeClusterCommonNamesRequest) (commonNames []*tke.CommonName, errRet error)
func (*TkeService) DescribeClusterConfig ¶ added in v1.46.2
func (*TkeService) DescribeClusterEndpointStatus ¶ added in v1.41.3
func (*TkeService) DescribeClusterInstances ¶ added in v1.41.3
func (me *TkeService) DescribeClusterInstances(ctx context.Context, id string) (masters []InstanceInfo, workers []InstanceInfo, errRet error)
func (*TkeService) DescribeClusterLevelAttribute ¶ added in v1.67.0
func (me *TkeService) DescribeClusterLevelAttribute(ctx context.Context, id string) (clusterLevels []*tke.ClusterLevelAttribute, errRet error)
func (*TkeService) DescribeClusterNodePoolGlobalConfig ¶ added in v1.53.1
func (me *TkeService) DescribeClusterNodePoolGlobalConfig(ctx context.Context, clusterId string) ( npGlobalConfig *tke.ClusterAsGroupOption, errRet error, )
func (*TkeService) DescribeClusterSecurity ¶ added in v1.41.3
func (me *TkeService) DescribeClusterSecurity(ctx context.Context, id string) (ret *tke.DescribeClusterSecurityResponse, errRet error)
func (*TkeService) DescribeClusterVirtualNode ¶ added in v1.79.9
func (me *TkeService) DescribeClusterVirtualNode(ctx context.Context, clusterId string) (virtualNodes []tke.VirtualNode, errRet error)
func (*TkeService) DescribeClusters ¶ added in v1.41.3
func (me *TkeService) DescribeClusters(ctx context.Context, id string, name string) (clusterInfos []ClusterInfo, errRet error)
func (*TkeService) DescribeExtensionAddon ¶ added in v1.60.15
func (*TkeService) DescribeImages ¶ added in v1.41.3
func (me *TkeService) DescribeImages(ctx context.Context) (imageIds []string, errRet error)
func (*TkeService) DescribeKubernetesAvailableClusterVersionsByFilter ¶ added in v1.79.17
func (me *TkeService) DescribeKubernetesAvailableClusterVersionsByFilter(ctx context.Context, param map[string]interface{}) (availableClusterVersions *tke.DescribeAvailableClusterVersionResponseParams, errRet error)
func (*TkeService) DescribeNodePool ¶ added in v1.52.0
func (*TkeService) DescribeServerlessNodePoolByClusterIdAndNodePoolId ¶ added in v1.79.7
func (me *TkeService) DescribeServerlessNodePoolByClusterIdAndNodePoolId(ctx context.Context, clusterId, nodePoolId string) (instance *tke.VirtualNodePool, has bool, errRet error)
func (*TkeService) DescribeTkeEncryptionProtectionById ¶ added in v1.81.13
func (me *TkeService) DescribeTkeEncryptionProtectionById(ctx context.Context, clusterId string) (encryptionProtection *tke.DescribeEncryptionStatusResponseParams, errRet error)
func (*TkeService) DisableClusterAudit ¶ added in v1.72.5
func (me *TkeService) DisableClusterAudit(ctx context.Context, request *tke.DisableClusterAuditRequest) (errRet error)
func (*TkeService) DisableEventPersistence ¶ added in v1.72.5
func (me *TkeService) DisableEventPersistence(ctx context.Context, request *tke.DisableEventPersistenceRequest) (errRet error)
func (*TkeService) EnableClusterAudit ¶ added in v1.72.5
func (me *TkeService) EnableClusterAudit(ctx context.Context, request *tke.EnableClusterAuditRequest) (errRet error)
func (*TkeService) EnableEventPersistence ¶ added in v1.72.5
func (me *TkeService) EnableEventPersistence(ctx context.Context, request *tke.EnableEventPersistenceRequest) (errRet error)
func (*TkeService) GetAddonNameFromJson ¶ added in v1.79.2
func (me *TkeService) GetAddonNameFromJson(reqJson string) (name string, err error)
func (*TkeService) GetAddonReqBody ¶ added in v1.60.15
func (me *TkeService) GetAddonReqBody(addon, version string, values []*string) (string, error)
func (*TkeService) GetAddonsPath ¶ added in v1.60.15
func (me *TkeService) GetAddonsPath(cluster, addon string) string
func (*TkeService) GetTkeAppChartList ¶ added in v1.60.15
func (me *TkeService) GetTkeAppChartList(ctx context.Context, request *tke.GetTkeAppChartListRequest) (info []*tke.AppChart, errRet error)
func (*TkeService) GetUpgradeInstanceResult ¶ added in v1.56.3
func (*TkeService) InstallLogAgent ¶ added in v1.72.5
func (me *TkeService) InstallLogAgent(ctx context.Context, request *tke.InstallLogAgentRequest) (errRet error)
func (*TkeService) ModifyClusterAsGroupAttribute ¶ added in v1.49.0
func (*TkeService) ModifyClusterAttribute ¶ added in v1.50.0
func (*TkeService) ModifyClusterAuthenticationOptions ¶ added in v1.59.9
func (me *TkeService) ModifyClusterAuthenticationOptions(ctx context.Context, request *tke.ModifyClusterAuthenticationOptionsRequest) (errRet error)
func (*TkeService) ModifyClusterEndpointSG ¶ added in v1.77.7
func (*TkeService) ModifyClusterEndpointSP ¶ added in v1.41.3
func (*TkeService) ModifyClusterNodePool ¶ added in v1.52.0
func (*TkeService) ModifyClusterNodePoolDesiredCapacity ¶ added in v1.52.0
func (*TkeService) ModifyClusterNodePoolGlobalConfig ¶ added in v1.53.1
func (me *TkeService) ModifyClusterNodePoolGlobalConfig(ctx context.Context, request *tke.ModifyClusterAsGroupOptionAttributeRequest) (errRet error)
node pool global config
func (*TkeService) ModifyClusterNodePoolInstanceTypes ¶ added in v1.58.4
func (*TkeService) ModifyClusterVersion ¶ added in v1.53.1
func (*TkeService) ModifyClusterVirtualNodePool ¶ added in v1.79.7
func (me *TkeService) ModifyClusterVirtualNodePool(ctx context.Context, request *tke.ModifyClusterVirtualNodePoolRequest) (errRet error)
func (*TkeService) ModifyDeletionProtection ¶ added in v1.60.12
func (*TkeService) PollingAddonsPhase ¶ added in v1.60.15
func (me *TkeService) PollingAddonsPhase(ctx context.Context, clusterId, addonName string, addonResponseData *AddonResponseData) (string, bool, error)
func (*TkeService) ProcessExtensionAddons ¶ added in v1.60.15
func (me *TkeService) ProcessExtensionAddons(ctx context.Context, request *tke.ForwardApplicationRequestV3Request) (response *tke.ForwardApplicationRequestV3Response, err error)
func (*TkeService) SwitchClusterAudit ¶ added in v1.72.5
func (*TkeService) SwitchEventPersistence ¶ added in v1.72.5
func (*TkeService) SwitchLogAgent ¶ added in v1.72.5
func (*TkeService) TkeEncryptionProtectionStateRefreshFunc ¶ added in v1.81.13
func (me *TkeService) TkeEncryptionProtectionStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
func (*TkeService) UninstallLogAgent ¶ added in v1.72.5
func (me *TkeService) UninstallLogAgent(ctx context.Context, request *tke.UninstallLogAgentRequest) (errRet error)
func (*TkeService) UpdateExtensionAddon ¶ added in v1.60.15
func (me *TkeService) UpdateExtensionAddon(ctx context.Context, clusterName, addon, reqBody string) (errRet error)
func (*TkeService) UpgradeClusterInstances ¶ added in v1.56.3
func (*TkeService) WaitForAuthenticationOptionsUpdateSuccess ¶ added in v1.59.12
func (me *TkeService) WaitForAuthenticationOptionsUpdateSuccess(ctx context.Context, id string) (info *tke.ServiceAccountAuthenticationOptions, oidc *tke.OIDCConfigAuthenticationOptions, errRet error)
type TriggerDesc ¶ added in v1.81.23
type TriggerDesc struct {
Cron string `json:"cron"`
}
type TrocketService ¶ added in v1.81.26
type TrocketService struct {
// contains filtered or unexported fields
}
func (*TrocketService) DeleteTrocketRocketmqConsumerGroupById ¶ added in v1.81.27
func (*TrocketService) DeleteTrocketRocketmqInstanceById ¶ added in v1.81.26
func (me *TrocketService) DeleteTrocketRocketmqInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*TrocketService) DeleteTrocketRocketmqRoleById ¶ added in v1.81.31
func (*TrocketService) DeleteTrocketRocketmqTopicById ¶ added in v1.81.27
func (*TrocketService) DescribeTrocketRocketmqConsumerGroupById ¶ added in v1.81.27
func (me *TrocketService) DescribeTrocketRocketmqConsumerGroupById(ctx context.Context, instanceId string, consumerGroup string) (rocketmqConsumerGroup *trocket.DescribeConsumerGroupResponseParams, errRet error)
func (*TrocketService) DescribeTrocketRocketmqInstanceById ¶ added in v1.81.26
func (me *TrocketService) DescribeTrocketRocketmqInstanceById(ctx context.Context, instanceId string) (rocketmqInstance *trocket.DescribeInstanceResponseParams, errRet error)
func (*TrocketService) DescribeTrocketRocketmqRoleById ¶ added in v1.81.31
func (*TrocketService) DescribeTrocketRocketmqTopicById ¶ added in v1.81.27
func (*TrocketService) TrocketRocketmqInstanceStateRefreshFunc ¶ added in v1.81.26
func (me *TrocketService) TrocketRocketmqInstanceStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
type TseService ¶ added in v1.81.0
type TseService struct {
// contains filtered or unexported fields
}
func (*TseService) CheckTseInstanceStatusById ¶ added in v1.81.0
func (me *TseService) CheckTseInstanceStatusById(ctx context.Context, instanceId, operate string) (errRet error)
func (*TseService) CheckTseNativeAPIGatewayGroupStatusById ¶ added in v1.81.23
func (me *TseService) CheckTseNativeAPIGatewayGroupStatusById(ctx context.Context, gatewayId, groupId, operate string) (errRet error)
func (*TseService) CheckTseNativeAPIGatewayStatusById ¶ added in v1.81.23
func (me *TseService) CheckTseNativeAPIGatewayStatusById(ctx context.Context, gatewayId, operate string) (errRet error)
func (*TseService) DeleteTseCngwCanaryRuleById ¶ added in v1.81.17
func (*TseService) DeleteTseCngwCertificateById ¶ added in v1.81.30
func (*TseService) DeleteTseCngwGatewayById ¶ added in v1.81.23
func (me *TseService) DeleteTseCngwGatewayById(ctx context.Context, gatewayId string) (errRet error)
func (*TseService) DeleteTseCngwGroupById ¶ added in v1.81.23
func (*TseService) DeleteTseCngwRouteById ¶ added in v1.81.17
func (*TseService) DeleteTseCngwRouteRateLimitById ¶ added in v1.81.17
func (me *TseService) DeleteTseCngwRouteRateLimitById(ctx context.Context, gatewayId, routeId string) (errRet error)
func (*TseService) DeleteTseCngwServiceById ¶ added in v1.81.17
func (me *TseService) DeleteTseCngwServiceById(ctx context.Context, gatewayId, name string) (errRet error)
func (*TseService) DeleteTseCngwServiceRateLimitById ¶ added in v1.81.17
func (*TseService) DeleteTseInstanceById ¶ added in v1.81.0
func (me *TseService) DeleteTseInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*TseService) DescribeTseAccessAddressByFilter ¶ added in v1.81.0
func (me *TseService) DescribeTseAccessAddressByFilter(ctx context.Context, param map[string]interface{}) (accessAddress *tse.DescribeSREInstanceAccessAddressResponseParams, errRet error)
func (*TseService) DescribeTseCngwCanaryRuleById ¶ added in v1.81.17
func (me *TseService) DescribeTseCngwCanaryRuleById(ctx context.Context, gatewayId string, serviceId string, priority string) (cngwCanaryRule *tse.CloudNativeAPIGatewayCanaryRule, errRet error)
func (*TseService) DescribeTseCngwCertificateById ¶ added in v1.81.30
func (me *TseService) DescribeTseCngwCertificateById(ctx context.Context, gatewayId string, id string) (cngwCertificate *tse.KongCertificatesPreview, errRet error)
func (*TseService) DescribeTseCngwGatewayById ¶ added in v1.81.23
func (me *TseService) DescribeTseCngwGatewayById(ctx context.Context, gatewayId string) (cngwGateway *tse.DescribeCloudNativeAPIGatewayResult, errRet error)
func (*TseService) DescribeTseCngwGroupById ¶ added in v1.81.23
func (me *TseService) DescribeTseCngwGroupById(ctx context.Context, gatewayId string, groupId string) (cngwGroup *tse.NativeGatewayServerGroup, errRet error)
func (*TseService) DescribeTseCngwRouteById ¶ added in v1.81.17
func (me *TseService) DescribeTseCngwRouteById(ctx context.Context, gatewayId string, serviceID string, routeName string) (cngwRoute *tse.KongRoutePreview, errRet error)
func (*TseService) DescribeTseCngwRouteRateLimitById ¶ added in v1.81.17
func (me *TseService) DescribeTseCngwRouteRateLimitById(ctx context.Context, gatewayId, routeId string) (cngwRouteRateLimit *tse.CloudNativeAPIGatewayRateLimitDetail, errRet error)
func (*TseService) DescribeTseCngwServiceById ¶ added in v1.81.17
func (me *TseService) DescribeTseCngwServiceById(ctx context.Context, gatewayId, name string) (cngwService *tse.KongServiceDetail, errRet error)
func (*TseService) DescribeTseCngwServiceRateLimitById ¶ added in v1.81.17
func (me *TseService) DescribeTseCngwServiceRateLimitById(ctx context.Context, gatewayId string, name string) (cngwServiceRateLimit *tse.CloudNativeAPIGatewayRateLimitDetail, errRet error)
func (*TseService) DescribeTseGatewayCanaryRulesByFilter ¶ added in v1.81.15
func (me *TseService) DescribeTseGatewayCanaryRulesByFilter(ctx context.Context, param map[string]interface{}) (gatewayCanaryRules *tse.CloudAPIGatewayCanaryRuleList, errRet error)
func (*TseService) DescribeTseGatewayCertificatesByFilter ¶ added in v1.81.30
func (me *TseService) DescribeTseGatewayCertificatesByFilter(ctx context.Context, param map[string]interface{}) (gatewayCertificates *tse.KongCertificatesList, errRet error)
func (*TseService) DescribeTseGatewayNodesByFilter ¶ added in v1.81.10
func (me *TseService) DescribeTseGatewayNodesByFilter(ctx context.Context, param map[string]interface{}) (gatewayNodes []*tse.CloudNativeAPIGatewayNode, errRet error)
func (*TseService) DescribeTseGatewayRoutesByFilter ¶ added in v1.81.15
func (me *TseService) DescribeTseGatewayRoutesByFilter(ctx context.Context, param map[string]interface{}) (gatewayRoutes *tse.KongServiceRouteList, errRet error)
func (*TseService) DescribeTseGatewayServicesByFilter ¶ added in v1.81.17
func (me *TseService) DescribeTseGatewayServicesByFilter(ctx context.Context, param map[string]interface{}) (gatewayServices *tse.KongServices, errRet error)
func (*TseService) DescribeTseGatewaysByFilter ¶ added in v1.81.23
func (me *TseService) DescribeTseGatewaysByFilter(ctx context.Context, param map[string]interface{}) (gateways *tse.ListCloudNativeAPIGatewayResult, errRet error)
func (*TseService) DescribeTseGroupsByFilter ¶ added in v1.81.23
func (me *TseService) DescribeTseGroupsByFilter(ctx context.Context, param map[string]interface{}) (groups *tse.NativeGatewayServerGroups, errRet error)
func (*TseService) DescribeTseInstanceById ¶ added in v1.81.0
func (me *TseService) DescribeTseInstanceById(ctx context.Context, instanceId string) (instance *tse.SREInstance, errRet error)
func (*TseService) DescribeTseNacosReplicasByFilter ¶ added in v1.81.0
func (me *TseService) DescribeTseNacosReplicasByFilter(ctx context.Context, param map[string]interface{}) (nacosReplicas []*tse.NacosReplica, errRet error)
func (*TseService) DescribeTseNacosServerInterfacesByFilter ¶ added in v1.81.1
func (me *TseService) DescribeTseNacosServerInterfacesByFilter(ctx context.Context, instanceId string) (nacosServerInterfaces []*tse.NacosServerInterface, errRet error)
func (*TseService) DescribeTseZookeeperReplicasByFilter ¶ added in v1.81.0
func (me *TseService) DescribeTseZookeeperReplicasByFilter(ctx context.Context, param map[string]interface{}) (zookeeperReplicas []*tse.ZookeeperReplica, errRet error)
func (*TseService) DescribeTseZookeeperServerInterfacesByFilter ¶ added in v1.81.0
func (me *TseService) DescribeTseZookeeperServerInterfacesByFilter(ctx context.Context, param map[string]interface{}) (zookeeperServerInterfaces []*tse.ZookeeperServerInterface, errRet error)
type TsfService ¶ added in v1.79.6
type TsfService struct {
// contains filtered or unexported fields
}
func (*TsfService) DeleteTsfApiGroupById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfApiGroupById(ctx context.Context, groupId string) (errRet error)
func (*TsfService) DeleteTsfApiRateLimitRuleById ¶ added in v1.80.1
func (me *TsfService) DeleteTsfApiRateLimitRuleById(ctx context.Context, apiId, ruleId string) (errRet error)
func (*TsfService) DeleteTsfApplicationById ¶ added in v1.81.0
func (me *TsfService) DeleteTsfApplicationById(ctx context.Context, applicationId string) (errRet error)
func (*TsfService) DeleteTsfApplicationConfigById ¶ added in v1.79.6
func (me *TsfService) DeleteTsfApplicationConfigById(ctx context.Context, configId string) (errRet error)
func (*TsfService) DeleteTsfApplicationFileConfigById ¶ added in v1.81.2
func (me *TsfService) DeleteTsfApplicationFileConfigById(ctx context.Context, configId string) (errRet error)
func (*TsfService) DeleteTsfApplicationFileConfigReleaseById ¶ added in v1.81.0
func (*TsfService) DeleteTsfApplicationPublicConfigById ¶ added in v1.81.0
func (me *TsfService) DeleteTsfApplicationPublicConfigById(ctx context.Context, configId string) (errRet error)
func (*TsfService) DeleteTsfApplicationPublicConfigReleaseById ¶ added in v1.81.0
func (me *TsfService) DeleteTsfApplicationPublicConfigReleaseById(ctx context.Context, configId, namespaceId string) (errRet error)
func (*TsfService) DeleteTsfApplicationReleaseConfigById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfApplicationReleaseConfigById(ctx context.Context, configReleaseId string) (errRet error)
func (*TsfService) DeleteTsfBindApiGroupById ¶ added in v1.81.0
func (*TsfService) DeleteTsfClusterById ¶ added in v1.80.1
func (me *TsfService) DeleteTsfClusterById(ctx context.Context, clusterId string) (errRet error)
func (*TsfService) DeleteTsfConfigTemplateById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfConfigTemplateById(ctx context.Context, templateId string) (errRet error)
func (*TsfService) DeleteTsfContainGroupById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfContainGroupById(ctx context.Context, groupId string) (errRet error)
func (*TsfService) DeleteTsfGroupById ¶ added in v1.80.1
func (me *TsfService) DeleteTsfGroupById(ctx context.Context, groupId string) (errRet error)
func (*TsfService) DeleteTsfInstancesAttachmentById ¶ added in v1.81.0
func (*TsfService) DeleteTsfLaneById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfLaneById(ctx context.Context, laneId string) (errRet error)
func (*TsfService) DeleteTsfLaneRuleById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfLaneRuleById(ctx context.Context, ruleId string) (errRet error)
func (*TsfService) DeleteTsfMicroserviceById ¶ added in v1.79.6
func (me *TsfService) DeleteTsfMicroserviceById(ctx context.Context, microserviceId string) (errRet error)
func (*TsfService) DeleteTsfNamespaceById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfNamespaceById(ctx context.Context, namespaceId string) (errRet error)
func (*TsfService) DeleteTsfPathRewriteById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfPathRewriteById(ctx context.Context, pathRewriteId string) (errRet error)
func (*TsfService) DeleteTsfRepositoryById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfRepositoryById(ctx context.Context, repositoryId string) (errRet error)
func (*TsfService) DeleteTsfTaskById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfTaskById(ctx context.Context, taskId string) (errRet error)
func (*TsfService) DeleteTsfUnitNamespaceById ¶ added in v1.81.7
func (me *TsfService) DeleteTsfUnitNamespaceById(ctx context.Context, gatewayInstanceId, unitNamespace string) (errRet error)
func (*TsfService) DeleteTsfUnitRuleById ¶ added in v1.79.7
func (me *TsfService) DeleteTsfUnitRuleById(ctx context.Context, id string) (errRet error)
func (*TsfService) DescribeTsfApiDetailByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApiDetailByFilter(ctx context.Context, param map[string]interface{}) (apiDetail *tsf.ApiDetailResponse, errRet error)
func (*TsfService) DescribeTsfApiGroupByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApiGroupByFilter(ctx context.Context, param map[string]interface{}) (apiGroupInfo *tsf.TsfPageApiGroupInfo, errRet error)
func (*TsfService) DescribeTsfApiGroupById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfApiGroupById(ctx context.Context, groupId string) (apiGroup *tsf.ApiGroupInfo, errRet error)
func (*TsfService) DescribeTsfApiRateLimitRuleById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfApiRateLimitRuleById(ctx context.Context, apiId, ruleId string) (apiRateLimitRule *tsf.ApiRateLimitRule, errRet error)
func (*TsfService) DescribeTsfApplicationAttributeByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationAttributeByFilter(ctx context.Context, param map[string]interface{}) (applicationAttribute *tsf.ApplicationAttribute, errRet error)
func (*TsfService) DescribeTsfApplicationByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationByFilter(ctx context.Context, param map[string]interface{}) (application *tsf.TsfPageApplication, errRet error)
func (*TsfService) DescribeTsfApplicationById ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationById(ctx context.Context, applicationId string) (application *tsf.ApplicationForPage, errRet error)
func (*TsfService) DescribeTsfApplicationConfigByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationConfig *tsf.TsfPageConfig, errRet error)
func (*TsfService) DescribeTsfApplicationConfigById ¶ added in v1.79.6
func (*TsfService) DescribeTsfApplicationFileConfigByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationFileConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationFileConfig *tsf.TsfPageFileConfig, errRet error)
func (*TsfService) DescribeTsfApplicationFileConfigById ¶ added in v1.81.2
func (me *TsfService) DescribeTsfApplicationFileConfigById(ctx context.Context, configId string) (applicationFileConfig *tsf.FileConfig, errRet error)
func (*TsfService) DescribeTsfApplicationFileConfigReleaseById ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationFileConfigReleaseById(ctx context.Context, configId string, groupId string) (applicationFileConfigRelease *tsf.FileConfigRelease, errRet error)
func (*TsfService) DescribeTsfApplicationPublicConfigByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationPublicConfigByFilter(ctx context.Context, param map[string]interface{}) (applicationPublicConfig *tsf.TsfPageConfig, errRet error)
func (*TsfService) DescribeTsfApplicationPublicConfigById ¶ added in v1.81.0
func (*TsfService) DescribeTsfApplicationPublicConfigReleaseById ¶ added in v1.81.0
func (me *TsfService) DescribeTsfApplicationPublicConfigReleaseById(ctx context.Context, configId, namespaceId string) (applicationPublicConfigRelease *tsf.ConfigRelease, errRet error)
func (*TsfService) DescribeTsfApplicationReleaseConfigById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfApplicationReleaseConfigById(ctx context.Context, configId string, groupId string) (applicationReleaseConfig *tsf.ConfigRelease, errRet error)
func (*TsfService) DescribeTsfBindApiGroupById ¶ added in v1.81.0
func (me *TsfService) DescribeTsfBindApiGroupById(ctx context.Context, groupId string, gatewayDeployGroupId string) (bindApiGroup *tsf.GatewayDeployGroup, errRet error)
func (*TsfService) DescribeTsfBusinessLogConfigsByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfBusinessLogConfigsByFilter(ctx context.Context, param map[string]interface{}) (businessLogConfigs *tsf.TsfPageBusinessLogConfig, errRet error)
func (*TsfService) DescribeTsfClusterByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster *tsf.TsfPageCluster, errRet error)
func (*TsfService) DescribeTsfClusterById ¶ added in v1.80.1
func (*TsfService) DescribeTsfConfigSummaryByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfConfigSummaryByFilter(ctx context.Context, param map[string]interface{}) (configSummary *tsf.TsfPageConfig, errRet error)
func (*TsfService) DescribeTsfConfigTemplateById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfConfigTemplateById(ctx context.Context, templateId string) (configTemplate *tsf.ConfigTemplate, errRet error)
func (*TsfService) DescribeTsfContainGroupById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfContainGroupById(ctx context.Context, groupId string) (containGroup *tsf.ContainerGroupDetail, errRet error)
func (*TsfService) DescribeTsfDeliveryConfigByGroupIdByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfDeliveryConfigByGroupIdByFilter(ctx context.Context, param map[string]interface{}) (deliveryConfigByGroupID *tsf.SimpleKafkaDeliveryConfig, errRet error)
func (*TsfService) DescribeTsfDeliveryConfigsByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfDeliveryConfigsByFilter(ctx context.Context, param map[string]interface{}) (deliveryConfigs *tsf.DeliveryConfigBindGroups, errRet error)
func (*TsfService) DescribeTsfDeployContainerGroupById ¶ added in v1.81.7
func (me *TsfService) DescribeTsfDeployContainerGroupById(ctx context.Context, groupId string) (deployContainerGroup *tsf.ContainerGroupDeploy, errRet error)
func (*TsfService) DescribeTsfDeployVmGroupById ¶ added in v1.81.7
func (*TsfService) DescribeTsfDescribePodInstancesByFilter ¶ added in v1.81.5
func (me *TsfService) DescribeTsfDescribePodInstancesByFilter(ctx context.Context, param map[string]interface{}) (describePodInstances *tsf.GroupPodResult, errRet error)
func (*TsfService) DescribeTsfDescriptionContainerGroupByFilter ¶ added in v1.81.7
func (me *TsfService) DescribeTsfDescriptionContainerGroupByFilter(ctx context.Context, param map[string]interface{}) (descriptionContainerGroup *tsf.ContainGroupResult, errRet error)
func (*TsfService) DescribeTsfEnableUnitRuleById ¶ added in v1.81.2
func (*TsfService) DescribeTsfGatewayAllGroupApisByFilter ¶ added in v1.81.5
func (*TsfService) DescribeTsfGroupById ¶ added in v1.80.1
func (*TsfService) DescribeTsfGroupConfigReleaseByFilter ¶ added in v1.81.5
func (me *TsfService) DescribeTsfGroupConfigReleaseByFilter(ctx context.Context, param map[string]interface{}) (groupConfigRelease *tsf.GroupRelease, errRet error)
func (*TsfService) DescribeTsfGroupGatewaysByFilter ¶ added in v1.81.5
func (me *TsfService) DescribeTsfGroupGatewaysByFilter(ctx context.Context, param map[string]interface{}) (groupGateways *tsf.TsfPageApiGroupInfo, errRet error)
func (*TsfService) DescribeTsfGroupInstancesByFilter ¶ added in v1.81.5
func (me *TsfService) DescribeTsfGroupInstancesByFilter(ctx context.Context, param map[string]interface{}) (groupInstances *tsf.TsfPageInstance, errRet error)
func (*TsfService) DescribeTsfGroupsByFilter ¶ added in v1.81.7
func (me *TsfService) DescribeTsfGroupsByFilter(ctx context.Context, param map[string]interface{}) (groups *tsf.TsfPageVmGroup, errRet error)
func (*TsfService) DescribeTsfInstancesAttachmentById ¶ added in v1.81.0
func (*TsfService) DescribeTsfLaneById ¶ added in v1.79.7
func (*TsfService) DescribeTsfLaneRuleById ¶ added in v1.79.7
func (*TsfService) DescribeTsfMicroserviceApiVersionByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfMicroserviceApiVersionByFilter(ctx context.Context, param map[string]interface{}) (microserviceApiVersion []*tsf.ApiVersionArray, errRet error)
func (*TsfService) DescribeTsfMicroserviceByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfMicroserviceByFilter(ctx context.Context, param map[string]interface{}) (microservice *tsf.TsfPageMicroservice, errRet error)
func (*TsfService) DescribeTsfMicroserviceById ¶ added in v1.79.6
func (me *TsfService) DescribeTsfMicroserviceById(ctx context.Context, namespaceId, microserviceId, microserviceName string) (microservice *tsf.Microservice, errRet error)
func (*TsfService) DescribeTsfMsApiListByFilter ¶ added in v1.81.7
func (me *TsfService) DescribeTsfMsApiListByFilter(ctx context.Context, param map[string]interface{}) (msApiList *tsf.TsfApiListResponse, errRet error)
func (*TsfService) DescribeTsfNamespaceById ¶ added in v1.79.7
func (*TsfService) DescribeTsfPathRewriteById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfPathRewriteById(ctx context.Context, pathRewriteId string) (pathRewrite *tsf.PathRewrite, errRet error)
func (*TsfService) DescribeTsfPublicConfigSummaryByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfPublicConfigSummaryByFilter(ctx context.Context, param map[string]interface{}) (publicConfigSummary *tsf.TsfPageConfig, errRet error)
func (*TsfService) DescribeTsfReleaseApiGroupById ¶ added in v1.81.7
func (me *TsfService) DescribeTsfReleaseApiGroupById(ctx context.Context, groupId string) (releaseApiGroup *tsf.ApiGroupInfo, errRet error)
func (*TsfService) DescribeTsfRepositoryByFilter ¶ added in v1.81.2
func (me *TsfService) DescribeTsfRepositoryByFilter(ctx context.Context, param map[string]interface{}) (repositoryList *tsf.RepositoryList, errRet error)
func (*TsfService) DescribeTsfRepositoryById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfRepositoryById(ctx context.Context, repositoryId string) (repository *tsf.RepositoryInfo, errRet error)
func (*TsfService) DescribeTsfStartContainerGroupById ¶ added in v1.81.7
func (me *TsfService) DescribeTsfStartContainerGroupById(ctx context.Context, groupId string) (startContainerGroup *tsf.ContainerGroupOther, errRet error)
func (*TsfService) DescribeTsfStartGroupById ¶ added in v1.81.7
func (me *TsfService) DescribeTsfStartGroupById(ctx context.Context, groupId string) (startGroup *tsf.VmGroupOther, errRet error)
func (*TsfService) DescribeTsfTaskById ¶ added in v1.79.7
func (me *TsfService) DescribeTsfTaskById(ctx context.Context, taskId string) (task *tsf.TaskRecord, errRet error)
func (*TsfService) DescribeTsfUnitNamespaceById ¶ added in v1.81.7
func (me *TsfService) DescribeTsfUnitNamespaceById(ctx context.Context, gatewayInstanceId, namespaceId string) (unitNamespace *tsf.UnitNamespace, errRet error)
func (*TsfService) DescribeTsfUnitRuleById ¶ added in v1.79.7
func (*TsfService) DescribeTsfUnitRulesByFilter ¶ added in v1.81.0
func (me *TsfService) DescribeTsfUnitRulesByFilter(ctx context.Context, param map[string]interface{}) (unitRule *tsf.TsfPageUnitRuleV2, errRet error)
func (*TsfService) DescribeTsfUsableUnitNamespacesByFilter ¶ added in v1.81.5
func (me *TsfService) DescribeTsfUsableUnitNamespacesByFilter(ctx context.Context, param map[string]interface{}) (usableUnitNamespaces *tsf.TsfPageUnitNamespace, errRet error)
func (*TsfService) TsfClusterStateRefreshFunc ¶ added in v1.80.1
func (me *TsfService) TsfClusterStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
type VodService ¶ added in v1.45.0
type VodService struct {
// contains filtered or unexported fields
}
func (*VodService) DeleteAdaptiveDynamicStreamingTemplate ¶ added in v1.45.0
func (*VodService) DeleteImageSpriteTemplate ¶ added in v1.45.0
func (*VodService) DeleteProcedureTemplate ¶ added in v1.45.0
func (*VodService) DeleteSnapshotByTimeOffsetTemplate ¶ added in v1.45.0
func (*VodService) DeleteSuperPlayerConfig ¶ added in v1.45.0
func (*VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter ¶ added in v1.45.0
func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.AdaptiveDynamicStreamingTemplate, errRet error)
func (*VodService) DescribeAdaptiveDynamicStreamingTemplatesById ¶ added in v1.45.0
func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.AdaptiveDynamicStreamingTemplate, has bool, errRet error)
func (*VodService) DescribeImageSpriteTemplatesByFilter ¶ added in v1.45.0
func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ImageSpriteTemplate, errRet error)
func (*VodService) DescribeImageSpriteTemplatesById ¶ added in v1.45.0
func (me *VodService) DescribeImageSpriteTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ImageSpriteTemplate, has bool, errRet error)
func (*VodService) DescribeProcedureTemplatesByFilter ¶ added in v1.45.0
func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ProcedureTemplate, errRet error)
func (*VodService) DescribeProcedureTemplatesById ¶ added in v1.45.0
func (me *VodService) DescribeProcedureTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ProcedureTemplate, has bool, errRet error)
func (*VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter ¶ added in v1.45.0
func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.SnapshotByTimeOffsetTemplate, errRet error)
func (*VodService) DescribeSnapshotByTimeOffsetTemplatesById ¶ added in v1.45.0
func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.SnapshotByTimeOffsetTemplate, has bool, errRet error)
func (*VodService) DescribeSuperPlayerConfigsByFilter ¶ added in v1.45.0
func (me *VodService) DescribeSuperPlayerConfigsByFilter(ctx context.Context, filters map[string]interface{}) (configs []*vod.PlayerConfig, errRet error)
func (*VodService) DescribeSuperPlayerConfigsById ¶ added in v1.45.0
func (me *VodService) DescribeSuperPlayerConfigsById(ctx context.Context, configId string) (configInfo *vod.PlayerConfig, has bool, errRet error)
type VpcACLRule ¶ added in v1.41.3
type VpcACLRule struct {
// contains filtered or unexported fields
}
acl rule
type VpcBasicInfo ¶ added in v1.41.3
type VpcBasicInfo struct {
// contains filtered or unexported fields
}
For Adun Sake please DO NOT Declare the redundant Type STRUCT!!
VPC basic information
type VpcRouteEntryBasicInfo ¶ added in v1.41.3
type VpcRouteEntryBasicInfo struct {
// contains filtered or unexported fields
}
route entry basic information
type VpcRouteTableBasicInfo ¶ added in v1.41.3
type VpcRouteTableBasicInfo struct {
// contains filtered or unexported fields
}
route table basic information
type VpcSecurityGroupLiteRule ¶ added in v1.41.3
type VpcSecurityGroupLiteRule struct {
// contains filtered or unexported fields
}
func (VpcSecurityGroupLiteRule) String ¶ added in v1.41.3
func (rule VpcSecurityGroupLiteRule) String() string
type VpcService ¶ added in v1.41.3
type VpcService struct {
// contains filtered or unexported fields
}
func (*VpcService) AssignIpv4ToEni ¶ added in v1.41.3
func (*VpcService) AssociateAclSubnets ¶ added in v1.41.3
func (*VpcService) AttachCcnInstances ¶ added in v1.41.3
func (*VpcService) AttachEip ¶ added in v1.41.3
func (me *VpcService) AttachEip(ctx context.Context, eipId, instanceId string) error
func (*VpcService) AttachEniToCvm ¶ added in v1.41.3
func (me *VpcService) AttachEniToCvm(ctx context.Context, eniId, cvmId string) error
func (*VpcService) AttachLiteRulesToSecurityGroup ¶ added in v1.41.3
func (me *VpcService) AttachLiteRulesToSecurityGroup(ctx context.Context, sgId string, ingress, egress []VpcSecurityGroupLiteRule) error
func (*VpcService) AttachRulesToACL ¶ added in v1.41.3
func (me *VpcService) AttachRulesToACL(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
func (*VpcService) CheckAssistantCidr ¶ added in v1.60.26
func (me *VpcService) CheckAssistantCidr(ctx context.Context, request *vpc.CheckAssistantCidrRequest) (info []*vpc.ConflictSource, errRet error)
CheckAssistantCidr used for check if cidr conflict
func (*VpcService) CreateAddressTemplate ¶ added in v1.50.0
func (*VpcService) CreateAddressTemplateGroup ¶ added in v1.50.0
func (*VpcService) CreateAssistantCidr ¶ added in v1.60.26
func (me *VpcService) CreateAssistantCidr(ctx context.Context, request *vpc.CreateAssistantCidrRequest) (info []*vpc.AssistantCidr, errRet error)
func (*VpcService) CreateCcn ¶ added in v1.41.3
func (me *VpcService) CreateCcn(ctx context.Context, name, description, qos, chargeType, bandWithLimitType string) (basicInfo CcnBasicInfo, errRet error)
func (*VpcService) CreateDirectConnectGateway ¶ added in v1.41.3
func (*VpcService) CreateDirectConnectGatewayCcnRoute ¶ added in v1.41.3
func (*VpcService) CreateNatGatewaySnat ¶ added in v1.58.0
func (me *VpcService) CreateNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
func (*VpcService) CreateRouteTable ¶ added in v1.41.3
func (*VpcService) CreateRoutes ¶ added in v1.41.3
func (*VpcService) CreateSecurityGroup ¶ added in v1.41.3
func (*VpcService) CreateSecurityGroupPolicies ¶ added in v1.79.1
func (me *VpcService) CreateSecurityGroupPolicies(ctx context.Context, request *vpc.CreateSecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) CreateSecurityGroupPolicy
deprecated
added in
v1.41.3
func (me *VpcService) CreateSecurityGroupPolicy(ctx context.Context, info securityGroupRuleBasicInfoWithPolicyIndex) (ruleId string, err error)
Deprecated: the redundant type struct cause cause unnecessary mental burden, use sdk request directly
func (*VpcService) CreateServiceTemplate ¶ added in v1.50.0
func (*VpcService) CreateServiceTemplateGroup ¶ added in v1.50.0
func (*VpcService) CreateSubnet ¶ added in v1.41.3
func (*VpcService) CreateVpc ¶ added in v1.41.3
func (me *VpcService) CreateVpc(ctx context.Context, name, cidr string, isMulticast bool, dnsServers []string, tags map[string]string) (vpcId string, isDefault bool, errRet error)
////////api
func (*VpcService) CreateVpcNetworkAcl ¶ added in v1.41.3
func (*VpcService) CreateVpnGatewayRoute ¶ added in v1.58.0
func (me *VpcService) CreateVpnGatewayRoute(ctx context.Context, vpnGatewayId string, vpnGwRoutes []*vpc.VpnGatewayRoute) (errRet error, routes []*vpc.VpnGatewayRoute)
func (*VpcService) DeleteAcl ¶ added in v1.41.3
func (me *VpcService) DeleteAcl(ctx context.Context, aclID string) (errRet error)
func (*VpcService) DeleteAclAttachment ¶ added in v1.41.3
func (me *VpcService) DeleteAclAttachment(ctx context.Context, attachmentAcl string) (errRet error)
func (*VpcService) DeleteAddressTemplate ¶ added in v1.50.0
func (me *VpcService) DeleteAddressTemplate(ctx context.Context, templateId string) (errRet error)
func (*VpcService) DeleteAddressTemplateGroup ¶ added in v1.50.0
func (me *VpcService) DeleteAddressTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
func (*VpcService) DeleteAssistantCidr ¶ added in v1.60.26
func (me *VpcService) DeleteAssistantCidr(ctx context.Context, request *vpc.DeleteAssistantCidrRequest) (errRet error)
func (*VpcService) DeleteCcn ¶ added in v1.41.3
func (me *VpcService) DeleteCcn(ctx context.Context, ccnId string) (errRet error)
func (*VpcService) DeleteCustomerGateway ¶ added in v1.65.2
func (me *VpcService) DeleteCustomerGateway(ctx context.Context, customerGatewayId string) (errRet error)
func (*VpcService) DeleteDcGatewayAttachmentById ¶ added in v1.81.2
func (*VpcService) DeleteDirectConnectGateway ¶ added in v1.41.3
func (me *VpcService) DeleteDirectConnectGateway(ctx context.Context, dcgId string) (errRet error)
func (*VpcService) DeleteDirectConnectGatewayCcnRoute ¶ added in v1.41.3
func (me *VpcService) DeleteDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, routeId string) (errRet error)
func (*VpcService) DeleteEip ¶ added in v1.41.3
func (me *VpcService) DeleteEip(ctx context.Context, eipId string) error
func (*VpcService) DeleteEni ¶ added in v1.41.3
func (me *VpcService) DeleteEni(ctx context.Context, id string) error
func (*VpcService) DeleteHaVip ¶ added in v1.69.0
func (me *VpcService) DeleteHaVip(ctx context.Context, haVipId string) (errRet error)
func (*VpcService) DeleteLiteRules ¶ added in v1.41.3
func (me *VpcService) DeleteLiteRules(ctx context.Context, sgId string, rules []VpcSecurityGroupLiteRule, isIngress bool) error
func (*VpcService) DeleteNatGateway ¶ added in v1.67.0
func (me *VpcService) DeleteNatGateway(ctx context.Context, natGatewayId string) (errRet error)
func (*VpcService) DeleteNatGatewaySnat ¶ added in v1.58.0
func (*VpcService) DeleteRouteTable ¶ added in v1.41.3
func (me *VpcService) DeleteRouteTable(ctx context.Context, routeTableId string) (errRet error)
func (*VpcService) DeleteRoutes ¶ added in v1.41.3
func (*VpcService) DeleteSecurityGroup ¶ added in v1.41.3
func (me *VpcService) DeleteSecurityGroup(ctx context.Context, id string) error
func (*VpcService) DeleteSecurityGroupPolicies ¶ added in v1.79.1
func (me *VpcService) DeleteSecurityGroupPolicies(ctx context.Context, request *vpc.DeleteSecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) DeleteSecurityGroupPolicy ¶ added in v1.41.3
func (me *VpcService) DeleteSecurityGroupPolicy(ctx context.Context, ruleId string) error
func (*VpcService) DeleteSecurityGroupPolicyByPolicyIndex ¶ added in v1.78.3
func (*VpcService) DeleteSecurityGroupPolicyByPolicyIndexList ¶ added in v1.81.19
func (*VpcService) DeleteServiceTemplate ¶ added in v1.50.0
func (me *VpcService) DeleteServiceTemplate(ctx context.Context, templateId string) (errRet error)
func (*VpcService) DeleteServiceTemplateGroup ¶ added in v1.50.0
func (me *VpcService) DeleteServiceTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
func (*VpcService) DeleteSubnet ¶ added in v1.41.3
func (me *VpcService) DeleteSubnet(ctx context.Context, subnetId string) (errRet error)
func (*VpcService) DeleteVpc ¶ added in v1.41.3
func (me *VpcService) DeleteVpc(ctx context.Context, vpcId string) (errRet error)
func (*VpcService) DeleteVpcBandwidthPackageAttachmentById ¶ added in v1.78.7
func (me *VpcService) DeleteVpcBandwidthPackageAttachmentById(ctx context.Context, bandwidthPackageId, resourceId string) (errRet error)
func (*VpcService) DeleteVpcBandwidthPackageById ¶ added in v1.78.7
func (me *VpcService) DeleteVpcBandwidthPackageById(ctx context.Context, bandwidthPackageId string) (errRet error)
func (*VpcService) DeleteVpcClassicLinkAttachmentById ¶ added in v1.81.3
func (*VpcService) DeleteVpcDhcpAssociateAddressById ¶ added in v1.81.3
func (me *VpcService) DeleteVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string) (errRet error)
func (*VpcService) DeleteVpcDhcpIpById ¶ added in v1.81.3
func (me *VpcService) DeleteVpcDhcpIpById(ctx context.Context, dhcpIpId string) (errRet error)
func (*VpcService) DeleteVpcEndPointById ¶ added in v1.79.2
func (me *VpcService) DeleteVpcEndPointById(ctx context.Context, endPointId string) (errRet error)
func (*VpcService) DeleteVpcEndPointServiceById ¶ added in v1.79.2
func (me *VpcService) DeleteVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (errRet error)
func (*VpcService) DeleteVpcEndPointServiceWhiteListById ¶ added in v1.79.2
func (*VpcService) DeleteVpcEniSgAttachmentById ¶ added in v1.81.6
func (*VpcService) DeleteVpcFlowLogById ¶ added in v1.79.2
func (me *VpcService) DeleteVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (errRet error)
func (*VpcService) DeleteVpcIpv6AddressById ¶ added in v1.80.6
func (me *VpcService) DeleteVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (errRet error)
func (*VpcService) DeleteVpcIpv6CidrBlockById ¶ added in v1.81.5
func (me *VpcService) DeleteVpcIpv6CidrBlockById(ctx context.Context, vpcId string) (errRet error)
func (*VpcService) DeleteVpcIpv6EniAddressById ¶ added in v1.81.5
func (*VpcService) DeleteVpcIpv6SubnetCidrBlockById ¶ added in v1.81.5
func (*VpcService) DeleteVpcLocalGatewayById ¶ added in v1.81.5
func (*VpcService) DeleteVpcNetDetectById ¶ added in v1.81.2
func (me *VpcService) DeleteVpcNetDetectById(ctx context.Context, netDetectId string) (errRet error)
func (*VpcService) DeleteVpcNetworkAclQuintupleById ¶ added in v1.81.6
func (me *VpcService) DeleteVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (errRet error)
func (*VpcService) DeleteVpcNotifyRoutesById ¶ added in v1.81.6
func (*VpcService) DeleteVpcSnapshotPoliciesById ¶ added in v1.81.2
func (me *VpcService) DeleteVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (errRet error)
func (*VpcService) DeleteVpcSnapshotPolicyAttachmentById ¶ added in v1.81.2
func (me *VpcService) DeleteVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (errRet error)
func (*VpcService) DeleteVpcTrafficPackageById ¶ added in v1.81.2
func (me *VpcService) DeleteVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (errRet error)
func (*VpcService) DeleteVpnGateway ¶ added in v1.64.0
func (me *VpcService) DeleteVpnGateway(ctx context.Context, vpnGatewayId string) (errRet error)
func (*VpcService) DeleteVpnGatewayRoutes ¶ added in v1.58.0
func (*VpcService) DeleteVpnGatewaySslClient ¶ added in v1.65.0
func (*VpcService) DeleteVpnGatewaySslServer ¶ added in v1.65.0
func (*VpcService) DescribeAddressTemplateById ¶ added in v1.50.0
func (me *VpcService) DescribeAddressTemplateById(ctx context.Context, templateId string) (template *vpc.AddressTemplate, has bool, errRet error)
func (*VpcService) DescribeAddressTemplateGroupById ¶ added in v1.50.0
func (me *VpcService) DescribeAddressTemplateGroupById(ctx context.Context, templateGroupId string) (templateGroup *vpc.AddressTemplateGroup, has bool, errRet error)
func (*VpcService) DescribeAddressTemplateGroups ¶ added in v1.50.0
func (me *VpcService) DescribeAddressTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplateGroup, errRet error)
func (*VpcService) DescribeAddressTemplates ¶ added in v1.50.0
func (me *VpcService) DescribeAddressTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplate, errRet error)
func (*VpcService) DescribeAssistantCidr ¶ added in v1.60.26
func (me *VpcService) DescribeAssistantCidr(ctx context.Context, vpcId string) (info []*vpc.AssistantCidr, errRet error)
func (*VpcService) DescribeByAclId ¶ added in v1.41.3
func (*VpcService) DescribeCcn ¶ added in v1.41.3
func (me *VpcService) DescribeCcn(ctx context.Context, ccnId string) (info CcnBasicInfo, has int, errRet error)
func (*VpcService) DescribeCcnAttachedInstance ¶ added in v1.41.3
func (me *VpcService) DescribeCcnAttachedInstance(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (info CcnAttachedInstanceInfo, has int, errRet error)
func (*VpcService) DescribeCcnAttachedInstances ¶ added in v1.41.3
func (me *VpcService) DescribeCcnAttachedInstances(ctx context.Context, ccnId string) (infos []CcnAttachedInstanceInfo, errRet error)
func (*VpcService) DescribeCcnAttachmentsByInstance ¶ added in v1.41.3
func (me *VpcService) DescribeCcnAttachmentsByInstance(ctx context.Context, instanceType string, instanceId string, instanceRegion string) (infos []vpc.CcnAttachedInstance, errRet error)
func (*VpcService) DescribeCcnCrossBorderComplianceByFilter ¶ added in v1.80.4
func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
func (*VpcService) DescribeCcnCrossBorderFlowMonitorByFilter ¶ added in v1.80.4
func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
func (*VpcService) DescribeCcnRegionBandwidthLimit ¶ added in v1.41.3
func (*VpcService) DescribeCcnRegionBandwidthLimits ¶ added in v1.41.3
func (me *VpcService) DescribeCcnRegionBandwidthLimits(ctx context.Context, ccnId string) (infos []CcnBandwidthLimit, errRet error)
func (*VpcService) DescribeCcns ¶ added in v1.41.3
func (me *VpcService) DescribeCcns(ctx context.Context, ccnId, name string) (infos []CcnBasicInfo, errRet error)
func (*VpcService) DescribeCustomerGatewayByFilter ¶ added in v1.65.2
func (me *VpcService) DescribeCustomerGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.CustomerGateway, errRet error)
func (*VpcService) DescribeDcGatewayAttachmentById ¶ added in v1.81.2
func (me *VpcService) DescribeDcGatewayAttachmentById(ctx context.Context, vpcId string, directConnectGatewayId string, natGatewayId string) (dcGateway *vpc.DirectConnectGateway, errRet error)
func (*VpcService) DescribeDirectConnectGateway ¶ added in v1.41.3
func (me *VpcService) DescribeDirectConnectGateway(ctx context.Context, dcgId string) (info DcgInstanceInfo, has int, errRet error)
func (*VpcService) DescribeDirectConnectGatewayCcnRoute ¶ added in v1.41.3
func (me *VpcService) DescribeDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, routeId string) (infoRet DcgRouteInfo, has int, errRet error)
func (*VpcService) DescribeDirectConnectGatewayCcnRoutes ¶ added in v1.41.3
func (me *VpcService) DescribeDirectConnectGatewayCcnRoutes(ctx context.Context, dcgId string) (infos []DcgRouteInfo, errRet error)
func (*VpcService) DescribeDirectConnectGateways ¶ added in v1.41.3
func (me *VpcService) DescribeDirectConnectGateways(ctx context.Context, dcgId, name string) ( infos []DcgInstanceInfo, errRet error)
func (*VpcService) DescribeEipAddressQuota ¶ added in v1.81.1
func (*VpcService) DescribeEipByFilter ¶ added in v1.41.3
func (*VpcService) DescribeEipById ¶ added in v1.41.3
func (me *VpcService) DescribeEipById(ctx context.Context, eipId string) (eip *vpc.Address, errRet error)
EIP
func (*VpcService) DescribeEipNetworkAccountType ¶ added in v1.81.1
func (me *VpcService) DescribeEipNetworkAccountType(ctx context.Context) (networkAccountType *string, errRet error)
func (*VpcService) DescribeEniByFilters ¶ added in v1.41.3
func (me *VpcService) DescribeEniByFilters( ctx context.Context, vpcId, subnetId, cvmId, sgId, name, desc, ipv4 *string, tags map[string]string, ) (enis []*vpc.NetworkInterface, err error)
func (*VpcService) DescribeEniById ¶ added in v1.41.3
func (me *VpcService) DescribeEniById(ctx context.Context, ids []string) (enis []*vpc.NetworkInterface, err error)
func (*VpcService) DescribeFlowLogs ¶ added in v1.79.2
func (me *VpcService) DescribeFlowLogs(ctx context.Context, request *vpc.DescribeFlowLogsRequest) (result []*vpc.FlowLog, errRet error)
func (*VpcService) DescribeHaVipByFilter ¶ added in v1.69.0
func (*VpcService) DescribeHaVipEipById ¶ added in v1.41.3
func (*VpcService) DescribeNatDcRouteByFilter ¶ added in v1.81.1
func (me *VpcService) DescribeNatDcRouteByFilter(ctx context.Context, param map[string]interface{}) (natDcRoute []*vpc.NatDirectConnectGatewayRoute, errRet error)
func (*VpcService) DescribeNatGatewayByFilter ¶ added in v1.67.0
func (me *VpcService) DescribeNatGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.NatGateway, errRet error)
func (*VpcService) DescribeNatGatewayById ¶ added in v1.60.27
func (me *VpcService) DescribeNatGatewayById(ctx context.Context, natGateWayId string) (natGateWay *vpc.NatGateway, errRet error)
func (*VpcService) DescribeNatGatewaySnats ¶ added in v1.58.0
func (me *VpcService) DescribeNatGatewaySnats(ctx context.Context, natGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.SourceIpTranslationNatRule)
func (*VpcService) DescribeNetWorkAcls ¶ added in v1.41.3
func (me *VpcService) DescribeNetWorkAcls(ctx context.Context, aclID, vpcID, name string) (info []*vpc.NetworkAcl, errRet error)
func (*VpcService) DescribeNetWorkByACLID ¶ added in v1.41.3
func (me *VpcService) DescribeNetWorkByACLID(ctx context.Context, aclID string) (info *vpc.NetworkAcl, has int, errRet error)
func (*VpcService) DescribeRouteTable ¶ added in v1.41.3
func (me *VpcService) DescribeRouteTable(ctx context.Context, routeTableId string) (info VpcRouteTableBasicInfo, has int, errRet error)
func (*VpcService) DescribeRouteTables ¶ added in v1.41.3
func (me *VpcService) DescribeRouteTables(ctx context.Context, routeTableId, routeTableName, vpcId string, tags map[string]string, associationMain *bool, tagKey string) (infos []VpcRouteTableBasicInfo, errRet error)
func (*VpcService) DescribeSecurityGroup ¶ added in v1.41.3
func (me *VpcService) DescribeSecurityGroup(ctx context.Context, id string) (sg *vpc.SecurityGroup, err error)
func (*VpcService) DescribeSecurityGroupPolices ¶ added in v1.41.3
func (me *VpcService) DescribeSecurityGroupPolices(ctx context.Context, sgId string) (ingress, egress []VpcSecurityGroupLiteRule, exist bool, err error)
func (*VpcService) DescribeSecurityGroupPolicies ¶ added in v1.79.1
func (me *VpcService) DescribeSecurityGroupPolicies(ctx context.Context, sgId string) (result *vpc.SecurityGroupPolicySet, errRet error)
func (*VpcService) DescribeSecurityGroupPolicy
deprecated
added in
v1.41.3
func (me *VpcService) DescribeSecurityGroupPolicy(ctx context.Context, ruleId string) (sgId string, policyType string, policy *vpc.SecurityGroupPolicy, errRet error)
Deprecated: use DescribeSecurityGroupPolicies instead
func (*VpcService) DescribeSecurityGroups ¶ added in v1.41.3
func (me *VpcService) DescribeSecurityGroups(ctx context.Context, sgId, sgName *string, projectId *int, tags map[string]string) (sgs []*vpc.SecurityGroup, err error)
func (*VpcService) DescribeSecurityGroupsAssociate ¶ added in v1.41.3
func (me *VpcService) DescribeSecurityGroupsAssociate(ctx context.Context, ids []string) ([]*vpc.SecurityGroupAssociationStatistics, error)
func (*VpcService) DescribeServiceTemplateById ¶ added in v1.50.0
func (me *VpcService) DescribeServiceTemplateById(ctx context.Context, templateId string) (template *vpc.ServiceTemplate, has bool, errRet error)
func (*VpcService) DescribeServiceTemplateGroupById ¶ added in v1.50.0
func (me *VpcService) DescribeServiceTemplateGroupById(ctx context.Context, templateGroupId string) (template *vpc.ServiceTemplateGroup, has bool, errRet error)
func (*VpcService) DescribeServiceTemplateGroups ¶ added in v1.50.0
func (me *VpcService) DescribeServiceTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplateGroup, errRet error)
func (*VpcService) DescribeServiceTemplates ¶ added in v1.50.0
func (me *VpcService) DescribeServiceTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplate, errRet error)
func (*VpcService) DescribeSubnet ¶ added in v1.41.3
func (me *VpcService) DescribeSubnet(ctx context.Context, subnetId string, isRemoteVpcSNAT *bool, tagKey, cidrBlock string) (info VpcSubnetBasicInfo, has int, errRet error)
func (*VpcService) DescribeSubnetById ¶ added in v1.81.5
func (*VpcService) DescribeSubnets ¶ added in v1.41.3
func (*VpcService) DescribeTaskResult ¶ added in v1.65.0
func (me *VpcService) DescribeTaskResult(ctx context.Context, taskId *uint64) (result *vpc.DescribeTaskResultResponse, err error)
func (*VpcService) DescribeTenantCcnByFilter ¶ added in v1.80.4
func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
func (*VpcService) DescribeVpc ¶ added in v1.41.3
func (me *VpcService) DescribeVpc(ctx context.Context, vpcId string, tagKey string, cidrBlock string) (info VpcBasicInfo, has int, errRet error)
func (*VpcService) DescribeVpcAccountAttributes ¶ added in v1.81.5
func (me *VpcService) DescribeVpcAccountAttributes(ctx context.Context) (accountAttributes []*vpc.AccountAttribute, errRet error)
func (*VpcService) DescribeVpcBandwidthPackage ¶ added in v1.78.7
func (me *VpcService) DescribeVpcBandwidthPackage(ctx context.Context, bandwidthPackageId string) (resource *vpc.BandwidthPackage, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageAttachment ¶ added in v1.78.7
func (*VpcService) DescribeVpcBandwidthPackageBillUsageByFilter ¶ added in v1.81.1
func (me *VpcService) DescribeVpcBandwidthPackageBillUsageByFilter(ctx context.Context, param map[string]interface{}) (bandwidthPackageBillUsage []*vpc.BandwidthPackageBillBandwidth, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageByEip ¶ added in v1.79.4
func (me *VpcService) DescribeVpcBandwidthPackageByEip(ctx context.Context, eipId string) (resource *vpc.BandwidthPackage, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageQuota ¶ added in v1.81.1
func (*VpcService) DescribeVpcById ¶ added in v1.81.5
func (*VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter ¶ added in v1.81.0
func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
func (*VpcService) DescribeVpcCcnRoutesById ¶ added in v1.80.2
func (*VpcService) DescribeVpcClassicLinkAttachmentById ¶ added in v1.81.3
func (me *VpcService) DescribeVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (classicLinkAttachment *vpc.ClassicLinkInstance, errRet error)
func (*VpcService) DescribeVpcClassicLinkInstancesByFilter ¶ added in v1.81.5
func (me *VpcService) DescribeVpcClassicLinkInstancesByFilter(ctx context.Context, param map[string]interface{}) (classicLinkInstances []*vpc.ClassicLinkInstance, errRet error)
func (*VpcService) DescribeVpcCvmInstancesByFilter ¶ added in v1.81.5
func (me *VpcService) DescribeVpcCvmInstancesByFilter(ctx context.Context, param map[string]interface{}) (CvmInstances []*vpc.CvmInstance, errRet error)
func (*VpcService) DescribeVpcDhcpAssociateAddressById ¶ added in v1.81.3
func (*VpcService) DescribeVpcDhcpIpById ¶ added in v1.81.3
func (*VpcService) DescribeVpcEndPointById ¶ added in v1.79.2
func (*VpcService) DescribeVpcEndPointServiceById ¶ added in v1.79.2
func (me *VpcService) DescribeVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (endPointService *vpc.EndPointService, errRet error)
func (*VpcService) DescribeVpcEndPointServiceWhiteListById ¶ added in v1.79.2
func (me *VpcService) DescribeVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (endPointServiceWhiteList *vpc.VpcEndPointServiceUser, errRet error)
func (*VpcService) DescribeVpcFlowLogById ¶ added in v1.79.2
func (*VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter ¶ added in v1.81.5
func (me *VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowMonitorDetail []*vpc.GatewayFlowMonitorDetail, errRet error)
func (*VpcService) DescribeVpcGatewayFlowQosByFilter ¶ added in v1.81.5
func (me *VpcService) DescribeVpcGatewayFlowQosByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowQos []*vpc.GatewayQos, errRet error)
func (*VpcService) DescribeVpcIpv6AddressById ¶ added in v1.80.6
func (*VpcService) DescribeVpcIpv6EniAddressById ¶ added in v1.81.5
func (me *VpcService) DescribeVpcIpv6EniAddressById(ctx context.Context, vpcId string, ipv6Address string) (ipv6EniAddress *vpc.VpcIpv6Address, errRet error)
func (*VpcService) DescribeVpcLimitsByFilter ¶ added in v1.81.6
func (*VpcService) DescribeVpcLocalGatewayById ¶ added in v1.81.5
func (me *VpcService) DescribeVpcLocalGatewayById(ctx context.Context, localGatewayId string) (localGateway *vpc.LocalGateway, errRet error)
func (*VpcService) DescribeVpcNetDetectById ¶ added in v1.81.2
func (*VpcService) DescribeVpcNetDetectStateCheck ¶ added in v1.81.6
func (me *VpcService) DescribeVpcNetDetectStateCheck(ctx context.Context, param map[string]interface{}) (netDetectStateCheck []*vpc.NetDetectIpState, errRet error)
func (*VpcService) DescribeVpcNetDetectStatesByFilter ¶ added in v1.81.5
func (me *VpcService) DescribeVpcNetDetectStatesByFilter(ctx context.Context, param map[string]interface{}) (NetDetectStates []*vpc.NetDetectState, errRet error)
func (*VpcService) DescribeVpcNetworkAclQuintupleById ¶ added in v1.81.6
func (me *VpcService) DescribeVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (networkAclQuintuples []*vpc.NetworkAclQuintupleEntry, errRet error)
func (*VpcService) DescribeVpcNetworkInterfaceLimit ¶ added in v1.81.5
func (me *VpcService) DescribeVpcNetworkInterfaceLimit(ctx context.Context, param map[string]interface{}) (networkInterfaceLimit *vpc.DescribeNetworkInterfaceLimitResponseParams, errRet error)
func (*VpcService) DescribeVpcNotifyRoutesById ¶ added in v1.81.6
func (*VpcService) DescribeVpcPrivateIpAddresses ¶ added in v1.81.5
func (me *VpcService) DescribeVpcPrivateIpAddresses(ctx context.Context, param map[string]interface{}) (PrivateIpAddresses []*vpc.VpcPrivateIpAddress, errRet error)
func (*VpcService) DescribeVpcProductQuota ¶ added in v1.81.5
func (me *VpcService) DescribeVpcProductQuota(ctx context.Context, param map[string]interface{}) (ProductQuota []*vpc.ProductQuota, errRet error)
func (*VpcService) DescribeVpcResourceDashboard ¶ added in v1.81.5
func (me *VpcService) DescribeVpcResourceDashboard(ctx context.Context, param map[string]interface{}) (ResourceDashboard []*vpc.ResourceDashboard, errRet error)
func (*VpcService) DescribeVpcRouteConflicts ¶ added in v1.81.5
func (me *VpcService) DescribeVpcRouteConflicts(ctx context.Context, param map[string]interface{}) (routeConflicts []*vpc.RouteConflict, errRet error)
func (*VpcService) DescribeVpcSecurityGroupLimits ¶ added in v1.81.6
func (me *VpcService) DescribeVpcSecurityGroupLimits(ctx context.Context, param map[string]interface{}) (securityGroupLimit *vpc.SecurityGroupLimitSet, errRet error)
func (*VpcService) DescribeVpcSecurityGroupReferences ¶ added in v1.81.6
func (me *VpcService) DescribeVpcSecurityGroupReferences(ctx context.Context, param map[string]interface{}) (securityGroupReferences []*vpc.ReferredSecurityGroup, errRet error)
func (*VpcService) DescribeVpcSgSnapshotFileContent ¶ added in v1.81.6
func (me *VpcService) DescribeVpcSgSnapshotFileContent(ctx context.Context, param map[string]interface{}) (sgSnapshotFileContent *vpc.DescribeSgSnapshotFileContentResponseParams, errRet error)
func (*VpcService) DescribeVpcSnapshotFilesByFilter ¶ added in v1.81.6
func (me *VpcService) DescribeVpcSnapshotFilesByFilter(ctx context.Context, param map[string]interface{}) (SnapshotFiles []*vpc.SnapshotFileInfo, errRet error)
func (*VpcService) DescribeVpcSnapshotPoliciesById ¶ added in v1.81.2
func (me *VpcService) DescribeVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (snapshotPolices []*vpc.SnapshotPolicy, errRet error)
func (*VpcService) DescribeVpcSnapshotPolicyAttachmentById ¶ added in v1.81.2
func (me *VpcService) DescribeVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (snapshotPolicyAttachment []*vpc.SnapshotInstance, errRet error)
func (*VpcService) DescribeVpcSubnetResourceDashboardByFilter ¶ added in v1.81.6
func (me *VpcService) DescribeVpcSubnetResourceDashboardByFilter(ctx context.Context, param map[string]interface{}) (subnetResourceDashboard []*vpc.ResourceStatistics, errRet error)
func (*VpcService) DescribeVpcTaskResult ¶ added in v1.72.0
func (me *VpcService) DescribeVpcTaskResult(ctx context.Context, taskId *string) (err error)
func (*VpcService) DescribeVpcTemplateLimits ¶ added in v1.81.6
func (me *VpcService) DescribeVpcTemplateLimits(ctx context.Context) (templateLimit *vpc.TemplateLimit, errRet error)
func (*VpcService) DescribeVpcTrafficPackageById ¶ added in v1.81.2
func (me *VpcService) DescribeVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (TrafficPackage *vpc.TrafficPackage, errRet error)
func (*VpcService) DescribeVpcUsedIpAddressByFilter ¶ added in v1.81.6
func (me *VpcService) DescribeVpcUsedIpAddressByFilter(ctx context.Context, param map[string]interface{}) (UsedIpAddress []*vpc.IpAddressStates, errRet error)
func (*VpcService) DescribeVpcVpnGatewayCcnRoutesById ¶ added in v1.80.4
func (me *VpcService) DescribeVpcVpnGatewayCcnRoutesById(ctx context.Context, vpnGatewayId string, routeId string) (vpnGatewayCcnRoutes *vpc.VpngwCcnRoutes, errRet error)
func (*VpcService) DescribeVpcs ¶ added in v1.41.3
func (*VpcService) DescribeVpnCustomerGatewayVendors ¶ added in v1.80.4
func (me *VpcService) DescribeVpnCustomerGatewayVendors(ctx context.Context) (vpnCustomerGatewayVendors []*vpc.CustomerGatewayVendor, errRet error)
func (*VpcService) DescribeVpnDefaultHealthCheckIp ¶ added in v1.81.6
func (me *VpcService) DescribeVpnDefaultHealthCheckIp(ctx context.Context, param map[string]interface{}) (defaultHealthCheck *vpc.GenerateVpnConnectionDefaultHealthCheckIpResponseParams, errRet error)
func (*VpcService) DescribeVpnGatewayRoutes ¶ added in v1.58.0
func (me *VpcService) DescribeVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.VpnGatewayRoute)
func (*VpcService) DescribeVpnGwByFilter ¶ added in v1.64.0
func (me *VpcService) DescribeVpnGwByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.VpnGateway, errRet error)
func (*VpcService) DescribeVpnGwSslClientByFilter ¶ added in v1.65.0
func (me *VpcService) DescribeVpnGwSslClientByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnClient, errRet error)
func (*VpcService) DescribeVpnGwSslServerByFilter ¶ added in v1.65.0
func (me *VpcService) DescribeVpnGwSslServerByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnSever, errRet error)
func (*VpcService) DescribeVpnSslClientById ¶ added in v1.65.0
func (me *VpcService) DescribeVpnSslClientById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnClient, err error)
func (*VpcService) DescribeVpnSslServerById ¶ added in v1.65.0
func (me *VpcService) DescribeVpnSslServerById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnSever, err error)
func (*VpcService) DescribeVpngwById ¶ added in v1.41.3
func (me *VpcService) DescribeVpngwById(ctx context.Context, vpngwId string) (has bool, gateway *vpc.VpnGateway, err error)
func (*VpcService) DetachAllLiteRulesFromSecurityGroup ¶ added in v1.41.3
func (me *VpcService) DetachAllLiteRulesFromSecurityGroup(ctx context.Context, sgId string) error
func (*VpcService) DetachCcnInstances ¶ added in v1.41.3
func (me *VpcService) DetachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (errRet error)
func (*VpcService) DetachEniFromCvm ¶ added in v1.41.3
func (me *VpcService) DetachEniFromCvm(ctx context.Context, eniId, cvmId string) error
func (*VpcService) DisableRoutes ¶ added in v1.72.4
func (me *VpcService) DisableRoutes(ctx context.Context, request *vpc.DisableRoutesRequest) (errRet error)
func (*VpcService) DisassociateNatGatewayAddress ¶ added in v1.60.27
func (me *VpcService) DisassociateNatGatewayAddress(ctx context.Context, request *vpc.DisassociateNatGatewayAddressRequest) (result *vpc.DisassociateNatGatewayAddressResponse, errRet error)
func (*VpcService) EnableRoutes ¶ added in v1.72.4
func (me *VpcService) EnableRoutes(ctx context.Context, request *vpc.EnableRoutesRequest) (errRet error)
func (*VpcService) GetCcnRegionBandwidthLimit ¶ added in v1.53.0
func (*VpcService) GetCcnRegionBandwidthLimits ¶ added in v1.53.0
func (me *VpcService) GetCcnRegionBandwidthLimits(ctx context.Context, ccnID string) (infos []vpc.CcnRegionBandwidthLimit, errRet error)
func (*VpcService) GetCcnRouteId ¶ added in v1.41.3
func (*VpcService) GetRouteId ¶ added in v1.41.3
func (*VpcService) IsRouteTableInVpc ¶ added in v1.41.3
func (me *VpcService) IsRouteTableInVpc(ctx context.Context, routeTableId, vpcId string) (info VpcRouteTableBasicInfo, has int, errRet error)
func (*VpcService) ModifyAddressTemplate ¶ added in v1.50.0
func (*VpcService) ModifyAddressTemplateGroup ¶ added in v1.50.0
func (*VpcService) ModifyAssistantCidr ¶ added in v1.60.26
func (me *VpcService) ModifyAssistantCidr(ctx context.Context, request *vpc.ModifyAssistantCidrRequest) (errRet error)
func (*VpcService) ModifyCcnAttribute ¶ added in v1.41.3
func (me *VpcService) ModifyCcnAttribute(ctx context.Context, ccnId, name, description string) (errRet error)
func (*VpcService) ModifyCcnRegionBandwidthLimitsType ¶ added in v1.53.0
func (me *VpcService) ModifyCcnRegionBandwidthLimitsType(ctx context.Context, ccnID, limitType string) error
func (*VpcService) ModifyDirectConnectGatewayAttribute ¶ added in v1.41.3
func (me *VpcService) ModifyDirectConnectGatewayAttribute(ctx context.Context, dcgId, name string) (errRet error)
func (*VpcService) ModifyEipBandwidthOut ¶ added in v1.53.6
func (*VpcService) ModifyEipInternetChargeType ¶ added in v1.80.6
func (*VpcService) ModifyEipName ¶ added in v1.41.3
func (me *VpcService) ModifyEipName(ctx context.Context, eipId, eipName string) error
func (*VpcService) ModifyEniAttribute ¶ added in v1.41.3
func (*VpcService) ModifyEniPrimaryIpv4Desc ¶ added in v1.41.3
func (*VpcService) ModifyNatGatewaySnat ¶ added in v1.58.0
func (me *VpcService) ModifyNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
func (*VpcService) ModifyNetWorkAclRules ¶ added in v1.41.3
func (me *VpcService) ModifyNetWorkAclRules(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
func (*VpcService) ModifyRouteTableAttribute ¶ added in v1.41.3
func (*VpcService) ModifySecurityGroup ¶ added in v1.41.3
func (*VpcService) ModifySecurityGroupPolicies ¶ added in v1.79.1
func (me *VpcService) ModifySecurityGroupPolicies(ctx context.Context, request *vpc.ModifySecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) ModifySecurityGroupPolicy
deprecated
added in
v1.41.3
func (*VpcService) ModifyServiceTemplate ¶ added in v1.50.0
func (*VpcService) ModifyServiceTemplateGroup ¶ added in v1.50.0
func (*VpcService) ModifySubnetAttribute ¶ added in v1.41.3
func (*VpcService) ModifyVpcAttribute ¶ added in v1.41.3
func (*VpcService) ModifyVpcNetworkAcl ¶ added in v1.41.3
func (*VpcService) ModifyVpnGatewayRoute ¶ added in v1.58.0
func (me *VpcService) ModifyVpnGatewayRoute(ctx context.Context, vpnGatewayId, routeId, status string) (errRet error, routes *vpc.VpnGatewayRoute)
func (*VpcService) RenewAddress ¶ added in v1.79.11
func (*VpcService) ReplaceDirectConnectGatewayCcnRoute ¶ added in v1.81.6
func (me *VpcService) ReplaceDirectConnectGatewayCcnRoute(ctx context.Context, dcgId, cidr string, asPaths []string) (routeId string, errRet error)
not used, because if support, it will cause resource destroyed
func (*VpcService) ReplaceRouteTableAssociation ¶ added in v1.41.3
func (*VpcService) SetCcnRegionBandwidthLimits ¶ added in v1.41.3
func (*VpcService) SwitchRouteEnabled ¶ added in v1.72.4
func (*VpcService) UnAssignIpv4FromEni ¶ added in v1.41.3
func (*VpcService) UnattachEip ¶ added in v1.41.3
func (me *VpcService) UnattachEip(ctx context.Context, eipId string) error
func (*VpcService) VpcIpv6AddressStateRefreshFunc ¶ added in v1.80.6
func (me *VpcService) VpcIpv6AddressStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
type VpcSubnetBasicInfo ¶ added in v1.41.3
type VpcSubnetBasicInfo struct {
// contains filtered or unexported fields
}
subnet basic information
type WafService ¶ added in v1.81.29
type WafService struct {
// contains filtered or unexported fields
}
func (*WafService) DeleteWafAntiFakeById ¶ added in v1.81.32
func (me *WafService) DeleteWafAntiFakeById(ctx context.Context, id, domain string) (errRet error)
func (*WafService) DeleteWafAntiInfoLeakById ¶ added in v1.81.32
func (me *WafService) DeleteWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (errRet error)
func (*WafService) DeleteWafClbDomainById ¶ added in v1.81.29
func (me *WafService) DeleteWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (errRet error)
func (*WafService) DeleteWafCustomRuleById ¶ added in v1.81.29
func (me *WafService) DeleteWafCustomRuleById(ctx context.Context, domain, ruleId string) (errRet error)
func (*WafService) DeleteWafCustomWhiteRuleById ¶ added in v1.81.29
func (me *WafService) DeleteWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (errRet error)
func (*WafService) DeleteWafSaasDomainById ¶ added in v1.81.29
func (me *WafService) DeleteWafSaasDomainById(ctx context.Context, instanceID, domain string) (errRet error)
func (*WafService) DescribeDomainsById ¶ added in v1.81.29
func (me *WafService) DescribeDomainsById(ctx context.Context, instanceID, domain string) (domainInfo *waf.DomainInfo, errRet error)
func (*WafService) DescribeWafAntiFakeById ¶ added in v1.81.32
func (me *WafService) DescribeWafAntiFakeById(ctx context.Context, id, domain string) (antiFake *waf.CacheUrlItems, errRet error)
func (*WafService) DescribeWafAntiInfoLeakById ¶ added in v1.81.32
func (me *WafService) DescribeWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (antiInfoLeak *waf.DescribeAntiLeakageItem, errRet error)
func (*WafService) DescribeWafAttackLogHistogramByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafAttackLogHistogramByFilter(ctx context.Context, param map[string]interface{}) (AttackLogHistogram *waf.GetAttackHistogramResponseParams, errRet error)
func (*WafService) DescribeWafAttackLogListByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafAttackLogListByFilter(ctx context.Context, param map[string]interface{}) (AttackLogList []*waf.AttackLogInfo, errRet error)
func (*WafService) DescribeWafAttackOverviewByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafAttackOverviewByFilter(ctx context.Context, param map[string]interface{}) (AttackOverview *waf.DescribeAttackOverviewResponseParams, errRet error)
func (*WafService) DescribeWafAttackTotalCountByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafAttackTotalCountByFilter(ctx context.Context, param map[string]interface{}) (AttackTotalCount *waf.GetAttackTotalCountResponseParams, errRet error)
func (*WafService) DescribeWafCiphersByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafCiphersByFilter(ctx context.Context) (ciphers []*waf.TLSCiphers, errRet error)
func (*WafService) DescribeWafClbDomainById ¶ added in v1.81.29
func (me *WafService) DescribeWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (clbDomainInfo *waf.ClbDomainsInfo, errRet error)
func (*WafService) DescribeWafCustomRuleById ¶ added in v1.81.29
func (me *WafService) DescribeWafCustomRuleById(ctx context.Context, domain, ruleId string) (CustomRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)
func (*WafService) DescribeWafCustomWhiteRuleById ¶ added in v1.81.29
func (me *WafService) DescribeWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (CustomWhiteRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)
func (*WafService) DescribeWafDomainsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafDomainsByFilter(ctx context.Context, instanceID, domain string) (domains []*waf.DomainInfo, errRet error)
func (*WafService) DescribeWafFindDomainsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafFindDomainsByFilter(ctx context.Context, param map[string]interface{}) (findDomains []*waf.FindAllDomainDetail, errRet error)
func (*WafService) DescribeWafInstanceById ¶ added in v1.81.29
func (me *WafService) DescribeWafInstanceById(ctx context.Context, instanceId string) (instance *waf.InstanceInfo, errRet error)
func (*WafService) DescribeWafInstanceQpsLimitByFilter ¶ added in v1.81.32
func (*WafService) DescribeWafPeakPointsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafPeakPointsByFilter(ctx context.Context, param map[string]interface{}) (PeakPoints []*waf.PeakPointsItem, errRet error)
func (*WafService) DescribeWafPortsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafPortsByFilter(ctx context.Context, param map[string]interface{}) (ports *waf.DescribePortsResponseParams, errRet error)
func (*WafService) DescribeWafSaasDomainById ¶ added in v1.81.29
func (me *WafService) DescribeWafSaasDomainById(ctx context.Context, instanceID, domain, domainId string) (saasDomain *waf.DomainsPartInfo, errRet error)
func (*WafService) DescribeWafTlsVersionsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafTlsVersionsByFilter(ctx context.Context) (tlsVersions []*waf.TLSVersion, errRet error)
func (*WafService) DescribeWafUserDomainsByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafUserDomainsByFilter(ctx context.Context) (userDomains []*waf.UserDomainInfo, errRet error)
func (*WafService) DescribeWafWafInfosByFilter ¶ added in v1.81.29
func (me *WafService) DescribeWafWafInfosByFilter(ctx context.Context, param map[string]interface{}) (wafInfos []*waf.ClbHostResult, errRet error)
type WedataService ¶ added in v1.81.21
type WedataService struct {
// contains filtered or unexported fields
}
func (*WedataService) DeleteWedataBaselineById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataBaselineById(ctx context.Context, projectId, baselineId string) (errRet error)
func (*WedataService) DeleteWedataDatasourceById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataDatasourceById(ctx context.Context, datasourceId string) (errRet error)
func (*WedataService) DeleteWedataDqRuleById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataDqRuleById(ctx context.Context, projectId, ruleId string) (errRet error)
func (*WedataService) DeleteWedataDqRuleTemplateById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataDqRuleTemplateById(ctx context.Context, projectId, templateId string) (errRet error)
func (*WedataService) DeleteWedataFunctionById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataFunctionById(ctx context.Context, functionId, projectId, clusterIdentifier string) (errRet error)
func (*WedataService) DeleteWedataIntegrationOfflineTaskById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataIntegrationOfflineTaskById(ctx context.Context, projectId, taskId string) (errRet error)
func (*WedataService) DeleteWedataIntegrationRealtimeTaskById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataIntegrationRealtimeTaskById(ctx context.Context, projectId, taskId string) (errRet error)
func (*WedataService) DeleteWedataIntegrationTaskNodeById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataIntegrationTaskNodeById(ctx context.Context, projectId, nodeId string) (errRet error)
func (*WedataService) DeleteWedataResourceById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataResourceById(ctx context.Context, projectId, resourceId string) (errRet error)
func (*WedataService) DeleteWedataRuleTemplateById ¶ added in v1.81.21
func (me *WedataService) DeleteWedataRuleTemplateById(ctx context.Context, projectId, ruleTemplateId string) (errRet error)
func (*WedataService) DeleteWedataScriptById ¶ added in v1.81.43
func (me *WedataService) DeleteWedataScriptById(ctx context.Context, projectId, resourceId string) (errRet error)
func (*WedataService) DescribeWedataBaselineById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataBaselineById(ctx context.Context, projectId, baselineId string) (baseline *wedata.BaselineDetailResponse, errRet error)
func (*WedataService) DescribeWedataDataSourceInfoListByFilter ¶ added in v1.81.43
func (me *WedataService) DescribeWedataDataSourceInfoListByFilter(ctx context.Context, param map[string]interface{}) (dataSourceInfoList []*wedata.DatasourceBaseInfo, errRet error)
func (*WedataService) DescribeWedataDataSourceListByFilter ¶ added in v1.81.43
func (me *WedataService) DescribeWedataDataSourceListByFilter(ctx context.Context, param map[string]interface{}) (dataSourceList []*wedata.DataSourceInfo, errRet error)
func (*WedataService) DescribeWedataDataSourceWithoutInfoByFilter ¶ added in v1.81.43
func (me *WedataService) DescribeWedataDataSourceWithoutInfoByFilter(ctx context.Context, param map[string]interface{}) (dataSourceWithoutInfo []*wedata.DataSourceInfo, errRet error)
func (*WedataService) DescribeWedataDatasourceById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataDatasourceById(ctx context.Context, datasourceId string) (datasource *wedata.DataSourceInfo, errRet error)
func (*WedataService) DescribeWedataDqRuleById ¶ added in v1.81.43
func (*WedataService) DescribeWedataDqRuleTemplateById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataDqRuleTemplateById(ctx context.Context, projectId, templateId string) (dqRuleTemplate *wedata.RuleTemplate, errRet error)
func (*WedataService) DescribeWedataFunctionById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataFunctionById(ctx context.Context, functionId, funcType, funcName, projectId string) (function *wedata.OrganizationalFunction, errRet error)
func (*WedataService) DescribeWedataIntegrationOfflineTaskById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataIntegrationOfflineTaskById(ctx context.Context, projectId, taskId string) (integrationOfflineTask *wedata.DescribeIntegrationTaskResponseParams, errRet error)
func (*WedataService) DescribeWedataIntegrationRealtimeTaskById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataIntegrationRealtimeTaskById(ctx context.Context, projectId, taskId string) (integrationRealtimeTask *wedata.DescribeIntegrationTaskResponseParams, errRet error)
func (*WedataService) DescribeWedataIntegrationTaskNodeById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataIntegrationTaskNodeById(ctx context.Context, projectId, nodeId string) (integrationTaskNode *wedata.DescribeIntegrationNodeResponseParams, errRet error)
func (*WedataService) DescribeWedataResourceById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataResourceById(ctx context.Context, projectId, filePath, resourceId string) (resourceInfo *wedata.ResourcePathTree, errRet error)
func (*WedataService) DescribeWedataRuleTemplateById ¶ added in v1.81.21
func (me *WedataService) DescribeWedataRuleTemplateById(ctx context.Context, projectId string, ruleTemplateId string) (ruleTemplate *wedata.RuleTemplate, errRet error)
func (*WedataService) DescribeWedataRuleTemplatesByFilter ¶ added in v1.81.22
func (me *WedataService) DescribeWedataRuleTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ruleTemplates []*wedata.RuleTemplate, errRet error)
func (*WedataService) DescribeWedataScriptById ¶ added in v1.81.43
func (me *WedataService) DescribeWedataScriptById(ctx context.Context, projectId, filePath string) (fileInfo *wedata.UserFileInfo, errRet error)
Source Files ¶
- common.go
- data_source_tc_address_template_groups.go
- data_source_tc_address_templates.go
- data_source_tc_api_gateway_api_app_api.go
- data_source_tc_api_gateway_api_app_service.go
- data_source_tc_api_gateway_api_apps.go
- data_source_tc_api_gateway_api_docs.go
- data_source_tc_api_gateway_api_keys.go
- data_source_tc_api_gateway_api_plugins.go
- data_source_tc_api_gateway_api_usage_plans.go
- data_source_tc_api_gateway_apis.go
- data_source_tc_api_gateway_bind_api_apps_status.go
- data_source_tc_api_gateway_customer_domains.go
- data_source_tc_api_gateway_ip_strategies.go
- data_source_tc_api_gateway_plugins.go
- data_source_tc_api_gateway_service_environment_list.go
- data_source_tc_api_gateway_service_release_versions.go
- data_source_tc_api_gateway_services.go
- data_source_tc_api_gateway_throttling_apis.go
- data_source_tc_api_gateway_throttling_services.go
- data_source_tc_api_gateway_upstreams.go
- data_source_tc_api_gateway_usage_plan_environments.go
- data_source_tc_api_gateway_usage_plans.go
- data_source_tc_as_advices.go
- data_source_tc_as_instances.go
- data_source_tc_as_last_activity.go
- data_source_tc_as_limits.go
- data_source_tc_as_scaling_configs.go
- data_source_tc_as_scaling_groups.go
- data_source_tc_as_scaling_policies.go
- data_source_tc_audit_cos_regions.go
- data_source_tc_audit_key_alias.go
- data_source_tc_audits.go
- data_source_tc_availability_regions.go
- data_source_tc_availability_zones.go
- data_source_tc_availability_zones_by_product.go
- data_source_tc_bi_project.go
- data_source_tc_bi_user_project.go
- data_source_tc_cam_account_summary.go
- data_source_tc_cam_group_memberships.go
- data_source_tc_cam_group_policy_attachments.go
- data_source_tc_cam_groups.go
- data_source_tc_cam_list_attached_user_policy.go
- data_source_tc_cam_list_entities_for_policy.go
- data_source_tc_cam_oidc_config.go
- data_source_tc_cam_policies.go
- data_source_tc_cam_policy_granting_service_access.go
- data_source_tc_cam_role_policy_attachments.go
- data_source_tc_cam_roles.go
- data_source_tc_cam_saml_providers.go
- data_source_tc_cam_secret_last_used_time.go
- data_source_tc_cam_user_policy_attachments.go
- data_source_tc_cam_users.go
- data_source_tc_cat_metric_data.go
- data_source_tc_cat_node.go
- data_source_tc_cat_probe_data.go
- data_source_tc_cbs_snapshot_policies.go
- data_source_tc_cbs_snapshots.go
- data_source_tc_cbs_storages.go
- data_source_tc_cbs_storages_set.go
- data_source_tc_ccn_bandwidth_limits.go
- data_source_tc_ccn_cross_border_compliance.go
- data_source_tc_ccn_cross_border_flow_monitor.go
- data_source_tc_ccn_cross_border_region_bandwidth_limits.go
- data_source_tc_ccn_instances.go
- data_source_tc_ccn_tenant_instances.go
- data_source_tc_cdh_instances.go
- data_source_tc_cdn_domain_verifier.go
- data_source_tc_cdn_domains.go
- data_source_tc_cfs_access_groups.go
- data_source_tc_cfs_access_rules.go
- data_source_tc_cfs_available_zone.go
- data_source_tc_cfs_file_system_clients.go
- data_source_tc_cfs_file_systems.go
- data_source_tc_cfs_mount_targets.go
- data_source_tc_cfw_edge_fw_switches.go
- data_source_tc_cfw_nat_fw_switches.go
- data_source_tc_cfw_vpc_fw_switches.go
- data_source_tc_chdfs_access_groups.go
- data_source_tc_chdfs_file_systems.go
- data_source_tc_chdfs_mount_points.go
- data_source_tc_ckafka_acls.go
- data_source_tc_ckafka_connect_resource.go
- data_source_tc_ckafka_datahub_group_offsets.go
- data_source_tc_ckafka_datahub_task.go
- data_source_tc_ckafka_datahub_topic.go
- data_source_tc_ckafka_group.go
- data_source_tc_ckafka_group_info.go
- data_source_tc_ckafka_group_offsets.go
- data_source_tc_ckafka_instances.go
- data_source_tc_ckafka_region.go
- data_source_tc_ckafka_task_status.go
- data_source_tc_ckafka_topic_flow_ranking.go
- data_source_tc_ckafka_topic_produce_connection.go
- data_source_tc_ckafka_topic_subscribe_group.go
- data_source_tc_ckafka_topic_sync_replica.go
- data_source_tc_ckafka_topics.go
- data_source_tc_ckafka_users.go
- data_source_tc_ckafka_zone.go
- data_source_tc_clb_attachments.go
- data_source_tc_clb_cluster_resources.go
- data_source_tc_clb_cross_targets.go
- data_source_tc_clb_exclusive_clusters.go
- data_source_tc_clb_idle_instances.go
- data_source_tc_clb_instance_by_cert_id.go
- data_source_tc_clb_instance_detail.go
- data_source_tc_clb_instance_traffic.go
- data_source_tc_clb_instances.go
- data_source_tc_clb_listener_rules.go
- data_source_tc_clb_listeners.go
- data_source_tc_clb_listeners_by_targets.go
- data_source_tc_clb_redirections.go
- data_source_tc_clb_resources.go
- data_source_tc_clb_target_group_list.go
- data_source_tc_clb_target_groups.go
- data_source_tc_clb_target_health.go
- data_source_tc_clickhouse_backup_job_detail.go
- data_source_tc_clickhouse_backup_jobs.go
- data_source_tc_clickhouse_backup_tables.go
- data_source_tc_cls_machine_group_configs.go
- data_source_tc_cls_machines.go
- data_source_tc_cls_shipper_tasks.go
- data_source_tc_container_cluster_instances.go
- data_source_tc_container_clusters.go
- data_source_tc_cos_batchs.go
- data_source_tc_cos_bucket_inventorys.go
- data_source_tc_cos_bucket_multipart_uploads.go
- data_source_tc_cos_bucket_object.go
- data_source_tc_cos_buckets.go
- data_source_tc_css_backup_stream.go
- data_source_tc_css_deliver_log_down_list.go
- data_source_tc_css_domains.go
- data_source_tc_css_monitor_report.go
- data_source_tc_css_pad_templates.go
- data_source_tc_css_pull_stream_task_status.go
- data_source_tc_css_stream_monitor_list.go
- data_source_tc_css_time_shift_record_detail.go
- data_source_tc_css_time_shift_stream_list.go
- data_source_tc_css_watermarks.go
- data_source_tc_css_xp2p_detail_info_list.go
- data_source_tc_cvm_chc_denied_actions.go
- data_source_tc_cvm_chc_hosts.go
- data_source_tc_cvm_disaster_recover_group_quota.go
- data_source_tc_cvm_image_quota.go
- data_source_tc_cvm_image_share_permission.go
- data_source_tc_cvm_import_image_os.go
- data_source_tc_cvm_instance_vnc_url.go
- data_source_tc_cvm_instances_modification.go
- data_source_tc_cwp_machines_simple.go
- data_source_tc_cynosdb_account_all_grant_privileges.go
- data_source_tc_cynosdb_accounts.go
- data_source_tc_cynosdb_audit_logs.go
- data_source_tc_cynosdb_backup_download_url.go
- data_source_tc_cynosdb_binlog_download_url.go
- data_source_tc_cynosdb_cluster.go
- data_source_tc_cynosdb_cluster_detail_databases.go
- data_source_tc_cynosdb_cluster_instance_groups.go
- data_source_tc_cynosdb_cluster_param_logs.go
- data_source_tc_cynosdb_cluster_params.go
- data_source_tc_cynosdb_clusters.go
- data_source_tc_cynosdb_describe_instance_error_logs.go
- data_source_tc_cynosdb_describe_instance_slow_queries.go
- data_source_tc_cynosdb_instance_slow_queries.go
- data_source_tc_cynosdb_instances.go
- data_source_tc_cynosdb_param_templates.go
- data_source_tc_cynosdb_project_security_groups.go
- data_source_tc_cynosdb_proxy_node.go
- data_source_tc_cynosdb_proxy_version.go
- data_source_tc_cynosdb_resource_package_list.go
- data_source_tc_cynosdb_resource_package_sale_specs.go
- data_source_tc_cynosdb_rollback_time_range.go
- data_source_tc_cynosdb_zone.go
- data_source_tc_cynosdb_zone_config.go
- data_source_tc_dayu_cc_http_policies.go
- data_source_tc_dayu_cc_https_policies.go
- data_source_tc_dayu_ddos_policies.go
- data_source_tc_dayu_ddos_policy_attachments.go
- data_source_tc_dayu_ddos_policy_cases.go
- data_source_tc_dayu_eip.go
- data_source_tc_dayu_l4_rules.go
- data_source_tc_dayu_l4_rules_v2.go
- data_source_tc_dayu_l7_rules.go
- data_source_tc_dayu_l7_rules_v2.go
- data_source_tc_dbbrain_db_space_status.go
- data_source_tc_dbbrain_diag_db_instances.go
- data_source_tc_dbbrain_diag_event.go
- data_source_tc_dbbrain_diag_events.go
- data_source_tc_dbbrain_diag_history.go
- data_source_tc_dbbrain_health_scores.go
- data_source_tc_dbbrain_mysql_process_list.go
- data_source_tc_dbbrain_no_primary_key_tables.go
- data_source_tc_dbbrain_redis_top_big_keys.go
- data_source_tc_dbbrain_redis_top_key_prefix_list.go
- data_source_tc_dbbrain_security_audit_log_download_urls.go
- data_source_tc_dbbrain_security_audit_log_export_tasks.go
- data_source_tc_dbbrain_slow_log_time_series_stats.go
- data_source_tc_dbbrain_slow_log_top_sqls.go
- data_source_tc_dbbrain_slow_log_user_host_stats.go
- data_source_tc_dbbrain_slow_log_user_sql_advice.go
- data_source_tc_dbbrain_slow_logs.go
- data_source_tc_dbbrain_sql_filters.go
- data_source_tc_dbbrain_sql_templates.go
- data_source_tc_dbbrain_top_space_schema_time_series.go
- data_source_tc_dbbrain_top_space_schemas.go
- data_source_tc_dbbrain_top_space_table_time_series.go
- data_source_tc_dbbrain_top_space_tables.go
- data_source_tc_dc_access_points.go
- data_source_tc_dc_gateway_ccn_routes.go
- data_source_tc_dc_gateway_instances.go
- data_source_tc_dc_instances.go
- data_source_tc_dc_internet_address_quota.go
- data_source_tc_dc_internet_address_statistics.go
- data_source_tc_dc_public_direct_connect_tunnel_routes.go
- data_source_tc_dcdb_accounts.go
- data_source_tc_dcdb_database_objects.go
- data_source_tc_dcdb_database_tables.go
- data_source_tc_dcdb_databases.go
- data_source_tc_dcdb_file_download_url.go
- data_source_tc_dcdb_instance_node_info.go
- data_source_tc_dcdb_instances.go
- data_source_tc_dcdb_log_files.go
- data_source_tc_dcdb_orders.go
- data_source_tc_dcdb_parameters.go
- data_source_tc_dcdb_price.go
- data_source_tc_dcdb_project_security_groups.go
- data_source_tc_dcdb_projects.go
- data_source_tc_dcdb_renewal_price.go
- data_source_tc_dcdb_sale_info.go
- data_source_tc_dcdb_security_groups.go
- data_source_tc_dcdb_shard_spec.go
- data_source_tc_dcdb_shards.go
- data_source_tc_dcdb_slow_logs.go
- data_source_tc_dcdb_upgrade_price.go
- data_source_tc_dcx_instances.go
- data_source_tc_dlc_check_data_engine_config_pairs_validity.go
- data_source_tc_dlc_check_data_engine_image_can_be_rollback.go
- data_source_tc_dlc_check_data_engine_image_can_be_upgrade.go
- data_source_tc_dlc_describe_data_engine.go
- data_source_tc_dlc_describe_data_engine_image_versions.go
- data_source_tc_dlc_describe_data_engine_python_spark_images.go
- data_source_tc_dlc_describe_engine_usage_info.go
- data_source_tc_dlc_describe_user_info.go
- data_source_tc_dlc_describe_user_roles.go
- data_source_tc_dlc_describe_user_type.go
- data_source_tc_dlc_describe_work_group_info.go
- data_source_tc_dnats.go
- data_source_tc_dnspod_domain_analytics.go
- data_source_tc_dnspod_domain_list.go
- data_source_tc_dnspod_domain_log_list.go
- data_source_tc_dnspod_record_analytics.go
- data_source_tc_dnspod_record_line_list.go
- data_source_tc_dnspod_record_list.go
- data_source_tc_dnspod_record_type.go
- data_source_tc_dnspod_records.go
- data_source_tc_domains.go
- data_source_tc_dts_compare_tasks.go
- data_source_tc_dts_migrate_db_instances.go
- data_source_tc_dts_migrate_jobs.go
- data_source_tc_dts_sync_jobs.go
- data_source_tc_eb_bus.go
- data_source_tc_eb_event_rules.go
- data_source_tc_eb_plateform_event_template.go
- data_source_tc_eb_platform_event_names.go
- data_source_tc_eb_platform_event_patterns.go
- data_source_tc_eb_platform_products.go
- data_source_tc_eb_search.go
- data_source_tc_eip.go
- data_source_tc_eip_address_quota.go
- data_source_tc_eip_network_account_type.go
- data_source_tc_eips.go
- data_source_tc_eks_cluster_credential.go
- data_source_tc_eks_clusters.go
- data_source_tc_elasticsearch_diagnose.go
- data_source_tc_elasticsearch_instance_logs.go
- data_source_tc_elasticsearch_instance_operations.go
- data_source_tc_elasticsearch_instance_plugin_list.go
- data_source_tc_elasticsearch_instances.go
- data_source_tc_elasticsearch_logstash_instance_logs.go
- data_source_tc_elasticsearch_logstash_instance_operations.go
- data_source_tc_elasticsearch_views.go
- data_source_tc_emr.go
- data_source_tc_emr_nodes.go
- data_source_tc_enis.go
- data_source_tc_gaap_access_regions.go
- data_source_tc_gaap_access_regions_by_dest_region.go
- data_source_tc_gaap_black_header.go
- data_source_tc_gaap_certificates.go
- data_source_tc_gaap_check_proxy_create.go
- data_source_tc_gaap_country_area_mapping.go
- data_source_tc_gaap_custom_header.go
- data_source_tc_gaap_dest_regions.go
- data_source_tc_gaap_domain_error_page_infos.go
- data_source_tc_gaap_domain_error_pages.go
- data_source_tc_gaap_group_and_statistics_proxy.go
- data_source_tc_gaap_http_domains.go
- data_source_tc_gaap_http_rules.go
- data_source_tc_gaap_layer4_listeners.go
- data_source_tc_gaap_layer7_listeners.go
- data_source_tc_gaap_listener_real_servers.go
- data_source_tc_gaap_listener_statistics.go
- data_source_tc_gaap_proxies.go
- data_source_tc_gaap_proxies_status.go
- data_source_tc_gaap_proxy_and_statistics_listeners.go
- data_source_tc_gaap_proxy_detail.go
- data_source_tc_gaap_proxy_group_statistics.go
- data_source_tc_gaap_proxy_groups.go
- data_source_tc_gaap_proxy_statistics.go
- data_source_tc_gaap_real_servers_status.go
- data_source_tc_gaap_realservers.go
- data_source_tc_gaap_region_and_price.go
- data_source_tc_gaap_resources_by_tag.go
- data_source_tc_gaap_rule_real_servers.go
- data_source_tc_gaap_security_policies.go
- data_source_tc_gaap_security_rules.go
- data_source_tc_ha_vip_eip_attachments.go
- data_source_tc_ha_vips.go
- data_source_tc_image.go
- data_source_tc_images.go
- data_source_tc_instance_types.go
- data_source_tc_instances.go
- data_source_tc_instances_set.go
- data_source_tc_key_pairs.go
- data_source_tc_kms_describe_keys.go
- data_source_tc_kms_get_parameters_for_import.go
- data_source_tc_kms_keys.go
- data_source_tc_kms_list_algorithms.go
- data_source_tc_kms_list_keys.go
- data_source_tc_kms_public_key.go
- data_source_tc_kms_white_box_decrypt_key.go
- data_source_tc_kms_white_box_device_fingerprints.go
- data_source_tc_kms_white_box_key_details.go
- data_source_tc_kubernetes_available_cluster_versions.go
- data_source_tc_kubernetes_charts.go
- data_source_tc_kubernetes_cluster_authentication_options.go
- data_source_tc_kubernetes_cluster_common_names.go
- data_source_tc_kubernetes_cluster_levels.go
- data_source_tc_kubernetes_clusters.go
- data_source_tc_lighthouse_all_scene.go
- data_source_tc_lighthouse_bundle.go
- data_source_tc_lighthouse_disk_config.go
- data_source_tc_lighthouse_disks.go
- data_source_tc_lighthouse_firewall_rules_template.go
- data_source_tc_lighthouse_instance_blueprint.go
- data_source_tc_lighthouse_instance_disk_num.go
- data_source_tc_lighthouse_instance_traffic_package.go
- data_source_tc_lighthouse_instance_vnc_url.go
- data_source_tc_lighthouse_modify_instance_bundle.go
- data_source_tc_lighthouse_region.go
- data_source_tc_lighthouse_reset_instance_blueprint.go
- data_source_tc_lighthouse_scene.go
- data_source_tc_lighthouse_zone.go
- data_source_tc_mariadb_accounts.go
- data_source_tc_mariadb_database_objects.go
- data_source_tc_mariadb_database_table.go
- data_source_tc_mariadb_databases.go
- data_source_tc_mariadb_db_instances.go
- data_source_tc_mariadb_dcn_detail.go
- data_source_tc_mariadb_file_download_url.go
- data_source_tc_mariadb_flow.go
- data_source_tc_mariadb_instance_node_info.go
- data_source_tc_mariadb_instance_specs.go
- data_source_tc_mariadb_log_files.go
- data_source_tc_mariadb_orders.go
- data_source_tc_mariadb_price.go
- data_source_tc_mariadb_project_security_groups.go
- data_source_tc_mariadb_renewal_price.go
- data_source_tc_mariadb_sale_info.go
- data_source_tc_mariadb_security_groups.go
- data_source_tc_mariadb_slow_logs.go
- data_source_tc_mariadb_upgrade_price.go
- data_source_tc_mongodb_instance_backups.go
- data_source_tc_mongodb_instance_connections.go
- data_source_tc_mongodb_instance_current_op.go
- data_source_tc_mongodb_instance_params.go
- data_source_tc_mongodb_instance_slow_log.go
- data_source_tc_mongodb_instances.go
- data_source_tc_mongodb_zone_config.go
- data_source_tc_monitor_alarm_all_namespaces.go
- data_source_tc_monitor_alarm_basic_alarms.go
- data_source_tc_monitor_alarm_basic_metric.go
- data_source_tc_monitor_alarm_conditions_template.go
- data_source_tc_monitor_alarm_history.go
- data_source_tc_monitor_alarm_metric.go
- data_source_tc_monitor_alarm_monitor_type.go
- data_source_tc_monitor_alarm_notice_callbacks.go
- data_source_tc_monitor_alarm_notices.go
- data_source_tc_monitor_alarm_policy.go
- data_source_tc_monitor_binding_objects.go
- data_source_tc_monitor_data.go
- data_source_tc_monitor_grafana_plugin_overviews.go
- data_source_tc_monitor_policy_conditions.go
- data_source_tc_monitor_policy_groups.go
- data_source_tc_monitor_product_event.go
- data_source_tc_monitor_product_namespace.go
- data_source_tc_monitor_statistic_data.go
- data_source_tc_monitor_tmp_regions.go
- data_source_tc_mps_media_meta_data.go
- data_source_tc_mps_parse_live_stream_process_notification.go
- data_source_tc_mps_parse_notification.go
- data_source_tc_mps_schedules.go
- data_source_tc_mps_tasks.go
- data_source_tc_mysql_backup_list.go
- data_source_tc_mysql_backup_overview.go
- data_source_tc_mysql_backup_summaries.go
- data_source_tc_mysql_bin_log.go
- data_source_tc_mysql_binlog_backup_overview.go
- data_source_tc_mysql_clone_list.go
- data_source_tc_mysql_data_backup_overview.go
- data_source_tc_mysql_databases.go
- data_source_tc_mysql_db_features.go
- data_source_tc_mysql_default_params.go
- data_source_tc_mysql_error_log.go
- data_source_tc_mysql_inst_tables.go
- data_source_tc_mysql_instance.go
- data_source_tc_mysql_instance_charset.go
- data_source_tc_mysql_instance_info.go
- data_source_tc_mysql_instance_param_record.go
- data_source_tc_mysql_instance_reboot_time.go
- data_source_tc_mysql_parameter_list.go
- data_source_tc_mysql_project_security_group.go
- data_source_tc_mysql_proxy_custom.go
- data_source_tc_mysql_ro_min_scale.go
- data_source_tc_mysql_rollback_range_time.go
- data_source_tc_mysql_slow_log.go
- data_source_tc_mysql_slow_log_data.go
- data_source_tc_mysql_supported_privileges.go
- data_source_tc_mysql_switch_record.go
- data_source_tc_mysql_user_task.go
- data_source_tc_mysql_zone_config.go
- data_source_tc_nat_dc_route.go
- data_source_tc_nat_gateway_snats.go
- data_source_tc_nat_gateways.go
- data_source_tc_nats.go
- data_source_tc_oceanus_check_savepoint.go
- data_source_tc_oceanus_clusters.go
- data_source_tc_oceanus_job_submission_log.go
- data_source_tc_oceanus_resource_related_job.go
- data_source_tc_oceanus_savepoint_list.go
- data_source_tc_oceanus_system_resource.go
- data_source_tc_oceanus_tree_jobs.go
- data_source_tc_oceanus_tree_resources.go
- data_source_tc_oceanus_work_spaces.go
- data_source_tc_organization_org_auth_node.go
- data_source_tc_organization_org_financial_by_member.go
- data_source_tc_organization_org_financial_by_month.go
- data_source_tc_organization_org_financial_by_product.go
- data_source_tc_placement_groups.go
- data_source_tc_postgresql_backup_download_urls.go
- data_source_tc_postgresql_base_backups.go
- data_source_tc_postgresql_db_instance_classes.go
- data_source_tc_postgresql_db_instance_versions.go
- data_source_tc_postgresql_default_parameters.go
- data_source_tc_postgresql_instances.go
- data_source_tc_postgresql_log_backups.go
- data_source_tc_postgresql_parameter_templates.go
- data_source_tc_postgresql_readonly_groups.go
- data_source_tc_postgresql_recovery_time.go
- data_source_tc_postgresql_regions.go
- data_source_tc_postgresql_specinfos.go
- data_source_tc_postgresql_xlogs.go
- data_source_tc_postgresql_zones.go
- data_source_tc_private_dns_records.go
- data_source_tc_projects.go
- data_source_tc_protocol_template_groups.go
- data_source_tc_protocol_templates.go
- data_source_tc_pts_scenario_with_jobs.go
- data_source_tc_redis_backup.go
- data_source_tc_redis_backup_download_info.go
- data_source_tc_redis_instance_node_info.go
- data_source_tc_redis_instance_shards.go
- data_source_tc_redis_instance_task_list.go
- data_source_tc_redis_instance_zone_info.go
- data_source_tc_redis_instances.go
- data_source_tc_redis_param_records.go
- data_source_tc_redis_zone_config.go
- data_source_tc_reserved_instance_configs.go
- data_source_tc_reserved_instances.go
- data_source_tc_route_table.go
- data_source_tc_rum_custom_url.go
- data_source_tc_rum_event_url.go
- data_source_tc_rum_fetch_url.go
- data_source_tc_rum_fetch_url_info.go
- data_source_tc_rum_group_log.go
- data_source_tc_rum_log_export.go
- data_source_tc_rum_log_export_list.go
- data_source_tc_rum_log_list.go
- data_source_tc_rum_log_stats_log_list.go
- data_source_tc_rum_log_url_statistics.go
- data_source_tc_rum_offline_log_config.go
- data_source_tc_rum_performance_page.go
- data_source_tc_rum_project.go
- data_source_tc_rum_pv_url_info.go
- data_source_tc_rum_pv_url_statistics.go
- data_source_tc_rum_report_count.go
- data_source_tc_rum_scores.go
- data_source_tc_rum_set_url_statistics.go
- data_source_tc_rum_sign.go
- data_source_tc_rum_static_project.go
- data_source_tc_rum_static_resource.go
- data_source_tc_rum_static_url.go
- data_source_tc_rum_taw_area.go
- data_source_tc_rum_taw_instance.go
- data_source_tc_rum_web_vitals_page.go
- data_source_tc_rum_whitelist.go
- data_source_tc_scf_account_info.go
- data_source_tc_scf_async_event_management.go
- data_source_tc_scf_async_event_status.go
- data_source_tc_scf_function_address.go
- data_source_tc_scf_function_aliases.go
- data_source_tc_scf_function_versions.go
- data_source_tc_scf_functions.go
- data_source_tc_scf_layer_versions.go
- data_source_tc_scf_layers.go
- data_source_tc_scf_logs.go
- data_source_tc_scf_namespaces.go
- data_source_tc_scf_request_status.go
- data_source_tc_scf_triggers.go
- data_source_tc_security_group.go
- data_source_tc_security_groups.go
- data_source_tc_ses_black_email_address.go
- data_source_tc_ses_email_identities.go
- data_source_tc_ses_receivers.go
- data_source_tc_ses_send_email_status.go
- data_source_tc_ses_send_tasks.go
- data_source_tc_ses_statistics_report.go
- data_source_tc_sqlserver_account_db_attachments.go
- data_source_tc_sqlserver_accounts.go
- data_source_tc_sqlserver_backup_by_flow_id.go
- data_source_tc_sqlserver_backup_commands.go
- data_source_tc_sqlserver_backup_upload_size.go
- data_source_tc_sqlserver_backups.go
- data_source_tc_sqlserver_basic_instances.go
- data_source_tc_sqlserver_cross_region_zone.go
- data_source_tc_sqlserver_db_charsets.go
- data_source_tc_sqlserver_dbs.go
- data_source_tc_sqlserver_ins_attribute.go
- data_source_tc_sqlserver_instance_param_records.go
- data_source_tc_sqlserver_instances.go
- data_source_tc_sqlserver_project_security_groups.go
- data_source_tc_sqlserver_publish_subscribes.go
- data_source_tc_sqlserver_query_xevent.go
- data_source_tc_sqlserver_readonly_groups.go
- data_source_tc_sqlserver_regions.go
- data_source_tc_sqlserver_rollback_time.go
- data_source_tc_sqlserver_slowlogs.go
- data_source_tc_sqlserver_upload_backup_info.go
- data_source_tc_sqlserver_upload_incremental_info.go
- data_source_tc_sqlserver_zone_config.go
- data_source_tc_ssl_certificates.go
- data_source_tc_ssl_describe_certificate.go
- data_source_tc_ssl_describe_companies.go
- data_source_tc_ssl_describe_host_api_gateway_instance_list.go
- data_source_tc_ssl_describe_host_cdn_instance_list.go
- data_source_tc_ssl_describe_host_clb_instance_list.go
- data_source_tc_ssl_describe_host_cos_instance_list.go
- data_source_tc_ssl_describe_host_ddos_instance_list.go
- data_source_tc_ssl_describe_host_deploy_record.go
- data_source_tc_ssl_describe_host_deploy_record_detail.go
- data_source_tc_ssl_describe_host_lighthouse_instance_list.go
- data_source_tc_ssl_describe_host_live_instance_list.go
- data_source_tc_ssl_describe_host_teo_instance_list.go
- data_source_tc_ssl_describe_host_tke_instance_list.go
- data_source_tc_ssl_describe_host_update_record.go
- data_source_tc_ssl_describe_host_update_record_detail.go
- data_source_tc_ssl_describe_host_vod_instance_list.go
- data_source_tc_ssl_describe_host_waf_instance_list.go
- data_source_tc_ssl_describe_manager_detail.go
- data_source_tc_ssl_describe_managers.go
- data_source_tc_ssm_products.go
- data_source_tc_ssm_rotation_detail.go
- data_source_tc_ssm_rotation_history.go
- data_source_tc_ssm_secret_versions.go
- data_source_tc_ssm_secrets.go
- data_source_tc_ssm_service_status.go
- data_source_tc_ssm_ssh_key_pair_value.go
- data_source_tc_sts_caller_identity.go
- data_source_tc_subnet.go
- data_source_tc_tat_agent.go
- data_source_tc_tat_command.go
- data_source_tc_tat_invocation_task.go
- data_source_tc_tat_invoker.go
- data_source_tc_tat_invoker_records.go
- data_source_tc_tcaplus_clusters.go
- data_source_tc_tcaplus_idls.go
- data_source_tc_tcaplus_tablegroups.go
- data_source_tc_tcaplus_tables.go
- data_source_tc_tcm_mesh.go
- data_source_tc_tcmq_queue.go
- data_source_tc_tcmq_subscribe.go
- data_source_tc_tcmq_topic.go
- data_source_tc_tcr_image_manifests.go
- data_source_tc_tcr_images.go
- data_source_tc_tcr_instances.go
- data_source_tc_tcr_namespaces.go
- data_source_tc_tcr_replication_instance_create_tasks.go
- data_source_tc_tcr_replication_instance_sync_status.go
- data_source_tc_tcr_repositories.go
- data_source_tc_tcr_tag_retention_execution_tasks.go
- data_source_tc_tcr_tag_retention_executions.go
- data_source_tc_tcr_tokens.go
- data_source_tc_tcr_vpc_attachments.go
- data_source_tc_tcr_webhook_trigger_logs.go
- data_source_tc_tdcpg_clusters.go
- data_source_tc_tdcpg_instances.go
- data_source_tc_tdmq_environment_attributes.go
- data_source_tc_tdmq_pro_instance_detail.go
- data_source_tc_tdmq_pro_instances.go
- data_source_tc_tdmq_publisher_summary.go
- data_source_tc_tdmq_publishers.go
- data_source_tc_tdmq_rabbitmq_node_list.go
- data_source_tc_tdmq_rabbitmq_vip_instance.go
- data_source_tc_tdmq_rocketmq_cluster.go
- data_source_tc_tdmq_rocketmq_group.go
- data_source_tc_tdmq_rocketmq_messages.go
- data_source_tc_tdmq_rocketmq_namespace.go
- data_source_tc_tdmq_rocketmq_role.go
- data_source_tc_tdmq_rocketmq_topic.go
- data_source_tc_tdmq_vip_instance.go
- data_source_tc_teo_rule_engine_settings.go
- data_source_tc_teo_zone_available_plans.go
- data_source_tc_tse_access_address.go
- data_source_tc_tse_gateway_canary_rules.go
- data_source_tc_tse_gateway_certificates.go
- data_source_tc_tse_gateway_nodes.go
- data_source_tc_tse_gateway_routes.go
- data_source_tc_tse_gateway_services.go
- data_source_tc_tse_gateways.go
- data_source_tc_tse_groups.go
- data_source_tc_tse_nacos_replicas.go
- data_source_tc_tse_nacos_server_interfaces.go
- data_source_tc_tse_zookeeper_replicas.go
- data_source_tc_tse_zookeeper_server_interfaces.go
- data_source_tc_tsf_api_detail.go
- data_source_tc_tsf_api_group.go
- data_source_tc_tsf_application.go
- data_source_tc_tsf_application_attribute.go
- data_source_tc_tsf_application_config.go
- data_source_tc_tsf_application_file_config.go
- data_source_tc_tsf_application_public_config.go
- data_source_tc_tsf_business_log_configs.go
- data_source_tc_tsf_cluster.go
- data_source_tc_tsf_config_summary.go
- data_source_tc_tsf_container_group.go
- data_source_tc_tsf_delivery_config_by_group_id.go
- data_source_tc_tsf_delivery_configs.go
- data_source_tc_tsf_gateway_all_group_apis.go
- data_source_tc_tsf_group_config_release.go
- data_source_tc_tsf_group_gateways.go
- data_source_tc_tsf_group_instances.go
- data_source_tc_tsf_groups.go
- data_source_tc_tsf_microservice.go
- data_source_tc_tsf_microservice_api_version.go
- data_source_tc_tsf_ms_api_list.go
- data_source_tc_tsf_pod_instances.go
- data_source_tc_tsf_public_config_summary.go
- data_source_tc_tsf_repository.go
- data_source_tc_tsf_unit_rules.go
- data_source_tc_tsf_usable_unit_namespaces.go
- data_source_tc_user_info.go
- data_source_tc_vod_adaptive_dynamic_streaming_templates.go
- data_source_tc_vod_image_sprite_templates.go
- data_source_tc_vod_procedure_templates.go
- data_source_tc_vod_snapshot_by_time_offset_templates.go
- data_source_tc_vod_super_player_configs.go
- data_source_tc_vpc.go
- data_source_tc_vpc_account_attributes.go
- data_source_tc_vpc_acls.go
- data_source_tc_vpc_bandwidth_package_bill_usage.go
- data_source_tc_vpc_bandwidth_package_quota.go
- data_source_tc_vpc_classic_link_instances.go
- data_source_tc_vpc_cvm_instances.go
- data_source_tc_vpc_gateway_flow_monitor_detail.go
- data_source_tc_vpc_gateway_flow_qos.go
- data_source_tc_vpc_instances.go
- data_source_tc_vpc_limits.go
- data_source_tc_vpc_net_detect_state_check.go
- data_source_tc_vpc_net_detect_states.go
- data_source_tc_vpc_network_interface_limit.go
- data_source_tc_vpc_private_ip_addresses.go
- data_source_tc_vpc_product_quota.go
- data_source_tc_vpc_resource_dashboard.go
- data_source_tc_vpc_route_conflicts.go
- data_source_tc_vpc_route_tables.go
- data_source_tc_vpc_security_group_limits.go
- data_source_tc_vpc_security_group_references.go
- data_source_tc_vpc_sg_snapshot_file_content.go
- data_source_tc_vpc_snapshot_files.go
- data_source_tc_vpc_subnet_resource_dashboard.go
- data_source_tc_vpc_subnets.go
- data_source_tc_vpc_template_limits.go
- data_source_tc_vpc_used_ip_address.go
- data_source_tc_vpn_connections.go
- data_source_tc_vpn_customer_gateway_vendors.go
- data_source_tc_vpn_customer_gateways.go
- data_source_tc_vpn_default_health_check_ip.go
- data_source_tc_vpn_gateway_routes.go
- data_source_tc_vpn_gateways.go
- data_source_tc_waf_attack_log_histogram.go
- data_source_tc_waf_attack_log_list.go
- data_source_tc_waf_attack_overview.go
- data_source_tc_waf_attack_total_count.go
- data_source_tc_waf_ciphers.go
- data_source_tc_waf_domains.go
- data_source_tc_waf_find_domains.go
- data_source_tc_waf_instance_qps_limit.go
- data_source_tc_waf_peak_points.go
- data_source_tc_waf_ports.go
- data_source_tc_waf_tls_versions.go
- data_source_tc_waf_user_domains.go
- data_source_tc_waf_waf_infos.go
- data_source_tc_wedata_rule_templates.go
- extension_api_gateway.go
- extension_as.go
- extension_cam.go
- extension_cbs.go
- extension_cdh.go
- extension_cdn.go
- extension_cdwch.go
- extension_cfs.go
- extension_cfw.go
- extension_ckafka.go
- extension_clb.go
- extension_cnn.go
- extension_cos.go
- extension_css.go
- extension_cvm.go
- extension_cwp.go
- extension_cynosdb.go
- extension_dayu.go
- extension_dc.go
- extension_dc_gateway.go
- extension_dcdb.go
- extension_ddos.go
- extension_dnspod.go
- extension_dts.go
- extension_elasticsearch.go
- extension_emr.go
- extension_gaap.go
- extension_images.go
- extension_kms.go
- extension_mariadb.go
- extension_mongodb.go
- extension_monitor.go
- extension_mps.go
- extension_mysql.go
- extension_oceanus.go
- extension_postgresql.go
- extension_privatedns.go
- extension_redis.go
- extension_scf.go
- extension_security_group.go
- extension_sqlserver.go
- extension_ssl.go
- extension_ssm.go
- extension_tags.go
- extension_tcaplus.go
- extension_tcr.go
- extension_tdmq.go
- extension_tke.go
- extension_trocket.go
- extension_vod.go
- extension_vpc.go
- extension_waf.go
- pkgkey.go
- provider.go
- resource_tc_address_template.go
- resource_tc_address_template_group.go
- resource_tc_alb_server_attachment.go
- resource_tc_api_gateway_api.go
- resource_tc_api_gateway_api_app.go
- resource_tc_api_gateway_api_app_attachment.go
- resource_tc_api_gateway_api_doc.go
- resource_tc_api_gateway_api_key.go
- resource_tc_api_gateway_api_key_attachment.go
- resource_tc_api_gateway_custom_domain.go
- resource_tc_api_gateway_import_open_api.go
- resource_tc_api_gateway_ip_strategy.go
- resource_tc_api_gateway_plugin.go
- resource_tc_api_gateway_plugin_attachment.go
- resource_tc_api_gateway_service.go
- resource_tc_api_gateway_service_release.go
- resource_tc_api_gateway_strategy_attachment.go
- resource_tc_api_gateway_update_api_app_key.go
- resource_tc_api_gateway_upstream.go
- resource_tc_api_gateway_usage_plan.go
- resource_tc_api_gateway_usage_plan_attachment.go
- resource_tc_apm_instance.go
- resource_tc_as_attachment.go
- resource_tc_as_complete_lifecycle.go
- resource_tc_as_execute_scaling_policy.go
- resource_tc_as_lifecycle_hook.go
- resource_tc_as_load_balancer.go
- resource_tc_as_notification.go
- resource_tc_as_protect_instances.go
- resource_tc_as_remove_instances.go
- resource_tc_as_scale_in_instances.go
- resource_tc_as_scale_out_instances.go
- resource_tc_as_scaling_config.go
- resource_tc_as_scaling_group.go
- resource_tc_as_scaling_group_status.go
- resource_tc_as_scaling_policy.go
- resource_tc_as_schedule.go
- resource_tc_as_start_instances.go
- resource_tc_as_stop_instances.go
- resource_tc_audit.go
- resource_tc_audit_track.go
- resource_tc_bi_datasource.go
- resource_tc_bi_datasource_cloud.go
- resource_tc_bi_embed_interval_apply.go
- resource_tc_bi_embed_token_apply.go
- resource_tc_bi_project.go
- resource_tc_bi_project_user_role.go
- resource_tc_bi_user_role.go
- resource_tc_cam_access_key.go
- resource_tc_cam_group.go
- resource_tc_cam_group_membership.go
- resource_tc_cam_group_policy_attachment.go
- resource_tc_cam_mfa_flag.go
- resource_tc_cam_oidc_sso.go
- resource_tc_cam_policy.go
- resource_tc_cam_policy_by_name.go
- resource_tc_cam_policy_version.go
- resource_tc_cam_role.go
- resource_tc_cam_role_by_name.go
- resource_tc_cam_role_permission_boundary_attachment.go
- resource_tc_cam_role_policy_attachment.go
- resource_tc_cam_role_policy_attachment_by_name.go
- resource_tc_cam_role_sso.go
- resource_tc_cam_saml_provider.go
- resource_tc_cam_service_linked_role.go
- resource_tc_cam_set_policy_version_config.go
- resource_tc_cam_tag_role_attachment.go
- resource_tc_cam_user.go
- resource_tc_cam_user_permission_boundary_attachment.go
- resource_tc_cam_user_policy_attachment.go
- resource_tc_cam_user_saml_config.go
- resource_tc_cat_task_set.go
- resource_tc_cbs_disk_backup.go
- resource_tc_cbs_disk_backup_rollback_operation.go
- resource_tc_cbs_snapshot.go
- resource_tc_cbs_snapshot_policy.go
- resource_tc_cbs_snapshot_policy_attachment.go
- resource_tc_cbs_snapshot_share_permission.go
- resource_tc_cbs_storage.go
- resource_tc_cbs_storage_attachment.go
- resource_tc_cbs_storage_set.go
- resource_tc_cbs_storage_set_attachment.go
- resource_tc_ccn.go
- resource_tc_ccn_attachment.go
- resource_tc_ccn_bandwidth_limit.go
- resource_tc_ccn_instances_accept_attach.go
- resource_tc_ccn_instances_reject_attach.go
- resource_tc_ccn_instances_reset_attach.go
- resource_tc_ccn_routes.go
- resource_tc_cdh_instance.go
- resource_tc_cdn_domain.go
- resource_tc_cdn_url_purge.go
- resource_tc_cdn_url_push.go
- resource_tc_cdwpg_instance.go
- resource_tc_cfs_access_group.go
- resource_tc_cfs_access_rule.go
- resource_tc_cfs_auto_snapshot_policy.go
- resource_tc_cfs_auto_snapshot_policy_attachment.go
- resource_tc_cfs_file_system.go
- resource_tc_cfs_sign_up_cfs_service.go
- resource_tc_cfs_snapshot.go
- resource_tc_cfs_user_quota.go
- resource_tc_cfw_address_template.go
- resource_tc_cfw_block_ignore.go
- resource_tc_cfw_edge_firewall_switch.go
- resource_tc_cfw_edge_policy.go
- resource_tc_cfw_nat_firewall_switch.go
- resource_tc_cfw_nat_instance.go
- resource_tc_cfw_nat_policy.go
- resource_tc_cfw_sync_asset.go
- resource_tc_cfw_sync_route.go
- resource_tc_cfw_vpc_firewall_switch.go
- resource_tc_cfw_vpc_instance.go
- resource_tc_cfw_vpc_policy.go
- resource_tc_chdfs_access_group.go
- resource_tc_chdfs_access_rule.go
- resource_tc_chdfs_file_system.go
- resource_tc_chdfs_life_cycle_rule.go
- resource_tc_chdfs_mount_point.go
- resource_tc_chdfs_mount_point_attachment.go
- resource_tc_ci_bucket_attachment.go
- resource_tc_ci_bucket_pic_style.go
- resource_tc_ci_guetzli.go
- resource_tc_ci_hot_link.go
- resource_tc_ci_media_animation_template.go
- resource_tc_ci_media_concat_template.go
- resource_tc_ci_media_pic_process_template.go
- resource_tc_ci_media_smart_cover_template.go
- resource_tc_ci_media_snapshot_template.go
- resource_tc_ci_media_speech_recognition_template.go
- resource_tc_ci_media_super_resolution_template.go
- resource_tc_ci_media_transcode_pro_template.go
- resource_tc_ci_media_transcode_template.go
- resource_tc_ci_media_tts_template.go
- resource_tc_ci_media_video_montage_template.go
- resource_tc_ci_media_video_process_template.go
- resource_tc_ci_media_voice_separate_template.go
- resource_tc_ci_media_watermark_template.go
- resource_tc_ci_original_image_protection.go
- resource_tc_ciam_user_group.go
- resource_tc_ciam_user_store.go
- resource_tc_ckafka_acl.go
- resource_tc_ckafka_acl_rule.go
- resource_tc_ckafka_connect_resource.go
- resource_tc_ckafka_consumer_group.go
- resource_tc_ckafka_consumer_group_modify_offset.go
- resource_tc_ckafka_datahub_task.go
- resource_tc_ckafka_datahub_topic.go
- resource_tc_ckafka_instance.go
- resource_tc_ckafka_renew_instance.go
- resource_tc_ckafka_route.go
- resource_tc_ckafka_topic.go
- resource_tc_ckafka_user.go
- resource_tc_clb_attachment.go
- resource_tc_clb_customized_config.go
- resource_tc_clb_function_targets_attachment.go
- resource_tc_clb_instance.go
- resource_tc_clb_instance_mix_ip_target_config.go
- resource_tc_clb_instance_sla_config.go
- resource_tc_clb_listener.go
- resource_tc_clb_listener_rule.go
- resource_tc_clb_log_set.go
- resource_tc_clb_log_topic.go
- resource_tc_clb_redirection.go
- resource_tc_clb_replace_cert_for_lbs.go
- resource_tc_clb_security_group_attachment.go
- resource_tc_clb_snat_ip.go
- resource_tc_clb_target_group.go
- resource_tc_clb_target_group_attachment.go
- resource_tc_clb_target_group_instance_attachment.go
- resource_tc_clickhouse_account.go
- resource_tc_clickhouse_account_permission.go
- resource_tc_clickhouse_backup.go
- resource_tc_clickhouse_backup_strategy.go
- resource_tc_clickhouse_delete_backup_data.go
- resource_tc_clickhouse_instance.go
- resource_tc_clickhouse_recover_backup_job.go
- resource_tc_cls_alarm.go
- resource_tc_cls_alarm_notice.go
- resource_tc_cls_ckafka_consumer.go
- resource_tc_cls_config.go
- resource_tc_cls_config_attachment.go
- resource_tc_cls_config_extra.go
- resource_tc_cls_cos_recharge.go
- resource_tc_cls_cos_shipper.go
- resource_tc_cls_data_transform.go
- resource_tc_cls_export.go
- resource_tc_cls_index.go
- resource_tc_cls_kafka_recharge.go
- resource_tc_cls_logset.go
- resource_tc_cls_machine_group.go
- resource_tc_cls_scheduled_sql.go
- resource_tc_cls_topic.go
- resource_tc_container_cluster.go
- resource_tc_container_cluster_instance.go
- resource_tc_cos_batch.go
- resource_tc_cos_bucket.go
- resource_tc_cos_bucket_domain_certificate_attachment.go
- resource_tc_cos_bucket_generate_inventory_immediately_operation.go
- resource_tc_cos_bucket_inventory.go
- resource_tc_cos_bucket_object.go
- resource_tc_cos_bucket_policy.go
- resource_tc_cos_bucket_referer.go
- resource_tc_cos_bucket_version.go
- resource_tc_cos_object_abort_multipart_upload_operation.go
- resource_tc_cos_object_copy_operation.go
- resource_tc_cos_object_download_operation.go
- resource_tc_cos_object_restore_operation.go
- resource_tc_css_authenticate_domain_owner_operation.go
- resource_tc_css_backup_stream.go
- resource_tc_css_callback_rule_attachment.go
- resource_tc_css_callback_template.go
- resource_tc_css_domain.go
- resource_tc_css_domain_referer.go
- resource_tc_css_enable_optimal_switching.go
- resource_tc_css_live_transcode_rule_attachment.go
- resource_tc_css_live_transcode_template.go
- resource_tc_css_pad_rule_attachment.go
- resource_tc_css_pad_template.go
- resource_tc_css_play_auth_key_config.go
- resource_tc_css_play_domain_cert_attachment.go
- resource_tc_css_pull_stream_task.go
- resource_tc_css_push_auth_key_config.go
- resource_tc_css_record_rule_attachment.go
- resource_tc_css_record_template.go
- resource_tc_css_snapshot_rule_attachment.go
- resource_tc_css_snapshot_template.go
- resource_tc_css_stream_monitor.go
- resource_tc_css_timeshift_rule_attachment.go
- resource_tc_css_timeshift_template.go
- resource_tc_css_watermark.go
- resource_tc_css_watermark_rule_attachment.go
- resource_tc_cvm_chc_config.go
- resource_tc_cvm_export_images.go
- resource_tc_cvm_hpc_cluster.go
- resource_tc_cvm_image_share_permission.go
- resource_tc_cvm_import_image.go
- resource_tc_cvm_launch_template.go
- resource_tc_cvm_launch_template_default_version.go
- resource_tc_cvm_launch_template_version.go
- resource_tc_cvm_modify_instance_disk_type.go
- resource_tc_cvm_program_fpga_image.go
- resource_tc_cvm_reboot_instance.go
- resource_tc_cvm_renew_host.go
- resource_tc_cvm_renew_instance.go
- resource_tc_cvm_security_group_attachment.go
- resource_tc_cvm_sync_image.go
- resource_tc_cwp_license_bind_attachment.go
- resource_tc_cwp_license_order.go
- resource_tc_cynosdb_account.go
- resource_tc_cynosdb_account_privileges.go
- resource_tc_cynosdb_audit_log_file.go
- resource_tc_cynosdb_binlog_save_days.go
- resource_tc_cynosdb_cluster.go
- resource_tc_cynosdb_cluster_databases.go
- resource_tc_cynosdb_cluster_password_complexity.go
- resource_tc_cynosdb_cluster_resource_packages_attachment.go
- resource_tc_cynosdb_cluster_slave_zone.go
- resource_tc_cynosdb_export_instance_error_logs.go
- resource_tc_cynosdb_export_instance_slow_queries.go
- resource_tc_cynosdb_instance_param.go
- resource_tc_cynosdb_isolate_instance.go
- resource_tc_cynosdb_param_template.go
- resource_tc_cynosdb_proxy.go
- resource_tc_cynosdb_proxy_end_point.go
- resource_tc_cynosdb_read_only_instance_exclusive_access.go
- resource_tc_cynosdb_readonly_instance.go
- resource_tc_cynosdb_reload_proxy_node.go
- resource_tc_cynosdb_resource_package.go
- resource_tc_cynosdb_restart_instance.go
- resource_tc_cynosdb_roll_back_cluster.go
- resource_tc_cynosdb_security_group.go
- resource_tc_cynosdb_upgrade_proxy_version.go
- resource_tc_cynosdb_wan.go
- resource_tc_dayu_cc_http_policy.go
- resource_tc_dayu_cc_https_policy.go
- resource_tc_dayu_cc_policy_v2.go
- resource_tc_dayu_ddos_ip_attachment_v2.go
- resource_tc_dayu_ddos_policy.go
- resource_tc_dayu_ddos_policy_attachment.go
- resource_tc_dayu_ddos_policy_case.go
- resource_tc_dayu_ddos_policy_v2.go
- resource_tc_dayu_eip.go
- resource_tc_dayu_l4_rule.go
- resource_tc_dayu_l4_rule_v2.go
- resource_tc_dayu_l7_rule.go
- resource_tc_dayu_l7_rule_v2.go
- resource_tc_dbbrain_db_diag_report_task.go
- resource_tc_dbbrain_modify_diag_db_instance_operation.go
- resource_tc_dbbrain_security_audit_log_export_task.go
- resource_tc_dbbrain_sql_filter.go
- resource_tc_dbbrain_tdsql_audit_log.go
- resource_tc_dc_gateway.go
- resource_tc_dc_gateway_attachment.go
- resource_tc_dc_gateway_ccn_route.go
- resource_tc_dc_instance.go
- resource_tc_dc_internet_address.go
- resource_tc_dc_internet_address_config.go
- resource_tc_dc_share_dcx_config.go
- resource_tc_dcdb_account.go
- resource_tc_dcdb_account_privileges.go
- resource_tc_dcdb_activate_hour_instance_operation.go
- resource_tc_dcdb_cancel_dcn_job_operation.go
- resource_tc_dcdb_db_instance.go
- resource_tc_dcdb_db_parameters.go
- resource_tc_dcdb_db_sync_mode_config.go
- resource_tc_dcdb_encrypt_attributes_config.go
- resource_tc_dcdb_flush_binlog_operation.go
- resource_tc_dcdb_hourdb_instance.go
- resource_tc_dcdb_instance_config.go
- resource_tc_dcdb_isolate_hour_instance_operation.go
- resource_tc_dcdb_security_group_attachment.go
- resource_tc_dcdb_switch_db_instance_ha_operation.go
- resource_tc_dcx.go
- resource_tc_dcx_extra_config.go
- resource_tc_dlc_add_users_to_work_group_attachment.go
- resource_tc_dlc_attach_user_policy_operation.go
- resource_tc_dlc_attach_work_group_policy_operation.go
- resource_tc_dlc_bind_work_groups_to_user_attachment.go
- resource_tc_dlc_data_engine.go
- resource_tc_dlc_detach_user_policy_operation.go
- resource_tc_dlc_detach_work_group_policy_operation.go
- resource_tc_dlc_modify_data_engine_description_operation.go
- resource_tc_dlc_modify_user_typ_operation.go
- resource_tc_dlc_renew_data_engine_operation.go
- resource_tc_dlc_restart_data_engine_operation.go
- resource_tc_dlc_rollback_data_engine_image_operation.go
- resource_tc_dlc_store_location_config.go
- resource_tc_dlc_suspend_resume_data_engine.go
- resource_tc_dlc_switch_data_engine_image_operation.go
- resource_tc_dlc_update_row_filter_operation.go
- resource_tc_dlc_upgrade_data_engine_image_operation.go
- resource_tc_dlc_user.go
- resource_tc_dlc_user_data_engine_config.go
- resource_tc_dlc_work_group.go
- resource_tc_dnat.go
- resource_tc_dnspod_custom_line.go
- resource_tc_dnspod_domain_alias.go
- resource_tc_dnspod_domain_instance.go
- resource_tc_dnspod_download_snapshot_operation.go
- resource_tc_dnspod_modify_domain_owner_operation.go
- resource_tc_dnspod_modify_record_group_operation.go
- resource_tc_dnspod_record.go
- resource_tc_dnspod_record_group.go
- resource_tc_dts_compare_task.go
- resource_tc_dts_compare_task_stop_operation.go
- resource_tc_dts_migrate_job.go
- resource_tc_dts_migrate_job_config.go
- resource_tc_dts_migrate_job_resume_operation.go
- resource_tc_dts_migrate_job_start_operation.go
- resource_tc_dts_migrate_service.go
- resource_tc_dts_sync_check_job_operation.go
- resource_tc_dts_sync_config.go
- resource_tc_dts_sync_job.go
- resource_tc_dts_sync_job_continue_operation.go
- resource_tc_dts_sync_job_isolate_operation.go
- resource_tc_dts_sync_job_pause_operation.go
- resource_tc_dts_sync_job_recover_operation.go
- resource_tc_dts_sync_job_resize_operation.go
- resource_tc_dts_sync_job_resume_operation.go
- resource_tc_dts_sync_job_start_operation.go
- resource_tc_dts_sync_job_stop_operation.go
- resource_tc_eb_event_bus.go
- resource_tc_eb_event_connector.go
- resource_tc_eb_event_rule.go
- resource_tc_eb_event_target.go
- resource_tc_eb_event_transform.go
- resource_tc_eb_put_events.go
- resource_tc_eip.go
- resource_tc_eip_address_transform.go
- resource_tc_eip_association.go
- resource_tc_eip_normal_address_return.go
- resource_tc_eip_public_address_adjust.go
- resource_tc_eks_cluster.go
- resource_tc_eks_container_instance.go
- resource_tc_elasticsearch_diagnose.go
- resource_tc_elasticsearch_diagnose_instance.go
- resource_tc_elasticsearch_index.go
- resource_tc_elasticsearch_instance.go
- resource_tc_elasticsearch_logstash.go
- resource_tc_elasticsearch_logstash_pipeline.go
- resource_tc_elasticsearch_restart_instance_operation.go
- resource_tc_elasticsearch_restart_kibana_operation.go
- resource_tc_elasticsearch_restart_logstash_instance_operation.go
- resource_tc_elasticsearch_restart_nodes_operation.go
- resource_tc_elasticsearch_security_group.go
- resource_tc_elasticsearch_start_logstash_pipeline_operation.go
- resource_tc_elasticsearch_stop_logstash_pipeline_operation.go
- resource_tc_elasticsearch_update_plugins_operation.go
- resource_tc_emr_cluster.go
- resource_tc_emr_user_manager.go
- resource_tc_eni.go
- resource_tc_eni_attachment.go
- resource_tc_eni_sg_attachment.go
- resource_tc_gaap_certificate.go
- resource_tc_gaap_domain_error_page.go
- resource_tc_gaap_global_domain.go
- resource_tc_gaap_global_domain_dns.go
- resource_tc_gaap_http_domain.go
- resource_tc_gaap_http_rule.go
- resource_tc_gaap_layer4_listener.go
- resource_tc_gaap_layer7_listener.go
- resource_tc_gaap_proxy.go
- resource_tc_gaap_realserver.go
- resource_tc_gaap_security_policy.go
- resource_tc_gaap_security_rule.go
- resource_tc_ha_vip.go
- resource_tc_ha_vip_eip_attachment.go
- resource_tc_image.go
- resource_tc_instance.go
- resource_tc_instance_set.go
- resource_tc_ipv6_address_bandwidth.go
- resource_tc_key_pair.go
- resource_tc_kms_cloud_resource_attachment.go
- resource_tc_kms_external_key.go
- resource_tc_kms_key.go
- resource_tc_kms_overwrite_white_box_device_fingerprints.go
- resource_tc_kms_white_box_key.go
- resource_tc_kubernetes_addon_attachment.go
- resource_tc_kubernetes_as_scaling_group.go
- resource_tc_kubernetes_auth_attachment.go
- resource_tc_kubernetes_backup_storage_location.go
- resource_tc_kubernetes_cluster.go
- resource_tc_kubernetes_cluster_attachment.go
- resource_tc_kubernetes_cluster_endpoint.go
- resource_tc_kubernetes_encryption_protection.go
- resource_tc_kubernetes_node_pool.go
- resource_tc_kubernetes_scale_worker.go
- resource_tc_kubernetes_serverless_node_pool.go
- resource_tc_lb.go
- resource_tc_lighthouse_apply_disk_backup.go
- resource_tc_lighthouse_apply_instance_snapshot.go
- resource_tc_lighthouse_blueprint.go
- resource_tc_lighthouse_disk.go
- resource_tc_lighthouse_disk_attachment.go
- resource_tc_lighthouse_disk_backup.go
- resource_tc_lighthouse_firewall_rule.go
- resource_tc_lighthouse_firewall_template.go
- resource_tc_lighthouse_instance.go
- resource_tc_lighthouse_key_pair.go
- resource_tc_lighthouse_key_pair_attachment.go
- resource_tc_lighthouse_reboot_instance.go
- resource_tc_lighthouse_renew_disk.go
- resource_tc_lighthouse_renew_instance.go
- resource_tc_lighthouse_snapshot.go
- resource_tc_lighthouse_start_instance.go
- resource_tc_lighthouse_stop_instance.go
- resource_tc_mariadb_account.go
- resource_tc_mariadb_account_privileges.go
- resource_tc_mariadb_backup_time.go
- resource_tc_mariadb_cancel_dcn_job.go
- resource_tc_mariadb_dedicatedcluster_db_instance.go
- resource_tc_mariadb_encrypt_attributes.go
- resource_tc_mariadb_flush_binlog.go
- resource_tc_mariadb_hour_db_instance.go
- resource_tc_mariadb_instance.go
- resource_tc_mariadb_instance_config.go
- resource_tc_mariadb_log_file_retention_period.go
- resource_tc_mariadb_operate_hour_db_instance.go
- resource_tc_mariadb_parameters.go
- resource_tc_mariadb_renew_instance.go
- resource_tc_mariadb_restart_instance.go
- resource_tc_mariadb_security_groups.go
- resource_tc_mariadb_switch_ha.go
- resource_tc_mdl_stream_live_input.go
- resource_tc_mongodb_instance.go
- resource_tc_mongodb_instance_account.go
- resource_tc_mongodb_instance_backup.go
- resource_tc_mongodb_instance_backup_download_task.go
- resource_tc_mongodb_sharding_instance.go
- resource_tc_mongodb_standby_instance.go
- resource_tc_monitor_alarm_notice.go
- resource_tc_monitor_alarm_policy.go
- resource_tc_monitor_alarm_policy_set_default.go
- resource_tc_monitor_binding_object.go
- resource_tc_monitor_binding_receiver.go
- resource_tc_monitor_grafana_dns_config.go
- resource_tc_monitor_grafana_env_config.go
- resource_tc_monitor_grafana_instance.go
- resource_tc_monitor_grafana_integration.go
- resource_tc_monitor_grafana_notification_channel.go
- resource_tc_monitor_grafana_plugin.go
- resource_tc_monitor_grafana_sso_account.go
- resource_tc_monitor_grafana_sso_cam_config.go
- resource_tc_monitor_grafana_sso_config.go
- resource_tc_monitor_grafana_version_upgrade.go
- resource_tc_monitor_grafana_whitelist_config.go
- resource_tc_monitor_policy_binding_object.go
- resource_tc_monitor_policy_group.go
- resource_tc_monitor_tmp_alert_rule.go
- resource_tc_monitor_tmp_cvm_agent.go
- resource_tc_monitor_tmp_exporter_integration.go
- resource_tc_monitor_tmp_grafana_config.go
- resource_tc_monitor_tmp_instance.go
- resource_tc_monitor_tmp_manage_grafana_attachment.go
- resource_tc_monitor_tmp_recording_rule.go
- resource_tc_monitor_tmp_scrape_job.go
- resource_tc_monitor_tmp_tke_alert_policy.go
- resource_tc_monitor_tmp_tke_basic_config.go
- resource_tc_monitor_tmp_tke_cluster_agent.go
- resource_tc_monitor_tmp_tke_config.go
- resource_tc_monitor_tmp_tke_global_notification.go
- resource_tc_monitor_tmp_tke_record_rule_yaml.go
- resource_tc_monitor_tmp_tke_template.go
- resource_tc_monitor_tmp_tke_template_attachment.go
- resource_tc_mps_adaptive_dynamic_streaming_template.go
- resource_tc_mps_ai_analysis_template.go
- resource_tc_mps_ai_recognition_template.go
- resource_tc_mps_animated_graphics_template.go
- resource_tc_mps_content_review_template.go
- resource_tc_mps_edit_media_operation.go
- resource_tc_mps_enable_schedule_config.go
- resource_tc_mps_enable_workflow_config.go
- resource_tc_mps_event.go
- resource_tc_mps_execute_function_operation.go
- resource_tc_mps_flow.go
- resource_tc_mps_image_sprite_template.go
- resource_tc_mps_input.go
- resource_tc_mps_manage_task_operation.go
- resource_tc_mps_output.go
- resource_tc_mps_person_sample.go
- resource_tc_mps_process_live_stream_operation.go
- resource_tc_mps_process_media_operation.go
- resource_tc_mps_sample_snapshot_template.go
- resource_tc_mps_schedule.go
- resource_tc_mps_snapshot_by_timeoffset_template.go
- resource_tc_mps_start_flow_operation.go
- resource_tc_mps_transcode_template.go
- resource_tc_mps_watermark_template.go
- resource_tc_mps_withdraws_watermark_operation.go
- resource_tc_mps_word_sample.go
- resource_tc_mps_workflow.go
- resource_tc_mysql_account.go
- resource_tc_mysql_account_privilege.go
- resource_tc_mysql_audit_log_file.go
- resource_tc_mysql_backup_download_restriction.go
- resource_tc_mysql_backup_encryption_status.go
- resource_tc_mysql_backup_policy.go
- resource_tc_mysql_db_import_job_operation.go
- resource_tc_mysql_deploy_group.go
- resource_tc_mysql_dr_instance_to_mater.go
- resource_tc_mysql_instance.go
- resource_tc_mysql_instance_encryption_operation.go
- resource_tc_mysql_isolate_instance.go
- resource_tc_mysql_local_binlog_config.go
- resource_tc_mysql_param_template.go
- resource_tc_mysql_password_complexity.go
- resource_tc_mysql_privilege.go
- resource_tc_mysql_proxy.go
- resource_tc_mysql_readonly_instance.go
- resource_tc_mysql_reload_balance_proxy_node.go
- resource_tc_mysql_remote_backup_config.go
- resource_tc_mysql_renew_db_instance_operation.go
- resource_tc_mysql_reset_root_account.go
- resource_tc_mysql_restart_db_instances_operation.go
- resource_tc_mysql_ro_group.go
- resource_tc_mysql_ro_group_load_operation.go
- resource_tc_mysql_ro_instance_ip.go
- resource_tc_mysql_ro_start_replication.go
- resource_tc_mysql_ro_stop_replication.go
- resource_tc_mysql_rollback.go
- resource_tc_mysql_rollback_stop.go
- resource_tc_mysql_security_groups_attachment.go
- resource_tc_mysql_switch_for_upgrade.go
- resource_tc_mysql_switch_master_slave_operation.go
- resource_tc_mysql_switch_proxy.go
- resource_tc_mysql_time_window.go
- resource_tc_mysql_verify_root_account.go
- resource_tc_nat_gateway.go
- resource_tc_nat_gateway_snat.go
- resource_tc_nat_refresh_nat_dc_route.go
- resource_tc_oceanus_job.go
- resource_tc_oceanus_job_config.go
- resource_tc_oceanus_job_copy.go
- resource_tc_oceanus_resource.go
- resource_tc_oceanus_resource_config.go
- resource_tc_oceanus_run_job.go
- resource_tc_oceanus_stop_job.go
- resource_tc_oceanus_trigger_job_savepoint.go
- resource_tc_oceanus_work_space.go
- resource_tc_organization_instance.go
- resource_tc_organization_org_identity.go
- resource_tc_organization_org_member.go
- resource_tc_organization_org_member_auth_identity_attachment.go
- resource_tc_organization_org_member_email.go
- resource_tc_organization_org_member_policy_attachment.go
- resource_tc_organization_org_node.go
- resource_tc_organization_policy_sub_account_attachment.go
- resource_tc_organization_quit_organization_operation.go
- resource_tc_placement_group.go
- resource_tc_postgresql_backup_download_restriction_config.go
- resource_tc_postgresql_backup_plan_config.go
- resource_tc_postgresql_base_backup.go
- resource_tc_postgresql_delete_log_backup_operation.go
- resource_tc_postgresql_disisolate_db_instance_operation.go
- resource_tc_postgresql_instance.go
- resource_tc_postgresql_isolate_db_instance_operation.go
- resource_tc_postgresql_modify_account_remark_operation.go
- resource_tc_postgresql_modify_switch_time_period_operation.go
- resource_tc_postgresql_parameter_template.go
- resource_tc_postgresql_readonly_attachment.go
- resource_tc_postgresql_readonly_group.go
- resource_tc_postgresql_readonly_instance.go
- resource_tc_postgresql_rebalance_readonly_group_operation.go
- resource_tc_postgresql_renew_db_instance_operation.go
- resource_tc_postgresql_restart_db_instance_operation.go
- resource_tc_postgresql_security_group_config.go
- resource_tc_private_dns_record.go
- resource_tc_private_dns_zone.go
- resource_tc_private_dns_zone_vpc_attachment.go
- resource_tc_project.go
- resource_tc_protocol_template.go
- resource_tc_protocol_template_group.go
- resource_tc_pts_alert_channel.go
- resource_tc_pts_cron_job.go
- resource_tc_pts_cron_job_abort.go
- resource_tc_pts_cron_job_restart.go
- resource_tc_pts_file.go
- resource_tc_pts_job.go
- resource_tc_pts_job_abort.go
- resource_tc_pts_project.go
- resource_tc_pts_scenario.go
- resource_tc_pts_tmp_key_generate.go
- resource_tc_redis_account.go
- resource_tc_redis_backup_config.go
- resource_tc_redis_backup_download_restriction.go
- resource_tc_redis_backup_operation.go
- resource_tc_redis_clear_instance_operation.go
- resource_tc_redis_connection_config.go
- resource_tc_redis_instance.go
- resource_tc_redis_maintenance_window.go
- resource_tc_redis_param.go
- resource_tc_redis_param_template.go
- resource_tc_redis_read_only.go
- resource_tc_redis_renew_instance_operation.go
- resource_tc_redis_replica_readonly.go
- resource_tc_redis_replicate_attachment.go
- resource_tc_redis_security_group_attachment.go
- resource_tc_redis_ssl.go
- resource_tc_redis_startup_instance_operation.go
- resource_tc_redis_switch_master.go
- resource_tc_redis_upgrade_cache_version_operation.go
- resource_tc_redis_upgrade_multi_zone_operation.go
- resource_tc_redis_upgrade_proxy_version_operation.go
- resource_tc_reserved_instance.go
- resource_tc_route_entry.go
- resource_tc_route_table.go
- resource_tc_route_table_entry.go
- resource_tc_rum_instance_status_config.go
- resource_tc_rum_offline_log_config_attachment.go
- resource_tc_rum_project.go
- resource_tc_rum_project_status_config.go
- resource_tc_rum_release_file.go
- resource_tc_rum_taw_instance.go
- resource_tc_rum_whitelist.go
- resource_tc_scf_function.go
- resource_tc_scf_function_alias.go
- resource_tc_scf_function_event_invoke_config.go
- resource_tc_scf_function_version.go
- resource_tc_scf_invoke_function.go
- resource_tc_scf_layer.go
- resource_tc_scf_namespace.go
- resource_tc_scf_provisioned_concurrency_config.go
- resource_tc_scf_reserved_concurrency_config.go
- resource_tc_scf_sync_invoke_function.go
- resource_tc_scf_terminate_async_event.go
- resource_tc_scf_trigger_config.go
- resource_tc_security_group.go
- resource_tc_security_group_lite_rule.go
- resource_tc_security_group_rule.go
- resource_tc_security_group_rule_set.go
- resource_tc_ses_batch_send_email.go
- resource_tc_ses_black_list_delete.go
- resource_tc_ses_domain.go
- resource_tc_ses_email_address.go
- resource_tc_ses_receiver.go
- resource_tc_ses_send_email.go
- resource_tc_ses_template.go
- resource_tc_ses_verify_domain.go
- resource_tc_sms_sign.go
- resource_tc_sms_template.go
- resource_tc_sqlserver_account.go
- resource_tc_sqlserver_account_db_attachment.go
- resource_tc_sqlserver_basic_instance.go
- resource_tc_sqlserver_business_intelligence_file.go
- resource_tc_sqlserver_business_intelligence_instance.go
- resource_tc_sqlserver_complete_expansion.go
- resource_tc_sqlserver_config_backup_strategy.go
- resource_tc_sqlserver_config_database_cdc.go
- resource_tc_sqlserver_config_database_ct.go
- resource_tc_sqlserver_config_database_mdf.go
- resource_tc_sqlserver_config_instance_param.go
- resource_tc_sqlserver_config_instance_ro_group.go
- resource_tc_sqlserver_config_instance_security_groups.go
- resource_tc_sqlserver_config_terminate_db_instance.go
- resource_tc_sqlserver_database_tde.go
- resource_tc_sqlserver_db.go
- resource_tc_sqlserver_full_backup_migration.go
- resource_tc_sqlserver_general_backup.go
- resource_tc_sqlserver_general_clone.go
- resource_tc_sqlserver_general_cloud_instance.go
- resource_tc_sqlserver_general_cloud_ro_instance.go
- resource_tc_sqlserver_general_communication.go
- resource_tc_sqlserver_incre_backup_migration.go
- resource_tc_sqlserver_instance.go
- resource_tc_sqlserver_instance_tde.go
- resource_tc_sqlserver_migration.go
- resource_tc_sqlserver_publish_subscribe.go
- resource_tc_sqlserver_readonly_instance.go
- resource_tc_sqlserver_renew_db_instance.go
- resource_tc_sqlserver_renew_postpaid_db_instance.go
- resource_tc_sqlserver_restart_db_instance.go
- resource_tc_sqlserver_restore_instance.go
- resource_tc_sqlserver_rollback_instance.go
- resource_tc_sqlserver_start_backup_full_migration.go
- resource_tc_sqlserver_start_backup_incremental_migration.go
- resource_tc_sqlserver_start_xevent.go
- resource_tc_ssl_certificate.go
- resource_tc_ssl_check_certificate_chain_operation.go
- resource_tc_ssl_complete_certificate_operation.go
- resource_tc_ssl_deploy_certificate_instance_operation.go
- resource_tc_ssl_deploy_certificate_record_retry_operation.go
- resource_tc_ssl_deploy_certificate_record_rollback_operation.go
- resource_tc_ssl_download_certificate_operation.go
- resource_tc_ssl_free_certificate.go
- resource_tc_ssl_pay_certificate.go
- resource_tc_ssl_replace_certificate_operation.go
- resource_tc_ssl_revoke_certificate_operation.go
- resource_tc_ssl_update_certificate_instance_operation.go
- resource_tc_ssl_update_certificate_record_retry_operation.go
- resource_tc_ssl_update_certificate_record_rollback_operation.go
- resource_tc_ssl_upload_revoke_letter_operation.go
- resource_tc_ssm_product_secret.go
- resource_tc_ssm_rotate_product_secret.go
- resource_tc_ssm_secret.go
- resource_tc_ssm_secret_version.go
- resource_tc_ssm_ssh_key_pair_secret.go
- resource_tc_subnet.go
- resource_tc_tag.go
- resource_tc_tag_attachment.go
- resource_tc_tat_command.go
- resource_tc_tat_invocation_command_attachment.go
- resource_tc_tat_invocation_invoke_attachment.go
- resource_tc_tat_invoker.go
- resource_tc_tat_invoker_config.go
- resource_tc_tcaplus_cluster.go
- resource_tc_tcaplus_idl.go
- resource_tc_tcaplus_table.go
- resource_tc_tcaplus_tablegroup.go
- resource_tc_tcm_access_log_config.go
- resource_tc_tcm_cluster_attachment.go
- resource_tc_tcm_mesh.go
- resource_tc_tcm_prometheus_attachment.go
- resource_tc_tcm_tracing_config.go
- resource_tc_tcmq_queue.go
- resource_tc_tcmq_subscribe.go
- resource_tc_tcmq_topic.go
- resource_tc_tcr_create_image_signature_operation.go
- resource_tc_tcr_customized_domain.go
- resource_tc_tcr_delete_image_operation.go
- resource_tc_tcr_immutable_tag_rule.go
- resource_tc_tcr_instance.go
- resource_tc_tcr_manage_replication_operation.go
- resource_tc_tcr_namespace.go
- resource_tc_tcr_repository.go
- resource_tc_tcr_service_account.go
- resource_tc_tcr_tag_retention_execution_config.go
- resource_tc_tcr_tag_retention_rule.go
- resource_tc_tcr_token.go
- resource_tc_tcr_vpc_attachment.go
- resource_tc_tcr_webhook_trigger.go
- resource_tc_tdcpg_cluster.go
- resource_tc_tdcpg_instance.go
- resource_tc_tdmq_instance.go
- resource_tc_tdmq_namespace.go
- resource_tc_tdmq_namespace_role_attachment.go
- resource_tc_tdmq_rabbitmq_user.go
- resource_tc_tdmq_rabbitmq_vip_instance.go
- resource_tc_tdmq_rabbitmq_virtual_host.go
- resource_tc_tdmq_rocketmq_cluster.go
- resource_tc_tdmq_rocketmq_environment_role.go
- resource_tc_tdmq_rocketmq_group.go
- resource_tc_tdmq_rocketmq_namespace.go
- resource_tc_tdmq_rocketmq_role.go
- resource_tc_tdmq_rocketmq_topic.go
- resource_tc_tdmq_rocketmq_vip_instance.go
- resource_tc_tdmq_role.go
- resource_tc_tdmq_send_rocketmq_message.go
- resource_tc_tdmq_subscription_attachment.go
- resource_tc_tdmq_topic.go
- resource_tc_tem_app_config.go
- resource_tc_tem_application.go
- resource_tc_tem_application_service.go
- resource_tc_tem_environment.go
- resource_tc_tem_gateway.go
- resource_tc_tem_log_config.go
- resource_tc_tem_scale_rule.go
- resource_tc_tem_workload.go
- resource_tc_teo_acceleration_domain.go
- resource_tc_teo_application_proxy.go
- resource_tc_teo_application_proxy_rule.go
- resource_tc_teo_certificate_config.go
- resource_tc_teo_origin_group.go
- resource_tc_teo_ownership_verify.go
- resource_tc_teo_rule_engine.go
- resource_tc_teo_zone.go
- resource_tc_teo_zone_setting.go
- resource_tc_trocket_rocketmq_consumer_group.go
- resource_tc_trocket_rocketmq_instance.go
- resource_tc_trocket_rocketmq_role.go
- resource_tc_trocket_rocketmq_topic.go
- resource_tc_tse_cngw_canary_rule.go
- resource_tc_tse_cngw_certificate.go
- resource_tc_tse_cngw_gateway.go
- resource_tc_tse_cngw_group.go
- resource_tc_tse_cngw_route.go
- resource_tc_tse_cngw_route_rate_limit.go
- resource_tc_tse_cngw_service.go
- resource_tc_tse_cngw_service_rate_limit.go
- resource_tc_tse_instance.go
- resource_tc_tsf_api_group.go
- resource_tc_tsf_api_rate_limit_rule.go
- resource_tc_tsf_application.go
- resource_tc_tsf_application_config.go
- resource_tc_tsf_application_file_config.go
- resource_tc_tsf_application_file_config_release.go
- resource_tc_tsf_application_public_config.go
- resource_tc_tsf_application_public_config_release.go
- resource_tc_tsf_application_release_config.go
- resource_tc_tsf_bind_api_group.go
- resource_tc_tsf_cluster.go
- resource_tc_tsf_config_template.go
- resource_tc_tsf_deploy_container_group.go
- resource_tc_tsf_deploy_vm_group.go
- resource_tc_tsf_enable_unit_rule.go
- resource_tc_tsf_group.go
- resource_tc_tsf_instances_attachment.go
- resource_tc_tsf_lane.go
- resource_tc_tsf_lane_rule.go
- resource_tc_tsf_microservice.go
- resource_tc_tsf_namespace.go
- resource_tc_tsf_operate_container_group.go
- resource_tc_tsf_operate_group.go
- resource_tc_tsf_path_rewrite.go
- resource_tc_tsf_release_api_group.go
- resource_tc_tsf_repository.go
- resource_tc_tsf_task.go
- resource_tc_tsf_unit_namespace.go
- resource_tc_tsf_unit_rule.go
- resource_tc_vod_adaptive_dynamic_streaming_template.go
- resource_tc_vod_image_sprite_template.go
- resource_tc_vod_procedure_template.go
- resource_tc_vod_snapshot_by_time_offset_template.go
- resource_tc_vod_sub_application.go
- resource_tc_vod_super_player_config.go
- resource_tc_vpc.go
- resource_tc_vpc_acl.go
- resource_tc_vpc_acl_attachment.go
- resource_tc_vpc_bandwidth_package.go
- resource_tc_vpc_bandwidth_package_attachment.go
- resource_tc_vpc_classic_link_attachment.go
- resource_tc_vpc_dhcp_associate_address.go
- resource_tc_vpc_dhcp_ip.go
- resource_tc_vpc_enable_end_point_connect.go
- resource_tc_vpc_end_point.go
- resource_tc_vpc_end_point_service.go
- resource_tc_vpc_end_point_service_white_list.go
- resource_tc_vpc_flow_log.go
- resource_tc_vpc_flow_log_config.go
- resource_tc_vpc_ipv6_cidr_block.go
- resource_tc_vpc_ipv6_eni_address.go
- resource_tc_vpc_ipv6_subnet_cidr_block.go
- resource_tc_vpc_local_gateway.go
- resource_tc_vpc_net_detect.go
- resource_tc_vpc_network_acl_quintuple.go
- resource_tc_vpc_notify_routes.go
- resource_tc_vpc_resume_snapshot_instance.go
- resource_tc_vpc_snapshot_policy.go
- resource_tc_vpc_snapshot_policy_attachment.go
- resource_tc_vpc_snapshot_policy_config.go
- resource_tc_vpc_traffic_package.go
- resource_tc_vpn_connection.go
- resource_tc_vpn_connection_reset.go
- resource_tc_vpn_customer_gateway.go
- resource_tc_vpn_customer_gateway_configuration_download.go
- resource_tc_vpn_gateway.go
- resource_tc_vpn_gateway_ccn_routes.go
- resource_tc_vpn_gateway_route.go
- resource_tc_vpn_gateway_ssl_client_cert.go
- resource_tc_vpn_ssl_client.go
- resource_tc_vpn_ssl_server.go
- resource_tc_waf_anti_fake.go
- resource_tc_waf_anti_info_leak.go
- resource_tc_waf_clb_domain.go
- resource_tc_waf_clb_instance.go
- resource_tc_waf_custom_rule.go
- resource_tc_waf_custom_white_rule.go
- resource_tc_waf_saas_domain.go
- resource_tc_waf_saas_instance.go
- resource_tc_wedata_baseline.go
- resource_tc_wedata_dq_rule.go
- resource_tc_wedata_function.go
- resource_tc_wedata_resource.go
- resource_tc_wedata_rule_template.go
- resource_tc_wedata_script.go
- service_tencent_ssl_certificate.go
- service_tencentcloud_antiddos.go
- service_tencentcloud_api.go
- service_tencentcloud_api_gateway.go
- service_tencentcloud_apm.go
- service_tencentcloud_as.go
- service_tencentcloud_audit.go
- service_tencentcloud_bi.go
- service_tencentcloud_cam.go
- service_tencentcloud_cat.go
- service_tencentcloud_cbs.go
- service_tencentcloud_ccn.go
- service_tencentcloud_cdh.go
- service_tencentcloud_cdn.go
- service_tencentcloud_cdwch.go
- service_tencentcloud_cdwpg.go
- service_tencentcloud_cfs.go
- service_tencentcloud_cfw.go
- service_tencentcloud_chdfs.go
- service_tencentcloud_ci.go
- service_tencentcloud_ciam.go
- service_tencentcloud_ckafka.go
- service_tencentcloud_clb.go
- service_tencentcloud_cls.go
- service_tencentcloud_cos.go
- service_tencentcloud_css.go
- service_tencentcloud_cvm.go
- service_tencentcloud_cwp.go
- service_tencentcloud_cynosdb.go
- service_tencentcloud_dayu.go
- service_tencentcloud_dbbrain.go
- service_tencentcloud_dc.go
- service_tencentcloud_dcdb.go
- service_tencentcloud_dcg.go
- service_tencentcloud_dlc.go
- service_tencentcloud_dnspod.go
- service_tencentcloud_domain.go
- service_tencentcloud_dts.go
- service_tencentcloud_eb.go
- service_tencentcloud_eks.go
- service_tencentcloud_elasticsearch.go
- service_tencentcloud_emr.go
- service_tencentcloud_gaap.go
- service_tencentcloud_kms.go
- service_tencentcloud_lighthouse.go
- service_tencentcloud_mariadb.go
- service_tencentcloud_mdl.go
- service_tencentcloud_mongodb.go
- service_tencentcloud_monitor.go
- service_tencentcloud_mps.go
- service_tencentcloud_mysql.go
- service_tencentcloud_oceanus.go
- service_tencentcloud_organization.go
- service_tencentcloud_postgresql.go
- service_tencentcloud_private_dns.go
- service_tencentcloud_pts.go
- service_tencentcloud_redis.go
- service_tencentcloud_rum.go
- service_tencentcloud_scf.go
- service_tencentcloud_ses.go
- service_tencentcloud_sms.go
- service_tencentcloud_sqlserver.go
- service_tencentcloud_ssl.go
- service_tencentcloud_ssm.go
- service_tencentcloud_sts.go
- service_tencentcloud_tag.go
- service_tencentcloud_tat.go
- service_tencentcloud_tcaplus.go
- service_tencentcloud_tcm.go
- service_tencentcloud_tcmq.go
- service_tencentcloud_tcr.go
- service_tencentcloud_tdcpg.go
- service_tencentcloud_tdmq.go
- service_tencentcloud_tdmq_rocketmq.go
- service_tencentcloud_tem.go
- service_tencentcloud_teo.go
- service_tencentcloud_tke.go
- service_tencentcloud_tke_addons.go
- service_tencentcloud_trocket.go
- service_tencentcloud_tse.go
- service_tencentcloud_tsf.go
- service_tencentcloud_vod.go
- service_tencentcloud_vpc.go
- service_tencentcloud_waf.go
- service_tencentcloud_wedata.go
- validators.go