DSCResources/MSFT_IntuneUserSettingsPolicyWindows365/MSFT_IntuneUserSettingsPolicyWindows365.schema.mof
[ClassVersion("1.0.0.2")]
class MSFT_DeviceManagementConfigurationPolicyAssignments { [Write, Description("The type of the target assignment."), ValueMap{"#microsoft.graph.cloudPcManagementGroupAssignmentTarget","#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget","#microsoft.graph.configurationManagerCollectionAssignmentTarget"}, Values{"#microsoft.graph.cloudPcManagementGroupAssignmentTarget","#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget","#microsoft.graph.configurationManagerCollectionAssignmentTarget"}] String dataType; [Write, Description("The type of filter of the target assignment i.e. Exclude or Include. Possible values are:none, include, exclude."), ValueMap{"none","include","exclude"}, Values{"none","include","exclude"}] String deviceAndAppManagementAssignmentFilterType; [Write, Description("The Id of the filter for the target assignment.")] String deviceAndAppManagementAssignmentFilterId; [Write, Description("The display name of the filter for the target assignment.")] String deviceAndAppManagementAssignmentFilterDisplayName; [Write, Description("The group Id that is the target of the assignment.")] String groupId; [Write, Description("The group Display Name that is the target of the assignment.")] String groupDisplayName; [Write, Description("The collection Id that is the target of the assignment.(ConfigMgr)")] String collectionId; }; [ClassVersion("1.0.0")] class MSFT_MicrosoftGraphCloudPcCrossRegionDisasterRecoverySetting { [Write, Description("Indicates the network settings of the Cloud PC during a cross-region disaster recovery operation."), EmbeddedInstance("MSFT_MicrosoftGraphCloudPcDisasterRecoveryNetworkSetting")] String DisasterRecoveryNetworkSetting; [Write, Description("Indicates the type of disaster recovery to perform when a disaster occurs on the user's Cloud PC. The possible values are: notConfigured, crossRegion, premium, unknownFutureValue. The default value is notConfigured."), ValueMap{"notConfigured","crossRegion","premium","unknownFutureValue"}, Values{"notConfigured","crossRegion","premium","unknownFutureValue"}] String DisasterRecoveryType; [Write, Description("Indicates whether Windows 365 maintain the cross-region disaster recovery function generated restore points. If true, the Windows 365 stored restore points false indicates that Windows 365 doesn't generate or keep the restore point from the original Cloud PC. If a disaster occurs, the new Cloud PC can only be provisioned using the initial image. This limitation can result in the loss of some user data on the original Cloud PC. The default value is false.")] Boolean MaintainCrossRegionRestorePointEnabled; [Write, Description("Indicates whether the client allows the end user to initiate a disaster recovery activation. True indicates that the client includes the option for the end user to activate Backup Cloud PC. When false, the end user doesn't have the option to activate disaster recovery. The default value is false. Currently, only premium disaster recovery is supported.")] Boolean UserInitiatedDisasterRecoveryAllowed; }; [ClassVersion("1.0.0")] class MSFT_MicrosoftGraphCloudPcDisasterRecoveryNetworkSetting { [Write, Description("Indicates the display name of the virtual network that the new Cloud PC joins. Only applicable for the '#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting' odata type.")] String OnPremisesConnectionId; [Write, Description("Indicates the logic geographic group this region belongs to. Multiple regions can belong to one region group. When a region group is configured for disaster recovery, the new Cloud PC is assigned to one of the regions within the group based on resource availability. For example, the europeUnion region group contains the North Europe and West Europe regions. Only applicable for the '#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting' odata type. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe."), ValueMap{"default","australia","canada","usCentral","usEast","usWest","france","germany","europeUnion","unitedKingdom","japan","asia","india","southAmerica","euap","usGovernment","usGovernmentDOD","unknownFutureValue","norway","switzerland","southKorea","middleEast","mexico","australasia","europe"}, Values{"default","australia","canada","usCentral","usEast","usWest","france","germany","europeUnion","unitedKingdom","japan","asia","india","southAmerica","euap","usGovernment","usGovernmentDOD","unknownFutureValue","norway","switzerland","southKorea","middleEast","mexico","australasia","europe"}] String RegionGroup; [Write, Description("Indicates the Azure region that the new Cloud PC is assigned to. The Windows 365 service creates and manages the underlying virtual network. Only applicable for the '#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting' odata type.")] String RegionName; [Write, Description("The type of the entity."), ValueMap{"#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting","#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting"}, Values{"#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting","#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting"}] String odataType; }; [ClassVersion("1.0.0")] class MSFT_MicrosoftGraphCloudPcNotificationSetting { [Write, Description("If true, doesn't prompt the user to restart the Cloud PC. If false, prompts the user to restart Cloud PC. The default value is false.")] Boolean RestartPromptsDisabled; }; [ClassVersion("1.0.0")] class MSFT_MicrosoftGraphCloudPcRestorePointSetting { [Write, Description("The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours."), ValueMap{"default","fourHours","sixHours","twelveHours","sixteenHours","twentyFourHours"}, Values{"default","fourHours","sixHours","twelveHours","sixteenHours","twentyFourHours"}] String FrequencyType; [Write, Description("If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC.")] Boolean UserRestoreEnabled; }; [ClassVersion("1.0.0.0"), FriendlyName("IntuneUserSettingsPolicyWindows365")] class MSFT_IntuneUserSettingsPolicyWindows365 : OMI_BaseResource { [Write, Description("Defines whether the user's Cloud PC enables cross-region disaster recovery and specifies the network for the disaster recovery."), EmbeddedInstance("MSFT_MicrosoftGraphcloudPcCrossRegionDisasterRecoverySetting")] String CrossRegionDisasterRecoverySetting; [Key, Description("The setting name displayed in the user interface.")] String DisplayName; [Write, Description("Indicates whether the local admin option is enabled. Default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device.")] Boolean LocalAdminEnabled; [Write, Description("Defines the setting of the Cloud PC notification prompts for the Cloud PC user."), EmbeddedInstance("MSFT_MicrosoftGraphcloudPcNotificationSetting")] String NotificationSetting; [Write, Description("Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset isn't allowed. The default value is false.")] Boolean ResetEnabled; [Write, Description("Defines how frequently a restore point is created (that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time."), EmbeddedInstance("MSFT_MicrosoftGraphcloudPcRestorePointSetting")] String RestorePointSetting; [Write, Description("The unique identifier for an entity. Read-only.")] String Id; [Write, Description("Represents the assignment to the Intune policy."), EmbeddedInstance("MSFT_DeviceManagementConfigurationPolicyAssignments")] String Assignments[]; [Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; [Write, Description("Credentials of the Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId; [Write, Description("Secret of the Azure Active Directory tenant used for authentication."), EmbeddedInstance("MSFT_Credential")] String ApplicationSecret; [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint; [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; [Write, Description("Access token used for authentication.")] String AccessTokens[]; }; |