Cloud Deployment Manager ne sera plus pris en charge à partir du 31 décembre 2025. Si vous utilisez actuellement Deployment Manager, veuillez migrer vers Infrastructure Manager ou vers une autre technologie de déploiement d'ici le 31 décembre 2025 pour que vos services continuent de fonctionner sans interruption.
Si vous voulez utiliser les exemples d'API de ce guide, configurez l'accès aux API.
Configurez l'accès à l'API v2beta si vous souhaitez suivre les exemples utilisant l'API présentés dans ce guide.
Décrire des fournisseurs de types
Un fournisseur de types est une API qui a été intégrée à Deployment Manager en tant que type. Vous pouvez décrire un fournisseur de types unique, obtenir la liste de tous les fournisseurs, ou répertorier tous les types proposés par un fournisseur.
Décrire un fournisseur de types unique
Vous pouvez décrire un fournisseur de types pour obtenir des informations telles que l'URL du document descripteur ainsi que les options d'API avancées qui ont été définies pour cette API.
Obtenir la liste des types proposés par un fournisseur de types
Un fournisseur de types expose toutes les ressources de l'API sous-jacente en tant que types de base. Vous pouvez obtenir la liste des types de base proposés par un fournisseur.
gcloud
Pour obtenir la liste des types de base proposés par un fournisseur de types :
Pour en savoir plus, consultez la documentation de la méthode list.
Décrire des types composites
Un type composite est un ensemble de modèles qui ont été ajoutés de manière permanente à Deployment Manager en tant que types. Vous pouvez décrire un type composite unique ou obtenir la liste des types composites disponibles pour le projet.
Décrire un type composite unique
Vous pouvez décrire un type composite unique pour obtenir des informations sur le type.
gcloud
Exécutez la commande types describe pour décrire un type :
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/08 (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/08 (UTC)."],[[["\u003cp\u003eThis page outlines how to describe, list, and delete both type providers and composite types within your project using either the \u003ccode\u003egcloud\u003c/code\u003e command-line tool or the API.\u003c/p\u003e\n"],["\u003cp\u003eType providers, which are integrated APIs, can be described individually, listed, or have their provided types listed via \u003ccode\u003egcloud\u003c/code\u003e commands or API \u003ccode\u003eGET\u003c/code\u003e requests.\u003c/p\u003e\n"],["\u003cp\u003eComposite types, representing sets of templates, can also be described individually or listed through \u003ccode\u003egcloud\u003c/code\u003e commands and API \u003ccode\u003eGET\u003c/code\u003e requests.\u003c/p\u003e\n"],["\u003cp\u003eType providers and composite types can be deleted from a project using the \u003ccode\u003egcloud\u003c/code\u003e command-line tool or API \u003ccode\u003eDELETE\u003c/code\u003e requests.\u003c/p\u003e\n"],["\u003cp\u003eThe content on this page is currently in Beta, which means it's subject to the "Pre-GA Offerings Terms" and may have limited support, with more information available in the launch stage descriptions.\u003c/p\u003e\n"]]],[],null,["# Describing, listing, and deleting types\n\n| **Beta**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis page describes how to describe, list, and delete types from your project.\n\nBefore you begin\n----------------\n\n- If you want to use the command-line examples in this guide, install the [\\`gcloud\\` command-line tool](/sdk).\n- If you want to use the API examples in this guide, set up [API access](/deployment-manager/docs/reference/latest).\n- Set up [v2beta API access](/deployment-manager/docs/reference/v2beta) if you want to use the API examples in this guide.\n\nDescribing Type Providers\n-------------------------\n\nA [type provider](/deployment-manager/docs/configuration/type-providers/process-adding-api)\nis an API that has been integrated with Deployment Manager as a type. You can describe a single type provider, get a list of all type providers, or get a list of all types provided by a type provider.\n\n### Describing a single type provider\n\nYou can describe a type provider to get information such as the descriptor\ndocument URL and advanced API options that have been set for this API.\n\n[See the list of default Google Cloud type providers](/deployment-manager/docs/configuration/supported-gcp-types). \n\n### gcloud\n\nRun the `type-providers describe` command to describe a type provider. \n\n gcloud beta deployment-manager type-providers describe \u003cvar translate=\"no\"\u003ePROVIDER_NAME\u003c/var\u003e --project \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\nFor example, use this command to describe the Pub/Sub type\nprovider: \n\n gcloud beta deployment-manager type-providers describe pubsub-v1 --project gcp-types\n\n### API\n\nMake a `GET` request to the following URI: \n\n https://www.googleapis.com/deploymentmanager/v2beta/projects/\u003cvar translate=\"no\"\u003e[PROJECT_ID]\u003c/var\u003e/global/typeProviders/\u003cvar translate=\"no\"\u003e[PROVIDER_NAME]\u003c/var\u003e\n\nFor example, use this URI for the Pub/Sub type provider: \n\n https://www.googleapis.com/deploymentmanager/v2beta/projects/gcp-types/global/typeProviders/pubsub-v1\n\n### Getting a list of types provided by a type provider\n\nA type provider exposes all resources of the underlying API as base types. You\ncan get a list of base types provided by a type provider. \n\n### gcloud\n\nTo get a list of base types provided by a type provider: \n\n gcloud beta deployment-manager types list --provider \u003cvar translate=\"no\"\u003e[TYPE_PROVIDER]\u003c/var\u003e --project \u003cvar translate=\"no\"\u003e[PROJECT_ID]\u003c/var\u003e\n\nFor example, to get a list of base types in the Compute Engine\ntype provider, run this command: \n\n gcloud beta deployment-manager types list --provider compute-v1 --project gcp-types\n\n### API\n\nMake a `GET` request to the following URI: \n\n GET https://www.googleapis.com/deploymentmanager/v2beta/projects/\u003cvar translate=\"no\"\u003e[\u003c/var\u003ePROJECT_ID]/global/typeProviders/\u003cvar translate=\"no\"\u003e[\u003c/var\u003ePROVIDER_NAME]/types\n\nFor example, for a list of types in the Compute Engine type\nprovider, use this URI: \n\n GET https://www.googleapis.com/deploymentmanager/v2beta/projects/gcp-types/global/typeProviders/compute-v1/types\n\n### Listing type providers\n\nYou can get a list of your type providers using the gcloud CLI, or\nthe API. \n\n### gcloud\n\nTo list your type providers, make a `type-providers list` request: \n\n gcloud beta deployment-manager type-providers list\n\n### API\n\nIn the API, make a `GET` request to the global type providers list: \n\n GET https://www.googleapis.com/deploymentmanager/v2/projects/[PROJECT_ID]/global/typeProviders\n\nFor more information, see the documentation for the\n[`list`](/deployment-manager/docs/reference/v2beta/typeProviders/list) method.\n\nDescribing composite types\n--------------------------\n\nA [composite type](/deployment-manager/docs/configuration/templates/create-composite-types) is a set of templates that have been permanently added to\nDeployment Manager as a type. You can describe a single composite type or get a\nlist of composite types available to the project.\n\n### Describing a single composite type\n\nYou can describe a single composite type to get information about the type. \n\n### gcloud\n\nRun the `types describe` command to describe a type: \n\n gcloud beta deployment-manager types describe [COMPOSITE_TYPE_NAME] --provider composite\n\n### API\n\nMake a `GET` request to the following URI: \n\n https://www.googleapis.com/deploymentmanager/v2beta/projects/[PROJECT_ID]/global/compositeTypes/[COMPOSITE_TYPE_NAME]\n\n### Listing composite types\n\nYou can get a list of your composite types using the gcloud CLI, or\nthe API. \n\n### gcloud\n\nTo list your composite types, make a `types list` request: \n\n gcloud beta deployment-manager types list --provider composite\n\n### API\n\nIn the API, make a `GET` request to the global types list: \n\n GET https://www.googleapis.com/deploymentmanager/v2/projects/[PROJECT_ID]/global/types\n\nFor more information, see the documentation for the\n[`list`](/deployment-manager/docs/reference/v2beta/types/list) method.\n\nDeleting a type provider\n------------------------\n\n### gcloud\n\nTo delete a type provider, make a `type-providers delete` request. For example: \n\n gcloud beta deployment-manager type-providers delete [TYPE_PROVIDER]\n\n### API\n\nIn the API, make a `DELETE` request to the type provider you want to delete: \n\n DELETE https://www.googleapis.com/deploymentmanager/v2beta/projects/[PROJECT_ID]/global/typeProviders/[TYPE_PROVIDER]\n\nFor more information, see the documentation for the\n[`delete`](/deployment-manager/docs/reference/v2beta/typeProviders/delete) method.\n\nDeleting a composite type\n-------------------------\n\n### gcloud\n\nTo delete a composite type, make a `types delete` request. For example: \n\n gcloud beta deployment-manager types delete [COMPOSITE_TYPE]\n\n### API\n\nIn the API, make a `DELETE` request to the type you want to delete: \n\n DELETE https://www.googleapis.com/deploymentmanager/v2beta/projects/[PROJECT_ID]/global/compositeTypes/[COMPOSITE_TYPE]\n\nFor more information, see the documentation for the\n[`delete`](/deployment-manager/docs/reference/v2beta/compositeTypes/delete) method.\n\nWhat's next\n-----------\n\n- Learn how to [use a type provider](/deployment-manager/docs/configuration/type-providers/calling-type-provider).\n- Read about [creating a configuration](/deployment-manager/docs/configuration).\n- [Create a deployment](/deployment-manager/docs/deployments).\n- Learn how to [create a type provider](/deployment-manager/docs/configuration/type-providers/creating-type-provider)."]]