Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi
harness.platform.getServiceList
Explore with Pulumi AI
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:
- 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
getServiceList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Services
List<Get
Service List Service> - Org
Id string - Unique identifier of the organization.
- Page int
- Page index of the results to fetch. Default: 0
- Project
Id 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
[]Get
Service List Service - Org
Id string - Unique identifier of the organization.
- Page int
- Page index of the results to fetch. Default: 0
- Project
Id 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<Get
Service List Service> - org
Id String - Unique identifier of the organization.
- page Integer
- Page index of the results to fetch. Default: 0
- project
Id 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
Get
Service List Service[] - org
Id string - Unique identifier of the organization.
- page number
- Page index of the results to fetch. Default: 0
- project
Id 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[Get
Service List Service] - 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>
- org
Id String - Unique identifier of the organization.
- page Number
- Page index of the results to fetch. Default: 0
- project
Id 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 str
- name str
- 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.