--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "decort_vins Resource - terraform-provider-decort" subcategory: "" description: |- --- # decort_vins (Resource) ## Schema ### Required - `name` (String) ### Optional - `account_id` (Number) - `desc` (String) Optional user-defined text description of this ViNS. - `dns` (Set of String) - `enable` (Boolean) - `ext_ip_addr` (String) - `ext_net` (Block List, Max: 1) (see [below for nested schema](#nestedblock--ext_net)) - `ext_net_id` (Number) - `force` (Boolean) - `gid` (Number) - `ip` (Block List) (see [below for nested schema](#nestedblock--ip)) - `ipcidr` (String) - `nat_rule` (Block List) (see [below for nested schema](#nestedblock--nat_rule)) - `permanently` (Boolean) - `pre_reservations_num` (Number) - `restore` (Boolean) - `rg_id` (Number) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `vnfdev_redeploy` (Boolean) - `vnfdev_restart` (Boolean) ### Read-Only - `account_name` (String) Name of the account, which this ViNS belongs to. - `computes` (List of Object) (see [below for nested schema](#nestedatt--computes)) - `created_by` (String) - `created_time` (Number) - `default_gw` (String) - `default_qos` (List of Object) (see [below for nested schema](#nestedatt--default_qos)) - `deleted_by` (String) - `deleted_time` (Number) - `guid` (Number) - `id` (String) The ID of this resource. - `lock_status` (String) - `manager_id` (Number) - `manager_type` (String) - `milestones` (Number) - `net_mask` (Number) - `network` (String) - `redundant` (Boolean) - `rg_name` (String) - `sec_vnf_dev_id` (Number) - `status` (String) - `updated_by` (String) - `updated_time` (Number) - `user_managed` (Boolean) - `vins_id` (Number) Unique ID of the ViNS. If ViNS ID is specified, then ViNS name, rg_id and account_id are ignored. - `vnf_dev` (List of Object) (see [below for nested schema](#nestedatt--vnf_dev)) - `vnfs` (List of Object) (see [below for nested schema](#nestedatt--vnfs)) - `vxlan_id` (Number) ### Nested Schema for `ext_net` Optional: - `ext_net_id` (Number) - `ext_net_ip` (Number) ### Nested Schema for `ip` Required: - `type` (String) Optional: - `compute_id` (Number) - `ip_addr` (String) - `mac_addr` (String) ### Nested Schema for `nat_rule` Optional: - `ext_port_end` (Number) - `ext_port_start` (Number) - `int_ip` (String) - `int_port` (Number) - `proto` (String) Read-Only: - `rule_id` (Number) ### Nested Schema for `timeouts` Optional: - `create` (String) - `default` (String) - `delete` (String) - `read` (String) - `update` (String) ### Nested Schema for `computes` Read-Only: - `compute_id` (Number) - `compute_name` (String) ### Nested Schema for `default_qos` Read-Only: - `e_rate` (Number) - `guid` (String) - `in_brust` (Number) - `in_rate` (Number) ### Nested Schema for `vnf_dev` Read-Only: - `_ckey` (String) - `account_id` (Number) - `capabilities` (List of String) - `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config)) - `config_saved` (Boolean) - `custom_pre_cfg` (Boolean) - `desc` (String) - `gid` (Number) - `guid` (Number) - `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces)) - `lock_status` (String) - `milestones` (Number) - `status` (String) - `tech_status` (String) - `type` (String) - `vins` (List of Number) - `vnf_id` (Number) - `vnf_name` (String) ### Nested Schema for `vnf_dev.config` Read-Only: - `mgmt` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--mgmt)) - `resources` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--resources)) ### Nested Schema for `vnf_dev.config.mgmt` Read-Only: - `ip_addr` (String) - `password` (String) - `ssh_key` (String) - `user` (String) ### Nested Schema for `vnf_dev.config.resources` Read-Only: - `cpu` (Number) - `ram` (Number) - `stack_id` (Number) - `uuid` (String) ### Nested Schema for `vnf_dev.interfaces` Read-Only: - `conn_id` (Number) - `conn_type` (String) - `def_gw` (String) - `enabled` (Boolean) - `flipgroup_id` (Number) - `guid` (String) - `ip_address` (String) - `listen_ssh` (Boolean) - `mac` (String) - `name` (String) - `net_id` (Number) - `net_mask` (Number) - `net_type` (String) - `node_id` (Number) - `pci_slot` (Number) - `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces--qos)) - `target` (String) - `type` (String) - `vnfs` (List of Number) ### Nested Schema for `vnf_dev.interfaces.qos` Read-Only: - `e_rate` (Number) - `guid` (String) - `in_brust` (Number) - `in_rate` (Number) ### Nested Schema for `vnfs` Read-Only: - `dhcp` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp)) - `gw` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw)) - `nat` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat)) ### Nested Schema for `vnfs.dhcp` Read-Only: - `_ckey` (String) - `account_id` (Number) - `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config)) - `created_time` (Number) - `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices)) - `dhcp_id` (Number) - `gid` (Number) - `guid` (Number) - `lock_status` (String) - `milestones` (Number) - `owner_id` (Number) - `owner_type` (String) - `pure_virtual` (Boolean) - `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--routes)) - `status` (String) - `tech_status` (String) - `type` (String) ### Nested Schema for `vnfs.dhcp.config` Read-Only: - `default_gw` (String) - `dns` (List of String) - `ip_end` (String) - `ip_start` (String) - `lease` (Number) - `netmask` (Number) - `network` (String) - `reservations` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config--reservations)) ### Nested Schema for `vnfs.dhcp.config.reservations` Read-Only: - `client_type` (String) - `desc` (String) - `domainname` (String) - `hostname` (String) - `ip` (String) - `mac` (String) - `type` (String) - `vm_id` (Number) ### Nested Schema for `vnfs.dhcp.devices` Read-Only: - `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices--primary)) ### Nested Schema for `vnfs.dhcp.devices.primary` Read-Only: - `dev_id` (Number) - `iface01` (String) - `iface02` (String) ### Nested Schema for `vnfs.dhcp.routes` Read-Only: - `compute_ids` (List of Number) - `destination` (String) - `gateway` (String) - `guid` (String) - `netmask` (String) - `route_id` (Number) ### Nested Schema for `vnfs.gw` Read-Only: - `_ckey` (String) - `account_id` (Number) - `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config)) - `created_time` (Number) - `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices)) - `gid` (Number) - `guid` (Number) - `gw_id` (Number) - `lock_status` (String) - `milestones` (Number) - `owner_id` (Number) - `owner_type` (String) - `pure_virtual` (Boolean) - `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--routes)) - `status` (String) - `tech_status` (String) - `type` (String) ### Nested Schema for `vnfs.gw.config` Read-Only: - `default_gw` (String) - `ext_net_id` (Number) - `ext_net_ip` (String) - `ext_netmask` (Number) - `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config--qos)) ### Nested Schema for `vnfs.gw.config.qos` Read-Only: - `e_rate` (Number) - `guid` (String) - `in_brust` (Number) - `in_rate` (Number) ### Nested Schema for `vnfs.gw.devices` Read-Only: - `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices--primary)) ### Nested Schema for `vnfs.gw.devices.primary` Read-Only: - `dev_id` (Number) - `iface01` (String) - `iface02` (String) ### Nested Schema for `vnfs.gw.routes` Read-Only: - `compute_ids` (List of Number) - `destination` (String) - `gateway` (String) - `guid` (String) - `netmask` (String) - `route_id` (Number) ### Nested Schema for `vnfs.nat` Read-Only: - `_ckey` (String) - `account_id` (Number) - `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config)) - `created_time` (Number) - `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices)) - `gid` (Number) - `guid` (Number) - `lock_status` (String) - `milestones` (Number) - `nat_id` (Number) - `owner_id` (Number) - `owner_type` (String) - `pure_virtual` (Boolean) - `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--routes)) - `status` (String) - `tech_status` (String) - `type` (String) ### Nested Schema for `vnfs.nat.config` Read-Only: - `net_mask` (Number) - `network` (String) - `rules` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config--rules)) ### Nested Schema for `vnfs.nat.config.rules` Read-Only: - `local_ip` (String) - `local_port` (Number) - `protocol` (String) - `public_port_end` (Number) - `public_port_start` (Number) - `rule_id` (Number) - `vm_id` (Number) - `vm_name` (String) ### Nested Schema for `vnfs.nat.devices` Read-Only: - `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices--primary)) ### Nested Schema for `vnfs.nat.devices.primary` Read-Only: - `dev_id` (Number) - `iface01` (String) - `iface02` (String) ### Nested Schema for `vnfs.nat.routes` Read-Only: - `compute_ids` (List of Number) - `destination` (String) - `gateway` (String) - `guid` (String) - `netmask` (String) - `route_id` (Number)