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 entity, such as a Compute Engine instance, a BigQuery dataset, and so on. You define a list of resources in your configuration file, which is then deployed using the Deployment Manager service.

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

Resource representations



{
  "id": unsigned long,
  "insertTime": string,
  "updateTime": string,
  "name": string,
  "type": string,
  "manifest": string,
  "url": string,
  "properties": string,
  "finalProperties": string,
  "update": {
    "manifest": string,
    "errors": [
      string
    ],
    "state": string,
    "intent": string,
    "properties": string,
    "finalProperties": string
  }
}
Property name Value Description Notes
finalProperties string [Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML.
id unsigned long [Output Only] Unique identifier for the resource; defined by the server.
insertTime string [Output Only] Timestamp when the resource was created or acquired, in RFC3339 text format .
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.
properties string [Output Only] The current properties of the resource before any references have been filled in. Returned as serialized YAML.
type string [Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
update nested object [Output Only] If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
update.errors[] list [Output Only] List of all errors encountered while trying to enact update.intent.
update.finalProperties string [Output Only] The expanded properties of the resource with reference values expanded. Returned as serialized YAML.
update.intent string [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
update.manifest string [Output Only] URL of the manifest representing the update configuration of this resource.
update.properties string [Output Only] The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.
update.state string [Output Only] The state of the resource.
updateTime string [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
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.
このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Cloud Deployment Manager Documentation