public sealed class ResourceMaintenance : IMessage<ResourceMaintenance>, IEquatable<ResourceMaintenance>, IDeepCloneable<ResourceMaintenance>, IBufferMessage, IMessage
Reference documentation and code samples for the Maintenance v1beta API class ResourceMaintenance.
ResourceMaintenance is a resource that represents a maintenance operation on a resource.
Implements
IMessageResourceMaintenance, IEquatableResourceMaintenance, IDeepCloneableResourceMaintenance, IBufferMessage, IMessageNamespace
Google.Cloud.Maintenance.Api.V1BetaAssembly
Google.Cloud.Maintenance.Api.V1Beta.dll
Constructors
ResourceMaintenance()
public ResourceMaintenance()
ResourceMaintenance(ResourceMaintenance)
public ResourceMaintenance(ResourceMaintenance other)
Parameter | |
---|---|
Name | Description |
other |
ResourceMaintenance |
Properties
Annotations
public MapField<string, string> Annotations { get; }
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
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Controls
public RepeatedField<MaintenanceControl> Controls { get; }
Output only. The controls of the maintenance.
Property Value | |
---|---|
Type | Description |
RepeatedFieldMaintenanceControl |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The create time of the resource maintenance.
Property Value | |
---|---|
Type | Description |
Timestamp |
Etag
public string Etag { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Maintenance
public ResourceMaintenance.Types.Maintenance Maintenance { get; set; }
Output only. The details of the maintenance.
Property Value | |
---|---|
Type | Description |
ResourceMaintenanceTypesMaintenance |
MaintenanceCancelTime
public Timestamp MaintenanceCancelTime { get; set; }
Output only. The time when the resource maintenance was cancelled.
Property Value | |
---|---|
Type | Description |
Timestamp |
MaintenanceEndTime
public Timestamp MaintenanceEndTime { get; set; }
Output only. The time when the resource maintenance has completed.
Property Value | |
---|---|
Type | Description |
Timestamp |
MaintenanceScheduledEndTime
public Timestamp MaintenanceScheduledEndTime { get; set; }
Output only. The time when the maintenance on the resource was scheduled to end.
Property Value | |
---|---|
Type | Description |
Timestamp |
MaintenanceScheduledStartTime
public Timestamp MaintenanceScheduledStartTime { get; set; }
Output only. The time when the maintenance on the resource was scheduled to start.
Property Value | |
---|---|
Type | Description |
Timestamp |
MaintenanceStartTime
public Timestamp MaintenanceStartTime { get; set; }
Output only. The time when the resource maintenance has started.
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
Identifier. The name of the resource_maintenance resource.
Format:
"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"
Property Value | |
---|---|
Type | Description |
string |
Resource
public ResourceMaintenance.Types.Resource Resource { get; set; }
Output only. The resource spec of the resource maintenance.
Property Value | |
---|---|
Type | Description |
ResourceMaintenanceTypesResource |
ResourceMaintenanceName
public ResourceMaintenanceName ResourceMaintenanceName { get; set; }
ResourceMaintenanceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ResourceMaintenanceName |
State
public ResourceMaintenance.Types.State State { get; set; }
Output only. The state of the resource maintenance.
Property Value | |
---|---|
Type | Description |
ResourceMaintenanceTypesState |
Uid
public string Uid { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The update time of the resource maintenance.
Property Value | |
---|---|
Type | Description |
Timestamp |
UserControllable
public bool UserControllable { get; set; }
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)
Property Value | |
---|---|
Type | Description |
bool |