DSCResources/MSFT_SqlWaitForAG/MSFT_SqlWaitForAG.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SqlWaitForAG")]
class MSFT_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-TargetResource.")] Boolean GroupExist;
};