Questions tagged [oci-go-sdk]

8 questions
2
votes
1 answer

How to list fast connect names and not the providers names in OCI using GO SDK?

I am trying to list fastconnect names that are available for my VCN. The problem with ListFastConnectProviderServices is that it lists the names of providers rather than the names of created FastConnects services. Here is my current code:- func…
saurav
  • 427
  • 4
  • 14
1
vote
2 answers

How to list users from all Identity Domains in Oracle Cloud Infrastructure?

I need to retrieve a list of all users present in my Oracle Cloud environment via REST API or Go SDK. Looking at the REST API docs, the Go SDK docs, and the OCI CLI docs, nowhere seems to provide an option to supply Identity Domain as an…
MWCD
  • 103
  • 1
  • 1
  • 6
1
vote
1 answer

Example of LaunchInstance with InstanceSourceDetails interface

I am looking for an implementation example of LaunchInstanceRequest with the SourceDetails field when it is asking for an interface. instanceRequest := core.LaunchInstanceRequest{} instanceRequest.SourceDetails = ... I am referring to the following…
philip
  • 41
  • 5
1
vote
1 answer

x509: certificate signed by unknown authority err

I am attempting to create simple vcn but i am getting this error: Post https://iaas.us-ashburn-1.oraclecloud.com/20160918/vcns: x509: certificate signed by unknown authority details of vcn creation: { RawResponse= Vcn={ CidrBlock=
philip
  • 41
  • 5
0
votes
1 answer

Any method for collect instance state changes in OCI with GO SDK

I want to aware if any instances changes state for example "up"->"down" How to get this information with sdk ? Any method for collecting that ?
0
votes
1 answer

How to access secret bundle content in oci goland sdk

I am using oci go sdk to access the secrets in oci. I get the SecretBundleResponse object but I want to extract the "Content" field which is present in resp.SecretBundleContent. There are no apis available on that object to extract it. Any help? I…
dganesh2002
  • 1,917
  • 1
  • 26
  • 29
0
votes
2 answers

How can I delete a pod via a Oracle Function?

I have a cluster with some deployments / services / etc... inside an OKE, which I usually connect to via kubectl from my pc. The question is: is it possible to delete a pod inside that cluster from a Oracle Function? What I want to do is build a…
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