DSCResources/DSC_SqlServiceAccount/DSC_SqlServiceAccount.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("SqlServiceAccount")]
class DSC_SqlServiceAccount : OMI_BaseResource { [Key, Description("Name of the SQL instance.")] String InstanceName; [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("Host name of the SQL Server to manage. Default value is $env:COMPUTERNAME.")] String ServerName; [Write, Description("Determines whether the service is automatically restarted when a change to the configuration was needed.")] Boolean RestartService; [Write, Description("Forces the service account to be updated. Useful for password changes.")] Boolean Force; [Read, Description("Returns the service account username for the service.")] String ServiceAccountName; [Write, Description("The version number for the service, mandatory with IntegrationServices ServiceType")] String VersionNumber; }; |