Linux 上的 MSSQL: 探索可用性複本自訂使用者原則資料來源
Microsoft.SQLServer.Linux.DataSource.AvailabilityReplicaUserPolicyDiscovery (DataSourceModuleType)
探索 Linux 上的 SQL Server Always On 可用性複本自訂使用者原則資料來源
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.SQLServer.Linux.DataSource.AvailabilityReplicaUserPolicyDiscovery" Accessibility="Internal" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Discovery">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachineName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NetbiosComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConnectionString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceVersion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceEdition" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="UniqueId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SqlTimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="SqlTimeoutSeconds" ParameterType="int" Selector="$Config/SqlTimeoutSeconds$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Linux.DataSource.UserPolicyDiscoveryProbe">
<MachineName>$Config/MachineName$</MachineName>
<NetbiosComputerName>$Config/NetbiosComputerName$</NetbiosComputerName>
<InstanceName>$Config/InstanceName$</InstanceName>
<DiscoveryType>AvailabilityReplica</DiscoveryType>
<DatabaseName/>
<AvailabilityReplicaId>$Config/UniqueId$</AvailabilityReplicaId>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<InstanceVersion>$Config/InstanceVersion$</InstanceVersion>
<InstanceEdition>$Config/InstanceEdition$</InstanceEdition>
<Login>$RunAs[Name="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.SqlCredentials"]/UserName$</Login>
<Password>$RunAs[Name="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.SqlCredentials"]/Password$</Password>
<AgErrorUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.AvailabilityGroupErrorUserPolicy']$</AgErrorUserPolicyClassId>
<AgWarningUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.AvailabilityGroupWarningUserPolicy']$</AgWarningUserPolicyClassId>
<ArErrorUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.AvailabilityReplicaErrorUserPolicy']$</ArErrorUserPolicyClassId>
<ArWarningUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.AvailabilityReplicaWarningUserPolicy']$</ArWarningUserPolicyClassId>
<DrErrorUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.DatabaseReplicaErrorUserPolicy']$</DrErrorUserPolicyClassId>
<DrWarningUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.DatabaseReplicaWarningUserPolicy']$</DrWarningUserPolicyClassId>
<DbErrorUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.DatabaseErrorUserPolicy']$</DbErrorUserPolicyClassId>
<DbWarningUserPolicyClassId>$MPElement[Name='Microsoft.SQLServer.Linux.DatabaseWarningUserPolicy']$</DbWarningUserPolicyClassId>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<SqlTimeoutSeconds>$Config/SqlTimeoutSeconds$</SqlTimeoutSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<Publisher>SQLDiscoveryLinux</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>