This package has been deprecated

Author message:

Package was moved to @hakuna.cloud/oci-api-typescript

@my-ideas/oci-node
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

Implemented methods:

CORE

  • GetInstance
  • ListInstances
  • InstanceAction
  • ListVnicAttachments
  • GetVnic

IAM

  • ListCompartments

Test

To test the API, create a test/data/testData.json file populated with the following content:

{
    "client": {
        "userID": "ocid1.user.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "fingerprint": "66:7yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
        "tenantID": "ocid1.tenaxxxxxzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
        "zone": "eu-frankfurt-1",
        "key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA6bszZa1Hx7w5wvNSdFRh0un6l0+I8/5LZiEH0yrZ8JEDvpeD\n213slz...........xxxxxx"
    },
    "testInstance": {
        "compartmentId": "ocid1.compartment.oc1..qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",
        "instanceId": "ocid1.instance.oc1.eu-frankfurt-1.wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww",
        "vnicId": "ocid1.vnic.oc1.eu-frankfurt-1.eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
    }
}

Note that tests for POST APIs are skipped by default.

Readme

Keywords

none

Package Sidebar

Install

npm i @my-ideas/oci-node

Weekly Downloads

1

Version

0.4.3

License

ISC

Unpacked Size

118 kB

Total Files

40

Last publish

Collaborators

  • carlo.loffredo
  • claudiodangelis
  • giorgio.catenacci
  • totomz