|
| 1 | +--- |
| 2 | +subcategory: "Wedata" |
| 3 | +layout: "tencentcloud" |
| 4 | +page_title: "TencentCloud: tencentcloud_wedata_resource_group" |
| 5 | +sidebar_current: "docs-tencentcloud-resource-wedata_resource_group" |
| 6 | +description: |- |
| 7 | + Provides a resource to create a WeData resource group |
| 8 | +--- |
| 9 | + |
| 10 | +# tencentcloud_wedata_resource_group |
| 11 | + |
| 12 | +Provides a resource to create a WeData resource group |
| 13 | + |
| 14 | +## Example Usage |
| 15 | + |
| 16 | +```hcl |
| 17 | +resource "tencentcloud_wedata_resource_group" "example" { |
| 18 | + name = "tf_example" |
| 19 | + type { |
| 20 | + resource_group_type = "Integration" |
| 21 | + integration { |
| 22 | + real_time_data_sync { |
| 23 | + specification = "i32c" |
| 24 | + number = 1 |
| 25 | + } |
| 26 | +
|
| 27 | + offline_data_sync { |
| 28 | + specification = "integrated" |
| 29 | + number = 2 |
| 30 | + } |
| 31 | + } |
| 32 | + } |
| 33 | +
|
| 34 | + auto_renew_enabled = false |
| 35 | + purchase_period = 1 |
| 36 | + vpc_id = "vpc-ds5rpnxh" |
| 37 | + subnet = "subnet-fz7rw5zq" |
| 38 | + resource_region = "ap-beijing-fsi" |
| 39 | +} |
| 40 | +``` |
| 41 | + |
| 42 | +## Argument Reference |
| 43 | + |
| 44 | +The following arguments are supported: |
| 45 | + |
| 46 | +* `auto_renew_enabled` - (Required, Bool) Whether auto-renewal is enabled. |
| 47 | +* `name` - (Required, String, ForceNew) Resource group name. The name for creating a general resource group must start with a letter, can contain letters, numbers, underscores (_), and up to 64 characters. |
| 48 | +* `purchase_period` - (Required, Int) Purchase duration, in months. |
| 49 | +* `resource_region` - (Required, String, ForceNew) Resource purchase region. |
| 50 | +* `subnet` - (Required, String, ForceNew) Subnet. |
| 51 | +* `type` - (Required, List, ForceNew) Information about the activated resource group. |
| 52 | +* `vpc_id` - (Required, String, ForceNew) VPC ID. |
| 53 | +* `associated_project_id` - (Optional, String, ForceNew) Associated project space project ID. |
| 54 | + |
| 55 | +The `data_service` object of `type` supports the following: |
| 56 | + |
| 57 | +* `number` - (Required, Int) Quantity. |
| 58 | +* `specification` - (Required, String) Resource group specification. |
| 59 | + |
| 60 | +The `integration` object of `type` supports the following: |
| 61 | + |
| 62 | +* `offline_data_sync` - (Optional, List) Offline integration resource group. |
| 63 | + |
| 64 | +- integrated (Offline data synchronization - 8C16G) |
| 65 | +- i16 (Offline data synchronization - 8C32G). |
| 66 | +* `real_time_data_sync` - (Optional, List) Real-time integration resource group. |
| 67 | + |
| 68 | +- i32c (Real-time data synchronization - 16C64G). |
| 69 | + |
| 70 | +The `offline_data_sync` object of `integration` supports the following: |
| 71 | + |
| 72 | +* `number` - (Required, Int) Quantity. |
| 73 | +* `specification` - (Required, String) Resource group specification. |
| 74 | + |
| 75 | +The `real_time_data_sync` object of `integration` supports the following: |
| 76 | + |
| 77 | +* `number` - (Required, Int) Quantity. |
| 78 | +* `specification` - (Required, String) Resource group specification. |
| 79 | + |
| 80 | +The `schedule` object of `type` supports the following: |
| 81 | + |
| 82 | +* `number` - (Required, Int) Quantity. |
| 83 | +* `specification` - (Required, String) Resource group specification. |
| 84 | + |
| 85 | +The `type` object supports the following: |
| 86 | + |
| 87 | +* `resource_group_type` - (Required, String) Resource group type. |
| 88 | + |
| 89 | +- Schedule --- Scheduling resource group |
| 90 | +- Integration --- Integration resource group |
| 91 | +- DataService -- Data service resource group. |
| 92 | +* `data_service` - (Optional, List) Data service resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously). |
| 93 | + |
| 94 | +- ds_t (Test specification) |
| 95 | +- ds_s (Basic specification) |
| 96 | +- ds_m (Popular specification) |
| 97 | +- ds_l (Professional specification). |
| 98 | +* `integration` - (Optional, List) Integration resource group, subdivided into real-time resource group and offline resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously). |
| 99 | +* `schedule` - (Optional, List) Scheduling resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously). |
| 100 | + |
| 101 | +- s_test (Test specification) |
| 102 | +- s_small (Basic specification) |
| 103 | +- s_medium (Popular specification) |
| 104 | +- s_large (Professional specification). |
| 105 | + |
| 106 | +## Attributes Reference |
| 107 | + |
| 108 | +In addition to all arguments above, the following attributes are exported: |
| 109 | + |
| 110 | +* `id` - ID of the resource. |
| 111 | +* `resource_group_id` - Resource group ID. |
| 112 | + |
| 113 | + |
0 commit comments