DSCResources/DSC_SqlWaitForAG/DSC_SqlWaitForAG.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SqlWaitForAG")]
class DSC_SqlWaitForAG : OMI_BaseResource
{
    [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;
};