1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallVip46Realservers
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectFirewallVip46Realservers

Explore with Pulumi AI

Real servers.

This resource is a sub resource for variable realservers of resource fortimanager.ObjectFirewallVip46. Conflict and overwrite may occur if use both of them.

Create ObjectFirewallVip46Realservers Resource

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

Constructor syntax

new ObjectFirewallVip46Realservers(name: string, args: ObjectFirewallVip46RealserversArgs, opts?: CustomResourceOptions);
@overload
def ObjectFirewallVip46Realservers(resource_name: str,
                                   args: ObjectFirewallVip46RealserversArgs,
                                   opts: Optional[ResourceOptions] = None)

@overload
def ObjectFirewallVip46Realservers(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   vip46: Optional[str] = None,
                                   max_connections: Optional[float] = None,
                                   fosid: Optional[float] = None,
                                   healthcheck: Optional[str] = None,
                                   holddown_interval: Optional[float] = None,
                                   ip: Optional[str] = None,
                                   adom: Optional[str] = None,
                                   monitor: Optional[str] = None,
                                   object_firewall_vip46_realservers_id: Optional[str] = None,
                                   port: Optional[float] = None,
                                   scopetype: Optional[str] = None,
                                   status: Optional[str] = None,
                                   client_ip: Optional[str] = None,
                                   weight: Optional[float] = None)
func NewObjectFirewallVip46Realservers(ctx *Context, name string, args ObjectFirewallVip46RealserversArgs, opts ...ResourceOption) (*ObjectFirewallVip46Realservers, error)
public ObjectFirewallVip46Realservers(string name, ObjectFirewallVip46RealserversArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallVip46Realservers(String name, ObjectFirewallVip46RealserversArgs args)
public ObjectFirewallVip46Realservers(String name, ObjectFirewallVip46RealserversArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallVip46Realservers
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallVip46RealserversArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectFirewallVip46RealserversArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallVip46RealserversArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallVip46RealserversArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectFirewallVip46RealserversArgs
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 objectFirewallVip46RealserversResource = new Fortimanager.ObjectFirewallVip46Realservers("objectFirewallVip46RealserversResource", new()
{
    Vip46 = "string",
    MaxConnections = 0,
    Fosid = 0,
    Healthcheck = "string",
    HolddownInterval = 0,
    Ip = "string",
    Adom = "string",
    Monitor = "string",
    ObjectFirewallVip46RealserversId = "string",
    Port = 0,
    Scopetype = "string",
    Status = "string",
    ClientIp = "string",
    Weight = 0,
});
Copy
example, err := fortimanager.NewObjectFirewallVip46Realservers(ctx, "objectFirewallVip46RealserversResource", &fortimanager.ObjectFirewallVip46RealserversArgs{
Vip46: pulumi.String("string"),
MaxConnections: pulumi.Float64(0),
Fosid: pulumi.Float64(0),
Healthcheck: pulumi.String("string"),
HolddownInterval: pulumi.Float64(0),
Ip: pulumi.String("string"),
Adom: pulumi.String("string"),
Monitor: pulumi.String("string"),
ObjectFirewallVip46RealserversId: pulumi.String("string"),
Port: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
ClientIp: pulumi.String("string"),
Weight: pulumi.Float64(0),
})
Copy
var objectFirewallVip46RealserversResource = new ObjectFirewallVip46Realservers("objectFirewallVip46RealserversResource", ObjectFirewallVip46RealserversArgs.builder()
    .vip46("string")
    .maxConnections(0)
    .fosid(0)
    .healthcheck("string")
    .holddownInterval(0)
    .ip("string")
    .adom("string")
    .monitor("string")
    .objectFirewallVip46RealserversId("string")
    .port(0)
    .scopetype("string")
    .status("string")
    .clientIp("string")
    .weight(0)
    .build());
Copy
object_firewall_vip46_realservers_resource = fortimanager.ObjectFirewallVip46Realservers("objectFirewallVip46RealserversResource",
    vip46="string",
    max_connections=0,
    fosid=0,
    healthcheck="string",
    holddown_interval=0,
    ip="string",
    adom="string",
    monitor="string",
    object_firewall_vip46_realservers_id="string",
    port=0,
    scopetype="string",
    status="string",
    client_ip="string",
    weight=0)
Copy
const objectFirewallVip46RealserversResource = new fortimanager.ObjectFirewallVip46Realservers("objectFirewallVip46RealserversResource", {
    vip46: "string",
    maxConnections: 0,
    fosid: 0,
    healthcheck: "string",
    holddownInterval: 0,
    ip: "string",
    adom: "string",
    monitor: "string",
    objectFirewallVip46RealserversId: "string",
    port: 0,
    scopetype: "string",
    status: "string",
    clientIp: "string",
    weight: 0,
});
Copy
type: fortimanager:ObjectFirewallVip46Realservers
properties:
    adom: string
    clientIp: string
    fosid: 0
    healthcheck: string
    holddownInterval: 0
    ip: string
    maxConnections: 0
    monitor: string
    objectFirewallVip46RealserversId: string
    port: 0
    scopetype: string
    status: string
    vip46: string
    weight: 0
Copy

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

Vip46 This property is required. string
Vip46.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ClientIp string
Restrict server to a client IP in this range.
Fosid double
Real server ID.
Healthcheck string
Per server health check. Valid values: disable, enable, vip.
HolddownInterval double
Hold down interval.
Ip string
Mapped server IPv6.
MaxConnections double
Maximum number of connections allowed to server.
Monitor string
Health monitors.
ObjectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
Port double
Mapped server port.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Server administrative status. Valid values: active, standby, disable.
Weight double
Weight.
Vip46 This property is required. string
Vip46.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ClientIp string
Restrict server to a client IP in this range.
Fosid float64
Real server ID.
Healthcheck string
Per server health check. Valid values: disable, enable, vip.
HolddownInterval float64
Hold down interval.
Ip string
Mapped server IPv6.
MaxConnections float64
Maximum number of connections allowed to server.
Monitor string
Health monitors.
ObjectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
Port float64
Mapped server port.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Server administrative status. Valid values: active, standby, disable.
Weight float64
Weight.
vip46 This property is required. String
Vip46.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp String
Restrict server to a client IP in this range.
fosid Double
Real server ID.
healthcheck String
Per server health check. Valid values: disable, enable, vip.
holddownInterval Double
Hold down interval.
ip String
Mapped server IPv6.
maxConnections Double
Maximum number of connections allowed to server.
monitor String
Health monitors.
objectFirewallVip46RealserversId String
an identifier for the resource with format {{fosid}}.
port Double
Mapped server port.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Server administrative status. Valid values: active, standby, disable.
weight Double
Weight.
vip46 This property is required. string
Vip46.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp string
Restrict server to a client IP in this range.
fosid number
Real server ID.
healthcheck string
Per server health check. Valid values: disable, enable, vip.
holddownInterval number
Hold down interval.
ip string
Mapped server IPv6.
maxConnections number
Maximum number of connections allowed to server.
monitor string
Health monitors.
objectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
port number
Mapped server port.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Server administrative status. Valid values: active, standby, disable.
weight number
Weight.
vip46 This property is required. str
Vip46.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
client_ip str
Restrict server to a client IP in this range.
fosid float
Real server ID.
healthcheck str
Per server health check. Valid values: disable, enable, vip.
holddown_interval float
Hold down interval.
ip str
Mapped server IPv6.
max_connections float
Maximum number of connections allowed to server.
monitor str
Health monitors.
object_firewall_vip46_realservers_id str
an identifier for the resource with format {{fosid}}.
port float
Mapped server port.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Server administrative status. Valid values: active, standby, disable.
weight float
Weight.
vip46 This property is required. String
Vip46.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp String
Restrict server to a client IP in this range.
fosid Number
Real server ID.
healthcheck String
Per server health check. Valid values: disable, enable, vip.
holddownInterval Number
Hold down interval.
ip String
Mapped server IPv6.
maxConnections Number
Maximum number of connections allowed to server.
monitor String
Health monitors.
objectFirewallVip46RealserversId String
an identifier for the resource with format {{fosid}}.
port Number
Mapped server port.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Server administrative status. Valid values: active, standby, disable.
weight Number
Weight.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectFirewallVip46Realservers Resource

Get an existing ObjectFirewallVip46Realservers 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?: ObjectFirewallVip46RealserversState, opts?: CustomResourceOptions): ObjectFirewallVip46Realservers
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        client_ip: Optional[str] = None,
        fosid: Optional[float] = None,
        healthcheck: Optional[str] = None,
        holddown_interval: Optional[float] = None,
        ip: Optional[str] = None,
        max_connections: Optional[float] = None,
        monitor: Optional[str] = None,
        object_firewall_vip46_realservers_id: Optional[str] = None,
        port: Optional[float] = None,
        scopetype: Optional[str] = None,
        status: Optional[str] = None,
        vip46: Optional[str] = None,
        weight: Optional[float] = None) -> ObjectFirewallVip46Realservers
func GetObjectFirewallVip46Realservers(ctx *Context, name string, id IDInput, state *ObjectFirewallVip46RealserversState, opts ...ResourceOption) (*ObjectFirewallVip46Realservers, error)
public static ObjectFirewallVip46Realservers Get(string name, Input<string> id, ObjectFirewallVip46RealserversState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallVip46Realservers get(String name, Output<String> id, ObjectFirewallVip46RealserversState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallVip46Realservers    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ClientIp string
Restrict server to a client IP in this range.
Fosid double
Real server ID.
Healthcheck string
Per server health check. Valid values: disable, enable, vip.
HolddownInterval double
Hold down interval.
Ip string
Mapped server IPv6.
MaxConnections double
Maximum number of connections allowed to server.
Monitor string
Health monitors.
ObjectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
Port double
Mapped server port.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Server administrative status. Valid values: active, standby, disable.
Vip46 string
Vip46.
Weight double
Weight.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ClientIp string
Restrict server to a client IP in this range.
Fosid float64
Real server ID.
Healthcheck string
Per server health check. Valid values: disable, enable, vip.
HolddownInterval float64
Hold down interval.
Ip string
Mapped server IPv6.
MaxConnections float64
Maximum number of connections allowed to server.
Monitor string
Health monitors.
ObjectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
Port float64
Mapped server port.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Server administrative status. Valid values: active, standby, disable.
Vip46 string
Vip46.
Weight float64
Weight.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp String
Restrict server to a client IP in this range.
fosid Double
Real server ID.
healthcheck String
Per server health check. Valid values: disable, enable, vip.
holddownInterval Double
Hold down interval.
ip String
Mapped server IPv6.
maxConnections Double
Maximum number of connections allowed to server.
monitor String
Health monitors.
objectFirewallVip46RealserversId String
an identifier for the resource with format {{fosid}}.
port Double
Mapped server port.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Server administrative status. Valid values: active, standby, disable.
vip46 String
Vip46.
weight Double
Weight.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp string
Restrict server to a client IP in this range.
fosid number
Real server ID.
healthcheck string
Per server health check. Valid values: disable, enable, vip.
holddownInterval number
Hold down interval.
ip string
Mapped server IPv6.
maxConnections number
Maximum number of connections allowed to server.
monitor string
Health monitors.
objectFirewallVip46RealserversId string
an identifier for the resource with format {{fosid}}.
port number
Mapped server port.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Server administrative status. Valid values: active, standby, disable.
vip46 string
Vip46.
weight number
Weight.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
client_ip str
Restrict server to a client IP in this range.
fosid float
Real server ID.
healthcheck str
Per server health check. Valid values: disable, enable, vip.
holddown_interval float
Hold down interval.
ip str
Mapped server IPv6.
max_connections float
Maximum number of connections allowed to server.
monitor str
Health monitors.
object_firewall_vip46_realservers_id str
an identifier for the resource with format {{fosid}}.
port float
Mapped server port.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Server administrative status. Valid values: active, standby, disable.
vip46 str
Vip46.
weight float
Weight.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
clientIp String
Restrict server to a client IP in this range.
fosid Number
Real server ID.
healthcheck String
Per server health check. Valid values: disable, enable, vip.
holddownInterval Number
Hold down interval.
ip String
Mapped server IPv6.
maxConnections Number
Maximum number of connections allowed to server.
monitor String
Health monitors.
objectFirewallVip46RealserversId String
an identifier for the resource with format {{fosid}}.
port Number
Mapped server port.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Server administrative status. Valid values: active, standby, disable.
vip46 String
Vip46.
weight Number
Weight.

Import

ObjectFirewall Vip46Realservers can be imported using any of these accepted formats:

Set import_options = [“vip46=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallVip46Realservers:ObjectFirewallVip46Realservers labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.