github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/opc/r/opc_compute_ip_reservation.html.markdown (about)

     1  ---
     2  layout: "opc"
     3  page_title: "Oracle: opc_compute_ip_reservation"
     4  sidebar_current: "docs-opc-resource-ip-reservation"
     5  description: |-
     6    Creates and manages an IP reservation in an OPC identity domain for the Shared Network.
     7  ---
     8  
     9  # opc\_compute\_ip\_reservation
    10  
    11  The ``opc_compute_ip_reservation`` resource creates and manages an IP reservation in an OPC identity domain for the Shared Network.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "opc_compute_ip_reservation" "reservation1" {
    17    parent_pool = "/oracle/public/ippool"
    18    permanent   = true
    19    tags        = [ "test" ]
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `parent_pool` - (Required) The pool from which to allocate the IP address.
    28  
    29  * `permanent` - (Required) Whether the IP address remains reserved even when it is no longer associated with an instance
    30  (if true), or may be returned to the pool and replaced with a different IP address when an instance is restarted, or
    31  deleted and recreated (if false).
    32  
    33  * `name` - (Optional) Name of the IP Reservation. Will be generated if unspecified.
    34  
    35  * `tags` - (Optional) List of tags that may be applied to the IP reservation.
    36  
    37  ## Import
    38  
    39  IP Reservations can be imported using the `resource name`, e.g.
    40  
    41  ```shell
    42  $ terraform import opc_compute_ip_reservations.reservation1 example
    43  ```