fortimanager.ObjectFirewallInternetservice
Explore with Pulumi AI
Show Internet Service application.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
entry
:fortimanager.ObjectFirewallInternetserviceEntry
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.ObjectFirewallInternetservice("trname", {fosid: 65539});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectFirewallInternetservice("trname", fosid=65539)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fortimanager.NewObjectFirewallInternetservice(ctx, "trname", &fortimanager.ObjectFirewallInternetserviceArgs{
Fosid: pulumi.Float64(65539),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() =>
{
var trname = new Fortimanager.ObjectFirewallInternetservice("trname", new()
{
Fosid = 65539,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFirewallInternetservice;
import com.pulumi.fortimanager.ObjectFirewallInternetserviceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new ObjectFirewallInternetservice("trname", ObjectFirewallInternetserviceArgs.builder()
.fosid(65539)
.build());
}
}
resources:
trname:
type: fortimanager:ObjectFirewallInternetservice
properties:
fosid: 65539
Create ObjectFirewallInternetservice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallInternetservice(name: string, args?: ObjectFirewallInternetserviceArgs, opts?: CustomResourceOptions);
@overload
def ObjectFirewallInternetservice(resource_name: str,
args: Optional[ObjectFirewallInternetserviceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallInternetservice(resource_name: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
cities: Optional[Sequence[float]] = None,
city6s: Optional[Sequence[float]] = None,
countries: Optional[Sequence[float]] = None,
country6s: Optional[Sequence[float]] = None,
database: Optional[str] = None,
direction: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
entries: Optional[Sequence[ObjectFirewallInternetserviceEntryArgs]] = None,
extra_ip6_range_number: Optional[float] = None,
extra_ip_range_number: Optional[float] = None,
fosid: Optional[float] = None,
icon_id: Optional[float] = None,
ip6_range_number: Optional[float] = None,
ip_number: Optional[float] = None,
ip_range_number: Optional[float] = None,
jitter_threshold: Optional[float] = None,
latency_threshold: Optional[float] = None,
name: Optional[str] = None,
object_firewall_internetservice_id: Optional[str] = None,
obsolete: Optional[float] = None,
offset: Optional[float] = None,
packetloss_threshold: Optional[float] = None,
region6s: Optional[Sequence[float]] = None,
regions: Optional[Sequence[float]] = None,
reputation: Optional[float] = None,
scopetype: Optional[str] = None,
singularity: Optional[float] = None,
sld_id: Optional[float] = None)
func NewObjectFirewallInternetservice(ctx *Context, name string, args *ObjectFirewallInternetserviceArgs, opts ...ResourceOption) (*ObjectFirewallInternetservice, error)
public ObjectFirewallInternetservice(string name, ObjectFirewallInternetserviceArgs? args = null, CustomResourceOptions? opts = null)
public ObjectFirewallInternetservice(String name, ObjectFirewallInternetserviceArgs args)
public ObjectFirewallInternetservice(String name, ObjectFirewallInternetserviceArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallInternetservice
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 ObjectFirewallInternetserviceArgs
- 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 ObjectFirewallInternetserviceArgs
- 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 ObjectFirewallInternetserviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallInternetserviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallInternetserviceArgs
- 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 objectFirewallInternetserviceResource = new Fortimanager.ObjectFirewallInternetservice("objectFirewallInternetserviceResource", new()
{
Adom = "string",
Cities = new[]
{
0,
},
City6s = new[]
{
0,
},
Countries = new[]
{
0,
},
Country6s = new[]
{
0,
},
Database = "string",
Direction = "string",
DynamicSortSubtable = "string",
Entries = new[]
{
new Fortimanager.Inputs.ObjectFirewallInternetserviceEntryArgs
{
Id = 0,
IpNumber = 0,
IpRangeNumber = 0,
Ports = new[]
{
0,
},
Protocol = 0,
},
},
ExtraIp6RangeNumber = 0,
ExtraIpRangeNumber = 0,
Fosid = 0,
IconId = 0,
Ip6RangeNumber = 0,
IpNumber = 0,
IpRangeNumber = 0,
JitterThreshold = 0,
LatencyThreshold = 0,
Name = "string",
ObjectFirewallInternetserviceId = "string",
Obsolete = 0,
Offset = 0,
PacketlossThreshold = 0,
Region6s = new[]
{
0,
},
Regions = new[]
{
0,
},
Reputation = 0,
Scopetype = "string",
Singularity = 0,
SldId = 0,
});
example, err := fortimanager.NewObjectFirewallInternetservice(ctx, "objectFirewallInternetserviceResource", &fortimanager.ObjectFirewallInternetserviceArgs{
Adom: pulumi.String("string"),
Cities: pulumi.Float64Array{
pulumi.Float64(0),
},
City6s: pulumi.Float64Array{
pulumi.Float64(0),
},
Countries: pulumi.Float64Array{
pulumi.Float64(0),
},
Country6s: pulumi.Float64Array{
pulumi.Float64(0),
},
Database: pulumi.String("string"),
Direction: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Entries: .ObjectFirewallInternetserviceEntryTypeArray{
&.ObjectFirewallInternetserviceEntryTypeArgs{
Id: pulumi.Float64(0),
IpNumber: pulumi.Float64(0),
IpRangeNumber: pulumi.Float64(0),
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
Protocol: pulumi.Float64(0),
},
},
ExtraIp6RangeNumber: pulumi.Float64(0),
ExtraIpRangeNumber: pulumi.Float64(0),
Fosid: pulumi.Float64(0),
IconId: pulumi.Float64(0),
Ip6RangeNumber: pulumi.Float64(0),
IpNumber: pulumi.Float64(0),
IpRangeNumber: pulumi.Float64(0),
JitterThreshold: pulumi.Float64(0),
LatencyThreshold: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectFirewallInternetserviceId: pulumi.String("string"),
Obsolete: pulumi.Float64(0),
Offset: pulumi.Float64(0),
PacketlossThreshold: pulumi.Float64(0),
Region6s: pulumi.Float64Array{
pulumi.Float64(0),
},
Regions: pulumi.Float64Array{
pulumi.Float64(0),
},
Reputation: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Singularity: pulumi.Float64(0),
SldId: pulumi.Float64(0),
})
var objectFirewallInternetserviceResource = new ObjectFirewallInternetservice("objectFirewallInternetserviceResource", ObjectFirewallInternetserviceArgs.builder()
.adom("string")
.cities(0)
.city6s(0)
.countries(0)
.country6s(0)
.database("string")
.direction("string")
.dynamicSortSubtable("string")
.entries(ObjectFirewallInternetserviceEntryArgs.builder()
.id(0)
.ipNumber(0)
.ipRangeNumber(0)
.ports(0)
.protocol(0)
.build())
.extraIp6RangeNumber(0)
.extraIpRangeNumber(0)
.fosid(0)
.iconId(0)
.ip6RangeNumber(0)
.ipNumber(0)
.ipRangeNumber(0)
.jitterThreshold(0)
.latencyThreshold(0)
.name("string")
.objectFirewallInternetserviceId("string")
.obsolete(0)
.offset(0)
.packetlossThreshold(0)
.region6s(0)
.regions(0)
.reputation(0)
.scopetype("string")
.singularity(0)
.sldId(0)
.build());
object_firewall_internetservice_resource = fortimanager.ObjectFirewallInternetservice("objectFirewallInternetserviceResource",
adom="string",
cities=[0],
city6s=[0],
countries=[0],
country6s=[0],
database="string",
direction="string",
dynamic_sort_subtable="string",
entries=[{
"id": 0,
"ip_number": 0,
"ip_range_number": 0,
"ports": [0],
"protocol": 0,
}],
extra_ip6_range_number=0,
extra_ip_range_number=0,
fosid=0,
icon_id=0,
ip6_range_number=0,
ip_number=0,
ip_range_number=0,
jitter_threshold=0,
latency_threshold=0,
name="string",
object_firewall_internetservice_id="string",
obsolete=0,
offset=0,
packetloss_threshold=0,
region6s=[0],
regions=[0],
reputation=0,
scopetype="string",
singularity=0,
sld_id=0)
const objectFirewallInternetserviceResource = new fortimanager.ObjectFirewallInternetservice("objectFirewallInternetserviceResource", {
adom: "string",
cities: [0],
city6s: [0],
countries: [0],
country6s: [0],
database: "string",
direction: "string",
dynamicSortSubtable: "string",
entries: [{
id: 0,
ipNumber: 0,
ipRangeNumber: 0,
ports: [0],
protocol: 0,
}],
extraIp6RangeNumber: 0,
extraIpRangeNumber: 0,
fosid: 0,
iconId: 0,
ip6RangeNumber: 0,
ipNumber: 0,
ipRangeNumber: 0,
jitterThreshold: 0,
latencyThreshold: 0,
name: "string",
objectFirewallInternetserviceId: "string",
obsolete: 0,
offset: 0,
packetlossThreshold: 0,
region6s: [0],
regions: [0],
reputation: 0,
scopetype: "string",
singularity: 0,
sldId: 0,
});
type: fortimanager:ObjectFirewallInternetservice
properties:
adom: string
cities:
- 0
city6s:
- 0
countries:
- 0
country6s:
- 0
database: string
direction: string
dynamicSortSubtable: string
entries:
- id: 0
ipNumber: 0
ipRangeNumber: 0
ports:
- 0
protocol: 0
extraIp6RangeNumber: 0
extraIpRangeNumber: 0
fosid: 0
iconId: 0
ip6RangeNumber: 0
ipNumber: 0
ipRangeNumber: 0
jitterThreshold: 0
latencyThreshold: 0
name: string
objectFirewallInternetserviceId: string
obsolete: 0
offset: 0
packetlossThreshold: 0
region6s:
- 0
regions:
- 0
reputation: 0
scopetype: string
singularity: 0
sldId: 0
ObjectFirewallInternetservice 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 ObjectFirewallInternetservice resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Cities List<double>
- City sequence number list.
- City6s List<double>
- IPv6 City sequence number list.
- Countries List<double>
- Country sequence number list.
- Country6s List<double>
- IPv6 Country sequence number list.
- Database string
- Database. Valid values:
isdb
,irdb
. - Direction string
- Direction. Valid values:
src
,dst
,both
. - Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Entries
List<Object
Firewall Internetservice Entry> - Entry. The structure of
entry
block is documented below. - Extra
Ip6Range doubleNumber - Extra-Ip6-Range-Number.
- Extra
Ip doubleRange Number - Extra-Ip-Range-Number.
- Fosid double
- Id.
- Icon
Id double - Icon-Id.
- Ip6Range
Number double - Ip6-Range-Number.
- Ip
Number double - Ip-Number.
- Ip
Range doubleNumber - Ip-Range-Number.
- Jitter
Threshold double - Jitter-Threshold.
- Latency
Threshold double - Latency-Threshold.
- Name string
- Name.
- Object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- Obsolete double
- Obsolete.
- Offset double
- Offset.
- Packetloss
Threshold double - Packetloss-Threshold.
- Region6s List<double>
- IPv6 Region sequence number list.
- Regions List<double>
- Region sequence number list.
- Reputation double
- Reputation.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Singularity double
- Singularity.
- Sld
Id double - Sld-Id.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Cities []float64
- City sequence number list.
- City6s []float64
- IPv6 City sequence number list.
- Countries []float64
- Country sequence number list.
- Country6s []float64
- IPv6 Country sequence number list.
- Database string
- Database. Valid values:
isdb
,irdb
. - Direction string
- Direction. Valid values:
src
,dst
,both
. - Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Entries
[]Object
Firewall Internetservice Entry Type Args - Entry. The structure of
entry
block is documented below. - Extra
Ip6Range float64Number - Extra-Ip6-Range-Number.
- Extra
Ip float64Range Number - Extra-Ip-Range-Number.
- Fosid float64
- Id.
- Icon
Id float64 - Icon-Id.
- Ip6Range
Number float64 - Ip6-Range-Number.
- Ip
Number float64 - Ip-Number.
- Ip
Range float64Number - Ip-Range-Number.
- Jitter
Threshold float64 - Jitter-Threshold.
- Latency
Threshold float64 - Latency-Threshold.
- Name string
- Name.
- Object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- Obsolete float64
- Obsolete.
- Offset float64
- Offset.
- Packetloss
Threshold float64 - Packetloss-Threshold.
- Region6s []float64
- IPv6 Region sequence number list.
- Regions []float64
- Region sequence number list.
- Reputation float64
- Reputation.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Singularity float64
- Singularity.
- Sld
Id float64 - Sld-Id.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities List<Double>
- City sequence number list.
- city6s List<Double>
- IPv6 City sequence number list.
- countries List<Double>
- Country sequence number list.
- country6s List<Double>
- IPv6 Country sequence number list.
- database String
- Database. Valid values:
isdb
,irdb
. - direction String
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
List<Object
Firewall Internetservice Entry> - Entry. The structure of
entry
block is documented below. - extra
Ip6Range DoubleNumber - Extra-Ip6-Range-Number.
- extra
Ip DoubleRange Number - Extra-Ip-Range-Number.
- fosid Double
- Id.
- icon
Id Double - Icon-Id.
- ip6Range
Number Double - Ip6-Range-Number.
- ip
Number Double - Ip-Number.
- ip
Range DoubleNumber - Ip-Range-Number.
- jitter
Threshold Double - Jitter-Threshold.
- latency
Threshold Double - Latency-Threshold.
- name String
- Name.
- object
Firewall StringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete Double
- Obsolete.
- offset Double
- Offset.
- packetloss
Threshold Double - Packetloss-Threshold.
- region6s List<Double>
- IPv6 Region sequence number list.
- regions List<Double>
- Region sequence number list.
- reputation Double
- Reputation.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity Double
- Singularity.
- sld
Id Double - Sld-Id.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities number[]
- City sequence number list.
- city6s number[]
- IPv6 City sequence number list.
- countries number[]
- Country sequence number list.
- country6s number[]
- IPv6 Country sequence number list.
- database string
- Database. Valid values:
isdb
,irdb
. - direction string
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
Object
Firewall Internetservice Entry[] - Entry. The structure of
entry
block is documented below. - extra
Ip6Range numberNumber - Extra-Ip6-Range-Number.
- extra
Ip numberRange Number - Extra-Ip-Range-Number.
- fosid number
- Id.
- icon
Id number - Icon-Id.
- ip6Range
Number number - Ip6-Range-Number.
- ip
Number number - Ip-Number.
- ip
Range numberNumber - Ip-Range-Number.
- jitter
Threshold number - Jitter-Threshold.
- latency
Threshold number - Latency-Threshold.
- name string
- Name.
- object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete number
- Obsolete.
- offset number
- Offset.
- packetloss
Threshold number - Packetloss-Threshold.
- region6s number[]
- IPv6 Region sequence number list.
- regions number[]
- Region sequence number list.
- reputation number
- Reputation.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity number
- Singularity.
- sld
Id number - Sld-Id.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities Sequence[float]
- City sequence number list.
- city6s Sequence[float]
- IPv6 City sequence number list.
- countries Sequence[float]
- Country sequence number list.
- country6s Sequence[float]
- IPv6 Country sequence number list.
- database str
- Database. Valid values:
isdb
,irdb
. - direction str
- Direction. Valid values:
src
,dst
,both
. - dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
Sequence[Object
Firewall Internetservice Entry Args] - Entry. The structure of
entry
block is documented below. - extra_
ip6_ floatrange_ number - Extra-Ip6-Range-Number.
- extra_
ip_ floatrange_ number - Extra-Ip-Range-Number.
- fosid float
- Id.
- icon_
id float - Icon-Id.
- ip6_
range_ floatnumber - Ip6-Range-Number.
- ip_
number float - Ip-Number.
- ip_
range_ floatnumber - Ip-Range-Number.
- jitter_
threshold float - Jitter-Threshold.
- latency_
threshold float - Latency-Threshold.
- name str
- Name.
- object_
firewall_ strinternetservice_ id - an identifier for the resource with format {{fosid}}.
- obsolete float
- Obsolete.
- offset float
- Offset.
- packetloss_
threshold float - Packetloss-Threshold.
- region6s Sequence[float]
- IPv6 Region sequence number list.
- regions Sequence[float]
- Region sequence number list.
- reputation float
- Reputation.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity float
- Singularity.
- sld_
id float - Sld-Id.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities List<Number>
- City sequence number list.
- city6s List<Number>
- IPv6 City sequence number list.
- countries List<Number>
- Country sequence number list.
- country6s List<Number>
- IPv6 Country sequence number list.
- database String
- Database. Valid values:
isdb
,irdb
. - direction String
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries List<Property Map>
- Entry. The structure of
entry
block is documented below. - extra
Ip6Range NumberNumber - Extra-Ip6-Range-Number.
- extra
Ip NumberRange Number - Extra-Ip-Range-Number.
- fosid Number
- Id.
- icon
Id Number - Icon-Id.
- ip6Range
Number Number - Ip6-Range-Number.
- ip
Number Number - Ip-Number.
- ip
Range NumberNumber - Ip-Range-Number.
- jitter
Threshold Number - Jitter-Threshold.
- latency
Threshold Number - Latency-Threshold.
- name String
- Name.
- object
Firewall StringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete Number
- Obsolete.
- offset Number
- Offset.
- packetloss
Threshold Number - Packetloss-Threshold.
- region6s List<Number>
- IPv6 Region sequence number list.
- regions List<Number>
- Region sequence number list.
- reputation Number
- Reputation.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity Number
- Singularity.
- sld
Id Number - Sld-Id.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallInternetservice 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 ObjectFirewallInternetservice Resource
Get an existing ObjectFirewallInternetservice 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?: ObjectFirewallInternetserviceState, opts?: CustomResourceOptions): ObjectFirewallInternetservice
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
cities: Optional[Sequence[float]] = None,
city6s: Optional[Sequence[float]] = None,
countries: Optional[Sequence[float]] = None,
country6s: Optional[Sequence[float]] = None,
database: Optional[str] = None,
direction: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
entries: Optional[Sequence[ObjectFirewallInternetserviceEntryArgs]] = None,
extra_ip6_range_number: Optional[float] = None,
extra_ip_range_number: Optional[float] = None,
fosid: Optional[float] = None,
icon_id: Optional[float] = None,
ip6_range_number: Optional[float] = None,
ip_number: Optional[float] = None,
ip_range_number: Optional[float] = None,
jitter_threshold: Optional[float] = None,
latency_threshold: Optional[float] = None,
name: Optional[str] = None,
object_firewall_internetservice_id: Optional[str] = None,
obsolete: Optional[float] = None,
offset: Optional[float] = None,
packetloss_threshold: Optional[float] = None,
region6s: Optional[Sequence[float]] = None,
regions: Optional[Sequence[float]] = None,
reputation: Optional[float] = None,
scopetype: Optional[str] = None,
singularity: Optional[float] = None,
sld_id: Optional[float] = None) -> ObjectFirewallInternetservice
func GetObjectFirewallInternetservice(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetserviceState, opts ...ResourceOption) (*ObjectFirewallInternetservice, error)
public static ObjectFirewallInternetservice Get(string name, Input<string> id, ObjectFirewallInternetserviceState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallInternetservice get(String name, Output<String> id, ObjectFirewallInternetserviceState state, CustomResourceOptions options)
resources: _: type: fortimanager:ObjectFirewallInternetservice 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.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Cities List<double>
- City sequence number list.
- City6s List<double>
- IPv6 City sequence number list.
- Countries List<double>
- Country sequence number list.
- Country6s List<double>
- IPv6 Country sequence number list.
- Database string
- Database. Valid values:
isdb
,irdb
. - Direction string
- Direction. Valid values:
src
,dst
,both
. - Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Entries
List<Object
Firewall Internetservice Entry> - Entry. The structure of
entry
block is documented below. - Extra
Ip6Range doubleNumber - Extra-Ip6-Range-Number.
- Extra
Ip doubleRange Number - Extra-Ip-Range-Number.
- Fosid double
- Id.
- Icon
Id double - Icon-Id.
- Ip6Range
Number double - Ip6-Range-Number.
- Ip
Number double - Ip-Number.
- Ip
Range doubleNumber - Ip-Range-Number.
- Jitter
Threshold double - Jitter-Threshold.
- Latency
Threshold double - Latency-Threshold.
- Name string
- Name.
- Object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- Obsolete double
- Obsolete.
- Offset double
- Offset.
- Packetloss
Threshold double - Packetloss-Threshold.
- Region6s List<double>
- IPv6 Region sequence number list.
- Regions List<double>
- Region sequence number list.
- Reputation double
- Reputation.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Singularity double
- Singularity.
- Sld
Id double - Sld-Id.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Cities []float64
- City sequence number list.
- City6s []float64
- IPv6 City sequence number list.
- Countries []float64
- Country sequence number list.
- Country6s []float64
- IPv6 Country sequence number list.
- Database string
- Database. Valid values:
isdb
,irdb
. - Direction string
- Direction. Valid values:
src
,dst
,both
. - Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Entries
[]Object
Firewall Internetservice Entry Type Args - Entry. The structure of
entry
block is documented below. - Extra
Ip6Range float64Number - Extra-Ip6-Range-Number.
- Extra
Ip float64Range Number - Extra-Ip-Range-Number.
- Fosid float64
- Id.
- Icon
Id float64 - Icon-Id.
- Ip6Range
Number float64 - Ip6-Range-Number.
- Ip
Number float64 - Ip-Number.
- Ip
Range float64Number - Ip-Range-Number.
- Jitter
Threshold float64 - Jitter-Threshold.
- Latency
Threshold float64 - Latency-Threshold.
- Name string
- Name.
- Object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- Obsolete float64
- Obsolete.
- Offset float64
- Offset.
- Packetloss
Threshold float64 - Packetloss-Threshold.
- Region6s []float64
- IPv6 Region sequence number list.
- Regions []float64
- Region sequence number list.
- Reputation float64
- Reputation.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Singularity float64
- Singularity.
- Sld
Id float64 - Sld-Id.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities List<Double>
- City sequence number list.
- city6s List<Double>
- IPv6 City sequence number list.
- countries List<Double>
- Country sequence number list.
- country6s List<Double>
- IPv6 Country sequence number list.
- database String
- Database. Valid values:
isdb
,irdb
. - direction String
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
List<Object
Firewall Internetservice Entry> - Entry. The structure of
entry
block is documented below. - extra
Ip6Range DoubleNumber - Extra-Ip6-Range-Number.
- extra
Ip DoubleRange Number - Extra-Ip-Range-Number.
- fosid Double
- Id.
- icon
Id Double - Icon-Id.
- ip6Range
Number Double - Ip6-Range-Number.
- ip
Number Double - Ip-Number.
- ip
Range DoubleNumber - Ip-Range-Number.
- jitter
Threshold Double - Jitter-Threshold.
- latency
Threshold Double - Latency-Threshold.
- name String
- Name.
- object
Firewall StringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete Double
- Obsolete.
- offset Double
- Offset.
- packetloss
Threshold Double - Packetloss-Threshold.
- region6s List<Double>
- IPv6 Region sequence number list.
- regions List<Double>
- Region sequence number list.
- reputation Double
- Reputation.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity Double
- Singularity.
- sld
Id Double - Sld-Id.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities number[]
- City sequence number list.
- city6s number[]
- IPv6 City sequence number list.
- countries number[]
- Country sequence number list.
- country6s number[]
- IPv6 Country sequence number list.
- database string
- Database. Valid values:
isdb
,irdb
. - direction string
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
Object
Firewall Internetservice Entry[] - Entry. The structure of
entry
block is documented below. - extra
Ip6Range numberNumber - Extra-Ip6-Range-Number.
- extra
Ip numberRange Number - Extra-Ip-Range-Number.
- fosid number
- Id.
- icon
Id number - Icon-Id.
- ip6Range
Number number - Ip6-Range-Number.
- ip
Number number - Ip-Number.
- ip
Range numberNumber - Ip-Range-Number.
- jitter
Threshold number - Jitter-Threshold.
- latency
Threshold number - Latency-Threshold.
- name string
- Name.
- object
Firewall stringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete number
- Obsolete.
- offset number
- Offset.
- packetloss
Threshold number - Packetloss-Threshold.
- region6s number[]
- IPv6 Region sequence number list.
- regions number[]
- Region sequence number list.
- reputation number
- Reputation.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity number
- Singularity.
- sld
Id number - Sld-Id.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities Sequence[float]
- City sequence number list.
- city6s Sequence[float]
- IPv6 City sequence number list.
- countries Sequence[float]
- Country sequence number list.
- country6s Sequence[float]
- IPv6 Country sequence number list.
- database str
- Database. Valid values:
isdb
,irdb
. - direction str
- Direction. Valid values:
src
,dst
,both
. - dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries
Sequence[Object
Firewall Internetservice Entry Args] - Entry. The structure of
entry
block is documented below. - extra_
ip6_ floatrange_ number - Extra-Ip6-Range-Number.
- extra_
ip_ floatrange_ number - Extra-Ip-Range-Number.
- fosid float
- Id.
- icon_
id float - Icon-Id.
- ip6_
range_ floatnumber - Ip6-Range-Number.
- ip_
number float - Ip-Number.
- ip_
range_ floatnumber - Ip-Range-Number.
- jitter_
threshold float - Jitter-Threshold.
- latency_
threshold float - Latency-Threshold.
- name str
- Name.
- object_
firewall_ strinternetservice_ id - an identifier for the resource with format {{fosid}}.
- obsolete float
- Obsolete.
- offset float
- Offset.
- packetloss_
threshold float - Packetloss-Threshold.
- region6s Sequence[float]
- IPv6 Region sequence number list.
- regions Sequence[float]
- Region sequence number list.
- reputation float
- Reputation.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity float
- Singularity.
- sld_
id float - Sld-Id.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - cities List<Number>
- City sequence number list.
- city6s List<Number>
- IPv6 City sequence number list.
- countries List<Number>
- Country sequence number list.
- country6s List<Number>
- IPv6 Country sequence number list.
- database String
- Database. Valid values:
isdb
,irdb
. - direction String
- Direction. Valid values:
src
,dst
,both
. - dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- entries List<Property Map>
- Entry. The structure of
entry
block is documented below. - extra
Ip6Range NumberNumber - Extra-Ip6-Range-Number.
- extra
Ip NumberRange Number - Extra-Ip-Range-Number.
- fosid Number
- Id.
- icon
Id Number - Icon-Id.
- ip6Range
Number Number - Ip6-Range-Number.
- ip
Number Number - Ip-Number.
- ip
Range NumberNumber - Ip-Range-Number.
- jitter
Threshold Number - Jitter-Threshold.
- latency
Threshold Number - Latency-Threshold.
- name String
- Name.
- object
Firewall StringInternetservice Id - an identifier for the resource with format {{fosid}}.
- obsolete Number
- Obsolete.
- offset Number
- Offset.
- packetloss
Threshold Number - Packetloss-Threshold.
- region6s List<Number>
- IPv6 Region sequence number list.
- regions List<Number>
- Region sequence number list.
- reputation Number
- Reputation.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - singularity Number
- Singularity.
- sld
Id Number - Sld-Id.
Supporting Types
ObjectFirewallInternetserviceEntry, ObjectFirewallInternetserviceEntryArgs
- Id double
- Entry ID.
- Ip
Number double - Total number of IP addresses.
- Ip
Range doubleNumber - Total number of IP ranges.
- Ports List<double>
- Integer value for the TCP/IP port (0 - 65535).
- Protocol double
- Integer value for the protocol type as defined by IANA (0 - 255).
- Id float64
- Entry ID.
- Ip
Number float64 - Total number of IP addresses.
- Ip
Range float64Number - Total number of IP ranges.
- Ports []float64
- Integer value for the TCP/IP port (0 - 65535).
- Protocol float64
- Integer value for the protocol type as defined by IANA (0 - 255).
- id Double
- Entry ID.
- ip
Number Double - Total number of IP addresses.
- ip
Range DoubleNumber - Total number of IP ranges.
- ports List<Double>
- Integer value for the TCP/IP port (0 - 65535).
- protocol Double
- Integer value for the protocol type as defined by IANA (0 - 255).
- id number
- Entry ID.
- ip
Number number - Total number of IP addresses.
- ip
Range numberNumber - Total number of IP ranges.
- ports number[]
- Integer value for the TCP/IP port (0 - 65535).
- protocol number
- Integer value for the protocol type as defined by IANA (0 - 255).
- id float
- Entry ID.
- ip_
number float - Total number of IP addresses.
- ip_
range_ floatnumber - Total number of IP ranges.
- ports Sequence[float]
- Integer value for the TCP/IP port (0 - 65535).
- protocol float
- Integer value for the protocol type as defined by IANA (0 - 255).
- id Number
- Entry ID.
- ip
Number Number - Total number of IP addresses.
- ip
Range NumberNumber - Total number of IP ranges.
- ports List<Number>
- Integer value for the TCP/IP port (0 - 65535).
- protocol Number
- Integer value for the protocol type as defined by IANA (0 - 255).
Import
ObjectFirewall InternetService can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFirewallInternetservice:ObjectFirewallInternetservice labelname {{fosid}}
$ 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.