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

fortimanager.ObjectSwitchcontrollerAclIngressAction

Explore with Pulumi AI

ACL actions.

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

Create ObjectSwitchcontrollerAclIngressAction Resource

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

Constructor syntax

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

@overload
def ObjectSwitchcontrollerAclIngressAction(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           ingress: Optional[str] = None,
                                           adom: Optional[str] = None,
                                           drop: Optional[str] = None,
                                           fmgcount: Optional[str] = None,
                                           object_switchcontroller_acl_ingress_action_id: Optional[str] = None,
                                           scopetype: Optional[str] = None)
func NewObjectSwitchcontrollerAclIngressAction(ctx *Context, name string, args ObjectSwitchcontrollerAclIngressActionArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerAclIngressAction, error)
public ObjectSwitchcontrollerAclIngressAction(string name, ObjectSwitchcontrollerAclIngressActionArgs args, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerAclIngressAction(String name, ObjectSwitchcontrollerAclIngressActionArgs args)
public ObjectSwitchcontrollerAclIngressAction(String name, ObjectSwitchcontrollerAclIngressActionArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerAclIngressAction
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. ObjectSwitchcontrollerAclIngressActionArgs
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. ObjectSwitchcontrollerAclIngressActionInitArgs
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. ObjectSwitchcontrollerAclIngressActionArgs
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. ObjectSwitchcontrollerAclIngressActionArgs
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. ObjectSwitchcontrollerAclIngressActionArgs
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 objectSwitchcontrollerAclIngressActionResource = new Fortimanager.ObjectSwitchcontrollerAclIngressAction("objectSwitchcontrollerAclIngressActionResource", new()
{
    Ingress = "string",
    Adom = "string",
    Drop = "string",
    Fmgcount = "string",
    ObjectSwitchcontrollerAclIngressActionId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerAclIngressAction(ctx, "objectSwitchcontrollerAclIngressActionResource", &fortimanager.ObjectSwitchcontrollerAclIngressActionArgs{
Ingress: pulumi.String("string"),
Adom: pulumi.String("string"),
Drop: pulumi.String("string"),
Fmgcount: pulumi.String("string"),
ObjectSwitchcontrollerAclIngressActionId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectSwitchcontrollerAclIngressActionResource = new ObjectSwitchcontrollerAclIngressAction("objectSwitchcontrollerAclIngressActionResource", ObjectSwitchcontrollerAclIngressActionArgs.builder()
    .ingress("string")
    .adom("string")
    .drop("string")
    .fmgcount("string")
    .objectSwitchcontrollerAclIngressActionId("string")
    .scopetype("string")
    .build());
Copy
object_switchcontroller_acl_ingress_action_resource = fortimanager.ObjectSwitchcontrollerAclIngressAction("objectSwitchcontrollerAclIngressActionResource",
    ingress="string",
    adom="string",
    drop="string",
    fmgcount="string",
    object_switchcontroller_acl_ingress_action_id="string",
    scopetype="string")
Copy
const objectSwitchcontrollerAclIngressActionResource = new fortimanager.ObjectSwitchcontrollerAclIngressAction("objectSwitchcontrollerAclIngressActionResource", {
    ingress: "string",
    adom: "string",
    drop: "string",
    fmgcount: "string",
    objectSwitchcontrollerAclIngressActionId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSwitchcontrollerAclIngressAction
properties:
    adom: string
    drop: string
    fmgcount: string
    ingress: string
    objectSwitchcontrollerAclIngressActionId: string
    scopetype: string
Copy

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

Ingress This property is required. string
Ingress.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Drop string
Enable/disable drop. Valid values: disable, enable.
Fmgcount string
Enable/disable count. Valid values: disable, enable.
ObjectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
Ingress This property is required. string
Ingress.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Drop string
Enable/disable drop. Valid values: disable, enable.
Fmgcount string
Enable/disable count. Valid values: disable, enable.
ObjectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
ingress This property is required. String
Ingress.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop String
Enable/disable drop. Valid values: disable, enable.
fmgcount String
Enable/disable count. Valid values: disable, enable.
objectSwitchcontrollerAclIngressActionId String
an identifier for the resource.
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.
ingress This property is required. string
Ingress.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop string
Enable/disable drop. Valid values: disable, enable.
fmgcount string
Enable/disable count. Valid values: disable, enable.
objectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
ingress This property is required. str
Ingress.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop str
Enable/disable drop. Valid values: disable, enable.
fmgcount str
Enable/disable count. Valid values: disable, enable.
object_switchcontroller_acl_ingress_action_id str
an identifier for the resource.
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.
ingress This property is required. String
Ingress.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop String
Enable/disable drop. Valid values: disable, enable.
fmgcount String
Enable/disable count. Valid values: disable, enable.
objectSwitchcontrollerAclIngressActionId String
an identifier for the resource.
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.

Outputs

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

Get an existing ObjectSwitchcontrollerAclIngressAction 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?: ObjectSwitchcontrollerAclIngressActionState, opts?: CustomResourceOptions): ObjectSwitchcontrollerAclIngressAction
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        drop: Optional[str] = None,
        fmgcount: Optional[str] = None,
        ingress: Optional[str] = None,
        object_switchcontroller_acl_ingress_action_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectSwitchcontrollerAclIngressAction
func GetObjectSwitchcontrollerAclIngressAction(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerAclIngressActionState, opts ...ResourceOption) (*ObjectSwitchcontrollerAclIngressAction, error)
public static ObjectSwitchcontrollerAclIngressAction Get(string name, Input<string> id, ObjectSwitchcontrollerAclIngressActionState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerAclIngressAction get(String name, Output<String> id, ObjectSwitchcontrollerAclIngressActionState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerAclIngressAction    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.
Drop string
Enable/disable drop. Valid values: disable, enable.
Fmgcount string
Enable/disable count. Valid values: disable, enable.
Ingress string
Ingress.
ObjectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Drop string
Enable/disable drop. Valid values: disable, enable.
Fmgcount string
Enable/disable count. Valid values: disable, enable.
Ingress string
Ingress.
ObjectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop String
Enable/disable drop. Valid values: disable, enable.
fmgcount String
Enable/disable count. Valid values: disable, enable.
ingress String
Ingress.
objectSwitchcontrollerAclIngressActionId String
an identifier for the resource.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop string
Enable/disable drop. Valid values: disable, enable.
fmgcount string
Enable/disable count. Valid values: disable, enable.
ingress string
Ingress.
objectSwitchcontrollerAclIngressActionId string
an identifier for the resource.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop str
Enable/disable drop. Valid values: disable, enable.
fmgcount str
Enable/disable count. Valid values: disable, enable.
ingress str
Ingress.
object_switchcontroller_acl_ingress_action_id str
an identifier for the resource.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
drop String
Enable/disable drop. Valid values: disable, enable.
fmgcount String
Enable/disable count. Valid values: disable, enable.
ingress String
Ingress.
objectSwitchcontrollerAclIngressActionId String
an identifier for the resource.
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.

Import

ObjectSwitchController AclIngressAction can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSwitchcontrollerAclIngressAction:ObjectSwitchcontrollerAclIngressAction labelname ObjectSwitchControllerAclIngressAction
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.