prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getResourceList
Explore with Pulumi AI
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
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Members
List<Get
Resource List Member> - Associated resource list members as defined below.
- Name string
- Name of the resource list.
- Resource
List stringType - Type of resource list.
- Description string
- Description of the resource list.
- Id string
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Members
[]Get
Resource List Member - Associated resource list members as defined below.
- Name string
- Name of the resource list.
- Resource
List stringType - Type of resource list.
- description String
- Description of the resource list.
- id String
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- members
List<Get
Resource List Member> - Associated resource list members as defined below.
- name String
- Name of the resource list.
- resource
List StringType - Type of resource list.
- description string
- Description of the resource list.
- id string
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- members
Get
Resource List Member[] - Associated resource list members as defined below.
- name string
- Name of the resource list.
- resource
List stringType - Type of resource list.
- description str
- Description of the resource list.
- id str
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- members
Sequence[Get
Resource List Member] - Associated resource list members as defined below.
- name str
- Name of the resource list.
- resource_
list_ strtype - Type of resource list.
- description String
- Description of the resource list.
- id String
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- members List<Property Map>
- Associated resource list members as defined below.
- name String
- Name of the resource list.
- resource
List StringType - Type of resource list.
Supporting Types
GetResourceListMember
- Azure
Resource List<string>Groups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- Compute
Access List<GetGroups Resource List Member Compute Access Group> - Associated resource list Compute Access Groups as defined below
- List<Get
Resource List Member Tag> - Associated resource list tags as defined below
- Azure
Resource []stringGroups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- Compute
Access []GetGroups Resource List Member Compute Access Group - Associated resource list Compute Access Groups as defined below
- []Get
Resource List Member Tag - Associated resource list tags as defined below
- azure
Resource List<String>Groups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- compute
Access List<GetGroups Resource List Member Compute Access Group> - Associated resource list Compute Access Groups as defined below
- List<Get
Resource List Member Tag> - Associated resource list tags as defined below
- azure
Resource string[]Groups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- compute
Access GetGroups Resource List Member Compute Access Group[] - Associated resource list Compute Access Groups as defined below
- Get
Resource List Member Tag[] - Associated resource list tags as defined below
- azure_
resource_ Sequence[str]groups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- compute_
access_ Sequence[Getgroups Resource List Member Compute Access Group] - Associated resource list Compute Access Groups as defined below
- Sequence[Get
Resource List Member Tag] - Associated resource list tags as defined below
- azure
Resource List<String>Groups - Consists of a list of Azure Resource Groups IDs associated with the resource list.
- compute
Access List<Property Map>Groups - Associated resource list Compute Access Groups as defined below
- List<Property Map>
- Associated resource list tags as defined below
GetResourceListMemberComputeAccessGroup
- App
Ids List<string> - App id
- Clusters List<string>
- Clusters
- Code
Repos 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
- App
Ids []string - App id
- Clusters []string
- Clusters
- Code
Repos []string - Code repos
- Containers []string
- Containers
- Functions []string
- Functions
- Hosts []string
- Hosts
- Images []string
- Images
- Labels []string
- Labels
- Namespaces []string
- Namespaces
- app
Ids List<String> - App id
- clusters List<String>
- Clusters
- code
Repos 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
- app
Ids string[] - App id
- clusters string[]
- Clusters
- code
Repos 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
- app
Ids List<String> - App id
- clusters List<String>
- Clusters
- code
Repos 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
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