ResourceMaintenance is a resource that represents a maintenance operation on a resource.
| JSON representation |
|---|
{ "name": string, "resource": { object ( |
| Fields | |
|---|---|
name |
Identifier. The name of the resourceMaintenance resource. Format: |
resource |
Output only. The resource spec of the resource maintenance. |
maintenance |
Output only. The details of the maintenance. |
state |
Output only. The state of the resource maintenance. |
createTime |
Output only. The create time of the resource maintenance. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The update time of the resource maintenance. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maintenanceStartTime |
Output only. The time when the resource maintenance has started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maintenanceEndTime |
Output only. The time when the resource maintenance has completed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maintenanceCancelTime |
Output only. The time when the resource maintenance was cancelled. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maintenanceScheduledStartTime |
Output only. The time when the maintenance on the resource was scheduled to start. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maintenanceScheduledEndTime |
Output only. The time when the maintenance on the resource was scheduled to end. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
userControllable |
Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field) |
controls[] |
Output only. The controls of the maintenance. |
labels |
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels. An object containing a list of |
annotations |
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations An object containing a list of |
uid |
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4. |
etag |
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. |
Resource
Resource contains information about the resource affected by maintenance.
| JSON representation |
|---|
{ "resourceName": string, "location": string, "type": string } |
| Fields | |
|---|---|
resourceName |
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names |
location |
Output only. The location of the resource. Format: |
type |
Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported. |
Maintenance
Maintenance is the maintenance details of a resource's maintenance.
| JSON representation |
|---|
{
"maintenanceName": string,
"title": string,
"description": string,
"category": enum ( |
| Fields | |
|---|---|
maintenanceName |
Maintenance is the name of the corresponding maintenance resource following the standard naming scheme: |
title |
Output only. The title of the maintenance. |
description |
Output only. The description of the maintenance. |
category |
Output only. The category of the maintenance. |