Partilhar via


ArmComputeFleetModelFactory.ComputeFleetApiError Method

Definition

Initializes a new instance of ComputeFleetApiError.

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

Parameters

code
String

The error code.

target
String

The target of the particular error.

message
String

The error message.

details
IEnumerable<ComputeFleetApiErrorInfo>

The API error details.

innererror
ComputeFleetInnerError

The API inner error.

Returns

A new ComputeFleetApiError instance for mocking.

Applies to