ArmResourceHealthModelFactory.ResourceHealthAvailabilityStatusProperties Method
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.
Initializes a new instance of ResourceHealthAvailabilityStatusProperties.
public static Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatusProperties ResourceHealthAvailabilityStatusProperties (Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStateValue? availabilityState = default, string title = default, string summary = default, string detailedStatus = default, string reasonType = default, string context = default, string category = default, string articleId = default, DateTimeOffset? rootCauseAttributionOn = default, string healthEventType = default, string healthEventCause = default, string healthEventCategory = default, string healthEventId = default, DateTimeOffset? resolutionEta = default, DateTimeOffset? occuredOn = default, Azure.ResourceManager.ResourceHealth.Models.ReasonChronicityType? reasonChronicity = default, DateTimeOffset? reportedOn = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStateRecentlyResolved recentlyResolved = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthRecommendedAction> recommendedActions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEvent> serviceImpactingEvents = default);
static member ResourceHealthAvailabilityStatusProperties : Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStateValue> * string * string * string * string * string * string * string * Nullable<DateTimeOffset> * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ResourceHealth.Models.ReasonChronicityType> * Nullable<DateTimeOffset> * Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStateRecentlyResolved * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthRecommendedAction> * seq<Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEvent> -> Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatusProperties
Public Shared Function ResourceHealthAvailabilityStatusProperties (Optional availabilityState As Nullable(Of ResourceHealthAvailabilityStateValue) = Nothing, Optional title As String = Nothing, Optional summary As String = Nothing, Optional detailedStatus As String = Nothing, Optional reasonType As String = Nothing, Optional context As String = Nothing, Optional category As String = Nothing, Optional articleId As String = Nothing, Optional rootCauseAttributionOn As Nullable(Of DateTimeOffset) = Nothing, Optional healthEventType As String = Nothing, Optional healthEventCause As String = Nothing, Optional healthEventCategory As String = Nothing, Optional healthEventId As String = Nothing, Optional resolutionEta As Nullable(Of DateTimeOffset) = Nothing, Optional occuredOn As Nullable(Of DateTimeOffset) = Nothing, Optional reasonChronicity As Nullable(Of ReasonChronicityType) = Nothing, Optional reportedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recentlyResolved As ResourceHealthAvailabilityStateRecentlyResolved = Nothing, Optional recommendedActions As IEnumerable(Of ResourceHealthRecommendedAction) = Nothing, Optional serviceImpactingEvents As IEnumerable(Of ServiceImpactingEvent) = Nothing) As ResourceHealthAvailabilityStatusProperties
Parameters
- availabilityState
- Nullable<ResourceHealthAvailabilityStateValue>
Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event.
- title
- String
Title description of the availability status.
- summary
- String
Summary description of the availability status.
- detailedStatus
- String
Details of the availability status.
- reasonType
- String
When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc.
- context
- String
When an event is created, it can either be triggered by a customer or the platform of the resource and this field will illustrate that. This field is connected to the category field in this object.
- category
- String
When a context field is set to Platform, this field will reflect if the event was planned or unplanned. If the context field does not have a value of Platform, then this field will be ignored.
- articleId
- String
The Article Id.
- rootCauseAttributionOn
- Nullable<DateTimeOffset>
When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.
- healthEventType
- String
In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc.
- healthEventCause
- String
In case of an availability impacting event, it describes where the health impacting event was originated. Examples are PlatformInitiated, UserInitiated etc.
- healthEventCategory
- String
In case of an availability impacting event, it describes the category of a PlatformInitiated health impacting event. Examples are Planned, Unplanned etc.
- healthEventId
- String
It is a unique Id that identifies the event.
- resolutionEta
- Nullable<DateTimeOffset>
When the resource's availabilityState is Unavailable and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved.
- occuredOn
- Nullable<DateTimeOffset>
Timestamp for when last change in health status occurred.
- reasonChronicity
- Nullable<ReasonChronicityType>
Chronicity of the availability transition.
- reportedOn
- Nullable<DateTimeOffset>
Timestamp for when the health was last checked.
- recentlyResolved
- ResourceHealthAvailabilityStateRecentlyResolved
An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned.
- recommendedActions
- IEnumerable<ResourceHealthRecommendedAction>
Lists actions the user can take based on the current availabilityState of the resource.
- serviceImpactingEvents
- IEnumerable<ServiceImpactingEvent>
Lists the service impacting events that may be affecting the health of the resource.
Returns
A new ResourceHealthAvailabilityStatusProperties instance for mocking.