1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. getPack
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.getPack

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    This data resource provides the ability to search for a pack in the Palette registries. It supports more advanced search criteria than the pack_simple data source.

    The existing filters attribute will be deprecated, and a new pack_filters attribute will be introduced for advanced search functionality.

    Example Usage

    An example of how to use this data source to retrieve a specific pack from the community registry.

    For certain packs such as vm-migration-assistant, virtual-machine-orchestrator, vm-migration-assistant-pack, spectro-k8s-dashboard, and spectro-vm-dashboard, the addon_type is considered as integration.

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const example = spectrocloud.getPack({
        name: "nginx-pack",
        version: "1.2.3",
    });
    const filtered = spectrocloud.getPack({
        name: "k8sgpt-operator",
        advanceFilters: {
            packTypes: ["spectro"],
            addonTypes: ["system app"],
            packLayers: ["addon"],
            environments: ["all"],
            isFips: false,
            packSources: ["community"],
        },
        registryUid: "5ee9c5adc172449eeb9c30cf",
    });
    export const packId = example.then(example => example.id);
    export const packVersion = example.then(example => example.version);
    export const packValues = example.then(example => example.values);
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    example = spectrocloud.get_pack(name="nginx-pack",
        version="1.2.3")
    filtered = spectrocloud.get_pack(name="k8sgpt-operator",
        advance_filters={
            "pack_types": ["spectro"],
            "addon_types": ["system app"],
            "pack_layers": ["addon"],
            "environments": ["all"],
            "is_fips": False,
            "pack_sources": ["community"],
        },
        registry_uid="5ee9c5adc172449eeb9c30cf")
    pulumi.export("packId", example.id)
    pulumi.export("packVersion", example.version)
    pulumi.export("packValues", example.values)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := spectrocloud.GetPack(ctx, &spectrocloud.GetPackArgs{
    			Name:    pulumi.StringRef("nginx-pack"),
    			Version: pulumi.StringRef("1.2.3"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = spectrocloud.GetPack(ctx, &spectrocloud.GetPackArgs{
    			Name: pulumi.StringRef("k8sgpt-operator"),
    			AdvanceFilters: spectrocloud.GetPackAdvanceFilters{
    				PackTypes: []string{
    					"spectro",
    				},
    				AddonTypes: []string{
    					"system app",
    				},
    				PackLayers: []string{
    					"addon",
    				},
    				Environments: []string{
    					"all",
    				},
    				IsFips: pulumi.BoolRef(false),
    				PackSources: []string{
    					"community",
    				},
    			},
    			RegistryUid: pulumi.StringRef("5ee9c5adc172449eeb9c30cf"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("packId", example.Id)
    		ctx.Export("packVersion", example.Version)
    		ctx.Export("packValues", example.Values)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Spectrocloud.GetPack.Invoke(new()
        {
            Name = "nginx-pack",
            Version = "1.2.3",
        });
    
        var filtered = Spectrocloud.GetPack.Invoke(new()
        {
            Name = "k8sgpt-operator",
            AdvanceFilters = new Spectrocloud.Inputs.GetPackAdvanceFiltersInputArgs
            {
                PackTypes = new[]
                {
                    "spectro",
                },
                AddonTypes = new[]
                {
                    "system app",
                },
                PackLayers = new[]
                {
                    "addon",
                },
                Environments = new[]
                {
                    "all",
                },
                IsFips = false,
                PackSources = new[]
                {
                    "community",
                },
            },
            RegistryUid = "5ee9c5adc172449eeb9c30cf",
        });
    
        return new Dictionary<string, object?>
        {
            ["packId"] = example.Apply(getPackResult => getPackResult.Id),
            ["packVersion"] = example.Apply(getPackResult => getPackResult.Version),
            ["packValues"] = example.Apply(getPackResult => getPackResult.Values),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.SpectrocloudFunctions;
    import com.pulumi.spectrocloud.inputs.GetPackArgs;
    import com.pulumi.spectrocloud.inputs.GetPackAdvanceFiltersArgs;
    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 = SpectrocloudFunctions.getPack(GetPackArgs.builder()
                .name("nginx-pack")
                .version("1.2.3")
                .build());
    
            final var filtered = SpectrocloudFunctions.getPack(GetPackArgs.builder()
                .name("k8sgpt-operator")
                .advanceFilters(GetPackAdvanceFiltersArgs.builder()
                    .packTypes("spectro")
                    .addonTypes("system app")
                    .packLayers("addon")
                    .environments("all")
                    .isFips(false)
                    .packSources("community")
                    .build())
                .registryUid("5ee9c5adc172449eeb9c30cf")
                .build());
    
            ctx.export("packId", example.applyValue(getPackResult -> getPackResult.id()));
            ctx.export("packVersion", example.applyValue(getPackResult -> getPackResult.version()));
            ctx.export("packValues", example.applyValue(getPackResult -> getPackResult.values()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: spectrocloud:getPack
          arguments:
            name: nginx-pack
            version: 1.2.3
      filtered:
        fn::invoke:
          function: spectrocloud:getPack
          arguments:
            name: k8sgpt-operator
            advanceFilters:
              packTypes:
                - spectro
              addonTypes:
                - system app
              packLayers:
                - addon
              environments:
                - all
              isFips: false
              packSources:
                - community
            registryUid: 5ee9c5adc172449eeb9c30cf
    outputs:
      # Output pack details
      packId: ${example.id}
      packVersion: ${example.version}
      packValues: ${example.values}
    

    In this example, a filter is applied to retrieve a Calico CNI pack from the Palette OCI registry that is compatible with Edge clusters and has a version greater than 3.26.9.

    The filter attribute is a string that can contain multiple filters separated by the AND, OR operator. You can filter for a pack by using the attributes retured in the spec object of the payload provided by the v1/packs/search endpoint. Refer to the Palette Pack Search API endpoint documentation for more information on the available filters.

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const paletteRegistryOci = spectrocloud.getRegistry({
        name: "Palette Registry",
    });
    const cni = paletteRegistryOci.then(paletteRegistryOci => spectrocloud.getPack({
        filters: `spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid=${paletteRegistryOci.id}`,
    }));
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    palette_registry_oci = spectrocloud.get_registry(name="Palette Registry")
    cni = spectrocloud.get_pack(filters=f"spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid={palette_registry_oci.id}")
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		paletteRegistryOci, err := spectrocloud.GetRegistry(ctx, &spectrocloud.GetRegistryArgs{
    			Name: "Palette Registry",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = spectrocloud.GetPack(ctx, &spectrocloud.GetPackArgs{
    			Filters: pulumi.StringRef(fmt.Sprintf("spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid=%v", paletteRegistryOci.Id)),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var paletteRegistryOci = Spectrocloud.GetRegistry.Invoke(new()
        {
            Name = "Palette Registry",
        });
    
        var cni = Spectrocloud.GetPack.Invoke(new()
        {
            Filters = $"spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid={paletteRegistryOci.Apply(getRegistryResult => getRegistryResult.Id)}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.SpectrocloudFunctions;
    import com.pulumi.spectrocloud.inputs.GetRegistryArgs;
    import com.pulumi.spectrocloud.inputs.GetPackArgs;
    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 paletteRegistryOci = SpectrocloudFunctions.getRegistry(GetRegistryArgs.builder()
                .name("Palette Registry")
                .build());
    
            final var cni = SpectrocloudFunctions.getPack(GetPackArgs.builder()
                .filters(String.format("spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid=%s", paletteRegistryOci.applyValue(getRegistryResult -> getRegistryResult.id())))
                .build());
    
        }
    }
    
    variables:
      paletteRegistryOci:
        fn::invoke:
          function: spectrocloud:getRegistry
          arguments:
            name: Palette Registry
      cni:
        fn::invoke:
          function: spectrocloud:getPack
          arguments:
            filters: spec.cloudTypes=edge-nativeANDspec.layer=cniANDspec.displayName=CalicoANDspec.version>3.26.9ANDspec.registryUid=${paletteRegistryOci.id}
    

    Using getPack

    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 getPack(args: GetPackArgs, opts?: InvokeOptions): Promise<GetPackResult>
    function getPackOutput(args: GetPackOutputArgs, opts?: InvokeOptions): Output<GetPackResult>
    def get_pack(advance_filters: Optional[GetPackAdvanceFilters] = None,
                 clouds: Optional[Sequence[str]] = None,
                 filters: Optional[str] = None,
                 id: Optional[str] = None,
                 name: Optional[str] = None,
                 registry_uid: Optional[str] = None,
                 type: Optional[str] = None,
                 version: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetPackResult
    def get_pack_output(advance_filters: Optional[pulumi.Input[GetPackAdvanceFiltersArgs]] = None,
                 clouds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 filters: Optional[pulumi.Input[str]] = None,
                 id: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 registry_uid: Optional[pulumi.Input[str]] = None,
                 type: Optional[pulumi.Input[str]] = None,
                 version: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetPackResult]
    func GetPack(ctx *Context, args *GetPackArgs, opts ...InvokeOption) (*GetPackResult, error)
    func GetPackOutput(ctx *Context, args *GetPackOutputArgs, opts ...InvokeOption) GetPackResultOutput

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

    public static class GetPack 
    {
        public static Task<GetPackResult> InvokeAsync(GetPackArgs args, InvokeOptions? opts = null)
        public static Output<GetPackResult> Invoke(GetPackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPackResult> getPack(GetPackArgs args, InvokeOptions options)
    public static Output<GetPackResult> getPack(GetPackArgs args, InvokeOptions options)
    
    fn::invoke:
      function: spectrocloud:index/getPack:getPack
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AdvanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    Clouds List<string>
    Filter results by cloud type. If not provided, all cloud types are returned.
    Filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    Id string
    The UID of the pack returned.
    Name string
    The name of the pack to search for.
    RegistryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    Type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    Version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    AdvanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    Clouds []string
    Filter results by cloud type. If not provided, all cloud types are returned.
    Filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    Id string
    The UID of the pack returned.
    Name string
    The name of the pack to search for.
    RegistryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    Type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    Version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    clouds List<String>
    Filter results by cloud type. If not provided, all cloud types are returned.
    filters String
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    id String
    The UID of the pack returned.
    name String
    The name of the pack to search for.
    registryUid String
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type String
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    version String
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    clouds string[]
    Filter results by cloud type. If not provided, all cloud types are returned.
    filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    id string
    The UID of the pack returned.
    name string
    The name of the pack to search for.
    registryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advance_filters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    clouds Sequence[str]
    Filter results by cloud type. If not provided, all cloud types are returned.
    filters str
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    id str
    The UID of the pack returned.
    name str
    The name of the pack to search for.
    registry_uid str
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type str
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    version str
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters Property Map
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    clouds List<String>
    Filter results by cloud type. If not provided, all cloud types are returned.
    filters String
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    id String
    The UID of the pack returned.
    name String
    The name of the pack to search for.
    registryUid String
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type String
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    version String
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.

    getPack Result

    The following output properties are available:

    Clouds List<string>
    Filter results by cloud type. If not provided, all cloud types are returned.
    Id string
    The UID of the pack returned.
    Name string
    The name of the pack to search for.
    RegistryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    Type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    Values string
    The YAML values of the pack returned as string.
    Version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    AdvanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    Filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    Clouds []string
    Filter results by cloud type. If not provided, all cloud types are returned.
    Id string
    The UID of the pack returned.
    Name string
    The name of the pack to search for.
    RegistryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    Type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    Values string
    The YAML values of the pack returned as string.
    Version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    AdvanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    Filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    clouds List<String>
    Filter results by cloud type. If not provided, all cloud types are returned.
    id String
    The UID of the pack returned.
    name String
    The name of the pack to search for.
    registryUid String
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type String
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    values String
    The YAML values of the pack returned as string.
    version String
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    filters String
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    clouds string[]
    Filter results by cloud type. If not provided, all cloud types are returned.
    id string
    The UID of the pack returned.
    name string
    The name of the pack to search for.
    registryUid string
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type string
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    values string
    The YAML values of the pack returned as string.
    version string
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    filters string
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    clouds Sequence[str]
    Filter results by cloud type. If not provided, all cloud types are returned.
    id str
    The UID of the pack returned.
    name str
    The name of the pack to search for.
    registry_uid str
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type str
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    values str
    The YAML values of the pack returned as string.
    version str
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advance_filters GetPackAdvanceFilters
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    filters str
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.
    clouds List<String>
    Filter results by cloud type. If not provided, all cloud types are returned.
    id String
    The UID of the pack returned.
    name String
    The name of the pack to search for.
    registryUid String
    The unique identifier (UID) of the registry where the pack is located. Specify registry_uid to search within a specific registry.
    type String
    The type of pack to search for. Supported values are helm, manifest, container, operator-instance.
    values String
    The YAML values of the pack returned as string.
    version String
    Specify the version of the pack to search for. If not set, the latest available version from the specified registry will be used.
    advanceFilters Property Map
    A set of advanced filters to refine the selection of packs. These filters allow users to specify criteria such as pack type, add-on type, pack layer, and environment.
    filters String
    Filters to apply when searching for a pack. This is a string of the form 'key1=value1' with 'AND', 'ORoperators. Refer to the Palette API [pack search API endpoint documentation](https://docs.spectrocloud.com/api/v1/v-1-packs-search/) for filter examples. The filter attribute will be deprecated soon; useadvance_filter` instead.

    Supporting Types

    GetPackAdvanceFilters

    AddonTypes List<string>
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    Environments List<string>
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    IsFips bool
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    PackLayers List<string>
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    PackSources List<string>
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    PackTypes List<string>
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.
    AddonTypes []string
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    Environments []string
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    IsFips bool
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    PackLayers []string
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    PackSources []string
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    PackTypes []string
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.
    addonTypes List<String>
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    environments List<String>
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    isFips Boolean
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    packLayers List<String>
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    packSources List<String>
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    packTypes List<String>
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.
    addonTypes string[]
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    environments string[]
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    isFips boolean
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    packLayers string[]
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    packSources string[]
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    packTypes string[]
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.
    addon_types Sequence[str]
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    environments Sequence[str]
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    is_fips bool
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    pack_layers Sequence[str]
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    pack_sources Sequence[str]
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    pack_types Sequence[str]
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.
    addonTypes List<String>
    Defines the type of add-on pack. Allowed values are load balancer, ingress, logging, monitoring, security, authentication, servicemesh, system app, app services, registry and integration. If not specified, all options will be set by default. For storage and network addontype set csi or cni respectively in packlayer
    environments List<String>
    Defines the environment where the pack will be deployed. Options include all, aws, eks, azure, aks, gcp, gke, vsphere, maas, openstack and edge-native. If not specified, all options will be set by default.
    isFips Boolean
    Indicates whether the pack is FIPS-compliant. If true, only FIPS-compliant components will be used.
    packLayers List<String>
    Indicates the pack layer, such as kernel, os, k8s, cni, csi, or addon. If not specified, all options will be set by default.
    packSources List<String>
    Specify the source of the pack. Allowed values are spectrocloud and community. If not specified, all options will be set by default.
    packTypes List<String>
    Specify the type of pack. Allowed values are helm, spectro, oci, and manifest. If not specified, all options will be set by default.

    Package Details

    Repository
    spectrocloud spectrocloud/terraform-provider-spectrocloud
    License
    Notes
    This Pulumi package is based on the spectrocloud Terraform Provider.
    spectrocloud logo
    spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud