Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.router.getPolicy6
Explore with Pulumi AI
Use this data source to get information on an fortios router policy6
Using getPolicy6
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 getPolicy6(args: GetPolicy6Args, opts?: InvokeOptions): Promise<GetPolicy6Result>
function getPolicy6Output(args: GetPolicy6OutputArgs, opts?: InvokeOptions): Output<GetPolicy6Result>
def get_policy6(seq_num: Optional[int] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicy6Result
def get_policy6_output(seq_num: Optional[pulumi.Input[int]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicy6Result]
func LookupPolicy6(ctx *Context, args *LookupPolicy6Args, opts ...InvokeOption) (*LookupPolicy6Result, error)
func LookupPolicy6Output(ctx *Context, args *LookupPolicy6OutputArgs, opts ...InvokeOption) LookupPolicy6ResultOutput
> Note: This function is named LookupPolicy6
in the Go SDK.
public static class GetPolicy6
{
public static Task<GetPolicy6Result> InvokeAsync(GetPolicy6Args args, InvokeOptions? opts = null)
public static Output<GetPolicy6Result> Invoke(GetPolicy6InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicy6Result> getPolicy6(GetPolicy6Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:router/getPolicy6:getPolicy6
arguments:
# arguments dictionary
The following arguments are supported:
- Seq
Num int - Specify the seq_num of the desired router policy6.
- Vdomparam 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.
- Seq
Num int - Specify the seq_num of the desired router policy6.
- Vdomparam 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.
- seq
Num Integer - Specify the seq_num of the desired router policy6.
- vdomparam 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.
- seq
Num number - Specify the seq_num of the desired router policy6.
- vdomparam 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.
- seq_
num int - Specify the seq_num of the desired router policy6.
- vdomparam 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.
- seq
Num Number - Specify the seq_num of the desired router policy6.
- vdomparam 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.
getPolicy6 Result
The following output properties are available:
- Action string
- Action of the policy route.
- Comments string
- Optional comments.
- Dst string
- Destination IPv6 prefix.
- Dst
Negate string - Enable/disable negating destination address match.
- Dstaddrs
List<Pulumiverse.
Fortios. Router. Outputs. Get Policy6Dstaddr> - Destination address name. The structure of
dstaddr
block is documented below. - End
Port int - End destination port number (1 - 65535).
- End
Source intPort - End source port number (1 - 65535).
- Gateway string
- IPv6 address of the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Device string - Incoming interface name.
- Input
Device stringNegate - Enable/disable negation of input device match.
- Internet
Service List<Pulumiverse.Customs Fortios. Router. Outputs. Get Policy6Internet Service Custom> - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service List<Pulumiverse.Ids Fortios. Router. Outputs. Get Policy6Internet Service Id> - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - Output
Device string - Outgoing interface name.
- Protocol int
- Protocol number (0 - 255).
- Seq
Num int - Sequence number.
- Src string
- Source IPv6 prefix.
- Src
Negate string - Enable/disable negating source address match.
- Srcaddrs
List<Pulumiverse.
Fortios. Router. Outputs. Get Policy6Srcaddr> - Source address name. The structure of
srcaddr
block is documented below. - Start
Port int - Start destination port number (1 - 65535).
- Start
Source intPort - Start source port number (1 - 65535).
- Status string
- Enable/disable this policy route.
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Vdomparam string
- Action string
- Action of the policy route.
- Comments string
- Optional comments.
- Dst string
- Destination IPv6 prefix.
- Dst
Negate string - Enable/disable negating destination address match.
- Dstaddrs
[]Get
Policy6Dstaddr - Destination address name. The structure of
dstaddr
block is documented below. - End
Port int - End destination port number (1 - 65535).
- End
Source intPort - End source port number (1 - 65535).
- Gateway string
- IPv6 address of the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Device string - Incoming interface name.
- Input
Device stringNegate - Enable/disable negation of input device match.
- Internet
Service []GetCustoms Policy6Internet Service Custom - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service []GetIds Policy6Internet Service Id - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - Output
Device string - Outgoing interface name.
- Protocol int
- Protocol number (0 - 255).
- Seq
Num int - Sequence number.
- Src string
- Source IPv6 prefix.
- Src
Negate string - Enable/disable negating source address match.
- Srcaddrs
[]Get
Policy6Srcaddr - Source address name. The structure of
srcaddr
block is documented below. - Start
Port int - Start destination port number (1 - 65535).
- Start
Source intPort - Start source port number (1 - 65535).
- Status string
- Enable/disable this policy route.
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Vdomparam string
- action String
- Action of the policy route.
- comments String
- Optional comments.
- dst String
- Destination IPv6 prefix.
- dst
Negate String - Enable/disable negating destination address match.
- dstaddrs
List<Get
Policy6Dstaddr> - Destination address name. The structure of
dstaddr
block is documented below. - end
Port Integer - End destination port number (1 - 65535).
- end
Source IntegerPort - End source port number (1 - 65535).
- gateway String
- IPv6 address of the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Device String - Incoming interface name.
- input
Device StringNegate - Enable/disable negation of input device match.
- internet
Service List<GetCustoms Policy6Internet Service Custom> - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<GetIds Policy6Internet Service Id> - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - output
Device String - Outgoing interface name.
- protocol Integer
- Protocol number (0 - 255).
- seq
Num Integer - Sequence number.
- src String
- Source IPv6 prefix.
- src
Negate String - Enable/disable negating source address match.
- srcaddrs
List<Get
Policy6Srcaddr> - Source address name. The structure of
srcaddr
block is documented below. - start
Port Integer - Start destination port number (1 - 65535).
- start
Source IntegerPort - Start source port number (1 - 65535).
- status String
- Enable/disable this policy route.
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- vdomparam String
- action string
- Action of the policy route.
- comments string
- Optional comments.
- dst string
- Destination IPv6 prefix.
- dst
Negate string - Enable/disable negating destination address match.
- dstaddrs
Get
Policy6Dstaddr[] - Destination address name. The structure of
dstaddr
block is documented below. - end
Port number - End destination port number (1 - 65535).
- end
Source numberPort - End source port number (1 - 65535).
- gateway string
- IPv6 address of the gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- input
Device string - Incoming interface name.
- input
Device stringNegate - Enable/disable negation of input device match.
- internet
Service GetCustoms Policy6Internet Service Custom[] - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service GetIds Policy6Internet Service Id[] - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - output
Device string - Outgoing interface name.
- protocol number
- Protocol number (0 - 255).
- seq
Num number - Sequence number.
- src string
- Source IPv6 prefix.
- src
Negate string - Enable/disable negating source address match.
- srcaddrs
Get
Policy6Srcaddr[] - Source address name. The structure of
srcaddr
block is documented below. - start
Port number - Start destination port number (1 - 65535).
- start
Source numberPort - Start source port number (1 - 65535).
- status string
- Enable/disable this policy route.
- tos string
- Type of service bit pattern.
- tos
Mask string - Type of service evaluated bits.
- vdomparam string
- action str
- Action of the policy route.
- comments str
- Optional comments.
- dst str
- Destination IPv6 prefix.
- dst_
negate str - Enable/disable negating destination address match.
- dstaddrs
Sequence[Get
Policy6Dstaddr] - Destination address name. The structure of
dstaddr
block is documented below. - end_
port int - End destination port number (1 - 65535).
- end_
source_ intport - End source port number (1 - 65535).
- gateway str
- IPv6 address of the gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- input_
device str - Incoming interface name.
- input_
device_ strnegate - Enable/disable negation of input device match.
- internet_
service_ Sequence[Getcustoms Policy6Internet Service Custom] - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - internet_
service_ Sequence[Getids Policy6Internet Service Id] - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - output_
device str - Outgoing interface name.
- protocol int
- Protocol number (0 - 255).
- seq_
num int - Sequence number.
- src str
- Source IPv6 prefix.
- src_
negate str - Enable/disable negating source address match.
- srcaddrs
Sequence[Get
Policy6Srcaddr] - Source address name. The structure of
srcaddr
block is documented below. - start_
port int - Start destination port number (1 - 65535).
- start_
source_ intport - Start source port number (1 - 65535).
- status str
- Enable/disable this policy route.
- tos str
- Type of service bit pattern.
- tos_
mask str - Type of service evaluated bits.
- vdomparam str
- action String
- Action of the policy route.
- comments String
- Optional comments.
- dst String
- Destination IPv6 prefix.
- dst
Negate String - Enable/disable negating destination address match.
- dstaddrs List<Property Map>
- Destination address name. The structure of
dstaddr
block is documented below. - end
Port Number - End destination port number (1 - 65535).
- end
Source NumberPort - End source port number (1 - 65535).
- gateway String
- IPv6 address of the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Device String - Incoming interface name.
- input
Device StringNegate - Enable/disable negation of input device match.
- internet
Service List<Property Map>Customs - Custom Destination Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<Property Map>Ids - Destination Internet Service ID. The structure of
internet_service_id
block is documented below. - output
Device String - Outgoing interface name.
- protocol Number
- Protocol number (0 - 255).
- seq
Num Number - Sequence number.
- src String
- Source IPv6 prefix.
- src
Negate String - Enable/disable negating source address match.
- srcaddrs List<Property Map>
- Source address name. The structure of
srcaddr
block is documented below. - start
Port Number - Start destination port number (1 - 65535).
- start
Source NumberPort - Start source port number (1 - 65535).
- status String
- Enable/disable this policy route.
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- vdomparam String
Supporting Types
GetPolicy6Dstaddr
- Name string
- Custom Destination Internet Service name.
- Name string
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
- name string
- Custom Destination Internet Service name.
- name str
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
GetPolicy6InternetServiceCustom
- Name string
- Custom Destination Internet Service name.
- Name string
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
- name string
- Custom Destination Internet Service name.
- name str
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
GetPolicy6InternetServiceId
- Id int
- Destination Internet Service ID.
- Id int
- Destination Internet Service ID.
- id Integer
- Destination Internet Service ID.
- id number
- Destination Internet Service ID.
- id int
- Destination Internet Service ID.
- id Number
- Destination Internet Service ID.
GetPolicy6Srcaddr
- Name string
- Custom Destination Internet Service name.
- Name string
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
- name string
- Custom Destination Internet Service name.
- name str
- Custom Destination Internet Service name.
- name String
- Custom Destination Internet Service name.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.