DSCResources/MSFT_IntuneEpmElevationRulesPolicyWindows10/MSFT_IntuneEpmElevationRulesPolicyWindows10.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.0")]
class MSFT_MicrosoftGraphIntuneSettingsCatalogElevationRuleName
{
    [Write, Description("Child process behavior (allowrunelevated: AllowRunElevated, allowrunelevatedrulerequired: AllowRunElevatedRuleRequired, deny: Deny)"), ValueMap{"allowrunelevated", "allowrunelevatedrulerequired", "deny"}, Values{"allowrunelevated", "allowrunelevatedrulerequired", "deny"}] String ChildProcessBehavior;
    [Required, Description("File name")] String FileName;
    [Required, Description("Rule name")] String Name;
    [Write, Description("File path")] String FilePath;
    [Write, Description("Product name")] String ProductName;
    [Write, Description("Applies to (allusers: Allusers)"), ValueMap{"allusers"}, Values{"allusers"}] String AppliesTo;
    [Write, Description("Description")] String Description;
    [Write, Description("Minimum version")] String FileVersion;
    [Write, Description("Internal name")] String InternalName;
    [Write, Description("File hash. Required, if no certificate is used.")] String FileHash;
    [Write, Description("File description")] String FileDescription;
    [Write, Description("Signature source (0: ReusableCertificate, 1: NewCertificate)"), ValueMap{"0", "1"}, Values{"0", "1"}] SInt32 SignatureSource;
    [Write, Description("Certificate type (publisher: Publisher, issuingauthority: IssuingAuthority)"), ValueMap{"publisher", "issuingauthority"}, Values{"publisher", "issuingauthority"}] String CertificateType;
    [Write, Description("Certificate")] String CertificatePayloadWithReusableSetting;
    [Write, Description("File upload")] String CertificateFileUpload;
    [Required, Description("Elevation type (self: Userconfirmed, automatic: Automatic, deny: Deny, supportarbitrated: Supportapproved, userconfirmeduser: UserConfirmedUser)"), ValueMap{"self", "automatic", "deny", "supportarbitrated", "userconfirmeduser"}, Values{"self", "automatic", "deny", "supportarbitrated", "userconfirmeduser"}] String Elevationtype;
    [Write, Description("User Confirmed User Validation (2: Windows Authentication)"), ValueMap{"2"}, Values{"2"}] SInt32 UserConfirmedUserElevationTypeValidation[];
    [Write, Description("Validation (1: Business Justification, 2: Windows Authentication)"), ValueMap{"1", "2"}, Values{"1", "2"}] SInt32 ElevationTypeValidation[];
    [Write, Description("Restrict Arguments (allow: Allow)"), ValueMap{"allow"}, Values{"allow"}] String RestrictArguments;
    [Write, Description("Argument List")] String ArgumentList[];
};
 
[ClassVersion("1.0.0.0"), FriendlyName("IntuneEpmElevationRulesPolicyWindows10")]
class MSFT_IntuneEpmElevationRulesPolicyWindows10 : OMI_BaseResource
{
    [Write, Description("Policy description")] String Description;
    [Key, Description("Policy name")] String DisplayName;
    [Write, Description("List of Scope Tags for this Entity instance.")] String RoleScopeTagIds[];
    [Write, Description("The unique identifier for an entity. Read-only.")] String Id;
    [Write, Description("Elevation Rule Name"), EmbeddedInstance("MSFT_MicrosoftGraphIntuneSettingsCatalogElevationRuleName")] String ElevationRuleName[];
    [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[];
};