ArmComputeFleetModelFactory.ComputeFleetApiError 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 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
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