tencentcloud

package
v1.81.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MPL-2.0 Imports: 143 Imported by: 8

Documentation

Overview

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
    }

```

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 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 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 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 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 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"
  }
}

```

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 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 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 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 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 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 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 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 ```

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",
  }

}

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 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 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 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 ```

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 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 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 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 ```

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	INSTANCE_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR"
	INSTANCE_CHARGE_TYPE_SPOTPAID = "SPOTPAID"
	INSTANCE_CHARGE_TYPE_PREPAID  = "PREPAID"
)
View Source
const (
	SCALING_GROUP_TERMINATION_POLICY_NEWEST_INSTANCE = "NEWEST_INSTANCE"
	SCALING_GROUP_TERMINATION_POLICY_OLDEST_INSTANCE = "OLDEST_INSTANCE"
)
View Source
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"
)
View Source
const (
	SCALING_DISK_TYPE_POLICY_ORIGINAL  = "ORIGINAL"
	SCALING_DISK_TYPE_POLICY_AUTOMATIC = "AUTOMATIC"
)
View Source
const (
	INSTANCE_NAME_ORIGINAL = "ORIGINAL"
	INSTANCE_NAME_UNIQUE   = "UNIQUE"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	SCALING_GROUP_STATISTIC_AVERAGE = "AVERAGE"
	SCALING_GROUP_STATISTIC_MAXIMUM = "MAXIMUM"
	SCALING_GROUP_STATISTIC_MINIMUM = "MINIMUM"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	MultiZoneSubnetPolicyPriority = "PRIORITY"
	MultiZoneSubnetPolicyEquality = "EQUALITY"
)
View Source
const (
	SCALING_MODE_CLASSIC         = "CLASSIC_SCALING"
	SCALING_MODE_WAKE_UP_STOPPED = "WAKE_UP_STOPPED_SCALING"
)
View Source
const (
	CAM_POLICY_CREATE_STRATEGY_CUSTOM = "User"
	CAM_POLICY_CREATE_STRATEGY_PRESET = "QCS"
	CAM_POLICY_CREATE_STRATEGY_NULL   = ""
)
View Source
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"
)
View Source
const (
	CLB_NETWORK_TYPE_OPEN     = "OPEN"
	CLB_NETWORK_TYPE_INTERNAL = "INTERNAL"
)
View Source
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"
)
View Source
const (
	CLB_HTTP_METHOD_GET  = "GET"
	CLB_HTTP_METHOD_HEAD = "HEAD"
)
View Source
const (
	CLB_LISTENER_SCHEDULER_WRR       = "WRR"
	CLB_LISTENER_SCHEDULER_LEASTCONN = "LEAST_CONN"
	CLB_LISTENER_SCHEDULER_IP_HASH   = "IP_HASH"
)
View Source
const (
	HTTP_VERSION_ONE_ZERO = "HTTP/1.0"
	HTTP_VERSION_ONE_ONE  = "HTTP/1.1"
)
View Source
const (
	HEALTH_CHECK_TYPE_CUSTOM = "CUSTOM"
	HEALTH_CHECK_TYPE_TCP    = "TCP"
	HEALTH_CHECK_TYPE_HTTP   = "HTTP"
)
View Source
const (
	CONTEX_TYPE_HEX  = "HEX"
	CONTEX_TYPE_TEXT = "TEXT"
)
View Source
const (
	CERT_SSL_MODE_UNI = "UNIDIRECTIONAL"
	CERT_SSL_MODE_MUT = "MUTUAL"
)
View Source
const (
	CLB_TASK_SUCCESS   = 0
	CLB_TASK_FAIL      = 1
	CLB_TASK_EXPANDING = 2
)
View Source
const (
	HEALTH_APPLY_TYPE_LISTENER = "listener"
	HEALTH_APPLY_TYPE_RULE     = "rule"
)
View Source
const (
	AUTO_TARGET_PORT = 443
	AUTO_SOURCE_PORT = 80
)
View Source
const (
	CLB_TARGET_TYPE_NODE        = "NODE"
	CLB_TARGET_TYPE_TARGETGROUP = "TARGETGROUP"
)
View Source
const (
	CLB_BACKEND_TYPE_CVM = "CVM"
	CLB_BACKEND_TYPE_ENI = "ENI"
)
View Source
const (
	CLB_SESSION_TYPE_NORMAL = "NORMAL"
	CLB_SESSION_TYPE_QUIC   = "QUIC_CID"
)
View Source
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"
)
View Source
const (
	LICENSE_TYPE_0 = 0
	LICENSE_TYPE_1 = 1
	LICENSE_TYPE_2 = 2
)
View Source
const (
	REGION_ID_1 = 1
	REGION_ID_9 = 9
)
View Source
const (
	RESOURCE_EDITION_PRO      = "pro"
	RESOURCE_EDITION_STANDARD = "standard"
)
View Source
const (
	OS_NAME_LINUX   = "Linux"
	OS_NAME_WINDOWS = "Windows"
	OS_NAME_MYSQL   = "MySQL"
)
View Source
const (
	TRUE  = "true"
	FALSE = "false"
)
View Source
const (
	POSTGRESQL_PAYTYPE_PREPAID  = "prepaid"
	POSTGRESQL_PAYTYPE_POSTPAID = "postpaid"
)
View Source
const (
	COMMON_PAYTYPE_PREPAID  = "PREPAID"
	COMMON_PAYTYPE_POSTPAID = "POSTPAID_BY_HOUR"
)
View Source
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"
)
View Source
const (
	POSTGRESQL_KERNEL_UPGRADE_IMMEDIATELY     = 0
	POSTGRESQL_KERNEL_UPGRADE_SPECIFIED_TIME  = 1
	POSTGRESQL_KERNEL_UPGRADE_MAINTAIN_WINDOW = 2
)
View Source
const (
	POSTGRESQL_DB_CHARSET_UTF8   = "UTF8"
	POSTGRESQL_DB_CHARSET_LATIN1 = "LATIN1"
)
View Source
const (
	POSTGRESQL_STAUTS_RUNNING  = "running"
	POSTGRESQL_STAUTS_ISOLATED = "isolated"
)
View Source
const (
	SYNC_MODE_SEMI  = "Semi-sync"
	SYNC_MODE_ASYNC = "Async"
)
View Source
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

View Source
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

View Source
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

View Source
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

View Source
const (
	REDIS_CHARGE_TYPE_POSTPAID = "POSTPAID"
	REDIS_CHARGE_TYPE_PREPAID  = "PREPAID"
)
View Source
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_FUNCTION_RESOURCE_PREFIX = "namespace"

	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

	SCF_FUNCTION_OPEN  = "TRUE"
	SCF_FUNCTION_CLOSE = "FALSE"
)
View Source
const (
	SQLSERVER_CHARGE_TYPE_PREPAID  = "PREPAID"
	SQLSERVER_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR"
)
View Source
const (
	SQLSERVER_TASK_SUCCESS = 0
	SQLSERVER_TASK_FAIL    = 1
	SQLSERVER_TASK_RUNNING = 2
)
View Source
const (
	SQLSERVER_ACCOUNT_RW = "ReadWrite"
	SQLSERVER_ACCOUNT_RO = "ReadOnly"
)
View Source
const (
	SQLSERVER_DEFAULT_LIMIT  = 20
	SQLSERVER_DEFAULT_OFFSET = 0
)
View Source
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副本中
)
View Source
const (
	SQLSERVER_BACKUP_CYCLETYPE_DAILY   = "daily"
	SQLSERVER_BACKUP_CYCLETYPE_WEEKLY  = "weekly"
	SQLSERVER_BACKUP_CYCLETYPE_MONTHLY = "monthly"
)
View Source
const (
	SQLSERVER_HA_FLAG_SINGLE  = "SINGLE"
	SQLSERVER_HA_FLAG_DAUL    = "MIRROR"
	SQLSERVER_HA_FLAG_CLUSTER = "ALWAYSON"
)
View Source
const (
	BASIC_NETWORK = 0
	VPC_NEWORK    = 1
)
View Source
const (
	INTERNALERROR_DBERROR   = "InternalError.DBError"
	INSTANCE_STATUS_INVALID = "ResourceUnavailable.InstanceStatusInvalid"
)
View Source
const (
	CLOUD_PREMIUM = "CLOUD_PREMIUM"
	CLOUD_SSD     = "CLOUD_SSD"
	CLOUD_BSSD    = "CLOUD_BSSD"
	CLOUD_HSSD    = "CLOUD_HSSD"
)
View Source
const (
	SQLSERVER_MIGRATION_INIT       = 1
	SQLSERVER_MIGRATION_MIGRATING  = 4
	SQLSERVER_MIGRATION_FAILED     = 5
	SQLSERVER_MIGRATION_COMPLETED  = 6
	SQLSERVER_MIGRATION_TERMINATED = 8
)
View Source
const (
	SQLSERVER_BACKUP_RUNNING = 0
	SQLSERVER_BACKUP_SUCCESS = 1
	SQLSERVER_BACKUP_FAIL    = 2
)
View Source
const (
	SQLSERVER_BACKUP_STRATEGY_ALL    = 0
	SQLSERVER_BACKUP_STRATEGY_SINGEL = 1
)
View Source
const (
	SQLSERVER_CLONE_SUCCESS = 0
	SQLSERVER_CLONE_FAIL    = 1
	SQLSERVER_CLONE_RUNNING = 2
)
View Source
const (
	SQLSERVER_BSDBINSTANCE_STATUS_RUNNING = 1
	SQLSERVER_BSDBINSTANCE_STATUS_SUCCESS = 2
)
View Source
const (
	SQLSERVER_DB_VERSION_2016 = "201603"
	SQLSERVER_DB_VERSION_2017 = "201703"
	SQLSERVER_DB_VERSION_2019 = "201903"
)
View Source
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"
)
View Source
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_201603  = "201603"
	SQLSERVER_CLOUD_DB_VERSION_2017    = "2017"
	SQLSERVER_CLOUD_DB_VERSION_201702  = "201702"
	SQLSERVER_CLOUD_DB_VERSION_201703  = "201703"
	SQLSERVER_CLOUD_DB_VERSION_2019    = "2019"
	SQLSERVER_CLOUD_DB_VERSION_201902  = "201902"
	SQLSERVER_CLOUD_DB_VERSION_201903  = "201903"
	SQLSERVER_CLOUD_DB_VERSION_2022    = "2022"
)
View Source
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_201603  = "SQL Server 2016 Integration Services"
	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_201703  = "SQL Server 2017 Integration Services"
	SQLSERVER_CLOUD_DB_VERSION_NAME_2019    = "SQL Server 2019 Enterprise"
	SQLSERVER_CLOUD_DB_VERSION_NAME_201902  = "SQL Server 2019 Standard"
	SQLSERVER_CLOUD_DB_VERSION_NAME_201903  = "SQL Server 2019 Integration Services"
	SQLSERVER_CLOUD_DB_VERSION_NAME_2022    = "SQL Server 2022 Enterprise"
)
View Source
const (
	SQLSERVER_TYPE_PREPAID  = "PREPAID"
	SQLSERVER_TYPE_POSTPAID = "POSTPAID"
)
View Source
const (
	CreateDefaultTimeout = 7200
	ReadDefaultTimeout   = 7200
	UpdateDefaultTimeout = 7200
	DeleteDefaultTimeout = 7200
)
View Source
const (
	SSL_TYPE_ENABLE  = "enable"
	SSL_TYPE_DISABLE = "disable"
	SSL_TYPE_RENEW   = "renew"
)
View Source
const (
	SSL_MODULE_TYPE = "ssl"
	SSL_WITH_CERT   = "1"
)
View Source
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
)
View Source
const (
	SSL_CERT_TYPE_SERVER = "SVR"
	SSL_CERT_TYPE_CA     = "CA"
)
View Source
const (
	CsrTypeOnline = "online"
	CsrTypeParse  = "parse"
)
View Source
const (
	DNSAuto = "DNS_AUTO"
	DNS     = "DNS"
	File    = "FILE"
)
View Source
const (
	InvalidParam          = "FailedOperation.InvalidParam"
	CertificateNotFound   = "FailedOperation.CertificateNotFound"
	InvalidParameter      = "InvalidParameter"
	InvalidParameterValue = "InvalidParameterValue"
	CertificateInvalid    = "FailedOperation.CertificateInvalid"
)
View Source
const (
	SSM_STATUS_ENABLED       = "Enabled"
	SSM_STATUS_DISABLED      = "Disabled"
	SSM_STATUS_PENDINGDELETE = "PendingDelete"
)
View Source
const (
	TCAPLUS_IDL_TYPE_PROTO = "PROTO"
	TCAPLUS_IDL_TYPE_TDR   = "TDR"
	TCAPLUS_IDL_TYPE_MIX   = "MIX"
)
View Source
const (
	TCAPLUS_FILE_EXT_TYPE_PROTO = "proto"
	TCAPLUS_FILE_EXT_TYPE_XML   = "xml"
)
View Source
const (
	TCAPLUS_TABLE_IDL_TYPE_PROTO = "PROTO"
	TCAPLUS_TABLE_IDL_TYPE_TDR   = "TDR"
)
View Source
const (
	TCAPLUS_TABLE_TYPE_GENERIC = "GENERIC"
	TCAPLUS_TABLE_TYPE__LIST   = "LIST"
)
View Source
const (
	TCR_VPC_DNS_STATUS_ENABLED  = "ENABLED"
	TCR_VPC_DNS_STATUS_DISABLED = "DISABLED"
)
View Source
const (
	REGISTRY_CHARGE_TYPE_POSTPAID = 0
	REGISTRY_CHARGE_TYPE_PREPAID  = 1
)
View Source
const (
	NoneTopicType       = -1
	NonePulsarTopicType = -1
)
View Source
const (
	RabbitMQVipInstanceRunning = 0
	RabbitMQVipInstanceSuccess = 1
)
View Source
const (
	RocketMqVipInsRunning   = 0
	RocketMqVipInsSuccess   = 1
	RocketMqVipInsIsolating = 2
	RocketMqVipInsDestroy   = 3
	RocketMqVipInsUpdate    = 6
)
View Source
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)"
)
View Source
const (
	TkeClusterOsCentOS76 = "centos7.6x86_64"
	//TkeClusterOsUbuntu16 = "ubuntu16.04.1 LTSx86_64"
	TkeClusterOsUbuntu18 = "ubuntu18.04.1 LTSx86_64"
)

兼容旧的 cluster_os 定义

View Source
const (
	TKE_DEPLOY_TYPE_MANAGED     = "MANAGED_CLUSTER"
	TKE_DEPLOY_TYPE_INDEPENDENT = "INDEPENDENT_CLUSTER"
)
View Source
const (
	TKE_RUNTIME_DOCKER     = "docker"
	TKE_RUNTIME_CONTAINERD = "containerd"
)
View Source
const (
	TKE_ROLE_MASTER_ETCD = "MASTER_ETCD"
	TKE_ROLE_WORKER      = "WORKER"
)
View Source
const (
	TKE_CLUSTER_OS_TYPE_DOCKER_CUSTOMIZE = "DOCKER_CUSTOMIZE"
	TKE_CLUSTER_OS_TYPE_GENERAL          = "GENERAL"
)
View Source
const (
	TkeInternetStatusCreating      = "Creating"
	TkeInternetStatusCreateFailed  = "CreateFailed"
	TkeInternetStatusCreated       = "Created"
	TkeInternetStatusDeleting      = "Deleting"
	TkeInternetStatusDeleted       = "Deleted"
	TkeInternetStatusDeletedFailed = "DeletedFailed"
	TkeInternetStatusNotfound      = "NotFound"
)
View Source
const (
	TKE_CLUSTER_NETWORK_TYPE_GR             = "GR"
	TKE_CLUSTER_NETWORK_TYPE_VPC_CNI        = "VPC-CNI"
	TKE_CLUSTER_NETWORK_TYPE_CILIUM_OVERLAY = "CiliumOverlay"
)
View Source
const (
	TKE_CLUSTER_VPC_CNI_STATUS_RUNNING = "Running"
	TKE_CLUSTER_VPC_CNI_STATUS_SUCCEED = "Succeed"
	TKE_CLUSTER_VPC_CNI_STATUS_FAILED  = "Failed"
)
View Source
const (
	TKE_CLUSTER_NODE_NAME_TYPE_LAN_IP   = "lan-ip"
	TKE_CLUSTER_NODE_NAME_TYPE_HOSTNAME = "hostname"
)
View Source
const (
	TKE_CLUSTER_INTERNET = true
	TKE_CLUSTER_INTRANET = false

	TKE_CLUSTER_OPEN_ACCESS  = true
	TKE_CLUSTER_CLOSE_ACCESS = false
)
View Source
const (
	ENDPOINT_TYPE_PUBLIC = "PUBLIC"
	ENDPOINT_TYPE_VPC    = "VPC"
)
View Source
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
)
View Source
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

View Source
const (
	ENI_STATE_PENDING   = "PENDING"
	ENI_STATE_AVAILABLE = "AVAILABLE"
	ENI_STATE_ATTACHING = "ATTACHING"
	ENI_STATE_DETACHING = "DETACHING"
	ENI_STATE_DELETING  = "DELETING"
)
View Source
const (
	ENI_IP_PENDING   = "PENDING"
	ENI_IP_AVAILABLE = "AVAILABLE"
	ENI_IP_ATTACHING = "ATTACHING"
	ENI_IP_DETACHING = "DETACHING"
	ENI_IP_DELETING  = "DELETING"
)
View Source
const (
	NAT_DESCRIBE_LIMIT = 100
	NAT_EIP_MAX_LIMIT  = 10
)
View Source
const (
	NAT_GATEWAY_TYPE_SUBNET            = "SUBNET"
	NAT_GATEWAY_TYPE_NETWORK_INTERFACE = "NETWORKINTERFACE"
)
View Source
const (
	VPN_TASK_STATUS_SUCCESS = "SUCCESS"
	VPN_TASK_STATUS_RUNNING = "RUNNING"
	VPN_TASK_STATUS_FAILED  = "FAILED"
)
View Source
const (
	VPN_STATE_PENDING   = "PENDING"
	VPN_STATE_DELETING  = "DELETING"
	VPN_STATE_AVAILABLE = "AVAILABLE"
)
View Source
const (
	VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY = "NOTIFY_AND_AUTO_RENEW"
	VPN_PERIOD_PREPAID_RENEW_FLAG_NOT         = "NOTIFY_AND_MANUAL_RENEW"
)
View Source
const (
	VPN_CHARGE_TYPE_PREPAID          = "PREPAID"
	VPN_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR"
)
View Source
const (
	VPN_RESTRICT_STATE_NORMAL  = "NORMAL"
	VPN_RESTRICT_STATE_ISOLATE = "PRETECIVELY_ISOLATED"
)
View Source
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"
)
View Source
const (
	VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA    = "SHA"
	VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5    = "MD5"
	VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA256 = "SHA-256"
)
View Source
const (
	VPN_IPSEC_INTEGRITY_ALGORITHM_SHA1   = "SHA1"
	VPN_IPSEC_INTEGRITY_ALGORITHM_MD5    = "MD5"
	VPN_IPSEC_INTEGRITY_ALGORITHM_SHA256 = "SHA-256"
)
View Source
const (
	VPN_IKE_EXCHANGE_MODE_AGGRESSIVE = "AGGRESSIVE"
	VPN_IKE_EXCHANGE_MODE_MAIN       = "MAIN"
)
View Source
const (
	ROUTE_TYPE_STATIC       = "STATIC"
	ROUTE_TYPE_STATIC_ROUTE = "StaticRoute"
	ROUTE_TYPE_POLICY       = "Policy"
)
View Source
const (
	VPN_IKE_IDENTITY_ADDRESS = "ADDRESS"
	VPN_IKE_IDENTITY_FQDN    = "FQDN"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	VPCNotFound             = "ResourceNotFound"
	VPCUnsupportedOperation = "UnsupportedOperation"
)

COMMON

View Source
const (
	DPD_ACTION_CLEAR   = "clear"
	DPD_ACTION_RESTART = "restart"
)
View Source
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"
)
View Source
const (
	CUSTOM_RULE_STATUS_0     = "0"
	CUSTOM_RULE_STATUS_1     = "1"
	CUSTOM_RULE_STATUS_0_INT = 0
	CUSTOM_RULE_STATUS_1_INT = 1
)
View Source
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
)
View Source
const (
	CLB_DOMAIN_STATUS_0 = 0
	CLB_DOMAIN_STATUS_1 = 1
)
View Source
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
)
View Source
const (
	ISCDN_0 = 0
	ISCDN_1 = 1
	ISCDN_2 = 2
	ISCDN_3 = 3
)
View Source
const (
	FLOW_MODE_0 = 0
	FLOW_MODE_1 = 1
)
View Source
const (
	CLS_STATUS_0 = 0
	CLS_STATUS_1 = 1
)
View Source
const (
	BOT_STATUS_0 = 0
	BOT_STATUS_1 = 1
)
View Source
const (
	API_SAFE_STATUS_0 = 0
	API_SAFE_STATUS_1 = 1
)
View Source
const (
	PROTECTION_STATUS_0 = 0
	PROTECTION_STATUS_1 = 1
)
View Source
const (
	IPV6_ON  = 1
	IPV6_OFF = 2
)
View Source
const (
	ALB_TYPE_CLB    = "clb"
	ALB_TYPE_APISIX = "apisix"
	ALB_TYPE_TSEGW  = "tsegw"
)
View Source
const (
	CERT_TYPE_0 = 0
	CERT_TYPE_1 = 1
	CERT_TYPE_2 = 2
)
View Source
const (
	UPSTREAM_SCHEME_HTTP  = "http"
	UPSTREAM_SCHEME_HTTPS = "https"
)
View Source
const (
	IS_GRAY_0 = 0
	IS_GRAY_1 = 1
)
View Source
const (
	UP_STREAM_TYPE_0 = 0
	UP_STREAM_TYPE_1 = 1
)
View Source
const (
	IS_HTTP2_0 = 0
	IS_HTTP2_1 = 1
)
View Source
const (
	IS_WEBSOCKET_0 = 0
	IS_WEBSOCKET_1 = 1
)
View Source
const (
	LOAD_BALANCE_0 = "0"
	LOAD_BALANCE_1 = "1"
	LOAD_BALANCE_2 = "2"
)
View Source
const (
	HTTPS_REWRITE_0 = 0
	HTTPS_REWRITE_1 = 1
)
View Source
const (
	ANYCAST_0 = 0
	ANYCAST_1 = 1
)
View Source
const (
	ACTIVE_CHECK_0 = 0
	ACTIVE_CHECK_1 = 1
)
View Source
const (
	CIPHER_TEMPLATE_1 = 1
	CIPHER_TEMPLATE_2 = 2
	CIPHER_TEMPLATE_3 = 3
)
View Source
const (
	PROXY_READ_TIMEOUT = 300
	PROXY_SEND_TIMEOUT = 300
)
View Source
const (
	SNI_TYPE_0 = 0
	SNI_TYPE_1 = 1
	SNI_TYPE_2 = 2
	SNI_TYPE_3 = 3
)
View Source
const (
	XFF_RESET_0 = 0
	XFF_RESET_1 = 1
)
View Source
const (
	IPV6_STATUS_0 = 0
	IPV6_STATUS_1 = 1
)
View Source
const (
	SAAS_DOMAIN_STATUS_0 = 0
	SAAS_DOMAIN_STATUS_1 = 1
)
View Source
const (
	IS_KEEP_ALIVE_0 = "0"
	IS_KEEP_ALIVE_1 = "1"
)
View Source
const (
	ORDER_ASC  = "asc"
	ORDER_DESC = "desc"
)
View Source
const (
	WAF_PREMIUM_SAAS    = "premium_saas"
	WAF_ENTERPRISE_SAAS = "enterprise_saas"
	WAF_ULTIMATE_SAAS   = "ultimate_saas"
)
View Source
const (
	WAF_PREMIUM_CLB    = "premium_clb"
	WAF_ENTERPRISE_CLB = "enterprise_clb"
	WAF_ULTIMATE_CLB   = "ultimate_clb"
)
View Source
const (
	TIME_UINT_D = "d"
	TIME_UINT_M = "m"
	TIME_UINT_Y = "y"
)
View Source
const (
	REGION_ID_MAINLAND     = 1
	REGION_ID_NON_MAINLAND = 9
)
View Source
const (
	AUTO_RENEW_FLAG_0 = 0
	AUTO_RENEW_FLAG_1 = 1
)
View Source
const (
	ELASTIC_MODE_0 = 0
	ELASTIC_MODE_1 = 1
)
View Source
const (
	MAINLAND_0 = 0
	MAINLAND_1 = 1
)
View Source
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"
)
View Source
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"
)
View Source
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"
	BOT_MANAGEMENT_CATEGORY_ID_CLB       = 1025567
	BOT_MANAGEMENT_SUB_PRODUCT_CODE_CLB  = "sp_wsm_waf_bot_protection_clb"
	BOT_MANAGEMENT_PID_CLB               = 1017001
	API_SECURITY_CATEGORY_ID_CLB         = 1027183
	API_SECURITY_SUB_PRODUCT_CODE_CLB    = "sp_wsm_waf_apiclb"
	API_SECURITY_PID_CLB                 = 1028166
	BOT_MANAGEMENT_CATEGORY_ID_SAAS      = 1025564
	BOT_MANAGEMENT_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_bot_protection"
	BOT_MANAGEMENT_PID_SAAS              = 1016997
	API_SECURITY_CATEGORY_ID_SAAS        = 1027180
	API_SECURITY_SUB_PRODUCT_CODE_SAAS   = "sp_wsm_waf_api"
	API_SECURITY_PID_SAAS                = 1028161
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	EDITION_SAAS = "sparta-waf"
	EDITION_CLB  = "clb-waf"
)
View Source
const (
	REGION_GZ = "ap-guangzhou"
	REGION_KR = "ap-seoul"
)
View Source
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"
)
View Source
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
)
View Source
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
)
View Source
const (
	STRATEGIES_FIELD_RETURNCODE  = "returncode"
	STRATEGIES_FIELD_KEYWORDS    = "keywords"
	STRATEGIES_FIELD_INFORMATION = "information"
)
View Source
const (
	ANTI_INFO_LEAK_RULE_STATUS_0 = 0
	ANTI_INFO_LEAK_RULE_STATUS_1 = 1
)
View Source
const (
	BOT_MANAGEMENT_STATUS_0 = 0
	BOT_MANAGEMENT_STATUS_1 = 1
)
View Source
const (
	API_SECURITY_STATUS_0 = 0
	API_SECURITY_STATUS_1 = 1
)
View Source
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"
	//internal version: replace envYunti begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
	//internal version: replace envYunti end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
	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"
	PROVIDER_SHARED_CREDENTIALS_DIR       = "TENCENTCLOUD_SHARED_CREDENTIALS_DIR"
	PROVIDER_PROFILE                      = "TENCENTCLOUD_PROFILE"
)
View Source
const (
	DEFAULT_REGION  = "ap-guangzhou"
	DEFAULT_PROFILE = "default"
)
View Source
const (
	SERVICE_MONITORS string = "service_monitors"
	POD_MONITORS     string = "pod_monitors"
	RAW_JOBS         string = "raw_jobs"
)
View Source
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"
)
View Source
const (
	AutoRenewFlagTrue = 1
)
View Source
const (
	CLB_PAGE_LIMIT = 100
)
View Source
const COMMA_SP = ","
View Source
const CfsInvalidPgroup = "InvalidParameterValue.InvalidPgroup"
View Source
const DESCRIBE_SECURITY_GROUP_LIMIT = 50
View Source
const DESCRIBE_TAGS_LIMIT = 20
View Source
const (
	DefaultAuthenticationOptionsIssuer = "https://kubernetes.default.svc.cluster.local"
)
View Source
const (
	DefaultDesiredPodNum = 0
)
View Source
const (
	DescribeDomainVerifyResultSUCCESS = 0
)
View Source
const (
	DescribeHostLimitSuccess = "Success"
)
View Source
const (
	ENI_DESCRIBE_LIMIT = 100
)

ENI

View Source
const FILED_SP = "#"
View Source
const (
	FORWARD_TYPE_HTTP = "HTTP"
)
View Source
const GATE_WAY_TYPE_CCN = "CCN"
View Source
const GATE_WAY_TYPE_CVM = "CVM"

all gate way types https://cloud.tencent.com/document/api/215/15824#Route

View Source
const GATE_WAY_TYPE_DIRECTCONNECT = "DIRECTCONNECT"
View Source
const GATE_WAY_TYPE_EIP = "EIP"
View Source
const GATE_WAY_TYPE_HAVIP = "HAVIP"
View Source
const GATE_WAY_TYPE_LOCAL_GATEWAY = "LOCAL_GATEWAY"
View Source
const GATE_WAY_TYPE_NAT = "NAT"
View Source
const GATE_WAY_TYPE_NORMAL_CVM = "NORMAL_CVM"
View Source
const GATE_WAY_TYPE_PEERCONNECTION = "PEERCONNECTION"
View Source
const GATE_WAY_TYPE_SSLVPN = "SSLVPN"
View Source
const GATE_WAY_TYPE_VPN = "VPN"
View Source
const (
	HAVIP_DESCRIBE_LIMIT = 100
)
View Source
const (
	InstallSecurityAgentCommandId = "cmd-d8jj2skv"
)
View Source
const InternalError = "InternalError"

InternalError common internalError, do not add in retryableErrorCode, because when some product return this error, retry won't fix anything.

View Source
const (
	NAT_FAILED_STATE = "FAILED"
)
View Source
const PAGE_ITEM = 200
View Source
const RedisInstanceNotFound = "ResourceNotFound.InstanceNotExists"

sdk redis not found error

View Source
const SSL_ERR_CANCELING = `` /* 326-byte string literal not displayed */
View Source
const (
	SSMResourceNotFound = "ResourceNotFound"
)
View Source
const (
	SSM_PAGE_LIMIT = 200
)
View Source
const (
	TCR_NAME_PREFIX = "tcr$"
)
View Source
const (
	TKE_CLUSTER_KUBE_PROXY_MODE_BPF = "kube-proxy-bpf"
)
View Source
const (
	TLS_VERSION_STATUS_3 = 3
)
View Source
const VPC_SERVICE_TYPE = "vpc"
View Source
const (
	VPN_DESCRIBE_LIMIT = 100
)
View Source
const (
	VPN_PURCHASE_PLAN_PRE_POST = "PREPAID_TO_POSTPAID"
)

Variables

View Source
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,
	}
)
View Source
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
	}
)
View Source
var ACTIVE_CHECK_STATUS = []int{
	ACTIVE_CHECK_0,
	ACTIVE_CHECK_1,
}
View Source
var ANYCAST_STATUS = []int{
	ANYCAST_0,
	ANYCAST_1,
}
View Source
var API_SAFE_STATUS = []int{
	API_SAFE_STATUS_0,
	API_SAFE_STATUS_1,
}
View Source
var API_SECURITY_LABEL_TYPES_CLB_REGION1 = map[string]string{
	WAF_PREMIUM_CLB:    "sv_wsm_waf_scene_cpre",
	WAF_ENTERPRISE_CLB: "sv_wsm_waf_scene_cent",
	WAF_ULTIMATE_CLB:   "sv_wsm_waf_scene_cult",
}
View Source
var API_SECURITY_LABEL_TYPES_CLB_REGION9 = map[string]string{
	WAF_PREMIUM_CLB:    "sv_wsm_waf_scene_cipre",
	WAF_ENTERPRISE_CLB: "sv_wsm_waf_scene_cient",
	WAF_ULTIMATE_CLB:   "sv_wsm_waf_scene_ciult",
}
View Source
var API_SECURITY_LABEL_TYPES_SAAS_REGION1 = map[string]string{
	WAF_PREMIUM_SAAS:    "sv_wsm_waf_scene_pre",
	WAF_ENTERPRISE_SAAS: "sv_wsm_waf_scene_ent",
	WAF_ULTIMATE_SAAS:   "sv_wsm_waf_scene_ult",
}
View Source
var API_SECURITY_LABEL_TYPES_SAAS_REGION9 = map[string]string{
	WAF_PREMIUM_SAAS:    "sv_wsm_waf_scene_ipre",
	WAF_ENTERPRISE_SAAS: "sv_wsm_waf_scene_ient",
	WAF_ULTIMATE_SAAS:   "sv_wsm_waf_scene_iult",
}
View Source
var API_SECURITY_STATUS = []int{
	API_SECURITY_STATUS_0,
	API_SECURITY_STATUS_1,
}
View Source
var AUTO_RENEW_FLAG = []int{
	AUTO_RENEW_FLAG_0,
	AUTO_RENEW_FLAG_1,
}
View Source
var BOT_MANAGEMENT_LABEL_TYPES_CLB = map[int]string{
	REGION_ID_MAINLAND:     "sv_wsm_waf_scene_bot_protection_clb",
	REGION_ID_NON_MAINLAND: "sv_wsm_waf_scene_bot_protection_clb_intl",
}
View Source
var BOT_MANAGEMENT_LABEL_TYPES_SAAS = map[int]string{
	REGION_ID_MAINLAND:     "sv_wsm_waf_scene_bot_protection",
	REGION_ID_NON_MAINLAND: "sv_wsm_waf_scene_bot_protection_intl",
}
View Source
var BOT_MANAGEMENT_STATUS = []int{
	BOT_MANAGEMENT_STATUS_0,
	BOT_MANAGEMENT_STATUS_1,
}
View Source
var BOT_STATUS = []int{
	BOT_STATUS_0,
	BOT_STATUS_1,
}
View Source
var CFS_NET = []string{
	CFS_NET_VPC,
	CFS_NET_CCN,
}
View Source
var CLB_DOMAIN_STATUS = []int{
	CLB_DOMAIN_STATUS_0,
	CLB_DOMAIN_STATUS_1,
}
View Source
var CLS_STATUS = []int{
	CLS_STATUS_0,
	CLS_STATUS_1,
}
View Source
var CVM_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var CVM_RETRYABLE_ERROR = []string{

	"ClientError.HttpStatusCodeError",
}

Only client error can cvm retry, others will directly returns

View Source
var CVM_SPOT_INSTANCE_TYPE = []string{
	CVM_SPOT_INSTANCE_TYPE_ONE_TIME,
}
View Source
var CsrTypeArr = []string{
	CsrTypeOnline,
	CsrTypeParse,
}
View Source
var DNSPOD_OV_EV_TYPE = []int64{51, 52, 53}
View Source
var EDITION_TYPE = []string{
	EDITION_SAAS,
	EDITION_CLB,
}
View Source
var EIP_AVAILABLE_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var ELASTIC_MODE = []int{
	ELASTIC_MODE_0,
	ELASTIC_MODE_1,
}
View Source
var FLOW_MODE_STATUS = []int{
	FLOW_MODE_0,
	FLOW_MODE_1,
}
View Source
var FORWARD_TYPE = []string{
	FORWARD_TYPE_HTTP,
}
View Source
var GEOTRUST_OV_EV_TYPE = []int64{8, 9, 10}
View Source
var GLOBALSIGN_OV_EV_TYPE = []int64{18, 19, 20, 21, 22, 23, 24}
View Source
var HTTPS_REWRITE_STATUS = []int{
	HTTPS_REWRITE_0,
	HTTPS_REWRITE_1,
}
View Source
var IPV6_STATUS = []int{
	IPV6_STATUS_0,
	IPV6_STATUS_1,
}
View Source
var ISCDN_STSTUS = []int{
	ISCDN_0,
	ISCDN_1,
	ISCDN_2,
	ISCDN_3,
}
View Source
var IS_GRAY_STATUS = []int{
	IS_GRAY_0,
	IS_GRAY_1,
}
View Source
var IS_HTTP2_STATUS = []int{
	IS_HTTP2_0,
	IS_HTTP2_1,
}
View Source
var IS_KEEP_ALIVE_STATUS = []string{
	IS_KEEP_ALIVE_0,
	IS_KEEP_ALIVE_1,
}
View Source
var IS_WEBSOCKET_STATUS = []int{
	IS_WEBSOCKET_0,
	IS_WEBSOCKET_1,
}
View Source
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",
}
View Source
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",
}
View Source
var LOAD_BALANCE_STATUS = []string{
	LOAD_BALANCE_0,
	LOAD_BALANCE_1,
	LOAD_BALANCE_2,
}
View Source
var MAINLAND = []int{
	MAINLAND_0,
	MAINLAND_1,
}
View Source
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

View Source
var PID_CLB = map[string]int{
	WAF_PREMIUM_CLB:    1001150,
	WAF_ENTERPRISE_CLB: 1001152,
	WAF_ULTIMATE_CLB:   1001154,
}
View Source
var PID_SAAS = map[string]int{
	WAF_PREMIUM_SAAS:    1000827,
	WAF_ENTERPRISE_SAAS: 1000830,
	WAF_ULTIMATE_SAAS:   1000832,
}
View Source
var PKG_SAAS = map[string]int{
	"DOMAIN": 1000834,
	"QPS":    1000481,
}
View Source
var POSTGRESQL_PAYTYPE = []string{COMMON_PAYTYPE_POSTPAID}
View Source
var POSTGRESQL_RETRYABLE_STATUS = []string{
	"initing",
	"expanding",
	"switching",

	"deployment changing",
}
View Source
var PROTECTION_STATUS = []int{
	PROTECTION_STATUS_0,
	PROTECTION_STATUS_1,
}
View Source
var REDIS_CHARGE_TYPE_NAME = map[int64]string{
	0: REDIS_CHARGE_TYPE_POSTPAID,
	1: REDIS_CHARGE_TYPE_PREPAID,
}
View Source
var REDIS_MODIFY_NETWORK_CONFIG = []string{"changeVip", "changeVpc", "changeBaseToVpc", "changeVPort"}
View Source
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",
}
View Source
var REDIS_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var REDIS_RECYCLE_TIME = []int{0, 1, 2, 3, 7, 15}
View Source
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",
}
View Source
var REGION_ID = []int{
	REGION_ID_1,
	REGION_ID_9,
}
View Source
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

View Source
var SAAS_DOMAIN_STATUS = []int{
	SAAS_DOMAIN_STATUS_0,
	SAAS_DOMAIN_STATUS_1,
}
View Source
var SECURESITE_OV_EV_TYPE = []int64{3, 4, 5, 6, 7}
View Source
var SQLSERVER_ACCOUNT_PRIVILEGE = []string{
	SQLSERVER_ACCOUNT_RW,
	SQLSERVER_ACCOUNT_RO,
}
View Source
var SQLSERVER_CHARGE_TYPE_NAME = map[string]string{
	"PRE":  SQLSERVER_CHARGE_TYPE_PREPAID,
	"POST": SQLSERVER_CHARGE_TYPE_POSTPAID,
	"ALL":  "ALL",
}
View Source
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",
}
View Source
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",
}
View Source
var SQLSERVER_HA_TYPE_FLAGS = map[string]string{
	SQLSERVER_HA_FLAG_SINGLE:  "SINGLE",
	SQLSERVER_HA_FLAG_DAUL:    "DUAL",
	SQLSERVER_HA_FLAG_CLUSTER: "CLUSTER",
}
View Source
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",
}
View Source
var (
	STATE_0 = 0
)
View Source
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",
}
View Source
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",
}
View Source
var SslCanCancelStatus = map[uint64]struct{}{
	SSL_STATUS_PENDING:      {},
	SSL_STATUS_DNS_ADDED:    {},
	SSL_STATUS_DATA_PENDING: {},
}
View Source
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.

View Source
var TKE_CLUSTER_KUBE_PROXY_MODE = []string{TKE_CLUSTER_KUBE_PROXY_MODE_BPF}
View Source
var TKE_CLUSTER_OS_TYPES = []string{TKE_CLUSTER_OS_TYPE_GENERAL}
View Source
var TRUSTASIA_OV_EV_TYPE = []int64{13, 14, 15, 16, 17}
View Source
var UP_STREAM_TYPES = []int{
	UP_STREAM_TYPE_0,
	UP_STREAM_TYPE_1,
}
View Source
var VPN_PURCHASE_PLAN = []string{
	VPN_PURCHASE_PLAN_PRE_POST,
}
View Source
var VerifyType = []string{
	DNSAuto,
	DNS,
	File,
}
View Source
var WAF_CATEGORY_ID_CLB = map[string]int{
	WAF_PREMIUM_CLB:    101198,
	WAF_ENTERPRISE_CLB: 101204,
	WAF_ULTIMATE_CLB:   101201,
}
View Source
var WAF_CATEGORY_ID_SAAS = map[string]int{
	WAF_PREMIUM_SAAS:    102375,
	WAF_ENTERPRISE_SAAS: 102378,
	WAF_ULTIMATE_SAAS:   102369,
}
View Source
var XFF_RESET_STATUS = []int{
	XFF_RESET_0,
	XFF_RESET_1,
}

Functions

func Base64ToString added in v1.78.11

func Base64ToString(config string) (string, error)

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

func BuildTagResourceName(serviceType, resourceType, region, id string) string

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 CheckNil added in v1.41.3

func CheckNil(object interface{}, fields map[string]string) (nilFields []string)

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 DecodeJSONFromReader(r io.Reader, out interface{}) error

func DisableTcrVpcDns added in v1.54.1

func DisableTcrVpcDns(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, subnetId string, usePublicDomain bool, regionName string) error

func EnableTcrVpcDns added in v1.54.1

func EnableTcrVpcDns(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, subnetId string, usePublicDomain bool, regionName string) error

func EncryptShares added in v1.81.35

func EncryptShares(input [][]byte, pgpKeys []string) ([]string, [][]byte, error)

func FetchKeybasePubkeys added in v1.81.35

func FetchKeybasePubkeys(input []string) (map[string]string, error)

func FindIntListIndex added in v1.71.0

func FindIntListIndex(list []int, elem int) int

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 GetEntities added in v1.81.35

func GetEntities(pgpKeys []string) ([]*openpgp.Entity, error)

func GetFingerprints added in v1.81.35

func GetFingerprints(pgpKeys []string, entities []*openpgp.Entity) ([]string, error)

func GetListDiffs added in v1.77.5

func GetListDiffs(o []int, n []int) (adds []int, lacks []int)

func GetListIncrement added in v1.71.0

func GetListIncrement(o []int, n []int) (result []int, err error)

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 IsContainProductId added in v1.79.3

func IsContainProductId(productId int64, lists ...[]int64) bool

func IsContains added in v1.41.3

func IsContains(array interface{}, value interface{}) bool

IsContains returns whether value is within array

func IsNil added in v1.79.5

func IsNil(v interface{}) bool

IsNil Determine whether i is empty

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 LayerContent() map[string]*schema.Schema

func ListenerIdCheck added in v1.47.0

func ListenerIdCheck(listenerId string) error

func MatchAny added in v1.78.14

func MatchAny(value interface{}, matches ...interface{}) bool

func ModifyClusterInternetOrIntranetAccess added in v1.79.12

func ModifyClusterInternetOrIntranetAccess(ctx context.Context, d *schema.ResourceData, tkeSvc *TkeService,
	isInternet bool, enable bool, sg string, subnetId string, domain string) error

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 NatGatewaySnatPara() map[string]*schema.Schema

func Provider

func Provider() *schema.Provider

func ReadFromFile added in v1.79.5

func ReadFromFile(file string) ([]byte, error)

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 RuleIdCheck(ruleId string) error

func StringToBase64 added in v1.78.11

func StringToBase64(config string) string

func TKEGpuArgsSetting added in v1.79.17

func TKEGpuArgsSetting() map[string]*schema.Schema

func TencentSqlServerBasicInfo added in v1.41.3

func TencentSqlServerBasicInfo(isROInstance bool) map[string]*schema.Schema

func TkeCvmCreateInfo added in v1.41.3

func TkeCvmCreateInfo() map[string]*schema.Schema

func TkeExistCvmCreateInfo added in v1.56.8

func TkeExistCvmCreateInfo() map[string]*schema.Schema

func TkeInstanceAdvancedSetting added in v1.41.3

func TkeInstanceAdvancedSetting() map[string]*schema.Schema

func TkeNodePoolGlobalConfig added in v1.55.2

func TkeNodePoolGlobalConfig() map[string]*schema.Schema

func VodWatermarkResource added in v1.45.0

func VodWatermarkResource() *schema.Resource

func VpnGatewayRoutePara added in v1.58.0

func VpnGatewayRoutePara() map[string]*schema.Schema

func WaitForAccessIpExists added in v1.54.1

func WaitForAccessIpExists(ctx context.Context, tcrService TCRService, instanceId string, vpcId string, subnetId string) (accessIp string, errRet error)

func YamlParser added in v1.77.4

func YamlParser(config string) (map[interface{}]interface{}, error)

YamlParser yaml syntax Parser

Types

type AddonRequestBody added in v1.60.15

type AddonRequestBody struct {
	Kind       *string    `json:"kind,omitempty"`
	ApiVersion *string    `json:"apiVersion,omitempty"`
	Spec       *AddonSpec `json:"spec,omitempty"`
}

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 AddonSpecChart struct {
	ChartName    *string `json:"chartName,omitempty"`
	ChartVersion *string `json:"chartVersion,omitempty"`
}

type AddonSpecValues added in v1.60.15

type AddonSpecValues struct {
	RawValuesType *string   `json:"rawValuesType,omitempty"`
	RawValues     *string   `json:"rawValues,omitempty"`
	Values        []*string `json:"values,omitempty"`
}

type App added in v1.81.53

type App struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddonSpec `json:"spec,omitempty" `
	Status            AppStatus `json:"status,omitempty"`
}

type AppList added in v1.81.53

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []App `json:"items"`
}

type AppPhase added in v1.81.53

type AppPhase string

type AppStatus added in v1.81.53

type AppStatus struct {
	Phase              AppPhase    `json:"phase"`
	ObservedGeneration int64       `json:"observedGeneration,omitempty"`
	ReleaseStatus      string      `json:"releaseStatus,omitempty"`
	ReleaseLastUpdated metav1.Time `json:"releaseLastUpdated,omitempty"`
	Revision           int64       `json:"revision,omitempty"`
	RollbackRevision   int64       `json:"rollbackRevision,omitempty"`
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	Reason             string      `json:"reason,omitempty"`
	Message            string      `json:"message,omitempty"`
	Manifest           string      `json:"manifest"`
}

type AppType added in v1.81.53

type AppType string

type AsService added in v1.41.3

type AsService struct {
	// contains filtered or unexported fields
}

func (*AsService) AttachInstances added in v1.41.3

func (me *AsService) AttachInstances(ctx context.Context, scalingGroupId string, instanceIds []string) error

func (*AsService) ClearScalingGroupInstance added in v1.41.3

func (me *AsService) ClearScalingGroupInstance(ctx context.Context, scalingGroupId string) error

set the scaling group desired capacity to 0

func (*AsService) DeleteAsLoadBalancerById added in v1.81.6

func (me *AsService) DeleteAsLoadBalancerById(ctx context.Context, autoScalingGroupId string) (errRet error)

func (*AsService) DeleteLaunchConfiguration added in v1.41.3

func (me *AsService) DeleteLaunchConfiguration(ctx context.Context, configurationId string) error

func (*AsService) DeleteLifecycleHook added in v1.41.3

func (me *AsService) DeleteLifecycleHook(ctx context.Context, lifecycleHookId string) error

func (*AsService) DeleteNotification added in v1.41.3

func (me *AsService) DeleteNotification(ctx context.Context, notificationId string) error

func (*AsService) DeleteScalingGroup added in v1.41.3

func (me *AsService) DeleteScalingGroup(ctx context.Context, scalingGroupId string) error

func (*AsService) DeleteScalingPolicy added in v1.41.3

func (me *AsService) DeleteScalingPolicy(ctx context.Context, scalingPolicyId string) error

func (*AsService) DeleteScheduledAction added in v1.41.3

func (me *AsService) DeleteScheduledAction(ctx context.Context, scheduledActonId string) error

func (*AsService) DescribeActivityById added in v1.41.3

func (me *AsService) DescribeActivityById(ctx context.Context, activityId string) (status string, errRet error)

func (*AsService) DescribeAsAdvices added in v1.81.6

func (me *AsService) DescribeAsAdvices(ctx context.Context, param map[string]interface{}) (advices []*as.AutoScalingAdvice, errRet error)

func (*AsService) DescribeAsInstancesByFilter added in v1.79.3

func (me *AsService) DescribeAsInstancesByFilter(ctx context.Context, param map[string]interface{}) (instances []*as.Instance, errRet error)

func (*AsService) DescribeAsLastActivity added in v1.81.6

func (me *AsService) DescribeAsLastActivity(ctx context.Context, param map[string]interface{}) (lastActivity []*as.Activity, errRet error)

func (*AsService) DescribeAsLimits added in v1.81.6

func (me *AsService) DescribeAsLimits(ctx context.Context) (limits *as.DescribeAccountLimitsResponseParams, errRet error)

func (*AsService) DescribeAsLoadBalancerById added in v1.81.6

func (me *AsService) DescribeAsLoadBalancerById(ctx context.Context, autoScalingGroupId string) (loadBalancer *as.AutoScalingGroup, errRet error)

func (*AsService) DescribeAutoScalingAttachment added in v1.41.3

func (me *AsService) DescribeAutoScalingAttachment(ctx context.Context, scalingGroupId string, fully bool) (instanceIds []string, errRet error)

func (*AsService) DescribeAutoScalingGroupByFilter added in v1.41.3

func (me *AsService) DescribeAutoScalingGroupByFilter(
	ctx context.Context,
	scalingGroupId, configurationId, scalingGroupName string,
	tags map[string]string,
) (scalingGroups []*as.AutoScalingGroup, errRet error)

func (*AsService) DescribeAutoScalingGroupById added in v1.41.3

func (me *AsService) DescribeAutoScalingGroupById(ctx context.Context, scalingGroupId string) (scalingGroup *as.AutoScalingGroup, has int, errRet error)

func (*AsService) DescribeLaunchConfigurationByFilter added in v1.41.3

func (me *AsService) DescribeLaunchConfigurationByFilter(ctx context.Context, configurationId, configurationName string) (configs []*as.LaunchConfiguration, errRet error)

func (*AsService) DescribeLaunchConfigurationById added in v1.41.3

func (me *AsService) DescribeLaunchConfigurationById(ctx context.Context, configurationId string) (config *as.LaunchConfiguration, has int, errRet error)

func (*AsService) DescribeLifecycleHookById added in v1.41.3

func (me *AsService) DescribeLifecycleHookById(ctx context.Context, lifecycleHookId string) (lifecycleHook *as.LifecycleHook, has int, errRet error)

func (*AsService) DescribeNotificationById added in v1.41.3

func (me *AsService) DescribeNotificationById(ctx context.Context, notificationId string) (notification *as.AutoScalingNotification, has int, errRet error)

func (*AsService) DescribeScalingPolicyByFilter added in v1.41.3

func (me *AsService) DescribeScalingPolicyByFilter(ctx context.Context, policyId, policyName, scalingGroupId string) (scalingPolicies []*as.ScalingPolicy, errRet error)

func (*AsService) DescribeScalingPolicyById added in v1.41.3

func (me *AsService) DescribeScalingPolicyById(ctx context.Context, scalingPolicyId string) (scalingPolicy *as.ScalingPolicy, has int, errRet error)

func (*AsService) DescribeScheduledActionById added in v1.41.3

func (me *AsService) DescribeScheduledActionById(ctx context.Context, scheduledActionId string) (scheduledAction *as.ScheduledAction, has int, errRet error)

func (*AsService) DetachInstances added in v1.41.3

func (me *AsService) DetachInstances(ctx context.Context, scalingGroupId string, instanceIds []string) error

func (*AsService) ModifyAutoScalingGroup added in v1.77.0

func (me *AsService) ModifyAutoScalingGroup(ctx context.Context, request *as.ModifyAutoScalingGroupRequest) (errRet error)

type CamService added in v1.41.3

type CamService struct {
	// contains filtered or unexported fields
}

func (*CamService) AddGroupPolicyAttachment added in v1.41.3

func (me *CamService) AddGroupPolicyAttachment(ctx context.Context, groupId string, policyId string) error

func (*CamService) AddUserPolicyAttachment added in v1.41.3

func (me *CamService) AddUserPolicyAttachment(ctx context.Context, userId string, policyId string) error

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 (me *CamService) DeleteCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (errRet error)

func (*CamService) DeleteCamRolePermissionBoundaryAttachmentById added in v1.81.37

func (me *CamService) DeleteCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, roleName string) (errRet error)

func (*CamService) DeleteCamServiceLinkedRoleById added in v1.79.0

func (me *CamService) DeleteCamServiceLinkedRoleById(ctx context.Context, roleId string) (deletionTaskId string, errRet error)

func (*CamService) DeleteCamTagRoleById added in v1.81.37

func (me *CamService) DeleteCamTagRoleById(ctx context.Context, roleName, roleId string, keys []*string) (errRet error)

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 (me *CamService) DescribeCamAccessKeyById(ctx context.Context, targetUin uint64, accessKey string) (AccessKey *cam.AccessKey, errRet error)

func (*CamService) DescribeCamAccountSummaryByFilter added in v1.81.37

func (me *CamService) DescribeCamAccountSummaryByFilter(ctx context.Context) (AccountSummary *cam.GetAccountSummaryResponseParams, errRet error)

func (*CamService) DescribeCamGroupUserAccountByFilter added in v1.81.45

func (me *CamService) DescribeCamGroupUserAccountByFilter(ctx context.Context, param map[string]interface{}) (GroupUserAccount []*cam.GroupInfo, 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 (me *CamService) DescribeCamServiceLinkedRole(ctx context.Context, roleId string) (serviceLinkedRole *cam.RoleInfo, errRet error)

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 (me *CamService) DescribeCamTagRoleById(ctx context.Context, roleName, roleId string) (TagRole *cam.RoleInfo, errRet error)

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 (me *CamService) DescribeGroupMembershipById(ctx context.Context, groupId string) (members []*string, errRet error)

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 (me *CamService) DescribeGroupsByFilter(ctx context.Context, params map[string]interface{}) (groups []*cam.GroupInfo, errRet error)

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 (me *CamService) DescribeRoleById(ctx context.Context, roleId string) (camInstance *cam.RoleInfo, errRet error)

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 (me *CamService) DescribeRolesByFilter(ctx context.Context, params map[string]interface{}) (roles []*cam.RoleInfo, errRet error)

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 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 (me *CfsService) CreateAccessGroup(ctx context.Context, name, description string) (id string, errRet error)

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 (me *CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (errRet error)

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 (me *CfsService) DeleteCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (errRet error)

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 (me *CfsService) DescribeCfsMountTargetsById(ctx context.Context, fileSystemId string) (mountTargets []*cfs.MountInfo, errRet error)

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 (me *CfsService) DescribeCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (userQuota *cfs.UserQuota, errRet error)

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 (me *CfsService) DescribeMountTargets(ctx context.Context, fsId string) (targets []*cfs.MountInfo, errRet error)

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 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 (me *ClbService) BindOrUnBindCustomizedConfigWithLbId(ctx context.Context, action string,
	configId string, lbIdsList []interface{}) (errRet error)

func (*ClbService) CreateClbLogSet added in v1.60.7

func (me *ClbService) CreateClbLogSet(ctx context.Context, name string, logsetType string, period int) (id string, errRet error)

func (*ClbService) CreateLoadBalancerSnatIps added in v1.74.2

func (me *ClbService) CreateLoadBalancerSnatIps(ctx context.Context, id string, ips []*clb.SnatIp) (taskId string, errRet error)

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 (me *ClbService) DeleteAttachmentById(ctx context.Context, clbId string, listenerId string, locationId string, targets []interface{}) error

func (*ClbService) DeleteClbFunctionTargetsAttachmentById added in v1.79.9

func (me *ClbService) DeleteClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string) (errRet error)

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 (me *ClbService) DeleteListenerById(ctx context.Context, clbId string, listenerId string) error

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 (me *ClbService) DeleteLoadBalancerSnatIps(ctx context.Context, id string, ips []*string) (taskId string, errRet error)

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 (me *ClbService) DeleteRuleById(ctx context.Context, clbId string, listenerId string, locationId string) error

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 (me *ClbService) DeregisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port uint64) (err error)

func (*ClbService) DescribeAllAutoRedirections added in v1.46.2

func (me *ClbService) DescribeAllAutoRedirections(ctx context.Context, rewriteId string) (rewriteInfos []*map[string]string, errRet error)

func (*ClbService) DescribeAssociateTargetGroups added in v1.45.0

func (me *ClbService) DescribeAssociateTargetGroups(ctx context.Context, ids []string) (has bool, err error)

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 (me *ClbService) DescribeClbExclusiveClustersByFilter(ctx context.Context, param map[string]interface{}) (exclusiveClusters []*clb.Cluster, errRet error)

func (*ClbService) DescribeClbFunctionTargetsAttachmentById added in v1.79.9

func (me *ClbService) DescribeClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string,
	locationId string, domain string, url string) (functionTargets []*clb.FunctionTarget, locationIdTarget, domainTarget, urlTarget string, errRet error)

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 (me *ClbService) DescribeClbListenersByTargets(ctx context.Context, param map[string]interface{}) (listenersByTargets []*clb.LBItem, errRet error)

func (*ClbService) DescribeClbLogSet added in v1.60.7

func (me *ClbService) DescribeClbLogSet(ctx context.Context) (logSetId string, healthId string, errRet error)

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) DescribeClbTargetGroupAttachmentsById added in v1.81.58

func (me *ClbService) DescribeClbTargetGroupAttachmentsById(ctx context.Context, targetGroups []string, associationsSet map[string]struct{}) (targetGroupAttachments []string, 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 (me *ClbService) DescribeListenerById(ctx context.Context, listenerId string, clbId string) (clbListener *clb.Listener, errRet error)

func (*ClbService) DescribeListenersByFilter added in v1.41.3

func (me *ClbService) DescribeListenersByFilter(ctx context.Context, params map[string]interface{}) (listeners []*clb.Listener, errRet error)

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 (me *ClbService) DescribeRedirectionById(ctx context.Context, rewriteId string) (rewriteInfo *map[string]string, errRet error)

func (*ClbService) DescribeRedirectionsByFilter added in v1.41.3

func (me *ClbService) DescribeRedirectionsByFilter(ctx context.Context, params map[string]string) (rewriteInfos []*map[string]string, errRet error)

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 (me *ClbService) DescribeTaskStatusById(ctx context.Context, taskId string) (status int64, errRet error)

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 (me *ClbService) ModifyTargetGroup(ctx context.Context, targetGroupId, targetGroupName string, port uint64) (err error)

func (*ClbService) ModifyTargetGroupInstancesPort added in v1.81.2

func (me *ClbService) ModifyTargetGroupInstancesPort(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)

func (*ClbService) ModifyTargetGroupInstancesWeight added in v1.45.0

func (me *ClbService) ModifyTargetGroupInstancesWeight(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)

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 (me *ClbService) RegisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (err error)

func (*ClbService) SetClbSecurityGroup added in v1.81.3

func (me *ClbService) SetClbSecurityGroup(ctx context.Context, securityGroup string, lbId string, operation string) (errRet error)

func (*ClbService) UpdateClsLogSet added in v1.67.0

func (me *ClbService) UpdateClsLogSet(ctx context.Context, request *cls.ModifyLogsetRequest) (errRet error)

type ClusterAdvancedSettings added in v1.41.3

type ClusterAdvancedSettings struct {
	Ipvs                    bool
	AsEnabled               bool
	EnableCustomizedPodCIDR bool
	BasePodNumber           int64
	ContainerRuntime        string
	RuntimeVersion          string
	NodeNameType            string
	ExtraArgs               ClusterExtraArgs
	NetworkType             string
	IsNonStaticIpMode       bool
	DeletionProtection      bool
	KubeProxyMode           string
	Property                string
	OsCustomizeType         string
	VpcCniType              string
}

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 ClusterCidrSettings struct {
	ClusterCidr               string
	IgnoreClusterCidrConflict bool
	MaxNodePodNum             int64
	MaxClusterServiceNum      int64
	ServiceCIDR               string
	EniSubnetIds              []string
	ClaimExpiredSeconds       int64
}

type ClusterExtraArgs added in v1.41.3

type ClusterExtraArgs struct {
	KubeAPIServer         []string
	KubeControllerManager []string
	KubeScheduler         []string
}

type ClusterInfo added in v1.41.3

type ClusterInfo struct {
	ClusterBasicSetting
	ClusterCidrSettings
	ClusterAdvancedSettings

	DeployType  string
	CreatedTime string
}

type CvmService added in v1.41.3

type CvmService struct {
	// contains filtered or unexported fields
}

func (*CvmService) BindKeyPair added in v1.42.2

func (me *CvmService) BindKeyPair(ctx context.Context, keyIds []*string, instanceId string) error

func (*CvmService) CreatePlacementGroup added in v1.41.3

func (me *CvmService) CreatePlacementGroup(ctx context.Context, placementName, placementType string) (placementId string, errRet error)

func (*CvmService) CreateReservedInstance added in v1.41.3

func (me *CvmService) CreateReservedInstance(ctx context.Context, configId string, count int64, extendParams map[string]interface{}) (instanceId string, errRet error)

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 (me *CvmService) DescribeCvmChcHostsByFilter(ctx context.Context, param map[string]interface{}) (chcHosts []*cvm.ChcHost, errRet error)

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 (me *CvmService) DescribeCvmImageQuotaByFilter(ctx context.Context, param map[string]interface{}) (imageQuota int64, errRet error)

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 (me *CvmService) DescribeImageById(ctx context.Context, keyId string, isDelete bool) (image *cvm.Image, has bool, errRet error)

func (*CvmService) DescribeImagesByFilter added in v1.41.3

func (me *CvmService) DescribeImagesByFilter(ctx context.Context, filters map[string][]string, instanceType string) (images []*cvm.Image, errRet error)

func (*CvmService) DescribeInstanceByFilter added in v1.41.3

func (me *CvmService) DescribeInstanceByFilter(ctx context.Context, instancesId []*string, filters map[string]string) (instances []*cvm.Instance, errRet error)

func (*CvmService) DescribeInstanceById added in v1.41.3

func (me *CvmService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *cvm.Instance, errRet error)

func (*CvmService) DescribeInstanceInParallelByFilter added in v1.75.4

func (me *CvmService) DescribeInstanceInParallelByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.Instance, errRet error)

func (*CvmService) DescribeInstanceSetByIds added in v1.75.0

func (me *CvmService) DescribeInstanceSetByIds(ctx context.Context, instanceSetIds string) (instance []*cvm.Instance, errRet error)

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 (me *CvmService) DescribeKeyPairByFilter(ctx context.Context, id, name string, projectId *int) (keyPairs []*cvm.KeyPair, errRet error)

func (*CvmService) DescribeKeyPairById added in v1.41.3

func (me *CvmService) DescribeKeyPairById(ctx context.Context, keyId string) (keyPair *cvm.KeyPair, errRet error)

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 (me *CvmService) DescribeZones(ctx context.Context) (zones []*cvm.ZoneInfo, errRet error)

func (*CvmService) ModifyDisableApiTermination added in v1.80.4

func (me *CvmService) ModifyDisableApiTermination(ctx context.Context, instanceId string, disableApiTermination bool) error

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 (me *CvmService) ModifyImageSharePermission(ctx context.Context, imageId, permission string, accountIds []string) (errRet error)

func (*CvmService) ModifyInstanceChargeType added in v1.60.26

func (me *CvmService) ModifyInstanceChargeType(ctx context.Context, instanceId string, chargeType string, period int,
	renewFlag string) error

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 (me *CvmService) ModifyInternetMaxBandwidthOut(ctx context.Context, instanceId, internetChargeType string, internetMaxBandWidthOut int64) error

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 (me *CvmService) ModifyLaunchTemplateDefaultVersion(ctx context.Context, launchTemplateId string, defaultVersion int) error

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 (me *CvmService) ModifyProjectId(ctx context.Context, instanceId string, projectId int64) error

func (*CvmService) ModifyRenewParam added in v1.41.3

func (me *CvmService) ModifyRenewParam(ctx context.Context, instanceId string, renewFlag string) error

func (*CvmService) ModifySecurityGroups added in v1.41.3

func (me *CvmService) ModifySecurityGroups(ctx context.Context, instanceId string, securityGroups []*string) error

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 (me *CvmService) StopInstance(ctx context.Context, instanceId string, stoppedMode string) error

func (*CvmService) UnbindKeyPair added in v1.41.3

func (me *CvmService) UnbindKeyPair(ctx context.Context, keyIds []*string, instanceIds []*string) error

type DasbService added in v1.81.45

type DasbService struct {
	// contains filtered or unexported fields
}

func (*DasbService) DeleteDasbAclById added in v1.81.45

func (me *DasbService) DeleteDasbAclById(ctx context.Context, aclId string) (errRet error)

func (*DasbService) DeleteDasbBindDeviceAccountPasswordById added in v1.81.49

func (me *DasbService) DeleteDasbBindDeviceAccountPasswordById(ctx context.Context, deviceAccountId string) (errRet error)

func (*DasbService) DeleteDasbBindDeviceAccountPrivateKeyById added in v1.81.49

func (me *DasbService) DeleteDasbBindDeviceAccountPrivateKeyById(ctx context.Context, deviceAccountId string) (errRet error)

func (*DasbService) DeleteDasbCmdTemplateById added in v1.81.45

func (me *DasbService) DeleteDasbCmdTemplateById(ctx context.Context, templateId string) (errRet error)

func (*DasbService) DeleteDasbDeviceAccountById added in v1.81.45

func (me *DasbService) DeleteDasbDeviceAccountById(ctx context.Context, deviceAccountId string) (errRet error)

func (*DasbService) DeleteDasbDeviceById added in v1.81.45

func (me *DasbService) DeleteDasbDeviceById(ctx context.Context, deviceId string) (errRet error)

func (*DasbService) DeleteDasbDeviceGroupById added in v1.81.45

func (me *DasbService) DeleteDasbDeviceGroupById(ctx context.Context, deviceGroupId string) (errRet error)

func (*DasbService) DeleteDasbDeviceGroupMembersById added in v1.81.45

func (me *DasbService) DeleteDasbDeviceGroupMembersById(ctx context.Context, deviceGroupId, memberIdSetStr string) (errRet error)

func (*DasbService) DeleteDasbUserById added in v1.81.45

func (me *DasbService) DeleteDasbUserById(ctx context.Context, userId string) (errRet error)

func (*DasbService) DeleteDasbUserGroupById added in v1.81.49

func (me *DasbService) DeleteDasbUserGroupById(ctx context.Context, userGroupId string) (errRet error)

func (*DasbService) DeleteDasbUserGroupMembersById added in v1.81.45

func (me *DasbService) DeleteDasbUserGroupMembersById(ctx context.Context, userGroupId, memberIdSetStr string) (errRet error)

func (*DasbService) DescribeDasbAclById added in v1.81.45

func (me *DasbService) DescribeDasbAclById(ctx context.Context, aclId string) (acl *dasb.Acl, errRet error)

func (*DasbService) DescribeDasbCmdTemplateById added in v1.81.45

func (me *DasbService) DescribeDasbCmdTemplateById(ctx context.Context, templateId string) (CmdTemplate *dasb.CmdTemplate, errRet error)

func (*DasbService) DescribeDasbDeviceAccountById added in v1.81.45

func (me *DasbService) DescribeDasbDeviceAccountById(ctx context.Context, deviceAccountId string) (DeviceAccount *dasb.DeviceAccount, errRet error)

func (*DasbService) DescribeDasbDeviceById added in v1.81.45

func (me *DasbService) DescribeDasbDeviceById(ctx context.Context, deviceId string) (device *dasb.Device, errRet error)

func (*DasbService) DescribeDasbDeviceGroupById added in v1.81.45

func (me *DasbService) DescribeDasbDeviceGroupById(ctx context.Context, deviceGroupId string) (DeviceGroup *dasb.Group, errRet error)

func (*DasbService) DescribeDasbDeviceGroupMembersById added in v1.81.45

func (me *DasbService) DescribeDasbDeviceGroupMembersById(ctx context.Context, deviceGroupId string) (DeviceGroupMembers []uint64, errRet error)

func (*DasbService) DescribeDasbResourceById added in v1.81.45

func (me *DasbService) DescribeDasbResourceById(ctx context.Context, resourceId string) (Resource *dasb.Resource, errRet error)

func (*DasbService) DescribeDasbUserById added in v1.81.45

func (me *DasbService) DescribeDasbUserById(ctx context.Context, userId string) (user *dasb.User, errRet error)

func (*DasbService) DescribeDasbUserGroupById added in v1.81.49

func (me *DasbService) DescribeDasbUserGroupById(ctx context.Context, userGroupId string) (UserGroup *dasb.Group, errRet error)

func (*DasbService) DescribeDasbUserGroupMembersById added in v1.81.45

func (me *DasbService) DescribeDasbUserGroupMembersById(ctx context.Context, userGroupId string) (UserGroupMembers []uint64, errRet error)

type DescribeLogSwitchesResponse added in v1.81.53

type DescribeLogSwitchesResponse struct {
	tchttp.BaseResponse
	Response *DescribeLogSwitchesResponseParams `json:"Response"`
}

type DescribeLogSwitchesResponseParams added in v1.81.53

type DescribeLogSwitchesResponseParams struct {
	SwitchSet []*Switch `json:"SwitchSet,omitempty" name:"SwitchSet"`
	RequestId *string   `json:"RequestId,omitempty" name:"RequestId"`
}

type Document added in v1.81.38

type Document struct {
	Version   string      `json:"version"`
	Statement []Statement `json:"statement"`
}

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 (me *EksService) DescribeEksContainerInstanceById(ctx context.Context, id string) (instance *tke.EksCi, has bool, errRet error)

func (*EksService) DescribeEksContainerInstancesByFilter added in v1.60.10

func (me *EksService) DescribeEksContainerInstancesByFilter(ctx context.Context, filters []*tke.Filter, limit uint64, offset uint64) (instances []*tke.EksCi, errRet error)

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 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 InstanceAdvancedSettings struct {
	MountTarget     string
	DockerGraphPath string
	UserScript      string
	Unschedulable   int64
	DesiredPodNum   int64
	Labels          []*tke.Label
	DataDisks       []*tke.DataDisk
	ExtraArgs       tke.InstanceExtraArgs
}

type InstanceInfo added in v1.41.3

type InstanceInfo struct {
	InstanceId                   string
	InstanceRole                 string
	InstanceState                string
	FailedReason                 string
	NodePoolId                   string
	CreatedTime                  string
	InstanceAdvancedSettings     *tke.InstanceAdvancedSettings
	InstanceDataDiskMountSetting *tke.InstanceDataDiskMountSetting
	LanIp                        string
}

type MonitorService added in v1.41.3

type MonitorService struct {
	// contains filtered or unexported fields
}

func (*MonitorService) CheckCanCreateMysqlROInstance added in v1.41.3

func (me *MonitorService) CheckCanCreateMysqlROInstance(ctx context.Context, mysqlId string) (can bool, errRet error)

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 (me *MonitorService) DeleteMonitorRecordingRule(ctx context.Context, instanceId string, recordingRuleId string) (errRet error)

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 (me *MonitorService) DeleteMonitorTmpAlertRule(ctx context.Context, instanceId string, ruleId string) (errRet error)

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 (me *MonitorService) DeleteTkeTmpConfigByName(ctx context.Context, configId string, ServiceMonitors []*string, PodMonitors []*string, RawJobs []*string) (errRet error)

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 (me *MonitorService) DescribeMonitorAlarmBasicMetricByFilter(ctx context.Context, param map[string]interface{}) (metric []*monitor.MetricSet, errRet error)

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 (me *MonitorService) DescribeMonitorAlarmMetricByFilter(ctx context.Context, param map[string]interface{}) (alarmMetric []*monitor.Metric, errRet error)

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 (me *MonitorService) DescribeMonitorAlarmNoticeCallbacksByFilter(ctx context.Context) (alarmNoticeCallbacks []*monitor.URLNotice, errRet error)

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 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 (me *OrganizationService) DeleteOrganizationOrgMemberAuthIdentityById(ctx context.Context, memberUin string, identityId []string) (errRet error)

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) DescribeOrganizationMembersByFilter added in v1.81.54

func (me *OrganizationService) DescribeOrganizationMembersByFilter(ctx context.Context, param map[string]interface{}) (members []*organization.OrgMember, 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 (me *OrganizationService) DescribeOrganizationOrgMemberAuthIdentityById(ctx context.Context, memberUin int64) (identityIds []int64, errRet error)

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 Principal added in v1.81.38

type Principal struct {
	Service []string `json:"service"`
}

type PrometheusConfig added in v1.80.0

type PrometheusConfig struct {
	Config *string
	Regex  []string
}

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 PrometheusConfigIds struct {
	InstanceId  string
	ClusterType string
	ClusterId   string
}

type RawValuesType added in v1.81.53

type RawValuesType string

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 (me *RedisService) CheckRedisDestroyOk(ctx context.Context, redisId string) (has bool,
	isolated bool,
	errRet error)

func (*RedisService) CheckRedisOnlineOk added in v1.41.3

func (me *RedisService) CheckRedisOnlineOk(ctx context.Context, redisId string, retryTimeout time.Duration) (has bool,
	online bool,
	info *redis.InstanceSet,
	errRet error)

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 (me *RedisService) CleanUpInstance(ctx context.Context, redisId string) (taskId int64, errRet error)

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 (me *RedisService) DeleteRedisAccountById(ctx context.Context, instanceId, accountName string) (taskId int64, errRet error)

func (*RedisService) DeleteRedisReplicateAttachmentById added in v1.81.7

func (me *RedisService) DeleteRedisReplicateAttachmentById(ctx context.Context, instanceId string, groupId string) (errRet error)

func (*RedisService) DeleteRedisSecurityGroupAttachmentById added in v1.81.10

func (me *RedisService) DeleteRedisSecurityGroupAttachmentById(ctx context.Context, product string, instanceId string, securityGroupId string) (errRet error)

func (*RedisService) DescribeAutoBackupConfig added in v1.41.3

func (me *RedisService) DescribeAutoBackupConfig(ctx context.Context, redisId string) (weekDays []string, timePeriod string, errRet error)

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 (me *RedisService) DescribeInstanceDealDetail(ctx context.Context, dealId string) (done bool, redisId string, errRet error)

func (*RedisService) DescribeInstanceSecurityGroup added in v1.41.3

func (me *RedisService) DescribeInstanceSecurityGroup(ctx context.Context, redisId string) (sg []string, errRet error)

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 (me *RedisService) DescribeRedisAccountById(ctx context.Context, instanceId, accountName string) (account *redis.Account, errRet error)

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 (me *RedisService) DescribeRedisParamById(ctx context.Context, instanceId string) (params map[string]interface{}, errRet error)

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 (me *RedisService) DescribeRedisReplicateInstanceById(ctx context.Context, groupId string) (replicateGroup *redis.Groups, errRet error)

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 (me *RedisService) DescribeTaskInfo(ctx context.Context, redisId string, taskId int64) (ok bool, errRet error)

func (*RedisService) DestroyPostpaidInstance added in v1.41.3

func (me *RedisService) DestroyPostpaidInstance(ctx context.Context, redisId string) (taskId int64, errRet error)

func (*RedisService) DestroyPrepaidInstance added in v1.41.3

func (me *RedisService) DestroyPrepaidInstance(ctx context.Context, redisId string) (dealId string, errRet error)

func (*RedisService) ModifyAutoBackupConfig added in v1.41.3

func (me *RedisService) ModifyAutoBackupConfig(ctx context.Context, redisId string, weekDays []string, timePeriod string) (errRet error)

func (*RedisService) ModifyDBInstanceSecurityGroups added in v1.60.3

func (me *RedisService) ModifyDBInstanceSecurityGroups(ctx context.Context, product string, instanceId string, securityGroupIds []*string) (errRet error)

func (*RedisService) ModifyInstanceName added in v1.41.3

func (me *RedisService) ModifyInstanceName(ctx context.Context, redisId string, name string) (errRet error)

func (*RedisService) ModifyInstanceProjectId added in v1.41.3

func (me *RedisService) ModifyInstanceProjectId(ctx context.Context, redisId string, projectId int64) (errRet error)

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 (me *RedisService) ResetPassword(ctx context.Context, redisId string, newPassword string, noAuth bool) (taskId int64, errRet error)

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 RunInstancesForNode added in v1.41.3

type RunInstancesForNode struct {
	Master []string
	Work   []string
}

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 (me *ScfService) DeleteScfFunctionAliasById(ctx context.Context, namespace string, functionName string, name string) (errRet error)

func (*ScfService) DeleteScfFunctionVersionById added in v1.81.2

func (me *ScfService) DeleteScfFunctionVersionById(ctx context.Context, functionName string, namespace string, functionVersion string) (errRet error)

func (*ScfService) DeleteScfProvisionedConcurrencyConfigById added in v1.81.3

func (me *ScfService) DeleteScfProvisionedConcurrencyConfigById(ctx context.Context, functionName string, qualifier string, namespace string) (errRet error)

func (*ScfService) DeleteScfReservedConcurrencyConfigById added in v1.81.3

func (me *ScfService) DeleteScfReservedConcurrencyConfigById(ctx context.Context, namespace string, functionName string) (errRet error)

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 (me *ScfService) DescribeFunctions(ctx context.Context, name, namespace, desc *string, tags map[string]string) (functions []*scf.Function, err error)

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 (me *ScfService) DescribeNamespace(ctx context.Context, namespace string) (ns *scf.Namespace, err error)

func (*ScfService) DescribeNamespaces added in v1.41.3

func (me *ScfService) DescribeNamespaces(ctx context.Context) (nss []*scf.Namespace, err error)

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 (me *ScfService) DescribeScfFunctionAliasesByFilter(ctx context.Context, param map[string]interface{}) (FunctionAliases []*scf.Alias, errRet error)

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 SqlserverService added in v1.41.3

type SqlserverService struct {
	// contains filtered or unexported fields
}

func (*SqlserverService) AddSecurityGroup added in v1.41.3

func (me *SqlserverService) AddSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)

func (*SqlserverService) CreateSqlserverAccount added in v1.41.3

func (me *SqlserverService) CreateSqlserverAccount(ctx context.Context, instanceId string, userName string, password string, remark string, isAdmin bool) (errRet error)

func (*SqlserverService) CreateSqlserverBasicInstance added in v1.48.0

func (me *SqlserverService) CreateSqlserverBasicInstance(ctx context.Context, paramMap map[string]interface{}, weekSet []int, voucherIds, securityGroups []string) (instanceId string, errRet error)

func (*SqlserverService) CreateSqlserverDB added in v1.41.3

func (me *SqlserverService) CreateSqlserverDB(ctx context.Context, instanceID string, dbname string, charset string, remark string) (errRet error)

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 (me *SqlserverService) DeleteSqlserverAccount(ctx context.Context, instanceId string, userName string) (errRet error)

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 (me *SqlserverService) DeleteSqlserverDB(ctx context.Context, instanceId string, names []*string) (errRet error)

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 (me *SqlserverService) DeleteSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (flowId int64, errRet error)

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 (me *SqlserverService) DescribeAccountDBAttachmentById(ctx context.Context, instanceId, accountName, dbName string) (attachment map[string]string, has bool, errRet error)

func (*SqlserverService) DescribeAccountDBAttachments added in v1.41.3

func (me *SqlserverService) DescribeAccountDBAttachments(ctx context.Context, instanceId, accountName, dbName string) (attachments []map[string]string, errRet error)

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 (me *SqlserverService) DescribeDBDetailsById(ctx context.Context, dbId string) (dbInfo *sqlserver.DBDetail, has bool, errRet error)

func (*SqlserverService) DescribeDBsOfInstance added in v1.41.3

func (me *SqlserverService) DescribeDBsOfInstance(ctx context.Context, instanceId string) (instanceDBList []*sqlserver.DBDetail, errRet error)

func (*SqlserverService) DescribeInstanceSecurityGroups added in v1.41.3

func (me *SqlserverService) DescribeInstanceSecurityGroups(ctx context.Context, instanceId string) (securityGroups []string, errRet error)

func (*SqlserverService) DescribeMaintenanceSpan added in v1.41.3

func (me *SqlserverService) DescribeMaintenanceSpan(ctx context.Context, instanceId string) (weekSet []int, startTime string, timeSpan int, errRet error)

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 (me *SqlserverService) DescribeProductConfig(ctx context.Context, zone string) (specInfoList []*sqlserver.SpecInfo, errRet error)

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 (me *SqlserverService) DescribeSqlserverBackupByBackupId(ctx context.Context, instanceId string, startTime string, endTime string, backupId uint64) (backupList []*sqlserver.Backup, errRet error)

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 (me *SqlserverService) DescribeSqlserverBackups(ctx context.Context, instanceId, backupName string, startTime string, endTime string) (backupList []*sqlserver.Backup, errRet error)

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 (me *SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter(ctx context.Context, param map[string]interface{}) (databaseCharsets []*string, errRet error)

func (*SqlserverService) DescribeSqlserverDatasourceRegionsByFilter added in v1.81.2

func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)

func (*SqlserverService) DescribeSqlserverDescHaLogByFilter added in v1.81.58

func (me *SqlserverService) DescribeSqlserverDescHaLogByFilter(ctx context.Context, param map[string]interface{}) (descHaLog []*sqlserver.SwitchLog, errRet error)

func (*SqlserverService) DescribeSqlserverFullBackupMigrationById added in v1.81.0

func (me *SqlserverService) DescribeSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (fullBackupMigration *sqlserver.Migration, errRet error)

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 (me *SqlserverService) DescribeSqlserverIncreBackupMigrationById(ctx context.Context, instanceId, backupMigrationId, incrementalMigrationId string) (increBackupMigration *sqlserver.Migration, errRet error)

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) DescribeSqlserverInstanceHaById added in v1.81.58

func (me *SqlserverService) DescribeSqlserverInstanceHaById(ctx context.Context, instanceId string) (instanceHa *sqlserver.DBInstance, 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) DescribeSqlserverInstanceSslById added in v1.81.58

func (me *SqlserverService) DescribeSqlserverInstanceSslById(ctx context.Context, instanceId string) (instanceSsl *sqlserver.DescribeDBInstancesAttributeResponseParams, 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 (me *SqlserverService) DescribeSqlserverQueryXeventByFilter(ctx context.Context, param map[string]interface{}) (queryXevent []*sqlserver.Events, errRet error)

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 (me *SqlserverService) DescribeZones(ctx context.Context) (zoneInfoList []*sqlserver.ZoneInfo, errRet error)

func (*SqlserverService) GetInfoFromDeal added in v1.41.3

func (me *SqlserverService) GetInfoFromDeal(ctx context.Context, dealId string, timeout ...time.Duration) (instanceId string, errRet error)

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 (me *SqlserverService) ModifyPublishSubscribeName(ctx context.Context, id uint64, name string) (errRet error)

func (*SqlserverService) ModifySqlserverAccountRemark added in v1.41.3

func (me *SqlserverService) ModifySqlserverAccountRemark(ctx context.Context, instanceId string, userName string, remark string) (errRet error)

func (*SqlserverService) ModifySqlserverDBRemark added in v1.41.3

func (me *SqlserverService) ModifySqlserverDBRemark(ctx context.Context, instanceId string, dbName string, remark string) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceMaintenanceSpan added in v1.41.3

func (me *SqlserverService) ModifySqlserverInstanceMaintenanceSpan(ctx context.Context, instanceId string, weekSet []int, startTime string, timeSpan int) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceName added in v1.41.3

func (me *SqlserverService) ModifySqlserverInstanceName(ctx context.Context, instanceId string, name string) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceProjectId added in v1.41.3

func (me *SqlserverService) ModifySqlserverInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)

func (*SqlserverService) NewModifyDBInstanceRenewFlag added in v1.48.0

func (me *SqlserverService) NewModifyDBInstanceRenewFlag(ctx context.Context, instanceId string, renewFlag int) (errRet error)

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 (me *SqlserverService) RemoveSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)

func (*SqlserverService) ResetSqlserverAccountPassword added in v1.41.3

func (me *SqlserverService) ResetSqlserverAccountPassword(ctx context.Context, instanceId string, userName string, password string) (errRet error)

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 (me *SqlserverService) UpgradeSqlserverBasicInstance(ctx context.Context, instanceId string, memory int, storage, cpu, autoVoucher int, voucherIds []string) (errRet error)

func (*SqlserverService) UpgradeSqlserverInstance added in v1.41.3

func (me *SqlserverService) UpgradeSqlserverInstance(ctx context.Context, instanceId string, memory, storage, autoVoucher int, voucherIds []*string) (errRet error)

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 (me *SslService) CheckCertificateType(ctx context.Context, certId string, checkType string) (bool, error)

func (*SslService) CreateCertificate added in v1.41.3

func (me *SslService) CreateCertificate(ctx context.Context, certType, cert, name string, projectId int, key *string) (id string, err error)

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 (me *SsmService) CreateSecret(ctx context.Context, param map[string]interface{}) (secretName string, errRet error)

func (*SsmService) DeleteSecret added in v1.55.0

func (me *SsmService) DeleteSecret(ctx context.Context, secretName string, recoveryWindowInDays uint64) (errRet error)

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 (me *SsmService) DeleteSsmSshKeyPairSecretById(ctx context.Context, secretName string, cleanSSHKey *bool) (errRet error)

func (*SsmService) DescribeAsyncRequestInfo added in v1.81.19

func (me *SsmService) DescribeAsyncRequestInfo(ctx context.Context, flowID int64) (taskStatus int64, errRet error)

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 (me *SsmService) DescribeSecretVersionIdsByName(ctx context.Context, secretName string) (versionIds []string, errRet error)

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 (me *SsmService) DescribeSsmRotationHistoryByFilter(ctx context.Context, param map[string]interface{}) (rotationHistory []*string, errRet error)

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 (me *SsmService) PutSecretValue(ctx context.Context, param map[string]interface{}) (secretName, versionId string, errRet error)

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 Statement added in v1.81.38

type Statement struct {
	Principal Principal `json:"principal"`
}

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 Switch added in v1.81.53

type Switch struct {
	ClusterId *string     `json:"ClusterId,omitempty" name:"ClusterId"`
	Audit     *SwitchInfo `json:"Audit,omitempty" name:"Audit"`
	Event     *SwitchInfo `json:"Event,omitempty" name:"Event"`
	Log       *SwitchInfo `json:"Log,omitempty" name:"Log"`
}

type SwitchInfo added in v1.81.53

type SwitchInfo struct {
	Enable      *bool   `json:"Enable,omitempty" name:"Enable"`
	LogsetId    *string `json:"LogsetId,omitempty" name:"LogsetId"`
	TopicId     *string `json:"TopicId,omitempty" name:"TopicId"`
	Version     *string `json:"Version,omitempty" name:"Version"`
	UpgradeAble *bool   `json:"UpgradeAble,omitempty" name:"UpgradeAble"`
}

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 (me *TCRService) CreateTCRInstance(ctx context.Context, name string, instanceType string, params map[string]interface{}) (instanceId string, errRet error)

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 (me *TCRService) CreateTcrVpcDns(ctx context.Context, instanceId string, vpcId string, accessIp string, usePublicDomain bool, regionName string) (errRet error)

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 (me *TCRService) DeleteTCRInstance(ctx context.Context, instanceId string, deleteBucket bool) (errRet error)

func (*TCRService) DeleteTCRLongTermToken added in v1.49.0

func (me *TCRService) DeleteTCRLongTermToken(ctx context.Context, instanceId string, tokenId string) (errRet error)

func (*TCRService) DeleteTCRNameSpace added in v1.49.0

func (me *TCRService) DeleteTCRNameSpace(ctx context.Context, instanceId string, name string) (errRet error)

func (*TCRService) DeleteTCRRepository added in v1.49.0

func (me *TCRService) DeleteTCRRepository(ctx context.Context, instanceId string, namespace string, repositoryName string) (errRet error)

func (*TCRService) DeleteTCRVPCAttachment added in v1.51.0

func (me *TCRService) DeleteTCRVPCAttachment(ctx context.Context, instanceId string, vpcId string,
	subnetId string, regionId int, regionName string,
) (errRet error)

func (*TCRService) DeleteTcrCustomizedDomainById added in v1.81.0

func (me *TCRService) DeleteTcrCustomizedDomainById(ctx context.Context, registryId string, domainName string) (errRet error)

func (*TCRService) DeleteTcrImmutableTagRuleById added in v1.81.0

func (me *TCRService) DeleteTcrImmutableTagRuleById(ctx context.Context, registryId string, namespaceName string, ruleId string) (errRet error)

func (*TCRService) DeleteTcrServiceAccountById added in v1.81.13

func (me *TCRService) DeleteTcrServiceAccountById(ctx context.Context, registryId string, name string) (errRet error)

func (*TCRService) DeleteTcrTagRetentionRuleById added in v1.80.3

func (me *TCRService) DeleteTcrTagRetentionRuleById(ctx context.Context, registryId string, retentionId string) (errRet error)

func (*TCRService) DeleteTcrVpcDns added in v1.54.1

func (me *TCRService) DeleteTcrVpcDns(ctx context.Context, instanceId string, vpcId string, accessIp string, usePublicDomain bool, regionName string) (errRet error)

func (*TCRService) DeleteTcrWebhookTriggerById added in v1.80.6

func (me *TCRService) DeleteTcrWebhookTriggerById(ctx context.Context, registryId string, namespaceName string, triggerId int64) (errRet error)

func (*TCRService) DescribeExternalEndpointStatus added in v1.53.9

func (me *TCRService) DescribeExternalEndpointStatus(ctx context.Context, instanceId string) (status string, has bool, errRet error)

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 (me *TCRService) DescribeTCRInstanceById(ctx context.Context, instanceId string) (instance *tcr.Registry, has bool, errRet error)

func (*TCRService) DescribeTCRInstances added in v1.49.0

func (me *TCRService) DescribeTCRInstances(ctx context.Context, instanceId string, filter []*tcr.Filter) (instanceList []*tcr.Registry, errRet error)

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 (me *TCRService) DescribeTCRVPCAttachmentById(ctx context.Context, instanceId string, vpcId string, subnetId string) (vpcAccess *tcr.AccessVpc, has bool, errRet error)

func (*TCRService) DescribeTCRVPCAttachments added in v1.51.0

func (me *TCRService) DescribeTCRVPCAttachments(ctx context.Context, instanceId string, vpcId string, subnetId string) (vpcList []*tcr.AccessVpc, errRet error)

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 (me *TCRService) DescribeTcrVpcDnsById(ctx context.Context, instanceId string, vpcId string, accessIp string, usePublicDomain bool) (vpcPrivateDomainStatus *tcr.VpcPrivateDomainStatus, has bool, errRet error)

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 (me *TCRService) ModifyTCRLongTermToken(ctx context.Context, instanceId string, tokenId string, enable bool) (errRet error)

func (*TCRService) ModifyTCRNameSpace added in v1.49.0

func (me *TCRService) ModifyTCRNameSpace(ctx context.Context, instanceId string, name string, isPublic, isAutoScan, isPreventVUL bool, severity string, whitelistItems []interface{}) (errRet error)

func (*TCRService) ModifyTCRRepository added in v1.49.0

func (me *TCRService) ModifyTCRRepository(ctx context.Context, instanceId string, namespace string, repositoryName string, briefDesc string, description string) (errRet error)

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 (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)

func (*TagService) DeleteTagTagAttachmentById added in v1.81.18

func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)

func (*TagService) DescribeProjectById added in v1.81.7

func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)

func (*TagService) DescribeProjects added in v1.81.7

func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)

func (*TagService) DescribeResourceTags added in v1.41.3

func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)

func (*TagService) DescribeTagResourceById added in v1.81.18

func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)

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

func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, deleteKeys []string) error

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 (me *TatService) DescribeTatCommand(ctx context.Context, commandId string) (command *tat.Command, errRet error)

func (*TatService) DescribeTatCommandByFilter added in v1.78.12

func (me *TatService) DescribeTatCommandByFilter(ctx context.Context, param map[string]interface{}) (command []*tat.Command, errRet error)

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 (me *TatService) DescribeTatInvoker(ctx context.Context, invokerId string) (invoker *tat.Invoker, errRet error)

func (*TatService) DescribeTatInvokerByFilter added in v1.78.12

func (me *TatService) DescribeTatInvokerByFilter(ctx context.Context, param map[string]interface{}) (invoker []*tat.Invoker, errRet error)

func (*TatService) DescribeTatInvokerConfigById added in v1.80.3

func (me *TatService) DescribeTatInvokerConfigById(ctx context.Context, invokerId string) (invokerAttachment *tat.Invoker, errRet error)

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 TcaplusIdlId struct {
	ClusterId   string
	FileExtType string
	FileId      int64
	FileName    string
	FileSize    int64
	FileType    string
}

type TcaplusService added in v1.41.3

type TcaplusService struct {
	// contains filtered or unexported fields
}

func (*TcaplusService) CreateCluster added in v1.41.3

func (me *TcaplusService) CreateCluster(ctx context.Context, idlType, clusterName, vpcId, subnetId, password string) (id string, errRet error)

func (*TcaplusService) CreateGroup added in v1.41.3

func (me *TcaplusService) CreateGroup(ctx context.Context, id string, groupName string) (groupId string, errRet error)

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 (me *TcaplusService) DeleteCluster(ctx context.Context, id string) (taskId string, errRet error)

func (*TcaplusService) DeleteGroup added in v1.41.3

func (me *TcaplusService) DeleteGroup(ctx context.Context, clusterId string, groupId string) (errRet error)

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 (me *TcaplusService) DeleteTable(ctx context.Context, clusterId, groupId, tableInstanceId, tableName string) (taskId string, errRet error)

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 (me *TcaplusService) ModifyClusterName(ctx context.Context, id string, clusterName string) (errRet error)

func (*TcaplusService) ModifyClusterPassword added in v1.41.3

func (me *TcaplusService) ModifyClusterPassword(ctx context.Context, id string, oldPassword, newPassword string, oldPasswordExpireLast int64) (errRet error)

func (*TcaplusService) ModifyGroupName added in v1.41.3

func (me *TcaplusService) ModifyGroupName(ctx context.Context, id string, groupId, groupName string) (errRet error)

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

func (me *TcmService) DescribeTcmMeshByFilter(ctx context.Context, param map[string][]*string) (meshs []*tcm.Mesh, errRet error)

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 (me *TcmqService) DeleteTcmqSubscribeById(ctx context.Context, topicName string, subscriptionName string) (errRet error)

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 (me *TcmqService) DescribeTcmqQueueByFilter(ctx context.Context, paramMap map[string]interface{}) (queueList []*tcmq.CmqQueue, errRet error)

func (*TcmqService) DescribeTcmqQueueById added in v1.79.3

func (me *TcmqService) DescribeTcmqQueueById(ctx context.Context, queueName string) (queue *tcmq.CmqQueue, errRet error)

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 (me *TcmqService) DescribeTcmqTopicByFilter(ctx context.Context, paramMap map[string]interface{}) (topicList []*tcmq.CmqTopic, errRet error)

func (*TcmqService) DescribeTcmqTopicById added in v1.79.3

func (me *TcmqService) DescribeTcmqTopicById(ctx context.Context, topicName string) (topic *tcmq.CmqTopic, errRet error)

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 (me *TdcpgService) DescribeTdcpgInstancesByFilter(ctx context.Context, clusterId *string, param map[string]interface{}) (instances []*tdcpg.Instance, errRet error)

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 (me *TdmqService) DeleteTdmqNamespace(ctx context.Context, environId string, clusterId string) (errRet error)

func (*TdmqService) DeleteTdmqNamespaceRoleAttachment added in v1.59.12

func (me *TdmqService) DeleteTdmqNamespaceRoleAttachment(ctx context.Context, environId string,
	roleName string, cluserId string) (errRet error)

func (*TdmqService) DeleteTdmqProfessionalClusterById added in v1.81.59

func (me *TdmqService) DeleteTdmqProfessionalClusterById(ctx context.Context, clusterId string) (errRet error)

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 (me *TdmqService) DeleteTdmqRole(ctx context.Context, roleName string, cluserId string) (errRet error)

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 (me *TdmqService) DeleteTdmqTopic(ctx context.Context, environId string, topicName string, clusterId string) (errRet error)

func (*TdmqService) DeleteTdmqTopicsAttachmentById added in v1.81.5

func (me *TdmqService) DeleteTdmqTopicsAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (errRet error)

func (*TdmqService) DescribePulsarProInstances added in v1.81.59

func (me *TdmqService) DescribePulsarProInstances(ctx context.Context, clusterId string) (professionalCluster *tdmq.PulsarProInstance, 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 (me *TdmqService) DescribeTdmqInstanceById(ctx context.Context,
	clusterId string) (info *tdmq.Cluster, has bool, errRet error)

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) DescribeTdmqProfessionalClusterById added in v1.81.59

func (me *TdmqService) DescribeTdmqProfessionalClusterById(ctx context.Context, clusterId string) (professionalCluster *tdmq.PulsarProClusterInfo, 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 (me *TdmqService) DescribeTdmqPublishersByFilter(ctx context.Context, param map[string]interface{}) (publishers []*tdmq.Publisher, errRet error)

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 (me *TdmqService) DescribeTdmqRoleById(ctx context.Context,
	roleName string, clusterId string) (info *tdmq.Role, has bool, errRet error)

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 (me *TdmqService) DescribeTdmqTopicById(ctx context.Context,
	environId string, topicName string, clusterId string) (info *tdmq.Topic, has bool, errRet error)

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 (me *TdmqService) GetTdmqTopicsAttachmentById(ctx context.Context, environmentId, Topic, subscriptionName, clusterId string) (has bool, errRet error)

func (*TdmqService) ModifyTdmqInstanceAttribute added in v1.59.12

func (me *TdmqService) ModifyTdmqInstanceAttribute(ctx context.Context, clusterId, clusterName string,
	remark string) (errRet error)

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 (me *TdmqService) ModifyTdmqNamespaceRoleAttachment(ctx context.Context,
	environId string, roleName string, permissions []*string, clusterId string) (errRet error)

func (*TdmqService) ModifyTdmqRoleAttribute added in v1.59.12

func (me *TdmqService) ModifyTdmqRoleAttribute(ctx context.Context, roleName string, clusterId string,
	remark string) (errRet error)

func (*TdmqService) ModifyTdmqTopicAttribute added in v1.59.12

func (me *TdmqService) ModifyTdmqTopicAttribute(ctx context.Context, environId string, topicName string,
	partitions uint64, remark string, clusterId string) (errRet error)

func (*TdmqService) TdmqProfessionalClusterStateRefreshFunc added in v1.81.59

func (me *TdmqService) TdmqProfessionalClusterStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc

type TemService added in v1.77.0

type TemService struct {
	// contains filtered or unexported fields
}

func (*TemService) DeleteTemAppConfigById added in v1.77.0

func (me *TemService) DeleteTemAppConfigById(ctx context.Context, environmentId string, name string) (errRet error)

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 (me *TemService) DeleteTemApplicationServiceById(ctx context.Context, environmentId string, applicationId string, serviceName string) (errRet error)

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 (me *TemService) DeleteTemGatewayById(ctx context.Context, environmentId string, ingressName string) (errRet error)

func (*TemService) DeleteTemLogConfigById added in v1.77.0

func (me *TemService) DeleteTemLogConfigById(ctx context.Context, environmentId string, applicationId string, name string) (errRet error)

func (*TemService) DeleteTemScaleRuleById added in v1.77.0

func (me *TemService) DeleteTemScaleRuleById(ctx context.Context, environmentId string, applicationId string, scaleRuleId string) (errRet error)

func (*TemService) DeleteTemWorkloadById added in v1.77.0

func (me *TemService) DeleteTemWorkloadById(ctx context.Context, environmentId string, applicationId string) (errRet error)

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 (me *TemService) DescribeTemLogConfig(ctx context.Context, environmentId string, applicationId string, name string) (logConfig *tem.LogConfig, errRet error)

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

func (me *TemService) DisableTemScaleRuleById(ctx context.Context, environmentId string, applicationId string, scaleRuleId string) (errRet error)

type TencentCloudClient

type TencentCloudClient struct {
	// contains filtered or unexported fields
}

func (*TencentCloudClient) GetAPIV3Conn added in v1.81.58

func (meta *TencentCloudClient) GetAPIV3Conn() *connectivity.TencentCloudClient

GetAPIV3Conn 返回访问云 API 的客户端连接对象

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 (me *TeoService) DeleteTeoAccelerationDomainById(ctx context.Context, zoneId string, domainName string) (errRet error)

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 (me *TeoService) DescribeTeoRuleEngine(ctx context.Context, zoneId, ruleId string) (ruleEngine *teo.RuleItem,
	errRet error)

func (*TeoService) DescribeTeoRuleEnginePriority added in v1.78.0

func (me *TeoService) DescribeTeoRuleEnginePriority(ctx context.Context,
	zoneId string) (ruleEnginePriority []*teo.RuleItem, errRet error)

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 (me *TeoService) DescribeTeoRuleEngines(ctx context.Context, zoneId string) (ruleEngines []*teo.RuleItem,
	errRet error)

func (*TeoService) DescribeTeoZone added in v1.77.5

func (me *TeoService) DescribeTeoZone(ctx context.Context, zoneId string) (zone *teo.Zone, errRet error)

func (*TeoService) DescribeTeoZoneAvailablePlansByFilter added in v1.78.0

func (me *TeoService) DescribeTeoZoneAvailablePlansByFilter(ctx context.Context) (planInfos []*teo.PlanInfo,
	errRet error)

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

func (me *TeoService) ModifyZoneStatus(ctx context.Context, zoneId string, paused bool, operate string) error

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) AddVpcCniSubnets added in v1.81.53

func (me *TkeService) AddVpcCniSubnets(ctx context.Context, id string, subnets []string, vpcId string) (errRet error)

func (*TkeService) CheckClusterVersion added in v1.53.1

func (me *TkeService) CheckClusterVersion(ctx context.Context, id string, clusterVersion string) (isOk bool, errRet error)

func (*TkeService) CheckInstancesUpgradeAble added in v1.56.3

func (me *TkeService) CheckInstancesUpgradeAble(ctx context.Context, id string, upgradeType string) (instanceIds []string, errRet error)

func (*TkeService) CheckOneOfClusterNodeReady added in v1.77.0

func (me *TkeService) CheckOneOfClusterNodeReady(ctx context.Context, clusterId string, mustHaveWorkers bool) error

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 (me *TkeService) DeleteClusterEndpoint(ctx context.Context, id string, isInternet bool) (errRet error)

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 (me *TkeService) DeleteClusterNodePool(ctx context.Context, id, nodePoolId string, deleteKeepInstance bool) (errRet error)

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 (me *TkeService) DescribeClusterConfig(ctx context.Context, id string, isPublic bool) (config string, errRet error)

func (*TkeService) DescribeClusterEndpointStatus added in v1.41.3

func (me *TkeService) DescribeClusterEndpointStatus(ctx context.Context, id string, isExtranet bool) (status string, message string, errRet error)

func (*TkeService) DescribeClusterEndpoints added in v1.81.53

func (me *TkeService) DescribeClusterEndpoints(ctx context.Context, id string) (response tke.DescribeClusterEndpointsResponseParams, errRet error)

func (*TkeService) DescribeClusterExtraArgs added in v1.81.53

func (me *TkeService) DescribeClusterExtraArgs(ctx context.Context, clusterId string) (extraArgs *tke.ClusterExtraArgs, errRet error)

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) DescribeClusterInstancesByRole added in v1.81.53

func (me *TkeService) DescribeClusterInstancesByRole(ctx context.Context, id, role 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) DescribeEnableVpcCniProgress added in v1.81.53

func (me *TkeService) DescribeEnableVpcCniProgress(ctx context.Context, id string) (status, message string, errRet error)

func (*TkeService) DescribeExtensionAddon added in v1.60.15

func (me *TkeService) DescribeExtensionAddon(ctx context.Context, clusterName, addon string) (result string, has bool, errRet error)

func (*TkeService) DescribeExtensionAddonList added in v1.81.53

func (me *TkeService) DescribeExtensionAddonList(ctx context.Context, clusterId string) (AppList, error)

func (*TkeService) DescribeExternalNodeSupportConfig added in v1.81.53

func (me *TkeService) DescribeExternalNodeSupportConfig(ctx context.Context, clusterId string) (resp *tke.DescribeExternalNodeSupportConfigResponseParams, errRet error)

func (*TkeService) DescribeIPAMD added in v1.81.53

func (me *TkeService) DescribeIPAMD(ctx context.Context, clusterId string) (resp *tke.DescribeIPAMDResponseParams, errRet error)

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) DescribeKubernetesClusterInstancesByFilter added in v1.81.52

func (me *TkeService) DescribeKubernetesClusterInstancesByFilter(ctx context.Context, param map[string]interface{}) (clusterInstances []*tke.Instance, errRet error)

func (*TkeService) DescribeKubernetesClusterNodePoolsByFilter added in v1.81.53

func (me *TkeService) DescribeKubernetesClusterNodePoolsByFilter(ctx context.Context, param map[string]interface{}) (clusterNodePools []*tke.NodePool, errRet error)

func (*TkeService) DescribeLogSwitches added in v1.81.53

func (me *TkeService) DescribeLogSwitches(ctx context.Context, clusterId string) (resp []*tke.Switch, errRet error)

func (*TkeService) DescribeNodePool added in v1.52.0

func (me *TkeService) DescribeNodePool(ctx context.Context, clusterId string, nodePoolId string) (
	nodePool *tke.NodePool,
	has bool,
	errRet error,
)

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) DisableVpcCniNetworkType added in v1.81.53

func (me *TkeService) DisableVpcCniNetworkType(ctx context.Context, id string) (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) EnableVpcCniNetworkType added in v1.81.53

func (me *TkeService) EnableVpcCniNetworkType(ctx context.Context, id string, vpcCniType string, enableStaticIp bool, subnets []string, expiredSeconds uint64) (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, rawValues, rawValuesType *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 (me *TkeService) GetUpgradeInstanceResult(ctx context.Context, id string) (
	done bool,
	errRet error,
)

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 (me *TkeService) ModifyClusterAsGroupAttribute(ctx context.Context, id, asGroupId string, maxSize, minSize int64) (errRet error)

func (*TkeService) ModifyClusterAttribute added in v1.50.0

func (me *TkeService) ModifyClusterAttribute(ctx context.Context, id string, projectId int64, clusterName, clusterDesc, clusterLevel string, autoUpgradeClusterLevel bool) (errRet error)

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 (me *TkeService) ModifyClusterEndpointSG(ctx context.Context, id string, securityGroup string) (errRet error)

func (*TkeService) ModifyClusterEndpointSP added in v1.41.3

func (me *TkeService) ModifyClusterEndpointSP(ctx context.Context, id string, securityPolicies []string) (errRet error)

func (*TkeService) ModifyClusterNodePool added in v1.52.0

func (me *TkeService) ModifyClusterNodePool(ctx context.Context, clusterId, nodePoolId string, name string, enableAutoScale bool, minSize int64, maxSize int64, nodeOs string, nodeOsType string, labels []*tke.Label, taints []*tke.Taint, tags map[string]string, deletionProtection bool) (errRet error)

func (*TkeService) ModifyClusterNodePoolDesiredCapacity added in v1.52.0

func (me *TkeService) ModifyClusterNodePoolDesiredCapacity(ctx context.Context, clusterId, nodePoolId string, desiredCapacity int64) (errRet error)

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 (me *TkeService) ModifyClusterNodePoolInstanceTypes(ctx context.Context, clusterId, nodePoolId string, instanceTypes []*string) (errRet error)

func (*TkeService) ModifyClusterVersion added in v1.53.1

func (me *TkeService) ModifyClusterVersion(ctx context.Context, id string, clusterVersion string, extraArgs interface{}) (errRet error)

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 (me *TkeService) ModifyDeletionProtection(ctx context.Context, id string, enable bool) (errRet error)

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 (me *TkeService) SwitchClusterAudit(ctx context.Context, clusterId, logSetId, topicId string,
	enable, deleteAuditLog bool) error

func (*TkeService) SwitchEventPersistence added in v1.72.5

func (me *TkeService) SwitchEventPersistence(ctx context.Context, clusterId, logSetId, topicId string,
	enable, deleteEventLog bool) error

func (*TkeService) SwitchLogAgent added in v1.72.5

func (me *TkeService) SwitchLogAgent(ctx context.Context, clusterId, rootDir string, enable bool) error

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 (me *TkeService) UpgradeClusterInstances(ctx context.Context, id string, upgradeType string, instanceIds []string) (errRet error)

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 (me *TrocketService) DeleteTrocketRocketmqConsumerGroupById(ctx context.Context, instanceId string, consumerGroup string) (errRet error)

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 (me *TrocketService) DeleteTrocketRocketmqRoleById(ctx context.Context, instanceId string, role string) (errRet error)

func (*TrocketService) DeleteTrocketRocketmqTopicById added in v1.81.27

func (me *TrocketService) DeleteTrocketRocketmqTopicById(ctx context.Context, instanceId string, topic string) (errRet error)

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 (me *TrocketService) DescribeTrocketRocketmqRoleById(ctx context.Context, instanceId string, role string) (rocketmqRole *trocket.RoleItem, errRet error)

func (*TrocketService) DescribeTrocketRocketmqTopicById added in v1.81.27

func (me *TrocketService) DescribeTrocketRocketmqTopicById(ctx context.Context, instanceId string, topic string) (rocketmqTopic *trocket.TopicItem, errRet error)

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 (me *TseService) DeleteTseCngwCanaryRuleById(ctx context.Context, gatewayId string, serviceId string, priority string) (errRet error)

func (*TseService) DeleteTseCngwCertificateById added in v1.81.30

func (me *TseService) DeleteTseCngwCertificateById(ctx context.Context, gatewayId string, id string) (errRet error)

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 (me *TseService) DeleteTseCngwGroupById(ctx context.Context, gatewayId string, groupId string) (errRet error)

func (*TseService) DeleteTseCngwRouteById added in v1.81.17

func (me *TseService) DeleteTseCngwRouteById(ctx context.Context, gatewayId string, routeName string) (errRet error)

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 (me *TseService) DeleteTseCngwServiceRateLimitById(ctx context.Context, gatewayId string, name string) (errRet error)

func (*TseService) DeleteTseInstanceById added in v1.81.0

func (me *TseService) DeleteTseInstanceById(ctx context.Context, instanceId string) (errRet error)

func (*TseService) DeleteTseWafDomainsById added in v1.81.52

func (me *TseService) DeleteTseWafDomainsById(ctx context.Context, gatewayId string, domain 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) DescribeTseWafDomainsById added in v1.81.52

func (me *TseService) DescribeTseWafDomainsById(ctx context.Context, gatewayId string) (wafDomains *tse.DescribeWafDomainsResult, errRet error)

func (*TseService) DescribeTseWafProtectionById added in v1.81.52

func (me *TseService) DescribeTseWafProtectionById(ctx context.Context, gatewayId string) (wafProtection *tse.DescribeWafProtectionResult, 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 (me *TsfService) DeleteTsfApplicationFileConfigReleaseById(ctx context.Context, configId string, groupId string) (errRet error)

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 (me *TsfService) DeleteTsfBindApiGroupById(ctx context.Context, groupId string, gatewayDeployGroupId string) (errRet error)

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 (me *TsfService) DeleteTsfInstancesAttachmentById(ctx context.Context, clusterId string, instanceId string) (errRet error)

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 (me *TsfService) DescribeTsfApplicationConfigById(ctx context.Context, configId, configName string) (applicationConfig *tsf.Config, errRet error)

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 (me *TsfService) DescribeTsfApplicationPublicConfigById(ctx context.Context, configId string) (applicationPublicConfig *tsf.Config, errRet error)

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 (me *TsfService) DescribeTsfClusterById(ctx context.Context, clusterId string) (cluster *tsf.ClusterV2, errRet error)

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 (me *TsfService) DescribeTsfDeployVmGroupById(ctx context.Context, groupId string) (deployVmGroup *tsf.VmGroup, errRet error)

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 (me *TsfService) DescribeTsfEnableUnitRuleById(ctx context.Context, id string) (enableUnitRuleAttachment *tsf.UnitRule, errRet error)

func (*TsfService) DescribeTsfGatewayAllGroupApisByFilter added in v1.81.5

func (me *TsfService) DescribeTsfGatewayAllGroupApisByFilter(ctx context.Context, param map[string]interface{}) (gatewayAllGroupApis *tsf.GatewayVo, errRet error)

func (*TsfService) DescribeTsfGroupById added in v1.80.1

func (me *TsfService) DescribeTsfGroupById(ctx context.Context, groupId string) (group *tsf.VmGroup, errRet error)

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 (me *TsfService) DescribeTsfInstancesAttachmentById(ctx context.Context, clusterId string, instanceId string) (instance *tsf.Instance, errRet error)

func (*TsfService) DescribeTsfLaneById added in v1.79.7

func (me *TsfService) DescribeTsfLaneById(ctx context.Context, laneId string) (lane *tsf.LaneInfo, errRet error)

func (*TsfService) DescribeTsfLaneRuleById added in v1.79.7

func (me *TsfService) DescribeTsfLaneRuleById(ctx context.Context, ruleId string) (laneRule *tsf.LaneRule, errRet error)

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 (me *TsfService) DescribeTsfNamespaceById(ctx context.Context, namespaceId string) (namespace *tsf.Namespace, errRet error)

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 (me *TsfService) DescribeTsfUnitRuleById(ctx context.Context, id string) (unitRule *tsf.UnitRule, errRet error)

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 (me *VodService) DeleteAdaptiveDynamicStreamingTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)

func (*VodService) DeleteImageSpriteTemplate added in v1.45.0

func (me *VodService) DeleteImageSpriteTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)

func (*VodService) DeleteProcedureTemplate added in v1.45.0

func (me *VodService) DeleteProcedureTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)

func (*VodService) DeleteSnapshotByTimeOffsetTemplate added in v1.45.0

func (me *VodService) DeleteSnapshotByTimeOffsetTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)

func (*VodService) DeleteSuperPlayerConfig added in v1.45.0

func (me *VodService) DeleteSuperPlayerConfig(ctx context.Context, configId string, subAppid uint64) (errRet error)

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 VpcEniIP added in v1.41.3

type VpcEniIP struct {
	// contains filtered or unexported fields
}

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 (me *VpcService) AssignIpv4ToEni(ctx context.Context, id string, ipv4s []VpcEniIP, ipv4Count *int) error

func (*VpcService) AssociateAclSubnets added in v1.41.3

func (me *VpcService) AssociateAclSubnets(ctx context.Context, aclId string, subnetIds []string) (errRet error)

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 (me *VpcService) CreateAddressTemplate(ctx context.Context, name string, addresses []interface{}) (templateId string, errRet error)

func (*VpcService) CreateAddressTemplateGroup added in v1.50.0

func (me *VpcService) CreateAddressTemplateGroup(ctx context.Context, name string, addressTemplate []interface{}) (templateId string, errRet error)

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) CreateEni added in v1.41.3

func (me *VpcService) CreateEni(
	ctx context.Context,
	name, vpcId, subnetId, desc string,
	securityGroups []string,
	ipv4Count *int,
	ipv4s []VpcEniIP,
	tags map[string]string,
) (id string, err error)

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 (me *VpcService) CreateRouteTable(ctx context.Context, name, vpcId string, tags map[string]string) (routeTableId string, errRet error)

func (*VpcService) CreateRoutes added in v1.41.3

func (me *VpcService) CreateRoutes(ctx context.Context,
	routeTableId, destinationCidrBlock, nextType, nextHub, description string, enabled bool) (entryId int64, errRet error)

func (*VpcService) CreateSecurityGroup added in v1.41.3

func (me *VpcService) CreateSecurityGroup(ctx context.Context, name, desc string, projectId *int, tags map[string]string) (id string, err error)

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 (me *VpcService) CreateServiceTemplate(ctx context.Context, name string, services []interface{}) (templateId string, errRet error)

func (*VpcService) CreateServiceTemplateGroup added in v1.50.0

func (me *VpcService) CreateServiceTemplateGroup(ctx context.Context, name string, serviceTemplate []interface{}) (templateId string, errRet error)

func (*VpcService) CreateSubnet added in v1.41.3

func (me *VpcService) CreateSubnet(ctx context.Context, vpcId, name, cidr, zone string, tags map[string]string) (subnetId string, errRet error)

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 (me *VpcService) CreateVpcNetworkAcl(ctx context.Context, vpcID string, name string, tags map[string]string) (aclID string, errRet error)

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) DeleteCustomerGateway added in v1.65.2

func (me *VpcService) DeleteCustomerGateway(ctx context.Context, customerGatewayId 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 (me *VpcService) DeleteNatGatewaySnat(ctx context.Context, natGatewayId string, snatId string) (errRet error)

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 (me *VpcService) DeleteRoutes(ctx context.Context, routeTableId string, entryId uint64) (errRet error)

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 (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndex(ctx context.Context, policyIndex int64, sgId, policyType string) error

func (*VpcService) DeleteSecurityGroupPolicyByPolicyIndexList added in v1.81.19

func (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndexList(ctx context.Context, sgId string, policyIndexList []*int64, policyType string) error

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 (me *VpcService) DeleteVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (errRet error)

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 (me *VpcService) DeleteVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (errRet error)

func (*VpcService) DeleteVpcEniSgAttachmentById added in v1.81.6

func (me *VpcService) DeleteVpcEniSgAttachmentById(ctx context.Context, networkInterfaceId string, securityGroupIds []string) (errRet error)

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 (me *VpcService) DeleteVpcIpv6EniAddressById(ctx context.Context, networkInterfaceId string, ipv6Address string) (errRet error)

func (*VpcService) DeleteVpcIpv6SubnetCidrBlockById added in v1.81.5

func (me *VpcService) DeleteVpcIpv6SubnetCidrBlockById(ctx context.Context, vpcId string, subnetId string) (errRet error)

func (*VpcService) DeleteVpcLocalGatewayById added in v1.81.5

func (me *VpcService) DeleteVpcLocalGatewayById(ctx context.Context, cdcId string, localGatewayId string) (errRet error)

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 (me *VpcService) DeleteVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (errRet error)

func (*VpcService) DeleteVpcPeerConnectAccecptOrRejectById added in v1.81.60

func (me *VpcService) DeleteVpcPeerConnectAccecptOrRejectById(ctx context.Context, peeringConnectionId string) (errRet error)

func (*VpcService) DeleteVpcPeerConnectManagerById added in v1.81.60

func (me *VpcService) DeleteVpcPeerConnectManagerById(ctx context.Context, peeringConnectionId string) (errRet error)

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 (me *VpcService) DeleteVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, routeIds []*string) (errRet error)

func (*VpcService) DeleteVpnGatewaySslClient added in v1.65.0

func (me *VpcService) DeleteVpnGatewaySslClient(ctx context.Context, SslClientId string) (taskId *uint64, errRet error)

func (*VpcService) DeleteVpnGatewaySslServer added in v1.65.0

func (me *VpcService) DeleteVpnGatewaySslServer(ctx context.Context, SslServerId string) (taskId uint64, errRet error)

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 (me *VpcService) DescribeByAclId(ctx context.Context, attachmentAcl string) (has bool, 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) DescribeCustomerGatewayByFilter added in v1.65.2

func (me *VpcService) DescribeCustomerGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.CustomerGateway, errRet error)

func (*VpcService) DescribeEipAddressQuota added in v1.81.1

func (me *VpcService) DescribeEipAddressQuota(ctx context.Context) (addressQuota []*vpc.Quota, errRet error)

func (*VpcService) DescribeEipByFilter added in v1.41.3

func (me *VpcService) DescribeEipByFilter(ctx context.Context, filters map[string][]string) (eips []*vpc.Address, errRet error)

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 (me *VpcService) DescribeHaVipByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.HaVip, errRet error)

func (*VpcService) DescribeHaVipEipById added in v1.41.3

func (me *VpcService) DescribeHaVipEipById(ctx context.Context, haVipEipAttachmentId string) (eip string, haVip string, has bool, errRet error)

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 (me *VpcService) DescribeSubnetById(ctx context.Context, subnetId string) (instance *vpc.Subnet, errRet error)

func (*VpcService) DescribeSubnets added in v1.41.3

func (me *VpcService) DescribeSubnets(ctx context.Context,
	subnetId,
	vpcId,
	subnetName,
	zone string,
	tags map[string]string,
	isDefaultPtr *bool,
	isRemoteVpcSNAT *bool,
	tagKey,
	cidrBlock string) (infos []VpcSubnetBasicInfo, errRet error)

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 (me *VpcService) DescribeVpcBandwidthPackageAttachment(ctx context.Context, bandwidthPackageId, resourceId string) (bandwidthPackageResources *vpc.Resource, errRet error)

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 (me *VpcService) DescribeVpcBandwidthPackageQuota(ctx context.Context) (bandwidthPackageQuota []*vpc.Quota, errRet error)

func (*VpcService) DescribeVpcById added in v1.81.5

func (me *VpcService) DescribeVpcById(ctx context.Context, vpcId string) (instance *vpc.Vpc, errRet error)

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 (me *VpcService) DescribeVpcCcnRoutesById(ctx context.Context, ccnId string, routeId string) (ccnRoutes *vpc.CcnRoute, errRet error)

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 (me *VpcService) DescribeVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string, addressIp string) (dhcpAssociateAddress *vpc.DhcpIp, errRet error)

func (*VpcService) DescribeVpcDhcpIpById added in v1.81.3

func (me *VpcService) DescribeVpcDhcpIpById(ctx context.Context, dhcpIpId string) (dhcpIp *vpc.DhcpIp, errRet error)

func (*VpcService) DescribeVpcEndPointById added in v1.79.2

func (me *VpcService) DescribeVpcEndPointById(ctx context.Context, endPointId string) (endPoint *vpc.EndPoint, errRet error)

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 (me *VpcService) DescribeVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (FlowLog *vpc.FlowLog, errRet error)

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 (me *VpcService) DescribeVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (ipv6Address *vpc.Address, errRet error)

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 (me *VpcService) DescribeVpcLimitsByFilter(ctx context.Context, param map[string]interface{}) (limits []*vpc.VpcLimit, errRet error)

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 (me *VpcService) DescribeVpcNetDetectById(ctx context.Context, netDetectId string) (netDetect *vpc.NetDetect, errRet error)

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 (me *VpcService) DescribeVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (notifyRoute *vpc.Route, errRet error)

func (*VpcService) DescribeVpcPeerConnectManagerById added in v1.81.60

func (me *VpcService) DescribeVpcPeerConnectManagerById(ctx context.Context, peeringConnectionId string) (PeerConnectManager *vpc.PeerConnection, errRet error)

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 (me *VpcService) DescribeVpcs(ctx context.Context,
	vpcId, name string,
	tags map[string]string,
	isDefaultPtr *bool,
	tagKey string,
	cidrBlock string) (infos []VpcBasicInfo, errRet error)

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) 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) GetRouteId added in v1.41.3

func (me *VpcService) GetRouteId(ctx context.Context,
	routeTableId, destinationCidrBlock, nextType, nextHub, description string) (entryId int64, errRet error)

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 (me *VpcService) ModifyAddressTemplate(ctx context.Context, templateId string, name string, addresses []interface{}) (errRet error)

func (*VpcService) ModifyAddressTemplateGroup added in v1.50.0

func (me *VpcService) ModifyAddressTemplateGroup(ctx context.Context, templateGroupId string, name string, templateIds []interface{}) (errRet error)

func (*VpcService) ModifyAssistantCidr added in v1.60.26

func (me *VpcService) ModifyAssistantCidr(ctx context.Context, request *vpc.ModifyAssistantCidrRequest) (errRet error)

func (*VpcService) ModifyEipBandwidthOut added in v1.53.6

func (me *VpcService) ModifyEipBandwidthOut(ctx context.Context, eipId string, bandwidthOut int) error

func (*VpcService) ModifyEipInternetChargeType added in v1.80.6

func (me *VpcService) ModifyEipInternetChargeType(ctx context.Context, eipId string, internetChargeType string, bandwidthOut, period, renewFlag int) error

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 (me *VpcService) ModifyEniAttribute(ctx context.Context, id string, name, desc *string, sgs []string) error

func (*VpcService) ModifyEniPrimaryIpv4Desc added in v1.41.3

func (me *VpcService) ModifyEniPrimaryIpv4Desc(ctx context.Context, id, ip string, desc *string) error

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 (me *VpcService) ModifyRouteTableAttribute(ctx context.Context, routeTableId string, name string) (errRet error)

func (*VpcService) ModifySecurityGroup added in v1.41.3

func (me *VpcService) ModifySecurityGroup(ctx context.Context, id string, newName, newDesc *string) error

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 (me *VpcService) ModifySecurityGroupPolicy(ctx context.Context, ruleId string, desc *string) error

Deprecated: Use ModifySecurityGroupPolicies instead

func (*VpcService) ModifyServiceTemplate added in v1.50.0

func (me *VpcService) ModifyServiceTemplate(ctx context.Context, templateId string, name string, services []interface{}) (errRet error)

func (*VpcService) ModifyServiceTemplateGroup added in v1.50.0

func (me *VpcService) ModifyServiceTemplateGroup(ctx context.Context, serviceGroupId string, name string, templateIds []interface{}) (errRet error)

func (*VpcService) ModifySubnetAttribute added in v1.41.3

func (me *VpcService) ModifySubnetAttribute(ctx context.Context, subnetId, name string, isMulticast bool) (errRet error)

func (*VpcService) ModifyVpcAttribute added in v1.41.3

func (me *VpcService) ModifyVpcAttribute(ctx context.Context, vpcId, name string, isMulticast bool, dnsServers []string) (errRet error)

func (*VpcService) ModifyVpcNetworkAcl added in v1.41.3

func (me *VpcService) ModifyVpcNetworkAcl(ctx context.Context, id *string, name *string) (errRet error)

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 (me *VpcService) RenewAddress(ctx context.Context, eipId string, period int, renewFlag int) error

func (*VpcService) ReplaceRouteTableAssociation added in v1.41.3

func (me *VpcService) ReplaceRouteTableAssociation(ctx context.Context, subnetId string, routeTableId string) (errRet error)

func (*VpcService) SwitchRouteEnabled added in v1.72.4

func (me *VpcService) SwitchRouteEnabled(ctx context.Context, routeTableId string, routeId uint64, enabled bool) error

func (*VpcService) UnAssignIpv4FromEni added in v1.41.3

func (me *VpcService) UnAssignIpv4FromEni(ctx context.Context, id string, ipv4s []string) error

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) DeleteWafCcAutoStatusById added in v1.81.49

func (me *WafService) DeleteWafCcAutoStatusById(ctx context.Context, domain, edition string) (errRet error)

func (*WafService) DeleteWafCcById added in v1.81.46

func (me *WafService) DeleteWafCcById(ctx context.Context, domain, ruleId, name string) (errRet error)

func (*WafService) DeleteWafCcSessionById added in v1.81.49

func (me *WafService) DeleteWafCcSessionById(ctx context.Context, domain, edition, sessionID 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) DeleteWafIpAccessControlByDiff added in v1.81.49

func (me *WafService) DeleteWafIpAccessControlByDiff(ctx context.Context, domain string, ids []string) (errRet error)

func (*WafService) DeleteWafIpAccessControlById added in v1.81.49

func (me *WafService) DeleteWafIpAccessControlById(ctx context.Context, domain 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) DescribeSpartaProtectionInfoById added in v1.81.46

func (me *WafService) DescribeSpartaProtectionInfoById(ctx context.Context, domain, edition string) (protectionInfo *waf.DescribeSpartaProtectionInfoResponseParams, 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) DescribeWafAutoDenyRulesById added in v1.81.46

func (me *WafService) DescribeWafAutoDenyRulesById(ctx context.Context, domain string) (autoDenyRules *waf.DescribeWafAutoDenyRulesResponseParams, errRet error)

func (*WafService) DescribeWafCcAutoStatusById added in v1.81.49

func (me *WafService) DescribeWafCcAutoStatusById(ctx context.Context, domain string) (CcAutoStatus *waf.DescribeCCAutoStatusResponseParams, errRet error)

func (*WafService) DescribeWafCcById added in v1.81.46

func (me *WafService) DescribeWafCcById(ctx context.Context, domain, ruleId string) (cc *waf.CCRuleItems, errRet error)

func (*WafService) DescribeWafCcSessionById added in v1.81.49

func (me *WafService) DescribeWafCcSessionById(ctx context.Context, domain, edition, sessionID string) (ccSession *waf.SessionItem, 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 (me *WafService) DescribeWafInstanceQpsLimitByFilter(ctx context.Context, param map[string]interface{}) (instanceQpsLimit *waf.QpsData, errRet error)

func (*WafService) DescribeWafIpAccessControlById added in v1.81.49

func (me *WafService) DescribeWafIpAccessControlById(ctx context.Context, domain string) (ipAccessControlList []*waf.IpAccessControlItem, errRet error)

func (*WafService) DescribeWafModuleStatusById added in v1.81.46

func (me *WafService) DescribeWafModuleStatusById(ctx context.Context, domain string) (moduleStatus *waf.DescribeModuleStatusResponseParams, errRet error)

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) DescribeWafUserClbRegionsByFilter added in v1.81.46

func (me *WafService) DescribeWafUserClbRegionsByFilter(ctx context.Context) (userClbRegions *waf.DescribeUserClbWafRegionsResponseParams, 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)

func (*WafService) DescribeWafWebShellById added in v1.81.46

func (me *WafService) DescribeWafWebShellById(ctx context.Context, domain string) (webShell *waf.DescribeWebshellStatusResponseParams, 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, ownerProjectId, 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, ownerProjectId, datasourceId string) (datasource *wedata.DataSourceInfo, errRet error)

func (*WedataService) DescribeWedataDqRuleById added in v1.81.43

func (me *WedataService) DescribeWedataDqRuleById(ctx context.Context, projectId, ruleId string) (dqRule *wedata.Rule, errRet error)

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

Directories

Path Synopsis
internal
services
apm
as
bh
bi
cam
cat
cbs
ccn
cdb
cdh
cdn
cfs
cfw
ci
clb
cls
cos
crs
css
cvm
cwp
dc
dcg
dlc
dts
eb
emr
es
fl
kms
mdl
mps
pls
pts
rum
Provides a resource to create a rum release_file
Provides a resource to create a rum release_file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL