generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
188da3f
commit 0a4eac6
Showing
3 changed files
with
49 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "harness_delegate Data Source - terraform-provider-harness" | ||
subcategory: "" | ||
description: |- | ||
Data source for retrieving a Harness delegate. If more than one delegate matches the query the first one will be returned. | ||
--- | ||
|
||
# harness_delegate (Data Source) | ||
|
||
Data source for retrieving a Harness delegate. If more than one delegate matches the query the first one will be returned. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "harness_delegate" "example" { | ||
name = "harness-delegate" | ||
type = "KUBERNETES" | ||
status = "ENABLED" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **name** (String) The name of the delegate to query for. | ||
- **status** (String) The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING_FOR_APPROVAL | ||
- **type** (String) The type of the delegate to query for. Valid values are DOCKER, ECS, HELM_DELEGATE, KUBERNETES, SHELL_SCRIPT | ||
|
||
### Read-Only | ||
|
||
- **account_id** (String) The account id the delegate belongs to. | ||
- **description** (String) The description of the delegate. | ||
- **host_name** (String) The host name of the delegate. | ||
- **id** (String) Unique identifier of the delegate | ||
- **ip** (String) The ip address of the delegate. | ||
- **last_heartbeat** (String) The last time the delegate was heard from. | ||
- **polling_mode_enabled** (Boolean) Whether the delegate is in polling mode. | ||
- **profile_id** (String) The id of the profile assigned to the delegate. | ||
- **version** (String) The version of the delegate. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
data "harness_delegate" "example" { | ||
name = "harness-delegate" | ||
type = "KUBERNETES" | ||
status = "ENABLED" | ||
} |