# EndpointServiceUpdate

> Resource EndpointServiceUpdate in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Resource EndpointServiceUpdate in pulumi-portainer.

Pulumi type: `portainer:index/endpointServiceUpdate:EndpointServiceUpdate`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const resource = new portainer.EndpointServiceUpdate("endpointServiceUpdate", {
  endpointId: 0,
  serviceName: "<serviceName>",
})
```

## Arguments

| Property                  | Type      | Required | Description                                                                     |
| ------------------------- | --------- | -------- | ------------------------------------------------------------------------------- |
| `endpointId`              | `number`  | yes      | Identifier of the Portainer endpoint hosting the Swarm service to force-update. |
| `endpointServiceUpdateId` | `string`  | no       |                                                                                 |
| `pullImage`               | `boolean` | no       | Whether Portainer should pull the latest image when force-updating the service. |
| `serviceName`             | `string`  | yes      | Name of the Swarm service that should be force-updated.                         |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property                  | Type      | Computed | Description                                                                     |
| ------------------------- | --------- | -------- | ------------------------------------------------------------------------------- |
| `endpointId`              | `number`  | no       | Identifier of the Portainer endpoint hosting the Swarm service to force-update. |
| `endpointServiceUpdateId` | `string`  | no       |                                                                                 |
| `pullImage`               | `boolean` | no       | Whether Portainer should pull the latest image when force-updating the service. |
| `serviceName`             | `string`  | no       | Name of the Swarm service that should be force-updated.                         |
