Skip to main content

Update Resource

Updates the password on a subscriber resource.

Signature: def updateresource(cinfo)

Parameters:

  • cinfo['resourceaddress'] - Address of the subscriber resource

  • cinfo['resourcetype'] - Type of subscriber resource

  • cinfo['newpw'] - The password that should be set

  • cinfo['restart'] - Bool flag for If the resource should be restarted as part of the password update

  • cinfo['position'] - Indicates if the restart should be done before or after the password update

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

Remarks:

If a restart should be done as part of the operation, the position parameter indicates if it should be done before or after the password update. It's value will either be "pre" for before the update, or "post" if it should be done after.