DSCResources/MicrosoftAzure_xSqlNewAGDatabase/MicrosoftAzure_xSqlNewAGDatabase.schema.mof

#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlNewAGDatabase")]
class MicrosoftAzure_xSqlNewAGDatabase : OMI_BaseResource
{
    [key, Description("The name of the SQL Server Availability Group.")]
    string SqlAlwaysOnAvailabilityGroupName;
 
    [required, Description("The default location to use for database data.")]
    string DatabaseNames[];
 
    [required, Description("The name of the Primary SQL Replica.")]
    string PrimaryReplica;
 
    [required, Description("The name of the Secondary SQL Replica.")]
    string SecondaryReplica;
 
    [required, EmbeddedInstance("MSFT_Credential"), Description("Credentials for a user that is a member of the sysadmin role.")]
    string SqlAdministratorCredential;
 
};