prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getResourceLists
Explore with Pulumi AI
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<Get
Resource Lists Listing> - List of resource lists, as defined below.
- Total double
- (int) Total number of resource lists.
- Id string
- ID of resource list.
- Listings
[]Get
Resource Lists Listing - List of resource lists, as defined below.
- Total float64
- (int) Total number of resource lists.
- id String
- ID of resource list.
- listings
List<Get
Resource Lists Listing> - List of resource lists, as defined below.
- total Double
- (int) Total number of resource lists.
- id string
- ID of resource list.
- listings
Get
Resource Lists Listing[] - List of resource lists, as defined below.
- total number
- (int) Total number of resource lists.
- id str
- ID of resource list.
- listings
Sequence[Get
Resource Lists Listing] - 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.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - Last modified timestamp.
- Name string
- Name of resource list.
- Resource
List stringType - Type of resource list.
- Description string
- Description of the resource list.
- Id string
- ID of resource list.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - Last modified timestamp.
- Name string
- Name of resource list.
- Resource
List stringType - Type of resource list.
- description String
- Description of the resource list.
- id String
- ID of resource list.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - Last modified timestamp.
- name String
- Name of resource list.
- resource
List StringType - Type of resource list.
- description string
- Description of the resource list.
- id string
- ID of resource list.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - Last modified timestamp.
- name string
- Name of resource list.
- resource
List stringType - Type of resource list.
- description str
- Description of the resource list.
- id str
- ID of resource list.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - Last modified timestamp.
- name str
- Name of resource list.
- resource_
list_ strtype - Type of resource list.
- description String
- Description of the resource list.
- id String
- ID of resource list.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - Last modified timestamp.
- name String
- Name of resource list.
- resource
List StringType - 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 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks