Scripts/Reskit9/All Resources/xAzure/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 MaximumSizeInGB;
    [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;
    [Write, Description("Specifies the name of the Azure subscription that should be set to Current")] String AzureSubscriptionName;
    [Write, Description("Specifies the location of the Publish Settings file for the Azure Subscription")] String AzurePublishSettingsFile;
    [Write, Description("Ensure that database is present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};