Resource: ResourceMaintenance
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: projects/{project}/locations/{location}/resourceMaintenance/{resourceMaintenanceId} |
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. |
create |
Output only. The create time of the resource maintenance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The update time of the resource maintenance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
maintenance |
Output only. The time when the resource maintenance has started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
maintenance |
Output only. The time when the resource maintenance has completed. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
maintenance |
Output only. The time when the resource maintenance was cancelled. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
maintenance |
Output only. The time when the maintenance on the resource was scheduled to start. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
maintenance |
Output only. The time when the maintenance on the resource was scheduled to end. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels. An object containing a list of |
uid |
Output only. A universally unique identifier (in UUID4 format) for the ResourceMaintenance. |
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
Spec is the spec of a resource maintenance.
JSON representation |
---|
{ "resourceName": string, "location": string, "type": string } |
Fields | |
---|---|
resource |
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/iam/docs/full-resource-names |
location |
Output only. The location of the resource. Format: locations/us-central1 |
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 } |
Fields | |
---|---|
maintenance |
Maintenance is the name of the corresponding maintenance resource following the standard naming scheme: "{maintenance_id}" |
title |
Output only. The title of the maintenance. |
description |
Output only. The description of the maintenance. |
State
State is the state of a resource maintenance.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. |
SCHEDULED |
The resource maintenance is available. |
STARTED |
The resource maintenance is started. |
CANCELLED |
The resource maintenance is cancelled. |
COMPLETED |
The resource maintenance is completed. |
Methods |
|
---|---|
|
Retrieve a single resource maintenance. |
|
Retrieve a collection of resource maintenances. |