ArmComputeModelFactory.ComputeApiError 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 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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET