1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. firewall/service
  6. getCategory
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall/service.getCategory

Explore with Pulumi AI

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

    Use this data source to get information on an fortios firewallservice category

    Using getCategory

    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 getCategory(args: GetCategoryArgs, opts?: InvokeOptions): Promise<GetCategoryResult>
    function getCategoryOutput(args: GetCategoryOutputArgs, opts?: InvokeOptions): Output<GetCategoryResult>
    def get_category(name: Optional[str] = None,
                     vdomparam: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCategoryResult
    def get_category_output(name: Optional[pulumi.Input[str]] = None,
                     vdomparam: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCategoryResult]
    func LookupCategory(ctx *Context, args *LookupCategoryArgs, opts ...InvokeOption) (*LookupCategoryResult, error)
    func LookupCategoryOutput(ctx *Context, args *LookupCategoryOutputArgs, opts ...InvokeOption) LookupCategoryResultOutput

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

    public static class GetCategory 
    {
        public static Task<GetCategoryResult> InvokeAsync(GetCategoryArgs args, InvokeOptions? opts = null)
        public static Output<GetCategoryResult> Invoke(GetCategoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCategoryResult> getCategory(GetCategoryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:firewall/service/getCategory:getCategory
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Specify the name of the desired firewallservice category.
    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.
    Name string
    Specify the name of the desired firewallservice category.
    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.
    name String
    Specify the name of the desired firewallservice category.
    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.
    name string
    Specify the name of the desired firewallservice category.
    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.
    name str
    Specify the name of the desired firewallservice category.
    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.
    name String
    Specify the name of the desired firewallservice category.
    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.

    getCategory Result

    The following output properties are available:

    Comment string
    Comment.
    FabricObject string
    Security Fabric global object setting.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Service category name.
    Vdomparam string
    Comment string
    Comment.
    FabricObject string
    Security Fabric global object setting.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Service category name.
    Vdomparam string
    comment String
    Comment.
    fabricObject String
    Security Fabric global object setting.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Service category name.
    vdomparam String
    comment string
    Comment.
    fabricObject string
    Security Fabric global object setting.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Service category name.
    vdomparam string
    comment str
    Comment.
    fabric_object str
    Security Fabric global object setting.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Service category name.
    vdomparam str
    comment String
    Comment.
    fabricObject String
    Security Fabric global object setting.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Service category name.
    vdomparam String

    Package Details

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