1. Packages
  2. Palo Alto Networks Cloud NGFW For AWS Provider
  3. API Docs
  4. getAppIdVersions
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

cloudngfwaws.getAppIdVersions

Explore with Pulumi AI

cloudngfwaws logo
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

    Data source get a list of AppId versions.

    Admin Permission Type

    • Rulestack

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudngfwaws from "@pulumi/cloudngfwaws";
    
    const example = cloudngfwaws.getAppIdVersions({});
    
    import pulumi
    import pulumi_cloudngfwaws as cloudngfwaws
    
    example = cloudngfwaws.get_app_id_versions()
    
    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.GetAppIdVersions(ctx, &cloudngfwaws.GetAppIdVersionsArgs{}, 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.GetAppIdVersions.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.GetAppIdVersionsArgs;
    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.getAppIdVersions();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: cloudngfwaws:getAppIdVersions
          Arguments: {}
    

    Using getAppIdVersions

    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 getAppIdVersions(args: GetAppIdVersionsArgs, opts?: InvokeOptions): Promise<GetAppIdVersionsResult>
    function getAppIdVersionsOutput(args: GetAppIdVersionsOutputArgs, opts?: InvokeOptions): Output<GetAppIdVersionsResult>
    def get_app_id_versions(max_results: Optional[int] = None,
                            token: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAppIdVersionsResult
    def get_app_id_versions_output(max_results: Optional[pulumi.Input[int]] = None,
                            token: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAppIdVersionsResult]
    func GetAppIdVersions(ctx *Context, args *GetAppIdVersionsArgs, opts ...InvokeOption) (*GetAppIdVersionsResult, error)
    func GetAppIdVersionsOutput(ctx *Context, args *GetAppIdVersionsOutputArgs, opts ...InvokeOption) GetAppIdVersionsResultOutput

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

    public static class GetAppIdVersions 
    {
        public static Task<GetAppIdVersionsResult> InvokeAsync(GetAppIdVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetAppIdVersionsResult> Invoke(GetAppIdVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppIdVersionsResult> getAppIdVersions(GetAppIdVersionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudngfwaws:index/getAppIdVersions:getAppIdVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MaxResults int
    Max number of results. Defaults to 100.
    Token string
    Pagination token.
    MaxResults int
    Max number of results. Defaults to 100.
    Token string
    Pagination token.
    maxResults Integer
    Max number of results. Defaults to 100.
    token String
    Pagination token.
    maxResults number
    Max number of results. Defaults to 100.
    token string
    Pagination token.
    max_results int
    Max number of results. Defaults to 100.
    token str
    Pagination token.
    maxResults Number
    Max number of results. Defaults to 100.
    token String
    Pagination token.

    getAppIdVersions Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NextToken string
    Token for the next page of results.
    Versions List<string>
    List of AppId versions.
    MaxResults int
    Max number of results. Defaults to 100.
    Token string
    Pagination token.
    Id string
    The provider-assigned unique ID for this managed resource.
    NextToken string
    Token for the next page of results.
    Versions []string
    List of AppId versions.
    MaxResults int
    Max number of results. Defaults to 100.
    Token string
    Pagination token.
    id String
    The provider-assigned unique ID for this managed resource.
    nextToken String
    Token for the next page of results.
    versions List<String>
    List of AppId versions.
    maxResults Integer
    Max number of results. Defaults to 100.
    token String
    Pagination token.
    id string
    The provider-assigned unique ID for this managed resource.
    nextToken string
    Token for the next page of results.
    versions string[]
    List of AppId versions.
    maxResults number
    Max number of results. Defaults to 100.
    token string
    Pagination token.
    id str
    The provider-assigned unique ID for this managed resource.
    next_token str
    Token for the next page of results.
    versions Sequence[str]
    List of AppId versions.
    max_results int
    Max number of results. Defaults to 100.
    token str
    Pagination token.
    id String
    The provider-assigned unique ID for this managed resource.
    nextToken String
    Token for the next page of results.
    versions List<String>
    List of AppId versions.
    maxResults Number
    Max number of 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.
    cloudngfwaws logo
    Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi