# getMonitor

> Function getMonitor in pulumi-better-uptime.

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

Function getMonitor in pulumi-better-uptime.

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

## 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.getMonitor({
  url: "<url>",
})
```

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

## Arguments

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `url`    | `string` | yes      |             |

## Result

| Property               | Type                          | Always present | Description |
| ---------------------- | ----------------------------- | -------------- | ----------- |
| `authPassword`         | `string`                      | yes            |             |
| `authUsername`         | `string`                      | yes            |             |
| `call`                 | `boolean`                     | yes            |             |
| `checkFrequency`       | `number`                      | yes            |             |
| `confirmationPeriod`   | `number`                      | yes            |             |
| `createdAt`            | `string`                      | yes            |             |
| `criticalAlert`        | `boolean`                     | yes            |             |
| `domainExpiration`     | `number`                      | yes            |             |
| `email`                | `boolean`                     | yes            |             |
| `environmentVariables` | `{ [key: string]: string }`   | yes            |             |
| `expectedStatusCodes`  | `number[]`                    | yes            |             |
| `expirationPolicyId`   | `number`                      | yes            |             |
| `followRedirects`      | `boolean`                     | yes            |             |
| `httpMethod`           | `string`                      | yes            |             |
| `id`                   | `string`                      | yes            |             |
| `ipVersion`            | `string`                      | yes            |             |
| `lastCheckedAt`        | `string`                      | yes            |             |
| `maintenanceDays`      | `string[]`                    | yes            |             |
| `maintenanceFrom`      | `string`                      | yes            |             |
| `maintenanceTimezone`  | `string`                      | yes            |             |
| `maintenanceTo`        | `string`                      | yes            |             |
| `monitorGroupId`       | `number`                      | yes            |             |
| `monitorType`          | `string`                      | yes            |             |
| `paused`               | `boolean`                     | yes            |             |
| `pausedAt`             | `string`                      | yes            |             |
| `playwrightScript`     | `string`                      | yes            |             |
| `policyId`             | `string`                      | yes            |             |
| `port`                 | `string`                      | yes            |             |
| `pronounceableName`    | `string`                      | yes            |             |
| `proxyHost`            | `string`                      | yes            |             |
| `proxyPort`            | `number`                      | yes            |             |
| `push`                 | `boolean`                     | yes            |             |
| `recoveryPeriod`       | `number`                      | yes            |             |
| `regions`              | `string[]`                    | yes            |             |
| `rememberCookies`      | `boolean`                     | yes            |             |
| `requestBody`          | `string`                      | yes            |             |
| `requestHeaders`       | `{ [key: string]: string }[]` | yes            |             |
| `requestTimeout`       | `number`                      | yes            |             |
| `requiredKeyword`      | `string`                      | yes            |             |
| `scenarioName`         | `string`                      | yes            |             |
| `sms`                  | `boolean`                     | yes            |             |
| `sslExpiration`        | `number`                      | yes            |             |
| `status`               | `string`                      | yes            |             |
| `teamWait`             | `number`                      | yes            |             |
| `updatedAt`            | `string`                      | yes            |             |
| `url`                  | `string`                      | yes            |             |
| `verifySsl`            | `boolean`                     | yes            |             |
