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

     1  ---
     2  layout: "opc"
     3  page_title: "Oracle: opc_compute_security_application"
     4  sidebar_current: "docs-opc-resource-security-application"
     5  description: |-
     6    Creates and manages a security application in an OPC identity domain.
     7  ---
     8  
     9  # opc\_compute\_security\_application
    10  
    11  The ``opc_compute_security_application`` resource creates and manages a security application in an OPC identity domain.
    12  
    13  ## Example Usage (TCP)
    14  
    15  ```hcl
    16  resource "opc_compute_security_application" "tomcat" {
    17    name     = "tomcat"
    18    protocol = "tcp"
    19    dport    = "8080"
    20  }
    21  ```
    22  
    23  ## Example Usage (ICMP)
    24  
    25  ```hcl
    26  resource "opc_compute_security_application" "tomcat" {
    27    name     = "tomcat"
    28    protocol = "icmp"
    29    icmptype = "echo"
    30    icmpcode = "protocol"
    31  }
    32  ```
    33  
    34  ## Argument Reference
    35  
    36  The following arguments are supported:
    37  
    38  * `name` - (Required) The unique (within the identity domain) name of the application
    39  
    40  * `protocol` - (Required) The protocol to enable for this application. Must be one of
    41  `tcp`, `udp`, `ah`, `esp`, `icmp`, `icmpv6`, `igmp`, `ipip`, `gre`, `mplsip`, `ospf`, `pim`, `rdp`, `sctp` or `all`.
    42  
    43  * `dport` - (Required) The port, or range of ports, to enable for this application, e.g `8080`, `6000-7000`. This must be set if the `protocol` is set to `tcp` or `udp`.
    44  
    45  * `icmptype` - (Optional) The ICMP type to enable for this application, if the `protocol` is `icmp`. Must be one of
    46  `echo`, `reply`, `ttl`, `traceroute`, `unreachable`.
    47  
    48  * `icmpcode` - (Optional) The ICMP code to enable for this application, if the `protocol` is `icmp`. Must be one of
    49  `admin`, `df`, `host`, `network`, `port` or `protocol`.
    50  
    51  ## Import
    52  
    53  Security Application's can be imported using the `resource name`, e.g.
    54  
    55  ```shell
    56  $ terraform import opc_compute_security_application.application1 example
    57  ```