tunnel_cpe_device_configs
Creates, updates, deletes, gets or lists a tunnel_cpe_device_configs resource.
Overview​
| Name | tunnel_cpe_device_configs |
| Type | Resource |
| Id | oci.network.tunnel_cpe_device_configs |
Fields​
The following fields are returned by SELECT queries:
- get
The information was retrieved.
| Name | Datatype | Description |
|---|---|---|
tunnelCpeDeviceConfigParameter | array |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | ipscId, tunnelId, region | opc-request-id | Gets the set of CPE configuration answers for the tunnel, which the customer provided in<br />[UpdateTunnelCpeDeviceConfig](#/en/iaas/latest/TunnelCpeDeviceConfig/UpdateTunnelCpeDeviceConfig).<br />To get the full set of content for the tunnel (any answers merged with the template of other<br />information specific to the CPE device type), use<br />[GetTunnelCpeDeviceConfigContent](#/en/iaas/latest/TunnelCpeDeviceConfig/GetTunnelCpeDeviceConfigContent).<br /> |
update | update | ipscId, tunnelId, region | if-match, opc-retry-token, opc-request-id | Creates or updates the set of CPE configuration answers for the specified tunnel.<br />The answers correlate to the questions that are specific to the CPE device type (see the<br />parameters attribute of [CpeDeviceShapeDetail](#/en/iaas/latest/CpeDeviceShapeDetail/)).<br /> |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ipscId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
tunnelId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. |
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
opc-request-id | string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
SELECT examples​
- get
Gets the set of CPE configuration answers for the tunnel, which the customer provided in<br />[UpdateTunnelCpeDeviceConfig](#/en/iaas/latest/TunnelCpeDeviceConfig/UpdateTunnelCpeDeviceConfig).<br />To get the full set of content for the tunnel (any answers merged with the template of other<br />information specific to the CPE device type), use<br />[GetTunnelCpeDeviceConfigContent](#/en/iaas/latest/TunnelCpeDeviceConfig/GetTunnelCpeDeviceConfigContent).<br />
SELECT
tunnelCpeDeviceConfigParameter
FROM oci.network.tunnel_cpe_device_configs
WHERE ipscId = '{{ ipscId }}' -- required
AND tunnelId = '{{ tunnelId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;
UPDATE examples​
- update
Creates or updates the set of CPE configuration answers for the specified tunnel.<br />The answers correlate to the questions that are specific to the CPE device type (see the<br />parameters attribute of [CpeDeviceShapeDetail](#/en/iaas/latest/CpeDeviceShapeDetail/)).<br />
UPDATE oci.network.tunnel_cpe_device_configs
SET
tunnelCpeDeviceConfig = '{{ tunnelCpeDeviceConfig }}'
WHERE
ipscId = '{{ ipscId }}' --required
AND tunnelId = '{{ tunnelId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-retry-token = '{{ opc-retry-token}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
tunnelCpeDeviceConfigParameter;