Questions tagged [oci-java-sdk]

Oracle Cloud infrastructure is an infrastructure cloud computing service offered by Oracle Corporation.By using Java SDK you can install, configure Oracle Cloud Infrastructure.Use this tag for questions referring to the oci or Java platform sdk.

Useful Resources:

Related Tags:

44 questions
0
votes
2 answers

Gradle setup for OCI Java SDK in Intellij

I'm trying to setup Gradle for OCI Java SDK using implementation 'com.oracle.oci.sdk:oci-java-sdk-bom:1.8.0' provided in https://search.maven.org/artifact/com.oracle.oci.sdk/oci-java-sdk-bom/1.8.0/pom and getting Plugin not found error. How can I…
akshay
  • 207
  • 1
  • 2
  • 7
0
votes
1 answer

Why is the region key in Instance OCID is in different format for all regions? [Oracle Cloud Infrastructure]

For Frankfurt region, Instance OCID looks like below. ocid1.instance.oc1.eu-frankfurt-1.abtheljt2tihcyimx3skqhargaklttvljkiueoiqtzzzzzzzzzzzzzzzzzzzzzzzz For Ashburn region, Instance OCID looks like…
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
1 answer

Can we use the same signer object to sign all the requests?

I need to make mutiple rest api calls for fetching instance, volume and vnic details. Can i reuse the same signer object created for signing the other calls? Signer object method public RequestSigner getSigner(Properties properties, String…
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
1 answer

How to fetch all the compute metrics in one REST API call?

I need to fetch all the compute metrics (CPUUtilization, MemoryUtilization, ....) in one rest api call. Currently, in documentation we can fetch only one metric related values at a time. Is there a way to achieve this? Note: I need data for the last…
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
0 answers

Instance ocid.instance.oc1.eu-frankfurt-1.xxxxxxxxxxxxxxxxxxxxxxxx not found

Code looks like below. String instanceId = "ocid1.instance.oc1.eu-frankfurt-1.abtheljsmrq3yox36wukah52yaeswh6jc4vwjfkc46jxe4nwgnmga7nm7bpq"; String configurationFilePath = "~/.oci/config.txt"; String profile = "DEFAULT"; …
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
1 answer

What are the various metrics for Oracle Cloud Compute VM? What is the REST API for fetching all the metrics?

Any API sample is available with request and response? I have went through oracle cloud documentation, there are no samples only rest end point is available.
0
votes
1 answer

REST API or Java SDK, Which is preferable for monitoring Oracle Cloud Compute VM?

Which one makes process easier, minimum lines to code and easy to use.
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
1 answer

Do we need to enable monitoring for VM in order to monitor Oracle Cloud Compute VM using REST API or Java SDK?

We have to set policy in IAM for API users in order to be authorized. Other than this, any thing has to done? Also in different ways of monitoring (REST API, Java SDK, using Oracle Cloud Agent), In which way we need to 'Enable Monitoring'?
karthik_varma_k
  • 353
  • 4
  • 26
0
votes
1 answer

How can I used Oracle cloud infrastructure JAVA SDK in .Net application with C# to access storage

As per my knowledge oracle oracle cloud infrastructure API can be used in .Net application to access database.But I don't know if it is possible with JAVA SDK
DEO KUMAR DAS
  • 99
  • 2
  • 12
0
votes
1 answer

Exception in thread "main" java.lang.NoSuchFieldError: id_ecPublicKey

Seeing the following exception on running the "ObjectStorageSyncExample" from the SDK. I have not made any modifications. Configured the ~/.oci/config correctly as well. Exception in thread "main" java.lang.NoSuchFieldError: id_ecPublicKey at…
skiman
  • 1
  • 1
0
votes
1 answer

How to write OCI JAVA SDK logs into Weblogic Server log files

Here I am using Weblogic 12c Server to deploy my web application. In my application I'm using OCI JAVA SDK to interact with Oracle Cloud Infrastructure(OCI) Service. As per the documentation by OCI, "OCI JAVA SDK" is using SLF4J logging. So that…
Awesome
  • 5,689
  • 8
  • 33
  • 58
0
votes
2 answers

How to take Oracle Cloud Database Backup using Oracle Java Cloud SDK?

I want to take Oracle Cloud Database Backup using Oracle Java Cloud SDK. Help me doing this!
0
votes
1 answer

Bare Metal Cloud - How to set authorized ssh keys for compute instances?

I have successfully provisioned Bare Metal Cloud compute instances using the following code: public static Instance createInstance( ComputeClient computeClient, String compartmentId, AvailabilityDomain availabilityDomain, …
Joe
  • 2,500
  • 1
  • 14
  • 12
-1
votes
1 answer

Java Project created in Eclipse on Windows.How to run this in Ubuntu-Server?

I wrote some programs for Oracle Service Instances using the SDK in Eclipse.I also included some Referenced Libraries in Eclipse Project. Now I want to run those programs from that Eclipse Java Project on to differnt OS(Ubuntu-Server). How can I do…
1 2
3