Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi
harness.chaos.getInfrastructureV2
Explore with Pulumi AI
Data source for retrieving a Harness Chaos Infrastructure V2.
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 getInfrastructureV2
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 getInfrastructureV2(args: GetInfrastructureV2Args, opts?: InvokeOptions): Promise<GetInfrastructureV2Result>
function getInfrastructureV2Output(args: GetInfrastructureV2OutputArgs, opts?: InvokeOptions): Output<GetInfrastructureV2Result>
def get_infrastructure_v2(environment_id: Optional[str] = None,
image_registries: Optional[Sequence[GetInfrastructureV2ImageRegistry]] = None,
infra_id: Optional[str] = None,
mtls: Optional[GetInfrastructureV2Mtls] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
proxy: Optional[GetInfrastructureV2Proxy] = None,
tolerations: Optional[Sequence[GetInfrastructureV2Toleration]] = None,
volume_mounts: Optional[Sequence[GetInfrastructureV2VolumeMount]] = None,
volumes: Optional[Sequence[GetInfrastructureV2Volume]] = None,
opts: Optional[InvokeOptions] = None) -> GetInfrastructureV2Result
def get_infrastructure_v2_output(environment_id: Optional[pulumi.Input[str]] = None,
image_registries: Optional[pulumi.Input[Sequence[pulumi.Input[GetInfrastructureV2ImageRegistryArgs]]]] = None,
infra_id: Optional[pulumi.Input[str]] = None,
mtls: Optional[pulumi.Input[GetInfrastructureV2MtlsArgs]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
proxy: Optional[pulumi.Input[GetInfrastructureV2ProxyArgs]] = None,
tolerations: Optional[pulumi.Input[Sequence[pulumi.Input[GetInfrastructureV2TolerationArgs]]]] = None,
volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input[GetInfrastructureV2VolumeMountArgs]]]] = None,
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[GetInfrastructureV2VolumeArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInfrastructureV2Result]
func LookupInfrastructureV2(ctx *Context, args *LookupInfrastructureV2Args, opts ...InvokeOption) (*LookupInfrastructureV2Result, error)
func LookupInfrastructureV2Output(ctx *Context, args *LookupInfrastructureV2OutputArgs, opts ...InvokeOption) LookupInfrastructureV2ResultOutput
> Note: This function is named LookupInfrastructureV2
in the Go SDK.
public static class GetInfrastructureV2
{
public static Task<GetInfrastructureV2Result> InvokeAsync(GetInfrastructureV2Args args, InvokeOptions? opts = null)
public static Output<GetInfrastructureV2Result> Invoke(GetInfrastructureV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInfrastructureV2Result> getInfrastructureV2(GetInfrastructureV2Args args, InvokeOptions options)
public static Output<GetInfrastructureV2Result> getInfrastructureV2(GetInfrastructureV2Args args, InvokeOptions options)
fn::invoke:
function: harness:chaos/getInfrastructureV2:getInfrastructureV2
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - The ID of the environment.
- Infra
Id string - The ID of the infrastructure.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Image
Registries List<GetInfrastructure V2Image Registry> - Configuration for the container image registry.
- Mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- Proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- Tolerations
List<Get
Infrastructure V2Toleration> - If specified, the pod's tolerations.
- Volume
Mounts List<GetInfrastructure V2Volume Mount> - Volume mounts for the container.
- Volumes
List<Get
Infrastructure V2Volume> - Volumes to be created in the infrastructure.
- Environment
Id string - The ID of the environment.
- Infra
Id string - The ID of the infrastructure.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Image
Registries []GetInfrastructure V2Image Registry - Configuration for the container image registry.
- Mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- Proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- Tolerations
[]Get
Infrastructure V2Toleration - If specified, the pod's tolerations.
- Volume
Mounts []GetInfrastructure V2Volume Mount - Volume mounts for the container.
- Volumes
[]Get
Infrastructure V2Volume - Volumes to be created in the infrastructure.
- environment
Id String - The ID of the environment.
- infra
Id String - The ID of the infrastructure.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- image
Registries List<GetInfrastructure V2Image Registry> - Configuration for the container image registry.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
List<Get
Infrastructure V2Toleration> - If specified, the pod's tolerations.
- volume
Mounts List<GetInfrastructure V2Volume Mount> - Volume mounts for the container.
- volumes
List<Get
Infrastructure V2Volume> - Volumes to be created in the infrastructure.
- environment
Id string - The ID of the environment.
- infra
Id string - The ID of the infrastructure.
- org
Id string - The ID of the organization.
- project
Id string - The ID of the project.
- image
Registries GetInfrastructure V2Image Registry[] - Configuration for the container image registry.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
Get
Infrastructure V2Toleration[] - If specified, the pod's tolerations.
- volume
Mounts GetInfrastructure V2Volume Mount[] - Volume mounts for the container.
- volumes
Get
Infrastructure V2Volume[] - Volumes to be created in the infrastructure.
- environment_
id str - The ID of the environment.
- infra_
id str - The ID of the infrastructure.
- org_
id str - The ID of the organization.
- project_
id str - The ID of the project.
- image_
registries Sequence[GetInfrastructure V2Image Registry] - Configuration for the container image registry.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
Sequence[Get
Infrastructure V2Toleration] - If specified, the pod's tolerations.
- volume_
mounts Sequence[GetInfrastructure V2Volume Mount] - Volume mounts for the container.
- volumes
Sequence[Get
Infrastructure V2Volume] - Volumes to be created in the infrastructure.
- environment
Id String - The ID of the environment.
- infra
Id String - The ID of the infrastructure.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- image
Registries List<Property Map> - Configuration for the container image registry.
- mtls Property Map
- mTLS configuration for the infrastructure.
- proxy Property Map
- Proxy configuration for the infrastructure.
- tolerations List<Property Map>
- If specified, the pod's tolerations.
- volume
Mounts List<Property Map> - Volume mounts for the container.
- volumes List<Property Map>
- Volumes to be created in the infrastructure.
getInfrastructureV2 Result
The following output properties are available:
- Annotation Dictionary<string, string>
- Containers string
- List of containers in the infrastructure.
- Created
At string - Created at of the infrastructure.
- Created
By string - Created by of the infrastructure.
- Description string
- Description of the infrastructure.
- Environment
Id string - The ID of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the infrastructure.
- Identity string
- Identity of the infrastructure.
- Image
Registries List<GetInfrastructure V2Image Registry> - Configuration for the container image registry.
- Infra
Id string - The ID of the infrastructure.
- Infra
Scope string - Scope of the infrastructure.
- Infra
Type string - Type of the infrastructure.
- Insecure
Skip boolVerify - Is
Ai boolEnabled - Is
Chaos boolEnabled - Label Dictionary<string, string>
- Last
Heartbeat int - Last heartbeat of the infrastructure.
- Last
Workflow stringTimestamp - Last workflow timestamp of the infrastructure.
- Name string
- Name of the infrastructure.
- Namespace string
- Kubernetes namespace for the infrastructure.
- No
Of intSchedules - Number of schedules for the infrastructure.
- No
Of intWorkflows - Number of workflows for the infrastructure.
- Node
Selector Dictionary<string, string> - Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Run
As intGroup - Run
As intUser - Service
Account string - Service account used by the infrastructure.
- Status string
- Status of the infrastructure.
- List<string>
- Tags of the infrastructure.
- Update
Status string - Update status of the infrastructure.
- Updated
At string - Updated at of the infrastructure.
- Updated
By string - Updated by of the infrastructure.
- Mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- Proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- Tolerations
List<Get
Infrastructure V2Toleration> - If specified, the pod's tolerations.
- Volume
Mounts List<GetInfrastructure V2Volume Mount> - Volume mounts for the container.
- Volumes
List<Get
Infrastructure V2Volume> - Volumes to be created in the infrastructure.
- Annotation map[string]string
- Containers string
- List of containers in the infrastructure.
- Created
At string - Created at of the infrastructure.
- Created
By string - Created by of the infrastructure.
- Description string
- Description of the infrastructure.
- Environment
Id string - The ID of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the infrastructure.
- Identity string
- Identity of the infrastructure.
- Image
Registries []GetInfrastructure V2Image Registry - Configuration for the container image registry.
- Infra
Id string - The ID of the infrastructure.
- Infra
Scope string - Scope of the infrastructure.
- Infra
Type string - Type of the infrastructure.
- Insecure
Skip boolVerify - Is
Ai boolEnabled - Is
Chaos boolEnabled - Label map[string]string
- Last
Heartbeat int - Last heartbeat of the infrastructure.
- Last
Workflow stringTimestamp - Last workflow timestamp of the infrastructure.
- Name string
- Name of the infrastructure.
- Namespace string
- Kubernetes namespace for the infrastructure.
- No
Of intSchedules - Number of schedules for the infrastructure.
- No
Of intWorkflows - Number of workflows for the infrastructure.
- Node
Selector map[string]string - Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Run
As intGroup - Run
As intUser - Service
Account string - Service account used by the infrastructure.
- Status string
- Status of the infrastructure.
- []string
- Tags of the infrastructure.
- Update
Status string - Update status of the infrastructure.
- Updated
At string - Updated at of the infrastructure.
- Updated
By string - Updated by of the infrastructure.
- Mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- Proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- Tolerations
[]Get
Infrastructure V2Toleration - If specified, the pod's tolerations.
- Volume
Mounts []GetInfrastructure V2Volume Mount - Volume mounts for the container.
- Volumes
[]Get
Infrastructure V2Volume - Volumes to be created in the infrastructure.
- annotation Map<String,String>
- containers String
- List of containers in the infrastructure.
- created
At String - Created at of the infrastructure.
- created
By String - Created by of the infrastructure.
- description String
- Description of the infrastructure.
- environment
Id String - The ID of the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the infrastructure.
- identity String
- Identity of the infrastructure.
- image
Registries List<GetInfrastructure V2Image Registry> - Configuration for the container image registry.
- infra
Id String - The ID of the infrastructure.
- infra
Scope String - Scope of the infrastructure.
- infra
Type String - Type of the infrastructure.
- insecure
Skip BooleanVerify - is
Ai BooleanEnabled - is
Chaos BooleanEnabled - label Map<String,String>
- last
Heartbeat Integer - Last heartbeat of the infrastructure.
- last
Workflow StringTimestamp - Last workflow timestamp of the infrastructure.
- name String
- Name of the infrastructure.
- namespace String
- Kubernetes namespace for the infrastructure.
- no
Of IntegerSchedules - Number of schedules for the infrastructure.
- no
Of IntegerWorkflows - Number of workflows for the infrastructure.
- node
Selector Map<String,String> - org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- run
As IntegerGroup - run
As IntegerUser - service
Account String - Service account used by the infrastructure.
- status String
- Status of the infrastructure.
- List<String>
- Tags of the infrastructure.
- update
Status String - Update status of the infrastructure.
- updated
At String - Updated at of the infrastructure.
- updated
By String - Updated by of the infrastructure.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
List<Get
Infrastructure V2Toleration> - If specified, the pod's tolerations.
- volume
Mounts List<GetInfrastructure V2Volume Mount> - Volume mounts for the container.
- volumes
List<Get
Infrastructure V2Volume> - Volumes to be created in the infrastructure.
- annotation {[key: string]: string}
- containers string
- List of containers in the infrastructure.
- created
At string - Created at of the infrastructure.
- created
By string - Created by of the infrastructure.
- description string
- Description of the infrastructure.
- environment
Id string - The ID of the environment.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Identifier of the infrastructure.
- identity string
- Identity of the infrastructure.
- image
Registries GetInfrastructure V2Image Registry[] - Configuration for the container image registry.
- infra
Id string - The ID of the infrastructure.
- infra
Scope string - Scope of the infrastructure.
- infra
Type string - Type of the infrastructure.
- insecure
Skip booleanVerify - is
Ai booleanEnabled - is
Chaos booleanEnabled - label {[key: string]: string}
- last
Heartbeat number - Last heartbeat of the infrastructure.
- last
Workflow stringTimestamp - Last workflow timestamp of the infrastructure.
- name string
- Name of the infrastructure.
- namespace string
- Kubernetes namespace for the infrastructure.
- no
Of numberSchedules - Number of schedules for the infrastructure.
- no
Of numberWorkflows - Number of workflows for the infrastructure.
- node
Selector {[key: string]: string} - org
Id string - The ID of the organization.
- project
Id string - The ID of the project.
- run
As numberGroup - run
As numberUser - service
Account string - Service account used by the infrastructure.
- status string
- Status of the infrastructure.
- string[]
- Tags of the infrastructure.
- update
Status string - Update status of the infrastructure.
- updated
At string - Updated at of the infrastructure.
- updated
By string - Updated by of the infrastructure.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
Get
Infrastructure V2Toleration[] - If specified, the pod's tolerations.
- volume
Mounts GetInfrastructure V2Volume Mount[] - Volume mounts for the container.
- volumes
Get
Infrastructure V2Volume[] - Volumes to be created in the infrastructure.
- annotation Mapping[str, str]
- containers str
- List of containers in the infrastructure.
- created_
at str - Created at of the infrastructure.
- created_
by str - Created by of the infrastructure.
- description str
- Description of the infrastructure.
- environment_
id str - The ID of the environment.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Identifier of the infrastructure.
- identity str
- Identity of the infrastructure.
- image_
registries Sequence[GetInfrastructure V2Image Registry] - Configuration for the container image registry.
- infra_
id str - The ID of the infrastructure.
- infra_
scope str - Scope of the infrastructure.
- infra_
type str - Type of the infrastructure.
- insecure_
skip_ boolverify - is_
ai_ boolenabled - is_
chaos_ boolenabled - label Mapping[str, str]
- last_
heartbeat int - Last heartbeat of the infrastructure.
- last_
workflow_ strtimestamp - Last workflow timestamp of the infrastructure.
- name str
- Name of the infrastructure.
- namespace str
- Kubernetes namespace for the infrastructure.
- no_
of_ intschedules - Number of schedules for the infrastructure.
- no_
of_ intworkflows - Number of workflows for the infrastructure.
- node_
selector Mapping[str, str] - org_
id str - The ID of the organization.
- project_
id str - The ID of the project.
- run_
as_ intgroup - run_
as_ intuser - service_
account str - Service account used by the infrastructure.
- status str
- Status of the infrastructure.
- Sequence[str]
- Tags of the infrastructure.
- update_
status str - Update status of the infrastructure.
- updated_
at str - Updated at of the infrastructure.
- updated_
by str - Updated by of the infrastructure.
- mtls
Get
Infrastructure V2Mtls - mTLS configuration for the infrastructure.
- proxy
Get
Infrastructure V2Proxy - Proxy configuration for the infrastructure.
- tolerations
Sequence[Get
Infrastructure V2Toleration] - If specified, the pod's tolerations.
- volume_
mounts Sequence[GetInfrastructure V2Volume Mount] - Volume mounts for the container.
- volumes
Sequence[Get
Infrastructure V2Volume] - Volumes to be created in the infrastructure.
- annotation Map<String>
- containers String
- List of containers in the infrastructure.
- created
At String - Created at of the infrastructure.
- created
By String - Created by of the infrastructure.
- description String
- Description of the infrastructure.
- environment
Id String - The ID of the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the infrastructure.
- identity String
- Identity of the infrastructure.
- image
Registries List<Property Map> - Configuration for the container image registry.
- infra
Id String - The ID of the infrastructure.
- infra
Scope String - Scope of the infrastructure.
- infra
Type String - Type of the infrastructure.
- insecure
Skip BooleanVerify - is
Ai BooleanEnabled - is
Chaos BooleanEnabled - label Map<String>
- last
Heartbeat Number - Last heartbeat of the infrastructure.
- last
Workflow StringTimestamp - Last workflow timestamp of the infrastructure.
- name String
- Name of the infrastructure.
- namespace String
- Kubernetes namespace for the infrastructure.
- no
Of NumberSchedules - Number of schedules for the infrastructure.
- no
Of NumberWorkflows - Number of workflows for the infrastructure.
- node
Selector Map<String> - org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- run
As NumberGroup - run
As NumberUser - service
Account String - Service account used by the infrastructure.
- status String
- Status of the infrastructure.
- List<String>
- Tags of the infrastructure.
- update
Status String - Update status of the infrastructure.
- updated
At String - Updated at of the infrastructure.
- updated
By String - Updated by of the infrastructure.
- mtls Property Map
- mTLS configuration for the infrastructure.
- proxy Property Map
- Proxy configuration for the infrastructure.
- tolerations List<Property Map>
- If specified, the pod's tolerations.
- volume
Mounts List<Property Map> - Volume mounts for the container.
- volumes List<Property Map>
- Volumes to be created in the infrastructure.
Supporting Types
GetInfrastructureV2ImageRegistry
- Created
At string - Timestamp when the registry was created.
- Custom
Images List<GetInfrastructure V2Image Registry Custom Image> - Custom image configurations. Required when usecustomimages is true.
- Identifiers
List<Get
Infrastructure V2Image Registry Identifier> - Scoped identifiers for the registry.
- Infra
Id string - ID of the infrastructure.
- Is
Default bool - Whether this is the default registry.
- Is
Override boolAllowed - Whether override is allowed for this registry.
- Is
Private bool - Whether the registry is private.
- Registry
Account string - The account name for the container registry.
- Registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- Updated
At string - Timestamp when the registry was last updated.
- Use
Custom boolImages - Whether to use custom images instead of default ones.
- Secret
Name string - Name of the Kubernetes secret containing registry credentials.
- Created
At string - Timestamp when the registry was created.
- Custom
Images []GetInfrastructure V2Image Registry Custom Image - Custom image configurations. Required when usecustomimages is true.
- Identifiers
[]Get
Infrastructure V2Image Registry Identifier - Scoped identifiers for the registry.
- Infra
Id string - ID of the infrastructure.
- Is
Default bool - Whether this is the default registry.
- Is
Override boolAllowed - Whether override is allowed for this registry.
- Is
Private bool - Whether the registry is private.
- Registry
Account string - The account name for the container registry.
- Registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- Updated
At string - Timestamp when the registry was last updated.
- Use
Custom boolImages - Whether to use custom images instead of default ones.
- Secret
Name string - Name of the Kubernetes secret containing registry credentials.
- created
At String - Timestamp when the registry was created.
- custom
Images List<GetInfrastructure V2Image Registry Custom Image> - Custom image configurations. Required when usecustomimages is true.
- identifiers
List<Get
Infrastructure V2Image Registry Identifier> - Scoped identifiers for the registry.
- infra
Id String - ID of the infrastructure.
- is
Default Boolean - Whether this is the default registry.
- is
Override BooleanAllowed - Whether override is allowed for this registry.
- is
Private Boolean - Whether the registry is private.
- registry
Account String - The account name for the container registry.
- registry
Server String - The container image registry server URL (e.g., docker.io, gcr.io).
- updated
At String - Timestamp when the registry was last updated.
- use
Custom BooleanImages - Whether to use custom images instead of default ones.
- secret
Name String - Name of the Kubernetes secret containing registry credentials.
- created
At string - Timestamp when the registry was created.
- custom
Images GetInfrastructure V2Image Registry Custom Image[] - Custom image configurations. Required when usecustomimages is true.
- identifiers
Get
Infrastructure V2Image Registry Identifier[] - Scoped identifiers for the registry.
- infra
Id string - ID of the infrastructure.
- is
Default boolean - Whether this is the default registry.
- is
Override booleanAllowed - Whether override is allowed for this registry.
- is
Private boolean - Whether the registry is private.
- registry
Account string - The account name for the container registry.
- registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- updated
At string - Timestamp when the registry was last updated.
- use
Custom booleanImages - Whether to use custom images instead of default ones.
- secret
Name string - Name of the Kubernetes secret containing registry credentials.
- created_
at str - Timestamp when the registry was created.
- custom_
images Sequence[GetInfrastructure V2Image Registry Custom Image] - Custom image configurations. Required when usecustomimages is true.
- identifiers
Sequence[Get
Infrastructure V2Image Registry Identifier] - Scoped identifiers for the registry.
- infra_
id str - ID of the infrastructure.
- is_
default bool - Whether this is the default registry.
- is_
override_ boolallowed - Whether override is allowed for this registry.
- is_
private bool - Whether the registry is private.
- registry_
account str - The account name for the container registry.
- registry_
server str - The container image registry server URL (e.g., docker.io, gcr.io).
- updated_
at str - Timestamp when the registry was last updated.
- use_
custom_ boolimages - Whether to use custom images instead of default ones.
- secret_
name str - Name of the Kubernetes secret containing registry credentials.
- created
At String - Timestamp when the registry was created.
- custom
Images List<Property Map> - Custom image configurations. Required when usecustomimages is true.
- identifiers List<Property Map>
- Scoped identifiers for the registry.
- infra
Id String - ID of the infrastructure.
- is
Default Boolean - Whether this is the default registry.
- is
Override BooleanAllowed - Whether override is allowed for this registry.
- is
Private Boolean - Whether the registry is private.
- registry
Account String - The account name for the container registry.
- registry
Server String - The container image registry server URL (e.g., docker.io, gcr.io).
- updated
At String - Timestamp when the registry was last updated.
- use
Custom BooleanImages - Whether to use custom images instead of default ones.
- secret
Name String - Name of the Kubernetes secret containing registry credentials.
GetInfrastructureV2ImageRegistryCustomImage
- Ddcr string
- Custom image for ddcr.
- Ddcr
Fault string - Custom image for ddcr-fault.
- Ddcr
Lib string - Custom image for ddcr-lib.
- Log
Watcher string - Custom image for log-watcher.
- Ddcr string
- Custom image for ddcr.
- Ddcr
Fault string - Custom image for ddcr-fault.
- Ddcr
Lib string - Custom image for ddcr-lib.
- Log
Watcher string - Custom image for log-watcher.
- ddcr String
- Custom image for ddcr.
- ddcr
Fault String - Custom image for ddcr-fault.
- ddcr
Lib String - Custom image for ddcr-lib.
- log
Watcher String - Custom image for log-watcher.
- ddcr string
- Custom image for ddcr.
- ddcr
Fault string - Custom image for ddcr-fault.
- ddcr
Lib string - Custom image for ddcr-lib.
- log
Watcher string - Custom image for log-watcher.
- ddcr str
- Custom image for ddcr.
- ddcr_
fault str - Custom image for ddcr-fault.
- ddcr_
lib str - Custom image for ddcr-lib.
- log_
watcher str - Custom image for log-watcher.
- ddcr String
- Custom image for ddcr.
- ddcr
Fault String - Custom image for ddcr-fault.
- ddcr
Lib String - Custom image for ddcr-lib.
- log
Watcher String - Custom image for log-watcher.
GetInfrastructureV2ImageRegistryIdentifier
- Account
Identifier string - Harness account identifier.
- Org
Identifier string - Harness organization identifier.
- Project
Identifier string - Harness project identifier.
- Account
Identifier string - Harness account identifier.
- Org
Identifier string - Harness organization identifier.
- Project
Identifier string - Harness project identifier.
- account
Identifier String - Harness account identifier.
- org
Identifier String - Harness organization identifier.
- project
Identifier String - Harness project identifier.
- account
Identifier string - Harness account identifier.
- org
Identifier string - Harness organization identifier.
- project
Identifier string - Harness project identifier.
- account_
identifier str - Harness account identifier.
- org_
identifier str - Harness organization identifier.
- project_
identifier str - Harness project identifier.
- account
Identifier String - Harness account identifier.
- org
Identifier String - Harness organization identifier.
- project
Identifier String - Harness project identifier.
GetInfrastructureV2Mtls
- Cert
Path string - Path to the certificate file for mTLS
- Key
Path string - Path to the private key file for mTLS
- Secret
Name string - Name of the Kubernetes secret containing mTLS certificates
- Url string
- URL for the mTLS endpoint
- Cert
Path string - Path to the certificate file for mTLS
- Key
Path string - Path to the private key file for mTLS
- Secret
Name string - Name of the Kubernetes secret containing mTLS certificates
- Url string
- URL for the mTLS endpoint
- cert
Path String - Path to the certificate file for mTLS
- key
Path String - Path to the private key file for mTLS
- secret
Name String - Name of the Kubernetes secret containing mTLS certificates
- url String
- URL for the mTLS endpoint
- cert
Path string - Path to the certificate file for mTLS
- key
Path string - Path to the private key file for mTLS
- secret
Name string - Name of the Kubernetes secret containing mTLS certificates
- url string
- URL for the mTLS endpoint
- cert_
path str - Path to the certificate file for mTLS
- key_
path str - Path to the private key file for mTLS
- secret_
name str - Name of the Kubernetes secret containing mTLS certificates
- url str
- URL for the mTLS endpoint
- cert
Path String - Path to the certificate file for mTLS
- key
Path String - Path to the private key file for mTLS
- secret
Name String - Name of the Kubernetes secret containing mTLS certificates
- url String
- URL for the mTLS endpoint
GetInfrastructureV2Proxy
- Url string
- Proxy URL.
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - List of hosts that should not use proxy.
- Url string
- Proxy URL.
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - List of hosts that should not use proxy.
- url String
- Proxy URL.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy String - List of hosts that should not use proxy.
- url string
- Proxy URL.
- http
Proxy string - HTTP proxy URL.
- https
Proxy string - HTTPS proxy URL.
- no
Proxy string - List of hosts that should not use proxy.
- url str
- Proxy URL.
- http_
proxy str - HTTP proxy URL.
- https_
proxy str - HTTPS proxy URL.
- no_
proxy str - List of hosts that should not use proxy.
- url String
- Proxy URL.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy String - List of hosts that should not use proxy.
GetInfrastructureV2Toleration
- Effect string
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- Operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- Effect string
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- Operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect String
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key String
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- operator String
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- toleration
Seconds Integer - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value String
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect string
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- toleration
Seconds number - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect str
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key str
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- operator str
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- toleration_
seconds int - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value str
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect String
- Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key String
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
- operator String
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
- toleration
Seconds Number - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value String
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
GetInfrastructureV2Volume
- name str
- Name of the volume. Must be a DNS_LABEL and unique within the pod.
- size_
limit str - Size limit of the volume. Example: '10Gi', '100Mi'
GetInfrastructureV2VolumeMount
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'.
- Name string
- This must match the Name of a Volume.
- Mount
Propagation string - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- Read
Only bool - Mounted read-only if true, read-write otherwise.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- Sub
Path stringExpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'.
- Name string
- This must match the Name of a Volume.
- Mount
Propagation string - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- Read
Only bool - Mounted read-only if true, read-write otherwise.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- Sub
Path stringExpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'.
- name String
- This must match the Name of a Volume.
- mount
Propagation String - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only Boolean - Mounted read-only if true, read-write otherwise.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path StringExpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
- mount
Path string - Path within the container at which the volume should be mounted. Must not contain ':'.
- name string
- This must match the Name of a Volume.
- mount
Propagation string - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only boolean - Mounted read-only if true, read-write otherwise.
- sub
Path string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path stringExpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
- mount_
path str - Path within the container at which the volume should be mounted. Must not contain ':'.
- name str
- This must match the Name of a Volume.
- mount_
propagation str - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read_
only bool - Mounted read-only if true, read-write otherwise.
- sub_
path str - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub_
path_ strexpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
- mount
Path String - Path within the container at which the volume should be mounted. Must not contain ':'.
- name String
- This must match the Name of a Volume.
- mount
Propagation String - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only Boolean - Mounted read-only if true, read-write otherwise.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path StringExpr - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.