1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. getResourceLists
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.getResourceLists

Explore with Pulumi AI

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    Retrieves list of resource lists.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as prismacloud from "@pulumi/prismacloud";
    
    const example = prismacloud.getResourceLists({});
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_resource_lists()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := prismacloud.GetResourceLists(ctx, &prismacloud.GetResourceListsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Prismacloud = Pulumi.Prismacloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Prismacloud.GetResourceLists.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.prismacloud.PrismacloudFunctions;
    import com.pulumi.prismacloud.inputs.GetResourceListsArgs;
    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 = PrismacloudFunctions.getResourceLists();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getResourceLists
          arguments: {}
    

    Using getResourceLists

    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 getResourceLists(args: GetResourceListsArgs, opts?: InvokeOptions): Promise<GetResourceListsResult>
    function getResourceListsOutput(args: GetResourceListsOutputArgs, opts?: InvokeOptions): Output<GetResourceListsResult>
    def get_resource_lists(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetResourceListsResult
    def get_resource_lists_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetResourceListsResult]
    func GetResourceLists(ctx *Context, args *GetResourceListsArgs, opts ...InvokeOption) (*GetResourceListsResult, error)
    func GetResourceListsOutput(ctx *Context, args *GetResourceListsOutputArgs, opts ...InvokeOption) GetResourceListsResultOutput

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

    public static class GetResourceLists 
    {
        public static Task<GetResourceListsResult> InvokeAsync(GetResourceListsArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceListsResult> Invoke(GetResourceListsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceListsResult> getResourceLists(GetResourceListsArgs args, InvokeOptions options)
    public static Output<GetResourceListsResult> getResourceLists(GetResourceListsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getResourceLists:getResourceLists
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID of resource list.
    Id string
    ID of resource list.
    id String
    ID of resource list.
    id string
    ID of resource list.
    id str
    ID of resource list.
    id String
    ID of resource list.

    getResourceLists Result

    The following output properties are available:

    Id string
    ID of resource list.
    Listings List<GetResourceListsListing>
    List of resource lists, as defined below.
    Total double
    (int) Total number of resource lists.
    Id string
    ID of resource list.
    Listings []GetResourceListsListing
    List of resource lists, as defined below.
    Total float64
    (int) Total number of resource lists.
    id String
    ID of resource list.
    listings List<GetResourceListsListing>
    List of resource lists, as defined below.
    total Double
    (int) Total number of resource lists.
    id string
    ID of resource list.
    listings GetResourceListsListing[]
    List of resource lists, as defined below.
    total number
    (int) Total number of resource lists.
    id str
    ID of resource list.
    listings Sequence[GetResourceListsListing]
    List of resource lists, as defined below.
    total float
    (int) Total number of resource lists.
    id String
    ID of resource list.
    listings List<Property Map>
    List of resource lists, as defined below.
    total Number
    (int) Total number of resource lists.

    Supporting Types

    GetResourceListsListing

    Description string
    Description of the resource list.
    Id string
    ID of resource list.
    LastModifiedBy string
    Last modified by.
    LastModifiedTs double
    Last modified timestamp.
    Name string
    Name of resource list.
    ResourceListType string
    Type of resource list.
    Description string
    Description of the resource list.
    Id string
    ID of resource list.
    LastModifiedBy string
    Last modified by.
    LastModifiedTs float64
    Last modified timestamp.
    Name string
    Name of resource list.
    ResourceListType string
    Type of resource list.
    description String
    Description of the resource list.
    id String
    ID of resource list.
    lastModifiedBy String
    Last modified by.
    lastModifiedTs Double
    Last modified timestamp.
    name String
    Name of resource list.
    resourceListType String
    Type of resource list.
    description string
    Description of the resource list.
    id string
    ID of resource list.
    lastModifiedBy string
    Last modified by.
    lastModifiedTs number
    Last modified timestamp.
    name string
    Name of resource list.
    resourceListType string
    Type of resource list.
    description str
    Description of the resource list.
    id str
    ID of resource list.
    last_modified_by str
    Last modified by.
    last_modified_ts float
    Last modified timestamp.
    name str
    Name of resource list.
    resource_list_type str
    Type of resource list.
    description String
    Description of the resource list.
    id String
    ID of resource list.
    lastModifiedBy String
    Last modified by.
    lastModifiedTs Number
    Last modified timestamp.
    name String
    Name of resource list.
    resourceListType String
    Type of resource list.

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks