Resource Type: dsc_xmysqlgrant

Defined in:
lib/puppet/type/dsc_xmysqlgrant.rb
Providers:
powershell

Overview

The DSC xMySqlGrant resource type. Automatically generated from ‘xMySql/DscResources/MSFT_xMySqlGrant/MSFT_xMySqlGrant.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present
    • absent

Parameters

  • dsc_databasename

    DatabaseName - MySql database name to grant permissions.

  • dsc_ensure

    Ensure - Ensure given grant to mySql database present or absent. Valid values are Present, Absent.

  • dsc_mysqlversion

    MySqlVersion - MYSql Version Number

  • dsc_permissiontype

    PermissionType - MySql user permission type. Valid values are ALL PRIVILEGES, CREATE, DROP, DELETE, INSERT, SELECT, UPDATE, EXECUTE.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_rootcredential

    RootCredential - MySql connection credential used for the root.

  • dsc_username

    UserName - Name of MySQL user.

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xmysqlgrant` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.