Resources: list

Caution: This is a deprecated version of the Deployment Manager API. Please use the latest API version instead.

Requires authorization

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.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/ndev.cloudman.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/ndev.cloudman

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "resources": [
    resources Resource
  ],
  "nextPageToken": string
}
Property name Value Description Notes
resources[] list [Output Only] A list of resources in this deployment.
nextPageToken string [Output Only] A token used to continue a truncated list request.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.