LabelList

List all Labels available to the user. Specify the type and required resource ID to list labels for a specific resource instead.

knife ionoscloud label list (options)

Available options:

Required options:

  • ionoscloud_username

  • ionoscloud_password

type: --resource-type RESOURCE_TYPE, -T RESOURCE_TYPE
type of the resource to be labeled.
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
iD of the data center.
resource_id: --resource-id RESOURCE_ID, -R RESOURCE_ID
iD of the resource.
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username (required)
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password (required)
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
path to the additional config file

Example

knife ionoscloud label list --resource-type RESOURCE_TYPE --datacenter-id DATACENTER_ID --resource-id RESOURCE_ID --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH