1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. fmeTrafficType
  6. FmeTrafficType
Viewing docs for Harness v0.14.2
published on Thursday, Jun 11, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.14.2
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:

    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    DisplayAttributeId string
    Optional display attribute ID.
    Name string
    Traffic type name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    DisplayAttributeId string
    Optional display attribute ID.
    Name string
    Traffic type name.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    display_attribute_id string
    Optional display attribute ID.
    name string
    Traffic type name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    displayAttributeId String
    Optional display attribute ID.
    name String
    Traffic type name.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    displayAttributeId string
    Optional display attribute ID.
    name string
    Traffic type name.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    display_attribute_id str
    Optional display attribute ID.
    name str
    Traffic type name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    displayAttributeId String
    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.
    TrafficTypeId string
    The Split traffic type ID (same as id).
    Id string
    The provider-assigned unique ID for this managed resource.
    TrafficTypeId string
    The Split traffic type ID (same as id).
    id string
    The provider-assigned unique ID for this managed resource.
    traffic_type_id string
    The Split traffic type ID (same as id).
    id String
    The provider-assigned unique ID for this managed resource.
    trafficTypeId String
    The Split traffic type ID (same as id).
    id string
    The provider-assigned unique ID for this managed resource.
    trafficTypeId string
    The Split traffic type ID (same as id).
    id str
    The provider-assigned unique ID for this managed resource.
    traffic_type_id str
    The Split traffic type ID (same as id).
    id String
    The provider-assigned unique ID for this managed resource.
    trafficTypeId String
    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) -> FmeTrafficType
    func 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.
    The following state arguments are supported:
    DisplayAttributeId string
    Optional display attribute ID.
    Name string
    Traffic type name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    The Split traffic type ID (same as id).
    DisplayAttributeId string
    Optional display attribute ID.
    Name string
    Traffic type name.
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    The Split traffic type ID (same as id).
    display_attribute_id string
    Optional display attribute ID.
    name string
    Traffic type name.
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    The Split traffic type ID (same as id).
    displayAttributeId String
    Optional display attribute ID.
    name String
    Traffic type name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    The Split traffic type ID (same as id).
    displayAttributeId string
    Optional display attribute ID.
    name string
    Traffic type name.
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    The Split traffic type ID (same as id).
    display_attribute_id str
    Optional display attribute ID.
    name str
    Traffic type name.
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    The Split traffic type ID (same as id).
    displayAttributeId String
    Optional display attribute ID.
    name String
    Traffic type name.
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    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 harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.14.2
    published on Thursday, Jun 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial