Skip to main content

DeviceResource

Properties​

NameTypeDescriptionNotes
IdStringThe source resource identifier.[optional]
TypeStringThe type of the source resource.[optional]
NameStringThe display name of the source resource.[optional]
Features[]StringThe set of features supported by the source resource.[optional]

Examples​

  • Prepare the resource
$DeviceResource = Initialize-DeviceResource -Id 8886e5e3-63d0-462f-a195-d98da885b8dc `
-Type endpoint `
-Name lab-mbp-0142 `
-Features ["PROVISIONING"]
  • Convert the resource to JSON
$DeviceResource | ConvertTo-JSON

[Back to top]