---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_bservice Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_bservice (Resource)
## Schema
### Required
- **rg_id** (Number) ID of the Resource Group where this service will be placed
- **service_name** (String) Name of the service
### Optional
- **enable** (Boolean) if set to False, Basic service will be deleted to recycle bin. Otherwise destroyed immediately
- **id** (String) The ID of this resource.
- **permanently** (Boolean) if set to False, Basic service will be deleted to recycle bin. Otherwise destroyed immediately
- **restore** (Boolean) Restores BasicService instance
- **service_id** (Number)
- **snapshots** (Block List) (see [below for nested schema](#nestedblock--snapshots))
- **ssh_key** (String) SSH key to deploy for the specified user. Same key will be deployed to all computes of the service.
- **ssh_user** (String) name of the user to deploy SSH key for. Pass empty string if no SSH key deployment is required
- **start** (Boolean) Start service. Starting a service technically means starting computes from all service groups according to group relations
- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- **account_id** (Number)
- **account_name** (String)
- **base_domain** (String)
- **computes** (List of Object) (see [below for nested schema](#nestedatt--computes))
- **cpu_total** (Number)
- **created_by** (String)
- **created_time** (Number)
- **deleted_by** (String)
- **deleted_time** (Number)
- **disk_total** (String)
- **gid** (Number)
- **groups** (List of Number)
- **groups_name** (List of String)
- **guid** (Number)
- **milestones** (Number)
- **parent_srv_id** (Number)
- **parent_srv_type** (String)
- **ram_total** (Number)
- **rg_name** (String)
- **status** (String)
- **tech_status** (String)
- **updated_by** (String)
- **updated_time** (Number)
- **user_managed** (Boolean)
### Nested Schema for `snapshots`
Optional:
- **label** (String)
- **rollback** (Boolean)
Read-Only:
- **guid** (String)
- **timestamp** (Number)
- **valid** (Boolean)
### Nested Schema for `timeouts`
Optional:
- **create** (String)
- **default** (String)
- **delete** (String)
- **read** (String)
- **update** (String)
### Nested Schema for `computes`
Read-Only:
- **compgroup_id** (Number)
- **compgroup_name** (String)
- **compgroup_role** (String)
- **id** (Number)
- **name** (String)