1. Packages
  2. Harness Provider
  3. API Docs
  4. getService
Harness v0.7.0 published on Friday, Mar 28, 2025 by Pulumi

harness.getService

Explore with Pulumi AI

Harness v0.7.0 published on Friday, Mar 28, 2025 by Pulumi

Data source for retrieving a Harness service

Using getService

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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
Copy
def get_service(app_id: Optional[str] = None,
                id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(app_id: Optional[pulumi.Input[str]] = None,
                id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
Copy
func GetService(ctx *Context, args *GetServiceArgs, opts ...InvokeOption) (*GetServiceResult, error)
func GetServiceOutput(ctx *Context, args *GetServiceOutputArgs, opts ...InvokeOption) GetServiceResultOutput
Copy

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

public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:index/getService:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AppId This property is required. string
The id of the application the service belongs to
Id This property is required. string
Unique identifier of the application
AppId This property is required. string
The id of the application the service belongs to
Id This property is required. string
Unique identifier of the application
appId This property is required. String
The id of the application the service belongs to
id This property is required. String
Unique identifier of the application
appId This property is required. string
The id of the application the service belongs to
id This property is required. string
Unique identifier of the application
app_id This property is required. str
The id of the application the service belongs to
id This property is required. str
Unique identifier of the application
appId This property is required. String
The id of the application the service belongs to
id This property is required. String
Unique identifier of the application

getService Result

The following output properties are available:

AppId string
The id of the application the service belongs to
ArtifactType string
The type of artifact deployed by the service
Description string
The application description
HelmVersion string
The version of Helm being used by the service.
Id string
Unique identifier of the application
Name string
The name of the service
Tags Dictionary<string, string>
Tags for the service
TemplateUri string
The path of the template used for the custom deployment
Type string
The type of the deployment
AppId string
The id of the application the service belongs to
ArtifactType string
The type of artifact deployed by the service
Description string
The application description
HelmVersion string
The version of Helm being used by the service.
Id string
Unique identifier of the application
Name string
The name of the service
Tags map[string]string
Tags for the service
TemplateUri string
The path of the template used for the custom deployment
Type string
The type of the deployment
appId String
The id of the application the service belongs to
artifactType String
The type of artifact deployed by the service
description String
The application description
helmVersion String
The version of Helm being used by the service.
id String
Unique identifier of the application
name String
The name of the service
tags Map<String,String>
Tags for the service
templateUri String
The path of the template used for the custom deployment
type String
The type of the deployment
appId string
The id of the application the service belongs to
artifactType string
The type of artifact deployed by the service
description string
The application description
helmVersion string
The version of Helm being used by the service.
id string
Unique identifier of the application
name string
The name of the service
tags {[key: string]: string}
Tags for the service
templateUri string
The path of the template used for the custom deployment
type string
The type of the deployment
app_id str
The id of the application the service belongs to
artifact_type str
The type of artifact deployed by the service
description str
The application description
helm_version str
The version of Helm being used by the service.
id str
Unique identifier of the application
name str
The name of the service
tags Mapping[str, str]
Tags for the service
template_uri str
The path of the template used for the custom deployment
type str
The type of the deployment
appId String
The id of the application the service belongs to
artifactType String
The type of artifact deployed by the service
description String
The application description
helmVersion String
The version of Helm being used by the service.
id String
Unique identifier of the application
name String
The name of the service
tags Map<String>
Tags for the service
templateUri String
The path of the template used for the custom deployment
type String
The type of the deployment

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.
Harness v0.7.0 published on Friday, Mar 28, 2025 by Pulumi