Fortios v0.0.6 published on Tuesday, Jul 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)
public static Output<GetPolicy6Result> getPolicy6(GetPolicy6Args args, InvokeOptions options)
fn::invoke:
  function: fortios:router/getPolicy6:getPolicy6
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SeqNum 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.
- SeqNum 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.
- seqNum 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.
- seqNum 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.
- seqNum 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.
- DstNegate string
- Enable/disable negating destination address match.
- Dstaddrs
List<Pulumiverse.Fortios. Router. Outputs. Get Policy6Dstaddr> 
- Destination address name. The structure of dstaddrblock is documented below.
- EndPort int
- End destination port number (1 - 65535).
- EndSource 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.
- InputDevice string
- Incoming interface name.
- InputDevice stringNegate 
- Enable/disable negation of input device match.
- InternetService List<Pulumiverse.Customs Fortios. Router. Outputs. Get Policy6Internet Service Custom> 
- Custom Destination Internet Service name. The structure of internet_service_customblock is documented below.
- InternetService List<Pulumiverse.Ids Fortios. Router. Outputs. Get Policy6Internet Service Id> 
- Destination Internet Service ID. The structure of internet_service_idblock is documented below.
- OutputDevice string
- Outgoing interface name.
- Protocol int
- Protocol number (0 - 255).
- SeqNum int
- Sequence number.
- Src string
- Source IPv6 prefix.
- SrcNegate string
- Enable/disable negating source address match.
- Srcaddrs
List<Pulumiverse.Fortios. Router. Outputs. Get Policy6Srcaddr> 
- Source address name. The structure of srcaddrblock is documented below.
- StartPort int
- Start destination port number (1 - 65535).
- StartSource intPort 
- Start source port number (1 - 65535).
- Status string
- Enable/disable this policy route.
- Tos string
- Type of service bit pattern.
- TosMask string
- Type of service evaluated bits.
- Vdomparam string
- Action string
- Action of the policy route.
- Comments string
- Optional comments.
- Dst string
- Destination IPv6 prefix.
- DstNegate string
- Enable/disable negating destination address match.
- Dstaddrs
[]GetPolicy6Dstaddr 
- Destination address name. The structure of dstaddrblock is documented below.
- EndPort int
- End destination port number (1 - 65535).
- EndSource 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.
- InputDevice string
- Incoming interface name.
- InputDevice stringNegate 
- Enable/disable negation of input device match.
- InternetService []GetCustoms Policy6Internet Service Custom 
- Custom Destination Internet Service name. The structure of internet_service_customblock is documented below.
- InternetService []GetIds Policy6Internet Service Id 
- Destination Internet Service ID. The structure of internet_service_idblock is documented below.
- OutputDevice string
- Outgoing interface name.
- Protocol int
- Protocol number (0 - 255).
- SeqNum int
- Sequence number.
- Src string
- Source IPv6 prefix.
- SrcNegate string
- Enable/disable negating source address match.
- Srcaddrs
[]GetPolicy6Srcaddr 
- Source address name. The structure of srcaddrblock is documented below.
- StartPort int
- Start destination port number (1 - 65535).
- StartSource intPort 
- Start source port number (1 - 65535).
- Status string
- Enable/disable this policy route.
- Tos string
- Type of service bit pattern.
- TosMask string
- Type of service evaluated bits.
- Vdomparam string
- action String
- Action of the policy route.
- comments String
- Optional comments.
- dst String
- Destination IPv6 prefix.
- dstNegate String
- Enable/disable negating destination address match.
- dstaddrs
List<GetPolicy6Dstaddr> 
- Destination address name. The structure of dstaddrblock is documented below.
- endPort Integer
- End destination port number (1 - 65535).
- endSource 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.
- inputDevice String
- Incoming interface name.
- inputDevice StringNegate 
- Enable/disable negation of input device match.
- internetService List<GetCustoms Policy6Internet Service Custom> 
- Custom Destination Internet Service name. The structure of internet_service_customblock is documented below.
- internetService List<GetIds Policy6Internet Service Id> 
- Destination Internet Service ID. The structure of internet_service_idblock is documented below.
- outputDevice String
- Outgoing interface name.
- protocol Integer
- Protocol number (0 - 255).
- seqNum Integer
- Sequence number.
- src String
- Source IPv6 prefix.
- srcNegate String
- Enable/disable negating source address match.
- srcaddrs
List<GetPolicy6Srcaddr> 
- Source address name. The structure of srcaddrblock is documented below.
- startPort Integer
- Start destination port number (1 - 65535).
- startSource IntegerPort 
- Start source port number (1 - 65535).
- status String
- Enable/disable this policy route.
- tos String
- Type of service bit pattern.
- tosMask String
- Type of service evaluated bits.
- vdomparam String
- action string
- Action of the policy route.
- comments string
- Optional comments.
- dst string
- Destination IPv6 prefix.
- dstNegate string
- Enable/disable negating destination address match.
- dstaddrs
GetPolicy6Dstaddr[] 
- Destination address name. The structure of dstaddrblock is documented below.
- endPort number
- End destination port number (1 - 65535).
- endSource 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.
- inputDevice string
- Incoming interface name.
- inputDevice stringNegate 
- Enable/disable negation of input device match.
- internetService GetCustoms Policy6Internet Service Custom[] 
- Custom Destination Internet Service name. The structure of internet_service_customblock is documented below.
- internetService GetIds Policy6Internet Service Id[] 
- Destination Internet Service ID. The structure of internet_service_idblock is documented below.
- outputDevice string
- Outgoing interface name.
- protocol number
- Protocol number (0 - 255).
- seqNum number
- Sequence number.
- src string
- Source IPv6 prefix.
- srcNegate string
- Enable/disable negating source address match.
- srcaddrs
GetPolicy6Srcaddr[] 
- Source address name. The structure of srcaddrblock is documented below.
- startPort number
- Start destination port number (1 - 65535).
- startSource numberPort 
- Start source port number (1 - 65535).
- status string
- Enable/disable this policy route.
- tos string
- Type of service bit pattern.
- tosMask 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[GetPolicy6Dstaddr] 
- Destination address name. The structure of dstaddrblock 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_customblock is documented below.
- internet_service_ Sequence[Getids Policy6Internet Service Id] 
- Destination Internet Service ID. The structure of internet_service_idblock 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[GetPolicy6Srcaddr] 
- Source address name. The structure of srcaddrblock 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.
- dstNegate String
- Enable/disable negating destination address match.
- dstaddrs List<Property Map>
- Destination address name. The structure of dstaddrblock is documented below.
- endPort Number
- End destination port number (1 - 65535).
- endSource 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.
- inputDevice String
- Incoming interface name.
- inputDevice StringNegate 
- Enable/disable negation of input device match.
- internetService List<Property Map>Customs 
- Custom Destination Internet Service name. The structure of internet_service_customblock is documented below.
- internetService List<Property Map>Ids 
- Destination Internet Service ID. The structure of internet_service_idblock is documented below.
- outputDevice String
- Outgoing interface name.
- protocol Number
- Protocol number (0 - 255).
- seqNum Number
- Sequence number.
- src String
- Source IPv6 prefix.
- srcNegate String
- Enable/disable negating source address match.
- srcaddrs List<Property Map>
- Source address name. The structure of srcaddrblock is documented below.
- startPort Number
- Start destination port number (1 - 65535).
- startSource NumberPort 
- Start source port number (1 - 65535).
- status String
- Enable/disable this policy route.
- tos String
- Type of service bit pattern.
- tosMask 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 fortiosTerraform Provider.
