ArmDeviceRegistryModelFactory.DeviceRegistryStatusError 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.
Defines the status config error properties.
public static Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryStatusError DeviceRegistryStatusError(string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryErrorDetails> details = default);
static member DeviceRegistryStatusError : string * string * seq<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryErrorDetails> -> Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryStatusError
Public Shared Function DeviceRegistryStatusError (Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of DeviceRegistryErrorDetails) = Nothing) As DeviceRegistryStatusError
Parameters
- code
- String
Error code for classification of errors (ex: '400', '404', '500', etc.).
- message
- String
Human-readable helpful error message to provide additional context for error (e.g.,: “Capability ID 'foo' does not exist”).
- details
- IEnumerable<DeviceRegistryErrorDetails>
Array of error details that describe the status of each error.
Returns
A new DeviceRegistryStatusError instance for mocking.