1. Packages
  2. Harness
  3. API Docs
  4. getService
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.getService

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getService:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppId string
    The id of the application the service belongs to
    Id string
    Unique identifier of the application
    AppId string
    The id of the application the service belongs to
    Id string
    Unique identifier of the application
    appId String
    The id of the application the service belongs to
    id String
    Unique identifier of the application
    appId string
    The id of the application the service belongs to
    id string
    Unique identifier of the application
    app_id str
    The id of the application the service belongs to
    id str
    Unique identifier of the application
    appId String
    The id of the application the service belongs to
    id 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 lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs