published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 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:
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Traffic
Type stringId - 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 stringId - 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_ stringid - 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 StringId - 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 stringId - 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_ strid - 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.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- traffic
Type StringId - 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.
- Large
Segment stringId - Split large segment id when returned by the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Large
Segment stringId - Split large segment id when returned by the API.
- id string
- The provider-assigned unique ID for this managed resource.
- large_
segment_ stringid - Split large segment id when returned by the API.
- id String
- The provider-assigned unique ID for this managed resource.
- large
Segment StringId - Split large segment id when returned by the API.
- id string
- The provider-assigned unique ID for this managed resource.
- large
Segment stringId - Split large segment id when returned by the API.
- id str
- The provider-assigned unique ID for this managed resource.
- large_
segment_ strid - Split large segment id when returned by the API.
- id String
- The provider-assigned unique ID for this managed resource.
- large
Segment StringId - 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) -> FmeLargeSegmentfunc 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.
- 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 stringId - 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 stringId - 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 stringId - 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 stringId - 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_ stringid - 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_ stringid - 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 StringId - 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 StringId - 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 stringId - 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 stringId - 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_ strid - 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_ strid - 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 StringId - 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 StringId - Split traffic type ID.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Thursday, May 21, 2026 by Pulumi