DSCResources/DSC_SqlAGListener/DSC_SqlAGListener.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("SqlAGListener")]
class DSC_SqlAGListener : OMI_BaseResource
{
    [Key, Description("The _SQL Server_ instance name of the primary replica.")] String InstanceName;
    [Required, Description("The host name or fully qualified domain name (FQDN) of the primary replica.")] String ServerName;
    [Required, Description("The name of the availability group listener, max 15 characters. This name will be used as the _Virtual Computer Object_ (VCO).")] String Name;
    [Write, Description("If the availability group listener should be present or absent. Default value is `'Present'`."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Key, Description("The name of the availability group to which the availability group listener is or will be connected.")] String AvailabilityGroup;
    [Write, Description("The IP address used for the availability group listener, in the format `'192.168.10.45/255.255.252.0'`. If using DHCP, set to the first IP-address of the DHCP subnet, in the format `'192.168.8.1/255.255.252.0'`. Must be valid in the cluster-allowed IP range.")] String IpAddress[];
    [Write, Description("The port used for the availability group listener.")] UInt16 Port;
    [Write, Description("If DHCP should be used for the availability group listener instead of static IP address.")] Boolean DHCP;
    [Write, Description("Specifies that the resource will only determine if a change is needed if the target node is the active host of the SQL Server instance.")] Boolean ProcessOnlyOnActiveNode;
    [Read, Description("Determines if the current node is actively hosting the SQL Server instance.")] Boolean IsActiveNode;
};