Skip to main content

protocols

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

Overview​

Nameprotocols
TypeResource
Idoci.load_balancer.protocols

Fields​

The following fields are returned by SELECT queries:

A protocol that defines the type of traffic accepted by a listener.

NameDatatypeDescription
namestringThe name of a protocol. Example: 'HTTP'

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionopc-request-id, limit, pageLists all supported traffic protocols.

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
compartmentIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer protocols to list.
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)
limitinteger (int64)For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 50
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 3

SELECT examples​

Lists all supported traffic protocols.

SELECT
name
FROM oci.load_balancer.protocols
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
;