# getEndpointGroupAccess

> Function getEndpointGroupAccess in pulumi-portainer.

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

Function getEndpointGroupAccess in pulumi-portainer.

Invoke token: `portainer:index/getEndpointGroupAccess:getEndpointGroupAccess`.

## 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 result = await portainer.getEndpointGroupAccess({
  endpointGroupId: 0,
})
```

`getEndpointGroupAccessOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property          | Type     | Required | Description |
| ----------------- | -------- | -------- | ----------- |
| `endpointGroupId` | `number` | yes      |             |
| `id`              | `string` | no       |             |
| `teamId`          | `number` | no       |             |
| `userId`          | `number` | no       |             |

## Result

| Property          | Type     | Always present | Description |
| ----------------- | -------- | -------------- | ----------- |
| `endpointGroupId` | `number` | yes            |             |
| `id`              | `string` | yes            |             |
| `roleId`          | `number` | yes            |             |
| `teamId`          | `number` | no             |             |
| `userId`          | `number` | no             |             |
