O Cloud Deployment Manager vai chegar ao fim do suporte em 31 de dezembro de 2025. Se você usa o Deployment Manager, migre para o Infrastructure Manager ou uma tecnologia de implantação alternativa até 31 de dezembro de 2025 para garantir que seus serviços continuem sem interrupções.
Um provedor de tipos é uma API que foi integrada ao Deployment Manager como um tipo. Você pode descrever um único provedor de tipos, conseguir uma lista de todos os provedores de tipos ou uma lista de todos os tipos fornecidos por um determinado provedor.
Como descrever um único provedor de tipos
Você pode descrever um provedor de tipos para receber informações, como o URL do documento descritor e as opções avançadas definidas para a API.
Como conseguir uma lista de tipos fornecidos por um provedor de tipos
Um provedor de tipos expõe todos os recursos da API subjacente como tipos base. Você pode conseguir a lista dos tipos base fornecidos por um provedor de tipos.
gcloud
Para conseguir a lista dos tipos base fornecidos por um provedor de tipos:
Para mais informações, consulte a documentação do método list.
Como descrever tipos compostos
Um tipo composto é um grupo de modelos que foram adicionados permanentemente ao Deployment Manager como um tipo. Você pode descrever um único tipo composto ou conseguir uma lista de tipos compostos disponíveis para o projeto.
Como descrever um único tipo composto
Você pode descrever um único tipo composto para receber informações sobre o tipo.
gcloud
Execute o comando types describe para descrever um tipo:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)."]]