# OpenAmtDevicesAction

> Resource OpenAmtDevicesAction in pulumi-portainer.

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

Resource OpenAmtDevicesAction in pulumi-portainer.

Pulumi type: `portainer:index/openAmtDevicesAction:OpenAmtDevicesAction`.

`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.OpenAmtDevicesAction("openAmtDevicesAction", {
  action: "<action>",
  deviceId: 0,
  environmentId: 0,
})
```

## Arguments

| Property                 | Type     | Required | Description                                                                      |
| ------------------------ | -------- | -------- | -------------------------------------------------------------------------------- |
| `action`                 | `string` | yes      | The out-of-band action to execute on the device (e.g. poweron, poweroff, reset). |
| `deviceId`               | `number` | yes      | The ID of the AMT managed device.                                                |
| `environmentId`          | `number` | yes      | The ID of the environment (endpoint).                                            |
| `openAmtDevicesActionId` | `string` | no       |                                                                                  |

## Outputs

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

| Property                 | Type     | Computed | Description                                                                      |
| ------------------------ | -------- | -------- | -------------------------------------------------------------------------------- |
| `action`                 | `string` | no       | The out-of-band action to execute on the device (e.g. poweron, poweroff, reset). |
| `deviceId`               | `number` | no       | The ID of the AMT managed device.                                                |
| `environmentId`          | `number` | no       | The ID of the environment (endpoint).                                            |
| `openAmtDevicesActionId` | `string` | no       |                                                                                  |
