Port ranges in the disable entry.
This resource is a sub resource for variable
port_rangeof resourcefortimanager.ObjectFirewallInternetserviceextensionDisableentry. Conflict and overwrite may occur if use both of them.
Create ObjectFirewallInternetserviceextensionDisableentryPortrange Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallInternetserviceextensionDisableentryPortrange(name: string, args: ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs, opts?: CustomResourceOptions);@overload
def ObjectFirewallInternetserviceextensionDisableentryPortrange(resource_name: str,
args: ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallInternetserviceextensionDisableentryPortrange(resource_name: str,
opts: Optional[ResourceOptions] = None,
disable_entry: Optional[str] = None,
internet_service_extension: Optional[str] = None,
adom: Optional[str] = None,
end_port: Optional[float] = None,
fosid: Optional[float] = None,
object_firewall_internetserviceextension_disableentry_portrange_id: Optional[str] = None,
scopetype: Optional[str] = None,
start_port: Optional[float] = None)func NewObjectFirewallInternetserviceextensionDisableentryPortrange(ctx *Context, name string, args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionDisableentryPortrange, error)public ObjectFirewallInternetserviceextensionDisableentryPortrange(string name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallInternetserviceextensionDisableentryPortrange(String name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args)
public ObjectFirewallInternetserviceextensionDisableentryPortrange(String name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange
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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
- 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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
- 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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
- 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 objectFirewallInternetserviceextensionDisableentryPortrangeResource = new Fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", new()
{
DisableEntry = "string",
InternetServiceExtension = "string",
Adom = "string",
EndPort = 0,
Fosid = 0,
ObjectFirewallInternetserviceextensionDisableentryPortrangeId = "string",
Scopetype = "string",
StartPort = 0,
});
example, err := fortimanager.NewObjectFirewallInternetserviceextensionDisableentryPortrange(ctx, "objectFirewallInternetserviceextensionDisableentryPortrangeResource", &fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs{
DisableEntry: pulumi.String("string"),
InternetServiceExtension: pulumi.String("string"),
Adom: pulumi.String("string"),
EndPort: pulumi.Float64(0),
Fosid: pulumi.Float64(0),
ObjectFirewallInternetserviceextensionDisableentryPortrangeId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StartPort: pulumi.Float64(0),
})
var objectFirewallInternetserviceextensionDisableentryPortrangeResource = new ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs.builder()
.disableEntry("string")
.internetServiceExtension("string")
.adom("string")
.endPort(0.0)
.fosid(0.0)
.objectFirewallInternetserviceextensionDisableentryPortrangeId("string")
.scopetype("string")
.startPort(0.0)
.build());
object_firewall_internetserviceextension_disableentry_portrange_resource = fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource",
disable_entry="string",
internet_service_extension="string",
adom="string",
end_port=0,
fosid=0,
object_firewall_internetserviceextension_disableentry_portrange_id="string",
scopetype="string",
start_port=0)
const objectFirewallInternetserviceextensionDisableentryPortrangeResource = new fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", {
disableEntry: "string",
internetServiceExtension: "string",
adom: "string",
endPort: 0,
fosid: 0,
objectFirewallInternetserviceextensionDisableentryPortrangeId: "string",
scopetype: "string",
startPort: 0,
});
type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange
properties:
adom: string
disableEntry: string
endPort: 0
fosid: 0
internetServiceExtension: string
objectFirewallInternetserviceextensionDisableentryPortrangeId: string
scopetype: string
startPort: 0
ObjectFirewallInternetserviceextensionDisableentryPortrange 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 ObjectFirewallInternetserviceextensionDisableentryPortrange resource accepts the following input properties:
- Disable
Entry string - Disable Entry.
- Internet
Service stringExtension - Internet Service Extension.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - End
Port double - Ending TCP/UDP/SCTP destination port (0 to 65535).
- Fosid double
- Custom entry port range ID.
- Object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Start
Port double - Starting TCP/UDP/SCTP destination port (0 to 65535).
- Disable
Entry string - Disable Entry.
- Internet
Service stringExtension - Internet Service Extension.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - End
Port float64 - Ending TCP/UDP/SCTP destination port (0 to 65535).
- Fosid float64
- Custom entry port range ID.
- Object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Start
Port float64 - Starting TCP/UDP/SCTP destination port (0 to 65535).
- disable
Entry String - Disable Entry.
- internet
Service StringExtension - Internet Service Extension.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - end
Port Double - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid Double
- Custom entry port range ID.
- object
Firewall StringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port Double - Starting TCP/UDP/SCTP destination port (0 to 65535).
- disable
Entry string - Disable Entry.
- internet
Service stringExtension - Internet Service Extension.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - end
Port number - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid number
- Custom entry port range ID.
- object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port number - Starting TCP/UDP/SCTP destination port (0 to 65535).
- disable_
entry str - Disable Entry.
- internet_
service_ strextension - Internet Service Extension.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - end_
port float - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid float
- Custom entry port range ID.
- object_
firewall_ strinternetserviceextension_ disableentry_ portrange_ id - an identifier for the resource with format {{fosid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start_
port float - Starting TCP/UDP/SCTP destination port (0 to 65535).
- disable
Entry String - Disable Entry.
- internet
Service StringExtension - Internet Service Extension.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - end
Port Number - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid Number
- Custom entry port range ID.
- object
Firewall StringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port Number - Starting TCP/UDP/SCTP destination port (0 to 65535).
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallInternetserviceextensionDisableentryPortrange 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 ObjectFirewallInternetserviceextensionDisableentryPortrange Resource
Get an existing ObjectFirewallInternetserviceextensionDisableentryPortrange 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?: ObjectFirewallInternetserviceextensionDisableentryPortrangeState, opts?: CustomResourceOptions): ObjectFirewallInternetserviceextensionDisableentryPortrange@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
disable_entry: Optional[str] = None,
end_port: Optional[float] = None,
fosid: Optional[float] = None,
internet_service_extension: Optional[str] = None,
object_firewall_internetserviceextension_disableentry_portrange_id: Optional[str] = None,
scopetype: Optional[str] = None,
start_port: Optional[float] = None) -> ObjectFirewallInternetserviceextensionDisableentryPortrangefunc GetObjectFirewallInternetserviceextensionDisableentryPortrange(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetserviceextensionDisableentryPortrangeState, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionDisableentryPortrange, error)public static ObjectFirewallInternetserviceextensionDisableentryPortrange Get(string name, Input<string> id, ObjectFirewallInternetserviceextensionDisableentryPortrangeState? state, CustomResourceOptions? opts = null)public static ObjectFirewallInternetserviceextensionDisableentryPortrange get(String name, Output<String> id, ObjectFirewallInternetserviceextensionDisableentryPortrangeState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Disable
Entry string - Disable Entry.
- End
Port double - Ending TCP/UDP/SCTP destination port (0 to 65535).
- Fosid double
- Custom entry port range ID.
- Internet
Service stringExtension - Internet Service Extension.
- Object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Start
Port double - Starting TCP/UDP/SCTP destination port (0 to 65535).
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Disable
Entry string - Disable Entry.
- End
Port float64 - Ending TCP/UDP/SCTP destination port (0 to 65535).
- Fosid float64
- Custom entry port range ID.
- Internet
Service stringExtension - Internet Service Extension.
- Object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Start
Port float64 - Starting TCP/UDP/SCTP destination port (0 to 65535).
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - disable
Entry String - Disable Entry.
- end
Port Double - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid Double
- Custom entry port range ID.
- internet
Service StringExtension - Internet Service Extension.
- object
Firewall StringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port Double - Starting TCP/UDP/SCTP destination port (0 to 65535).
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - disable
Entry string - Disable Entry.
- end
Port number - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid number
- Custom entry port range ID.
- internet
Service stringExtension - Internet Service Extension.
- object
Firewall stringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port number - Starting TCP/UDP/SCTP destination port (0 to 65535).
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - disable_
entry str - Disable Entry.
- end_
port float - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid float
- Custom entry port range ID.
- internet_
service_ strextension - Internet Service Extension.
- object_
firewall_ strinternetserviceextension_ disableentry_ portrange_ id - an identifier for the resource with format {{fosid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start_
port float - Starting TCP/UDP/SCTP destination port (0 to 65535).
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - disable
Entry String - Disable Entry.
- end
Port Number - Ending TCP/UDP/SCTP destination port (0 to 65535).
- fosid Number
- Custom entry port range ID.
- internet
Service StringExtension - Internet Service Extension.
- object
Firewall StringInternetserviceextension Disableentry Portrange Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - start
Port Number - Starting TCP/UDP/SCTP destination port (0 to 65535).
Import
ObjectFirewall InternetServiceExtensionDisableEntryPortRange can be imported using any of these accepted formats:
Set import_options = [“internet_service_extension=YOUR_VALUE”, “disable_entry=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFirewallInternetserviceextensionDisableentryPortrange:ObjectFirewallInternetserviceextensionDisableentryPortrange 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
fortimanagerTerraform Provider.
