1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. fme
  6. getLargeSegment
Viewing docs for Harness v0.12.1
published on Thursday, May 21, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.12.1
published on Thursday, May 21, 2026 by Pulumi

    Look up a Harness FME (Split) large segment by name. The workspace is resolved from orgId and projectId via Workspaces.ResolveWorkspaceID. After create, Get can return 404 briefly; this data source retries for a short period.

    Using getLargeSegment

    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 getLargeSegment(args: GetLargeSegmentArgs, opts?: InvokeOptions): Promise<GetLargeSegmentResult>
    function getLargeSegmentOutput(args: GetLargeSegmentOutputArgs, opts?: InvokeOptions): Output<GetLargeSegmentResult>
    def get_large_segment(name: Optional[str] = None,
                          org_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLargeSegmentResult
    def get_large_segment_output(name: pulumi.Input[Optional[str]] = None,
                          org_id: pulumi.Input[Optional[str]] = None,
                          project_id: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetLargeSegmentResult]
    func GetLargeSegment(ctx *Context, args *GetLargeSegmentArgs, opts ...InvokeOption) (*GetLargeSegmentResult, error)
    func GetLargeSegmentOutput(ctx *Context, args *GetLargeSegmentOutputArgs, opts ...InvokeOption) GetLargeSegmentResultOutput

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

    public static class GetLargeSegment 
    {
        public static Task<GetLargeSegmentResult> InvokeAsync(GetLargeSegmentArgs args, InvokeOptions? opts = null)
        public static Output<GetLargeSegmentResult> Invoke(GetLargeSegmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLargeSegmentResult> getLargeSegment(GetLargeSegmentArgs args, InvokeOptions options)
    public static Output<GetLargeSegmentResult> getLargeSegment(GetLargeSegmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:fme/getLargeSegment:getLargeSegment
      arguments:
        # arguments dictionary
    data "harness_fme_getlargesegment" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Large segment name in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    Name string
    Large segment name in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    name string
    Large segment name in Split.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    name String
    Large segment name in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    name string
    Large segment name in Split.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    name str
    Large segment name in Split.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    name String
    Large segment name in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.

    getLargeSegment Result

    The following output properties are available:

    Description string
    Large segment description.
    Id string
    The provider-assigned unique ID for this managed resource.
    LargeSegmentId string
    The Split large segment ID (same as id).
    Name string
    Large segment name in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID for this large segment.
    Description string
    Large segment description.
    Id string
    The provider-assigned unique ID for this managed resource.
    LargeSegmentId string
    The Split large segment ID (same as id).
    Name string
    Large segment name in Split.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID for this large segment.
    description string
    Large segment description.
    id string
    The provider-assigned unique ID for this managed resource.
    large_segment_id string
    The Split large segment ID (same as id).
    name string
    Large segment name in Split.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    Split traffic type ID for this large segment.
    description String
    Large segment description.
    id String
    The provider-assigned unique ID for this managed resource.
    largeSegmentId String
    The Split large segment ID (same as id).
    name String
    Large segment name in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID for this large segment.
    description string
    Large segment description.
    id string
    The provider-assigned unique ID for this managed resource.
    largeSegmentId string
    The Split large segment ID (same as id).
    name string
    Large segment name in Split.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    Split traffic type ID for this large segment.
    description str
    Large segment description.
    id str
    The provider-assigned unique ID for this managed resource.
    large_segment_id str
    The Split large segment ID (same as id).
    name str
    Large segment name in Split.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    Split traffic type ID for this large segment.
    description String
    Large segment description.
    id String
    The provider-assigned unique ID for this managed resource.
    largeSegmentId String
    The Split large segment ID (same as id).
    name String
    Large segment name in Split.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID for this large segment.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.12.1
    published on Thursday, May 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial