1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. fmeLargeSegment
  6. FmeLargeSegment
Viewing docs for Harness v0.13.0
published on Friday, May 22, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.13.0
published on Friday, May 22, 2026 by Pulumi

    Create and delete a Harness FME (Split) large segment at workspace scope. Use harness.fmeLargeSegment.EnvironmentAssociation for each environment where the segment should have a definition. Import id format: org_id/project_id/segment_name.

    Create FmeLargeSegment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FmeLargeSegment(name: string, args: FmeLargeSegmentArgs, opts?: CustomResourceOptions);
    @overload
    def FmeLargeSegment(resource_name: str,
                        args: FmeLargeSegmentArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FmeLargeSegment(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        org_id: Optional[str] = None,
                        project_id: Optional[str] = None,
                        traffic_type_id: Optional[str] = None,
                        description: Optional[str] = None,
                        name: Optional[str] = None)
    func NewFmeLargeSegment(ctx *Context, name string, args FmeLargeSegmentArgs, opts ...ResourceOption) (*FmeLargeSegment, error)
    public FmeLargeSegment(string name, FmeLargeSegmentArgs args, CustomResourceOptions? opts = null)
    public FmeLargeSegment(String name, FmeLargeSegmentArgs args)
    public FmeLargeSegment(String name, FmeLargeSegmentArgs args, CustomResourceOptions options)
    
    type: harness:fmeLargeSegment:FmeLargeSegment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_fmelargesegment_fmelargesegment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FmeLargeSegmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FmeLargeSegmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FmeLargeSegmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FmeLargeSegmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FmeLargeSegmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var fmeLargeSegmentResource = new Harness.FmeLargeSegment.FmeLargeSegment("fmeLargeSegmentResource", new()
    {
        OrgId = "string",
        ProjectId = "string",
        TrafficTypeId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := fmelargesegment.NewFmeLargeSegment(ctx, "fmeLargeSegmentResource", &fmelargesegment.FmeLargeSegmentArgs{
    	OrgId:         pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	TrafficTypeId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	Name:          pulumi.String("string"),
    })
    
    resource "harness_fmelargesegment_fmelargesegment" "fmeLargeSegmentResource" {
      org_id          = "string"
      project_id      = "string"
      traffic_type_id = "string"
      description     = "string"
      name            = "string"
    }
    
    var fmeLargeSegmentResource = new FmeLargeSegment("fmeLargeSegmentResource", FmeLargeSegmentArgs.builder()
        .orgId("string")
        .projectId("string")
        .trafficTypeId("string")
        .description("string")
        .name("string")
        .build());
    
    fme_large_segment_resource = harness.fmelargesegment.FmeLargeSegment("fmeLargeSegmentResource",
        org_id="string",
        project_id="string",
        traffic_type_id="string",
        description="string",
        name="string")
    
    const fmeLargeSegmentResource = new harness.fmelargesegment.FmeLargeSegment("fmeLargeSegmentResource", {
        orgId: "string",
        projectId: "string",
        trafficTypeId: "string",
        description: "string",
        name: "string",
    });
    
    type: harness:fmeLargeSegment:FmeLargeSegment
    properties:
        description: string
        name: string
        orgId: string
        projectId: string
        trafficTypeId: string
    

    FmeLargeSegment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FmeLargeSegment resource accepts the following input properties:

    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    Name string
    Large segment name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    Name string
    Large segment name.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    Split traffic type ID.
    description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    name string
    Large segment name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    name String
    Large segment name.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    Split traffic type ID.
    description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    name string
    Large segment name.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    Split traffic type ID.
    description str
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    name str
    Large segment name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    name String
    Large segment name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FmeLargeSegment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LargeSegmentId string
    Split large segment id when returned by the API.
    Id string
    The provider-assigned unique ID for this managed resource.
    LargeSegmentId string
    Split large segment id when returned by the API.
    id string
    The provider-assigned unique ID for this managed resource.
    large_segment_id string
    Split large segment id when returned by the API.
    id String
    The provider-assigned unique ID for this managed resource.
    largeSegmentId String
    Split large segment id when returned by the API.
    id string
    The provider-assigned unique ID for this managed resource.
    largeSegmentId string
    Split large segment id when returned by the API.
    id str
    The provider-assigned unique ID for this managed resource.
    large_segment_id str
    Split large segment id when returned by the API.
    id String
    The provider-assigned unique ID for this managed resource.
    largeSegmentId String
    Split large segment id when returned by the API.

    Look up Existing FmeLargeSegment Resource

    Get an existing FmeLargeSegment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FmeLargeSegmentState, opts?: CustomResourceOptions): FmeLargeSegment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            large_segment_id: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            traffic_type_id: Optional[str] = None) -> FmeLargeSegment
    func GetFmeLargeSegment(ctx *Context, name string, id IDInput, state *FmeLargeSegmentState, opts ...ResourceOption) (*FmeLargeSegment, error)
    public static FmeLargeSegment Get(string name, Input<string> id, FmeLargeSegmentState? state, CustomResourceOptions? opts = null)
    public static FmeLargeSegment get(String name, Output<String> id, FmeLargeSegmentState state, CustomResourceOptions options)
    resources:  _:    type: harness:fmeLargeSegment:FmeLargeSegment    get:      id: ${id}
    import {
      to = harness_fmelargesegment_fmelargesegment.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    LargeSegmentId string
    Split large segment id when returned by the API.
    Name string
    Large segment name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    LargeSegmentId string
    Split large segment id when returned by the API.
    Name string
    Large segment name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    large_segment_id string
    Split large segment id when returned by the API.
    name string
    Large segment name.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    Split traffic type ID.
    description String
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    largeSegmentId String
    Split large segment id when returned by the API.
    name String
    Large segment name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description string
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    largeSegmentId string
    Split large segment id when returned by the API.
    name string
    Large segment name.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    Split traffic type ID.
    description str
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    large_segment_id str
    Split large segment id when returned by the API.
    name str
    Large segment name.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    Split traffic type ID.
    description String
    Large segment description. Set when the segment is created; changing this value forces replacement (destroy and recreate), not an in-place Split API update.
    largeSegmentId String
    Split large segment id when returned by the API.
    name String
    Large segment name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.

    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.13.0
    published on Friday, May 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial