Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 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>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]func GetService(ctx *Context, args *GetServiceArgs, opts ...InvokeOption) (*GetServiceResult, error)
func GetServiceOutput(ctx *Context, args *GetServiceOutputArgs, opts ...InvokeOption) GetServiceResultOutput> 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)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: harness:index/getService:getService
arguments:
# arguments dictionaryThe following arguments are supported:
getService Result
The following output properties are available:
- App
Id string - The id of the application the service belongs to
- Artifact
Type string - The type of artifact deployed by the service
- Description string
- The application description
- Helm
Version string - The version of Helm being used by the service.
- Id string
- Unique identifier of the application
- Name string
- The name of the service
- Dictionary<string, string>
- Tags for the service
- Template
Uri string - The path of the template used for the custom deployment
- Type string
- The type of the deployment
- App
Id string - The id of the application the service belongs to
- Artifact
Type string - The type of artifact deployed by the service
- Description string
- The application description
- Helm
Version string - The version of Helm being used by the service.
- Id string
- Unique identifier of the application
- Name string
- The name of the service
- map[string]string
- Tags for the service
- Template
Uri string - The path of the template used for the custom deployment
- Type string
- The type of the deployment
- app
Id String - The id of the application the service belongs to
- artifact
Type String - The type of artifact deployed by the service
- description String
- The application description
- helm
Version String - The version of Helm being used by the service.
- id String
- Unique identifier of the application
- name String
- The name of the service
- Map<String,String>
- Tags for the service
- template
Uri String - The path of the template used for the custom deployment
- type String
- The type of the deployment
- app
Id string - The id of the application the service belongs to
- artifact
Type string - The type of artifact deployed by the service
- description string
- The application description
- helm
Version string - The version of Helm being used by the service.
- id string
- Unique identifier of the application
- name string
- The name of the service
- {[key: string]: string}
- Tags for the service
- template
Uri 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
- 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
- app
Id String - The id of the application the service belongs to
- artifact
Type String - The type of artifact deployed by the service
- description String
- The application description
- helm
Version String - The version of Helm being used by the service.
- id String
- Unique identifier of the application
- name String
- The name of the service
- Map<String>
- Tags for the service
- template
Uri 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
harnessTerraform Provider.
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
