2021-12-29 14:58:42 +03:00
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
2024-08-26 18:22:06 +03:00
page_title: "decort_resgroup Resource - terraform-provider-decort"
2021-12-29 14:58:42 +03:00
subcategory: ""
description: |-
---
# decort_resgroup (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
2022-07-27 13:50:03 +03:00
- `account_id` (Number) Unique ID of the account, which this resource group belongs to.
2024-08-26 18:22:06 +03:00
- `gid` (Number) Unique ID of the grid, where this resource group is deployed.
2022-07-27 13:50:03 +03:00
- `name` (String) Name of this resource group. Names are case sensitive and unique within the context of a account.
2021-12-29 14:58:42 +03:00
### Optional
2024-08-26 18:22:06 +03:00
- `access` (Block Set) (see [below for nested schema ](#nestedblock--access ))
- `def_net` (Block Set, Max: 1) (see [below for nested schema ](#nestedblock--def_net ))
2022-07-27 13:50:03 +03:00
- `def_net_type` (String) Type of the network, which this resource group will use as default for its computes - PRIVATE or PUBLIC or NONE.
- `description` (String) User-defined text description of this resource group.
2024-08-26 18:22:06 +03:00
- `enable` (Boolean) flag for enable/disable RG
2022-07-27 13:50:03 +03:00
- `ext_ip` (String) IP address on the external netowrk to request when def_net_type=PRIVATE and ext_net_id is not 0
- `ext_net_id` (Number) ID of the external network for default ViNS. Pass 0 if def_net_type=PUBLIC or no external connection required for the defult ViNS when def_net_type=PRIVATE
2024-08-26 18:22:06 +03:00
- `force` (Boolean) Set to True if you want force delete non-empty RG
2022-07-27 13:50:03 +03:00
- `ipcidr` (String) Address of the netowrk inside the private network segment (aka ViNS) if def_net_type=PRIVATE
2024-08-26 18:22:06 +03:00
- `owner` (String)
- `permanently` (Boolean) Set to True if you want force delete non-empty RG
2022-07-27 13:50:03 +03:00
- `quota` (Block List, Max: 1) Quota settings for this resource group. (see [below for nested schema ](#nestedblock--quota ))
2024-08-26 18:22:06 +03:00
- `restore` (Boolean)
2022-07-27 13:50:03 +03:00
- `timeouts` (Block, Optional) (see [below for nested schema ](#nestedblock--timeouts ))
2024-11-12 13:41:38 +03:00
- `uniq_pools` (List of String)
2021-12-29 14:58:42 +03:00
### Read-Only
2022-07-27 13:50:03 +03:00
- `account_name` (String) Name of the account, which this resource group belongs to.
2024-08-26 18:22:06 +03:00
- `acl` (List of Object) (see [below for nested schema ](#nestedatt--acl ))
- `compute_features` (List of String)
- `cpu_allocation_parameter` (String)
- `cpu_allocation_ratio` (Number)
2022-07-27 13:50:03 +03:00
- `def_net_id` (Number) ID of the default network for this resource group (if any).
2024-08-26 18:22:06 +03:00
- `deleted_by` (String)
- `deleted_time` (Number)
- `dirty` (Boolean)
- `guid` (Number)
2022-07-27 13:50:03 +03:00
- `id` (String) The ID of this resource.
2024-08-26 18:22:06 +03:00
- `lock_status` (String)
- `milestones` (Number)
- `res_types` (List of String)
- `rg_id` (Number)
- `secret` (String)
- `status` (String) Current status of this resource group.
- `updated_by` (String)
- `updated_time` (Number)
- `vins` (List of Number) List of VINs deployed in this resource group.
- `vms` (List of Number) List of computes deployed in this resource group.
< a id = "nestedblock--access" > < / a >
### Nested Schema for `access`
Required:
- `right` (String) Access rights to set, one of 'R', 'RCX' or 'ARCXDU'
- `user` (String) User or group name to grant access
< a id = "nestedblock--def_net" > < / a >
### Nested Schema for `def_net`
Required:
- `net_type` (String) Network type to set. Must be on of 'PRIVATE' or 'PUBLIC'.
Optional:
- `net_id` (Number) Network segment ID. If netType is PUBLIC and netId is 0 then default external network segment will be selected. If netType is PRIVATE and netId=0, the first ViNS defined for this RG will be selected. Otherwise, netId identifies either existing external network segment or ViNS.
2021-12-29 14:58:42 +03:00
< a id = "nestedblock--quota" > < / a >
### Nested Schema for `quota`
Optional:
2022-07-27 13:50:03 +03:00
- `cpu` (Number) Limit on the total number of CPUs in this resource group.
2024-08-26 18:22:06 +03:00
- `disk` (Number) Limit on the total volume of virtual storage resources in this resource group, specified in GB.
2022-07-27 13:50:03 +03:00
- `ext_ips` (Number) Limit on the total number of external IP addresses this resource group can use.
- `ext_traffic` (Number) Limit on the total ingress network traffic for this resource group, specified in GB.
- `ram` (Number) Limit on the total amount of RAM in this resource group, specified in MB.
2021-12-29 14:58:42 +03:00
2024-08-26 18:22:06 +03:00
Read-Only:
- `cu_d` (Number) Limit on the total volume of storage resources in this resource group, specified in GB.
- `gpu_units` (Number) Limit on the total number of virtual GPUs this resource group can use.
2021-12-29 14:58:42 +03:00
< a id = "nestedblock--timeouts" > < / a >
### Nested Schema for `timeouts`
Optional:
2022-07-27 13:50:03 +03:00
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
2021-12-29 14:58:42 +03:00
2024-08-26 18:22:06 +03:00
< a id = "nestedatt--acl" > < / a >
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)