你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphManagedDevice Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphManagedDevice
- com.
- com.
public final class MicrosoftGraphManagedDevice
extends MicrosoftGraphEntity
managedDevice Devices that are managed or pre-enrolled through Intune.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphManagedDevice() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
activationLockBypassCode()
Get the activation |
Map<String,Object> |
additionalProperties()
Get the additional |
String |
androidSecurityPatchLevel()
Get the android |
String |
azureADDeviceId()
Get the azure |
Boolean |
azureADRegistered()
Get the azure |
Offset |
complianceGracePeriodExpirationDateTime()
Get the compliance |
Microsoft |
complianceState()
Get the compliance |
Microsoft |
configurationManagerClientEnabledFeatures()
Get the configuration |
List<Microsoft |
deviceActionResults()
Get the device |
Microsoft |
deviceCategory()
Get the device |
String |
deviceCategoryDisplayName()
Get the device |
List<Microsoft |
deviceCompliancePolicyStates()
Get the device |
List<Microsoft |
deviceConfigurationStates()
Get the device |
Microsoft |
deviceEnrollmentType()
Get the device |
Microsoft |
deviceHealthAttestationState()
Get the device |
String |
deviceName()
Get the device |
Microsoft |
deviceRegistrationState()
Get the device |
Boolean |
easActivated()
Get the eas |
Offset |
easActivationDateTime()
Get the eas |
String |
easDeviceId()
Get the eas |
String |
emailAddress()
Get the email |
Offset |
enrolledDateTime()
Get the enrolled |
Microsoft |
exchangeAccessState()
Get the exchange |
Microsoft |
exchangeAccessStateReason()
Get the exchange |
Offset |
exchangeLastSuccessfulSyncDateTime()
Get the exchange |
Long |
freeStorageSpaceInBytes()
Get the free |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
imei()
Get the imei property: IMEI. |
Boolean |
isEncrypted()
Get the is |
Boolean |
isSupervised()
Get the is |
String |
jailBroken()
Get the jail |
Offset |
lastSyncDateTime()
Get the last |
String |
managedDeviceName()
Get the managed |
Microsoft |
managedDeviceOwnerType()
Get the managed |
Microsoft |
managementAgent()
Get the management |
String |
manufacturer()
Get the manufacturer property: Manufacturer of the device. |
String |
meid()
Get the meid property: MEID. |
String |
model()
Get the model property: Model of the device. |
String |
operatingSystem()
Get the operating |
String |
osVersion()
Get the os |
Microsoft |
partnerReportedThreatState()
Get the partner |
String |
phoneNumber()
Get the phone |
String |
remoteAssistanceSessionErrorDetails()
Get the remote |
String |
remoteAssistanceSessionUrl()
Get the remote |
String |
serialNumber()
Get the serial |
String |
subscriberCarrier()
Get the subscriber |
Json |
toJson(JsonWriter jsonWriter) |
Long |
totalStorageSpaceInBytes()
Get the total |
String |
userDisplayName()
Get the user |
String |
userId()
Get the user |
String |
userPrincipalName()
Get the user |
void |
validate()
Validates the instance. |
String |
wiFiMacAddress()
Get the wi |
Microsoft |
withActivationLockBypassCode(String activationLockBypassCode)
Set the activation |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAndroidSecurityPatchLevel(String androidSecurityPatchLevel)
Set the android |
Microsoft |
withAzureADDeviceId(String azureADDeviceId)
Set the azure |
Microsoft |
withAzureADRegistered(Boolean azureADRegistered)
Set the azure |
Microsoft |
withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Set the compliance |
Microsoft |
withComplianceState(MicrosoftGraphComplianceState complianceState)
Set the compliance |
Microsoft |
withConfigurationManagerClientEnabledFeatures(MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
Set the configuration |
Microsoft |
withDeviceActionResults(List<MicrosoftGraphDeviceActionResult> deviceActionResults)
Set the device |
Microsoft |
withDeviceCategory(MicrosoftGraphDeviceCategory deviceCategory)
Set the device |
Microsoft |
withDeviceCategoryDisplayName(String deviceCategoryDisplayName)
Set the device |
Microsoft |
withDeviceCompliancePolicyStates(List<MicrosoftGraphDeviceCompliancePolicyState> deviceCompliancePolicyStates)
Set the device |
Microsoft |
withDeviceConfigurationStates(List<MicrosoftGraphDeviceConfigurationState> deviceConfigurationStates)
Set the device |
Microsoft |
withDeviceEnrollmentType(MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType)
Set the device |
Microsoft |
withDeviceHealthAttestationState(MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState)
Set the device |
Microsoft |
withDeviceName(String deviceName)
Set the device |
Microsoft |
withDeviceRegistrationState(MicrosoftGraphDeviceRegistrationState deviceRegistrationState)
Set the device |
Microsoft |
withEasActivated(Boolean easActivated)
Set the eas |
Microsoft |
withEasActivationDateTime(OffsetDateTime easActivationDateTime)
Set the eas |
Microsoft |
withEasDeviceId(String easDeviceId)
Set the eas |
Microsoft |
withEmailAddress(String emailAddress)
Set the email |
Microsoft |
withEnrolledDateTime(OffsetDateTime enrolledDateTime)
Set the enrolled |
Microsoft |
withExchangeAccessState(MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState)
Set the exchange |
Microsoft |
withExchangeAccessStateReason(MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
Set the exchange |
Microsoft |
withExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
Set the exchange |
Microsoft |
withFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
Set the free |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withImei(String imei)
Set the imei property: IMEI. |
Microsoft |
withIsEncrypted(Boolean isEncrypted)
Set the is |
Microsoft |
withIsSupervised(Boolean isSupervised)
Set the is |
Microsoft |
withJailBroken(String jailBroken)
Set the jail |
Microsoft |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Set the last |
Microsoft |
withManagedDeviceName(String managedDeviceName)
Set the managed |
Microsoft |
withManagedDeviceOwnerType(MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType)
Set the managed |
Microsoft |
withManagementAgent(MicrosoftGraphManagementAgentType managementAgent)
Set the management |
Microsoft |
withManufacturer(String manufacturer)
Set the manufacturer property: Manufacturer of the device. |
Microsoft |
withMeid(String meid)
Set the meid property: MEID. |
Microsoft |
withModel(String model)
Set the model property: Model of the device. |
Microsoft |
withOperatingSystem(String operatingSystem)
Set the operating |
Microsoft |
withOsVersion(String osVersion)
Set the os |
Microsoft |
withPartnerReportedThreatState(MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState)
Set the partner |
Microsoft |
withPhoneNumber(String phoneNumber)
Set the phone |
Microsoft |
withRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
Set the remote |
Microsoft |
withRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
Set the remote |
Microsoft |
withSerialNumber(String serialNumber)
Set the serial |
Microsoft |
withSubscriberCarrier(String subscriberCarrier)
Set the subscriber |
Microsoft |
withTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
Set the total |
Microsoft |
withUserDisplayName(String userDisplayName)
Set the user |
Microsoft |
withUserId(String userId)
Set the user |
Microsoft |
withUserPrincipalName(String userPrincipalName)
Set the user |
Microsoft |
withWiFiMacAddress(String wiFiMacAddress)
Set the wi |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphManagedDevice
public MicrosoftGraphManagedDevice()
Creates an instance of MicrosoftGraphManagedDevice class.
Method Details
activationLockBypassCode
public String activationLockBypassCode()
Get the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.
Returns:
additionalProperties
public Map
Get the additionalProperties property: Devices that are managed or pre-enrolled through Intune.
Overrides:
MicrosoftGraphManagedDevice.additionalProperties()Returns:
androidSecurityPatchLevel
public String androidSecurityPatchLevel()
Get the androidSecurityPatchLevel property: Android security patch level.
Returns:
azureADDeviceId
public String azureADDeviceId()
Get the azureADDeviceId property: The unique identifier for the Azure Active Directory device. Read only.
Returns:
azureADRegistered
public Boolean azureADRegistered()
Get the azureADRegistered property: Whether the device is Azure Active Directory registered.
Returns:
complianceGracePeriodExpirationDateTime
public OffsetDateTime complianceGracePeriodExpirationDateTime()
Get the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.
Returns:
complianceState
public MicrosoftGraphComplianceState complianceState()
Get the complianceState property: complianceState.
Returns:
configurationManagerClientEnabledFeatures
public MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures()
Get the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.
Returns:
deviceActionResults
public List
Get the deviceActionResults property: List of ComplexType deviceActionResult objects.
Returns:
deviceCategory
public MicrosoftGraphDeviceCategory deviceCategory()
Get the deviceCategory property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
Returns:
deviceCategoryDisplayName
public String deviceCategoryDisplayName()
Get the deviceCategoryDisplayName property: Device category display name.
Returns:
deviceCompliancePolicyStates
public List
Get the deviceCompliancePolicyStates property: Device compliance policy states for this device.
Returns:
deviceConfigurationStates
public List
Get the deviceConfigurationStates property: Device configuration states for this device.
Returns:
deviceEnrollmentType
public MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType()
Get the deviceEnrollmentType property: deviceEnrollmentType.
Returns:
deviceHealthAttestationState
public MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState()
Get the deviceHealthAttestationState property: deviceHealthAttestationState.
Returns:
deviceName
public String deviceName()
Get the deviceName property: Name of the device.
Returns:
deviceRegistrationState
public MicrosoftGraphDeviceRegistrationState deviceRegistrationState()
Get the deviceRegistrationState property: deviceRegistrationState.
Returns:
easActivated
public Boolean easActivated()
Get the easActivated property: Whether the device is Exchange ActiveSync activated.
Returns:
easActivationDateTime
public OffsetDateTime easActivationDateTime()
Get the easActivationDateTime property: Exchange ActivationSync activation time of the device.
Returns:
easDeviceId
public String easDeviceId()
Get the easDeviceId property: Exchange ActiveSync Id of the device.
Returns:
emailAddress
public String emailAddress()
Get the emailAddress property: Email(s) for the user associated with the device.
Returns:
enrolledDateTime
public OffsetDateTime enrolledDateTime()
Get the enrolledDateTime property: Enrollment time of the device.
Returns:
exchangeAccessState
public MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState()
Get the exchangeAccessState property: deviceManagementExchangeAccessState.
Returns:
exchangeAccessStateReason
public MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason()
Get the exchangeAccessStateReason property: deviceManagementExchangeAccessStateReason.
Returns:
exchangeLastSuccessfulSyncDateTime
public OffsetDateTime exchangeLastSuccessfulSyncDateTime()
Get the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.
Returns:
freeStorageSpaceInBytes
public Long freeStorageSpaceInBytes()
Get the freeStorageSpaceInBytes property: Free Storage in Bytes.
Returns:
fromJson
public static MicrosoftGraphManagedDevice fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphManagedDevice from the JsonReader.
Parameters:
Returns:
Throws:
imei
public String imei()
Get the imei property: IMEI.
Returns:
isEncrypted
public Boolean isEncrypted()
Get the isEncrypted property: Device encryption status.
Returns:
isSupervised
public Boolean isSupervised()
Get the isSupervised property: Device supervised status.
Returns:
jailBroken
public String jailBroken()
Get the jailBroken property: whether the device is jail broken or rooted.
Returns:
lastSyncDateTime
public OffsetDateTime lastSyncDateTime()
Get the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.
Returns:
managedDeviceName
public String managedDeviceName()
Get the managedDeviceName property: Automatically generated name to identify a device. Can be overwritten to a user friendly name.
Returns:
managedDeviceOwnerType
public MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType()
Get the managedDeviceOwnerType property: managedDeviceOwnerType.
Returns:
managementAgent
public MicrosoftGraphManagementAgentType managementAgent()
Get the managementAgent property: managementAgentType.
Returns:
manufacturer
public String manufacturer()
Get the manufacturer property: Manufacturer of the device.
Returns:
meid
public String meid()
Get the meid property: MEID.
Returns:
model
public String model()
Get the model property: Model of the device.
Returns:
operatingSystem
public String operatingSystem()
Get the operatingSystem property: Operating system of the device. Windows, iOS, etc.
Returns:
osVersion
public String osVersion()
Get the osVersion property: Operating system version of the device.
Returns:
partnerReportedThreatState
public MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState()
Get the partnerReportedThreatState property: managedDevicePartnerReportedHealthState.
Returns:
phoneNumber
public String phoneNumber()
Get the phoneNumber property: Phone number of the device.
Returns:
remoteAssistanceSessionErrorDetails
public String remoteAssistanceSessionErrorDetails()
Get the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.
Returns:
remoteAssistanceSessionUrl
public String remoteAssistanceSessionUrl()
Get the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: SerialNumber.
Returns:
subscriberCarrier
public String subscriberCarrier()
Get the subscriberCarrier property: Subscriber Carrier.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphManagedDevice.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalStorageSpaceInBytes
public Long totalStorageSpaceInBytes()
Get the totalStorageSpaceInBytes property: Total Storage in Bytes.
Returns:
userDisplayName
public String userDisplayName()
Get the userDisplayName property: User display name.
Returns:
userId
public String userId()
Get the userId property: Unique Identifier for the user associated with the device.
Returns:
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: Device user principal name.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphManagedDevice.validate()wiFiMacAddress
public String wiFiMacAddress()
Get the wiFiMacAddress property: Wi-Fi MAC.
Returns:
withActivationLockBypassCode
public MicrosoftGraphManagedDevice withActivationLockBypassCode(String activationLockBypassCode)
Set the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphManagedDevice withAdditionalProperties(Map
Set the additionalProperties property: Devices that are managed or pre-enrolled through Intune.
Overrides:
MicrosoftGraphManagedDevice.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAndroidSecurityPatchLevel
public MicrosoftGraphManagedDevice withAndroidSecurityPatchLevel(String androidSecurityPatchLevel)
Set the androidSecurityPatchLevel property: Android security patch level.
Parameters:
Returns:
withAzureADDeviceId
public MicrosoftGraphManagedDevice withAzureADDeviceId(String azureADDeviceId)
Set the azureADDeviceId property: The unique identifier for the Azure Active Directory device. Read only.
Parameters:
Returns:
withAzureADRegistered
public MicrosoftGraphManagedDevice withAzureADRegistered(Boolean azureADRegistered)
Set the azureADRegistered property: Whether the device is Azure Active Directory registered.
Parameters:
Returns:
withComplianceGracePeriodExpirationDateTime
public MicrosoftGraphManagedDevice withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Set the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.
Parameters:
Returns:
withComplianceState
public MicrosoftGraphManagedDevice withComplianceState(MicrosoftGraphComplianceState complianceState)
Set the complianceState property: complianceState.
Parameters:
Returns:
withConfigurationManagerClientEnabledFeatures
public MicrosoftGraphManagedDevice withConfigurationManagerClientEnabledFeatures(MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
Set the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.
Parameters:
Returns:
withDeviceActionResults
public MicrosoftGraphManagedDevice withDeviceActionResults(List
Set the deviceActionResults property: List of ComplexType deviceActionResult objects.
Parameters:
Returns:
withDeviceCategory
public MicrosoftGraphManagedDevice withDeviceCategory(MicrosoftGraphDeviceCategory deviceCategory)
Set the deviceCategory property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
Parameters:
Returns:
withDeviceCategoryDisplayName
public MicrosoftGraphManagedDevice withDeviceCategoryDisplayName(String deviceCategoryDisplayName)
Set the deviceCategoryDisplayName property: Device category display name.
Parameters:
Returns:
withDeviceCompliancePolicyStates
public MicrosoftGraphManagedDevice withDeviceCompliancePolicyStates(List
Set the deviceCompliancePolicyStates property: Device compliance policy states for this device.
Parameters:
Returns:
withDeviceConfigurationStates
public MicrosoftGraphManagedDevice withDeviceConfigurationStates(List
Set the deviceConfigurationStates property: Device configuration states for this device.
Parameters:
Returns:
withDeviceEnrollmentType
public MicrosoftGraphManagedDevice withDeviceEnrollmentType(MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType)
Set the deviceEnrollmentType property: deviceEnrollmentType.
Parameters:
Returns:
withDeviceHealthAttestationState
public MicrosoftGraphManagedDevice withDeviceHealthAttestationState(MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState)
Set the deviceHealthAttestationState property: deviceHealthAttestationState.
Parameters:
Returns:
withDeviceName
public MicrosoftGraphManagedDevice withDeviceName(String deviceName)
Set the deviceName property: Name of the device.
Parameters:
Returns:
withDeviceRegistrationState
public MicrosoftGraphManagedDevice withDeviceRegistrationState(MicrosoftGraphDeviceRegistrationState deviceRegistrationState)
Set the deviceRegistrationState property: deviceRegistrationState.
Parameters:
Returns:
withEasActivated
public MicrosoftGraphManagedDevice withEasActivated(Boolean easActivated)
Set the easActivated property: Whether the device is Exchange ActiveSync activated.
Parameters:
Returns:
withEasActivationDateTime
public MicrosoftGraphManagedDevice withEasActivationDateTime(OffsetDateTime easActivationDateTime)
Set the easActivationDateTime property: Exchange ActivationSync activation time of the device.
Parameters:
Returns:
withEasDeviceId
public MicrosoftGraphManagedDevice withEasDeviceId(String easDeviceId)
Set the easDeviceId property: Exchange ActiveSync Id of the device.
Parameters:
Returns:
withEmailAddress
public MicrosoftGraphManagedDevice withEmailAddress(String emailAddress)
Set the emailAddress property: Email(s) for the user associated with the device.
Parameters:
Returns:
withEnrolledDateTime
public MicrosoftGraphManagedDevice withEnrolledDateTime(OffsetDateTime enrolledDateTime)
Set the enrolledDateTime property: Enrollment time of the device.
Parameters:
Returns:
withExchangeAccessState
public MicrosoftGraphManagedDevice withExchangeAccessState(MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState)
Set the exchangeAccessState property: deviceManagementExchangeAccessState.
Parameters:
Returns:
withExchangeAccessStateReason
public MicrosoftGraphManagedDevice withExchangeAccessStateReason(MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
Set the exchangeAccessStateReason property: deviceManagementExchangeAccessStateReason.
Parameters:
Returns:
withExchangeLastSuccessfulSyncDateTime
public MicrosoftGraphManagedDevice withExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
Set the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.
Parameters:
Returns:
withFreeStorageSpaceInBytes
public MicrosoftGraphManagedDevice withFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
Set the freeStorageSpaceInBytes property: Free Storage in Bytes.
Parameters:
Returns:
withId
public MicrosoftGraphManagedDevice withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphManagedDevice.withId(String id)Parameters:
withImei
public MicrosoftGraphManagedDevice withImei(String imei)
Set the imei property: IMEI.
Parameters:
Returns:
withIsEncrypted
public MicrosoftGraphManagedDevice withIsEncrypted(Boolean isEncrypted)
Set the isEncrypted property: Device encryption status.
Parameters:
Returns:
withIsSupervised
public MicrosoftGraphManagedDevice withIsSupervised(Boolean isSupervised)
Set the isSupervised property: Device supervised status.
Parameters:
Returns:
withJailBroken
public MicrosoftGraphManagedDevice withJailBroken(String jailBroken)
Set the jailBroken property: whether the device is jail broken or rooted.
Parameters:
Returns:
withLastSyncDateTime
public MicrosoftGraphManagedDevice withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Set the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.
Parameters:
Returns:
withManagedDeviceName
public MicrosoftGraphManagedDevice withManagedDeviceName(String managedDeviceName)
Set the managedDeviceName property: Automatically generated name to identify a device. Can be overwritten to a user friendly name.
Parameters:
Returns:
withManagedDeviceOwnerType
public MicrosoftGraphManagedDevice withManagedDeviceOwnerType(MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType)
Set the managedDeviceOwnerType property: managedDeviceOwnerType.
Parameters:
Returns:
withManagementAgent
public MicrosoftGraphManagedDevice withManagementAgent(MicrosoftGraphManagementAgentType managementAgent)
Set the managementAgent property: managementAgentType.
Parameters:
Returns:
withManufacturer
public MicrosoftGraphManagedDevice withManufacturer(String manufacturer)
Set the manufacturer property: Manufacturer of the device.
Parameters:
Returns:
withMeid
public MicrosoftGraphManagedDevice withMeid(String meid)
Set the meid property: MEID.
Parameters:
Returns:
withModel
public MicrosoftGraphManagedDevice withModel(String model)
Set the model property: Model of the device.
Parameters:
Returns:
withOperatingSystem
public MicrosoftGraphManagedDevice withOperatingSystem(String operatingSystem)
Set the operatingSystem property: Operating system of the device. Windows, iOS, etc.
Parameters:
Returns:
withOsVersion
public MicrosoftGraphManagedDevice withOsVersion(String osVersion)
Set the osVersion property: Operating system version of the device.
Parameters:
Returns:
withPartnerReportedThreatState
public MicrosoftGraphManagedDevice withPartnerReportedThreatState(MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState)
Set the partnerReportedThreatState property: managedDevicePartnerReportedHealthState.
Parameters:
Returns:
withPhoneNumber
public MicrosoftGraphManagedDevice withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number of the device.
Parameters:
Returns:
withRemoteAssistanceSessionErrorDetails
public MicrosoftGraphManagedDevice withRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
Set the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.
Parameters:
Returns:
withRemoteAssistanceSessionUrl
public MicrosoftGraphManagedDevice withRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
Set the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.
Parameters:
Returns:
withSerialNumber
public MicrosoftGraphManagedDevice withSerialNumber(String serialNumber)
Set the serialNumber property: SerialNumber.
Parameters:
Returns:
withSubscriberCarrier
public MicrosoftGraphManagedDevice withSubscriberCarrier(String subscriberCarrier)
Set the subscriberCarrier property: Subscriber Carrier.
Parameters:
Returns:
withTotalStorageSpaceInBytes
public MicrosoftGraphManagedDevice withTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
Set the totalStorageSpaceInBytes property: Total Storage in Bytes.
Parameters:
Returns:
withUserDisplayName
public MicrosoftGraphManagedDevice withUserDisplayName(String userDisplayName)
Set the userDisplayName property: User display name.
Parameters:
Returns:
withUserId
public MicrosoftGraphManagedDevice withUserId(String userId)
Set the userId property: Unique Identifier for the user associated with the device.
Parameters:
Returns:
withUserPrincipalName
public MicrosoftGraphManagedDevice withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: Device user principal name.
Parameters:
Returns:
withWiFiMacAddress
public MicrosoftGraphManagedDevice withWiFiMacAddress(String wiFiMacAddress)
Set the wiFiMacAddress property: Wi-Fi MAC.
Parameters:
Returns: