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

fortimanager.ObjectVpnSslWebPortalMacaddrcheckrule

Explore with Pulumi AI

Client MAC address check rule.

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

Create ObjectVpnSslWebPortalMacaddrcheckrule Resource

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

Constructor syntax

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

@overload
def ObjectVpnSslWebPortalMacaddrcheckrule(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          portal: Optional[str] = None,
                                          adom: Optional[str] = None,
                                          mac_addr_lists: Optional[Sequence[str]] = None,
                                          mac_addr_mask: Optional[float] = None,
                                          name: Optional[str] = None,
                                          object_vpn_ssl_web_portal_macaddrcheckrule_id: Optional[str] = None,
                                          scopetype: Optional[str] = None)
func NewObjectVpnSslWebPortalMacaddrcheckrule(ctx *Context, name string, args ObjectVpnSslWebPortalMacaddrcheckruleArgs, opts ...ResourceOption) (*ObjectVpnSslWebPortalMacaddrcheckrule, error)
public ObjectVpnSslWebPortalMacaddrcheckrule(string name, ObjectVpnSslWebPortalMacaddrcheckruleArgs args, CustomResourceOptions? opts = null)
public ObjectVpnSslWebPortalMacaddrcheckrule(String name, ObjectVpnSslWebPortalMacaddrcheckruleArgs args)
public ObjectVpnSslWebPortalMacaddrcheckrule(String name, ObjectVpnSslWebPortalMacaddrcheckruleArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnSslWebPortalMacaddrcheckrule
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. ObjectVpnSslWebPortalMacaddrcheckruleArgs
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. ObjectVpnSslWebPortalMacaddrcheckruleArgs
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. ObjectVpnSslWebPortalMacaddrcheckruleArgs
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. ObjectVpnSslWebPortalMacaddrcheckruleArgs
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. ObjectVpnSslWebPortalMacaddrcheckruleArgs
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 objectVpnSslWebPortalMacaddrcheckruleResource = new Fortimanager.ObjectVpnSslWebPortalMacaddrcheckrule("objectVpnSslWebPortalMacaddrcheckruleResource", new()
{
    Portal = "string",
    Adom = "string",
    MacAddrLists = new[]
    {
        "string",
    },
    MacAddrMask = 0,
    Name = "string",
    ObjectVpnSslWebPortalMacaddrcheckruleId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectVpnSslWebPortalMacaddrcheckrule(ctx, "objectVpnSslWebPortalMacaddrcheckruleResource", &fortimanager.ObjectVpnSslWebPortalMacaddrcheckruleArgs{
Portal: pulumi.String("string"),
Adom: pulumi.String("string"),
MacAddrLists: pulumi.StringArray{
pulumi.String("string"),
},
MacAddrMask: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectVpnSslWebPortalMacaddrcheckruleId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectVpnSslWebPortalMacaddrcheckruleResource = new ObjectVpnSslWebPortalMacaddrcheckrule("objectVpnSslWebPortalMacaddrcheckruleResource", ObjectVpnSslWebPortalMacaddrcheckruleArgs.builder()
    .portal("string")
    .adom("string")
    .macAddrLists("string")
    .macAddrMask(0)
    .name("string")
    .objectVpnSslWebPortalMacaddrcheckruleId("string")
    .scopetype("string")
    .build());
Copy
object_vpn_ssl_web_portal_macaddrcheckrule_resource = fortimanager.ObjectVpnSslWebPortalMacaddrcheckrule("objectVpnSslWebPortalMacaddrcheckruleResource",
    portal="string",
    adom="string",
    mac_addr_lists=["string"],
    mac_addr_mask=0,
    name="string",
    object_vpn_ssl_web_portal_macaddrcheckrule_id="string",
    scopetype="string")
Copy
const objectVpnSslWebPortalMacaddrcheckruleResource = new fortimanager.ObjectVpnSslWebPortalMacaddrcheckrule("objectVpnSslWebPortalMacaddrcheckruleResource", {
    portal: "string",
    adom: "string",
    macAddrLists: ["string"],
    macAddrMask: 0,
    name: "string",
    objectVpnSslWebPortalMacaddrcheckruleId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectVpnSslWebPortalMacaddrcheckrule
properties:
    adom: string
    macAddrLists:
        - string
    macAddrMask: 0
    name: string
    objectVpnSslWebPortalMacaddrcheckruleId: string
    portal: string
    scopetype: string
Copy

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

Portal This property is required. string
Portal.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MacAddrLists List<string>
Client MAC address list.
MacAddrMask double
Client MAC address mask.
Name string
Client MAC address check rule name.
ObjectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Portal This property is required. string
Portal.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MacAddrLists []string
Client MAC address list.
MacAddrMask float64
Client MAC address mask.
Name string
Client MAC address check rule name.
ObjectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. String
Portal.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
macAddrLists List<String>
Client MAC address list.
macAddrMask Double
Client MAC address mask.
name String
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId String
an identifier for the resource with format {{name}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. string
Portal.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
macAddrLists string[]
Client MAC address list.
macAddrMask number
Client MAC address mask.
name string
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. str
Portal.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
mac_addr_lists Sequence[str]
Client MAC address list.
mac_addr_mask float
Client MAC address mask.
name str
Client MAC address check rule name.
object_vpn_ssl_web_portal_macaddrcheckrule_id str
an identifier for the resource with format {{name}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. String
Portal.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
macAddrLists List<String>
Client MAC address list.
macAddrMask Number
Client MAC address mask.
name String
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId String
an identifier for the resource with format {{name}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectVpnSslWebPortalMacaddrcheckrule 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?: ObjectVpnSslWebPortalMacaddrcheckruleState, opts?: CustomResourceOptions): ObjectVpnSslWebPortalMacaddrcheckrule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        mac_addr_lists: Optional[Sequence[str]] = None,
        mac_addr_mask: Optional[float] = None,
        name: Optional[str] = None,
        object_vpn_ssl_web_portal_macaddrcheckrule_id: Optional[str] = None,
        portal: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectVpnSslWebPortalMacaddrcheckrule
func GetObjectVpnSslWebPortalMacaddrcheckrule(ctx *Context, name string, id IDInput, state *ObjectVpnSslWebPortalMacaddrcheckruleState, opts ...ResourceOption) (*ObjectVpnSslWebPortalMacaddrcheckrule, error)
public static ObjectVpnSslWebPortalMacaddrcheckrule Get(string name, Input<string> id, ObjectVpnSslWebPortalMacaddrcheckruleState? state, CustomResourceOptions? opts = null)
public static ObjectVpnSslWebPortalMacaddrcheckrule get(String name, Output<String> id, ObjectVpnSslWebPortalMacaddrcheckruleState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectVpnSslWebPortalMacaddrcheckrule    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.
MacAddrLists List<string>
Client MAC address list.
MacAddrMask double
Client MAC address mask.
Name string
Client MAC address check rule name.
ObjectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
Portal string
Portal.
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.
MacAddrLists []string
Client MAC address list.
MacAddrMask float64
Client MAC address mask.
Name string
Client MAC address check rule name.
ObjectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
Portal string
Portal.
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.
macAddrLists List<String>
Client MAC address list.
macAddrMask Double
Client MAC address mask.
name String
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId String
an identifier for the resource with format {{name}}.
portal String
Portal.
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.
macAddrLists string[]
Client MAC address list.
macAddrMask number
Client MAC address mask.
name string
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId string
an identifier for the resource with format {{name}}.
portal string
Portal.
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.
mac_addr_lists Sequence[str]
Client MAC address list.
mac_addr_mask float
Client MAC address mask.
name str
Client MAC address check rule name.
object_vpn_ssl_web_portal_macaddrcheckrule_id str
an identifier for the resource with format {{name}}.
portal str
Portal.
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.
macAddrLists List<String>
Client MAC address list.
macAddrMask Number
Client MAC address mask.
name String
Client MAC address check rule name.
objectVpnSslWebPortalMacaddrcheckruleId String
an identifier for the resource with format {{name}}.
portal String
Portal.
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

ObjectVpn SslWebPortalMacAddrCheckRule can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectVpnSslWebPortalMacaddrcheckrule:ObjectVpnSslWebPortalMacaddrcheckrule labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.