ArmMigrationDiscoverySapModelFactory.SapMigrateError 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET