ArmResourceHealthModelFactory.ResourceHealthEventData 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 ResourceHealthEventData.
public static Azure.ResourceManager.ResourceHealth.ResourceHealthEventData ResourceHealthEventData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventTypeValue? eventType = default, Azure.ResourceManager.ResourceHealth.Models.EventSubTypeValue? eventSubType = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventSourceValue? eventSource = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventStatusValue? status = default, string title = default, string summary = default, string header = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventInsightLevelValue? level = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventLevelValue? eventLevel = default, string externalIncidentId = default, string reason = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventArticle article = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventLink> links = default, DateTimeOffset? impactStartOn = default, DateTimeOffset? impactMitigationOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpact> impact = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventRecommendedActions recommendedActions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventFaq> faqs = default, bool? isHirEvent = default, bool? isMicrosoftSupportEnabled = default, string description = default, bool? isPlatformInitiated = default, bool? isChatWithUsEnabled = default, int? priority = default, DateTimeOffset? lastUpdateOn = default, string hirStage = default, string additionalInformationMessage = default, int? duration = default, string impactType = default, string maintenanceId = default, string maintenanceType = default, string argQuery = default);
static member ResourceHealthEventData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventTypeValue> * Nullable<Azure.ResourceManager.ResourceHealth.Models.EventSubTypeValue> * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventSourceValue> * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventStatusValue> * string * string * string * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventInsightLevelValue> * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventLevelValue> * string * string * Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventArticle * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventLink> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpact> * Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventRecommendedActions * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventFaq> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<DateTimeOffset> * string * string * Nullable<int> * string * string * string * string -> Azure.ResourceManager.ResourceHealth.ResourceHealthEventData
Public Shared Function ResourceHealthEventData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional eventType As Nullable(Of ResourceHealthEventTypeValue) = Nothing, Optional eventSubType As Nullable(Of EventSubTypeValue) = Nothing, Optional eventSource As Nullable(Of ResourceHealthEventSourceValue) = Nothing, Optional status As Nullable(Of ResourceHealthEventStatusValue) = Nothing, Optional title As String = Nothing, Optional summary As String = Nothing, Optional header As String = Nothing, Optional level As Nullable(Of ResourceHealthEventInsightLevelValue) = Nothing, Optional eventLevel As Nullable(Of ResourceHealthEventLevelValue) = Nothing, Optional externalIncidentId As String = Nothing, Optional reason As String = Nothing, Optional article As ResourceHealthEventArticle = Nothing, Optional links As IEnumerable(Of ResourceHealthEventLink) = Nothing, Optional impactStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional impactMitigationOn As Nullable(Of DateTimeOffset) = Nothing, Optional impact As IEnumerable(Of ResourceHealthEventImpact) = Nothing, Optional recommendedActions As ResourceHealthEventRecommendedActions = Nothing, Optional faqs As IEnumerable(Of ResourceHealthEventFaq) = Nothing, Optional isHirEvent As Nullable(Of Boolean) = Nothing, Optional isMicrosoftSupportEnabled As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional isPlatformInitiated As Nullable(Of Boolean) = Nothing, Optional isChatWithUsEnabled As Nullable(Of Boolean) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional lastUpdateOn As Nullable(Of DateTimeOffset) = Nothing, Optional hirStage As String = Nothing, Optional additionalInformationMessage As String = Nothing, Optional duration As Nullable(Of Integer) = Nothing, Optional impactType As String = Nothing, Optional maintenanceId As String = Nothing, Optional maintenanceType As String = Nothing, Optional argQuery As String = Nothing) As ResourceHealthEventData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- eventType
- Nullable<ResourceHealthEventTypeValue>
Type of event.
- eventSubType
- Nullable<EventSubTypeValue>
Sub type of the event. Currently used to determine retirement communications for health advisory events.
- eventSource
- Nullable<ResourceHealthEventSourceValue>
Source of event.
Current status of event.
- title
- String
Title text of event.
- summary
- String
Summary text of event.
- header
- String
Header text of event.
Level of insight.
- eventLevel
- Nullable<ResourceHealthEventLevelValue>
Level of event.
- externalIncidentId
- String
The id of the Incident.
- reason
- String
The reason for the Incident.
- article
- ResourceHealthEventArticle
Article of event.
Useful links of event.
- impactStartOn
- Nullable<DateTimeOffset>
It provides the Timestamp for when the health impacting event started.
- impactMitigationOn
- Nullable<DateTimeOffset>
It provides the Timestamp for when the health impacting event resolved.
- impact
- IEnumerable<ResourceHealthEventImpact>
List services impacted by the service health event.
- recommendedActions
- ResourceHealthEventRecommendedActions
Recommended actions of event.
Frequently asked questions for the service health event.
It provides information if the event is High incident rate event or not.
Tells if we want to enable or disable Microsoft Support for this event.
- description
- String
Contains the communication message for the event, that could include summary, root cause and other details.
Tells if we want to enable or disable Microsoft Support for this event.
Priority level of the event. Has value from 0 to 23. 0 is the highest priority. Service issue events have higher priority followed by planned maintenance and health advisory. Critical events have higher priority followed by error, warning and informational. Furthermore, active events have higher priority than resolved.
- lastUpdateOn
- Nullable<DateTimeOffset>
It provides the Timestamp for when the health impacting event was last updated.
- hirStage
- String
Stage for HIR Document.
- additionalInformationMessage
- String
Additional information.
- impactType
- String
The type of the impact.
- maintenanceId
- String
Unique identifier for planned maintenance event.
- maintenanceType
- String
The type of planned maintenance event.
- argQuery
- String
Azure Resource Graph query to fetch the affected resources from their existing Azure Resource Graph locations.
Returns
A new ResourceHealthEventData instance for mocking.
Applies to
Azure SDK for .NET