modules/deploy/dsc/ext/PsGallery/xMySql.2.0.0.0/DscResources/MSFT_xMySqlGrant/MSFT_xMySqlGrant.schema.mof
[ClassVersion("1.0.0"),FriendlyName("xMySqlGrant")] class MSFT_xMySqlGrant : OMI_BaseResource { [Key, Description("Name of MySQL user.")] String UserName; [Key, Description("MySql database name to grant permissions.")] String DatabaseName; [Required, Description("MySql connection credential used for the root."), EmbeddedInstance("MSFT_Credential")] String RootCredential; [Key, Description("MySql user permission type."), ValueMap{"ALL PRIVILEGES", "CREATE", "DROP", "DELETE", "INSERT", "SELECT", "UPDATE", "EXECUTE"}, Values{"ALL PRIVILEGES", "CREATE", "DROP", "DELETE", "INSERT", "SELECT", "UPDATE", "EXECUTE"}] String PermissionType; [Write, Description("Ensure given grant to mySql database present or absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Required, Description("MYSql Version Number")] String MySqlVersion; }; |