You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.5 KiB
102 lines
2.5 KiB
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "decort_bservice Resource - decort"
|
|
subcategory: ""
|
|
description: |-
|
|
|
|
---
|
|
|
|
# decort_bservice (Resource)
|
|
|
|
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## 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
|
|
- `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)
|
|
- `id` (String) The ID of this resource.
|
|
- `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)
|
|
|
|
<a id="nestedblock--snapshots"></a>
|
|
### Nested Schema for `snapshots`
|
|
|
|
Optional:
|
|
|
|
- `label` (String)
|
|
- `rollback` (Boolean)
|
|
|
|
Read-Only:
|
|
|
|
- `guid` (String)
|
|
- `timestamp` (Number)
|
|
- `valid` (Boolean)
|
|
|
|
|
|
<a id="nestedblock--timeouts"></a>
|
|
### Nested Schema for `timeouts`
|
|
|
|
Optional:
|
|
|
|
- `create` (String)
|
|
- `default` (String)
|
|
- `delete` (String)
|
|
- `read` (String)
|
|
- `update` (String)
|
|
|
|
|
|
<a id="nestedatt--computes"></a>
|
|
### Nested Schema for `computes`
|
|
|
|
Read-Only:
|
|
|
|
- `compgroup_id` (Number)
|
|
- `compgroup_name` (String)
|
|
- `compgroup_role` (String)
|
|
- `id` (Number)
|
|
- `name` (String)
|
|
|
|
|