Getting Information About Your Account and Quotas

You can get information about attributes of your account, such as your account ID, login details and access keys. You can also get information about your resources and their associated quotas.

Getting Information About Your Account and Quotas Using Cockpit v2

  1. In the top right corner, click your initials.
    A drop-down menu appears.

  2. Click IconMySpace Personal Space.

    • A page appears with your personal information at the top. The following attributes are listed:

      • Account ID

      • First name

      • Last name

      • Email

      • Job title

      • Phone number

      • Mobile number

      • Country

      • Zip code

      • Company

    • Below your personal information, you can get information about your resources and their associated quotas. The following resources are listed:

      Resources Description

      Compute

      VMs

      The maximum number of VMs you can launch.

      Cores

      The maximum number of vCores you can use for all your resources.

      Memory (GiB)

      The maximum amount of RAM you can use for all your resources, in gibibytes.

      Flexible GPUs

      The maximum number of flexible GPUs (fGPUs) you can allocate to your account.

      Services

      Load balancers

      The maximum number of load balancers you can create.

      Load balancer listener rules

      The maximum number of listener rules you can create.

      Customer Master Keys

      The maximum number of Customer Master Keys you can create.

      Security

      Public IPs

      The maximum number of Public IPs you can allocate to your account.

      Storage

      Number of volumes

      The maximum number of volumes you can use for all your resources.

      Cumulated GiB for standard volume type

      The maximum cumulated size of standard volumes you can create, in gibibytes.

      Cumulated size (GiB) for gp2 volumes

      The maximum cumulated size of gp2 volumes you can create, in gibibytes.

      Cumulated size (GiB) for io1 volumes

      The maximum cumulated size of io1 volumes you can create, in gibibytes.

      IOPS

      The maximum number of IOPS delivered by provisioned IOPS volumes (io1 volumes only).

      Snapshots

      The maximum number of snapshots you can create from your volumes.

      Net

      Nets

      The maximum number of Nets you can create.

      Internet services

      The maximum number of Internet services you can create.

      NAT services

      The maximum number of NAT services you can create.

      Net access points

      The maximum number of Net access points you can create.

      Virtual gateways

      The maximum number of virtual gateways you can create.

      Client gateways

      The maximum number of client gateways you can create.

Getting Information About Your Account and Quotas Using OSC CLI

Getting Information About Your Account

The ReadAccounts command gets information about the account that sent the request.

Request sample
$ osc-cli api ReadAccounts --profile "default"

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

The ReadAccounts command returns the following elements:

  • Accounts: The list of the accounts.

  • ResponseContext: Information about the context of the response.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  },
  "Accounts": [
    {
      "ZipCode": "92210",
      "CompanyName": "EXAMPLE SAS",
      "FirstName": "JEAN",
      "City": "SAINT-CLOUD",
      "Country": "FRANCE",
      "LastName": "DUPONT",
      "AccountId": "123456789012",
      "CustomerId": "87654321",
      "Email": "example@example.com"
    }
  ]
}

Getting Information About Your Quotas

The ReadQuotas command lists one or more of your quotas.

For more information, see About Your Account.

Request sample: Reading specific quota
$ osc-cli api ReadQuotas --profile "default" \
    --Filters '{
        "QuotaNames": ["lb_limit"],
      }'
Request sample: Reading collection of quotas
$ osc-cli api ReadQuotas --profile "default" \
    --Filters '{
        "Collections": ["VPC"],
      }'

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

  • Filters: (optional) One or more filters.

The ReadQuotas command returns the following elements:

  • QuotaTypes: Information about one or more quotas.

  • ResponseContext: Information about the context of the response.

Result sample: Reading specific quota
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  },
  "QuotaTypes": [
    {
      "Quotas": [
        {
          "ShortDescription": "Load Balancer Limit",
          "QuotaCollection": "LBU",
          "AccountId": "123456789012",
          "Description": "Maximum number of load balancers per region",
          "MaxValue": 20,
          "UsedValue": 0,
          "Name": "lb_limit"
        }
      ],
      "QuotaType": "global"
    }
  ]
}
Result sample: Reading collection of quotas
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  },
  "QuotaTypes": [
    {
      "Quotas": [
        {
          "ShortDescription": "Example Limit",
          "QuotaCollection": "VPC",
          "AccountId": "123456789012",
          "Description": "Maximum number of examples",
          "MaxValue": 5,
          "UsedValue": 0,
          "Name": "example_limit"
        }
      ],
      "QuotaType": "global"
    },
    {
      "Quotas": [
        {
          "ShortDescription": "Other Example Limit",
          "QuotaCollection": "VPC",
          "AccountId": "123456789012",
          "Description": "Maximum number of other examples",
          "MaxValue": 50,
          "UsedValue": 1,
          "Name": "other_example_limit"
        }
      ],
      "QuotaType": "vpc-12345678"
    }
  ]
}

Related Pages

Corresponding API Methods