# Licenses

> Resource Licenses in pulumi-portainer.

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

Resource Licenses in pulumi-portainer.

Pulumi type: `portainer:index/licenses:Licenses`.

`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.Licenses("licenses", {
  key: "<key>",
})
```

## Arguments

| Property     | Type      | Required | Description                                         |
| ------------ | --------- | -------- | --------------------------------------------------- |
| `force`      | `boolean` | no       | Force attach even if there are conflicting licenses |
| `key`        | `string`  | yes      | License key to be attached                          |
| `licensesId` | `string`  | no       |                                                     |

## Outputs

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

| Property          | Type       | Computed | Description                                         |
| ----------------- | ---------- | -------- | --------------------------------------------------- |
| `conflictingKeys` | `string[]` | yes      | List of conflicting license keys, if any            |
| `force`           | `boolean`  | no       | Force attach even if there are conflicting licenses |
| `key`             | `string`   | no       | License key to be attached                          |
| `licensesId`      | `string`   | no       |                                                     |
