DSCResources/MSFT_IntuneMobileAppsWin32AppWindows10/MSFT_IntuneMobileAppsWin32AppWindows10.schema.mof

[ClassVersion("1.0.0.1")]
class MSFT_DeviceManagementMobileAppAssignment
{
    [Write, Description("The type of the target assignment."), ValueMap{"#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget", "#microsoft.graph.mobileAppAssignment"}, Values{"#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget", "#microsoft.graph.mobileAppAssignment"}] String dataType;
    [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 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 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("Possible values for the install intent chosen by the admin."), ValueMap{"available", "required", "uninstall", "availableWithoutEnrollment"}, Values{"available", "required", "uninstall", "availableWithoutEnrollment"}] String intent;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementWin32MobileAppAssignmentSettingsRestartSettings
{
    [Write, Description("The number of minutes to wait before restarting the device after an app installation.")] SInt32 countdownDisplayBeforeRestartInMinutes;
    [Write, Description("The number of minutes before the restart time to display the countdown dialog for pending restarts.")] SInt32 gracePeriodInMinutes;
    [Write, Description("The number of minutes to snooze the restart notification dialog when the snooze button is selected.")] SInt32 restartNotificationSnoozeDurationInMinutes;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementWin32MobileAppAssignmentSettingsAutoUpdateSettings
{
    [Write, Description("The auto-update superseded apps setting for the app assignment. Possible values are notConfigured and enabled. Default value is notConfigured."), ValueMap{"enabled", "notConfigured"}, Values{"enabled", "notConfigured"}] String autoUpdateSupersededApps;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementWin32MobileAppAssignmentSettingsInstallTimeSettings
{
    [Write, Description("Whether the local device time or UTC time should be used when determining the available and deadline times.")] Boolean useLocalTime;
    [Write, Description("The time at which the app should be available for installation.")] String startDateTime;
    [Write, Description("The time at which the app should be installed.")] String deadlineDateTime;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementMobileAppAssignmentSettings
{
    [Write, Description("The odata type of the assignment type."), ValueMap{"#microsoft.graph.win32LobAppAssignmentSettings"}, Values{"#microsoft.graph.win32LobAppAssignmentSettings"}] String odataType;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementWin32MobileAppAssignmentSettings : MSFT_DeviceManagementMobileAppAssignmentSettings
{
    [Write, Description("The auto-update settings to apply for this app assignment."), EmbeddedInstance("MSFT_DeviceManagementWin32MobileAppAssignmentSettingsAutoUpdateSettings")] String autoUpdateSettings;
    [Write, Description("The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground."), ValueMap{"foreground", "notConfigured"}, Values{"foreground", "notConfigured"}] String deliveryOptimizationPriority;
    [Write, Description("The install time settings to apply for this app assignment."), EmbeddedInstance("MSFT_DeviceManagementWin32MobileAppAssignmentSettingsInstallTimeSettings")] String installTimeSettings;
    [Write, Description("The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll."), ValueMap{"showAll", "showReboot", "hideAll"}, Values{"showAll", "showReboot", "hideAll"}] String notifications;
    [Write, Description("The reboot settings to apply for this app assignment."), EmbeddedInstance("MSFT_DeviceManagementWin32MobileAppAssignmentSettingsRestartSettings")] String restartSettings;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_DeviceManagementWin32MobileAppAssignment : MSFT_DeviceManagementMobileAppAssignment
{
    [Write, Description("The settings of the assignment."), EmbeddedInstance("MSFT_DeviceManagementWin32MobileAppAssignmentSettings")] String assignmentSettings;
};
 
[ClassVersion("1.0.0")]
class MSFT_DeviceManagementMimeContent
{
    [Write, Description("Indicates the type of content mime.")] String Type;
    [Write, Description("The Base64 encoded string content.")] String Value;
};
 
[ClassVersion("1.0.0")]
class MSFT_DeviceManagementMobileAppCategory
{
    [Key, Description("The name of the app category.")] String DisplayName;
    [Write, Description("The unique identifier for an entity. Read-only.")] String Id;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_MicrosoftGraphWin32LobAppRule
{
    [Required, Description("The provider rule type. Possible values are: FileSystem, PowerShellScript, Registry"), ValueMap{"FileSystem", "PowerShellScript", "ProductCode", "Registry"}, Values{"FileSystem", "PowerShellScript", "ProductCode", "Registry"}] String OdataType;
    [Required, Description("The type of rule. Possible values are: Detection, Requirement"), ValueMap{"Detection", "Requirement"}, Values{"Detection", "Requirement"}] String RuleType;
    [Write, Description("The operator of the rule. Not applicable for the 'ProductCode' odata type. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual."), ValueMap{"notConfigured", "equal", "notEqual", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"}] String Operator;
    [Write, Description("The value to compare. Not applicable for the 'ProductCode' odata type.")] String ComparisonValue;
 
    [Write, Description("A value indicating whether to checking 32-bit on 64-bit system. Only applicable for the 'FileSystem' and 'Registry' odata type.")] Boolean Check32BitOn64System;
 
    [Write, Description("The file or folder path to detect Win32 Line of Business (LoB) app. Only applicable for the 'FileSystem' odata type.")] String Path;
    [Write, Description("The file or folder name to detect Win32 Line of Business (LoB) app. Only applicable for the 'FileSystem' odata type.")] String FileOrFolderName;
    [Write, Description("The file system comparison operator type. Only applicable for the 'FileSystem' odata type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist, sizeInBytes, appVersion."), ValueMap{"notConfigured", "exists", "modifiedDate", "createdDate", "version", "sizeInMB", "doesNotExist", "sizeInBytes", "appVersion"}, Values{"notConfigured", "exists", "modifiedDate", "createdDate", "version", "sizeInMB", "doesNotExist", "sizeInBytes", "appVersion"}] String FileSystemOperationType;
 
    [Write, Description("The display name for the rule. Do not specify this value if the rule is used for detection.")] String DisplayName;
    [Write, Description("A value indicating whether signature check is enforced. Only Applicable for the 'PowerShellScript' odata type.")] Boolean EnforceSignatureCheck;
    [Write, Description("A value indicating whether this script should run as 32-bit. Only Applicable for the 'PowerShellScript' odata type.")] Boolean RunAs32Bit;
    [Write, Description("Indicates the type of execution context the script runs in. Only Applicable for the 'PowerShellScript' odata type. Possible values are: system, user."), ValueMap{"system", "user"}, Values{"system", "user"}] String RunAsAccount;
    [Write, Description("The PowerShell script. Only Applicable for the 'PowerShellScript' odata type.")] String Script;
    [Write, Description("The comparison operator type for script output. Only Applicable for the 'PowerShellScript' odata type. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean."), ValueMap{"notConfigured", "string", "dateTime", "integer", "float", "version", "boolean"}, Values{"notConfigured", "string", "dateTime", "integer", "float", "version", "boolean"}] String PowerShellScriptOperationType;
 
    [Write, Description("The product code of Win32 Line of Business (LoB) app.")] String ProductCode;
    [Write, Description("The operator for detection. Only applicable for the 'ProductCode' odata typ. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual."), ValueMap{"notConfigured", "equal", "notEqual", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"}] String ProductVersionOperator;
    [Write, Description("The product version of Win32 Line of Business (LoB) app.")] String ProductVersion;
 
    [Write, Description("The registry key path to detect Win32 Line of Business (LoB) app.")] String KeyPath;
    [Write, Description("The registry value name.")] String ValueName;
    [Write, Description("The registry data comparison operator type. Only applicable for the 'Registry' odata type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version."), ValueMap{"notConfigured", "exists", "doesNotExist", "string", "integer", "version"}, Values{"notConfigured", "exists", "doesNotExist", "string", "integer", "version"}] String RegistryOperationType;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_MicrosoftGraphWin32LobAppInstallExperience
{
    [Write, Description("Indicates the type of execution context the app runs in. Possible values are: system, user."), ValueMap{"system", "user"}, Values{"system", "user"}] String RunAsAccount;
    [Write, Description("The number of minutes the system will wait for install program to finish. Default value is 60 minutes.")] SInt32 MaxRunTimeInMinutes;
    [Write, Description("Device restart behavior. Possible values are: basedOnReturnCode, allow, suppress, force."), ValueMap{"basedOnReturnCode", "allow", "suppress", "force"}, Values{"basedOnReturnCode", "allow", "suppress", "force"}] String DeviceRestartBehavior;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_MicrosoftGraphWin32LobAppReturnCode
{
    [Write, Description("Return code.")] SInt32 ReturnCode;
    [Write, Description("The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry."), ValueMap{"failed", "success", "softReboot", "hardReboot", "retry"}, Values{"failed", "success", "softReboot", "hardReboot", "retry"}] String Type;
};
 
[ClassVersion("1.0.0.0")]
class MSFT_MicrosoftGraphWin32LobAppMsiInformation
{
    [Write, Description("The MSI product code.")] String ProductCode;
    [Write, Description("The MSI product version.")] String ProductVersion;
    [Write, Description("The MSI upgrade code.")] String UpgradeCode;
    [Write, Description("Whether the MSI app requires the machine to reboot to complete installation.")] Boolean RequiresReboot;
    [Write, Description("The MSI package type. Possible values are: perMachine, perUser, dualPurpose."), ValueMap{"perMachine", "perUser", "dualPurpose"}, Values{"perMachine", "perUser", "dualPurpose"}] String PackageType;
    [Write, Description("The MSI product name.")] String ProductName;
    [Write, Description("The MSI publisher")] String Publisher;
};
 
[ClassVersion("1.0.0.0"), FriendlyName("IntuneMobileAppsWin32AppWindows10")]
class MSFT_IntuneMobileAppsWin32AppWindows10 : OMI_BaseResource
{
    [Write, Description("The unique identifier for an entity. Read-only.")] String Id;
    [Key, Description("The admin provided or imported title of the app.")] String DisplayName;
    [Write, Description("The description of the app.")] String Description;
    [Write, Description("The developer of the app.")] String Developer;
    [Write, Description("The more information Url.")] String InformationUrl;
    [Write, Description("The value indicating whether the app is marked as featured by the admin.")] Boolean IsFeatured;
    [Write, Description("The large icon, to be displayed in the app details and used for upload of the icon."), EmbeddedInstance("MSFT_DeviceManagementMimeContent")] String LargeIcon;
    [Write, Description("Notes for the app.")] String Notes;
    [Write, Description("The owner of the app.")] String Owner;
    [Write, Description("The privacy statement Url.")] String PrivacyInformationUrl;
    [Write, Description("The publisher of the app.")] String Publisher;
    [Write, Description("The file name of the app.")] String FileName;
    [Write, Description("List of scope tag ids for this mobile app.")] String RoleScopeTagIds[];
 
    [Write, Description("The list of categories for this app."), EmbeddedInstance("MSFT_DeviceManagementMobileAppCategory")] String Categories[];
    [Write, Description("Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn.")] String InstallCommandLine;
    [Write, Description("Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn.")] String UninstallCommandLine;
    [Write, Description("Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. The value 'none' cannot be combined with other values."), ValueMap{"none", "x86", "x64", "arm64"}, Values{"none", "x86", "x64", "arm64"}] String AllowedArchitectures[];
    [Write, Description("Indicates the value for the minimum free disk space which is required to install this app.")] SInt32 MinimumFreeDiskSpaceInMB;
    [Write, Description("Indicates the value for the minimum physical memory which is required to install this app.")] SInt32 MinimumMemoryInMB;
    [Write, Description("Indicates the value for the minimum number of processors which is required to install this app.")] SInt32 MinimumNumberOfProcessors;
    [Write, Description("Indicates the value for the minimum CPU speed which is required to install this app.")] SInt32 MinimumCpuSpeedInMHz;
    [Write, Description("Indicates the detection and requirement rules for this app."), EmbeddedInstance("MSFT_MicrosoftGraphWin32LobAppRule")] String Rules[];
    [Write, Description("Indicates the install experience for this app."), EmbeddedInstance("MSFT_MicrosoftGraphWin32LobAppInstallExperience")] String InstallExperience;
    [Write, Description("Indicates the return codes for post installation behavior."), EmbeddedInstance("MSFT_MicrosoftGraphWin32LobAppReturnCode")] String ReturnCodes[];
    [Write, Description("Indicates the MSI details if this Win32 app is an MSI app."), EmbeddedInstance("MSFT_MicrosoftGraphWin32LobAppMsiInformation")] String MsiInformation;
    [Write, Description("Indicates the relative path of the setup file in the encrypted Win32LobApp package.")] String SetupFilePath;
    [Write, Description("Indicates the value for the minimum supported windows release. Format for Windows 10: <VersionNumber>, e.g. '1709' or '20H2'. For Windows 11: 'Windows11_<VersionNumber>', e.g. 'Windows11_21H2'")] String MinimumSupportedWindowsRelease;
    [Write, Description("Indicates the version displayed in the UX for this app. Used to set the version of the app. Example: 1.0.3.215.")] String DisplayVersion;
    [Write, Description("Indicates whether the uninstall is supported from the company portal for the Win32 app with an available assignment. When TRUE, indicates that uninstall is supported from the company portal for the Windows app (Win32) with an available assignment. When FALSE, indicates that uninstall is not supported for the Windows app (Win32) with an Available assignment.")] Boolean AllowAvailableUninstall;
 
    [Write, Description("Represents the assignment to the Intune policy."), EmbeddedInstance("MSFT_DeviceManagementMobileAppAssignment")] 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[];
};