Operator Access Control Operator Actions Functions

Package: DBMS_CLOUD_OCI_OAC_OPERATOR_ACTIONS

GET_OPERATOR_ACTION Function

Gets the operator action associated with the specified operator action ID.

Syntax

FUNCTION get_operator_action (
  operator_action_id varchar2,
  opc_request_id varchar2 DEFAULT NULL,
  region varchar2 DEFAULT NULL, 
  endpoint varchar2 DEFAULT NULL,
  credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_oac_operator_actions_get_operator_action_response_t;

Parameters

Parameter Description

operator_action_id

(required) Unique Oracle supplied identifier associated with the operator action.

opc_request_id

(optional) The client request ID for tracing.

region

(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).

endpoint

(optional) The endpoint of the service to call using this function. e.g https://operator-access-control.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence.

credential_name

(optional) The name of the credential for authenticating with the corresponding cloud native API.

LIST_OPERATOR_ACTIONS Function

Lists all the OperatorActions available in the system.

Syntax

FUNCTION list_operator_actions (
  compartment_id varchar2,
  name varchar2 DEFAULT NULL,
  resource_type varchar2 DEFAULT NULL,
  lifecycle_state varchar2 DEFAULT NULL,
  limit number DEFAULT NULL,
  page varchar2 DEFAULT NULL,
  sort_order varchar2 DEFAULT NULL,
  sort_by varchar2 DEFAULT NULL,
  opc_request_id varchar2 DEFAULT NULL,
  region varchar2 DEFAULT NULL, 
  endpoint varchar2 DEFAULT NULL,
  credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_oac_operator_actions_list_operator_actions_response_t;

Parameters

Parameter Description

compartment_id

(required) The ID of the compartment in which to list resources.

name

(optional) A filter to return only resources that match the entire display name given.

resource_type

(optional) A filter to return only lists of resources that match the entire given service type.

lifecycle_state

(optional) A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

Allowed values are: 'ACTIVE', 'INACTIVE'

limit

(optional) The maximum number of items to return.

page

(optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

sort_order

(optional) The sort order to use, either 'asc' or 'desc'.

Allowed values are: 'ASC', 'DESC'

sort_by

(optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.

Allowed values are: 'timeCreated', 'displayName'

opc_request_id

(optional) The client request ID for tracing.

region

(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).

endpoint

(optional) The endpoint of the service to call using this function. e.g https://operator-access-control.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence.

credential_name

(optional) The name of the credential for authenticating with the corresponding cloud native API.