Ação de gravação de credencial do Servidor MySQL

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

Ação de gravação para modificar o arquivo de autenticação adicionando credenciais novas ou padrão para o provedor se conectar à instância

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$Nome de usuário do Servidor MySQLo nome de usuário que o OpsMgr usará para buscar dados do Servidor MySQL
MySQLPasswordstring$Config/MySQLPassword$Senha do Servidor MySQLA senha do usuário do MySQL que o OpsMgr usará para buscar dados do Servidor MySQL
MySQLPortstring$Config/MySQLPort$Porta do Servidor MySQLa porta na qual o Servidor MySQL está executando no momento
BindAddressstring$Config/BindAddress$Endereço de associação do Servidor MySQLO endereço ao qual o Servidor MySQL está associado

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>