github.com/IBM-Cloud/bluemix-go@v0.0.0-20240423071914-9e96525baef4/examples/cis/cisv1/pooldelete/README.md (about)

     1  # Pool Get/Delete example
     2  
     3  This example shows how to get and delete a pool. CIS resource instance must be created first via UI or using the `resource/service-instance` example to create an `internet-svcs` instance. 64 digit CRN should be supplied as cis_id variable for pool create/delete. Environment variable IC_API_KEY must be set with API key. 
     4  
     5  Paired with Create/Get Pool example. Delete zone after running DNS/MONITOR/SETTINGS/GLB examples. 
     6  pool_id comes from output of Pool Create/Get"
     7  {"result": {"description": "", "created_on": "2018-12-10T09:35:47.269909Z", "modified_on": "2018-12-10T09:35:47.269909Z", "id": `"00f0c9cad99646eed248e1f126a1c1ac"`
     8  
     9  
    10  
    11  Example: 
    12  
    13  ```
    14  go run main.go -cis_id="crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:d268d835-3ef5-4049-8526-296ff08020a0::" -pool_id="00f0c9cad99646eed248e1f126a1c1ac"
    15  ```
    16  
    17  
    18