DSCResources/MSFT_IntuneFirewallPolicySetting/MSFT_IntuneFirewallPolicySetting.schema.mof

[ClassVersion("1.0.0.0")]
class MSFT_ReusableFirewallPolicySetting
{
    [Write, Description("The addresses to resolve. Required, if AutoResolve is set to 'False'.")] String Addresses[];
    [Required, Description("If the Firewall service should automatically resolve the IP addresses.")] Boolean AutoResolve;
    [Required, Description("The identifier of the reusable firewall policy setting.")] String Keyword;
};
 
[ClassVersion("1.0.0.0"), FriendlyName("IntuneFirewallPolicySetting")]
class MSFT_IntuneFirewallPolicySetting : OMI_BaseResource
{
    [Write, Description("The Firewall policy settings."), EmbeddedInstance("MSFT_ReusableFirewallPolicySetting")] String PolicySettings[];
    [Write, Description("Description of the setting.")] String Description;
    [Key, Description("Display Name of the setting.")] String DisplayName;
    [Write, Description("The unique identifier for an entity. Read-only.")] String Id;
    [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[];
};