Sha256: 52ae240987a041050d881f4a4d301e475089ed0435c010804744184e8e57bceb

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

# ApplicationLoadBalancerHttpRuleCondition

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |

| **condition** | **String** | The matching rule for the HTTP rule condition attribute; this parameter is mandatory for 'HEADER', 'PATH', 'QUERY', 'METHOD', 'HOST', and 'COOKIE' types. It must be 'null' if the type is 'SOURCE_IP'. |  |

| **key** | **String** | The key can only be set when the HTTP rule condition type is 'COOKIES', 'HEADER', or 'QUERY'. For the type 'PATH', 'METHOD', 'HOST', or 'SOURCE_IP' the value must be 'null'. | [optional] |

| **negate** | **Boolean** | Specifies whether the condition should be negated; the default value is 'FALSE'. | [optional] |

| **type** | **String** | The HTTP rule condition type. |  |

| **value** | **String** | This parameter is mandatory for the conditions 'CONTAINS', 'EQUALS', 'MATCHES', 'STARTS_WITH', 'ENDS_WITH', or if the type is 'SOURCE_IP'. Specify a valid CIDR. If the condition is 'EXISTS', the value must be 'null'. | [optional] |

## Example

```ruby
require 'ionoscloud'


instance = Ionoscloud::ApplicationLoadBalancerHttpRuleCondition.new(
  condition: STARTS_WITH,

  key: forward-at,

  negate: false,

  type: HEADER,

  value: Friday
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ionoscloud-6.1.2 docs/models/ApplicationLoadBalancerHttpRuleCondition.md