Package com.microsoft.graph.models
Class DeviceRegistrationPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceRegistrationPolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceRegistrationPolicy
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceRegistrationPolicycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the azureADJoin property value.Gets the azureADRegistration property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the localAdminPassword property value.Gets the multiFactorAuthConfiguration property value.Gets the userDeviceQuota property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAzureADJoin(AzureADJoinPolicy value) Sets the azureADJoin property value.voidSets the azureADRegistration property value.voidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the localAdminPassword property value.voidSets the multiFactorAuthConfiguration property value.voidsetUserDeviceQuota(Integer value) Sets the userDeviceQuota property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceRegistrationPolicy
public DeviceRegistrationPolicy()Instantiates a newDeviceRegistrationPolicyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceRegistrationPolicy createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceRegistrationPolicy
-
getAzureADJoin
Gets the azureADJoin property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?.- Returns:
- a
AzureADJoinPolicy
-
getAzureADRegistration
Gets the azureADRegistration property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?.- Returns:
- a
AzureADRegistrationPolicy
-
getDescription
Gets the description property value. The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLocalAdminPassword
Gets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization.- Returns:
- a
LocalAdminPasswordSettings
-
getMultiFactorAuthConfiguration
Gets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property- Returns:
- a
MultiFactorAuthConfiguration
-
getUserDeviceQuota
Gets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAzureADJoin
Sets the azureADJoin property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?.- Parameters:
value- Value to set for the azureADJoin property.
-
setAzureADRegistration
Sets the azureADRegistration property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?.- Parameters:
value- Value to set for the azureADRegistration property.
-
setDescription
Sets the description property value. The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only.- Parameters:
value- Value to set for the displayName property.
-
setLocalAdminPassword
Sets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization.- Parameters:
value- Value to set for the localAdminPassword property.
-
setMultiFactorAuthConfiguration
Sets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property- Parameters:
value- Value to set for the multiFactorAuthConfiguration property.
-
setUserDeviceQuota
Sets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices.- Parameters:
value- Value to set for the userDeviceQuota property.
-