Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Lists collections.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getCollections({});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_collections()
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.GetCollections(ctx, &prismacloud.GetCollectionsArgs{}, 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.GetCollections.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.GetCollectionsArgs;
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.getCollections(GetCollectionsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getCollections
arguments: {}
Using getCollections
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 getCollections(args: GetCollectionsArgs, opts?: InvokeOptions): Promise<GetCollectionsResult>
function getCollectionsOutput(args: GetCollectionsOutputArgs, opts?: InvokeOptions): Output<GetCollectionsResult>def get_collections(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCollectionsResult
def get_collections_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCollectionsResult]func GetCollections(ctx *Context, args *GetCollectionsArgs, opts ...InvokeOption) (*GetCollectionsResult, error)
func GetCollectionsOutput(ctx *Context, args *GetCollectionsOutputArgs, opts ...InvokeOption) GetCollectionsResultOutput> Note: This function is named GetCollections in the Go SDK.
public static class GetCollections
{
public static Task<GetCollectionsResult> InvokeAsync(GetCollectionsArgs args, InvokeOptions? opts = null)
public static Output<GetCollectionsResult> Invoke(GetCollectionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCollectionsResult> getCollections(GetCollectionsArgs args, InvokeOptions options)
public static Output<GetCollectionsResult> getCollections(GetCollectionsArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getCollections:getCollections
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- ID of the collection.
- Id string
- ID of the collection.
- id String
- ID of the collection.
- id string
- ID of the collection.
- id str
- ID of the collection.
- id String
- ID of the collection.
getCollections Result
The following output properties are available:
- Id string
- ID of the collection.
- Listings
List<Get
Collections Listing> - List of collections, as defined below.
- Total double
- (int) Total number of collections.
- Id string
- ID of the collection.
- Listings
[]Get
Collections Listing - List of collections, as defined below.
- Total float64
- (int) Total number of collections.
- id String
- ID of the collection.
- listings
List<Get
Collections Listing> - List of collections, as defined below.
- total Double
- (int) Total number of collections.
- id string
- ID of the collection.
- listings
Get
Collections Listing[] - List of collections, as defined below.
- total number
- (int) Total number of collections.
- id str
- ID of the collection.
- listings
Sequence[Get
Collections Listing] - List of collections, as defined below.
- total float
- (int) Total number of collections.
- id String
- ID of the collection.
- listings List<Property Map>
- List of collections, as defined below.
- total Number
- (int) Total number of collections.
Supporting Types
GetCollectionsListing
- Created
By string - Created by.
- Created
Ts double - The timestamp when the collection was created.
- Description string
- Description.
- Id string
- ID of the collection.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Name string
- The name of the collection.
- Created
By string - Created by.
- Created
Ts float64 - The timestamp when the collection was created.
- Description string
- Description.
- Id string
- ID of the collection.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Name string
- The name of the collection.
- created
By String - Created by.
- created
Ts Double - The timestamp when the collection was created.
- description String
- Description.
- id String
- ID of the collection.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- name String
- The name of the collection.
- created
By string - Created by.
- created
Ts number - The timestamp when the collection was created.
- description string
- Description.
- id string
- ID of the collection.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- name string
- The name of the collection.
- created_
by str - Created by.
- created_
ts float - The timestamp when the collection was created.
- description str
- Description.
- id str
- ID of the collection.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- name str
- The name of the collection.
- created
By String - Created by.
- created
Ts Number - The timestamp when the collection was created.
- description String
- Description.
- id String
- ID of the collection.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- name String
- The name of the collection.
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloudTerraform Provider.
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
