MySQL Server credential write action

Microsoft.MySQLServerCredentials.WSMan.Invoke.WriteAction (WriteActionModuleType)

Write action to modify authentication file by adding new or default credentials for provider to connect to the instance

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeMicrosoft.SystemCenter.WSManagement.WSManData

Member Modules:

ID Module Type TypeId RunAs 
Invoke WriteAction Microsoft.Unix.WSMan.Invoke.WriteAction Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
MySQLUserNamestring$Config/MySQLUserName$MySQL Server usernamethe Username OpsMgr will use to fetch data from the MySQL Server
MySQLPasswordstring$Config/MySQLPassword$MySQL Server passwordThe password for the MySQL User OpsMgr will use to fetch data from the MySQL Server
MySQLPortstring$Config/MySQLPort$MySQL Server portthe port that the MySQL Server is currently running on
BindAddressstring$Config/BindAddress$MySQL Server bind addressThe address MySQL Server is binded to

Source Code:

<WriteActionModuleType ID="Microsoft.MySQLServerCredentials.WSMan.Invoke.WriteAction" Accessibility="Internal">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TargetSystem" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MySQLUserName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MySQLPassword" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MySQLPort" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="BindAddress" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="MySQLUserName" ParameterType="string" Selector="$Config/MySQLUserName$"/>
<OverrideableParameter ID="MySQLPassword" ParameterType="string" Selector="$Config/MySQLPassword$"/>
<OverrideableParameter ID="MySQLPort" ParameterType="string" Selector="$Config/MySQLPort$"/>
<OverrideableParameter ID="BindAddress" ParameterType="string" Selector="$Config/BindAddress$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="Invoke" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.WriteAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/MySQL_Server?__cimnamespace=root/mysql</Uri>
<Selector/>
<InvokeAction>UpdateCredentials</InvokeAction>
<Input>&lt;p:UpdateCredentials_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/MySQL_Server"&gt;&lt;p:Port&gt;$Config/MySQLPort$&lt;/p:Port&gt;&lt;p:BindAddress&gt;$Config/BindAddress$&lt;/p:BindAddress&gt;&lt;p:Username&gt;$Config/MySQLUserName$&lt;/p:Username&gt;&lt;p:Password&gt;$Config/MySQLPassword$&lt;/p:Password&gt;&lt;/p:UpdateCredentials_INPUT&gt;</Input>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Invoke"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>