# EndpointGroupAccess

> Resource EndpointGroupAccess in pulumi-portainer.

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

Resource EndpointGroupAccess in pulumi-portainer.

Pulumi type: `portainer:index/endpointGroupAccess:EndpointGroupAccess`.

`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.EndpointGroupAccess("endpointGroupAccess", {
  endpointGroupId: 0,
})
```

## Arguments

| Property                | Type     | Required | Description                                                                                    |
| ----------------------- | -------- | -------- | ---------------------------------------------------------------------------------------------- |
| `endpointGroupAccessId` | `string` | no       |                                                                                                |
| `endpointGroupId`       | `number` | yes      | Identifier of the Portainer endpoint group to which the access policy applies.                 |
| `roleId`                | `number` | no       | Role identifier assigned to the user or team for this endpoint group.                          |
| `teamId`                | `number` | no       | Identifier of the team granted access to the endpoint group. Mutually exclusive with `userId`. |
| `userId`                | `number` | no       | Identifier of the user granted access to the endpoint group. Mutually exclusive with `teamId`. |

## Outputs

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

| Property                | Type     | Computed | Description                                                                                    |
| ----------------------- | -------- | -------- | ---------------------------------------------------------------------------------------------- |
| `endpointGroupAccessId` | `string` | no       |                                                                                                |
| `endpointGroupId`       | `number` | no       | Identifier of the Portainer endpoint group to which the access policy applies.                 |
| `roleId`                | `number` | no       | Role identifier assigned to the user or team for this endpoint group.                          |
| `teamId`                | `number` | no       | Identifier of the team granted access to the endpoint group. Mutually exclusive with `userId`. |
| `userId`                | `number` | no       | Identifier of the user granted access to the endpoint group. Mutually exclusive with `teamId`. |
