VMware

Service Namespace

The Service namespace provides commands to manage a single/set of services that are managed by vMon.

List of commands:



Start Command

dcli com vmware appliance vmon service start

Description

Starts a service

Options

Option Name Type Required Description
service string Yes identifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service.

Example

dcli com vmware appliance vmon service start --service testId


Stop Command

dcli com vmware appliance vmon service stop

Description

Stops a service

Options

Option Name Type Required Description
service string Yes identifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service.

Example

dcli com vmware appliance vmon service stop --service testId


Restart Command

dcli com vmware appliance vmon service restart

Description

Restarts a service

Options

Option Name Type Required Description
service string Yes identifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service.

Example

dcli com vmware appliance vmon service restart --service testId


Get Command

dcli com vmware appliance vmon service get

Description

Returns the state of a service.

Options

Option Name Type Required Description
service string Yes identifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service.

Example

dcli com vmware appliance vmon service get --service testId


Update Command

dcli com vmware appliance vmon service update

Description

Updates the properties of a service.

Options

Option Name Type Required Description
service string Yes identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service.
startup‑type string No Startup Type If unspecified, leaves value unchanged. Valid values are: {MANUAL, AUTOMATIC, DISABLED}

Example

dcli com vmware appliance vmon service update --service testId


ListDetails Command

dcli com vmware appliance vmon service listdetails

Description

Lists details of services managed by vMon.

Example

dcli com vmware appliance vmon service listdetails