ResourceHealthState Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The health state of the resource.
public readonly struct ResourceHealthState : IEquatable<Azure.ResourceManager.IotOperations.Models.ResourceHealthState>
type ResourceHealthState = struct
Public Structure ResourceHealthState
Implements IEquatable(Of ResourceHealthState)
- Inheritance
-
ResourceHealthState
- Implements
Constructors
| Name | Description |
|---|---|
| ResourceHealthState(String) |
Initializes a new instance of ResourceHealthState. |
Properties
| Name | Description |
|---|---|
| Available |
Resource is Available and functioning as expected. |
| Degraded |
Resource health is degraded. |
| Unavailable |
Resource is not functioning as expected. |
| Unknown |
Resource state is unknown. |
Methods
| Name | Description |
|---|---|
| Equals(ResourceHealthState) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(ResourceHealthState, ResourceHealthState) |
Determines if two ResourceHealthState values are the same. |
| Implicit(String to Nullable<ResourceHealthState>) | |
| Implicit(String to ResourceHealthState) |
Converts a string to a ResourceHealthState. |
| Inequality(ResourceHealthState, ResourceHealthState) |
Determines if two ResourceHealthState values are not the same. |