DSCResources/MSFT_SPOApp/MSFT_SPOApp.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPOApp")]
class MSFT_SPOApp : OMI_BaseResource
{
    [Key, Description("The name of the App.")] string Identity;
    [Key, Description("The path the the app package on disk.")] string Path;
    [Write, Description("This will deploy/trust an app into the app catalog.")] boolean Publish;
    [Write, Description("Overwrites the existing app package if it already exists.")] boolean Overwrite;
    [Write, Description("Present ensures the site collection exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Write, Description("Credentials of the account to authenticate with."), EmbeddedInstance("MSFT_Credential")] string Credential;
    [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;
    [Write, Description("Secret of the Azure Active Directory application to authenticate with."), EmbeddedInstance("MSFT_Credential")] String ApplicationSecret;
    [Write, Description("Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com")] String TenantId;
    [Write, Description("Username can be made up to anything but password will be used for certificatePassword"), EmbeddedInstance("MSFT_Credential")] String CertificatePassword;
    [Write, Description("Path to certificate used in service principal usually a PFX file.")] String CertificatePath;
    [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;
};