datastore-pool
This topic describes the verbs, command-line arguments, and API parameters available for the datastore-pool noun in the BMC Cloud Lifecycle Management SDK.
create
Use datastore-pool-create from the command line to create a new compute pool with the specified datastores.
Use datastore_pool_create in the API to create a new compute pool with the specified datastores. This command returns a VirtualDatastore API object with the same attributes and relationships.
obj.guid # returns the GUID
obj.name # returns the name
...
Command-line argument | API parameter | Description | Required? |
---|---|---|---|
--poolname | pool_name | Name of the new pool. | Yes |
--description | description | Description of the pool. | Yes |
--podname | pod_name | Name of the pod for the pool. | Yes |
--environmentname | network_container_name | Name of the environment/network container to associate with the pool. | Yes |
--providername | provider_name | Name of the provider of the cluster. | Yes |
--vendorname | vendor_name | Name of the vendor of the cluster. | Yes |
--clustername | resource_names | Name of the cluster to add to the pool. | Yes |
--waitfor |
| Time in seconds to wait for response from the server, otherwise return running task details. |
|
| gcac | GenericCloudAPIClient instance/user authentication. |
|
update
Use datastore-pool-update from the command line to update the compute pool description or the datastores in the pool.
Use datastore_pool_update in the API to update the compute pool description or the datastores in the pool. This command returns a VirtualDatastore API object with the same attributes and relationships.
obj.guid # returns the GUID
obj.name # returns the name
...
Command-line argument | API parameter | Description | Required? |
---|---|---|---|
--poolname | pool_name | Name of the compute pool that needs to be updated. | Yes |
--description | description | New description of the compute pool. |
|
--adddatastore | add_datastores | Name or GUID of a datastore to add to the compute pool |
|
--removedatastore | remove_datastores | Name or GUID of a datastore to remove from the compute pool |
|
--waitfor |
| Time in seconds to wait for response from the server, otherwise return running task details. |
|
| gcac | GenericCloudAPIClient instance/user authentication. |
|