routeros.IpUpnpInterfaces
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
test:
type: routeros:IpUpnpInterfaces
properties:
forcedExternalIp: 0.0.0.0
interface: ether1
type: external
Create IpUpnpInterfaces Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpUpnpInterfaces(name: string, args: IpUpnpInterfacesArgs, opts?: CustomResourceOptions);
@overload
def IpUpnpInterfaces(resource_name: str,
args: IpUpnpInterfacesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpUpnpInterfaces(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface: Optional[str] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___unset_: Optional[str] = None,
disabled: Optional[bool] = None,
forced_ip: Optional[str] = None,
ip_upnp_interfaces_id: Optional[str] = None,
type: Optional[str] = None)
func NewIpUpnpInterfaces(ctx *Context, name string, args IpUpnpInterfacesArgs, opts ...ResourceOption) (*IpUpnpInterfaces, error)
public IpUpnpInterfaces(string name, IpUpnpInterfacesArgs args, CustomResourceOptions? opts = null)
public IpUpnpInterfaces(String name, IpUpnpInterfacesArgs args)
public IpUpnpInterfaces(String name, IpUpnpInterfacesArgs args, CustomResourceOptions options)
type: routeros:IpUpnpInterfaces
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 IpUpnpInterfacesArgs
- 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 IpUpnpInterfacesArgs
- 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 IpUpnpInterfacesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpUpnpInterfacesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpUpnpInterfacesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IpUpnpInterfaces 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 IpUpnpInterfaces resource accepts the following input properties:
- Interface string
- Interface name on which uPnP will be running.
- Disabled bool
- Forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- Ip
Upnp stringInterfaces Id - Type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- Interface string
- Interface name on which uPnP will be running.
- Disabled bool
- Forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- Ip
Upnp stringInterfaces Id - Type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- interface_ String
- Interface name on which uPnP will be running.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ String - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled Boolean
- forced
Ip String - Allow specifying what public IP to use if the external interface has more than one IP available.
- ip
Upnp StringInterfaces Id - type String
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- interface string
- Interface name on which uPnP will be running.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled boolean
- forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- ip
Upnp stringInterfaces Id - type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- interface str
- Interface name on which uPnP will be running.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ str - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled bool
- forced_
ip str - Allow specifying what public IP to use if the external interface has more than one IP available.
- ip_
upnp_ strinterfaces_ id - type str
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- interface String
- Interface name on which uPnP will be running.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ String - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled Boolean
- forced
Ip String - Allow specifying what public IP to use if the external interface has more than one IP available.
- ip
Upnp StringInterfaces Id - type String
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
Outputs
All input properties are implicitly available as output properties. Additionally, the IpUpnpInterfaces resource produces the following output properties:
Look up Existing IpUpnpInterfaces Resource
Get an existing IpUpnpInterfaces 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?: IpUpnpInterfacesState, opts?: CustomResourceOptions): IpUpnpInterfaces
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___unset_: Optional[str] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
forced_ip: Optional[str] = None,
interface: Optional[str] = None,
ip_upnp_interfaces_id: Optional[str] = None,
type: Optional[str] = None) -> IpUpnpInterfaces
func GetIpUpnpInterfaces(ctx *Context, name string, id IDInput, state *IpUpnpInterfacesState, opts ...ResourceOption) (*IpUpnpInterfaces, error)
public static IpUpnpInterfaces Get(string name, Input<string> id, IpUpnpInterfacesState? state, CustomResourceOptions? opts = null)
public static IpUpnpInterfaces get(String name, Output<String> id, IpUpnpInterfacesState state, CustomResourceOptions options)
resources: _: type: routeros:IpUpnpInterfaces get: 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.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- Interface string
- Interface name on which uPnP will be running.
- Ip
Upnp stringInterfaces Id - Type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- Interface string
- Interface name on which uPnP will be running.
- Ip
Upnp stringInterfaces Id - Type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ String - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- forced
Ip String - Allow specifying what public IP to use if the external interface has more than one IP available.
- interface_ String
- Interface name on which uPnP will be running.
- ip
Upnp StringInterfaces Id - type String
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ string - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- forced
Ip string - Allow specifying what public IP to use if the external interface has more than one IP available.
- interface string
- Interface name on which uPnP will be running.
- ip
Upnp stringInterfaces Id - type string
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ str - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled bool
- dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- forced_
ip str - Allow specifying what public IP to use if the external interface has more than one IP available.
- interface str
- Interface name on which uPnP will be running.
- ip_
upnp_ strinterfaces_ id - type str
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
unset_ String - A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- forced
Ip String - Allow specifying what public IP to use if the external interface has more than one IP available.
- interface String
- Interface name on which uPnP will be running.
- ip
Upnp StringInterfaces Id - type String
- UPnP interface type: * external - the interface a global IP address is assigned to * internal - router's local interface the clients are connected to
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/upnp/interfaces get [print show-ids]]
$ pulumi import routeros:index/ipUpnpInterfaces:IpUpnpInterfaces test '*1'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.