--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "dynamix_vins Resource - terraform-provider-dynamix" subcategory: "" description: |- --- # dynamix_vins (Resource) ## Schema ### Required - `name` (String) vins name ### Optional - `account_id` (Number) account id, used for creating vins in account - `desc` (String) description, used for creating vins either in resource group or in account - `dns` (Set of String) list of DNS ip address - `enable` (Boolean) flag to enable/disable vins - `ext_net` (Attributes) connect/disconnect vins to/from external network (see [below for nested schema](#nestedatt--ext_net)) - `force` (Boolean) flag to force delete of non-empty vins - `gid` (Number) grid (platform) ID, used for creating vins in account - `ip` (Attributes List) ip reserve/release (see [below for nested schema](#nestedatt--ip)) - `ipcidr` (String) private network IP CIDR, used for creating vins either in resource group or in account - `nat_rule` (Attributes List) create/delete NAT (port forwarding rule) on vins (see [below for nested schema](#nestedatt--nat_rule)) - `permanently` (Boolean) flag to delete vins permanently - `pre_reservations_num` (Number) number of pre created reservations, used for creating vins either in resource group or in account - `restore` (Boolean) flag to restore vins - `rg_id` (Number) resource group id, used for creating vins in resource group - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `vnfdev_redeploy` (Boolean) flag to redeploy vnfdev - `vnfdev_restart` (Boolean) flag to restart vnfdev ### Read-Only - `account_name` (String) - `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes)) - `created_by` (String) - `created_time` (Number) - `default_gw` (String) - `default_qos` (Attributes) (see [below for nested schema](#nestedatt--default_qos)) - `deleted_by` (String) - `deleted_time` (Number) - `guid` (Number) - `id` (String) The ID of this resource. - `last_updated` (String) - `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` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev)) - `vnfs` (Attributes) (see [below for nested schema](#nestedatt--vnfs)) - `vxlan_id` (Number) ### Nested Schema for `ext_net` Optional: - `ext_net_id` (Number) external network ID - `ext_net_ip` (String) directly set IP address ### Nested Schema for `ip` Required: - `type` (String) type of the reservation Optional: - `compute_id` (Number) ID of the compute, associated with this reservation of type DHCP. Ignored for other types. - `ip_addr` (String) IP address to use. Non-empty string is required for type EXCLUDE. Ignored for types DHCP and VIP. - `mac_addr` (String) MAC address to associate with IP reservation. Ignored for type EXCLUDE, non-empty string is required for DHCP and VIP. ### Nested Schema for `nat_rule` Required: - `ext_port_start` (Number) external IP start port to use for this rule - `int_ip` (String) internal IP address to apply this rule to Optional: - `ext_port_end` (Number) external IP end port to use for this rule - `int_port` (Number) internal IP port number to use for this rule - `proto` (String) IP protocol type (tcp or udp) Read-Only: - `rule_id` (Number) rule id ### Nested Schema for `timeouts` Optional: - `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. - `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. - `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). ### 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_burst` (Number) - `in_rate` (Number) ### Nested Schema for `vnf_dev` Read-Only: - `account_id` (Number) - `capabilities` (List of String) - `ckey` (String) - `config` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--config)) - `config_saved` (Boolean) - `custom_pre_cfg` (Boolean) - `desc` (String) - `gid` (Number) - `guid` (Number) - `interfaces` (Attributes List) (see [below for nested schema](#nestedatt--vnf_dev--interfaces)) - `lock_status` (String) - `milestones` (Number) - `status` (String) - `tech_status` (String) - `type` (String) - `vins` (List of Number) - `vnc_password` (String) - `vnf_id` (Number) - `vnf_name` (String) ### Nested Schema for `vnf_dev.config` Read-Only: - `mgmt` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--config--mgmt)) - `resources` (Attributes) (see [below for nested schema](#nestedatt--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: - `bus_number` (Number) - `conn_id` (Number) - `conn_type` (String) - `def_gw` (String) - `enabled` (Boolean) - `flipgroup_id` (Number) - `guid` (String) - `ip_address` (String) - `libvirt_settings` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--interfaces--libvirt_settings)) - `listen_ssh` (Boolean) - `mac` (String) - `mtu` (Number) - `name` (String) - `net_id` (Number) - `net_mask` (Number) - `net_type` (String) - `node_id` (Number) - `pci_slot` (Number) - `qos` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--interfaces--qos)) - `target` (String) - `type` (String) - `vnfs` (List of Number) ### Nested Schema for `vnf_dev.interfaces.libvirt_settings` Read-Only: - `event_idx` (String) - `guid` (String) - `ioeventfd` (String) - `queues` (Number) - `rx_queue_size` (Number) - `tx_queue_size` (Number) - `txmode` (String) ### Nested Schema for `vnf_dev.interfaces.qos` Read-Only: - `e_rate` (Number) - `guid` (String) - `in_burst` (Number) - `in_rate` (Number) ### Nested Schema for `vnfs` Read-Only: - `dhcp` (Attributes) (see [below for nested schema](#nestedatt--vnfs--dhcp)) - `gw` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw)) - `nat` (Attributes) (see [below for nested schema](#nestedatt--vnfs--nat)) ### Nested Schema for `vnfs.dhcp` Read-Only: - `account_id` (Number) - `ckey` (String) - `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--dhcp--config)) - `created_time` (Number) - `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--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: - `account_id` (Number) - `ckey` (String) - `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw--config)) - `created_time` (Number) - `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw--config--qos)) ### Nested Schema for `vnfs.gw.config.qos` Read-Only: - `e_rate` (Number) - `guid` (String) - `in_burst` (Number) - `in_rate` (Number) ### Nested Schema for `vnfs.gw.devices` Read-Only: - `primary` (Attributes) (see [below for nested schema](#nestedatt--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: - `account_id` (Number) - `ckey` (String) - `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--nat--config)) - `created_time` (Number) - `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--nat--routes)) - `status` (String) - `tech_status` (String) - `type` (String) ### Nested Schema for `vnfs.nat.config` Read-Only: - `net_mask` (Number) - `network` (String) - `rules` (Attributes List) (see [below for nested schema](#nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--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)