Sdílet prostřednictvím


ArmComputeModelFactory.ComputeApiError Method

Definition

Initializes a new instance of ComputeApiError.

public static Azure.ResourceManager.Compute.Models.ComputeApiError ComputeApiError (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeApiErrorBase> details = default, Azure.ResourceManager.Compute.Models.InnerError innererror = default, string code = default, string target = default, string message = default);
static member ComputeApiError : seq<Azure.ResourceManager.Compute.Models.ComputeApiErrorBase> * Azure.ResourceManager.Compute.Models.InnerError * string * string * string -> Azure.ResourceManager.Compute.Models.ComputeApiError
Public Shared Function ComputeApiError (Optional details As IEnumerable(Of ComputeApiErrorBase) = Nothing, Optional innererror As InnerError = Nothing, Optional code As String = Nothing, Optional target As String = Nothing, Optional message As String = Nothing) As ComputeApiError

Parameters

details
IEnumerable<ComputeApiErrorBase>

The Api error details.

innererror
InnerError

The Api inner error.

code
String

The error code.

target
String

The target of the particular error.

message
String

The error message.

Returns

A new ComputeApiError instance for mocking.

Applies to