Sha256: 0cdca8b02ef8f378554c92a3de0ada4a6d1a784da45388dd980d314329af471c

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

# NicProperties

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **name** | **String** | The name of the  resource. | [optional] |
| **mac** | **String** | The MAC address of the NIC. | [optional][readonly] |
| **ips** | **Array<String>** | Collection of IP addresses, assigned to the NIC. Explicitly assigned public IPs need to come from reserved IP blocks. Passing value null or empty array will assign an IP address automatically. | [optional] |
| **dhcp** | **Boolean** | Indicates if the NIC will reserve an IP using DHCP. | [optional] |
| **lan** | **Integer** | The LAN ID the NIC will be on. If the LAN ID does not exist, it will be implicitly created. |  |
| **firewall_active** | **Boolean** | Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports. | [optional] |
| **firewall_type** | **String** | The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is taken. | [optional] |
| **device_number** | **Integer** | The Logical Unit Number (LUN) of the storage volume. Null if this NIC was create from CloudAPI and no DCD changes were done on the Datacenter. | [optional][readonly] |
| **pci_slot** | **Integer** | The PCI slot number of the NIC. | [optional][readonly] |

## Example

```ruby
require 'ionoscloud'

instance = Ionoscloud::NicProperties.new(
  name: My resource,
  mac: 00:0a:95:9d:68:16,
  ips: null,
  dhcp: true,
  lan: 2,
  firewall_active: false,
  firewall_type: INGRESS,
  device_number: 3,
  pci_slot: 7
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ionoscloud-6.0.0 docs/models/NicProperties.md