ypcat
ypcat

Reputation: 46

IBM Cloud API resource controller missing zone id

I'm working on application which will get DNS entries of each of my CIS instances. To get CIS DNS records I need to provide CRN and ZoneID, however from resource controller I'm able to get only resource CRN. How to get related ZoneID?

Upvotes: 0

Views: 69

Answers (1)

data_henrik
data_henrik

Reputation: 17118

I suggest a flow of

  • obtain your instances by retrieving them from the resource list (resource controller)
  • retrieve the zones from your CIS instance (https://cloud.ibm.com/apidocs/cis#list-zones)
  • retrieve the DNS entries for your CIS zones

Upvotes: 1

Related Questions