DSCResources/MicrosoftAzure_xSqlAvailabilityGroup/MicrosoftAzure_xSqlAvailabilityGroup.schema.mof

#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlAvailabilityGroup")]
class MicrosoftAzure_xSqlAvailabilityGroup : OMI_BaseResource
{
    [key, Description("The name of the Availabiliy Group.")]
    string Name;
 
    [required, Description("The name of the Windows Failover Cluster for the Availability Group.")]
    string ClusterName;
 
    [required, Description("The name of SQL Server instance.")]
    string InstanceName;
 
    [write, Description("The database mirroring endpoint port number to use for accessing the Availability Group instances.")]
    uint32 PortNumber;
 
    [required, EmbeddedInstance("MSFT_Credential"), Description("Credentials of a domain account that has permission to get the list of nodes for the cluster specified by ClusterName.")]
    string DomainCredential;
 
    [required, EmbeddedInstance("MSFT_Credential"), Description("Credentials for a user that is a member of the sysadmin role.")]
    string SqlAdministratorCredential;
};