1. Registry
  2. Packages
  3. threefold
  4. API Docs
  5. GatewayFQDN
Viewing docs for Threefold Grid v0.8.4
published on Thursday, Mar 26, 2026 by Threefold
threefold logo Threefold Grid
Viewing docs for Threefold Grid v0.8.4
published on Thursday, Mar 26, 2026 by Threefold

    Create GatewayFQDN Resource

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

    Constructor syntax

    new GatewayFQDN(name: string, args: GatewayFQDNArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayFQDN(resource_name: str,
                    args: GatewayFQDNArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayFQDN(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    backends: Optional[Sequence[str]] = None,
                    fqdn: Optional[str] = None,
                    name: Optional[str] = None,
                    node_id: Optional[Any] = None,
                    description: Optional[str] = None,
                    network_name: Optional[str] = None,
                    solution_type: Optional[str] = None,
                    tls_pass_through: Optional[bool] = None)
    func NewGatewayFQDN(ctx *Context, name string, args GatewayFQDNArgs, opts ...ResourceOption) (*GatewayFQDN, error)
    public GatewayFQDN(string name, GatewayFQDNArgs args, CustomResourceOptions? opts = null)
    public GatewayFQDN(String name, GatewayFQDNArgs args)
    public GatewayFQDN(String name, GatewayFQDNArgs args, CustomResourceOptions options)
    
    type: threefold:GatewayFQDN
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "threefold_gateway_f_q_d_n" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GatewayFQDNArgs
    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 GatewayFQDNArgs
    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 GatewayFQDNArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayFQDNArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayFQDNArgs
    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 gatewayFQDNResource = new Threefold.GatewayFQDN("gatewayFQDNResource", new()
    {
        Backends = new[]
        {
            "string",
        },
        Fqdn = "string",
        Name = "string",
        Node_id = "any",
        Description = "string",
        Network_name = "string",
        Solution_type = "string",
        Tls_pass_through = false,
    });
    
    example, err := threefold.NewGatewayFQDN(ctx, "gatewayFQDNResource", &threefold.GatewayFQDNArgs{
    	Backends: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Fqdn:             pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Node_id:          pulumi.Any("any"),
    	Description:      pulumi.String("string"),
    	Network_name:     pulumi.String("string"),
    	Solution_type:    pulumi.String("string"),
    	Tls_pass_through: pulumi.Bool(false),
    })
    
    resource "threefold_gateway_f_q_d_n" "gatewayFQDNResource" {
      lifecycle {
        create_before_destroy = true
      }
      backends         = ["string"]
      fqdn             = "string"
      name             = "string"
      node_id          = "any"
      description      = "string"
      network_name     = "string"
      solution_type    = "string"
      tls_pass_through = false
    }
    
    var gatewayFQDNResource = new GatewayFQDN("gatewayFQDNResource", GatewayFQDNArgs.builder()
        .backends("string")
        .fqdn("string")
        .name("string")
        .node_id("any")
        .description("string")
        .network_name("string")
        .solution_type("string")
        .tls_pass_through(false)
        .build());
    
    gateway_fqdn_resource = threefold.GatewayFQDN("gatewayFQDNResource",
        backends=["string"],
        fqdn="string",
        name="string",
        node_id="any",
        description="string",
        network_name="string",
        solution_type="string",
        tls_pass_through=False)
    
    const gatewayFQDNResource = new threefold.GatewayFQDN("gatewayFQDNResource", {
        backends: ["string"],
        fqdn: "string",
        name: "string",
        node_id: "any",
        description: "string",
        network_name: "string",
        solution_type: "string",
        tls_pass_through: false,
    });
    
    type: threefold:GatewayFQDN
    properties:
        backends:
            - string
        description: string
        fqdn: string
        name: string
        network_name: string
        node_id: any
        solution_type: string
        tls_pass_through: false
    

    GatewayFQDN 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 GatewayFQDN resource accepts the following input properties:

    Backends List<string>
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    Fqdn string
    The fully qualified domain name of the deployed workload
    Name string
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    Node_id object
    The gateway's node ID
    Description string
    The description of the virtual machine workload, optional with no restrictions
    Network_name string
    Network name to join, if backend IP is private
    Solution_type string
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    Tls_pass_through bool
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    Backends []string
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    Fqdn string
    The fully qualified domain name of the deployed workload
    Name string
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    Node_id interface{}
    The gateway's node ID
    Description string
    The description of the virtual machine workload, optional with no restrictions
    Network_name string
    Network name to join, if backend IP is private
    Solution_type string
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    Tls_pass_through bool
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    backends list(string)
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    fqdn string
    The fully qualified domain name of the deployed workload
    name string
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    node_id any
    The gateway's node ID
    description string
    The description of the virtual machine workload, optional with no restrictions
    network_name string
    Network name to join, if backend IP is private
    solution_type string
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    tls_pass_through bool
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    backends List<String>
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    fqdn String
    The fully qualified domain name of the deployed workload
    name String
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    node_id Object
    The gateway's node ID
    description String
    The description of the virtual machine workload, optional with no restrictions
    network_name String
    Network name to join, if backend IP is private
    solution_type String
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    tls_pass_through Boolean
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    backends string[]
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    fqdn string
    The fully qualified domain name of the deployed workload
    name string
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    node_id any
    The gateway's node ID
    description string
    The description of the virtual machine workload, optional with no restrictions
    network_name string
    Network name to join, if backend IP is private
    solution_type string
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    tls_pass_through boolean
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    backends Sequence[str]
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    fqdn str
    The fully qualified domain name of the deployed workload
    name str
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    node_id Any
    The gateway's node ID
    description str
    The description of the virtual machine workload, optional with no restrictions
    network_name str
    Network name to join, if backend IP is private
    solution_type str
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    tls_pass_through bool
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service
    backends List<String>
    The backends of the gateway proxy. must be in the format ip:port if tls_passthrough is set, otherwise the format should be http://ip[:port]
    fqdn String
    The fully qualified domain name of the deployed workload
    name String
    Gateway workload name. This has to be unique within the deployment. It's required and cannot exceed 50 characters. Must contain only alphanumeric and underscore characters
    node_id Any
    The gateway's node ID
    description String
    The description of the virtual machine workload, optional with no restrictions
    network_name String
    Network name to join, if backend IP is private
    solution_type String
    The name of the solution for created contract to be consistent across threefold tooling (project name in deployment metadata)
    tls_pass_through Boolean
    TLS passthrough controls the TLS termination, if false, the gateway will terminate the TLS, if True, it will only be terminated by the backend service

    Outputs

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

    Contract_id int
    The deployment ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Node_deployment_id Dictionary<string, int>
    Mapping from each node to its deployment ID
    Contract_id int
    The deployment ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Node_deployment_id map[string]int
    Mapping from each node to its deployment ID
    contract_id number
    The deployment ID
    id string
    The provider-assigned unique ID for this managed resource.
    node_deployment_id map(number)
    Mapping from each node to its deployment ID
    contract_id Integer
    The deployment ID
    id String
    The provider-assigned unique ID for this managed resource.
    node_deployment_id Map<String,Integer>
    Mapping from each node to its deployment ID
    contract_id number
    The deployment ID
    id string
    The provider-assigned unique ID for this managed resource.
    node_deployment_id {[key: string]: number}
    Mapping from each node to its deployment ID
    contract_id int
    The deployment ID
    id str
    The provider-assigned unique ID for this managed resource.
    node_deployment_id Mapping[str, int]
    Mapping from each node to its deployment ID
    contract_id Number
    The deployment ID
    id String
    The provider-assigned unique ID for this managed resource.
    node_deployment_id Map<Number>
    Mapping from each node to its deployment ID

    Look up Existing GatewayFQDN Resource

    Get an existing GatewayFQDN 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>, opts?: CustomResourceOptions): GatewayFQDN
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> GatewayFQDN
    func GetGatewayFQDN(ctx *Context, name string, id IDInput, state *GatewayFQDNState, opts ...ResourceOption) (*GatewayFQDN, error)
    public static GatewayFQDN Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static GatewayFQDN get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingGatewayFQDN:    type: threefold:GatewayFQDN    get:      id: ${id}
    import {
      to = threefold_gateway_f_q_d_n.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state GatewayFQDNState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    threefold threefoldtech/pulumi-threefold
    License
    Apache-2.0
    threefold logo Threefold Grid
    Viewing docs for Threefold Grid v0.8.4
    published on Thursday, Mar 26, 2026 by Threefold

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial