Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getPredefinedUrlCategories
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source for retrieving the predefined URL categories.
Admin Permission Type
Rulestack
(forscope="Local"
)Global Rulestack
(forscope="Global"
)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getPredefinedUrlCategories({});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_predefined_url_categories()
package main
import (
"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfwaws.GetPredefinedUrlCategories(ctx, &cloudngfwaws.GetPredefinedUrlCategoriesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() =>
{
var example = CloudNgfwAws.GetPredefinedUrlCategories.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetPredefinedUrlCategoriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = CloudngfwawsFunctions.getPredefinedUrlCategories();
}
}
variables:
example:
fn::invoke:
Function: cloudngfwaws:getPredefinedUrlCategories
Arguments: {}
Using getPredefinedUrlCategories
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 getPredefinedUrlCategories(args: GetPredefinedUrlCategoriesArgs, opts?: InvokeOptions): Promise<GetPredefinedUrlCategoriesResult>
function getPredefinedUrlCategoriesOutput(args: GetPredefinedUrlCategoriesOutputArgs, opts?: InvokeOptions): Output<GetPredefinedUrlCategoriesResult>
def get_predefined_url_categories(max_results: Optional[int] = None,
token: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPredefinedUrlCategoriesResult
def get_predefined_url_categories_output(max_results: Optional[pulumi.Input[int]] = None,
token: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPredefinedUrlCategoriesResult]
func GetPredefinedUrlCategories(ctx *Context, args *GetPredefinedUrlCategoriesArgs, opts ...InvokeOption) (*GetPredefinedUrlCategoriesResult, error)
func GetPredefinedUrlCategoriesOutput(ctx *Context, args *GetPredefinedUrlCategoriesOutputArgs, opts ...InvokeOption) GetPredefinedUrlCategoriesResultOutput
> Note: This function is named GetPredefinedUrlCategories
in the Go SDK.
public static class GetPredefinedUrlCategories
{
public static Task<GetPredefinedUrlCategoriesResult> InvokeAsync(GetPredefinedUrlCategoriesArgs args, InvokeOptions? opts = null)
public static Output<GetPredefinedUrlCategoriesResult> Invoke(GetPredefinedUrlCategoriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPredefinedUrlCategoriesResult> getPredefinedUrlCategories(GetPredefinedUrlCategoriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getPredefinedUrlCategories:getPredefinedUrlCategories
arguments:
# arguments dictionary
The following arguments are supported:
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- max
Results Integer - Max results. Defaults to
100
. - token String
- Pagination token.
- max
Results number - Max results. Defaults to
100
. - token string
- Pagination token.
- max_
results int - Max results. Defaults to
100
. - token str
- Pagination token.
- max
Results Number - Max results. Defaults to
100
. - token String
- Pagination token.
getPredefinedUrlCategories Result
The following output properties are available:
- Categories List<string>
- List of predefined URL categories.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Token string - Next pagination token.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- Categories []string
- List of predefined URL categories.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Token string - Next pagination token.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- categories List<String>
- List of predefined URL categories.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Token String - Next pagination token.
- max
Results Integer - Max results. Defaults to
100
. - token String
- Pagination token.
- categories string[]
- List of predefined URL categories.
- id string
- The provider-assigned unique ID for this managed resource.
- next
Token string - Next pagination token.
- max
Results number - Max results. Defaults to
100
. - token string
- Pagination token.
- categories Sequence[str]
- List of predefined URL categories.
- id str
- The provider-assigned unique ID for this managed resource.
- next_
token str - Next pagination token.
- max_
results int - Max results. Defaults to
100
. - token str
- Pagination token.
- categories List<String>
- List of predefined URL categories.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Token String - Next pagination token.
- max
Results Number - Max results. Defaults to
100
. - token String
- Pagination token.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi