1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. chaos
  6. getExperimentTemplate
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi

    Data source for retrieving a Harness Chaos Experiment Template by identity or name.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    // Example 1: Lookup by Identity (Project-level)
    const byIdentity = harness.chaos.getExperimentTemplate({
        orgId: "my_org",
        projectId: "my_project",
        hubIdentity: "my-chaos-hub",
        identity: "simple-pod-delete-experiment",
    });
    // Example 2: Lookup by Name (Project-level)
    const byName = harness.chaos.getExperimentTemplate({
        orgId: "my_org",
        projectId: "my_project",
        hubIdentity: "my-chaos-hub",
        name: "Simple Pod Delete Experiment",
    });
    // Example 3: Lookup Org-level Template
    const orgTemplate = harness.chaos.getExperimentTemplate({
        orgId: "my_org",
        hubIdentity: "org-chaos-hub",
        identity: "org-experiment-template",
    });
    // Example 4: Lookup Account-level Template
    const accountTemplate = harness.chaos.getExperimentTemplate({
        hubIdentity: "account-chaos-hub",
        identity: "account-experiment-template",
    });
    export const experimentId = byIdentity.then(byIdentity => byIdentity.id);
    export const experimentIdentity = byIdentity.then(byIdentity => byIdentity.identity);
    export const experimentSpec = byIdentity.then(byIdentity => byIdentity.specs);
    export const faultsCount = byIdentity.then(byIdentity => byIdentity.specs?.[0]?.faults).length;
    export const probesCount = byIdentity.then(byIdentity => byIdentity.specs?.[0]?.probes).length;
    export const actionsCount = byIdentity.then(byIdentity => byIdentity.specs?.[0]?.actions).length;
    export const verticesCount = byIdentity.then(byIdentity => byIdentity.specs?.[0]?.vertices).length;
    
    import pulumi
    import pulumi_harness as harness
    
    # Example 1: Lookup by Identity (Project-level)
    by_identity = harness.chaos.get_experiment_template(org_id="my_org",
        project_id="my_project",
        hub_identity="my-chaos-hub",
        identity="simple-pod-delete-experiment")
    # Example 2: Lookup by Name (Project-level)
    by_name = harness.chaos.get_experiment_template(org_id="my_org",
        project_id="my_project",
        hub_identity="my-chaos-hub",
        name="Simple Pod Delete Experiment")
    # Example 3: Lookup Org-level Template
    org_template = harness.chaos.get_experiment_template(org_id="my_org",
        hub_identity="org-chaos-hub",
        identity="org-experiment-template")
    # Example 4: Lookup Account-level Template
    account_template = harness.chaos.get_experiment_template(hub_identity="account-chaos-hub",
        identity="account-experiment-template")
    pulumi.export("experimentId", by_identity.id)
    pulumi.export("experimentIdentity", by_identity.identity)
    pulumi.export("experimentSpec", by_identity.specs)
    pulumi.export("faultsCount", len(by_identity.specs[0].faults))
    pulumi.export("probesCount", len(by_identity.specs[0].probes))
    pulumi.export("actionsCount", len(by_identity.specs[0].actions))
    pulumi.export("verticesCount", len(by_identity.specs[0].vertices))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/chaos"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Example 1: Lookup by Identity (Project-level)
    		byIdentity, err := chaos.LookupExperimentTemplate(ctx, &chaos.LookupExperimentTemplateArgs{
    			OrgId:       pulumi.StringRef("my_org"),
    			ProjectId:   pulumi.StringRef("my_project"),
    			HubIdentity: "my-chaos-hub",
    			Identity:    pulumi.StringRef("simple-pod-delete-experiment"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Example 2: Lookup by Name (Project-level)
    		_, err = chaos.LookupExperimentTemplate(ctx, &chaos.LookupExperimentTemplateArgs{
    			OrgId:       pulumi.StringRef("my_org"),
    			ProjectId:   pulumi.StringRef("my_project"),
    			HubIdentity: "my-chaos-hub",
    			Name:        pulumi.StringRef("Simple Pod Delete Experiment"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Example 3: Lookup Org-level Template
    		_, err = chaos.LookupExperimentTemplate(ctx, &chaos.LookupExperimentTemplateArgs{
    			OrgId:       pulumi.StringRef("my_org"),
    			HubIdentity: "org-chaos-hub",
    			Identity:    pulumi.StringRef("org-experiment-template"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Example 4: Lookup Account-level Template
    		_, err = chaos.LookupExperimentTemplate(ctx, &chaos.LookupExperimentTemplateArgs{
    			HubIdentity: "account-chaos-hub",
    			Identity:    pulumi.StringRef("account-experiment-template"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("experimentId", byIdentity.Id)
    		ctx.Export("experimentIdentity", byIdentity.Identity)
    		ctx.Export("experimentSpec", byIdentity.Specs)
    		ctx.Export("faultsCount", len(byIdentity.Specs[0].Faults))
    		ctx.Export("probesCount", len(byIdentity.Specs[0].Probes))
    		ctx.Export("actionsCount", len(byIdentity.Specs[0].Actions))
    		ctx.Export("verticesCount", len(byIdentity.Specs[0].Vertices))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Example 1: Lookup by Identity (Project-level)
        var byIdentity = Harness.Chaos.GetExperimentTemplate.Invoke(new()
        {
            OrgId = "my_org",
            ProjectId = "my_project",
            HubIdentity = "my-chaos-hub",
            Identity = "simple-pod-delete-experiment",
        });
    
        // Example 2: Lookup by Name (Project-level)
        var byName = Harness.Chaos.GetExperimentTemplate.Invoke(new()
        {
            OrgId = "my_org",
            ProjectId = "my_project",
            HubIdentity = "my-chaos-hub",
            Name = "Simple Pod Delete Experiment",
        });
    
        // Example 3: Lookup Org-level Template
        var orgTemplate = Harness.Chaos.GetExperimentTemplate.Invoke(new()
        {
            OrgId = "my_org",
            HubIdentity = "org-chaos-hub",
            Identity = "org-experiment-template",
        });
    
        // Example 4: Lookup Account-level Template
        var accountTemplate = Harness.Chaos.GetExperimentTemplate.Invoke(new()
        {
            HubIdentity = "account-chaos-hub",
            Identity = "account-experiment-template",
        });
    
        return new Dictionary<string, object?>
        {
            ["experimentId"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Id),
            ["experimentIdentity"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Identity),
            ["experimentSpec"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Specs),
            ["faultsCount"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Specs[0]?.Faults).Length,
            ["probesCount"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Specs[0]?.Probes).Length,
            ["actionsCount"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Specs[0]?.Actions).Length,
            ["verticesCount"] = byIdentity.Apply(getExperimentTemplateResult => getExperimentTemplateResult.Specs[0]?.Vertices).Length,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.chaos.ChaosFunctions;
    import com.pulumi.harness.chaos.inputs.GetExperimentTemplateArgs;
    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) {
            // Example 1: Lookup by Identity (Project-level)
            final var byIdentity = ChaosFunctions.getExperimentTemplate(GetExperimentTemplateArgs.builder()
                .orgId("my_org")
                .projectId("my_project")
                .hubIdentity("my-chaos-hub")
                .identity("simple-pod-delete-experiment")
                .build());
    
            // Example 2: Lookup by Name (Project-level)
            final var byName = ChaosFunctions.getExperimentTemplate(GetExperimentTemplateArgs.builder()
                .orgId("my_org")
                .projectId("my_project")
                .hubIdentity("my-chaos-hub")
                .name("Simple Pod Delete Experiment")
                .build());
    
            // Example 3: Lookup Org-level Template
            final var orgTemplate = ChaosFunctions.getExperimentTemplate(GetExperimentTemplateArgs.builder()
                .orgId("my_org")
                .hubIdentity("org-chaos-hub")
                .identity("org-experiment-template")
                .build());
    
            // Example 4: Lookup Account-level Template
            final var accountTemplate = ChaosFunctions.getExperimentTemplate(GetExperimentTemplateArgs.builder()
                .hubIdentity("account-chaos-hub")
                .identity("account-experiment-template")
                .build());
    
            ctx.export("experimentId", byIdentity.id());
            ctx.export("experimentIdentity", byIdentity.identity());
            ctx.export("experimentSpec", byIdentity.specs());
            ctx.export("faultsCount", byIdentity.specs()[0].faults().length());
            ctx.export("probesCount", byIdentity.specs()[0].probes().length());
            ctx.export("actionsCount", byIdentity.specs()[0].actions().length());
            ctx.export("verticesCount", byIdentity.specs()[0].vertices().length());
        }
    }
    
    Example coming soon!
    

    Using getExperimentTemplate

    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 getExperimentTemplate(args: GetExperimentTemplateArgs, opts?: InvokeOptions): Promise<GetExperimentTemplateResult>
    function getExperimentTemplateOutput(args: GetExperimentTemplateOutputArgs, opts?: InvokeOptions): Output<GetExperimentTemplateResult>
    def get_experiment_template(hub_identity: Optional[str] = None,
                                identity: Optional[str] = None,
                                name: Optional[str] = None,
                                org_id: Optional[str] = None,
                                project_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetExperimentTemplateResult
    def get_experiment_template_output(hub_identity: Optional[pulumi.Input[str]] = None,
                                identity: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                org_id: Optional[pulumi.Input[str]] = None,
                                project_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetExperimentTemplateResult]
    func LookupExperimentTemplate(ctx *Context, args *LookupExperimentTemplateArgs, opts ...InvokeOption) (*LookupExperimentTemplateResult, error)
    func LookupExperimentTemplateOutput(ctx *Context, args *LookupExperimentTemplateOutputArgs, opts ...InvokeOption) LookupExperimentTemplateResultOutput

    > Note: This function is named LookupExperimentTemplate in the Go SDK.

    public static class GetExperimentTemplate 
    {
        public static Task<GetExperimentTemplateResult> InvokeAsync(GetExperimentTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetExperimentTemplateResult> Invoke(GetExperimentTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExperimentTemplateResult> getExperimentTemplate(GetExperimentTemplateArgs args, InvokeOptions options)
    public static Output<GetExperimentTemplateResult> getExperimentTemplate(GetExperimentTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:chaos/getExperimentTemplate:getExperimentTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    HubIdentity string
    Hub identifier where the template is stored
    Identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    Name string
    Name of the experiment template. Either identity or name must be specified.
    OrgId string
    Organization identifier. Leave empty for account-level templates.
    ProjectId string
    Project identifier. Leave empty for account and org-level templates.
    HubIdentity string
    Hub identifier where the template is stored
    Identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    Name string
    Name of the experiment template. Either identity or name must be specified.
    OrgId string
    Organization identifier. Leave empty for account-level templates.
    ProjectId string
    Project identifier. Leave empty for account and org-level templates.
    hubIdentity String
    Hub identifier where the template is stored
    identity String
    Unique identifier of the experiment template. Either identity or name must be specified.
    name String
    Name of the experiment template. Either identity or name must be specified.
    orgId String
    Organization identifier. Leave empty for account-level templates.
    projectId String
    Project identifier. Leave empty for account and org-level templates.
    hubIdentity string
    Hub identifier where the template is stored
    identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    name string
    Name of the experiment template. Either identity or name must be specified.
    orgId string
    Organization identifier. Leave empty for account-level templates.
    projectId string
    Project identifier. Leave empty for account and org-level templates.
    hub_identity str
    Hub identifier where the template is stored
    identity str
    Unique identifier of the experiment template. Either identity or name must be specified.
    name str
    Name of the experiment template. Either identity or name must be specified.
    org_id str
    Organization identifier. Leave empty for account-level templates.
    project_id str
    Project identifier. Leave empty for account and org-level templates.
    hubIdentity String
    Hub identifier where the template is stored
    identity String
    Unique identifier of the experiment template. Either identity or name must be specified.
    name String
    Name of the experiment template. Either identity or name must be specified.
    orgId String
    Organization identifier. Leave empty for account-level templates.
    projectId String
    Project identifier. Leave empty for account and org-level templates.

    getExperimentTemplate Result

    The following output properties are available:

    ApiVersion string
    API version of the experiment template
    Description string
    Description of the experiment template
    HubIdentity string
    Hub identifier where the template is stored
    Id string
    The provider-assigned unique ID for this managed resource.
    Identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    IsDefault bool
    Whether this is a default template
    Kind string
    Kind of the experiment template
    Name string
    Name of the experiment template. Either identity or name must be specified.
    Revision string
    Revision of the experiment template
    Specs List<GetExperimentTemplateSpec>
    Specification of the experiment template
    Tags List<string>
    Tags associated with the experiment template
    OrgId string
    Organization identifier. Leave empty for account-level templates.
    ProjectId string
    Project identifier. Leave empty for account and org-level templates.
    ApiVersion string
    API version of the experiment template
    Description string
    Description of the experiment template
    HubIdentity string
    Hub identifier where the template is stored
    Id string
    The provider-assigned unique ID for this managed resource.
    Identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    IsDefault bool
    Whether this is a default template
    Kind string
    Kind of the experiment template
    Name string
    Name of the experiment template. Either identity or name must be specified.
    Revision string
    Revision of the experiment template
    Specs []GetExperimentTemplateSpec
    Specification of the experiment template
    Tags []string
    Tags associated with the experiment template
    OrgId string
    Organization identifier. Leave empty for account-level templates.
    ProjectId string
    Project identifier. Leave empty for account and org-level templates.
    apiVersion String
    API version of the experiment template
    description String
    Description of the experiment template
    hubIdentity String
    Hub identifier where the template is stored
    id String
    The provider-assigned unique ID for this managed resource.
    identity String
    Unique identifier of the experiment template. Either identity or name must be specified.
    isDefault Boolean
    Whether this is a default template
    kind String
    Kind of the experiment template
    name String
    Name of the experiment template. Either identity or name must be specified.
    revision String
    Revision of the experiment template
    specs List<GetExperimentTemplateSpec>
    Specification of the experiment template
    tags List<String>
    Tags associated with the experiment template
    orgId String
    Organization identifier. Leave empty for account-level templates.
    projectId String
    Project identifier. Leave empty for account and org-level templates.
    apiVersion string
    API version of the experiment template
    description string
    Description of the experiment template
    hubIdentity string
    Hub identifier where the template is stored
    id string
    The provider-assigned unique ID for this managed resource.
    identity string
    Unique identifier of the experiment template. Either identity or name must be specified.
    isDefault boolean
    Whether this is a default template
    kind string
    Kind of the experiment template
    name string
    Name of the experiment template. Either identity or name must be specified.
    revision string
    Revision of the experiment template
    specs GetExperimentTemplateSpec[]
    Specification of the experiment template
    tags string[]
    Tags associated with the experiment template
    orgId string
    Organization identifier. Leave empty for account-level templates.
    projectId string
    Project identifier. Leave empty for account and org-level templates.
    api_version str
    API version of the experiment template
    description str
    Description of the experiment template
    hub_identity str
    Hub identifier where the template is stored
    id str
    The provider-assigned unique ID for this managed resource.
    identity str
    Unique identifier of the experiment template. Either identity or name must be specified.
    is_default bool
    Whether this is a default template
    kind str
    Kind of the experiment template
    name str
    Name of the experiment template. Either identity or name must be specified.
    revision str
    Revision of the experiment template
    specs Sequence[GetExperimentTemplateSpec]
    Specification of the experiment template
    tags Sequence[str]
    Tags associated with the experiment template
    org_id str
    Organization identifier. Leave empty for account-level templates.
    project_id str
    Project identifier. Leave empty for account and org-level templates.
    apiVersion String
    API version of the experiment template
    description String
    Description of the experiment template
    hubIdentity String
    Hub identifier where the template is stored
    id String
    The provider-assigned unique ID for this managed resource.
    identity String
    Unique identifier of the experiment template. Either identity or name must be specified.
    isDefault Boolean
    Whether this is a default template
    kind String
    Kind of the experiment template
    name String
    Name of the experiment template. Either identity or name must be specified.
    revision String
    Revision of the experiment template
    specs List<Property Map>
    Specification of the experiment template
    tags List<String>
    Tags associated with the experiment template
    orgId String
    Organization identifier. Leave empty for account-level templates.
    projectId String
    Project identifier. Leave empty for account and org-level templates.

    Supporting Types

    GetExperimentTemplateSpec

    Actions List<GetExperimentTemplateSpecAction>
    List of actions in the experiment
    CleanupPolicy string
    Cleanup policy for experiment resources
    Faults List<GetExperimentTemplateSpecFault>
    List of faults in the experiment
    InfraId string
    Infrastructure identifier
    InfraType string
    Infrastructure type
    Probes List<GetExperimentTemplateSpecProbe>
    List of probes in the experiment
    StatusCheckTimeouts List<GetExperimentTemplateSpecStatusCheckTimeout>
    Status check timeout configuration
    Vertices List<GetExperimentTemplateSpecVertex>
    Workflow graph vertices defining execution order
    Actions []GetExperimentTemplateSpecAction
    List of actions in the experiment
    CleanupPolicy string
    Cleanup policy for experiment resources
    Faults []GetExperimentTemplateSpecFault
    List of faults in the experiment
    InfraId string
    Infrastructure identifier
    InfraType string
    Infrastructure type
    Probes []GetExperimentTemplateSpecProbe
    List of probes in the experiment
    StatusCheckTimeouts []GetExperimentTemplateSpecStatusCheckTimeout
    Status check timeout configuration
    Vertices []GetExperimentTemplateSpecVertex
    Workflow graph vertices defining execution order
    actions List<GetExperimentTemplateSpecAction>
    List of actions in the experiment
    cleanupPolicy String
    Cleanup policy for experiment resources
    faults List<GetExperimentTemplateSpecFault>
    List of faults in the experiment
    infraId String
    Infrastructure identifier
    infraType String
    Infrastructure type
    probes List<GetExperimentTemplateSpecProbe>
    List of probes in the experiment
    statusCheckTimeouts List<GetExperimentTemplateSpecStatusCheckTimeout>
    Status check timeout configuration
    vertices List<GetExperimentTemplateSpecVertex>
    Workflow graph vertices defining execution order
    actions GetExperimentTemplateSpecAction[]
    List of actions in the experiment
    cleanupPolicy string
    Cleanup policy for experiment resources
    faults GetExperimentTemplateSpecFault[]
    List of faults in the experiment
    infraId string
    Infrastructure identifier
    infraType string
    Infrastructure type
    probes GetExperimentTemplateSpecProbe[]
    List of probes in the experiment
    statusCheckTimeouts GetExperimentTemplateSpecStatusCheckTimeout[]
    Status check timeout configuration
    vertices GetExperimentTemplateSpecVertex[]
    Workflow graph vertices defining execution order
    actions Sequence[GetExperimentTemplateSpecAction]
    List of actions in the experiment
    cleanup_policy str
    Cleanup policy for experiment resources
    faults Sequence[GetExperimentTemplateSpecFault]
    List of faults in the experiment
    infra_id str
    Infrastructure identifier
    infra_type str
    Infrastructure type
    probes Sequence[GetExperimentTemplateSpecProbe]
    List of probes in the experiment
    status_check_timeouts Sequence[GetExperimentTemplateSpecStatusCheckTimeout]
    Status check timeout configuration
    vertices Sequence[GetExperimentTemplateSpecVertex]
    Workflow graph vertices defining execution order
    actions List<Property Map>
    List of actions in the experiment
    cleanupPolicy String
    Cleanup policy for experiment resources
    faults List<Property Map>
    List of faults in the experiment
    infraId String
    Infrastructure identifier
    infraType String
    Infrastructure type
    probes List<Property Map>
    List of probes in the experiment
    statusCheckTimeouts List<Property Map>
    Status check timeout configuration
    vertices List<Property Map>
    Workflow graph vertices defining execution order

    GetExperimentTemplateSpecAction

    ContinueOnCompletion bool
    Whether to continue on completion
    Identity string
    Action template identity
    InfraId string
    Infrastructure identifier for this action
    IsEnterprise bool
    Whether this is an enterprise action
    Name string
    Action name
    Revision int
    Action template revision
    Values List<GetExperimentTemplateSpecActionValue>
    Variable values for the action
    ContinueOnCompletion bool
    Whether to continue on completion
    Identity string
    Action template identity
    InfraId string
    Infrastructure identifier for this action
    IsEnterprise bool
    Whether this is an enterprise action
    Name string
    Action name
    Revision int
    Action template revision
    Values []GetExperimentTemplateSpecActionValue
    Variable values for the action
    continueOnCompletion Boolean
    Whether to continue on completion
    identity String
    Action template identity
    infraId String
    Infrastructure identifier for this action
    isEnterprise Boolean
    Whether this is an enterprise action
    name String
    Action name
    revision Integer
    Action template revision
    values List<GetExperimentTemplateSpecActionValue>
    Variable values for the action
    continueOnCompletion boolean
    Whether to continue on completion
    identity string
    Action template identity
    infraId string
    Infrastructure identifier for this action
    isEnterprise boolean
    Whether this is an enterprise action
    name string
    Action name
    revision number
    Action template revision
    values GetExperimentTemplateSpecActionValue[]
    Variable values for the action
    continue_on_completion bool
    Whether to continue on completion
    identity str
    Action template identity
    infra_id str
    Infrastructure identifier for this action
    is_enterprise bool
    Whether this is an enterprise action
    name str
    Action name
    revision int
    Action template revision
    values Sequence[GetExperimentTemplateSpecActionValue]
    Variable values for the action
    continueOnCompletion Boolean
    Whether to continue on completion
    identity String
    Action template identity
    infraId String
    Infrastructure identifier for this action
    isEnterprise Boolean
    Whether this is an enterprise action
    name String
    Action name
    revision Number
    Action template revision
    values List<Property Map>
    Variable values for the action

    GetExperimentTemplateSpecActionValue

    Name string
    Variable name
    Value string
    Variable value
    Name string
    Variable name
    Value string
    Variable value
    name String
    Variable name
    value String
    Variable value
    name string
    Variable name
    value string
    Variable value
    name str
    Variable name
    value str
    Variable value
    name String
    Variable name
    value String
    Variable value

    GetExperimentTemplateSpecFault

    AuthEnabled bool
    Whether authentication is enabled
    Identity string
    Fault template identity
    InfraId string
    Infrastructure identifier for this fault
    IsEnterprise bool
    Whether this is an enterprise fault
    Name string
    Fault name
    Revision string
    Fault template revision
    Values List<GetExperimentTemplateSpecFaultValue>
    Variable values for the fault
    AuthEnabled bool
    Whether authentication is enabled
    Identity string
    Fault template identity
    InfraId string
    Infrastructure identifier for this fault
    IsEnterprise bool
    Whether this is an enterprise fault
    Name string
    Fault name
    Revision string
    Fault template revision
    Values []GetExperimentTemplateSpecFaultValue
    Variable values for the fault
    authEnabled Boolean
    Whether authentication is enabled
    identity String
    Fault template identity
    infraId String
    Infrastructure identifier for this fault
    isEnterprise Boolean
    Whether this is an enterprise fault
    name String
    Fault name
    revision String
    Fault template revision
    values List<GetExperimentTemplateSpecFaultValue>
    Variable values for the fault
    authEnabled boolean
    Whether authentication is enabled
    identity string
    Fault template identity
    infraId string
    Infrastructure identifier for this fault
    isEnterprise boolean
    Whether this is an enterprise fault
    name string
    Fault name
    revision string
    Fault template revision
    values GetExperimentTemplateSpecFaultValue[]
    Variable values for the fault
    auth_enabled bool
    Whether authentication is enabled
    identity str
    Fault template identity
    infra_id str
    Infrastructure identifier for this fault
    is_enterprise bool
    Whether this is an enterprise fault
    name str
    Fault name
    revision str
    Fault template revision
    values Sequence[GetExperimentTemplateSpecFaultValue]
    Variable values for the fault
    authEnabled Boolean
    Whether authentication is enabled
    identity String
    Fault template identity
    infraId String
    Infrastructure identifier for this fault
    isEnterprise Boolean
    Whether this is an enterprise fault
    name String
    Fault name
    revision String
    Fault template revision
    values List<Property Map>
    Variable values for the fault

    GetExperimentTemplateSpecFaultValue

    Name string
    Variable name
    Value string
    Variable value
    Name string
    Variable name
    Value string
    Variable value
    name String
    Variable name
    value String
    Variable value
    name string
    Variable name
    value string
    Variable value
    name str
    Variable name
    value str
    Variable value
    name String
    Variable name
    value String
    Variable value

    GetExperimentTemplateSpecProbe

    Conditions List<GetExperimentTemplateSpecProbeCondition>
    Probe execution conditions
    Duration string
    Probe duration
    EnableDataCollection bool
    Whether to enable data collection
    Identity string
    Probe template identity
    InfraId string
    Infrastructure identifier for this probe
    IsEnterprise bool
    Whether this is an enterprise probe
    Name string
    Probe name
    Revision int
    Probe template revision
    Values List<GetExperimentTemplateSpecProbeValue>
    Variable values for the probe
    Weightage int
    Probe weightage for resilience score calculation
    Conditions []GetExperimentTemplateSpecProbeCondition
    Probe execution conditions
    Duration string
    Probe duration
    EnableDataCollection bool
    Whether to enable data collection
    Identity string
    Probe template identity
    InfraId string
    Infrastructure identifier for this probe
    IsEnterprise bool
    Whether this is an enterprise probe
    Name string
    Probe name
    Revision int
    Probe template revision
    Values []GetExperimentTemplateSpecProbeValue
    Variable values for the probe
    Weightage int
    Probe weightage for resilience score calculation
    conditions List<GetExperimentTemplateSpecProbeCondition>
    Probe execution conditions
    duration String
    Probe duration
    enableDataCollection Boolean
    Whether to enable data collection
    identity String
    Probe template identity
    infraId String
    Infrastructure identifier for this probe
    isEnterprise Boolean
    Whether this is an enterprise probe
    name String
    Probe name
    revision Integer
    Probe template revision
    values List<GetExperimentTemplateSpecProbeValue>
    Variable values for the probe
    weightage Integer
    Probe weightage for resilience score calculation
    conditions GetExperimentTemplateSpecProbeCondition[]
    Probe execution conditions
    duration string
    Probe duration
    enableDataCollection boolean
    Whether to enable data collection
    identity string
    Probe template identity
    infraId string
    Infrastructure identifier for this probe
    isEnterprise boolean
    Whether this is an enterprise probe
    name string
    Probe name
    revision number
    Probe template revision
    values GetExperimentTemplateSpecProbeValue[]
    Variable values for the probe
    weightage number
    Probe weightage for resilience score calculation
    conditions Sequence[GetExperimentTemplateSpecProbeCondition]
    Probe execution conditions
    duration str
    Probe duration
    enable_data_collection bool
    Whether to enable data collection
    identity str
    Probe template identity
    infra_id str
    Infrastructure identifier for this probe
    is_enterprise bool
    Whether this is an enterprise probe
    name str
    Probe name
    revision int
    Probe template revision
    values Sequence[GetExperimentTemplateSpecProbeValue]
    Variable values for the probe
    weightage int
    Probe weightage for resilience score calculation
    conditions List<Property Map>
    Probe execution conditions
    duration String
    Probe duration
    enableDataCollection Boolean
    Whether to enable data collection
    identity String
    Probe template identity
    infraId String
    Infrastructure identifier for this probe
    isEnterprise Boolean
    Whether this is an enterprise probe
    name String
    Probe name
    revision Number
    Probe template revision
    values List<Property Map>
    Variable values for the probe
    weightage Number
    Probe weightage for resilience score calculation

    GetExperimentTemplateSpecProbeCondition

    ExecuteUpon string
    When to execute the probe
    ExecuteUpon string
    When to execute the probe
    executeUpon String
    When to execute the probe
    executeUpon string
    When to execute the probe
    execute_upon str
    When to execute the probe
    executeUpon String
    When to execute the probe

    GetExperimentTemplateSpecProbeValue

    Name string
    Variable name
    Value string
    Variable value
    Name string
    Variable name
    Value string
    Variable value
    name String
    Variable name
    value String
    Variable value
    name string
    Variable name
    value string
    Variable value
    name str
    Variable name
    value str
    Variable value
    name String
    Variable name
    value String
    Variable value

    GetExperimentTemplateSpecStatusCheckTimeout

    Delay int
    Delay before status check (in seconds)
    Timeout int
    Timeout for status check (in seconds)
    Delay int
    Delay before status check (in seconds)
    Timeout int
    Timeout for status check (in seconds)
    delay Integer
    Delay before status check (in seconds)
    timeout Integer
    Timeout for status check (in seconds)
    delay number
    Delay before status check (in seconds)
    timeout number
    Timeout for status check (in seconds)
    delay int
    Delay before status check (in seconds)
    timeout int
    Timeout for status check (in seconds)
    delay Number
    Delay before status check (in seconds)
    timeout Number
    Timeout for status check (in seconds)

    GetExperimentTemplateSpecVertex

    Ends List<GetExperimentTemplateSpecVertexEnd>
    End configuration for the vertex
    Name string
    Vertex name
    Starts List<GetExperimentTemplateSpecVertexStart>
    Start configuration for the vertex
    Ends []GetExperimentTemplateSpecVertexEnd
    End configuration for the vertex
    Name string
    Vertex name
    Starts []GetExperimentTemplateSpecVertexStart
    Start configuration for the vertex
    ends List<GetExperimentTemplateSpecVertexEnd>
    End configuration for the vertex
    name String
    Vertex name
    starts List<GetExperimentTemplateSpecVertexStart>
    Start configuration for the vertex
    ends GetExperimentTemplateSpecVertexEnd[]
    End configuration for the vertex
    name string
    Vertex name
    starts GetExperimentTemplateSpecVertexStart[]
    Start configuration for the vertex
    ends Sequence[GetExperimentTemplateSpecVertexEnd]
    End configuration for the vertex
    name str
    Vertex name
    starts Sequence[GetExperimentTemplateSpecVertexStart]
    Start configuration for the vertex
    ends List<Property Map>
    End configuration for the vertex
    name String
    Vertex name
    starts List<Property Map>
    Start configuration for the vertex

    GetExperimentTemplateSpecVertexEnd

    actions List<Property Map>
    Actions to execute at end
    faults List<Property Map>
    Faults to execute at end
    probes List<Property Map>
    Probes to execute at end

    GetExperimentTemplateSpecVertexEndAction

    Name string
    Action name
    Name string
    Action name
    name String
    Action name
    name string
    Action name
    name str
    Action name
    name String
    Action name

    GetExperimentTemplateSpecVertexEndFault

    Name string
    Fault name
    Name string
    Fault name
    name String
    Fault name
    name string
    Fault name
    name str
    Fault name
    name String
    Fault name

    GetExperimentTemplateSpecVertexEndProbe

    Name string
    Probe name
    Name string
    Probe name
    name String
    Probe name
    name string
    Probe name
    name str
    Probe name
    name String
    Probe name

    GetExperimentTemplateSpecVertexStart

    actions List<Property Map>
    Actions to execute at start
    faults List<Property Map>
    Faults to execute at start
    probes List<Property Map>
    Probes to execute at start

    GetExperimentTemplateSpecVertexStartAction

    Name string
    Action name
    Name string
    Action name
    name String
    Action name
    name string
    Action name
    name str
    Action name
    name String
    Action name

    GetExperimentTemplateSpecVertexStartFault

    Name string
    Fault name
    Name string
    Fault name
    name String
    Fault name
    name string
    Fault name
    name str
    Fault name
    name String
    Fault name

    GetExperimentTemplateSpecVertexStartProbe

    Name string
    Probe name
    Name string
    Probe name
    name String
    Probe name
    name string
    Probe name
    name str
    Probe name
    name String
    Probe name

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.12.0
    published on Tuesday, Apr 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.