DSCResources/MSFT_xSqlHAGroup/MSFT_xSqlHAGroup.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlHAGroup")]
class MSFT_xSqlHAGroup : OMI_BaseResource
{
    [key, Description("The name of sql availability group")] string Name;
    [required, Description("Array of databases on the local sql instance. Each database can belong to only one HA group.")] string Database[];
    [required, Description("The name of windows failover cluster for the availability group")] string ClusterName;
    [required, Description("The net share for Sql replication initialization")] string DatabaseBackupPath;
    [required, Description("Name of sql instance")] string InstanceName;
    [required, Description("Name of EndPoint to access High Availability sql instance.")] string EndPointName;
 
    [Required, EmbeddedInstance("MSFT_Credential"), Description("Domain credential could get list of cluster nodes.")]
    String DomainCredential;
 
    [Required, EmbeddedInstance("MSFT_Credential"), Description("Sql sa credential.")]
    String SqlAdministratorCredential;
};