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

prismacloud.getResourceList

Explore with Pulumi AI

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

    Retrieves resource list information by id.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as prismacloud from "@pulumi/prismacloud";
    
    const example = prismacloud.getResourceList({
        id: "resource list id",
    });
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_resource_list(id="resource list id")
    
    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.LookupResourceList(ctx, &prismacloud.LookupResourceListArgs{
    			Id: "resource list id",
    		}, 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.GetResourceList.Invoke(new()
        {
            Id = "resource list id",
        });
    
    });
    
    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.GetResourceListArgs;
    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.getResourceList(GetResourceListArgs.builder()
                .id("resource list id")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getResourceList
          arguments:
            id: resource list id
    

    Using getResourceList

    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 getResourceList(args: GetResourceListArgs, opts?: InvokeOptions): Promise<GetResourceListResult>
    function getResourceListOutput(args: GetResourceListOutputArgs, opts?: InvokeOptions): Output<GetResourceListResult>
    def get_resource_list(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetResourceListResult
    def get_resource_list_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetResourceListResult]
    func LookupResourceList(ctx *Context, args *LookupResourceListArgs, opts ...InvokeOption) (*LookupResourceListResult, error)
    func LookupResourceListOutput(ctx *Context, args *LookupResourceListOutputArgs, opts ...InvokeOption) LookupResourceListResultOutput

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

    public static class GetResourceList 
    {
        public static Task<GetResourceListResult> InvokeAsync(GetResourceListArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceListResult> Invoke(GetResourceListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceListResult> getResourceList(GetResourceListArgs args, InvokeOptions options)
    public static Output<GetResourceListResult> getResourceList(GetResourceListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getResourceList:getResourceList
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getResourceList Result

    The following output properties are available:

    Description string
    Description of the resource list.
    Id string
    LastModifiedBy string
    Last modified by.
    LastModifiedTs double
    (int) Last modified timestamp.
    Members List<GetResourceListMember>
    Associated resource list members as defined below.
    Name string
    Name of the resource list.
    ResourceListType string
    Type of resource list.
    Description string
    Description of the resource list.
    Id string
    LastModifiedBy string
    Last modified by.
    LastModifiedTs float64
    (int) Last modified timestamp.
    Members []GetResourceListMember
    Associated resource list members as defined below.
    Name string
    Name of the resource list.
    ResourceListType string
    Type of resource list.
    description String
    Description of the resource list.
    id String
    lastModifiedBy String
    Last modified by.
    lastModifiedTs Double
    (int) Last modified timestamp.
    members List<GetResourceListMember>
    Associated resource list members as defined below.
    name String
    Name of the resource list.
    resourceListType String
    Type of resource list.
    description string
    Description of the resource list.
    id string
    lastModifiedBy string
    Last modified by.
    lastModifiedTs number
    (int) Last modified timestamp.
    members GetResourceListMember[]
    Associated resource list members as defined below.
    name string
    Name of the resource list.
    resourceListType string
    Type of resource list.
    description str
    Description of the resource list.
    id str
    last_modified_by str
    Last modified by.
    last_modified_ts float
    (int) Last modified timestamp.
    members Sequence[GetResourceListMember]
    Associated resource list members as defined below.
    name str
    Name of the resource list.
    resource_list_type str
    Type of resource list.
    description String
    Description of the resource list.
    id String
    lastModifiedBy String
    Last modified by.
    lastModifiedTs Number
    (int) Last modified timestamp.
    members List<Property Map>
    Associated resource list members as defined below.
    name String
    Name of the resource list.
    resourceListType String
    Type of resource list.

    Supporting Types

    GetResourceListMember

    AzureResourceGroups List<string>
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    ComputeAccessGroups List<GetResourceListMemberComputeAccessGroup>
    Associated resource list Compute Access Groups as defined below
    Tags List<GetResourceListMemberTag>
    Associated resource list tags as defined below
    AzureResourceGroups []string
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    ComputeAccessGroups []GetResourceListMemberComputeAccessGroup
    Associated resource list Compute Access Groups as defined below
    Tags []GetResourceListMemberTag
    Associated resource list tags as defined below
    azureResourceGroups List<String>
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    computeAccessGroups List<GetResourceListMemberComputeAccessGroup>
    Associated resource list Compute Access Groups as defined below
    tags List<GetResourceListMemberTag>
    Associated resource list tags as defined below
    azureResourceGroups string[]
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    computeAccessGroups GetResourceListMemberComputeAccessGroup[]
    Associated resource list Compute Access Groups as defined below
    tags GetResourceListMemberTag[]
    Associated resource list tags as defined below
    azure_resource_groups Sequence[str]
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    compute_access_groups Sequence[GetResourceListMemberComputeAccessGroup]
    Associated resource list Compute Access Groups as defined below
    tags Sequence[GetResourceListMemberTag]
    Associated resource list tags as defined below
    azureResourceGroups List<String>
    Consists of a list of Azure Resource Groups IDs associated with the resource list.
    computeAccessGroups List<Property Map>
    Associated resource list Compute Access Groups as defined below
    tags List<Property Map>
    Associated resource list tags as defined below

    GetResourceListMemberComputeAccessGroup

    AppIds List<string>
    App id
    Clusters List<string>
    Clusters
    CodeRepos List<string>
    Code repos
    Containers List<string>
    Containers
    Functions List<string>
    Functions
    Hosts List<string>
    Hosts
    Images List<string>
    Images
    Labels List<string>
    Labels
    Namespaces List<string>
    Namespaces
    AppIds []string
    App id
    Clusters []string
    Clusters
    CodeRepos []string
    Code repos
    Containers []string
    Containers
    Functions []string
    Functions
    Hosts []string
    Hosts
    Images []string
    Images
    Labels []string
    Labels
    Namespaces []string
    Namespaces
    appIds List<String>
    App id
    clusters List<String>
    Clusters
    codeRepos List<String>
    Code repos
    containers List<String>
    Containers
    functions List<String>
    Functions
    hosts List<String>
    Hosts
    images List<String>
    Images
    labels List<String>
    Labels
    namespaces List<String>
    Namespaces
    appIds string[]
    App id
    clusters string[]
    Clusters
    codeRepos string[]
    Code repos
    containers string[]
    Containers
    functions string[]
    Functions
    hosts string[]
    Hosts
    images string[]
    Images
    labels string[]
    Labels
    namespaces string[]
    Namespaces
    app_ids Sequence[str]
    App id
    clusters Sequence[str]
    Clusters
    code_repos Sequence[str]
    Code repos
    containers Sequence[str]
    Containers
    functions Sequence[str]
    Functions
    hosts Sequence[str]
    Hosts
    images Sequence[str]
    Images
    labels Sequence[str]
    Labels
    namespaces Sequence[str]
    Namespaces
    appIds List<String>
    App id
    clusters List<String>
    Clusters
    codeRepos List<String>
    Code repos
    containers List<String>
    Containers
    functions List<String>
    Functions
    hosts List<String>
    Hosts
    images List<String>
    Images
    labels List<String>
    Labels
    namespaces List<String>
    Namespaces

    GetResourceListMemberTag

    Key string
    Key of the tag.
    Value string
    Value of the tag.
    Key string
    Key of the tag.
    Value string
    Value of the tag.
    key String
    Key of the tag.
    value String
    Value of the tag.
    key string
    Key of the tag.
    value string
    Value of the tag.
    key str
    Key of the tag.
    value str
    Value of the tag.
    key String
    Key of the tag.
    value String
    Value of the tag.

    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