ArmMigrationAssessmentModelFactory.MigrationAssessmentError 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 MigrationAssessmentError.
public static Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentError MigrationAssessmentError(int? id = default, string code = default, string runAsAccountId = default, string applianceName = default, string message = default, string summaryMessage = default, string agentScenario = default, string possibleCauses = default, string recommendedAction = default, string severity = default, System.Collections.Generic.IReadOnlyDictionary<string,string> messageParameters = default, DateTimeOffset? updatedOn = default, string impactedAssessmentType = default);
static member MigrationAssessmentError : Nullable<int> * string * string * string * string * string * string * string * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentError
Public Shared Function MigrationAssessmentError (Optional id As Nullable(Of Integer) = Nothing, Optional code As String = Nothing, Optional runAsAccountId As String = Nothing, Optional applianceName As String = Nothing, Optional message As String = Nothing, Optional summaryMessage As String = Nothing, Optional agentScenario As String = Nothing, Optional possibleCauses As String = Nothing, Optional recommendedAction As String = Nothing, Optional severity As String = Nothing, Optional messageParameters As IReadOnlyDictionary(Of String, String) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional impactedAssessmentType As String = Nothing) As MigrationAssessmentError
Parameters
- code
- String
Gets the error code.
- runAsAccountId
- String
Gets the Run as account ID.
- applianceName
- String
Gets the Appliance name.
- message
- String
Gets the error message.
- summaryMessage
- String
Gets the error summary message.
- agentScenario
- String
Gets the agent scenario where this error occurred.
- possibleCauses
- String
Gets the error possible causes.
- recommendedAction
- String
Gets the recommended action for the error.
- severity
- String
Gets the error severity.
- messageParameters
- IReadOnlyDictionary<String,String>
Gets the error message parameters.
- updatedOn
- Nullable<DateTimeOffset>
Gets the time stamp when the error was updated.
- impactedAssessmentType
- String
Gets the type of assessment impacted by this error.
Returns
A new MigrationAssessmentError instance for mocking.