dsc/ext/PsGallery/xDatabase.1.6.0.0/DSCResources/MSFT_xDBPackage/MSFT_xDBPackage.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xDBPackage")]
class MSFT_xDBPackage : OMI_BaseResource
{
    [Write, EmbeddedInstance("MSFT_Credential"), Description("Credentials to Connect to the sql server")] String Credentials;
    [Key, Description("Name of the Database")] String DatabaseName;
    [Required, Description("Sql Server Name")] String SqlServer;
    [Required, Description("Path to BacPac/DacPac")] String Path;
    [Required, Description("Type for backup(Extract id done for DACPAC and Import for BACPAC)"), ValueMap{"DACPAC","BACPAC"}, Values{"DACPAC","BACPAC"}] String Type;
    [Required, ValueMap{"2008-R2","2012","2014"}, Values{"2008-R2","2012","2014"}, Description("Sql Server Version For DacFx")] String SqlServerVersion;
};