From 85d3039a990ca68ead1fe3b4466d37ac2cd286b2 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Fri, 27 Jan 2023 21:19:52 +0200 Subject: [PATCH 1/5] teams data source --- docs/data-sources/teams.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/data-sources/teams.md diff --git a/docs/data-sources/teams.md b/docs/data-sources/teams.md new file mode 100644 index 00000000..381b0ee3 --- /dev/null +++ b/docs/data-sources/teams.md @@ -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. From 6c1dff3c4e29192eddfb86f4f306b1a5370cd37a Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Fri, 27 Jan 2023 21:26:39 +0200 Subject: [PATCH 2/5] contact data source doc --- docs/data-sources/contact.md | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 docs/data-sources/contact.md diff --git a/docs/data-sources/contact.md b/docs/data-sources/contact.md new file mode 100644 index 00000000..a257e450 --- /dev/null +++ b/docs/data-sources/contact.md @@ -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. From 8758278353a1e1f767c89a91d68dcabb95639777 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Fri, 27 Jan 2023 21:28:45 +0200 Subject: [PATCH 3/5] contacts data source --- docs/data-sources/contacts.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/data-sources/contacts.md diff --git a/docs/data-sources/contacts.md b/docs/data-sources/contacts.md new file mode 100644 index 00000000..4dcfddc8 --- /dev/null +++ b/docs/data-sources/contacts.md @@ -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. From 262c00f33a59fe436fe7e107e7f9cb90b1e0054f Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Fri, 27 Jan 2023 21:31:25 +0200 Subject: [PATCH 4/5] integration data source --- docs/data-sources/integration.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/data-sources/integration.md diff --git a/docs/data-sources/integration.md b/docs/data-sources/integration.md new file mode 100644 index 00000000..bdd42da5 --- /dev/null +++ b/docs/data-sources/integration.md @@ -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. From 9bd6f767b3ffad33f290500a15ffb6e9f3bf6007 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Fri, 27 Jan 2023 21:31:58 +0200 Subject: [PATCH 5/5] integrations data source --- docs/data-sources/integrations.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/data-sources/integrations.md diff --git a/docs/data-sources/integrations.md b/docs/data-sources/integrations.md new file mode 100644 index 00000000..4d22cca7 --- /dev/null +++ b/docs/data-sources/integrations.md @@ -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.