Threefold Grid v0.8.1 published on Wednesday, Nov 6, 2024 by Threefold
threefold.GatewayFQDN
Explore with Pulumi AI
Threefold Grid v0.8.1 published on Wednesday, Nov 6, 2024 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.
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),
})
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_ boolthrough - 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_ boolthrough - 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_ Booleanthrough - 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_ booleanthrough - 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_ boolthrough - 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_ Booleanthrough - 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_ Dictionary<string, int>id - 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_ map[string]intid - 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_ Map<String,Integer>id - 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_ {[key: string]: number}id - 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_ Mapping[str, int]id - 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_ Map<Number>id - Mapping from each node to its deployment ID
Package Details
- Repository
- threefold threefoldtech/pulumi-threefold
- License
- Apache-2.0
Threefold Grid v0.8.1 published on Wednesday, Nov 6, 2024 by Threefold