# UserMembershipsSync

> Resource UserMembershipsSync in pulumi-portainer.

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

Resource UserMembershipsSync in pulumi-portainer.

Pulumi type: `portainer:index/userMembershipsSync:UserMembershipsSync`.

`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.UserMembershipsSync("userMembershipsSync", {
  userId: 0,
})
```

## Arguments

| Property                | Type                        | Required | Description                                                                                                                                                        |
| ----------------------- | --------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `triggers`              | `{ [key: string]: string }` | no       | Arbitrary values that force another synchronisation when they change. A sync is a one-shot action, so without a trigger the resource runs once and then stays put. |
| `userId`                | `number`                    | yes      | Identifier of the user whose team memberships are synchronised.                                                                                                    |
| `userMembershipsSyncId` | `string`                    | no       |                                                                                                                                                                    |

## Outputs

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

| Property                | Type                        | Computed | Description                                                                                                                                                        |
| ----------------------- | --------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `triggers`              | `{ [key: string]: string }` | no       | Arbitrary values that force another synchronisation when they change. A sync is a one-shot action, so without a trigger the resource runs once and then stays put. |
| `userId`                | `number`                    | no       | Identifier of the user whose team memberships are synchronised.                                                                                                    |
| `userMembershipsSyncId` | `string`                    | no       |                                                                                                                                                                    |
