Il supporto di Cloud Deployment Manager terminerà il 31 dicembre 2025. Se al momento utilizzi Deployment Manager, esegui la migrazione a Infrastructure Manager o a una tecnologia di deployment alternativa entro il 31 dicembre 2025 per assicurarti che i tuoi servizi continuino senza interruzioni.
Se vuoi utilizzare gli esempi di API in questa guida, configura l'accesso API.
Configura l'accesso all'API v2beta se vuoi utilizzare gli esempi di API in questa guida.
Descrizione dei provider di tipi
Un provider di tipi
è un'API integrata con Deployment Manager come tipo. Puoi descrivere un singolo fornitore di tipi, ottenere un elenco di tutti i fornitori di tipi o un elenco di tutti i tipi forniti da un fornitore di tipi.
Descrivere un singolo provider di tipi
Puoi descrivere un provider di tipi per ottenere informazioni come l'URL del documento descrittore e le opzioni avanzate dell'API impostate per questa API.
Ottenere un elenco di tipi forniti da un provider di tipi
Un provider di tipi espone tutte le risorse dell'API sottostante come tipi di base. Puoi
ottenere un elenco dei tipi di base forniti da un fornitore di tipi.
gcloud
Per ottenere un elenco dei tipi di base forniti da un fornitore di tipi:
Per saperne di più, consulta la documentazione relativa al metodo
list.
Descrivere i tipi composti
Un tipo composito è un insieme di modelli che sono stati aggiunti in modo permanente a
Deployment Manager come tipo. Puoi descrivere un singolo tipo composito o ottenere un elenco dei tipi compositi disponibili per il progetto.
Descrizione di un singolo tipo composito
Puoi descrivere un singolo tipo composito per ottenere informazioni sul tipo.
gcloud
Esegui il comando types describe per descrivere un tipo:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 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)."]]