resource_changes
Creates, updates, deletes, gets or lists a resource_changes resource.
Overview
| Name | resource_changes |
| Type | Resource |
| Id | google.config.resource_changes |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
intent | string | Output only. The intent of the resource change. |
propertyChanges | array | Output only. The property changes of the resource change. |
terraformInfo | object | Output only. Terraform info of the resource change. (id: ResourceChangeTerraformInfo) |
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
intent | string | Output only. The intent of the resource change. |
propertyChanges | array | Output only. The property changes of the resource change. |
terraformInfo | object | Output only. Terraform info of the resource change. (id: ResourceChangeTerraformInfo) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, previewsId, resourceChangesId | Get a ResourceChange for a given preview. | |
list | select | projectsId, locationsId, previewsId | pageSize, pageToken, filter, orderBy | Lists ResourceChanges for a given preview. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
previewsId | string | |
projectsId | string | |
resourceChangesId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- get
- list
Get a ResourceChange for a given preview.
SELECT
name,
intent,
propertyChanges,
terraformInfo
FROM google.config.resource_changes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND previewsId = '{{ previewsId }}' -- required
AND resourceChangesId = '{{ resourceChangesId }}' -- required
;
Lists ResourceChanges for a given preview.
SELECT
name,
intent,
propertyChanges,
terraformInfo
FROM google.config.resource_changes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND previewsId = '{{ previewsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
;