published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 2026 by Pulumi
Create and delete a Harness FME (Split) traffic type. Import id format: org_id/project_id/traffic_type_id.
Create FmeTrafficType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FmeTrafficType(name: string, args: FmeTrafficTypeArgs, opts?: CustomResourceOptions);@overload
def FmeTrafficType(resource_name: str,
args: FmeTrafficTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FmeTrafficType(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
display_attribute_id: Optional[str] = None,
name: Optional[str] = None)func NewFmeTrafficType(ctx *Context, name string, args FmeTrafficTypeArgs, opts ...ResourceOption) (*FmeTrafficType, error)public FmeTrafficType(string name, FmeTrafficTypeArgs args, CustomResourceOptions? opts = null)
public FmeTrafficType(String name, FmeTrafficTypeArgs args)
public FmeTrafficType(String name, FmeTrafficTypeArgs args, CustomResourceOptions options)
type: harness:fmeTrafficType:FmeTrafficType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "harness_fmetraffictype_fmetraffictype" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FmeTrafficTypeArgs
- 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 FmeTrafficTypeArgs
- 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 FmeTrafficTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FmeTrafficTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FmeTrafficTypeArgs
- 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 fmeTrafficTypeResource = new Harness.FmeTrafficType.FmeTrafficType("fmeTrafficTypeResource", new()
{
OrgId = "string",
ProjectId = "string",
DisplayAttributeId = "string",
Name = "string",
});
example, err := fmetraffictype.NewFmeTrafficType(ctx, "fmeTrafficTypeResource", &fmetraffictype.FmeTrafficTypeArgs{
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
DisplayAttributeId: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "harness_fmetraffictype_fmetraffictype" "fmeTrafficTypeResource" {
org_id = "string"
project_id = "string"
display_attribute_id = "string"
name = "string"
}
var fmeTrafficTypeResource = new FmeTrafficType("fmeTrafficTypeResource", FmeTrafficTypeArgs.builder()
.orgId("string")
.projectId("string")
.displayAttributeId("string")
.name("string")
.build());
fme_traffic_type_resource = harness.fmetraffictype.FmeTrafficType("fmeTrafficTypeResource",
org_id="string",
project_id="string",
display_attribute_id="string",
name="string")
const fmeTrafficTypeResource = new harness.fmetraffictype.FmeTrafficType("fmeTrafficTypeResource", {
orgId: "string",
projectId: "string",
displayAttributeId: "string",
name: "string",
});
type: harness:fmeTrafficType:FmeTrafficType
properties:
displayAttributeId: string
name: string
orgId: string
projectId: string
FmeTrafficType 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 FmeTrafficType resource accepts the following input properties:
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Display
Attribute stringId - Optional display attribute ID.
- Name string
- Traffic type name.
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Display
Attribute stringId - Optional display attribute ID.
- Name string
- Traffic type name.
- org_
id string - Harness organization identifier.
- project_
id string - Harness project identifier.
- display_
attribute_ stringid - Optional display attribute ID.
- name string
- Traffic type name.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- display
Attribute StringId - Optional display attribute ID.
- name String
- Traffic type name.
- org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- display
Attribute stringId - Optional display attribute ID.
- name string
- Traffic type name.
- org_
id str - Harness organization identifier.
- project_
id str - Harness project identifier.
- display_
attribute_ strid - Optional display attribute ID.
- name str
- Traffic type name.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- display
Attribute StringId - Optional display attribute ID.
- name String
- Traffic type name.
Outputs
All input properties are implicitly available as output properties. Additionally, the FmeTrafficType resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Traffic
Type stringId - The Split traffic type ID (same as
id).
- Id string
- The provider-assigned unique ID for this managed resource.
- Traffic
Type stringId - The Split traffic type ID (same as
id).
- id string
- The provider-assigned unique ID for this managed resource.
- traffic_
type_ stringid - The Split traffic type ID (same as
id).
- id String
- The provider-assigned unique ID for this managed resource.
- traffic
Type StringId - The Split traffic type ID (same as
id).
- id string
- The provider-assigned unique ID for this managed resource.
- traffic
Type stringId - The Split traffic type ID (same as
id).
- id str
- The provider-assigned unique ID for this managed resource.
- traffic_
type_ strid - The Split traffic type ID (same as
id).
- id String
- The provider-assigned unique ID for this managed resource.
- traffic
Type StringId - The Split traffic type ID (same as
id).
Look up Existing FmeTrafficType Resource
Get an existing FmeTrafficType 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?: FmeTrafficTypeState, opts?: CustomResourceOptions): FmeTrafficType@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
display_attribute_id: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
traffic_type_id: Optional[str] = None) -> FmeTrafficTypefunc GetFmeTrafficType(ctx *Context, name string, id IDInput, state *FmeTrafficTypeState, opts ...ResourceOption) (*FmeTrafficType, error)public static FmeTrafficType Get(string name, Input<string> id, FmeTrafficTypeState? state, CustomResourceOptions? opts = null)public static FmeTrafficType get(String name, Output<String> id, FmeTrafficTypeState state, CustomResourceOptions options)resources: _: type: harness:fmeTrafficType:FmeTrafficType get: id: ${id}import {
to = harness_fmetraffictype_fmetraffictype.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.
- Display
Attribute stringId - Optional display attribute ID.
- Name string
- Traffic type name.
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Traffic
Type stringId - The Split traffic type ID (same as
id).
- Display
Attribute stringId - Optional display attribute ID.
- Name string
- Traffic type name.
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Traffic
Type stringId - The Split traffic type ID (same as
id).
- display_
attribute_ stringid - Optional display attribute ID.
- name string
- Traffic type name.
- org_
id string - Harness organization identifier.
- project_
id string - Harness project identifier.
- traffic_
type_ stringid - The Split traffic type ID (same as
id).
- display
Attribute StringId - Optional display attribute ID.
- name String
- Traffic type name.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- traffic
Type StringId - The Split traffic type ID (same as
id).
- display
Attribute stringId - Optional display attribute ID.
- name string
- Traffic type name.
- org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- traffic
Type stringId - The Split traffic type ID (same as
id).
- display_
attribute_ strid - Optional display attribute ID.
- name str
- Traffic type name.
- org_
id str - Harness organization identifier.
- project_
id str - Harness project identifier.
- traffic_
type_ strid - The Split traffic type ID (same as
id).
- display
Attribute StringId - Optional display attribute ID.
- name String
- Traffic type name.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- traffic
Type StringId - The Split traffic type ID (same as
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, Jun 11, 2026 by Pulumi