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

fortimanager.ObjectSwitchcontrollerAclIngressClassifier

Explore with Pulumi AI

ACL classifiers.

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

Create ObjectSwitchcontrollerAclIngressClassifier Resource

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

Constructor syntax

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

@overload
def ObjectSwitchcontrollerAclIngressClassifier(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               ingress: Optional[str] = None,
                                               adom: Optional[str] = None,
                                               dst_ip_prefix: Optional[str] = None,
                                               dst_mac: Optional[str] = None,
                                               object_switchcontroller_acl_ingress_classifier_id: Optional[str] = None,
                                               scopetype: Optional[str] = None,
                                               src_ip_prefix: Optional[str] = None,
                                               src_mac: Optional[str] = None,
                                               vlan: Optional[float] = None)
func NewObjectSwitchcontrollerAclIngressClassifier(ctx *Context, name string, args ObjectSwitchcontrollerAclIngressClassifierArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerAclIngressClassifier, error)
public ObjectSwitchcontrollerAclIngressClassifier(string name, ObjectSwitchcontrollerAclIngressClassifierArgs args, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerAclIngressClassifier(String name, ObjectSwitchcontrollerAclIngressClassifierArgs args)
public ObjectSwitchcontrollerAclIngressClassifier(String name, ObjectSwitchcontrollerAclIngressClassifierArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerAclIngressClassifier
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. ObjectSwitchcontrollerAclIngressClassifierArgs
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. ObjectSwitchcontrollerAclIngressClassifierInitArgs
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. ObjectSwitchcontrollerAclIngressClassifierArgs
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. ObjectSwitchcontrollerAclIngressClassifierArgs
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. ObjectSwitchcontrollerAclIngressClassifierArgs
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 objectSwitchcontrollerAclIngressClassifierResource = new Fortimanager.ObjectSwitchcontrollerAclIngressClassifier("objectSwitchcontrollerAclIngressClassifierResource", new()
{
    Ingress = "string",
    Adom = "string",
    DstIpPrefix = "string",
    DstMac = "string",
    ObjectSwitchcontrollerAclIngressClassifierId = "string",
    Scopetype = "string",
    SrcIpPrefix = "string",
    SrcMac = "string",
    Vlan = 0,
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerAclIngressClassifier(ctx, "objectSwitchcontrollerAclIngressClassifierResource", &fortimanager.ObjectSwitchcontrollerAclIngressClassifierArgs{
Ingress: pulumi.String("string"),
Adom: pulumi.String("string"),
DstIpPrefix: pulumi.String("string"),
DstMac: pulumi.String("string"),
ObjectSwitchcontrollerAclIngressClassifierId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
SrcIpPrefix: pulumi.String("string"),
SrcMac: pulumi.String("string"),
Vlan: pulumi.Float64(0),
})
Copy
var objectSwitchcontrollerAclIngressClassifierResource = new ObjectSwitchcontrollerAclIngressClassifier("objectSwitchcontrollerAclIngressClassifierResource", ObjectSwitchcontrollerAclIngressClassifierArgs.builder()
    .ingress("string")
    .adom("string")
    .dstIpPrefix("string")
    .dstMac("string")
    .objectSwitchcontrollerAclIngressClassifierId("string")
    .scopetype("string")
    .srcIpPrefix("string")
    .srcMac("string")
    .vlan(0)
    .build());
Copy
object_switchcontroller_acl_ingress_classifier_resource = fortimanager.ObjectSwitchcontrollerAclIngressClassifier("objectSwitchcontrollerAclIngressClassifierResource",
    ingress="string",
    adom="string",
    dst_ip_prefix="string",
    dst_mac="string",
    object_switchcontroller_acl_ingress_classifier_id="string",
    scopetype="string",
    src_ip_prefix="string",
    src_mac="string",
    vlan=0)
Copy
const objectSwitchcontrollerAclIngressClassifierResource = new fortimanager.ObjectSwitchcontrollerAclIngressClassifier("objectSwitchcontrollerAclIngressClassifierResource", {
    ingress: "string",
    adom: "string",
    dstIpPrefix: "string",
    dstMac: "string",
    objectSwitchcontrollerAclIngressClassifierId: "string",
    scopetype: "string",
    srcIpPrefix: "string",
    srcMac: "string",
    vlan: 0,
});
Copy
type: fortimanager:ObjectSwitchcontrollerAclIngressClassifier
properties:
    adom: string
    dstIpPrefix: string
    dstMac: string
    ingress: string
    objectSwitchcontrollerAclIngressClassifierId: string
    scopetype: string
    srcIpPrefix: string
    srcMac: string
    vlan: 0
Copy

ObjectSwitchcontrollerAclIngressClassifier 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 ObjectSwitchcontrollerAclIngressClassifier 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.
DstIpPrefix string
Destination IP address to be matched.
DstMac string
Destination MAC address to be matched.
ObjectSwitchcontrollerAclIngressClassifierId 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.
SrcIpPrefix string
Source IP address to be matched.
SrcMac string
Source MAC address to be matched.
Vlan double
VLAN ID to be matched.
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.
DstIpPrefix string
Destination IP address to be matched.
DstMac string
Destination MAC address to be matched.
ObjectSwitchcontrollerAclIngressClassifierId 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.
SrcIpPrefix string
Source IP address to be matched.
SrcMac string
Source MAC address to be matched.
Vlan float64
VLAN ID to be matched.
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.
dstIpPrefix String
Destination IP address to be matched.
dstMac String
Destination MAC address to be matched.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix String
Source IP address to be matched.
srcMac String
Source MAC address to be matched.
vlan Double
VLAN ID to be matched.
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.
dstIpPrefix string
Destination IP address to be matched.
dstMac string
Destination MAC address to be matched.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix string
Source IP address to be matched.
srcMac string
Source MAC address to be matched.
vlan number
VLAN ID to be matched.
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.
dst_ip_prefix str
Destination IP address to be matched.
dst_mac str
Destination MAC address to be matched.
object_switchcontroller_acl_ingress_classifier_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.
src_ip_prefix str
Source IP address to be matched.
src_mac str
Source MAC address to be matched.
vlan float
VLAN ID to be matched.
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.
dstIpPrefix String
Destination IP address to be matched.
dstMac String
Destination MAC address to be matched.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix String
Source IP address to be matched.
srcMac String
Source MAC address to be matched.
vlan Number
VLAN ID to be matched.

Outputs

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

Get an existing ObjectSwitchcontrollerAclIngressClassifier 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?: ObjectSwitchcontrollerAclIngressClassifierState, opts?: CustomResourceOptions): ObjectSwitchcontrollerAclIngressClassifier
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dst_ip_prefix: Optional[str] = None,
        dst_mac: Optional[str] = None,
        ingress: Optional[str] = None,
        object_switchcontroller_acl_ingress_classifier_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        src_ip_prefix: Optional[str] = None,
        src_mac: Optional[str] = None,
        vlan: Optional[float] = None) -> ObjectSwitchcontrollerAclIngressClassifier
func GetObjectSwitchcontrollerAclIngressClassifier(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerAclIngressClassifierState, opts ...ResourceOption) (*ObjectSwitchcontrollerAclIngressClassifier, error)
public static ObjectSwitchcontrollerAclIngressClassifier Get(string name, Input<string> id, ObjectSwitchcontrollerAclIngressClassifierState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerAclIngressClassifier get(String name, Output<String> id, ObjectSwitchcontrollerAclIngressClassifierState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerAclIngressClassifier    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.
DstIpPrefix string
Destination IP address to be matched.
DstMac string
Destination MAC address to be matched.
Ingress string
Ingress.
ObjectSwitchcontrollerAclIngressClassifierId 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.
SrcIpPrefix string
Source IP address to be matched.
SrcMac string
Source MAC address to be matched.
Vlan double
VLAN ID to be matched.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DstIpPrefix string
Destination IP address to be matched.
DstMac string
Destination MAC address to be matched.
Ingress string
Ingress.
ObjectSwitchcontrollerAclIngressClassifierId 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.
SrcIpPrefix string
Source IP address to be matched.
SrcMac string
Source MAC address to be matched.
Vlan float64
VLAN ID to be matched.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dstIpPrefix String
Destination IP address to be matched.
dstMac String
Destination MAC address to be matched.
ingress String
Ingress.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix String
Source IP address to be matched.
srcMac String
Source MAC address to be matched.
vlan Double
VLAN ID to be matched.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dstIpPrefix string
Destination IP address to be matched.
dstMac string
Destination MAC address to be matched.
ingress string
Ingress.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix string
Source IP address to be matched.
srcMac string
Source MAC address to be matched.
vlan number
VLAN ID to be matched.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst_ip_prefix str
Destination IP address to be matched.
dst_mac str
Destination MAC address to be matched.
ingress str
Ingress.
object_switchcontroller_acl_ingress_classifier_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.
src_ip_prefix str
Source IP address to be matched.
src_mac str
Source MAC address to be matched.
vlan float
VLAN ID to be matched.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dstIpPrefix String
Destination IP address to be matched.
dstMac String
Destination MAC address to be matched.
ingress String
Ingress.
objectSwitchcontrollerAclIngressClassifierId 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.
srcIpPrefix String
Source IP address to be matched.
srcMac String
Source MAC address to be matched.
vlan Number
VLAN ID to be matched.

Import

ObjectSwitchController AclIngressClassifier 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/objectSwitchcontrollerAclIngressClassifier:ObjectSwitchcontrollerAclIngressClassifier labelname ObjectSwitchControllerAclIngressClassifier
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.