Skip to main content

Multihostintegrationscreatesources

Properties

NameTypeDescriptionNotes
NameStringSource's human-readable name.[required]
DescriptionStringSource's human-readable description.[optional]
ConnectorAttributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4Connector specific configuration. This configuration will differ from type to type.[optional]

Examples

  • Prepare the resource
$Multihostintegrationscreatesources = Initialize-Multihostintegrationscreatesources  -Name My Source `
-Description This is the corporate directory. `
-ConnectorAttributes {"authType":"SQLAuthentication","url":"jdbc:sqlserver://178.18.41.118:1433","user":"username","driverClass":"com.microsoft.sqlserver.jdbc.SQLServerDriver","maxSourcesPerAggGroup":10,"maxAllowedSources":300}
  • Convert the resource to JSON
$Multihostintegrationscreatesources | ConvertTo-JSON

[Back to top]