Class DeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidCertificateProfileBase,AndroidCustomConfiguration,AndroidDeviceOwnerCertificateProfileBase,AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration,AndroidDeviceOwnerGeneralDeviceConfiguration,AndroidDeviceOwnerTrustedRootCertificate,AndroidDeviceOwnerWiFiConfiguration,AndroidEasEmailProfileConfiguration,AndroidForWorkCertificateProfileBase,AndroidForWorkCustomConfiguration,AndroidForWorkEasEmailProfileBase,AndroidForWorkGeneralDeviceConfiguration,AndroidForWorkTrustedRootCertificate,AndroidForWorkVpnConfiguration,AndroidForWorkWiFiConfiguration,AndroidGeneralDeviceConfiguration,AndroidOmaCpConfiguration,AndroidTrustedRootCertificate,AndroidVpnConfiguration,AndroidWiFiConfiguration,AndroidWorkProfileCertificateProfileBase,AndroidWorkProfileCustomConfiguration,AndroidWorkProfileEasEmailProfileBase,AndroidWorkProfileGeneralDeviceConfiguration,AndroidWorkProfileTrustedRootCertificate,AndroidWorkProfileVpnConfiguration,AndroidWorkProfileWiFiConfiguration,AospDeviceOwnerCertificateProfileBase,AospDeviceOwnerDeviceConfiguration,AospDeviceOwnerTrustedRootCertificate,AppleDeviceFeaturesConfigurationBase,AppleExpeditedCheckinConfigurationBase,AppleVpnConfiguration,EasEmailProfileConfigurationBase,EditionUpgradeConfiguration,IosCertificateProfile,IosCustomConfiguration,IosDerivedCredentialAuthenticationConfiguration,IosEducationDeviceConfiguration,IosEduDeviceConfiguration,IosGeneralDeviceConfiguration,IosTrustedRootCertificate,IosUpdateConfiguration,IosWiFiConfiguration,MacOSCertificateProfileBase,MacOSCustomAppConfiguration,MacOSCustomConfiguration,MacOSEndpointProtectionConfiguration,MacOSExtensionsConfiguration,MacOSGeneralDeviceConfiguration,MacOSSoftwareUpdateConfiguration,MacOSTrustedRootCertificate,MacOSWiFiConfiguration,MacOSWiredNetworkConfiguration,SharedPCConfiguration,UnsupportedDeviceConfiguration,VpnConfiguration,Windows10CustomConfiguration,Windows10DeviceFirmwareConfigurationInterface,Windows10EndpointProtectionConfiguration,Windows10EnterpriseModernAppManagementConfiguration,Windows10GeneralConfiguration,Windows10NetworkBoundaryConfiguration,Windows10PFXImportCertificateProfile,Windows10SecureAssessmentConfiguration,Windows10TeamGeneralConfiguration,Windows81GeneralConfiguration,Windows81TrustedRootCertificate,Windows81WifiImportConfiguration,WindowsCertificateProfileBase,WindowsDefenderAdvancedThreatProtectionConfiguration,WindowsDeliveryOptimizationConfiguration,WindowsDomainJoinConfiguration,WindowsHealthMonitoringConfiguration,WindowsIdentityProtectionConfiguration,WindowsKioskConfiguration,WindowsPhone81CertificateProfileBase,WindowsPhone81CustomConfiguration,WindowsPhone81GeneralConfiguration,WindowsPhone81TrustedRootCertificate,WindowsUpdateForBusinessConfiguration,WindowsVpnConfiguration,WindowsWifiConfiguration
public class DeviceConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device Configuration.”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected DeviceManagementApplicabilityRuleDeviceModedeviceManagementApplicabilityRuleDeviceModeprotected DeviceManagementApplicabilityRuleOsEditiondeviceManagementApplicabilityRuleOsEditionprotected DeviceManagementApplicabilityRuleOsVersiondeviceManagementApplicabilityRuleOsVersionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected BooleansupportsScopeTagsprotected Integerversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceConfigurationAssignment>assign(List<DeviceConfigurationGroupAssignment> deviceConfigurationGroupAssignments, List<DeviceConfigurationAssignment> assignments)com.github.davidmoten.odata.client.ActionRequestNoReturnassignedAccessMultiModeProfiles(List<WindowsAssignedAccessProfile> assignedAccessMultiModeProfiles)DeviceConfigurationAssignmentCollectionRequestgetAssignments()“The list of assignments for the device configuration profile.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“DateTime the object was created.”Optional<String>getDescription()“Admin provided description of the Device Configuration.”Optional<DeviceManagementApplicabilityRuleDeviceMode>getDeviceManagementApplicabilityRuleDeviceMode()“The device mode applicability rule for this Policy.”Optional<DeviceManagementApplicabilityRuleOsEdition>getDeviceManagementApplicabilityRuleOsEdition()“The OS edition applicability for this Policy.”Optional<DeviceManagementApplicabilityRuleOsVersion>getDeviceManagementApplicabilityRuleOsVersion()“The OS version applicability rule for this Policy.”SettingStateDeviceSummaryCollectionRequestgetDeviceSettingStateSummaries()“Device Configuration Setting State Device Summary”DeviceConfigurationDeviceStatusCollectionRequestgetDeviceStatuses()“Device configuration installation status by device.”DeviceConfigurationDeviceOverviewRequestgetDeviceStatusOverview()“Device Configuration devices status overview”Optional<String>getDisplayName()“Admin provided name of the device configuration.”DeviceConfigurationGroupAssignmentCollectionRequestgetGroupAssignments()“The list of group assignments for the device configuration profile.”Optional<OffsetDateTime>getLastModifiedDateTime()“DateTime the object was last modified.”com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String>getOmaSettingPlainTextValue(String secretReferenceValueId)com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Entity instance.”Optional<Boolean>getSupportsScopeTags()“Indicates whether or not the underlying Device Configuration supports the assignment of scope tags.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()DeviceConfigurationUserStatusCollectionRequestgetUserStatuses()“Device configuration installation status by user.”DeviceConfigurationUserOverviewRequestgetUserStatusOverview()“Device Configuration users status overview”Optional<Integer>getVersion()“Version of the device configuration.”StringodataTypeName()DeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnwindowsPrivacyAccessControls(List<WindowsPrivacyDataAccessControlItem> windowsPrivacyAccessControls)DeviceConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceConfigurationwithDeviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleDeviceModefield changed.DeviceConfigurationwithDeviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleOsEditionfield changed.DeviceConfigurationwithDeviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleOsVersionfield changed.DeviceConfigurationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceConfigurationwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceConfigurationwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.DeviceConfigurationwithSupportsScopeTags(Boolean supportsScopeTags)Returns an immutable copy ofthiswith just thesupportsScopeTagsfield changed.DeviceConfigurationwithUnmappedField(String name, String value)DeviceConfigurationwithVersion(Integer version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
deviceManagementApplicabilityRuleDeviceMode
protected DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode
-
deviceManagementApplicabilityRuleOsEdition
protected DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition
-
deviceManagementApplicabilityRuleOsVersion
protected DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
supportsScopeTags
protected Boolean supportsScopeTags
-
version
protected Integer version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“DateTime the object was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public DeviceConfiguration withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“DateTime the object was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Admin provided description of the Device Configuration.”- Returns:
- property description
-
withDescription
public DeviceConfiguration withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Admin provided description of the Device Configuration.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDeviceManagementApplicabilityRuleDeviceMode
public Optional<DeviceManagementApplicabilityRuleDeviceMode> getDeviceManagementApplicabilityRuleDeviceMode()
“The device mode applicability rule for this Policy.”- Returns:
- property deviceManagementApplicabilityRuleDeviceMode
-
withDeviceManagementApplicabilityRuleDeviceMode
public DeviceConfiguration withDeviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleDeviceModefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The device mode applicability rule for this Policy.”
- Parameters:
deviceManagementApplicabilityRuleDeviceMode- new value ofdeviceManagementApplicabilityRuleDeviceModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceManagementApplicabilityRuleDeviceModefield changed
-
getDeviceManagementApplicabilityRuleOsEdition
public Optional<DeviceManagementApplicabilityRuleOsEdition> getDeviceManagementApplicabilityRuleOsEdition()
“The OS edition applicability for this Policy.”- Returns:
- property deviceManagementApplicabilityRuleOsEdition
-
withDeviceManagementApplicabilityRuleOsEdition
public DeviceConfiguration withDeviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleOsEditionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The OS edition applicability for this Policy.”
- Parameters:
deviceManagementApplicabilityRuleOsEdition- new value ofdeviceManagementApplicabilityRuleOsEditionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceManagementApplicabilityRuleOsEditionfield changed
-
getDeviceManagementApplicabilityRuleOsVersion
public Optional<DeviceManagementApplicabilityRuleOsVersion> getDeviceManagementApplicabilityRuleOsVersion()
“The OS version applicability rule for this Policy.”- Returns:
- property deviceManagementApplicabilityRuleOsVersion
-
withDeviceManagementApplicabilityRuleOsVersion
public DeviceConfiguration withDeviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
Returns an immutable copy ofthiswith just thedeviceManagementApplicabilityRuleOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The OS version applicability rule for this Policy.”
- Parameters:
deviceManagementApplicabilityRuleOsVersion- new value ofdeviceManagementApplicabilityRuleOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceManagementApplicabilityRuleOsVersionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Admin provided name of the device configuration.”- Returns:
- property displayName
-
withDisplayName
public DeviceConfiguration withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Admin provided name of the device configuration.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“DateTime the object was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceConfiguration withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“DateTime the object was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public DeviceConfiguration withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“List of Scope Tags for this Entity instance.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getSupportsScopeTags
public Optional<Boolean> getSupportsScopeTags()
“Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property supportsScopeTags
-
withSupportsScopeTags
public DeviceConfiguration withSupportsScopeTags(Boolean supportsScopeTags)
Returns an immutable copy ofthiswith just thesupportsScopeTagsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read- only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
supportsScopeTags- new value ofsupportsScopeTagsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportsScopeTagsfield changed
-
getVersion
public Optional<Integer> getVersion()
“Version of the device configuration.”- Returns:
- property version
-
withVersion
public DeviceConfiguration withVersion(Integer version)
Returns an immutable copy ofthiswith just theversionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Version of the device configuration.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public DeviceConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public DeviceConfigurationAssignmentCollectionRequest getAssignments()
“The list of assignments for the device configuration profile.”- Returns:
- navigational property assignments
-
getDeviceSettingStateSummaries
public SettingStateDeviceSummaryCollectionRequest getDeviceSettingStateSummaries()
“Device Configuration Setting State Device Summary”- Returns:
- navigational property deviceSettingStateSummaries
-
getDeviceStatuses
public DeviceConfigurationDeviceStatusCollectionRequest getDeviceStatuses()
“Device configuration installation status by device.”- Returns:
- navigational property deviceStatuses
-
getDeviceStatusOverview
public DeviceConfigurationDeviceOverviewRequest getDeviceStatusOverview()
“Device Configuration devices status overview”- Returns:
- navigational property deviceStatusOverview
-
getGroupAssignments
public DeviceConfigurationGroupAssignmentCollectionRequest getGroupAssignments()
“The list of group assignments for the device configuration profile.”- Returns:
- navigational property groupAssignments
-
getUserStatuses
public DeviceConfigurationUserStatusCollectionRequest getUserStatuses()
“Device configuration installation status by user.”- Returns:
- navigational property userStatuses
-
getUserStatusOverview
public DeviceConfigurationUserOverviewRequest getUserStatusOverview()
“Device Configuration users status overview”- Returns:
- navigational property userStatusOverview
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceConfigurationAssignment> assign(List<DeviceConfigurationGroupAssignment> deviceConfigurationGroupAssignments, List<DeviceConfigurationAssignment> assignments)
-
assignedAccessMultiModeProfiles
public com.github.davidmoten.odata.client.ActionRequestNoReturn assignedAccessMultiModeProfiles(List<WindowsAssignedAccessProfile> assignedAccessMultiModeProfiles)
-
windowsPrivacyAccessControls
public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsPrivacyAccessControls(List<WindowsPrivacyDataAccessControlItem> windowsPrivacyAccessControls)
-
getOmaSettingPlainTextValue
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> getOmaSettingPlainTextValue(String secretReferenceValueId)
-
-