1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebproxyForwardservergroupServerlist
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWebproxyForwardservergroupServerlist

Explore with Pulumi AI

Add web forward servers to a list to form a server group. Optionally assign weights to each server.

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

Create ObjectWebproxyForwardservergroupServerlist Resource

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

Constructor syntax

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

@overload
def ObjectWebproxyForwardservergroupServerlist(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               forward_server_group: Optional[str] = None,
                                               adom: Optional[str] = None,
                                               name: Optional[str] = None,
                                               object_webproxy_forwardservergroup_serverlist_id: Optional[str] = None,
                                               scopetype: Optional[str] = None,
                                               weight: Optional[float] = None)
func NewObjectWebproxyForwardservergroupServerlist(ctx *Context, name string, args ObjectWebproxyForwardservergroupServerlistArgs, opts ...ResourceOption) (*ObjectWebproxyForwardservergroupServerlist, error)
public ObjectWebproxyForwardservergroupServerlist(string name, ObjectWebproxyForwardservergroupServerlistArgs args, CustomResourceOptions? opts = null)
public ObjectWebproxyForwardservergroupServerlist(String name, ObjectWebproxyForwardservergroupServerlistArgs args)
public ObjectWebproxyForwardservergroupServerlist(String name, ObjectWebproxyForwardservergroupServerlistArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWebproxyForwardservergroupServerlist
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. ObjectWebproxyForwardservergroupServerlistArgs
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. ObjectWebproxyForwardservergroupServerlistArgs
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. ObjectWebproxyForwardservergroupServerlistArgs
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. ObjectWebproxyForwardservergroupServerlistArgs
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. ObjectWebproxyForwardservergroupServerlistArgs
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 objectWebproxyForwardservergroupServerlistResource = new Fortimanager.ObjectWebproxyForwardservergroupServerlist("objectWebproxyForwardservergroupServerlistResource", new()
{
    ForwardServerGroup = "string",
    Adom = "string",
    Name = "string",
    ObjectWebproxyForwardservergroupServerlistId = "string",
    Scopetype = "string",
    Weight = 0,
});
Copy
example, err := fortimanager.NewObjectWebproxyForwardservergroupServerlist(ctx, "objectWebproxyForwardservergroupServerlistResource", &fortimanager.ObjectWebproxyForwardservergroupServerlistArgs{
ForwardServerGroup: pulumi.String("string"),
Adom: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectWebproxyForwardservergroupServerlistId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Weight: pulumi.Float64(0),
})
Copy
var objectWebproxyForwardservergroupServerlistResource = new ObjectWebproxyForwardservergroupServerlist("objectWebproxyForwardservergroupServerlistResource", ObjectWebproxyForwardservergroupServerlistArgs.builder()
    .forwardServerGroup("string")
    .adom("string")
    .name("string")
    .objectWebproxyForwardservergroupServerlistId("string")
    .scopetype("string")
    .weight(0)
    .build());
Copy
object_webproxy_forwardservergroup_serverlist_resource = fortimanager.ObjectWebproxyForwardservergroupServerlist("objectWebproxyForwardservergroupServerlistResource",
    forward_server_group="string",
    adom="string",
    name="string",
    object_webproxy_forwardservergroup_serverlist_id="string",
    scopetype="string",
    weight=0)
Copy
const objectWebproxyForwardservergroupServerlistResource = new fortimanager.ObjectWebproxyForwardservergroupServerlist("objectWebproxyForwardservergroupServerlistResource", {
    forwardServerGroup: "string",
    adom: "string",
    name: "string",
    objectWebproxyForwardservergroupServerlistId: "string",
    scopetype: "string",
    weight: 0,
});
Copy
type: fortimanager:ObjectWebproxyForwardservergroupServerlist
properties:
    adom: string
    forwardServerGroup: string
    name: string
    objectWebproxyForwardservergroupServerlistId: string
    scopetype: string
    weight: 0
Copy

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

ForwardServerGroup This property is required. string
Forward Server Group.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Forward server name.
ObjectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
Weight double
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
ForwardServerGroup This property is required. string
Forward Server Group.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Forward server name.
ObjectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
Weight float64
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
forwardServerGroup This property is required. String
Forward Server Group.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Forward server name.
objectWebproxyForwardservergroupServerlistId String
an identifier for the resource with format {{name}}.
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.
weight Double
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
forwardServerGroup This property is required. string
Forward Server Group.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name string
Forward server name.
objectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
weight number
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
forward_server_group This property is required. str
Forward Server Group.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name str
Forward server name.
object_webproxy_forwardservergroup_serverlist_id str
an identifier for the resource with format {{name}}.
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.
weight float
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
forwardServerGroup This property is required. String
Forward Server Group.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Forward server name.
objectWebproxyForwardservergroupServerlistId String
an identifier for the resource with format {{name}}.
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.
weight Number
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWebproxyForwardservergroupServerlist 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 ObjectWebproxyForwardservergroupServerlist Resource

Get an existing ObjectWebproxyForwardservergroupServerlist 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?: ObjectWebproxyForwardservergroupServerlistState, opts?: CustomResourceOptions): ObjectWebproxyForwardservergroupServerlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        forward_server_group: Optional[str] = None,
        name: Optional[str] = None,
        object_webproxy_forwardservergroup_serverlist_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        weight: Optional[float] = None) -> ObjectWebproxyForwardservergroupServerlist
func GetObjectWebproxyForwardservergroupServerlist(ctx *Context, name string, id IDInput, state *ObjectWebproxyForwardservergroupServerlistState, opts ...ResourceOption) (*ObjectWebproxyForwardservergroupServerlist, error)
public static ObjectWebproxyForwardservergroupServerlist Get(string name, Input<string> id, ObjectWebproxyForwardservergroupServerlistState? state, CustomResourceOptions? opts = null)
public static ObjectWebproxyForwardservergroupServerlist get(String name, Output<String> id, ObjectWebproxyForwardservergroupServerlistState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWebproxyForwardservergroupServerlist    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.
ForwardServerGroup string
Forward Server Group.
Name string
Forward server name.
ObjectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
Weight double
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ForwardServerGroup string
Forward Server Group.
Name string
Forward server name.
ObjectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
Weight float64
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
forwardServerGroup String
Forward Server Group.
name String
Forward server name.
objectWebproxyForwardservergroupServerlistId String
an identifier for the resource with format {{name}}.
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.
weight Double
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
forwardServerGroup string
Forward Server Group.
name string
Forward server name.
objectWebproxyForwardservergroupServerlistId string
an identifier for the resource with format {{name}}.
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.
weight number
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
forward_server_group str
Forward Server Group.
name str
Forward server name.
object_webproxy_forwardservergroup_serverlist_id str
an identifier for the resource with format {{name}}.
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.
weight float
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
forwardServerGroup String
Forward Server Group.
name String
Forward server name.
objectWebproxyForwardservergroupServerlistId String
an identifier for the resource with format {{name}}.
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.
weight Number
Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)

Import

ObjectWebProxy ForwardServerGroupServerList can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWebproxyForwardservergroupServerlist:ObjectWebproxyForwardservergroupServerlist labelname {{name}}
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.