ArmRecoveryServicesSiteRecoveryModelFactory.HealthErrorSummary 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 HealthErrorSummary.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorSummary HealthErrorSummary (string summaryCode = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCategory? category = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryErrorSeverity? severity = default, string summaryMessage = default, string affectedResourceType = default, string affectedResourceSubtype = default, System.Collections.Generic.IEnumerable<string> affectedResourceCorrelationIds = default);
static member HealthErrorSummary : string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCategory> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryErrorSeverity> * string * string * string * seq<string> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorSummary
Public Shared Function HealthErrorSummary (Optional summaryCode As String = Nothing, Optional category As Nullable(Of HealthErrorCategory) = Nothing, Optional severity As Nullable(Of SiteRecoveryErrorSeverity) = Nothing, Optional summaryMessage As String = Nothing, Optional affectedResourceType As String = Nothing, Optional affectedResourceSubtype As String = Nothing, Optional affectedResourceCorrelationIds As IEnumerable(Of String) = Nothing) As HealthErrorSummary
Parameters
- summaryCode
- String
The code of the health error.
- category
- Nullable<HealthErrorCategory>
The category of the health error.
- severity
- Nullable<SiteRecoveryErrorSeverity>
Severity of error.
- summaryMessage
- String
The summary message of the health error.
- affectedResourceType
- String
The type of affected ARM resource.
- affectedResourceSubtype
- String
The sub type of any subcomponent within the ARM resource that this might be applicable. Value remains null if not applicable.
- affectedResourceCorrelationIds
- IEnumerable<String>
The list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue.
Returns
A new HealthErrorSummary instance for mocking.
Applies to
Azure SDK for .NET