Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about oci-go-sdk

Read more about oci-go-sdk

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - oci-go-sdk

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 ?
test-img

GurbaniX

oracle-cloud-infrastructure

oracle-cloud-functions

oci-go-sdk

oracle-cloud-streaming

Votes: 0

Answers: 1

Latest Answer

Yes, you can use GetInstance for that. It returns this model, which has a "lifecycleState" field. The first link also shows an example of how to call GetInstance from the Go SDK.
test-img

Joe

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved