1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getServiceList
Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi

harness.platform.getServiceList

Start a Neo task
Explain and create a harness.platform.getServiceList resource
harness logo
Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi

    Data source for retrieving a Harness service List.

    Using getServiceList

    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 getServiceList(args: GetServiceListArgs, opts?: InvokeOptions): Promise<GetServiceListResult>
    function getServiceListOutput(args: GetServiceListOutputArgs, opts?: InvokeOptions): Output<GetServiceListResult>
    def get_service_list(org_id: Optional[str] = None,
                         page: Optional[int] = None,
                         project_id: Optional[str] = None,
                         size: Optional[int] = None,
                         opts: Optional[InvokeOptions] = None) -> GetServiceListResult
    def get_service_list_output(org_id: Optional[pulumi.Input[str]] = None,
                         page: Optional[pulumi.Input[int]] = None,
                         project_id: Optional[pulumi.Input[str]] = None,
                         size: Optional[pulumi.Input[int]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetServiceListResult]
    func GetServiceList(ctx *Context, args *GetServiceListArgs, opts ...InvokeOption) (*GetServiceListResult, error)
    func GetServiceListOutput(ctx *Context, args *GetServiceListOutputArgs, opts ...InvokeOption) GetServiceListResultOutput

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

    public static class GetServiceList 
    {
        public static Task<GetServiceListResult> InvokeAsync(GetServiceListArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceListResult> Invoke(GetServiceListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceListResult> getServiceList(GetServiceListArgs args, InvokeOptions options)
    public static Output<GetServiceListResult> getServiceList(GetServiceListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getServiceList:getServiceList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    Unique identifier of the organization.
    Page int
    Page index of the results to fetch. Default: 0
    ProjectId string
    Unique identifier of the project.
    Size int
    Results per page. Default: 100; Max: 1000
    OrgId string
    Unique identifier of the organization.
    Page int
    Page index of the results to fetch. Default: 0
    ProjectId string
    Unique identifier of the project.
    Size int
    Results per page. Default: 100; Max: 1000
    orgId String
    Unique identifier of the organization.
    page Integer
    Page index of the results to fetch. Default: 0
    projectId String
    Unique identifier of the project.
    size Integer
    Results per page. Default: 100; Max: 1000
    orgId string
    Unique identifier of the organization.
    page number
    Page index of the results to fetch. Default: 0
    projectId string
    Unique identifier of the project.
    size number
    Results per page. Default: 100; Max: 1000
    org_id str
    Unique identifier of the organization.
    page int
    Page index of the results to fetch. Default: 0
    project_id str
    Unique identifier of the project.
    size int
    Results per page. Default: 100; Max: 1000
    orgId String
    Unique identifier of the organization.
    page Number
    Page index of the results to fetch. Default: 0
    projectId String
    Unique identifier of the project.
    size Number
    Results per page. Default: 100; Max: 1000

    getServiceList Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Services List<GetServiceListService>
    OrgId string
    Unique identifier of the organization.
    Page int
    Page index of the results to fetch. Default: 0
    ProjectId string
    Unique identifier of the project.
    Size int
    Results per page. Default: 100; Max: 1000
    Id string
    The provider-assigned unique ID for this managed resource.
    Services []GetServiceListService
    OrgId string
    Unique identifier of the organization.
    Page int
    Page index of the results to fetch. Default: 0
    ProjectId string
    Unique identifier of the project.
    Size int
    Results per page. Default: 100; Max: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    services List<GetServiceListService>
    orgId String
    Unique identifier of the organization.
    page Integer
    Page index of the results to fetch. Default: 0
    projectId String
    Unique identifier of the project.
    size Integer
    Results per page. Default: 100; Max: 1000
    id string
    The provider-assigned unique ID for this managed resource.
    services GetServiceListService[]
    orgId string
    Unique identifier of the organization.
    page number
    Page index of the results to fetch. Default: 0
    projectId string
    Unique identifier of the project.
    size number
    Results per page. Default: 100; Max: 1000
    id str
    The provider-assigned unique ID for this managed resource.
    services Sequence[GetServiceListService]
    org_id str
    Unique identifier of the organization.
    page int
    Page index of the results to fetch. Default: 0
    project_id str
    Unique identifier of the project.
    size int
    Results per page. Default: 100; Max: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    services List<Property Map>
    orgId String
    Unique identifier of the organization.
    page Number
    Page index of the results to fetch. Default: 0
    projectId String
    Unique identifier of the project.
    size Number
    Results per page. Default: 100; Max: 1000

    Supporting Types

    GetServiceListService

    Identifier string
    Name string
    Identifier string
    Name string
    identifier String
    name String
    identifier string
    name string
    identifier String
    name String

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate