0

I want to add a Google Cloud compute instance to an existed schedule, I found the rest API in https://cloud.google.com/compute/docs/reference/rest/v1/instances/addResourcePolicies, and on the Request body section mentioned how to add instance like screenshot belows: enter image description here

I try this method online, but response shows an error enter image description here

Resource policies named "start-in-need" is existed, I don't know what's wrong. I filled it in according to the documentation.

Who can tell me how to use this rest API to add instance to resource policies, many thanks

0 Answers0