lscloudaccount

Use the lscloudaccount command to display information about the configured cloud accounts.

Syntax

Read syntax diagramSkip visual syntax diagram lscloudaccount -nohdr-delimdelimitercloud_account_idcloud_account_name

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
cloud_account_id | cloud_account_name
(Optional) Specifies the name or ID for the detailed view of of the account.

Description

This command displays information about configured cloud accounts.

This table provides the attribute values that can be displayed as output view data.
Table 1. lscloudaccount output
Attribute Description
id Indicates the cloud account ID. The value is a number.
name Indicates the cloud account name. The value is an alphanumeric string.
type Indicates the cloud account provider. The values are:
  • awss3
  • swift
  • azure
status Indicates the cloud account status. The values are online or offline.
mode Indicates the cloud account mode. The values are normal or import.
active_volume_count Indicates the number of volumes in the system that use the account. The value must be a number.
backup_volume_count Indicates the number of volumes that are backed up to the cloud account. The value must be a number.
import_system_id Indicates the system ID for the system from where the data is being imported. The value must be a 16-character uppercase hexadecimal number (or blank).
import_system_name Indicates the system name from where the data is being imported. The value must be an alphanumeric string (or blank).
error_sequence_number Indicates an error (for offline accounts). The value must be a number (or blank).
refreshing Indicates whether the system is refreshing its cloud storage view (for import mode accounts). The values are yes or no.
backup_timestamp Indicates the timestamp for the most recent backup. The value must be in the format YYMMDDHHMMSS (or blank).
certificate Indicates whether SSL is configured for an account that uses certificates. The values are yes or no.
certificate_expiry Indicates the time and date that a certificate expires. The value must be blank or be in this format: Dec 7 10:07:59 2015 GMT
endpoint Indicates the endpoint URL for swift accounts. The value must be a valid URL (or blank).
awss3_bucket_prefix Indicates the bucket prefix that is being used for S3 accounts. The value must be a valid bucket prefix (or blank).
awss3_access_key_id Indicates the user access key ID for S3 accounts. The value must be a valid access key ID (or blank).
awss3_region Indicates the region that is chosen for cloud storage for S3 accounts. The value must be for a valid AWS region (or blank).
swift_keystone Indicates whether keystone authentication is in use. The value must be yes or no.
swift_container_prefix Indicates the container prefix for Swift accounts. The value must be a valid container prefix or blank.
swift_tenant_name Indicates the tenant name that is used for authentication for swift accounts. The value must be a valid tenant name (or blank).
swift_user_name Indicates the user name that is used for authentication for swift accounts. The value must be a valid user name (or blank).
encrypt Indicates the encryption status for the cloud account. The values are yes and no.
up_bandwidth_mbits Specifies the upload bandwidth limit in megabits per second (Mbps). The value must be a number 0 - 10240. If no limit is configured then 0 will be displayed.
down_bandwidth_mbits Specifies the download bandwidth limit in megabits per second (Mbps). The value must be a number 0 - 10240. If no limit is configured then 0 will be displayed.
azure_container_prefix Indicates the container prefix of the Microsoft Azure storage account. The value must be 3-58 characters long and can only contain lowercase letters, numbers, and hyphens.
azure_storage_account_name Indicates the account name of Microsoft Azure storage account.

A concise invocation example

lscloudaccount

The resulting output:

id name      type  status mode   active_volume_count backup_volume_count import_system_id import_system_name error_sequence_number
0  importer  swift online import 2                   123                 000002007D40A162 cluster1

A detailed invocation example

lscloudaccount 1

The resulting output:


id 0
name vardyja
type swift
status online
mode normal
active_volume_count 0
backup_volume_count 1
import_system_id
import_system_name
error_sequence_number
refreshing no
up_bandwidth_mbits 0
down_bandwidth_mbits 1
backup_timestamp 151021114002
certificate yes
certificate_expiry Dec  7 10:07:59 2017 GMT
endpoint https://thesecurecloud.company.com:4000/auth/v3.0
awss3_bucket_prefix
awss3_access_key_id
awss3_region
swift_keystone yes
swift_container_prefix svc-1
swift_tenant_name mytenant
swift_user_name storeman
azure_container_prefix mycontainer-az
azure_storage_account_name myazurestgaccount