service_inspect
Retrieve a Docker swarm service's desired-state spec and rollout status by ID or name to inspect configuration and update progress.
Instructions
Get a swarm service by id or name.
Must run against a swarm manager. Returns the desired-state spec and rollout status - for the
actually-running tasks use service_ps, or the service-tasks://{id_or_name} resource for a
computed rollout summary.
Args: insert_defaults: Merge default values into the output
Returns: dict: The full service document ({"ID", "Version", "Spec", "Endpoint", ...}; "UpdateStatus" during a rolling update)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes | ||
| insert_defaults | No |