Obtenir des informations sur votre compte et vos quotas

Vous pouvez obtenir des informations sur les attributs de votre compte, comme votre ID de compte, vos identifiants de connexion et vos access keys. Vous pouvez également obtenir des informations sur vos ressources et leurs quotas.

Obtenir des informations sur votre compte et vos quotas avec Cockpit v2

  1. Dans le coin supérieur droit, cliquez sur l’icône IconProfil.
    Un menu déroulant apparaît.

  2. Cliquez sur IconMySpace Espace personnel.

    • Une page avec vos informations personnelles apparaît. Les attributs suivants sont listés :

      • ID de compte

      • Prénom

      • Nom

      • E-mail

      • Fonction

      • Numéro de téléphone

      • Numéro de mobile

      • Pays

      • Code postal

      • Entreprise

    • Sous vos informations personnelles, vous pouvez obtenir des informations sur vos ressources et les quotas associés. Les ressources suivantes sont listées :

      Ressources Description

      Puissance de calcul

      VM

      Le nombre maximum de VM que vous pouvez créer.

      Cœurs

      Le nombre maximum de vCores que vous pouvez utiliser pour toutes vos ressources.

      Mémoire (Gio)

      La quantité maximum de RAM que vous pouvez utiliser pour toutes vos ressources, en gibioctets.

      Flexible GPU

      Le nombre maximum de flexible GPU (fGPU) que vous pouvez allouer à votre compte.

      Services

      Load balancers

      Le nombre maximum de load balancers que vous pouvez créer.

      Listeners rules de load balancer

      Le nombre maximum de listeners rules que vous pouvez créer.

      Customer master keys

      Le nombre maximum de customer master keys que vous pouvez créer

      Sécurité

      IP publiques

      Le nombre maximum d’adresses IP publiques que vous pouvez allouer à votre compte.

      Stockage

      Nombre de volumes

      Le nombre maximum de volumes que vous pouvez utiliser pour toutes vos ressources.

      Taille cumulée (Gio) des volumes standard

      La taille cumulée maximum de volumes standard que vous pouvez créer, en gibioctets.

      Taille cumulée (Gio) des volumes gp2

      La taille cumulée maximum de volumes gp2 que vous pouvez créer, en gibioctets.

      Taille cumulée (Gio) des volumes io1

      La taille cumulée maximum de volumes io1 que vous pouvez créer, en gibioctets.

      IOPS

      Le nombre maximum d’IOPS fournies par les volumes IOPS provisionnés (volumes io1 uniquement).

      Snapshots

      Le nombre maximum de snapshots que vous pouvez créer depuis vos volumes.

      Nets

      Nets

      Le nombre maximum de Nets que vous pouvez créer.

      Internet services

      Le nombre maximum d’internet services que vous pouvez créer.

      NAT services

      Le nombre maximum de NAT services que vous pouvez créer.

      Net access points

      Le nombre maximum de Net access points que vous pouvez créer.

      Virtual gateways

      Le nombre maximum de virtual gateways que vous pouvez créer.

      Client gateways

      Le nombre maximum de client gateways que vous pouvez créer.

Obtenir des informations sur votre compte et vos quotas avec OSC CLI

Obtenir des informations sur votre compte

À ce jour, cette section est disponible en anglais uniquement.

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.

    • AccountId: The ID of the account.

    • AdditionalEmails: One or more additional email addresses for the account. These addresses are used for notifications only.

    • City: The city of the account owner.

    • CompanyName: The name of the company for the account.

    • Country: The country of the account owner.

    • CustomerId: The ID of the customer.

    • Email: The main email address for the account. This address is used for your credentials and for notifications.

    • FirstName: The first name of the account owner.

    • JobTitle: The job title of the account owner.

    • LastName: The last name of the account owner.

    • MobileNumber: The mobile phone number of the account owner.

    • PhoneNumber: The landline phone number of the account owner.

    • StateProvince: The state/province of the account.

    • VatNumber: The value added tax (VAT) number for the account.

    • ZipCode: The ZIP code of the city.

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

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"
    }
  ]
}

Obtenir des informations sur vos quotas

À ce jour, cette section est disponible en anglais uniquement.

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.

    • Collections: (optional) The group names of the quotas.

    • QuotaNames: (optional) The names of the quotas.

    • QuotaTypes: (optional) The resource IDs if these are resource-specific quotas, global if they are not.

    • ShortDescriptions: (optional) The description of the quotas.

  • NextPageToken: (optional) The token to request the next page of results. Each token refers to a specific page.

  • ResultsPerPage: (optional) The maximum number of logs returned in a single response (between 1 and 1000, both included). By default, 100.

The ReadQuotas command returns the following elements:

  • NextPageToken: The token to request the next page of results. Each token refers to a specific page.

  • QuotaTypes: Information about one or more quotas.

    • QuotaType: The resource ID if it is a resource-specific quota, global if it is not.

    • Quotas: One or more quotas associated with the account.

      • AccountId: The account ID of the owner of the quotas.

      • Description: The description of the quota.

      • MaxValue: The maximum value of the quota for the account (if there is no limit, 0).

      • Name: The unique name of the quota.

      • QuotaCollection: The group name of the quota.

      • ShortDescription: The description of the quota.

      • UsedValue: The limit value currently used by the account.

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

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"
    }
  ]
}

Obtenir des informations sur votre compte et vos quotas avec oapi-cli

Obtenir des informations sur votre compte

À ce jour, cette section est disponible en anglais uniquement.

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

Request sample
$ oapi-cli --profile "default" ReadAccounts

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.

    • AccountId: The ID of the account.

    • AdditionalEmails: One or more additional email addresses for the account. These addresses are used for notifications only.

    • City: The city of the account owner.

    • CompanyName: The name of the company for the account.

    • Country: The country of the account owner.

    • CustomerId: The ID of the customer.

    • Email: The main email address for the account. This address is used for your credentials and for notifications.

    • FirstName: The first name of the account owner.

    • JobTitle: The job title of the account owner.

    • LastName: The last name of the account owner.

    • MobileNumber: The mobile phone number of the account owner.

    • PhoneNumber: The landline phone number of the account owner.

    • StateProvince: The state/province of the account.

    • VatNumber: The value added tax (VAT) number for the account.

    • ZipCode: The ZIP code of the city.

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

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"
    }
  ]
}

Obtenir des informations sur vos quotas

À ce jour, cette section est disponible en anglais uniquement.

The ReadQuotas command lists one or more of your quotas.

For more information, see About Your Account.

Request sample: Reading specific quota
$ oapi-cli --profile "default" ReadQuotas \
    --Filters '{
        "QuotaNames": ["lb_limit"]
      }'
Request sample: Reading collection of quotas
$ oapi-cli --profile "default" ReadQuotas \
    --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.

    • Collections: (optional) The group names of the quotas.

    • QuotaNames: (optional) The names of the quotas.

    • QuotaTypes: (optional) The resource IDs if these are resource-specific quotas, global if they are not.

    • ShortDescriptions: (optional) The description of the quotas.

  • NextPageToken: (optional) The token to request the next page of results. Each token refers to a specific page.

  • ResultsPerPage: (optional) The maximum number of logs returned in a single response (between 1 and 1000, both included). By default, 100.

The ReadQuotas command returns the following elements:

  • NextPageToken: The token to request the next page of results. Each token refers to a specific page.

  • QuotaTypes: Information about one or more quotas.

    • QuotaType: The resource ID if it is a resource-specific quota, global if it is not.

    • Quotas: One or more quotas associated with the account.

      • AccountId: The account ID of the owner of the quotas.

      • Description: The description of the quota.

      • MaxValue: The maximum value of the quota for the account (if there is no limit, 0).

      • Name: The unique name of the quota.

      • QuotaCollection: The group name of the quota.

      • ShortDescription: The description of the quota.

      • UsedValue: The limit value currently used by the account.

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

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"
    }
  ]
}

Pages connexes

Méthodes API correspondantes