Sdílet prostřednictvím


ArmCdnModelFactory.MigrationErrorType(String, String, String, String) Method

Definition

Initializes a new instance of MigrationErrorType.

public static Azure.ResourceManager.Cdn.Models.MigrationErrorType MigrationErrorType (string code = default, string resourceName = default, string errorMessage = default, string nextSteps = default);
static member MigrationErrorType : string * string * string * string -> Azure.ResourceManager.Cdn.Models.MigrationErrorType
Public Shared Function MigrationErrorType (Optional code As String = Nothing, Optional resourceName As String = Nothing, Optional errorMessage As String = Nothing, Optional nextSteps As String = Nothing) As MigrationErrorType

Parameters

code
String

Error code.

resourceName
String

Resource which has the problem.

errorMessage
String

Error message indicating why the operation failed.

nextSteps
String

Describes what needs to be done to fix the problem.

Returns

A new MigrationErrorType instance for mocking.

Applies to