OSP Gateway Address Rule Service Functions
Package: DBMS_CLOUD_OCI_OG_ADDRESS_RULE_SERVICE
GET_ADDRESS_RULE Function
Get the address rule for the compartment based on the country code
Syntax
FUNCTION get_address_rule (
osp_home_region varchar2,
compartment_id varchar2,
country_code varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_og_address_rule_service_get_address_rule_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The home region's public name of the logged in user. |
|
(required) The OCID of the compartment. |
|
(required) Country code for the address rule in ISO-3166-1 2-letter format. |
|
(optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://ospap.oracle.com.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |