1Z0-1067 · Question #9
One of your development teams has asked for your help to standardize the creation of several compute instances that must be provisioned each day of the week. You initially write several Command Line…
The correct answer is D. oci compute instance launch --generate-full-command-json-input. Use --generate-full-command-json-input. To generate the JSON for launching an instance, run the following command. oci compute instance launch --generate-full-command-json-input https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliusing.htm
Question
One of your development teams has asked for your help to standardize the creation of several compute instances that must be provisioned each day of the week. You initially write several Command Line Interface (CLI) commands with all appropriate configuration parameters to achieve this task later determining this method lacks flexibility. Which command generates a JSON-based template that Oracle Cloud Infrastructure (OCI) CLI can use to provision these Instances on a regular basis?
Options
- Aoci compute provision-Instance -- generate-full-command-Json-lnput
- Boci compute instance create --generate-cll-skeleton
- Coci compute instance launch --generate-cll-skeleton
- Doci compute instance launch --generate-full-command-json-input
How the community answered
(26 responses)- A8% (2)
- B4% (1)
- C4% (1)
- D85% (22)
Explanation
Use --generate-full-command-json-input. To generate the JSON for launching an instance, run the following command. oci compute instance launch --generate-full-command-json-input https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliusing.htm
Topics
Community Discussion
No community discussion yet for this question.