ArmDeviceRegistryModelFactory.DeviceStatus 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.
public static Azure.ResourceManager.DeviceRegistry.Models.DeviceStatus DeviceStatus(Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryStatusConfig config = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.DeviceRegistry.Models.DeviceStatusEndpoint> endpointsInbound = default);
static member DeviceStatus : Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryStatusConfig * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.DeviceRegistry.Models.DeviceStatusEndpoint> -> Azure.ResourceManager.DeviceRegistry.Models.DeviceStatus
Public Shared Function DeviceStatus (Optional config As DeviceRegistryStatusConfig = Nothing, Optional endpointsInbound As IReadOnlyDictionary(Of String, DeviceStatusEndpoint) = Nothing) As DeviceStatus
Parameters
- config
- DeviceRegistryStatusConfig
Defines the device status config properties.
- endpointsInbound
- IReadOnlyDictionary<String,DeviceStatusEndpoint>
KeyValue pair representing status of inbound endpoints.
Returns
A new DeviceStatus instance for mocking.