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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET