{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomy-125.hatenablog.jp%2Fentry%2F2022%2F07%2F09%2F143430\" title=\"OCI - Compute Instance \u8d77\u52d5\u30fb\u505c\u6b62\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b5\u30f3\u30d7\u30eb - tomy_125: Note\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-07-09 14:34:30","url":"https://tomy-125.hatenablog.jp/entry/2022/07/09/143430","type":"rich","blog_title":"tomy_125: Note","image_url":null,"author_url":"https://blog.hatena.ne.jp/tomy_125/","title":"OCI - Compute Instance \u8d77\u52d5\u30fb\u505c\u6b62\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b5\u30f3\u30d7\u30eb","description":"sample o=${1^^} ocid=\"ocid1.instance.oc1.ap-tokyo-1.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz\" function get_status(){ s=`oci compute instance get --instance-id ${ocid}| jq -r '.data.\"lifecycle-state\" '` echo $s } function start_instance(){ oci compute instance action --action start --inst\u2026","author_name":"tomy_125","version":"1.0","blog_url":"https://tomy-125.hatenablog.jp/","provider_url":"https://hatena.blog","categories":["OCI","OCICLI"],"width":"100%","height":"190"}