Java Downloads Functions
Package: DBMS_CLOUD_OCI_JJD_JAVA_DOWNLOAD
CANCEL_WORK_REQUEST Function
Cancels the work request with the given ID.
Syntax
FUNCTION cancel_work_request (
work_request_id varchar2,
if_match 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_jjd_java_download_cancel_work_request_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The ID of the asynchronous request. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
CREATE_JAVA_DOWNLOAD_REPORT Function
Create a new report in the specified format containing the download details for the tenancy.
Syntax
FUNCTION create_java_download_report (
create_java_download_report_details dbms_cloud_oci_jms_java_downloads_create_java_download_report_details_t,
opc_retry_token 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_jjd_java_download_create_java_download_report_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details for the new report. |
|
(optional) 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 might be rejected. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
CREATE_JAVA_DOWNLOAD_TOKEN Function
Creates a new JavaDownloadToken in the tenancy with specified attributes.
Syntax
FUNCTION create_java_download_token (
create_java_download_token_details dbms_cloud_oci_jms_java_downloads_create_java_download_token_details_t,
opc_retry_token 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_jjd_java_download_create_java_download_token_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details for the new JavaDownloadToken. |
|
(optional) 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 might be rejected. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
CREATE_JAVA_LICENSE_ACCEPTANCE_RECORD Function
Creates a Java license acceptance record for the specified license type in a tenancy.
Syntax
FUNCTION create_java_license_acceptance_record (
create_java_license_acceptance_record_details dbms_cloud_oci_jms_java_downloads_create_java_license_acceptance_record_details_t,
opc_retry_token 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_jjd_java_download_create_java_license_acceptance_record_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details for the new JavaLicenseAcceptanceRecord. |
|
(optional) 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 might be rejected. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
DELETE_JAVA_DOWNLOAD_REPORT Function
Deletes a JavaDownloadReport resource by identifier.
Syntax
FUNCTION delete_java_download_report (
java_download_report_id varchar2,
if_match 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_jjd_java_download_delete_java_download_report_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java download report identifier. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
DELETE_JAVA_DOWNLOAD_TOKEN Function
Deletes a JavaDownloadToken resource by identifier.
Syntax
FUNCTION delete_java_download_token (
java_download_token_id varchar2,
if_match 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_jjd_java_download_delete_java_download_token_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique JavaDownloadToken identifier. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
DELETE_JAVA_LICENSE_ACCEPTANCE_RECORD Function
Deletes a Java license acceptance record with the specified identifier.
Syntax
FUNCTION delete_java_license_acceptance_record (
java_license_acceptance_record_id varchar2,
if_match 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_jjd_java_download_delete_java_license_acceptance_record_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java license acceptance record identifier. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GENERATE_ARTIFACT_DOWNLOAD_URL Function
Generates a short-lived download URL and returns it in the response payload. The returned URL can then be used for downloading the specific Java runtime artifact. Use the GET_JAVA_RELEASE
Function API to get information about available artifacts for a specific release. Each such artifact is uniquely identified by an `artifactId`. Refer JAVA_ARTIFACT
Function for more details.
Syntax
FUNCTION generate_artifact_download_url (
generate_artifact_download_url_details dbms_cloud_oci_jms_java_downloads_generate_artifact_download_url_details_t,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_generate_artifact_download_url_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details for generating download URL for a Java artifact. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_JAVA_DOWNLOAD_REPORT Function
Gets a JavaDownloadReport by the specified identifier.
Syntax
FUNCTION get_java_download_report (
java_download_report_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_jjd_java_download_get_java_download_report_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java download report identifier. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_JAVA_DOWNLOAD_REPORT_CONTENT Function
Retrieve a Java download report with the specified identifier.
Syntax
FUNCTION get_java_download_report_content (
java_download_report_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_jjd_java_download_get_java_download_report_content_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java download report identifier. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_JAVA_DOWNLOAD_TOKEN Function
Gets a JavaDownloadToken by identifier
Syntax
FUNCTION get_java_download_token (
java_download_token_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_jjd_java_download_get_java_download_token_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique JavaDownloadToken identifier. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_JAVA_LICENSE Function
Return details of the specified Java license type.
Syntax
FUNCTION get_java_license (
license_type varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_get_java_license_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java license type. Allowed values are: 'OTN', 'NFTC', 'RESTRICTED' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_JAVA_LICENSE_ACCEPTANCE_RECORD Function
Returns a specific Java license acceptance record in a tenancy.
Syntax
FUNCTION get_java_license_acceptance_record (
java_license_acceptance_record_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_jjd_java_download_get_java_license_acceptance_record_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java license acceptance record identifier. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
GET_WORK_REQUEST Function
Gets details of the work request with the given ID.
Syntax
FUNCTION get_work_request (
work_request_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_jjd_java_download_get_work_request_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The ID of the asynchronous request. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_JAVA_DOWNLOAD_RECORDS Function
Returns a list of Java download records in a tenancy based on specified parameters. See LIST_JAVA_RELEASES
Function for possible values of `javaFamilyVersion` and `javaReleaseVersion` parameters.
Syntax
FUNCTION list_java_download_records (
compartment_id varchar2,
family_version varchar2 DEFAULT NULL,
release_version varchar2 DEFAULT NULL,
os_family varchar2 DEFAULT NULL,
architecture varchar2 DEFAULT NULL,
package_type_detail varchar2 DEFAULT NULL,
time_start timestamp with time zone DEFAULT NULL,
time_end timestamp with time zone 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_jjd_java_download_list_java_download_records_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the tenancy. |
|
(optional) Unique Java family version identifier. |
|
(optional) Unique Java release version identifier. |
|
(optional) Target Operating System family of the artifact. |
|
(optional) Target Operating System architecture of the artifact. |
|
(optional) Packaging type detail of the artifact. |
|
(optional) The start of the time period for which reports are searched (formatted according to RFC3339). |
|
(optional) The end of the time period for which reports are searched (formatted according to RFC3339). |
|
(optional) The maximum number of items to return. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) If no value is specified _timeDownloaded_ is default. Allowed values are: 'timeDownloaded', 'downloadSourceId', 'downloadType' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_JAVA_DOWNLOAD_REPORTS Function
Returns a list of JavaDownloadReports.
Syntax
FUNCTION list_java_download_reports (
compartment_id varchar2,
lifecycle_state varchar2 DEFAULT NULL,
display_name varchar2 DEFAULT NULL,
java_download_report_id 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_jjd_java_download_list_java_download_reports_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the tenancy. |
|
(optional) A filter to return only resources their lifecycleState matches the given lifecycleState. Allowed values are: 'ACTIVE', 'CREATING', 'DELETED', 'DELETING', 'FAILED', 'NEEDS_ATTENTION', 'UPDATING' |
|
(optional) A filter to return only resources that match the display name. |
|
(optional) Unique Java download report identifier. |
|
(optional) The maximum number of items to return. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) The field to sort by. If no value is specified, _timeCreated_ is the default. Allowed values are: 'timeCreated', 'displayName' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_JAVA_DOWNLOAD_TOKENS Function
Returns a list of JavaDownloadTokens.
Syntax
FUNCTION list_java_download_tokens (
compartment_id varchar2,
lifecycle_state varchar2 DEFAULT NULL,
display_name varchar2 DEFAULT NULL,
id varchar2 DEFAULT NULL,
value varchar2 DEFAULT NULL,
family_version varchar2 DEFAULT NULL,
search_by_user 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_jjd_java_download_list_java_download_tokens_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the tenancy. |
|
(optional) A filter to return only resources their lifecycleState matches the given lifecycleState. Allowed values are: 'ACTIVE', 'CREATING', 'DELETED', 'DELETING', 'FAILED', 'NEEDS_ATTENTION', 'UPDATING' |
|
(optional) A filter to return only resources that match the entire display name given. |
|
(optional) Unique JavaDownloadToken identifier. |
|
(optional) Unique JavaDownloadToken value. |
|
(optional) Unique Java family version identifier. |
|
(optional) A filter to return only resources that match the user principal detail. The search string can be any of the property values from the |
|
(optional) The maximum number of items to return. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) The field to sort by. If no value is specified, _timeCreated_ is the default. Allowed values are: 'timeCreated', 'timeExpires', 'state', 'displayName', 'javaVersion' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_JAVA_LICENSE_ACCEPTANCE_RECORDS Function
Returns a list of all the Java license acceptance records in a tenancy.
Syntax
FUNCTION list_java_license_acceptance_records (
compartment_id varchar2,
search_by_user varchar2 DEFAULT NULL,
id varchar2 DEFAULT NULL,
license_type varchar2 DEFAULT NULL,
status 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_jjd_java_download_list_java_license_acceptance_records_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the tenancy. |
|
(optional) A filter to return only resources that match the user principal detail. The search string can be any of the property values from the |
|
(optional) Unique Java license acceptance record identifier. |
|
(optional) Unique Java license type. Allowed values are: 'OTN', 'NFTC', 'RESTRICTED' |
|
(optional) The status of license acceptance. Allowed values are: 'ACCEPTED', 'REVOKED' |
|
(optional) The maximum number of items to return. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) The field to sort by. If no value is specified, _timeAccepted_ is the default. Allowed values are: 'timeAccepted', 'timeLastUpdated', 'licenseAcceptanceStatus' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_JAVA_LICENSES Function
Return a list with details of all Java licenses.
Syntax
FUNCTION list_java_licenses (
license_type varchar2 DEFAULT NULL,
display_name 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_jjd_java_download_list_java_licenses_response_t;
Parameters
Parameter | Description |
---|---|
|
(optional) Unique Java license type. Allowed values are: 'OTN', 'NFTC', 'RESTRICTED' |
|
(optional) A filter to return only resources that match the display name. |
|
(optional) The maximum number of items to return. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) The field to sort by. If no value is specified, _licenseType_ is the default. Allowed values are: 'licenseType', 'displayName' |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_WORK_REQUEST_ERRORS Function
Returns a (paginated) list of errors for the work request with the given ID.
Syntax
FUNCTION list_work_request_errors (
work_request_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_list_work_request_errors_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The ID of the asynchronous request. |
|
(optional) The client request ID for tracing. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The maximum number of items to return. |
|
(optional) The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. Allowed values are: 'timestamp' |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_WORK_REQUEST_LOGS Function
Returns a (paginated) list of logs for the work request with the given ID.
Syntax
FUNCTION list_work_request_logs (
work_request_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_list_work_request_logs_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The ID of the asynchronous request. |
|
(optional) The client request ID for tracing. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The maximum number of items to return. |
|
(optional) The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. Allowed values are: 'timestamp' |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
LIST_WORK_REQUESTS Function
Lists the work requests in a tenancy.
Syntax
FUNCTION list_work_requests (
compartment_id varchar2,
id varchar2 DEFAULT NULL,
status varchar2 DEFAULT NULL,
resource_id varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_list_work_requests_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the tenancy. |
|
(optional) The ID of an asynchronous work request. |
|
(optional) A filter to return only resources their lifecycleState matches the given OperationStatus. Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'WAITING', 'NEEDS_ATTENTION', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED' |
|
(optional) The ID of the resource affected by the work request. |
|
(optional) The client request ID for tracing. |
|
(optional) The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. |
|
(optional) The maximum number of items to return. |
|
(optional) The sort order, either 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. Allowed values are: 'timeAccepted' |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
REQUEST_SUMMARIZED_JAVA_DOWNLOAD_COUNTS Function
Returns list of download counts grouped by the specified property.
Syntax
FUNCTION request_summarized_java_download_counts (
request_summarized_java_download_counts_details dbms_cloud_oci_jms_java_downloads_request_summarized_java_download_counts_details_t,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_jjd_java_download_request_summarized_java_download_counts_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details for retreiving the summary of download counts. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
UPDATE_JAVA_DOWNLOAD_TOKEN Function
Updates the JavaDownloadToken specified by the identifier.
Syntax
FUNCTION update_java_download_token (
java_download_token_id varchar2,
update_java_download_token_details dbms_cloud_oci_jms_java_downloads_update_java_download_token_details_t,
if_match 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_jjd_java_download_update_java_download_token_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique JavaDownloadToken identifier. |
|
(required) The attributes to be updated. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |
UPDATE_JAVA_LICENSE_ACCEPTANCE_RECORD Function
Updates a specific Java license acceptance record in a tenancy.
Syntax
FUNCTION update_java_license_acceptance_record (
java_license_acceptance_record_id varchar2,
update_java_license_acceptance_record_details dbms_cloud_oci_jms_java_downloads_update_java_license_acceptance_record_details_t,
if_match 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_jjd_java_download_update_java_license_acceptance_record_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Java license acceptance record identifier. |
|
(required) Attributes for updating the JavaLicenseAcceptanceRecord. |
|
(optional) 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. |
|
(optional) The client request ID for tracing. |
|
(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://javamanagementservice-download.{region}.oci.{secondLevelDomain}.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. |