Cloudbreak CLI Reference
Also available as:
PDF

cloud availability-zones

Lists all availability zones available in the specified cloud provider region.

Required options

--credential <value> Name of the credential

--region <value> Name of the region

Options

--output <value> Supported formats: json, yaml, table (default: “json”) [$CB_OUT_FORMAT]

--server <value> Cloudbreak server address [$CB_SERVER_ADDRESS]

--username <value> Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password <value> Cloudbreak password [$CB_PASSWORD]

--workspace <value> Name of the workspace holding the resource

--profile <value> Selects a config profile to use [$CB_PROFILE]

--auth-type <value> Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Lists availability zones in the us-west-2 (Oregon) region on the AWS account identified by the credential called “aws-cred”:

cb cloud availability-zones --credential aws-cred --region us-west-2
[
  {
    "Name": "us-west-2a"
  },
  {
    "Name": "us-west-2b"
  },
  {
    "Name": "us-west-2c"
  }
]