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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET