DSCResources/DSC_SqlWaitForAG/DSC_SqlWaitForAG.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SqlWaitForAG")]
class DSC_SqlWaitForAG : OMI_BaseResource
{
    [Key, Description("The name of the _SQL Server_ instance to be configured.")] String InstanceName;
    [Write, Description("The host name of the _SQL Server_ to be configured. Default value is the current computer name.")] String ServerName;
    [Key, Description("Name of the cluster role/group to look for (normally the same as the _Availability Group_ name).")] String Name;
    [Write, Description("The interval, in seconds, to check for the presence of the cluster role/group. Default value is `20` seconds. When the cluster role/group has been found the resource will wait for this amount of time once more before returning.")] UInt64 RetryIntervalSec;
    [Write, Description("Maximum number of retries until the resource will timeout and throw an error. Default values is `30` times.")] UInt32 RetryCount;
    [Read, Description("Returns `$true` if the cluster role/group exist, otherwise it returns `$false`. Used by _Get_.")] Boolean GroupExist;
};