Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## get instance
- oci compute instance get --instance-id ocid1.instance.oc1.uk-london-1.<unique-instance-id>
- ## update instance
- oci compute instance update --instance-id ocid1.instance.oc1.uk-london-1.<unique-instance-id> --defined-tags '{"Oracle-Tags": {"Schedule": {"WeekDay": "0,0,0,0,0,*,*,*,*,*,*,*,*,*,*,*,*,0,0,0,0,0,0,0","Weekend": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0"},"RunCommandOnComputeInstance":{"Allowed": "True"}}'
- WARNING: Updates to defined-tags and freeform-tags and agent-config and metadata and extended-metadata and shape-config and instance-options and launch-options and availability-config will replace any existing values. Are you sure you want to continue? [y/N]: y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement