# EndpointTrust

> Resource EndpointTrust in pulumi-portainer.

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

Resource EndpointTrust in pulumi-portainer.

Pulumi type: `portainer:index/endpointTrust:EndpointTrust`.

`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.EndpointTrust("endpointTrust", {
  endpointId: 0,
})
```

## Arguments

| Property          | Type       | Required | Description                                                                                                                                              |
| ----------------- | ---------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `edgeGroupIds`    | `number[]` | no       | Identifiers of the edge groups to add the environment to when trust is granted. Leave unset to keep the edge groups the environment already has.         |
| `endpointId`      | `number`   | yes      | Identifier of the edge environment in the waiting room to trust. Use the `portainer.getEdgeWaitingRoom` data source to find environments awaiting trust. |
| `endpointTrustId` | `string`   | no       |                                                                                                                                                          |
| `groupId`         | `number`   | no       | Identifier of the endpoint group to place the environment in when trust is granted. Leave unset to keep the group the environment already has.           |
| `tagIds`          | `number[]` | no       | Identifiers of the tags to apply to the environment when trust is granted. Leave unset to keep the tags the environment already has.                     |

## Outputs

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

| Property          | Type       | Computed | Description                                                                                                                                              |
| ----------------- | ---------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `edgeGroupIds`    | `number[]` | no       | Identifiers of the edge groups to add the environment to when trust is granted. Leave unset to keep the edge groups the environment already has.         |
| `edgeId`          | `string`   | yes      | Edge identifier the agent reports for the environment.                                                                                                   |
| `endpointId`      | `number`   | no       | Identifier of the edge environment in the waiting room to trust. Use the `portainer.getEdgeWaitingRoom` data source to find environments awaiting trust. |
| `endpointTrustId` | `string`   | no       |                                                                                                                                                          |
| `groupId`         | `number`   | no       | Identifier of the endpoint group to place the environment in when trust is granted. Leave unset to keep the group the environment already has.           |
| `name`            | `string`   | yes      | Name of the trusted environment.                                                                                                                         |
| `tagIds`          | `number[]` | no       | Identifiers of the tags to apply to the environment when trust is granted. Leave unset to keep the tags the environment already has.                     |
| `trusted`         | `boolean`  | yes      | Whether Portainer reports the environment as trusted.                                                                                                    |
