1. Packages
  2. Fortios
  3. API Docs
  4. router
  5. getAccesslist
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.router.getAccesslist

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on an fortios router accesslist

Using getAccesslist

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAccesslist(args: GetAccesslistArgs, opts?: InvokeOptions): Promise<GetAccesslistResult>
function getAccesslistOutput(args: GetAccesslistOutputArgs, opts?: InvokeOptions): Output<GetAccesslistResult>
Copy
def get_accesslist(name: Optional[str] = None,
                   vdomparam: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAccesslistResult
def get_accesslist_output(name: Optional[pulumi.Input[str]] = None,
                   vdomparam: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAccesslistResult]
Copy
func LookupAccesslist(ctx *Context, args *LookupAccesslistArgs, opts ...InvokeOption) (*LookupAccesslistResult, error)
func LookupAccesslistOutput(ctx *Context, args *LookupAccesslistOutputArgs, opts ...InvokeOption) LookupAccesslistResultOutput
Copy

> Note: This function is named LookupAccesslist in the Go SDK.

public static class GetAccesslist 
{
    public static Task<GetAccesslistResult> InvokeAsync(GetAccesslistArgs args, InvokeOptions? opts = null)
    public static Output<GetAccesslistResult> Invoke(GetAccesslistInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccesslistResult> getAccesslist(GetAccesslistArgs args, InvokeOptions options)
public static Output<GetAccesslistResult> getAccesslist(GetAccesslistArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:router/getAccesslist:getAccesslist
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specify the name of the desired router accesslist.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Name This property is required. string
Specify the name of the desired router accesslist.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. String
Specify the name of the desired router accesslist.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. string
Specify the name of the desired router accesslist.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. str
Specify the name of the desired router accesslist.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. String
Specify the name of the desired router accesslist.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

getAccesslist Result

The following output properties are available:

Comments string
Comment.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name.
Rules List<Pulumiverse.Fortios.Router.Outputs.GetAccesslistRule>
Rule. The structure of rule block is documented below.
Vdomparam string
Comments string
Comment.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name.
Rules []GetAccesslistRule
Rule. The structure of rule block is documented below.
Vdomparam string
comments String
Comment.
id String
The provider-assigned unique ID for this managed resource.
name String
Name.
rules List<GetAccesslistRule>
Rule. The structure of rule block is documented below.
vdomparam String
comments string
Comment.
id string
The provider-assigned unique ID for this managed resource.
name string
Name.
rules GetAccesslistRule[]
Rule. The structure of rule block is documented below.
vdomparam string
comments str
Comment.
id str
The provider-assigned unique ID for this managed resource.
name str
Name.
rules Sequence[GetAccesslistRule]
Rule. The structure of rule block is documented below.
vdomparam str
comments String
Comment.
id String
The provider-assigned unique ID for this managed resource.
name String
Name.
rules List<Property Map>
Rule. The structure of rule block is documented below.
vdomparam String

Supporting Types

GetAccesslistRule

Action This property is required. string
Permit or deny this IP address and netmask prefix.
ExactMatch This property is required. string
Enable/disable exact match.
Flags This property is required. int
Flags.
Id This property is required. int
Rule ID.
Prefix This property is required. string
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
Wildcard This property is required. string
Wildcard to define Cisco-style wildcard filter criteria.
Action This property is required. string
Permit or deny this IP address and netmask prefix.
ExactMatch This property is required. string
Enable/disable exact match.
Flags This property is required. int
Flags.
Id This property is required. int
Rule ID.
Prefix This property is required. string
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
Wildcard This property is required. string
Wildcard to define Cisco-style wildcard filter criteria.
action This property is required. String
Permit or deny this IP address and netmask prefix.
exactMatch This property is required. String
Enable/disable exact match.
flags This property is required. Integer
Flags.
id This property is required. Integer
Rule ID.
prefix This property is required. String
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
wildcard This property is required. String
Wildcard to define Cisco-style wildcard filter criteria.
action This property is required. string
Permit or deny this IP address and netmask prefix.
exactMatch This property is required. string
Enable/disable exact match.
flags This property is required. number
Flags.
id This property is required. number
Rule ID.
prefix This property is required. string
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
wildcard This property is required. string
Wildcard to define Cisco-style wildcard filter criteria.
action This property is required. str
Permit or deny this IP address and netmask prefix.
exact_match This property is required. str
Enable/disable exact match.
flags This property is required. int
Flags.
id This property is required. int
Rule ID.
prefix This property is required. str
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
wildcard This property is required. str
Wildcard to define Cisco-style wildcard filter criteria.
action This property is required. String
Permit or deny this IP address and netmask prefix.
exactMatch This property is required. String
Enable/disable exact match.
flags This property is required. Number
Flags.
id This property is required. Number
Rule ID.
prefix This property is required. String
IPv4 prefix to define regular filter criteria, such as "any" or subnets.
wildcard This property is required. String
Wildcard to define Cisco-style wildcard filter criteria.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse