Sha256: 8528c3c1900f6334cedb134170f5292675e6f377c66e03ec99f5f1a7bbb9e5b2

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 KB

Contents

# IpApi::IpBlock

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **id** | **String** | IP Block identifier. |  |
| **location** | **String** | IP Block location ID. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. |  |
| **cidr_block_size** | **String** | CIDR IP Block Size. Currently this field should be set to either `/31`, `/30`, `/29`, `/28`, `/27`, `/26`, `/25`, `/24`, `/23` or `/22`. |  |
| **cidr** | **String** | The IP Block in CIDR notation. |  |
| **status** | **String** | The status of the IP Block. |  |
| **assigned_resource_id** | **String** | ID of the resource assigned to the IP Block. | [optional] |
| **assigned_resource_type** | **String** | Type of the resource assigned to the IP Block. | [optional] |
| **description** | **String** | The description of the IP Block. | [optional] |
| **tags** | [**Array<TagAssignment>**](TagAssignment.md) | The tags assigned if any. | [optional] |
| **is_bring_your_own** | **Boolean** | True if the IP block is a `bring your own` block. |  |
| **created_on** | **Time** | Date and time when the IP block was created. |  |

## Example

```ruby
require 'pnap_ip_api'

instance = IpApi::IpBlock.new(
  id: 6047127fed34ecc3ba8402d2,
  location: PHX,
  cidr_block_size: /30,
  cidr: 1.1.1.0/31,
  status: unassigned,
  assigned_resource_id: 6047127fed34ecc3ba8402d2,
  assigned_resource_type: server,
  description: IP Block #1 used for publicly accessing server #1.,
  tags: [{"name":"stage","value":"beta"},{"name":"group","value":"discounted"}],
  is_bring_your_own: false,
  created_on: 2021-03-13T20:24:32.491Z
)
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pnap_ip_api-1.1.5 docs/IpBlock.md
pnap_ip_api-1.1.4 docs/IpBlock.md
pnap_ip_api-1.1.3 docs/IpBlock.md
pnap_ip_api-1.1.2 docs/IpBlock.md
pnap_ip_api-1.1.1 docs/IpBlock.md
pnap_ip_api-1.1.0 docs/IpBlock.md