Initialize Interface API Example for Powershell
Looking for an example on how to use the initialize interface api command. According to the doucmentation this is the api and definition.
CerberusFtp.InitializeInterfaceResponse InitializeInterface(CerberusFtp.InitializeInterfaceRequest InitializeInterfaceRequest)
Not sure what's supposed to be passed or how create these objects. I have a pwsh script using the SOAP api that creates and manages user accounts but am unable to find any examples on interface initialization.
-
Hello Richard,
Unfortunately it doesn't look like we have an example for this specific item on hand, but I was able to speak with a member of our Dev team briefly about them, and they gave me some basic guidance around usage, and this would depend on your use case.
I believe it would be something along the lines of:
Calling GetInterfaceByIDRequest, which should return a boolean.
Then you can call InitializeInterfaceResponse if it's down.
Finally, you can ShutdownInterfaceRequest to turn one off.
If you haven't checked our our Powershell API article, you can find it here, just in case it can provide any helpful information: https://support.cerberusftp.com/hc/en-us/sections/360001417940-Cerberus-SOAP-API-with-PowerShell0 -
thanks... unfortunately that does not help me at all.
0 -
Hello Richard,
I do apologize, I will follow up with my Dev team to see if I can't get you more information around this subject. Could you provide a use case for the API calls you are making? Having the extra context would be great.
0 -
We have external listeners that go "offline" for no apparent reason. I believe it has to do with the networking and how Google GCP handles external access. I wanted to write a script to issue an initialize command every X time period. From the limited docs it seems if a initializaiton command is sent and it's already running the command will just fail which would be ok if its running but if not it would bring the interfaces online.
0
Please sign in to leave a comment.
Comments
4 comments