DSCResources/xSQLServerPermission/xSQLServerPermission.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12

[ClassVersion("1.0.0.0"), FriendlyName("xSQLServerPermission")]
class xSQLServerPermission : OMI_BaseResource
{
    [Key, Description("The SQL Server instance name.")] String InstanceName;
    [Required, Description("
The host name or FQDN.")] String NodeName;
    [Write, Description("
If the permission should be present or absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Required, Description("
The login to which permission will be set.")] String Principal;
    [Write, Description("
The permission to set for the login."), ValueMap{"AlterAnyAvailabilityGroup","ViewServerState","AlterAnyEndPoint"}, Values{"AlterAnyAvailabilityGroup","ViewServerState","AlterAnyEndPoint"}] String Permission[];
};