Remplacez LOCATION par une zone spécifique pour lister toutes les instances de cet emplacement. Pour afficher les projets dans tous les lieux, saisissez - comme valeur. Exemple :
gcloudbetaparallelstoreinstanceslist--location=-
REST
Pour lister les instances à l'aide de l'API REST, envoyez une requête au point de terminaison suivant :
PROJECT_ID est l'ID de votre projet Google Cloud .
ZONE doit être une zone Google Cloud valide compatible avec Parallelstore. Pour obtenir la liste complète, consultez Emplacements compatibles.
INSTANCE_NAME est le nom de l'instance Parallelstore à supprimer.
Les requêtes de suppression sont des requêtes de longue durée. Elles renvoient un ID d'opération qui peut être utilisé pour vérifier l'état de l'opération. Pour en savoir plus, consultez la documentation de référence sur operations.get.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Manage Parallelstore instances\n\nParallelstore allows you to list all instances, retrieve specific instances, and\ndelete specific instances.\n\nParallelstore instances cannot be updated after they've been created.\n\nList instances\n--------------\n\nTo list all the instances in a project: \n\n### Google Cloud console\n\n1. Go to the **Parallelstore** page in the Google Cloud console.\n\n [Go to Parallelstore](https://console.cloud.google.com/parallelstore/)\n\n Your project's instances are listed.\n\n### gcloud CLI\n\n gcloud beta parallelstore instances list --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with a specific zone to list all instances in that\nlocation. To view projects in **all** locations, enter `-` as the value. For\nexample: \n\n gcloud beta parallelstore instances list --location=-\n\n### REST\n\nTo list instances using the REST API, send a request to the following\nendpoint: \n\n GET https://parallelstore.googleapis.com/v1beta/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e/instances\n Authorization: Bearer [YOUR_ACCESS_TOKEN]\n\nWhere the following values must be specified:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is your Google Cloud project ID.\n\n- \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e is the zone for which to list all instances. To list\n instances from all zones, use `-` as the value.\n\nRetrieve an instance\n--------------------\n\nTo retrieve an instance's details: \n\n### Google Cloud console\n\n1. Go to the **Parallelstore** page in the Google Cloud console.\n\n [Go to Parallelstore](https://console.cloud.google.com/parallelstore/)\n2. Click the instance name to view details about a specific instance.\n\n### gcloud CLI\n\n gcloud beta parallelstore instances describe \u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e\n\n### REST\n\nTo retrieve details about a particular instance using the REST API, send a\nrequest to the following endpoint: \n\n GET https://parallelstore.googleapis.com/v1beta/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e/instances/\u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e\n Authorization: Bearer [YOUR_ACCESS_TOKEN]\n\nWhere the following values must be specified:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is your Google Cloud project ID.\n\n- \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e must be a valid Google Cloud zone that is supported by\n Parallelstore. See [Supported locations](/parallelstore/docs/locations) for a\n full list.\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e is the name of the Parallelstore instance to return.\n\nDelete an instance\n------------------\n\nTo delete an instance: \n\n### Google Cloud console\n\n1. Go to the **Parallelstore** page in the Google Cloud console.\n\n [Go to Parallelstore](https://console.cloud.google.com/parallelstore/)\n2. Select the checkbox next to the instance to delete.\n\n3. Click **Delete** . Confirm the deletion by entering the instance name in\n the **Confirm** field and clicking **Delete** again.\n\n### gcloud CLI\n\n gcloud beta parallelstore instances delete \u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e\n\nYou are prompted to confirm deletion. Type `Y` or press enter to continue.\n\n### REST\n\nTo create an instance using the REST API, send a request to the following\nendpoint: \n\n DELETE https://parallelstore.googleapis.com/v1beta/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e/instances/\u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e\n Authorization: Bearer [YOUR_ACCESS_TOKEN]\n\nWhere the following values must be specified:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is your Google Cloud project ID.\n\n- \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e must be a valid Google Cloud zone that is supported by\n Parallelstore. See [Supported locations](/parallelstore/docs/locations) for a\n full list.\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e is the name of the Parallelstore instance to\n delete.\n\nDelete requests are long-running requests, and return an operation ID that\ncan be queried for operation status. See the\n[operations.get](/parallelstore/docs/reference/rest/v1beta/projects.locations.operations/get) reference for details."]]