localdisk
This topic describes the verbs, command-line arguments, and API parameters available for the localdisk
noun in the BMC Cloud Lifecycle Management SDK.
Note
This command is available in BMC Cloud Lifecycle Management 4.1 patch 4 and later.
list
Use localdisk-list
from the command line to list available local disks.
Command-line syntax
clm localdisk-list [-h] [-l] [-u] [-n] [-s] [-k FIELD_NAME [FIELD_NAME ...]] [--filter FIELD_NAME=VALUE [FIELD_NAME=VALUE ...]]
Use localdisk_list
to list configured accounts using the API. This command returns a list of LocalDisk
API objects with the same attributes and relationships.
API syntax
obj = localdisk_list(gcac, filters=None, fieldInfo=None)
obj[n].guid returns the GUID
obj[n].name returns the name
...
Command-line argument | API parameter | Description | Required? |
---|---|---|---|
-l | List all fields. This parameter does not need a value. | ||
-u | List only GUIDs. This parameter does not need a value. | ||
-n | List only names. This parameter does not need a value. | ||
-s | List GUIDs, names, and status (if applicable). This parameter does not need a value. | ||
-k | List the field names specified as the value for this parameter. | ||
--filter | filters | Filter the output according to the specified criteria. | |
fieldInfo | list of OM attributes and relations such as ([‘name’, ‘tags.*’, ‘inPool.*’]) | ||
gcac | GenericCloudAPIClient instance/user authentication. |
Comments
Log in or register to comment.