From 30695030e9b44ed409e7eff50ea4c9b4a9542847 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 5 Sep 2023 10:10:40 +0000 Subject: [PATCH] Update generated files with build 124351 --- .../Model/AzureAttestationSettingStatus.php | 36 ++++ .../Graph/Model/CloudPcExportJob.php | 4 +- .../CloudPcPartnerAgentInstallResult.php | 4 +- .../Graph/Model/DepEnrollmentBaseProfile.php | 29 +++ .../Model/DeviceHealthAttestationState.php | 198 ++++++++++++++++++ ...ationChoiceSettingCollectionDefinition.php | 8 +- ...onfigurationReferredSettingInformation.php | 4 +- ...rationSettingGroupCollectionDefinition.php | 8 +- ...ntConfigurationSimpleSettingDefinition.php | 16 +- .../Graph/Model/FirmwareProtectionType.php | 37 ++++ .../Model/LearningSelfInitiatedCourse.php | 4 +- .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Graph/Model/PublicationFacet.php | 2 + ...RightsRequestEnumeratedMailboxLocation.php | 26 +++ .../Graph/Model/SystemManagementModeLevel.php | 37 ++++ src/Beta/Microsoft/Graph/Model/Teamwork.php | 2 + .../Graph/Model/UnifiedRbacResourceAction.php | 2 + .../Model/UnifiedRoleAssignmentMultiple.php | 12 +- .../Graph/Model/UnifiedRoleDefinition.php | 2 + .../Graph/Model/Windows10CompliancePolicy.php | 116 ++++++++++ .../Model/WindowsAutopilotDeviceIdentity.php | 33 +++ ...ndowsAutopilotUserlessEnrollmentStatus.php | 36 ++++ .../Model/WindowsFeatureUpdateProfile.php | 29 +++ .../Model/WindowsManagedAppRegistration.php | 27 +++ ...dowsUniversalAppXAppAssignmentSettings.php | 4 +- .../Graph/SecurityNamespace/Model/Host.php | 6 +- .../SecurityNamespace/Model/IpAddress.php | 4 +- .../Model/ThreatIntelligence.php | 40 ++-- .../Model/WhoisBaseRecord.php | 36 ++++ .../SecurityNamespace/Model/WhoisContact.php | 12 ++ .../Model/WhoisNameserver.php | 4 + .../SecurityNamespace/Model/WhoisRecord.php | 2 + .../Model/BuildVersionDetails.php | 8 + .../WindowsUpdates/Model/CveInformation.php | 4 + .../Model/FeatureUpdateCatalogEntry.php | 2 + .../Model/KnowledgeBaseArticle.php | 2 + .../WindowsUpdates/Model/MonitoringRule.php | 12 +- .../WindowsUpdates/Model/ProductRevision.php | 12 ++ .../Model/QualityUpdateCatalogEntry.php | 10 + .../QualityUpdateCveSeverityInformation.php | 2 + 40 files changed, 774 insertions(+), 62 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php create mode 100644 src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php create mode 100644 src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php diff --git a/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php b/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php new file mode 100644 index 00000000000..e2fe91fae8f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["waitForDeviceConfiguredConfirmation"]; + } else { + return null; + } + } + + /** + * Sets the waitForDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @param bool $val The waitForDeviceConfiguredConfirmation + * + * @return DepEnrollmentBaseProfile + */ + public function setWaitForDeviceConfiguredConfirmation($val) + { + $this->_propDict["waitForDeviceConfiguredConfirmation"] = boolval($val); + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php b/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php index cf2132bda33..6c99efad74a 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php @@ -443,6 +443,39 @@ public function setEarlyLaunchAntiMalwareDriverProtection($val) $this->_propDict["earlyLaunchAntiMalwareDriverProtection"] = $val; return $this; } + + /** + * Gets the firmwareProtection + * Indicates whether the device has Firmware protection enabled. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Possible values are "systemGuardSecureLaunch", "firmwareAttackSurfaceReduction", "disabled" and "notApplicable". "systemGuardSecureLaunch" indicates System Guard Secure Launch is enabled for Firmware protection. "firmwareAttackSurfaceReduction" indicates Firmware Attack Surface Reduction is enabled for Firmware protection. "disabled" indicates Firmware protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return FirmwareProtectionType|null The firmwareProtection + */ + public function getFirmwareProtection() + { + if (array_key_exists("firmwareProtection", $this->_propDict)) { + if (is_a($this->_propDict["firmwareProtection"], "\Beta\Microsoft\Graph\Model\FirmwareProtectionType") || is_null($this->_propDict["firmwareProtection"])) { + return $this->_propDict["firmwareProtection"]; + } else { + $this->_propDict["firmwareProtection"] = new FirmwareProtectionType($this->_propDict["firmwareProtection"]); + return $this->_propDict["firmwareProtection"]; + } + } + return null; + } + + /** + * Sets the firmwareProtection + * Indicates whether the device has Firmware protection enabled. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Possible values are "systemGuardSecureLaunch", "firmwareAttackSurfaceReduction", "disabled" and "notApplicable". "systemGuardSecureLaunch" indicates System Guard Secure Launch is enabled for Firmware protection. "firmwareAttackSurfaceReduction" indicates Firmware Attack Surface Reduction is enabled for Firmware protection. "disabled" indicates Firmware protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param FirmwareProtectionType $val The value to assign to the firmwareProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setFirmwareProtection($val) + { + $this->_propDict["firmwareProtection"] = $val; + return $this; + } /** * Gets the healthAttestationSupportedStatus * This attribute indicates if DHA is supported for the device @@ -560,6 +593,72 @@ public function setLastUpdateDateTime($val) $this->_propDict["lastUpdateDateTime"] = $val; return $this; } + + /** + * Gets the memoryAccessProtection + * Indicates whether the device has Memory access protection enabled. A Windows security feature that protects against external peripherals from gaining unauthorized access to memory. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory access protection is enabled. "disabled" indicates Memory access protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The memoryAccessProtection + */ + public function getMemoryAccessProtection() + { + if (array_key_exists("memoryAccessProtection", $this->_propDict)) { + if (is_a($this->_propDict["memoryAccessProtection"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["memoryAccessProtection"])) { + return $this->_propDict["memoryAccessProtection"]; + } else { + $this->_propDict["memoryAccessProtection"] = new AzureAttestationSettingStatus($this->_propDict["memoryAccessProtection"]); + return $this->_propDict["memoryAccessProtection"]; + } + } + return null; + } + + /** + * Sets the memoryAccessProtection + * Indicates whether the device has Memory access protection enabled. A Windows security feature that protects against external peripherals from gaining unauthorized access to memory. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory access protection is enabled. "disabled" indicates Memory access protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the memoryAccessProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setMemoryAccessProtection($val) + { + $this->_propDict["memoryAccessProtection"] = $val; + return $this; + } + + /** + * Gets the memoryIntegrityProtection + * Indicates whether the device has Memory Integrity protection enabled. Memory Integrity is a feature of Virtualization-based security, also known as Hypervisor-protected code integrity (HVCI). It improves the threat mode of Windows and provides stronger protections against malware trying to exploit the Windows kernel. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory Integrity protection is enabled. "disabled" indicates Memory Integrity protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The memoryIntegrityProtection + */ + public function getMemoryIntegrityProtection() + { + if (array_key_exists("memoryIntegrityProtection", $this->_propDict)) { + if (is_a($this->_propDict["memoryIntegrityProtection"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["memoryIntegrityProtection"])) { + return $this->_propDict["memoryIntegrityProtection"]; + } else { + $this->_propDict["memoryIntegrityProtection"] = new AzureAttestationSettingStatus($this->_propDict["memoryIntegrityProtection"]); + return $this->_propDict["memoryIntegrityProtection"]; + } + } + return null; + } + + /** + * Sets the memoryIntegrityProtection + * Indicates whether the device has Memory Integrity protection enabled. Memory Integrity is a feature of Virtualization-based security, also known as Hypervisor-protected code integrity (HVCI). It improves the threat mode of Windows and provides stronger protections against malware trying to exploit the Windows kernel. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory Integrity protection is enabled. "disabled" indicates Memory Integrity protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the memoryIntegrityProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setMemoryIntegrityProtection($val) + { + $this->_propDict["memoryIntegrityProtection"] = $val; + return $this; + } /** * Gets the operatingSystemKernelDebugging * When operatingSystemKernelDebugging is enabled, the device is used in development and testing @@ -812,6 +911,72 @@ public function setSecureBootConfigurationPolicyFingerPrint($val) $this->_propDict["secureBootConfigurationPolicyFingerPrint"] = $val; return $this; } + + /** + * Gets the securedCorePC + * Indicates whether the device has Secured-core PC enabled. Secured-core PCs provide protections that are useful against sophisticated attacks and provide increased assurance when handling mission-critical data. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Secured-core PC is enabled. "disabled" indicates Secured-core PC is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The securedCorePC + */ + public function getSecuredCorePC() + { + if (array_key_exists("securedCorePC", $this->_propDict)) { + if (is_a($this->_propDict["securedCorePC"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["securedCorePC"])) { + return $this->_propDict["securedCorePC"]; + } else { + $this->_propDict["securedCorePC"] = new AzureAttestationSettingStatus($this->_propDict["securedCorePC"]); + return $this->_propDict["securedCorePC"]; + } + } + return null; + } + + /** + * Sets the securedCorePC + * Indicates whether the device has Secured-core PC enabled. Secured-core PCs provide protections that are useful against sophisticated attacks and provide increased assurance when handling mission-critical data. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Secured-core PC is enabled. "disabled" indicates Secured-core PC is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the securedCorePC + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setSecuredCorePC($val) + { + $this->_propDict["securedCorePC"] = $val; + return $this; + } + + /** + * Gets the systemManagementMode + * Indicates the device meets enhanced hardware security. Possible values are "level1", "level2", "level3" and "notApplicable". "level1" indicates that deny System Management Mode (SMM) read/write access to OS and Virtualization-based security (VBS) memory. "level2" indicates that in addition to the System Management Mode (SMM) Level 1 protections, this level prevents System Management Mode (SMM) from tampering with Input-Output Memory Management Unit (IOMMU) config. "level3" indicates that in addition to the System Management Mode (SMM) Level 2 protections, this level reduces System Management Mode (SMM) save state capabilities. "notApplicable" indicates that the device does not have Firmware protection (System Management Mode) enabled. Default value is "notApplicable". + * + * @return SystemManagementModeLevel|null The systemManagementMode + */ + public function getSystemManagementMode() + { + if (array_key_exists("systemManagementMode", $this->_propDict)) { + if (is_a($this->_propDict["systemManagementMode"], "\Beta\Microsoft\Graph\Model\SystemManagementModeLevel") || is_null($this->_propDict["systemManagementMode"])) { + return $this->_propDict["systemManagementMode"]; + } else { + $this->_propDict["systemManagementMode"] = new SystemManagementModeLevel($this->_propDict["systemManagementMode"]); + return $this->_propDict["systemManagementMode"]; + } + } + return null; + } + + /** + * Sets the systemManagementMode + * Indicates the device meets enhanced hardware security. Possible values are "level1", "level2", "level3" and "notApplicable". "level1" indicates that deny System Management Mode (SMM) read/write access to OS and Virtualization-based security (VBS) memory. "level2" indicates that in addition to the System Management Mode (SMM) Level 1 protections, this level prevents System Management Mode (SMM) from tampering with Input-Output Memory Management Unit (IOMMU) config. "level3" indicates that in addition to the System Management Mode (SMM) Level 2 protections, this level reduces System Management Mode (SMM) save state capabilities. "notApplicable" indicates that the device does not have Firmware protection (System Management Mode) enabled. Default value is "notApplicable". + * + * @param SystemManagementModeLevel $val The value to assign to the systemManagementMode + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setSystemManagementMode($val) + { + $this->_propDict["systemManagementMode"] = $val; + return $this; + } /** * Gets the testSigning * When test signing is allowed, the device does not enforce signature validation during boot @@ -868,6 +1033,39 @@ public function setTpmVersion($val) $this->_propDict["tpmVersion"] = $val; return $this; } + + /** + * Gets the virtualizationBasedSecurity + * Indicates whether the device has Virtualization-based security (VBS) enabled. Virtualization-based security (VBS) uses hardware virtualization and the Windows hypervisor to create an isolated virtual environment that becomes the root of trust of the OS that assumes the kernel can be compromised. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Virtualization-based security (VBS) is enabled. "disabled" indicates Virtualization-based security (VBS) is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The virtualizationBasedSecurity + */ + public function getVirtualizationBasedSecurity() + { + if (array_key_exists("virtualizationBasedSecurity", $this->_propDict)) { + if (is_a($this->_propDict["virtualizationBasedSecurity"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["virtualizationBasedSecurity"])) { + return $this->_propDict["virtualizationBasedSecurity"]; + } else { + $this->_propDict["virtualizationBasedSecurity"] = new AzureAttestationSettingStatus($this->_propDict["virtualizationBasedSecurity"]); + return $this->_propDict["virtualizationBasedSecurity"]; + } + } + return null; + } + + /** + * Sets the virtualizationBasedSecurity + * Indicates whether the device has Virtualization-based security (VBS) enabled. Virtualization-based security (VBS) uses hardware virtualization and the Windows hypervisor to create an isolated virtual environment that becomes the root of trust of the OS that assumes the kernel can be compromised. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Virtualization-based security (VBS) is enabled. "disabled" indicates Virtualization-based security (VBS) is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the virtualizationBasedSecurity + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setVirtualizationBasedSecurity($val) + { + $this->_propDict["virtualizationBasedSecurity"] = $val; + return $this; + } /** * Gets the virtualSecureMode * VSM is a container that protects high value assets from a compromised kernel diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 772f407516e..1dd8ea6b20b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 62f8fe8d53d..7818161a161 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity { /** * Gets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @return string|null The settingDefinitionId */ @@ -40,7 +40,7 @@ public function getSettingDefinitionId() /** * Sets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @param string $val The value of the settingDefinitionId * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 84d921c2cdd..10e62e20a65 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php index 245b38ef0d2..cfb59dc09c9 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem { /** * Gets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @return DeviceManagementConfigurationSettingValue|null The defaultValue */ @@ -45,7 +45,7 @@ public function getDefaultValue() /** * Sets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @param DeviceManagementConfigurationSettingValue $val The defaultValue * @@ -60,7 +60,7 @@ public function setDefaultValue($val) /** * Gets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @return array|null The dependedOnBy */ @@ -75,7 +75,7 @@ public function getDependedOnBy() /** * Sets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy * @@ -90,7 +90,7 @@ public function setDependedOnBy($val) /** * Gets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @return array|null The dependentOn */ @@ -105,7 +105,7 @@ public function getDependentOn() /** * Sets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn * @@ -119,7 +119,7 @@ public function setDependentOn($val) /** * Gets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition */ @@ -138,7 +138,7 @@ public function getValueDefinition() /** * Sets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition * diff --git a/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php b/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php new file mode 100644 index 00000000000..102c571f7d3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php @@ -0,0 +1,37 @@ +_propDict["upns"] = $val; return $this; } + /** + * Gets the userPrincipalNames + * + * @return string|null The userPrincipalNames + */ + public function getUserPrincipalNames() + { + if (array_key_exists("userPrincipalNames", $this->_propDict)) { + return $this->_propDict["userPrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalNames + * + * @param string $val The value of the userPrincipalNames + * + * @return SubjectRightsRequestEnumeratedMailboxLocation + */ + public function setUserPrincipalNames($val) + { + $this->_propDict["userPrincipalNames"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php b/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php new file mode 100644 index 00000000000..c6aedf55585 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["firmwareProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the firmwareProtectionEnabled + * When TRUE, indicates that Firmware protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Firmware protection is not required to be reported as healthy. Devices that support either Dynamic Root of Trust for Measurement (DRTM) or Firmware Attack Surface Reduction (FASR) will report compliant for this setting. Default value is FALSE. + * + * @param bool $val The firmwareProtectionEnabled + * + * @return Windows10CompliancePolicy + */ + public function setFirmwareProtectionEnabled($val) + { + $this->_propDict["firmwareProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kernelDmaProtectionEnabled + * When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The kernelDmaProtectionEnabled + */ + public function getKernelDmaProtectionEnabled() + { + if (array_key_exists("kernelDmaProtectionEnabled", $this->_propDict)) { + return $this->_propDict["kernelDmaProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kernelDmaProtectionEnabled + * When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The kernelDmaProtectionEnabled + * + * @return Windows10CompliancePolicy + */ + public function setKernelDmaProtectionEnabled($val) + { + $this->_propDict["kernelDmaProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the memoryIntegrityEnabled + * When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The memoryIntegrityEnabled + */ + public function getMemoryIntegrityEnabled() + { + if (array_key_exists("memoryIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["memoryIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the memoryIntegrityEnabled + * When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The memoryIntegrityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setMemoryIntegrityEnabled($val) + { + $this->_propDict["memoryIntegrityEnabled"] = boolval($val); + return $this; + } + /** * Gets the mobileOsMaximumVersion * Maximum Windows Phone version. @@ -965,4 +1052,33 @@ public function setValidOperatingSystemBuildRanges($val) return $this; } + /** + * Gets the virtualizationBasedSecurityEnabled + * When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The virtualizationBasedSecurityEnabled + */ + public function getVirtualizationBasedSecurityEnabled() + { + if (array_key_exists("virtualizationBasedSecurityEnabled", $this->_propDict)) { + return $this->_propDict["virtualizationBasedSecurityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the virtualizationBasedSecurityEnabled + * When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The virtualizationBasedSecurityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setVirtualizationBasedSecurityEnabled($val) + { + $this->_propDict["virtualizationBasedSecurityEnabled"] = boolval($val); + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php index 9376f537f2f..a7bc25586ed 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php @@ -748,6 +748,39 @@ public function setSystemFamily($val) return $this; } + /** + * Gets the userlessEnrollmentStatus + * Enrollment status for userless enrollments. + * + * @return WindowsAutopilotUserlessEnrollmentStatus|null The userlessEnrollmentStatus + */ + public function getUserlessEnrollmentStatus() + { + if (array_key_exists("userlessEnrollmentStatus", $this->_propDict)) { + if (is_a($this->_propDict["userlessEnrollmentStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotUserlessEnrollmentStatus") || is_null($this->_propDict["userlessEnrollmentStatus"])) { + return $this->_propDict["userlessEnrollmentStatus"]; + } else { + $this->_propDict["userlessEnrollmentStatus"] = new WindowsAutopilotUserlessEnrollmentStatus($this->_propDict["userlessEnrollmentStatus"]); + return $this->_propDict["userlessEnrollmentStatus"]; + } + } + return null; + } + + /** + * Sets the userlessEnrollmentStatus + * Enrollment status for userless enrollments. + * + * @param WindowsAutopilotUserlessEnrollmentStatus $val The userlessEnrollmentStatus + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setUserlessEnrollmentStatus($val) + { + $this->_propDict["userlessEnrollmentStatus"] = $val; + return $this; + } + /** * Gets the userPrincipalName * User Principal Name. diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php new file mode 100644 index 00000000000..470690e72f6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["installLatestWindows10OnWindows11IneligibleDevice"]; + } else { + return null; + } + } + + /** + * Sets the installLatestWindows10OnWindows11IneligibleDevice + * If true, the latest Microsoft Windows 10 update will be installed on devices ineligible for Microsoft Windows 11 + * + * @param bool $val The installLatestWindows10OnWindows11IneligibleDevice + * + * @return WindowsFeatureUpdateProfile + */ + public function setInstallLatestWindows10OnWindows11IneligibleDevice($val) + { + $this->_propDict["installLatestWindows10OnWindows11IneligibleDevice"] = boolval($val); + return $this; + } + /** * Gets the lastModifiedDateTime * The date time that the profile was last modified. diff --git a/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php b/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php new file mode 100644 index 00000000000..900b6616320 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php @@ -0,0 +1,27 @@ +