pub struct Device {
pub attributes: HashMap<String, String>,
pub discovered_device_ref: Option<String>,
pub enabled: Option<bool>,
pub endpoints: Option<DeviceEndpoints>,
pub external_device_id: Option<String>,
pub last_transition_time: Option<DateTime<Utc>>,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub operating_system: Option<String>,
pub operating_system_version: Option<String>,
pub uuid: Option<String>,
pub version: Option<u64>,
}
Expand description
Represents a Device resource, modeled after the devices.namespaces.deviceregistry.microsoft.com CRD in Kubernetes.
Fields§
§attributes: HashMap<String, String>
A set of key-value pairs that contain custom attributes set by the customer.
discovered_device_ref: Option<String>
Reference to a device. Populated only if the device had been created from discovery flow. Discovered device name must be provided.
enabled: Option<bool>
Indicates if the resource and identity are enabled or not. A disabled device cannot authenticate with Microsoft Entra ID.
endpoints: Option<DeviceEndpoints>
Connection endpoint url a device can use to connect to a service.
external_device_id: Option<String>
The Device ID provided by the customer.
last_transition_time: Option<DateTime<Utc>>
A timestamp (in UTC) that is updated each time the resource is modified.
manufacturer: Option<String>
Device manufacturer.
model: Option<String>
Device model.
operating_system: Option<String>
Device operating system.
operating_system_version: Option<String>
Device operating system version.
uuid: Option<String>
A unique identifier for this resource.
version: Option<u64>
An integer that is incremented each time the resource is modified.