VMware NSX Manager Target Connector External API Configuration

capam344
This topic describes the required and supported Attributes used when adding or updating a VMware NSX Manager Target Application using the External API:
2
VMware NSX Manager Target Application External API Attributes
To add or update a VMware NSX Manager Target application using the External API, use the following properties as members of the "attributes" associative array included in the 'body' parameter of the REST call:
sshPort
The port that is used to connect to the UNIX host using SSH.
Required
Default Value
Valid Values
no
22
0-65535
sshSessionTimeout
When using the SSH communication channel, specifies the amount of time in milliseconds that Credential Manager should wait for the remote host to respond.
Required
Default Value
Valid Values
no
5000
1000-99999
scriptTimeout
Specifies the amount of time in milliseconds that Credential Manager waits to receive some expected input from the remote host.
Required
Default Value
Valid Values
no
5000
5000-59999
VMware NSX Manager Target Account External API Attributes
The VMWARE NSX Manager target connector does not have other attributes for adding a target account.
VMware NSX Manager Application External API Attributes Example
POST /api.php/v1/devices.json/{deviceId}/targetApplications { "applicationName": "NSXManagerApp", "applicationType": "nsxmanager", "description1": "sample descriptor1", "description2": "sample descriptor2", "attributes": { "sshPort": "", "scriptTimeout": "", "sshSessionTimeout": "" }, "passwordCompositionPolicyId": null }
VMware NSX Manager Target Account External API Example
POST /api.php/v1/devices.json/{deviceId}/targetApplications/{applicationId}/targetAccounts { "accountName":"nsxManagerAcc2", "attributes": { "useOtherPrivilegedAccount": "f", "descriptor2": "", "discoveryGlobal": "f", "descriptor1": "", "discoveryAllowed": "f", "otherPrivilegedAccount": "-1" }, "cacheBehavior":"useCacheFirst", "cacheDuration":"30", "password":"sample", "passwordViewPolicyId":1000, "privileged":"t", "synchronize":"f", "useAliasNameParameter":"f" }