resources
Creates, updates, deletes, gets or lists a resources
resource.
Overview
Name | resources |
Type | Resource |
Id | google.deploymentmanager.resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
name | string | Output only. The name of the resource as it appears in the YAML config. |
accessControl | object | The access controls set on the resource. |
finalProperties | string | Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML. |
insertTime | string | Output only. Creation timestamp in RFC3339 text format. |
manifest | string | Output only. URL of the manifest representing the current configuration of this resource. |
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 cloudfunctions.v1beta1.function . |
update | object | |
updateTime | string | Output only. Update timestamp in RFC3339 text format. |
url | string | Output only. The URL of the actual resource. |
warnings | array | Output only. If warning messages are generated during processing of this resource, this field will be populated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deployment, project, resource | Gets information about a single resource. |
list | SELECT | deployment, project | Lists all resources in a given deployment. |
SELECT
examples
Lists all resources in a given deployment.
SELECT
id,
name,
accessControl,
finalProperties,
insertTime,
manifest,
properties,
type,
update,
updateTime,
url,
warnings
FROM google.deploymentmanager.resources
WHERE deployment = '{{ deployment }}'
AND project = '{{ project }}';