oracle-sdk-go

command module
v0.0.0-...-d7b82ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2017 License: MIT Imports: 5 Imported by: 0

README

Oracle BMC Golang SDK

GoDoc MIT licensed TravisCI Go Report Card Badge Badge

Unofficial Oracle Bare Metal Cloud Golang SDK

Go package

plus

Oracle Cloud Logo

Requirements

The following variables are needed in order to make successful calls to the BMC API

  • User - The user for the compartment
user=ocid1.user.oc1..aaaaaaaat5nvwcna5j6aqzjcaty5eqbb6qt2jvpkanghtgdaqedqw3rynjq
  • Fingerprint - The API key fingerprint; this fingerprint can be found within the Oracle BMC console
fingerprint=20:3b:97:13:55:1c:5b:0d:d3:37:d8:50:4e:c5:3a:34
  • KeyFile - The API key file location
key_file=~/.oraclebmc/bmcs_api_key.pem
  • Tenancy - Your tenancy compartment ID
tenancy=ocid1.tenancy.oc1..aaaaaaaaba3pv6wkcr4jqae5f15p2b2m2yt2j6rx32uzr4h25vqstifsfdsq
  • Region - The region corresponding to the compartment in use
region=us-ashburn-1

A default config file can also be used; the typical location for the Oracle BMC config is: ~/.oraclebmc/config The config file should have the following format:

[DEFAULT]
  user=ocid1.user.oc1..aaaaaaaat5nvwcna5j6aqzjcaty5eqbb6qt2jvpkanghtgdaqedqw3rynjq
  fingerprint=20:3b:97:13:55:1c:5b:0d:d3:37:d8:50:4e:c5:3a:34
  key_file=~/.oraclebmc/bmcs_api_key.pem
  tenancy=ocid1.tenancy.oc1..aaaaaaaaba3pv6wkcr4jqae5f15p2b2m2yt2j6rx32uzr4h25vqstifsfdsq
  region=us-ashburn-1

Support Endpoint

The following endpoints are provided by the Oracle BMC API

Name Support
Audit API NO
Database Service API NO
Core Services API YES-partial
Identity and Access Management Service API NO
Load Balancing Service API YES-partial
Object Storage Service API NO
S3 Object Storage Service API NO

Only API supported at the moment is to get instance details

  • List instances
  • Get instance
  • List VNIC
  • Get VNIC
  • List VNICAttachment
  • Get VNICAttachment
  • List SecurityList
  • Get SecurityList
  • Create SecurityList
  • Update SecurityList
  • Delete SecurityList
  • List VirtualCloudNetwork
  • Get VirtualCloudNetwork
  • List Backend
  • Get Backend
  • Create Backend
  • Delete Backend
  • List BackendSet
  • Get BackendSet
  • Create BackendSet
  • Delete BackendSet
  • Create Listener
  • Delete Listener
  • List LoadBalancer
  • Get LoadBalancer

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL