Cloud Deployment Manager will reach end of support on December 31, 2025. If you currently use Deployment Manager, please migrate to Infrastructure Manager or an alternative deployment technology by December 31, 2025 to ensure your services continue without interruption.
Lists all resources in a given deployment.
Try it now.
Request
HTTP request
GET https://www.googleapis.com/deploymentmanager/v2beta1/projects/project/global/deployments/deployment/resources
Parameters
Parameter name
Value
Description
Path parameters
deployment
string
The name of the deployment for this request.
project
string
The project ID for this request.
Optional query parameters
filter
string
A regular expression to use for filtering listed resources.
maxResults
integer
Maximum count of results to be returned.
Acceptable values are 0 to 100, inclusive.
(Default: 50)
pageToken
string
Specifies a nextPageToken returned by a previous list request. This
token can be used to request the next page of results from a previous
list request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-30 UTC."],[[["\u003cp\u003eThis documentation describes a deprecated version of the Deployment Manager API, and users are advised to use the latest API version instead.\u003c/p\u003e\n"],["\u003cp\u003eThis API endpoint lists all resources within a specified deployment using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this resource listing requires authorization with one of the specified scopes, such as \u003ccode\u003ehttps://www.googleapis.com/auth/ndev.cloudman.readonly\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response from this API call will include a list of resources and may include a \u003ccode\u003enextPageToken\u003c/code\u003e for paginated results.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters such as \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003emaxResults\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e are available for customizing the listing of resources.\u003c/p\u003e\n"]]],[],null,["# Resources: list\n\n**Caution:** This is a **deprecated** version of the Deployment Manager API. Please use the [latest API version](/deployment-manager/latest) instead.\n\n\n**Requires [authorization](#auth)**\n\nLists all resources in a given deployment.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/deploymentmanager/v2beta1/projects/project/global/deployments/deployment/resources\n```\n\n### Parameters\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/deployment-manager/docs/reference/latest/authorization)).\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"resources\": [\n resources Resource\n ],\n \"nextPageToken\": string\n}\n```\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/deploymentmanager/v2beta1/deploymentmanager.resources.list)."]]