DSCResources/MicrosoftAzure_xSqlAvailabilityGroupListener/MicrosoftAzure_xSqlAvailabilityGroupListener.schema.mof

#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlAvailabilityGroupListener")]
class MicrosoftAzure_xSqlAvailabilityGroupListener : OMI_BaseResource
{
    [key, Description("The name of the Availability Group Listener.")]
    string Name;
 
    [key, Description("The name of the Availabiliy Group.")]
    string AvailabilityGroupName;
     
    [required, Description("The FQDN of the Azure Domain Name resource in which this Availability Group is running.")]
    string DomainNameFqdn;
     
    [write, Description("The assigned IP address of the Availability Group Listener.")]
    string ListenerIPAddress;
 
    [write, Description("The port number of the Availability Group Listener.")]
    uint32 ListenerPortNumber;
     
    [write, Description("The port number of the probe for the Availability Group Listener.")]
    uint32 ProbePortNumber;
     
    [required, Description("The name of SQL Server instance.")]
    string InstanceName;
     
    [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;
};