DSCResources/MSFT_xAzureSqlDatabase/MSFT_xAzureSqlDatabase.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xAzureSqlDatabase")]
class MSFT_xAzureSqlDatabase : OMI_BaseResource
{
    [Key, Description("Name of the database")] String Name;
    [Write, Description("Maximum size of the database in GB")] UInt32 MaxSizeGB;
    [Write, Description("Collation of the database")] String Collation;
    [Write, Description("Edition of the database")] String Edition;
    [Required, EmbeddedInstance("MSFT_Credential"), Description("Credential to the database server")] String ServerCredential;
    [Required, Description("Name of the database server")] String ServerName;
    [Required, Description("Name of the firewall rule")] String RuleName;
    [Required, Description("Start IP address of the firewall rule")] String RuleStartIPAddress;
    [Required, Description("End IP address of the firewall rule")] String RuleEndIPAddress;
    [Write, Description("Ensure that database is present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};