Share via


ArmMigrationDiscoverySapModelFactory.SapMigrateError Method

Definition

Initializes a new instance of SapMigrateError.

public static Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError SapMigrateError (string code = default, string message = default, string recommendation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryErrorDetail> details = default);
static member SapMigrateError : string * string * string * seq<Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryErrorDetail> -> Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError
Public Shared Function SapMigrateError (Optional code As String = Nothing, Optional message As String = Nothing, Optional recommendation As String = Nothing, Optional details As IEnumerable(Of SapDiscoveryErrorDetail) = Nothing) As SapMigrateError

Parameters

code
String

Service specific error code which serves as the substatus for the HTTP error code.

message
String

Description of the error.

recommendation
String

Description of the recommendation.

details
IEnumerable<SapDiscoveryErrorDetail>

Internal error details.

Returns

A new SapMigrateError instance for mocking.

Applies to