Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Data source for retrieving a Harness Service Discovery Agent.
This data source allows you to fetch details of a Service Discovery Agent using either its unique identifier or name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
// Data source to fetch a specific agent by name
const byName = harness.service.getDiscoveryAgent({
name: "example-agent",
orgIdentifier: orgIdentifier,
projectIdentifier: projectIdentifier,
environmentIdentifier: environmentIdentifier,
});
export const agentDetailsByName = byName;
// Data source to fetch a specific agent by identity
const byIdentity = harness.service.getDiscoveryAgent({
identity: "example-infra",
orgIdentifier: orgIdentifier,
projectIdentifier: projectIdentifier,
environmentIdentifier: environmentIdentifier,
});
export const agentDetailsByIdentity = byIdentity;
import pulumi
import pulumi_harness as harness
# Data source to fetch a specific agent by name
by_name = harness.service.get_discovery_agent(name="example-agent",
org_identifier=org_identifier,
project_identifier=project_identifier,
environment_identifier=environment_identifier)
pulumi.export("agentDetailsByName", by_name)
# Data source to fetch a specific agent by identity
by_identity = harness.service.get_discovery_agent(identity="example-infra",
org_identifier=org_identifier,
project_identifier=project_identifier,
environment_identifier=environment_identifier)
pulumi.export("agentDetailsByIdentity", by_identity)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/service"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Data source to fetch a specific agent by name
byName, err := service.LookupDiscoveryAgent(ctx, &service.LookupDiscoveryAgentArgs{
Name: pulumi.StringRef("example-agent"),
OrgIdentifier: pulumi.StringRef(orgIdentifier),
ProjectIdentifier: pulumi.StringRef(projectIdentifier),
EnvironmentIdentifier: environmentIdentifier,
}, nil)
if err != nil {
return err
}
ctx.Export("agentDetailsByName", byName)
// Data source to fetch a specific agent by identity
byIdentity, err := service.LookupDiscoveryAgent(ctx, &service.LookupDiscoveryAgentArgs{
Identity: pulumi.StringRef("example-infra"),
OrgIdentifier: pulumi.StringRef(orgIdentifier),
ProjectIdentifier: pulumi.StringRef(projectIdentifier),
EnvironmentIdentifier: environmentIdentifier,
}, nil)
if err != nil {
return err
}
ctx.Export("agentDetailsByIdentity", byIdentity)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
// Data source to fetch a specific agent by name
var byName = Harness.Service.GetDiscoveryAgent.Invoke(new()
{
Name = "example-agent",
OrgIdentifier = orgIdentifier,
ProjectIdentifier = projectIdentifier,
EnvironmentIdentifier = environmentIdentifier,
});
// Data source to fetch a specific agent by identity
var byIdentity = Harness.Service.GetDiscoveryAgent.Invoke(new()
{
Identity = "example-infra",
OrgIdentifier = orgIdentifier,
ProjectIdentifier = projectIdentifier,
EnvironmentIdentifier = environmentIdentifier,
});
return new Dictionary<string, object?>
{
["agentDetailsByName"] = byName,
["agentDetailsByIdentity"] = byIdentity,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.service.ServiceFunctions;
import com.pulumi.harness.service.inputs.GetDiscoveryAgentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Data source to fetch a specific agent by name
final var byName = ServiceFunctions.getDiscoveryAgent(GetDiscoveryAgentArgs.builder()
.name("example-agent")
.orgIdentifier(orgIdentifier)
.projectIdentifier(projectIdentifier)
.environmentIdentifier(environmentIdentifier)
.build());
ctx.export("agentDetailsByName", byName);
// Data source to fetch a specific agent by identity
final var byIdentity = ServiceFunctions.getDiscoveryAgent(GetDiscoveryAgentArgs.builder()
.identity("example-infra")
.orgIdentifier(orgIdentifier)
.projectIdentifier(projectIdentifier)
.environmentIdentifier(environmentIdentifier)
.build());
ctx.export("agentDetailsByIdentity", byIdentity);
}
}
variables:
# Data source to fetch a specific agent by name
byName:
fn::invoke:
function: harness:service:getDiscoveryAgent
arguments:
name: example-agent
orgIdentifier: ${orgIdentifier}
projectIdentifier: ${projectIdentifier}
environmentIdentifier: ${environmentIdentifier}
# Data source to fetch a specific agent by identity
byIdentity:
fn::invoke:
function: harness:service:getDiscoveryAgent
arguments:
identity: example-infra
orgIdentifier: ${orgIdentifier}
projectIdentifier: ${projectIdentifier}
environmentIdentifier: ${environmentIdentifier}
outputs:
agentDetailsByName: ${byName}
agentDetailsByIdentity: ${byIdentity}
Using getDiscoveryAgent
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDiscoveryAgent(args: GetDiscoveryAgentArgs, opts?: InvokeOptions): Promise<GetDiscoveryAgentResult>
function getDiscoveryAgentOutput(args: GetDiscoveryAgentOutputArgs, opts?: InvokeOptions): Output<GetDiscoveryAgentResult>def get_discovery_agent(environment_identifier: Optional[str] = None,
identity: Optional[str] = None,
name: Optional[str] = None,
org_identifier: Optional[str] = None,
project_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDiscoveryAgentResult
def get_discovery_agent_output(environment_identifier: Optional[pulumi.Input[str]] = None,
identity: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_identifier: Optional[pulumi.Input[str]] = None,
project_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDiscoveryAgentResult]func LookupDiscoveryAgent(ctx *Context, args *LookupDiscoveryAgentArgs, opts ...InvokeOption) (*LookupDiscoveryAgentResult, error)
func LookupDiscoveryAgentOutput(ctx *Context, args *LookupDiscoveryAgentOutputArgs, opts ...InvokeOption) LookupDiscoveryAgentResultOutput> Note: This function is named LookupDiscoveryAgent in the Go SDK.
public static class GetDiscoveryAgent
{
public static Task<GetDiscoveryAgentResult> InvokeAsync(GetDiscoveryAgentArgs args, InvokeOptions? opts = null)
public static Output<GetDiscoveryAgentResult> Invoke(GetDiscoveryAgentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDiscoveryAgentResult> getDiscoveryAgent(GetDiscoveryAgentArgs args, InvokeOptions options)
public static Output<GetDiscoveryAgentResult> getDiscoveryAgent(GetDiscoveryAgentArgs args, InvokeOptions options)
fn::invoke:
function: harness:service/getDiscoveryAgent:getDiscoveryAgent
arguments:
# arguments dictionaryThe following arguments are supported:
- Environment
Identifier string - The environment identifier of the agent. This is a required field.
- Identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- Name string
- The name of the agent. Either this or 'identity' must be provided.
- Org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Environment
Identifier string - The environment identifier of the agent. This is a required field.
- Identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- Name string
- The name of the agent. Either this or 'identity' must be provided.
- Org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- environment
Identifier String - The environment identifier of the agent. This is a required field.
- identity String
- The unique identity of the agent. Either this or 'name' must be provided.
- name String
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier String - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier String - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- environment
Identifier string - The environment identifier of the agent. This is a required field.
- identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- name string
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- environment_
identifier str - The environment identifier of the agent. This is a required field.
- identity str
- The unique identity of the agent. Either this or 'name' must be provided.
- name str
- The name of the agent. Either this or 'identity' must be provided.
- org_
identifier str - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project_
identifier str - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- environment
Identifier String - The environment identifier of the agent. This is a required field.
- identity String
- The unique identity of the agent. Either this or 'name' must be provided.
- name String
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier String - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier String - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
getDiscoveryAgent Result
The following output properties are available:
- Configs
List<Get
Discovery Agent Config> - Configuration for the agent.
- Correlation
Id string - Correlation ID for the agent.
- Created
At string - Timestamp when the agent was created.
- Created
By string - User who created the agent.
- Description string
- Description of the agent.
- Environment
Identifier string - The environment identifier of the agent. This is a required field.
- Id string
- The unique identifier of the agent.
- Installation
Details List<GetDiscovery Agent Installation Detail> - Installation details of the agent.
- Installation
Type string - Type of installation for the agent.
- Network
Map intCount - Number of network maps associated with this agent.
- Permanent
Installation bool - Whether this is a permanent installation.
- Removed bool
- Whether the agent has been removed.
- Removed
At string - Timestamp when the agent was removed.
- Service
Count int - Number of services managed by this agent.
- List<string>
- Key-value list of resource tags for the agent.
- Updated
At string - Timestamp when the agent was last updated.
- Updated
By string - User who last updated the agent.
- Webhook
Url string - Webhook URL for the agent.
- Identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- Name string
- The name of the agent. Either this or 'identity' must be provided.
- Org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Configs
[]Get
Discovery Agent Config - Configuration for the agent.
- Correlation
Id string - Correlation ID for the agent.
- Created
At string - Timestamp when the agent was created.
- Created
By string - User who created the agent.
- Description string
- Description of the agent.
- Environment
Identifier string - The environment identifier of the agent. This is a required field.
- Id string
- The unique identifier of the agent.
- Installation
Details []GetDiscovery Agent Installation Detail - Installation details of the agent.
- Installation
Type string - Type of installation for the agent.
- Network
Map intCount - Number of network maps associated with this agent.
- Permanent
Installation bool - Whether this is a permanent installation.
- Removed bool
- Whether the agent has been removed.
- Removed
At string - Timestamp when the agent was removed.
- Service
Count int - Number of services managed by this agent.
- []string
- Key-value list of resource tags for the agent.
- Updated
At string - Timestamp when the agent was last updated.
- Updated
By string - User who last updated the agent.
- Webhook
Url string - Webhook URL for the agent.
- Identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- Name string
- The name of the agent. Either this or 'identity' must be provided.
- Org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- Project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- configs
List<Get
Discovery Agent Config> - Configuration for the agent.
- correlation
Id String - Correlation ID for the agent.
- created
At String - Timestamp when the agent was created.
- created
By String - User who created the agent.
- description String
- Description of the agent.
- environment
Identifier String - The environment identifier of the agent. This is a required field.
- id String
- The unique identifier of the agent.
- installation
Details List<GetDiscovery Agent Installation Detail> - Installation details of the agent.
- installation
Type String - Type of installation for the agent.
- network
Map IntegerCount - Number of network maps associated with this agent.
- permanent
Installation Boolean - Whether this is a permanent installation.
- removed Boolean
- Whether the agent has been removed.
- removed
At String - Timestamp when the agent was removed.
- service
Count Integer - Number of services managed by this agent.
- List<String>
- Key-value list of resource tags for the agent.
- updated
At String - Timestamp when the agent was last updated.
- updated
By String - User who last updated the agent.
- webhook
Url String - Webhook URL for the agent.
- identity String
- The unique identity of the agent. Either this or 'name' must be provided.
- name String
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier String - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier String - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- configs
Get
Discovery Agent Config[] - Configuration for the agent.
- correlation
Id string - Correlation ID for the agent.
- created
At string - Timestamp when the agent was created.
- created
By string - User who created the agent.
- description string
- Description of the agent.
- environment
Identifier string - The environment identifier of the agent. This is a required field.
- id string
- The unique identifier of the agent.
- installation
Details GetDiscovery Agent Installation Detail[] - Installation details of the agent.
- installation
Type string - Type of installation for the agent.
- network
Map numberCount - Number of network maps associated with this agent.
- permanent
Installation boolean - Whether this is a permanent installation.
- removed boolean
- Whether the agent has been removed.
- removed
At string - Timestamp when the agent was removed.
- service
Count number - Number of services managed by this agent.
- string[]
- Key-value list of resource tags for the agent.
- updated
At string - Timestamp when the agent was last updated.
- updated
By string - User who last updated the agent.
- webhook
Url string - Webhook URL for the agent.
- identity string
- The unique identity of the agent. Either this or 'name' must be provided.
- name string
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier string - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier string - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- configs
Sequence[Get
Discovery Agent Config] - Configuration for the agent.
- correlation_
id str - Correlation ID for the agent.
- created_
at str - Timestamp when the agent was created.
- created_
by str - User who created the agent.
- description str
- Description of the agent.
- environment_
identifier str - The environment identifier of the agent. This is a required field.
- id str
- The unique identifier of the agent.
- installation_
details Sequence[GetDiscovery Agent Installation Detail] - Installation details of the agent.
- installation_
type str - Type of installation for the agent.
- network_
map_ intcount - Number of network maps associated with this agent.
- permanent_
installation bool - Whether this is a permanent installation.
- removed bool
- Whether the agent has been removed.
- removed_
at str - Timestamp when the agent was removed.
- service_
count int - Number of services managed by this agent.
- Sequence[str]
- Key-value list of resource tags for the agent.
- updated_
at str - Timestamp when the agent was last updated.
- updated_
by str - User who last updated the agent.
- webhook_
url str - Webhook URL for the agent.
- identity str
- The unique identity of the agent. Either this or 'name' must be provided.
- name str
- The name of the agent. Either this or 'identity' must be provided.
- org_
identifier str - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project_
identifier str - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- configs List<Property Map>
- Configuration for the agent.
- correlation
Id String - Correlation ID for the agent.
- created
At String - Timestamp when the agent was created.
- created
By String - User who created the agent.
- description String
- Description of the agent.
- environment
Identifier String - The environment identifier of the agent. This is a required field.
- id String
- The unique identifier of the agent.
- installation
Details List<Property Map> - Installation details of the agent.
- installation
Type String - Type of installation for the agent.
- network
Map NumberCount - Number of network maps associated with this agent.
- permanent
Installation Boolean - Whether this is a permanent installation.
- removed Boolean
- Whether the agent has been removed.
- removed
At String - Timestamp when the agent was removed.
- service
Count Number - Number of services managed by this agent.
- List<String>
- Key-value list of resource tags for the agent.
- updated
At String - Timestamp when the agent was last updated.
- updated
By String - User who last updated the agent.
- webhook
Url String - Webhook URL for the agent.
- identity String
- The unique identity of the agent. Either this or 'name' must be provided.
- name String
- The name of the agent. Either this or 'identity' must be provided.
- org
Identifier String - The organization identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
- project
Identifier String - The project identifier of the agent (optional). Must be 1-64 characters and contain only alphanumeric characters, hyphens, or underscores.
Supporting Types
GetDiscoveryAgentConfig
- Collector
Image string - Docker image for the collector.
- Datas
List<Get
Discovery Agent Config Data> - Data collection configuration.
- Image
Pull List<string>Secrets - List of image pull secrets.
- Kubernetes
List<Get
Discovery Agent Config Kubernete> - Kubernetes-specific configuration.
- Log
Watcher stringImage - Docker image for the log watcher.
- Mtls
List<Get
Discovery Agent Config Mtl> - mTLS configuration.
- Proxies
List<Get
Discovery Agent Config Proxy> - Proxy configuration.
- Skip
Secure boolVerify - Whether to skip TLS verification.
- Collector
Image string - Docker image for the collector.
- Datas
[]Get
Discovery Agent Config Data - Data collection configuration.
- Image
Pull []stringSecrets - List of image pull secrets.
- Kubernetes
[]Get
Discovery Agent Config Kubernete - Kubernetes-specific configuration.
- Log
Watcher stringImage - Docker image for the log watcher.
- Mtls
[]Get
Discovery Agent Config Mtl - mTLS configuration.
- Proxies
[]Get
Discovery Agent Config Proxy - Proxy configuration.
- Skip
Secure boolVerify - Whether to skip TLS verification.
- collector
Image String - Docker image for the collector.
- datas
List<Get
Discovery Agent Config Data> - Data collection configuration.
- image
Pull List<String>Secrets - List of image pull secrets.
- kubernetes
List<Get
Discovery Agent Config Kubernete> - Kubernetes-specific configuration.
- log
Watcher StringImage - Docker image for the log watcher.
- mtls
List<Get
Discovery Agent Config Mtl> - mTLS configuration.
- proxies
List<Get
Discovery Agent Config Proxy> - Proxy configuration.
- skip
Secure BooleanVerify - Whether to skip TLS verification.
- collector
Image string - Docker image for the collector.
- datas
Get
Discovery Agent Config Data[] - Data collection configuration.
- image
Pull string[]Secrets - List of image pull secrets.
- kubernetes
Get
Discovery Agent Config Kubernete[] - Kubernetes-specific configuration.
- log
Watcher stringImage - Docker image for the log watcher.
- mtls
Get
Discovery Agent Config Mtl[] - mTLS configuration.
- proxies
Get
Discovery Agent Config Proxy[] - Proxy configuration.
- skip
Secure booleanVerify - Whether to skip TLS verification.
- collector_
image str - Docker image for the collector.
- datas
Sequence[Get
Discovery Agent Config Data] - Data collection configuration.
- image_
pull_ Sequence[str]secrets - List of image pull secrets.
- kubernetes
Sequence[Get
Discovery Agent Config Kubernete] - Kubernetes-specific configuration.
- log_
watcher_ strimage - Docker image for the log watcher.
- mtls
Sequence[Get
Discovery Agent Config Mtl] - mTLS configuration.
- proxies
Sequence[Get
Discovery Agent Config Proxy] - Proxy configuration.
- skip_
secure_ boolverify - Whether to skip TLS verification.
- collector
Image String - Docker image for the collector.
- datas List<Property Map>
- Data collection configuration.
- image
Pull List<String>Secrets - List of image pull secrets.
- kubernetes List<Property Map>
- Kubernetes-specific configuration.
- log
Watcher StringImage - Docker image for the log watcher.
- mtls List<Property Map>
- mTLS configuration.
- proxies List<Property Map>
- Proxy configuration.
- skip
Secure BooleanVerify - Whether to skip TLS verification.
GetDiscoveryAgentConfigData
- Blacklisted
Namespaces List<string> - List of namespaces to exclude from discovery.
- Collection
Window intIn Min - Collection window in minutes.
- Crons
List<Get
Discovery Agent Config Data Cron> - Cron schedule for data collection.
- Enable
Batch boolResources - Whether to enable batch resources.
- Enable
Node boolAgent - Whether to enable node agent.
- Enable
Orphaned boolPod - Whether to enable orphaned pod detection.
- Namespace
Selector string - Namespace selector for the agent.
- Node
Agent stringSelector - Node selector for the node agent.
- Observed
Namespaces List<string> - List of namespaces to observe.
- Blacklisted
Namespaces []string - List of namespaces to exclude from discovery.
- Collection
Window intIn Min - Collection window in minutes.
- Crons
[]Get
Discovery Agent Config Data Cron - Cron schedule for data collection.
- Enable
Batch boolResources - Whether to enable batch resources.
- Enable
Node boolAgent - Whether to enable node agent.
- Enable
Orphaned boolPod - Whether to enable orphaned pod detection.
- Namespace
Selector string - Namespace selector for the agent.
- Node
Agent stringSelector - Node selector for the node agent.
- Observed
Namespaces []string - List of namespaces to observe.
- blacklisted
Namespaces List<String> - List of namespaces to exclude from discovery.
- collection
Window IntegerIn Min - Collection window in minutes.
- crons
List<Get
Discovery Agent Config Data Cron> - Cron schedule for data collection.
- enable
Batch BooleanResources - Whether to enable batch resources.
- enable
Node BooleanAgent - Whether to enable node agent.
- enable
Orphaned BooleanPod - Whether to enable orphaned pod detection.
- namespace
Selector String - Namespace selector for the agent.
- node
Agent StringSelector - Node selector for the node agent.
- observed
Namespaces List<String> - List of namespaces to observe.
- blacklisted
Namespaces string[] - List of namespaces to exclude from discovery.
- collection
Window numberIn Min - Collection window in minutes.
- crons
Get
Discovery Agent Config Data Cron[] - Cron schedule for data collection.
- enable
Batch booleanResources - Whether to enable batch resources.
- enable
Node booleanAgent - Whether to enable node agent.
- enable
Orphaned booleanPod - Whether to enable orphaned pod detection.
- namespace
Selector string - Namespace selector for the agent.
- node
Agent stringSelector - Node selector for the node agent.
- observed
Namespaces string[] - List of namespaces to observe.
- blacklisted_
namespaces Sequence[str] - List of namespaces to exclude from discovery.
- collection_
window_ intin_ min - Collection window in minutes.
- crons
Sequence[Get
Discovery Agent Config Data Cron] - Cron schedule for data collection.
- enable_
batch_ boolresources - Whether to enable batch resources.
- enable_
node_ boolagent - Whether to enable node agent.
- enable_
orphaned_ boolpod - Whether to enable orphaned pod detection.
- namespace_
selector str - Namespace selector for the agent.
- node_
agent_ strselector - Node selector for the node agent.
- observed_
namespaces Sequence[str] - List of namespaces to observe.
- blacklisted
Namespaces List<String> - List of namespaces to exclude from discovery.
- collection
Window NumberIn Min - Collection window in minutes.
- crons List<Property Map>
- Cron schedule for data collection.
- enable
Batch BooleanResources - Whether to enable batch resources.
- enable
Node BooleanAgent - Whether to enable node agent.
- enable
Orphaned BooleanPod - Whether to enable orphaned pod detection.
- namespace
Selector String - Namespace selector for the agent.
- node
Agent StringSelector - Node selector for the node agent.
- observed
Namespaces List<String> - List of namespaces to observe.
GetDiscoveryAgentConfigDataCron
- Expression string
- Cron expression for scheduling.
- Expression string
- Cron expression for scheduling.
- expression String
- Cron expression for scheduling.
- expression string
- Cron expression for scheduling.
- expression str
- Cron expression for scheduling.
- expression String
- Cron expression for scheduling.
GetDiscoveryAgentConfigKubernete
- Annotations Dictionary<string, string>
- Annotations to add to all resources.
- Disable
Namespace boolCreation - Whether to disable namespace creation.
- Image
Pull stringPolicy - The image pull policy.
- Labels Dictionary<string, string>
- Labels to add to all resources.
- Namespace string
- Kubernetes namespace to use
- Namespaced bool
- Whether the agent is namespaced.
- Node
Selector Dictionary<string, string> - Node selector labels.
- Resources
List<Get
Discovery Agent Config Kubernete Resource> - Compute resource requirements for the agent container.
- Run
As intGroup - The group ID to run as.
- Run
As intUser - The user ID to run as.
- Service
Account string - Service account to use
- Tolerations
List<Get
Discovery Agent Config Kubernete Toleration> - Tolerations for pod assignment.
- Annotations map[string]string
- Annotations to add to all resources.
- Disable
Namespace boolCreation - Whether to disable namespace creation.
- Image
Pull stringPolicy - The image pull policy.
- Labels map[string]string
- Labels to add to all resources.
- Namespace string
- Kubernetes namespace to use
- Namespaced bool
- Whether the agent is namespaced.
- Node
Selector map[string]string - Node selector labels.
- Resources
[]Get
Discovery Agent Config Kubernete Resource - Compute resource requirements for the agent container.
- Run
As intGroup - The group ID to run as.
- Run
As intUser - The user ID to run as.
- Service
Account string - Service account to use
- Tolerations
[]Get
Discovery Agent Config Kubernete Toleration - Tolerations for pod assignment.
- annotations Map<String,String>
- Annotations to add to all resources.
- disable
Namespace BooleanCreation - Whether to disable namespace creation.
- image
Pull StringPolicy - The image pull policy.
- labels Map<String,String>
- Labels to add to all resources.
- namespace String
- Kubernetes namespace to use
- namespaced Boolean
- Whether the agent is namespaced.
- node
Selector Map<String,String> - Node selector labels.
- resources
List<Get
Discovery Agent Config Kubernete Resource> - Compute resource requirements for the agent container.
- run
As IntegerGroup - The group ID to run as.
- run
As IntegerUser - The user ID to run as.
- service
Account String - Service account to use
- tolerations
List<Get
Discovery Agent Config Kubernete Toleration> - Tolerations for pod assignment.
- annotations {[key: string]: string}
- Annotations to add to all resources.
- disable
Namespace booleanCreation - Whether to disable namespace creation.
- image
Pull stringPolicy - The image pull policy.
- labels {[key: string]: string}
- Labels to add to all resources.
- namespace string
- Kubernetes namespace to use
- namespaced boolean
- Whether the agent is namespaced.
- node
Selector {[key: string]: string} - Node selector labels.
- resources
Get
Discovery Agent Config Kubernete Resource[] - Compute resource requirements for the agent container.
- run
As numberGroup - The group ID to run as.
- run
As numberUser - The user ID to run as.
- service
Account string - Service account to use
- tolerations
Get
Discovery Agent Config Kubernete Toleration[] - Tolerations for pod assignment.
- annotations Mapping[str, str]
- Annotations to add to all resources.
- disable_
namespace_ boolcreation - Whether to disable namespace creation.
- image_
pull_ strpolicy - The image pull policy.
- labels Mapping[str, str]
- Labels to add to all resources.
- namespace str
- Kubernetes namespace to use
- namespaced bool
- Whether the agent is namespaced.
- node_
selector Mapping[str, str] - Node selector labels.
- resources
Sequence[Get
Discovery Agent Config Kubernete Resource] - Compute resource requirements for the agent container.
- run_
as_ intgroup - The group ID to run as.
- run_
as_ intuser - The user ID to run as.
- service_
account str - Service account to use
- tolerations
Sequence[Get
Discovery Agent Config Kubernete Toleration] - Tolerations for pod assignment.
- annotations Map<String>
- Annotations to add to all resources.
- disable
Namespace BooleanCreation - Whether to disable namespace creation.
- image
Pull StringPolicy - The image pull policy.
- labels Map<String>
- Labels to add to all resources.
- namespace String
- Kubernetes namespace to use
- namespaced Boolean
- Whether the agent is namespaced.
- node
Selector Map<String> - Node selector labels.
- resources List<Property Map>
- Compute resource requirements for the agent container.
- run
As NumberGroup - The group ID to run as.
- run
As NumberUser - The user ID to run as.
- service
Account String - Service account to use
- tolerations List<Property Map>
- Tolerations for pod assignment.
GetDiscoveryAgentConfigKuberneteResource
- Limits
List<Get
Discovery Agent Config Kubernete Resource Limit> - Maximum amount of compute resources allowed.
- Requests
List<Get
Discovery Agent Config Kubernete Resource Request> - Minimum amount of compute resources required.
- Limits
[]Get
Discovery Agent Config Kubernete Resource Limit - Maximum amount of compute resources allowed.
- Requests
[]Get
Discovery Agent Config Kubernete Resource Request - Minimum amount of compute resources required.
- limits
List<Get
Discovery Agent Config Kubernete Resource Limit> - Maximum amount of compute resources allowed.
- requests
List<Get
Discovery Agent Config Kubernete Resource Request> - Minimum amount of compute resources required.
- limits
Get
Discovery Agent Config Kubernete Resource Limit[] - Maximum amount of compute resources allowed.
- requests
Get
Discovery Agent Config Kubernete Resource Request[] - Minimum amount of compute resources required.
- limits
Sequence[Get
Discovery Agent Config Kubernete Resource Limit] - Maximum amount of compute resources allowed.
- requests
Sequence[Get
Discovery Agent Config Kubernete Resource Request] - Minimum amount of compute resources required.
- limits List<Property Map>
- Maximum amount of compute resources allowed.
- requests List<Property Map>
- Minimum amount of compute resources required.
GetDiscoveryAgentConfigKuberneteResourceLimit
GetDiscoveryAgentConfigKuberneteResourceRequest
GetDiscoveryAgentConfigKuberneteToleration
- Effect string
- Effect indicates the taint effect to match.
- Key string
- The taint key that the toleration applies to.
- Operator string
- Operator represents a key's relationship to the value.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration tolerates the taint.
- Value string
- The taint value the toleration matches to.
- Effect string
- Effect indicates the taint effect to match.
- Key string
- The taint key that the toleration applies to.
- Operator string
- Operator represents a key's relationship to the value.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration tolerates the taint.
- Value string
- The taint value the toleration matches to.
- effect String
- Effect indicates the taint effect to match.
- key String
- The taint key that the toleration applies to.
- operator String
- Operator represents a key's relationship to the value.
- toleration
Seconds Integer - TolerationSeconds represents the period of time the toleration tolerates the taint.
- value String
- The taint value the toleration matches to.
- effect string
- Effect indicates the taint effect to match.
- key string
- The taint key that the toleration applies to.
- operator string
- Operator represents a key's relationship to the value.
- toleration
Seconds number - TolerationSeconds represents the period of time the toleration tolerates the taint.
- value string
- The taint value the toleration matches to.
- effect str
- Effect indicates the taint effect to match.
- key str
- The taint key that the toleration applies to.
- operator str
- Operator represents a key's relationship to the value.
- toleration_
seconds int - TolerationSeconds represents the period of time the toleration tolerates the taint.
- value str
- The taint value the toleration matches to.
- effect String
- Effect indicates the taint effect to match.
- key String
- The taint key that the toleration applies to.
- operator String
- Operator represents a key's relationship to the value.
- toleration
Seconds Number - TolerationSeconds represents the period of time the toleration tolerates the taint.
- value String
- The taint value the toleration matches to.
GetDiscoveryAgentConfigMtl
- Cert
Path string - Path to the certificate file.
- Key
Path string - Path to the key file.
- Secret
Name string - Name of the Kubernetes secret containing the certificate and key.
- Url string
- URL of the mTLS server.
- Cert
Path string - Path to the certificate file.
- Key
Path string - Path to the key file.
- Secret
Name string - Name of the Kubernetes secret containing the certificate and key.
- Url string
- URL of the mTLS server.
- cert
Path String - Path to the certificate file.
- key
Path String - Path to the key file.
- secret
Name String - Name of the Kubernetes secret containing the certificate and key.
- url String
- URL of the mTLS server.
- cert
Path string - Path to the certificate file.
- key
Path string - Path to the key file.
- secret
Name string - Name of the Kubernetes secret containing the certificate and key.
- url string
- URL of the mTLS server.
- cert_
path str - Path to the certificate file.
- key_
path str - Path to the key file.
- secret_
name str - Name of the Kubernetes secret containing the certificate and key.
- url str
- URL of the mTLS server.
- cert
Path String - Path to the certificate file.
- key
Path String - Path to the key file.
- secret
Name String - Name of the Kubernetes secret containing the certificate and key.
- url String
- URL of the mTLS server.
GetDiscoveryAgentConfigProxy
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - Comma-separated list of hosts that should not use the proxy.
- Url string
- Proxy server URL.
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - Comma-separated list of hosts that should not use the proxy.
- Url string
- Proxy server URL.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy String - Comma-separated list of hosts that should not use the proxy.
- url String
- Proxy server URL.
- http
Proxy string - HTTP proxy URL.
- https
Proxy string - HTTPS proxy URL.
- no
Proxy string - Comma-separated list of hosts that should not use the proxy.
- url string
- Proxy server URL.
- http_
proxy str - HTTP proxy URL.
- https_
proxy str - HTTPS proxy URL.
- no_
proxy str - Comma-separated list of hosts that should not use the proxy.
- url str
- Proxy server URL.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy String - Comma-separated list of hosts that should not use the proxy.
- url String
- Proxy server URL.
GetDiscoveryAgentInstallationDetail
- Account
Identifier string - Account identifier of the installation.
- Agent
Details List<GetDiscovery Agent Installation Detail Agent Detail> - Details about the agent installation.
- Agent
Id string - ID of the agent.
- Created
At string - When the installation was created.
- Created
By string - Who created the installation.
- Delegate
Id string - ID of the delegate.
- Delegate
Task stringId - ID of the delegate task.
- Delegate
Task stringStatus - Status of the delegate task.
- Environment
Identifier string - Environment identifier of the installation.
- Id string
- Installation ID.
- Is
Cron boolTriggered - Whether the installation was triggered by a cron job.
- Log
Stream stringCreated At - When the log stream was created.
- Log
Stream stringId - ID of the log stream.
- Org
Identifier string - Organization identifier of the installation.
- Project
Identifier string - Project identifier of the installation.
- Removed bool
- Whether the installation has been removed.
- Removed
At string - When the installation was removed.
- Stopped bool
- Whether the installation has been stopped.
- Updated
At string - When the installation was last updated.
- Updated
By string - Who last updated the installation.
- Account
Identifier string - Account identifier of the installation.
- Agent
Details []GetDiscovery Agent Installation Detail Agent Detail - Details about the agent installation.
- Agent
Id string - ID of the agent.
- Created
At string - When the installation was created.
- Created
By string - Who created the installation.
- Delegate
Id string - ID of the delegate.
- Delegate
Task stringId - ID of the delegate task.
- Delegate
Task stringStatus - Status of the delegate task.
- Environment
Identifier string - Environment identifier of the installation.
- Id string
- Installation ID.
- Is
Cron boolTriggered - Whether the installation was triggered by a cron job.
- Log
Stream stringCreated At - When the log stream was created.
- Log
Stream stringId - ID of the log stream.
- Org
Identifier string - Organization identifier of the installation.
- Project
Identifier string - Project identifier of the installation.
- Removed bool
- Whether the installation has been removed.
- Removed
At string - When the installation was removed.
- Stopped bool
- Whether the installation has been stopped.
- Updated
At string - When the installation was last updated.
- Updated
By string - Who last updated the installation.
- account
Identifier String - Account identifier of the installation.
- agent
Details List<GetDiscovery Agent Installation Detail Agent Detail> - Details about the agent installation.
- agent
Id String - ID of the agent.
- created
At String - When the installation was created.
- created
By String - Who created the installation.
- delegate
Id String - ID of the delegate.
- delegate
Task StringId - ID of the delegate task.
- delegate
Task StringStatus - Status of the delegate task.
- environment
Identifier String - Environment identifier of the installation.
- id String
- Installation ID.
- is
Cron BooleanTriggered - Whether the installation was triggered by a cron job.
- log
Stream StringCreated At - When the log stream was created.
- log
Stream StringId - ID of the log stream.
- org
Identifier String - Organization identifier of the installation.
- project
Identifier String - Project identifier of the installation.
- removed Boolean
- Whether the installation has been removed.
- removed
At String - When the installation was removed.
- stopped Boolean
- Whether the installation has been stopped.
- updated
At String - When the installation was last updated.
- updated
By String - Who last updated the installation.
- account
Identifier string - Account identifier of the installation.
- agent
Details GetDiscovery Agent Installation Detail Agent Detail[] - Details about the agent installation.
- agent
Id string - ID of the agent.
- created
At string - When the installation was created.
- created
By string - Who created the installation.
- delegate
Id string - ID of the delegate.
- delegate
Task stringId - ID of the delegate task.
- delegate
Task stringStatus - Status of the delegate task.
- environment
Identifier string - Environment identifier of the installation.
- id string
- Installation ID.
- is
Cron booleanTriggered - Whether the installation was triggered by a cron job.
- log
Stream stringCreated At - When the log stream was created.
- log
Stream stringId - ID of the log stream.
- org
Identifier string - Organization identifier of the installation.
- project
Identifier string - Project identifier of the installation.
- removed boolean
- Whether the installation has been removed.
- removed
At string - When the installation was removed.
- stopped boolean
- Whether the installation has been stopped.
- updated
At string - When the installation was last updated.
- updated
By string - Who last updated the installation.
- account_
identifier str - Account identifier of the installation.
- agent_
details Sequence[GetDiscovery Agent Installation Detail Agent Detail] - Details about the agent installation.
- agent_
id str - ID of the agent.
- created_
at str - When the installation was created.
- created_
by str - Who created the installation.
- delegate_
id str - ID of the delegate.
- delegate_
task_ strid - ID of the delegate task.
- delegate_
task_ strstatus - Status of the delegate task.
- environment_
identifier str - Environment identifier of the installation.
- id str
- Installation ID.
- is_
cron_ booltriggered - Whether the installation was triggered by a cron job.
- log_
stream_ strcreated_ at - When the log stream was created.
- log_
stream_ strid - ID of the log stream.
- org_
identifier str - Organization identifier of the installation.
- project_
identifier str - Project identifier of the installation.
- removed bool
- Whether the installation has been removed.
- removed_
at str - When the installation was removed.
- stopped bool
- Whether the installation has been stopped.
- updated_
at str - When the installation was last updated.
- updated_
by str - Who last updated the installation.
- account
Identifier String - Account identifier of the installation.
- agent
Details List<Property Map> - Details about the agent installation.
- agent
Id String - ID of the agent.
- created
At String - When the installation was created.
- created
By String - Who created the installation.
- delegate
Id String - ID of the delegate.
- delegate
Task StringId - ID of the delegate task.
- delegate
Task StringStatus - Status of the delegate task.
- environment
Identifier String - Environment identifier of the installation.
- id String
- Installation ID.
- is
Cron BooleanTriggered - Whether the installation was triggered by a cron job.
- log
Stream StringCreated At - When the log stream was created.
- log
Stream StringId - ID of the log stream.
- org
Identifier String - Organization identifier of the installation.
- project
Identifier String - Project identifier of the installation.
- removed Boolean
- Whether the installation has been removed.
- removed
At String - When the installation was removed.
- stopped Boolean
- Whether the installation has been stopped.
- updated
At String - When the installation was last updated.
- updated
By String - Who last updated the installation.
GetDiscoveryAgentInstallationDetailAgentDetail
- Clusters
List<Get
Discovery Agent Installation Detail Agent Detail Cluster> - Cluster information.
- Nodes
List<Get
Discovery Agent Installation Detail Agent Detail Node> - List of nodes in the cluster.
- Status string
- Status of the agent.
- Clusters
[]Get
Discovery Agent Installation Detail Agent Detail Cluster - Cluster information.
- Nodes
[]Get
Discovery Agent Installation Detail Agent Detail Node - List of nodes in the cluster.
- Status string
- Status of the agent.
- clusters
List<Get
Discovery Agent Installation Detail Agent Detail Cluster> - Cluster information.
- nodes
List<Get
Discovery Agent Installation Detail Agent Detail Node> - List of nodes in the cluster.
- status String
- Status of the agent.
- clusters
Get
Discovery Agent Installation Detail Agent Detail Cluster[] - Cluster information.
- nodes
Get
Discovery Agent Installation Detail Agent Detail Node[] - List of nodes in the cluster.
- status string
- Status of the agent.
- clusters
Sequence[Get
Discovery Agent Installation Detail Agent Detail Cluster] - Cluster information.
- nodes
Sequence[Get
Discovery Agent Installation Detail Agent Detail Node] - List of nodes in the cluster.
- status str
- Status of the agent.
- clusters List<Property Map>
- Cluster information.
- nodes List<Property Map>
- List of nodes in the cluster.
- status String
- Status of the agent.
GetDiscoveryAgentInstallationDetailAgentDetailCluster
GetDiscoveryAgentInstallationDetailAgentDetailNode
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
