# EndpointGroupMembership

> Resource EndpointGroupMembership in pulumi-portainer.

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

Resource EndpointGroupMembership in pulumi-portainer.

Pulumi type: `portainer:index/endpointGroupMembership:EndpointGroupMembership`.

`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.EndpointGroupMembership(
  "endpointGroupMembership",
  {
    endpointGroupId: 0,
    endpointId: 0,
  },
)
```

## Arguments

| Property                    | Type     | Required | Description                                                      |
| --------------------------- | -------- | -------- | ---------------------------------------------------------------- |
| `endpointGroupId`           | `number` | yes      | Identifier of the environment group the environment is added to. |
| `endpointGroupMembershipId` | `string` | no       |                                                                  |
| `endpointId`                | `number` | yes      | Identifier of the environment to place in the group.             |

## Outputs

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

| Property                    | Type     | Computed | Description                                                      |
| --------------------------- | -------- | -------- | ---------------------------------------------------------------- |
| `endpointGroupId`           | `number` | no       | Identifier of the environment group the environment is added to. |
| `endpointGroupMembershipId` | `string` | no       |                                                                  |
| `endpointId`                | `number` | no       | Identifier of the environment to place in the group.             |
