# AlertingRuleGroups

> Resource AlertingRuleGroups in pulumi-portainer.

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

Resource AlertingRuleGroups in pulumi-portainer.

Pulumi type: `portainer:index/alertingRuleGroups:AlertingRuleGroups`.

`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.AlertingRuleGroups("alertingRuleGroups", {
  endpointGroupIds: [0],
  ruleId: 0,
})
```

## Arguments

| Property               | Type       | Required | Description                                                                                                                                                                  |
| ---------------------- | ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `alertingRuleGroupsId` | `string`   | no       |                                                                                                                                                                              |
| `endpointGroupIds`     | `number[]` | yes      | Identifiers of the endpoint groups the rule applies to. The list is authoritative: a group missing from it is detached.                                                      |
| `ruleId`               | `number`   | yes      | Identifier of the alert rule whose endpoint group attachments this resource owns. Built-in rules can be attached the same way rules created by `portainer.AlertingRule` can. |

## Outputs

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

| Property               | Type       | Computed | Description                                                                                                                                                                  |
| ---------------------- | ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `alertingRuleGroupsId` | `string`   | no       |                                                                                                                                                                              |
| `endpointGroupIds`     | `number[]` | no       | Identifiers of the endpoint groups the rule applies to. The list is authoritative: a group missing from it is detached.                                                      |
| `ruleId`               | `number`   | no       | Identifier of the alert rule whose endpoint group attachments this resource owns. Built-in rules can be attached the same way rules created by `portainer.AlertingRule` can. |
