Sha256: 8a069878d8735419f942822a4b4962d0648102d5251c24925f282c278cee22a4

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

# FirewallruleProperties

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **name** | **String** | A name of that resource | [optional] |
| **protocol** | **String** | The protocol for the rule. Property cannot be modified after creation (disallowed in update requests) |  |
| **source_mac** | **String** | Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows all source MAC address | [optional] |
| **source_ip** | **String** | Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs | [optional] |
| **target_ip** | **String** | In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed. Value null allows all target IPs | [optional] |
| **icmp_code** | **Integer** | Defines the allowed code (from 0 to 254) if protocol ICMP is chosen. Value null allows all codes | [optional] |
| **icmp_type** | **Integer** | Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen. Value null allows all types | [optional] |
| **port_range_start** | **Integer** | Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports | [optional] |
| **port_range_end** | **Integer** | Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports | [optional] |

## Example

```ruby
require 'ionoscloud'

instance = Ionoscloud::FirewallruleProperties.new(
  name: My resource,
  protocol: TCP,
  source_mac: 00:0a:95:9d:68:16,
  source_ip: 22.231.113.64,
  target_ip: 22.231.113.64,
  icmp_code: 0,
  icmp_type: 8,
  port_range_start: 8,
  port_range_end: 8
)
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ionoscloud-5.1.2 docs/models/FirewallruleProperties.md
ionoscloud-5.1.1 docs/models/FirewallruleProperties.md
ionoscloud-5.1.0 docs/FirewallruleProperties.md
ionoscloud-5.0.1 docs/FirewallruleProperties.md