suspendSubscriptions Command

Use the suspendSubscriptions command to suspend subscriptions to one or all deployed DOE-C packages.

Syntax

suspendSubscriptions 
{-i|--in inputXmlFile} |
{-d|--domain domainName  
-p|--packageName name 
{-a|--all | -s|--subscriptionID ID}} 
[-h|--help] [-sl|--silent]

Parameters

  • -h|--help – gets help on this command.
  • -d|--domain – specifies the domain.
  • -i|--in – reads subscription ID and package name from input XML file. You can generate the XML file by using the -o parameter with the getSubscriptions command.
  • -a|--all – suspends subscriptions for all deployed packages.
  • -p|--packageName – specifies a package name for which subscriptions are suspended. Package name is followed by a colon and the package version number, with no white space; for example:
    -p myPkg:2.0
  • -s|--subscriptionID – specifies one or more subscription IDs which you want to suspend. Use a comma to separate multiple subscription IDs, with no white space; for example:
    -s mySubs1,mySubs2
  • -sl|--silent – disables all user interactive questions; this option is mainly used when writing a batch file.