Skip to content

Commit

Permalink
Merge pull request #12 from DrFaust92/docs-2
Browse files Browse the repository at this point in the history
data source docs
  • Loading branch information
DrFaust92 authored Jan 27, 2023
2 parents 9ccd032 + 9bd6f76 commit d923059
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/data-sources/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: "pingdom"
page_title: "Bitbucket: pingdom_contact"
sidebar_current: "docs-pingdom-data-contact"
description: |-
Provides a data for a Bitbucket contact
---

# pingdom\_contact

Provides a way to fetch data on a contact.

## Example Usage

```hcl
data "pingdom_contact" "example" {
name = pingdom_contact.example.name
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The contact name to look up.

## Attributes Reference

* `id` - The contact ID.
* `paused` - Whether contact is paused.
* `teams` - Teams connected to contact.
* `sms_notification` - SMS notifcation details.
* `email_notification` - Email notifcation details.

### SMS Notification

* `country_code` - Country code
* `number` - Phone number
* `provider` - Provider
* `severity` - Contact target's severity level

### Email Notification

* `address` - Email address
* `severity` - Contact target's severity level

### Teams

* `id` - Team id.
* `name` - Team name.
29 changes: 29 additions & 0 deletions docs/data-sources/contacts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: "pingdom"
page_title: "Bitbucket: pingdom_contacts"
sidebar_current: "docs-pingdom-data-contacts"
description: |-
Provides a data for a Bitbucket contacts
---

# pingdom\_contacts

Provides a way to fetch data on a contacts.

## Example Usage

```hcl
data "pingdom_contacts" "example" {}
```

## Argument Reference

The following arguments are supported:

No arguments can be passed.

## Attributes Reference

* `names` - The contacts names.
* `ids` - The contacts ids.
* `types` - Contact types.
31 changes: 31 additions & 0 deletions docs/data-sources/integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: "pingdom"
page_title: "Bitbucket: pingdom_integration"
sidebar_current: "docs-pingdom-data-integration"
description: |-
Provides a data for a Bitbucket integration
---

# pingdom\_integration

Provides a way to fetch data on a integration.

## Example Usage

```hcl
data "pingdom_integration" "example" {
name = pingdom_integration.example.name
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The integration name to look up.

## Attributes Reference

* `provider_name` - The integration provider name.
* `active` - Whether the integration is active.
* `url` - The integration url.
28 changes: 28 additions & 0 deletions docs/data-sources/integrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: "pingdom"
page_title: "Bitbucket: pingdom_integrations"
sidebar_current: "docs-pingdom-data-integrations"
description: |-
Provides a data for a Bitbucket integrations
---

# pingdom\_integrations

Provides a way to fetch data on a integrations.

## Example Usage

```hcl
data "pingdom_integrations" "example" {}
```

## Argument Reference

The following arguments are supported:

No arguments can be passed.

## Attributes Reference

* `names` - The integrations names.
* `ids` - The integrations ids.
26 changes: 26 additions & 0 deletions docs/data-sources/teams.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: "pingdom"
page_title: "Bitbucket: pingdom_teams"
sidebar_current: "docs-pingdom-data-teams"
description: |-
Provides a data for a Bitbucket teams
---

# pingdom\_team

Provides a way to fetch data on teams.

## Example Usage

```hcl
data "pingdom_teams" "example" {}
```

## Argument Reference

No arguments can be passed.

## Attributes Reference

* `names` - A list of team names.
* `ids` - A list of team ids.

0 comments on commit d923059

Please sign in to comment.