DSCResources/MicrosoftAzure_xSqlServer/MicrosoftAzure_xSqlServer.schema.mof

#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlServer")]
class MicrosoftAzure_xSqlServer : OMI_BaseResource
{
    [key, Description("The name of the SQL Server instance.")]
    string InstanceName;
 
    [required, EmbeddedInstance("MSFT_Credential"), Description("Credentials for a user that is a member of the sysadmin role.")]
    string SqlAdministratorCredential;
 
    [write, EmbeddedInstance("MSFT_Credential"), Description("Credentials for a domain account to use as the service account of the SQL Server instance.")]
    string ServiceCredential;
 
    [write, Description("The authentication mode to use for the SQL Server instance.")]
    string LoginMode;
 
    [write, Description("Enables or disables SQL Server AlwaysOn."), ValueMap{"Enabled", "Disabled"}, Values{"Enabled", "Disabled"}]
    string Hadr;
 
    [write, Description("The maximum number of processors to use in parallel plan execution.")]
    uint32 MaxDegreeOfParallelism;
 
    [write, Description("The default location to use for database data.")]
    string FilePath;
 
    [write, Description("The default location to use for database logs.")]
    string LogPath;
 
    [write, EmbeddedInstance("MSFT_Credential"), Description("Credentails for a user that is a member of the Domain Administrators group.")]
    string DomainAdministratorCredential;
};