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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET