svcmgr delete

Delete a service, or only the resources specified by --rid on the local service instance.

--dry-run

Show the action execution plan.

--interval=<int>

with --watch, set the refresh interval. defaults to 0, to refresh on event only.

--master

Limit the action scope to the master service resources.

--nolock

Don't acquire the action lock. Dangerous, but can be useful to set parameters from an action trigger.

--purge-collector

On service delete, also remove the service collector-side

--rid=<string>

A resource specifier expression like <spec>[,<spec>], where <spec> can be:

  • A resource id
  • A driver group name (app, fs, disk, ...)

Examples:

  • app all app resources
  • container#1,ip#1 only container#1 and ip#1

--slave=<string>

Limit the action to the service resources in the specified, comma-separated, slaves.

--slaves

Limit the action scope to service resources in all slaves.

--stats

refresh the information every --interval.

--subsets=<string>

Limit the action to the resources in the specified, comma-separated, list of subsets.

--tags=<string>

A comma-separated list of resource tags to limit action to. The + separator can be used to impose multiple tag conditions. For example, tag1+tag2,tag3 limits the action to resources with both tag1 and tag2, or tag3.

--time=<string>

A duration expression like 1m5s. The maximum wait time for an async action to finish. Default is 300 seconds.

--unprovision

Unprovision the service resources before config files file deletion. Defaults to False.

--wait

Wait for asynchronous action termination.

-f, --force

Force action, ignore sanity checks.

-w, --watch

refresh the information every --interval.