共用方式為


DeviceStatus type

定義 DeviceStatus 的值。

type DeviceStatus =
  | "Unknown"
  | "Online"
  | "Offline"
  | "Deactivated"
  | "RequiresAttention"
  | "MaintenanceMode"
  | "Creating"
  | "Provisioning"
  | "Deactivating"
  | "Deleted"
  | "ReadyToSetup"