Cloud Deployment Manager akan mencapai akhir dukungan pada 31 Desember 2025. Jika saat ini Anda menggunakan Deployment Manager, migrasikan ke Infrastructure Manager atau teknologi deployment alternatif paling lambat 31 Desember 2025 untuk memastikan layanan Anda berlanjut tanpa gangguan.
Mendeskripsikan, mencantumkan, dan menghapus jenis
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara mendeskripsikan, mencantumkan, dan menghapus jenis dari project Anda.
Sebelum memulai
Jika Anda ingin menggunakan contoh command line dalam panduan ini, instal alat command line`gcloud`.
Jika Anda ingin menggunakan contoh API dalam panduan ini, siapkan akses API.
Siapkan akses API v2beta jika Anda ingin menggunakan contoh API dalam panduan ini.
Mendeskripsikan Penyedia Jenis
Penyedia jenis
adalah API yang telah diintegrasikan dengan Deployment Manager sebagai jenis. Anda dapat mendeskripsikan satu penyedia jenis, mendapatkan daftar semua penyedia jenis, atau mendapatkan daftar semua jenis yang disediakan oleh penyedia jenis.
Mendeskripsikan satu penyedia jenis
Anda dapat menjelaskan penyedia jenis untuk mendapatkan informasi seperti URL dokumen deskriptor dan opsi API lanjutan yang telah ditetapkan untuk API ini.
Untuk mengetahui informasi selengkapnya, lihat dokumentasi untuk metode
list.
Mendeskripsikan jenis komposit
Jenis komposit adalah sekumpulan template yang telah ditambahkan secara permanen ke
Deployment Manager sebagai jenis. Anda dapat mendeskripsikan satu jenis komposit atau mendapatkan
daftar jenis komposit yang tersedia untuk project.
Mendeskripsikan satu jenis komposit
Anda dapat menjelaskan satu jenis komposit untuk mendapatkan informasi tentang jenis tersebut.
gcloud
Jalankan perintah types describe untuk menjelaskan jenis:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 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)."]]