AzureGraph (version 1.0.1)

az_device: Device in Azure Active Directory

Description

Base class representing a registered device.

Usage

az_device

Arguments

Format

An R6 object of class az_device, inheriting from az_object.

Fields

  • token: The token used to authenticate with the Graph host.

  • tenant: The Azure Active Directory tenant for this group.

  • type: always "device" for a device object.

  • properties: The device properties.

Methods

  • new(...): Initialize a new device object. Do not call this directly; see 'Initialization' below.

  • delete(confirm=TRUE): Delete a device. By default, ask for confirmation first.

  • update(...): Update the device information in Azure Active Directory.

  • do_operation(...): Carry out an arbitrary operation on the device.

  • sync_fields(): Synchronise the R object with the app data in Azure Active Directory.

  • list_group_memberships(): Return the IDs of all groups this device is a member of.

  • list_object_memberships(): Return the IDs of all groups, administrative units and directory roles this device is a member of.

Initialization

Create objects of this class via the list_registered_devices() and list_owned_devices() methods of the az_user class.

See Also

ms_graph, az_user, az_object

Microsoft Graph overview, REST API reference