IBM Cloud

From Wiki
Revision as of 16:58, 25 September 2023 by Ebasso (talk | contribs) (→‎Verificando quem criou um recurso na IBM Cloud)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Funcionamento do comando ibmcloud (cli)

Veja os passos para instalar o ibmcloud cli em: Introdução à CLI do IBM Cloud


Verificando quem criou um recurso na IBM Cloud

Abra um IBM Cloud Shell

Liste os recursos que deseja verificar

ebasso@cloudshell:~$ ibmcloud resource service-instances | grep Watson
Watson Assistant-1o         us-south   active   service_instance   aafc513612b64cd383ee1bbe8f6cb0da
Watson Discovery-zg         us-south   active   service_instance   aafc513612b64cd383ee1bbe8f6cb0da
Watson Studio-ed            us-south   active   service_instance   aafc513612b64cd383ee1bbe8f6cb0da

Verificando o recurso

ebasso@cloudshell:~$ ibmcloud resource service-instance "Watson Studio-ed" | grep -i created
Created at:            2022-06-01T06:19:06Z
Created by:            [email protected]


Essa opção NÃO ESTÁ DISPONÍVEL para o Kubernentes/OpenShift

ebasso@cloudshell:~$ ibmcloud ks clusters

Name      ID     State   Created       WKS  Local   Version                   Resource Group Name  
mas01     c...g  normal  4 months ago  5    Dallas  4.10.63_1577_openshift*   Maximo               
vja-mas   c...0  normal  3 months ago  2    Dallas  4.10.63_1577_openshift*   Maximo               

Verificando o recurso

ebasso@cloudshell:~$ ibmcloud ks cluster get --cluster vja-mas --show-resources | grep -i creat
Created:                        2023-04-18T19:43:10+0000
Creator:                        -

Ver também