Skip to main content

tunnel_cpe_device_configs

Creates, updates, deletes, gets or lists a tunnel_cpe_device_configs resource.

Overview​

Nametunnel_cpe_device_configs
TypeResource
Idoci.network.tunnel_cpe_device_configs

Fields​

The following fields are returned by SELECT queries:

The information was retrieved.

NameDatatypeDescription
tunnelCpeDeviceConfigParameterarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectipscId, tunnelId, regionopc-request-idGets 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 />
updateupdateipscId, tunnelId, regionif-match, opc-retry-token, opc-request-idCreates 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.

NameDatatypeDescription
ipscIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
regionstringOCI 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)
tunnelIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
if-matchstringFor 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-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opc-retry-tokenstringA 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​

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​

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;