Sha256: 00b73edcc2e7482107fc41e671f35ab4d5cb92f20d64582bbbf3723d88af9458

Contents?: true

Size: 1.69 KB

Versions: 4

Compression:

Stored size: 1.69 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 used. | [optional] |
| **device_number** | **Integer** | The Logical Unit Number (LUN) of the storage volume. Null if this NIC was created using Cloud API and no DCD changes were performed on the Datacenter. | [optional][readonly] |
| **pci_slot** | **Integer** | The PCI slot number for 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

4 entries across 4 versions & 1 rubygems

Version Path
ionoscloud-6.1.1 docs/models/NicProperties.md
ionoscloud-6.1.0 docs/models/NicProperties.md
ionoscloud-6.0.2 docs/models/NicProperties.md
ionoscloud-6.0.1 docs/models/NicProperties.md