Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Data source for Harness service overrides V2.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const test = harness.platform.getServiceOverridesV2({
identifier: "identifier",
orgId: "orgIdentifier",
projectId: "projectIdentifier",
});
import pulumi
import pulumi_harness as harness
test = harness.platform.get_service_overrides_v2(identifier="identifier",
org_id="orgIdentifier",
project_id="projectIdentifier")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.LookupServiceOverridesV2(ctx, &platform.LookupServiceOverridesV2Args{
Identifier: "identifier",
OrgId: pulumi.StringRef("orgIdentifier"),
ProjectId: pulumi.StringRef("projectIdentifier"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var test = Harness.Platform.GetServiceOverridesV2.Invoke(new()
{
Identifier = "identifier",
OrgId = "orgIdentifier",
ProjectId = "projectIdentifier",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetServiceOverridesV2Args;
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) {
final var test = PlatformFunctions.getServiceOverridesV2(GetServiceOverridesV2Args.builder()
.identifier("identifier")
.orgId("orgIdentifier")
.projectId("projectIdentifier")
.build());
}
}
variables:
test:
fn::invoke:
function: harness:platform:getServiceOverridesV2
arguments:
identifier: identifier
orgId: orgIdentifier
projectId: projectIdentifier
Using getServiceOverridesV2
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 getServiceOverridesV2(args: GetServiceOverridesV2Args, opts?: InvokeOptions): Promise<GetServiceOverridesV2Result>
function getServiceOverridesV2Output(args: GetServiceOverridesV2OutputArgs, opts?: InvokeOptions): Output<GetServiceOverridesV2Result>def get_service_overrides_v2(git_details: Optional[GetServiceOverridesV2GitDetails] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceOverridesV2Result
def get_service_overrides_v2_output(git_details: Optional[pulumi.Input[GetServiceOverridesV2GitDetailsArgs]] = None,
identifier: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceOverridesV2Result]func LookupServiceOverridesV2(ctx *Context, args *LookupServiceOverridesV2Args, opts ...InvokeOption) (*LookupServiceOverridesV2Result, error)
func LookupServiceOverridesV2Output(ctx *Context, args *LookupServiceOverridesV2OutputArgs, opts ...InvokeOption) LookupServiceOverridesV2ResultOutput> Note: This function is named LookupServiceOverridesV2 in the Go SDK.
public static class GetServiceOverridesV2
{
public static Task<GetServiceOverridesV2Result> InvokeAsync(GetServiceOverridesV2Args args, InvokeOptions? opts = null)
public static Output<GetServiceOverridesV2Result> Invoke(GetServiceOverridesV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceOverridesV2Result> getServiceOverridesV2(GetServiceOverridesV2Args args, InvokeOptions options)
public static Output<GetServiceOverridesV2Result> getServiceOverridesV2(GetServiceOverridesV2Args args, InvokeOptions options)
fn::invoke:
function: harness:platform/getServiceOverridesV2:getServiceOverridesV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Identifier string
- The identifier of the override entity.
- Git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Identifier string
- The identifier of the override entity.
- Git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- identifier String
- The identifier of the override entity.
- git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- identifier string
- The identifier of the override entity.
- git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- identifier str
- The identifier of the override entity.
- git_
details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- identifier String
- The identifier of the override entity.
- git
Details Property Map - Contains parameters related to Git Experience for remote overrides
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
getServiceOverridesV2 Result
The following output properties are available:
- Cluster
Id string - The cluster ID to which the override entity is associated.
- Env
Id string - The environment ID to which the override entity is associated.
- Git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The identifier of the override entity.
- Infra
Id string - The infrastructure ID to which the override entity is associated.
- Service
Id string - The service ID to which the override entity is associated.
- Type string
- The type of the override entity.
- Yaml string
- The yaml of the override entity's spec property.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Cluster
Id string - The cluster ID to which the override entity is associated.
- Env
Id string - The environment ID to which the override entity is associated.
- Git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The identifier of the override entity.
- Infra
Id string - The infrastructure ID to which the override entity is associated.
- Service
Id string - The service ID to which the override entity is associated.
- Type string
- The type of the override entity.
- Yaml string
- The yaml of the override entity's spec property.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- cluster
Id String - The cluster ID to which the override entity is associated.
- env
Id String - The environment ID to which the override entity is associated.
- git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The identifier of the override entity.
- infra
Id String - The infrastructure ID to which the override entity is associated.
- service
Id String - The service ID to which the override entity is associated.
- type String
- The type of the override entity.
- yaml String
- The yaml of the override entity's spec property.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- cluster
Id string - The cluster ID to which the override entity is associated.
- env
Id string - The environment ID to which the override entity is associated.
- git
Details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- The identifier of the override entity.
- infra
Id string - The infrastructure ID to which the override entity is associated.
- service
Id string - The service ID to which the override entity is associated.
- type string
- The type of the override entity.
- yaml string
- The yaml of the override entity's spec property.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- cluster_
id str - The cluster ID to which the override entity is associated.
- env_
id str - The environment ID to which the override entity is associated.
- git_
details GetService Overrides V2Git Details - Contains parameters related to Git Experience for remote overrides
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- The identifier of the override entity.
- infra_
id str - The infrastructure ID to which the override entity is associated.
- service_
id str - The service ID to which the override entity is associated.
- type str
- The type of the override entity.
- yaml str
- The yaml of the override entity's spec property.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- cluster
Id String - The cluster ID to which the override entity is associated.
- env
Id String - The environment ID to which the override entity is associated.
- git
Details Property Map - Contains parameters related to Git Experience for remote overrides
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The identifier of the override entity.
- infra
Id String - The infrastructure ID to which the override entity is associated.
- service
Id String - The service ID to which the override entity is associated.
- type String
- The type of the override entity.
- yaml String
- The yaml of the override entity's spec property.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
Supporting Types
GetServiceOverridesV2GitDetails
- Branch string
- Name of the branch.
- Load
From boolCache - Load service yaml from fallback branch
- Load
From boolFallback Branch - Load service yaml from fallback branch
- Repo
Name string - Repo name of remote service override
- Branch string
- Name of the branch.
- Load
From boolCache - Load service yaml from fallback branch
- Load
From boolFallback Branch - Load service yaml from fallback branch
- Repo
Name string - Repo name of remote service override
- branch String
- Name of the branch.
- load
From BooleanCache - Load service yaml from fallback branch
- load
From BooleanFallback Branch - Load service yaml from fallback branch
- repo
Name String - Repo name of remote service override
- branch string
- Name of the branch.
- load
From booleanCache - Load service yaml from fallback branch
- load
From booleanFallback Branch - Load service yaml from fallback branch
- repo
Name string - Repo name of remote service override
- branch str
- Name of the branch.
- load_
from_ boolcache - Load service yaml from fallback branch
- load_
from_ boolfallback_ branch - Load service yaml from fallback branch
- repo_
name str - Repo name of remote service override
- branch String
- Name of the branch.
- load
From BooleanCache - Load service yaml from fallback branch
- load
From BooleanFallback Branch - Load service yaml from fallback branch
- repo
Name String - Repo name of remote service override
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.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
