-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from dheeruk12/main
added Terraform Import
- Loading branch information
Showing
41 changed files
with
1,804 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
layout: "zenduty" | ||
page_title: "zenduty_usercontact Data Source - terraform-provider-zenduty" | ||
subcategory: "" | ||
description: |- | ||
"`zenduty_usercontact` data source allows you to query contacts of a user." | ||
--- | ||
|
||
# zenduty_usercontact (Data Source) | ||
|
||
```hcl | ||
data "zenduty_user" "user1" { | ||
email = "demouser@gmail.com" | ||
} | ||
``` | ||
|
||
```hcl | ||
data "zenduty_usercontact" "exampleusercontact" { | ||
user_id = data.zenduty_user.user1.users[0].username | ||
contact_type=1 | ||
} | ||
``` | ||
|
||
```hcl | ||
output "usercontact" { | ||
value = data.zenduty_usercontact.exampleusercontact | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `user_id` (Required) - The username of the user to query. | ||
* `contact_type` (Required) - The contact type of the user to query. | ||
values are `1` Email, `2` SMS, `3` Phone, `4` Slack, `5` MS Teams | ||
* `value` (Optional) - The value of the contact type. | ||
|
||
## Attributes Reference | ||
|
||
* `id` - Unique ID of the contact. | ||
* `value` - The value of the contact. | ||
* `name` - The name of the contact. | ||
|
||
NOTE: If more than one contact is returned, the first one is returned by default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.