Sdílet prostřednictvím


MicrosoftGraphDevice Class

Definition

device

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphDeviceTypeConverter))]
public class MicrosoftGraphDevice : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDevice, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphDeviceTypeConverter))>]
type MicrosoftGraphDevice = class
    interface IMicrosoftGraphDevice
    interface IJsonSerializable
    interface IMicrosoftGraphDirectoryObject
    interface IMicrosoftGraphEntityAutoGenerated
    interface IAssociativeArray<obj>
    interface IValidates
Public Class MicrosoftGraphDevice
Implements IAssociativeArray(Of Object), IMicrosoftGraphDevice, IValidates
Inheritance
MicrosoftGraphDevice
Attributes
Implements

Constructors

MicrosoftGraphDevice()

Creates an new MicrosoftGraphDevice instance.

Fields

__additionalProperties

Properties

AccountEnabled

true if the account is enabled; otherwise, false. Required. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property.

AlternativeSecurityId

For internal use only. Not nullable. Supports $filter (eq, not, ge, le).

ApproximateLastSignInDateTime

The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy.

ComplianceExpirationDateTime

The timestamp when the device is no longer deemed compliant. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.

DeletedDateTime
DeviceId

Unique identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith).

DeviceMetadata

For internal use only. Set to null.

DeviceVersion

For internal use only.

DisplayName

The name displayed in directory

Extension

The collection of open extensions defined for the device. Read-only. Nullable.

Id

Read-only.

IsCompliant

true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not).

IsManaged

true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not).

Item[String]
MdmAppId

Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith).

MemberOf

Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand.

OdataId

The full id of object in directory

OdataType

The type of object in directory

OnPremisesLastSyncDateTime

The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in).

OnPremisesSyncEnabled

true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values).

OperatingSystem

The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values).

OperatingSystemVersion

The version of the operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values).

PhysicalId

For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections).

ProfileType

The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT.

RegisteredOwner

The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. Supports $expand.

RegisteredUser

Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.

SystemLabel

List of labels applied to the device by the system. Supports $filter (eq when counting empty collections).

TransitiveMemberOf

Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand.

TrustType

Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphDevice.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphDevice.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDevice.

FromJsonString(String)

Creates a new instance of MicrosoftGraphDevice, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphDevice into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)
Validate(IEventListener)

Validates that this object meets the validation criteria.

Operators

Implicit(MicrosoftGraphDevice to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to