Resources

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

A resource represents a single Google Cloud Platform resource. For example, a Compute Engine instance is a single resource, a BigQuery dataset is a single resource, and so on. You can define a list of resources in your configuration file, which is then deployed using the Deployment Manage service.

For a list of methods for this resource, see the end of this page.

Resource representations

{
  "id": unsigned long,
  "name": string,
  "type": string,
  "manifest": string,
  "url": string,
  "errors": [
    string
  ],
  "state": string,
  "intent": string
}
Property name Value Description Notes
errors[] list [Output Only] A list of any errors that occurred during deployment.
id unsigned long [Output Only] Unique identifier for the resource; defined by the server.
intent string [Output Only] The intended state of the resource.
manifest string [Output Only] URL of the manifest representing the current configuration of this resource.
name string [Output Only] The name of the resource as it appears in the YAML config.
state string [Output Only] The state of the resource.
type string [Output Only] The type of the resource, for example: compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
url string [Output Only] The URL of the actual resource.

Methods

get
Gets information about a single resource.
list
Lists all resources in a given deployment.
¿Te ha resultado útil esta página? Enviar comentarios:

Enviar comentarios sobre...

Cloud Deployment Manager Documentation