DSCResources/MSFT_xSQLServerServiceAccount/MSFT_xSQLServerServiceAccount.schema.mof

1
2
3
4
5
6
7
8
9
10
11
[ClassVersion("1.0.0.0"), FriendlyName("xSQLServerServiceAccount")]
class MSFT_xSQLServerServiceAccount : OMI_BaseResource
{
    [Key, Description("Hostname of the SQL Server.")] String SQLServer;
    [Key, Description("
Name of the SQL instance.")] String SQLInstanceName;
    [Key, Description("
Type of service being managed."), ValueMap {"DatabaseEngine","SQLServerAgent","Search","IntegrationServices","AnalysisServices","ReportingServices","SQLServerBrowser","NotificationServices"}, Values {"DatabaseEngine","SQLServerAgent","Search","IntegrationServices","AnalysisServices","ReportingServices","SQLServerBrowser","NotificationServices"}] String ServiceType;
    [Required, EmbeddedInstance("
MSFT_Credential"), Description("The service account that should be used when running the service.")] String ServiceAccount;
    [Write, Description("
Determines whether the service is automatically restarted.")] Boolean RestartService;
    [Write, Description("
Forces the service account to be updated. Useful for password changes.")] Boolean Force;
};