# getRole

> Function getRole in pulumi-better-uptime.

<!-- Generated from the pulumi-better-uptime SDK. -->

Function getRole in pulumi-better-uptime.

Invoke token: `better-uptime:index/getRole:getRole`.

## 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 betteruptime from "pulumi-better-uptime"

const result = await betteruptime.getRole({
  name: "<name>",
})
```

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

## Arguments

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `id`     | `string` | no       |             |
| `name`   | `string` | yes      |             |

## Result

| Property | Type     | Always present | Description |
| -------- | -------- | -------------- | ----------- |
| `id`     | `string` | yes            |             |
| `name`   | `string` | yes            |             |
| `role`   | `string` | yes            |             |
