public sealed class AllocationResourceStatusHealthInfo : IMessage<AllocationResourceStatusHealthInfo>, IEquatable<AllocationResourceStatusHealthInfo>, IDeepCloneable<AllocationResourceStatusHealthInfo>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class AllocationResourceStatusHealthInfo.
Health information for the reservation.
Implements
IMessageAllocationResourceStatusHealthInfo, IEquatableAllocationResourceStatusHealthInfo, IDeepCloneableAllocationResourceStatusHealthInfo, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
AllocationResourceStatusHealthInfo()
public AllocationResourceStatusHealthInfo()AllocationResourceStatusHealthInfo(AllocationResourceStatusHealthInfo)
public AllocationResourceStatusHealthInfo(AllocationResourceStatusHealthInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
AllocationResourceStatusHealthInfo |
Properties
DegradedBlockCount
public int DegradedBlockCount { get; set; }The number of reservation blocks that are degraded.
| Property Value | |
|---|---|
| Type | Description |
int |
|
HasDegradedBlockCount
public bool HasDegradedBlockCount { get; }Gets whether the "degraded_block_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasHealthStatus
public bool HasHealthStatus { get; }Gets whether the "health_status" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasHealthyBlockCount
public bool HasHealthyBlockCount { get; }Gets whether the "healthy_block_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HealthStatus
public string HealthStatus { get; set; }The health status of the reservation. Check the HealthStatus enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HealthyBlockCount
public int HealthyBlockCount { get; set; }The number of reservation blocks that are healthy.
| Property Value | |
|---|---|
| Type | Description |
int |
|