1. Packages
  2. Juniper Mist
  3. API Docs
  4. getConstAppCategories
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

junipermist.getConstAppCategories

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

    This data source provides the of ConstAppCategories. This information can be used as app_categories in the junipermist.org.Service resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const listOfAppCategories = junipermist.getConstAppCategories({});
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    list_of_app_categories = junipermist.get_const_app_categories()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := junipermist.GetConstAppCategories(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using JuniperMist = Pulumi.JuniperMist;
    
    return await Deployment.RunAsync(() => 
    {
        var listOfAppCategories = JuniperMist.GetConstAppCategories.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.JunipermistFunctions;
    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 listOfAppCategories = JunipermistFunctions.getConstAppCategories();
    
        }
    }
    
    variables:
      listOfAppCategories:
        fn::invoke:
          Function: junipermist:getConstAppCategories
          Arguments: {}
    

    Using getConstAppCategories

    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 getConstAppCategories(opts?: InvokeOptions): Promise<GetConstAppCategoriesResult>
    function getConstAppCategoriesOutput(opts?: InvokeOptions): Output<GetConstAppCategoriesResult>
    def get_const_app_categories(opts: Optional[InvokeOptions] = None) -> GetConstAppCategoriesResult
    def get_const_app_categories_output(opts: Optional[InvokeOptions] = None) -> Output[GetConstAppCategoriesResult]
    func GetConstAppCategories(ctx *Context, opts ...InvokeOption) (*GetConstAppCategoriesResult, error)
    func GetConstAppCategoriesOutput(ctx *Context, opts ...InvokeOption) GetConstAppCategoriesResultOutput

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

    public static class GetConstAppCategories 
    {
        public static Task<GetConstAppCategoriesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetConstAppCategoriesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConstAppCategoriesResult> getConstAppCategories(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: junipermist:index/getConstAppCategories:getConstAppCategories
      arguments:
        # arguments dictionary

    getConstAppCategories Result

    The following output properties are available:

    ConstAppCategories List<Pulumi.JuniperMist.Outputs.GetConstAppCategoriesConstAppCategory>
    Id string
    The provider-assigned unique ID for this managed resource.
    ConstAppCategories []GetConstAppCategoriesConstAppCategory
    Id string
    The provider-assigned unique ID for this managed resource.
    constAppCategories List<GetConstAppCategoriesConstAppCategory>
    id String
    The provider-assigned unique ID for this managed resource.
    constAppCategories GetConstAppCategoriesConstAppCategory[]
    id string
    The provider-assigned unique ID for this managed resource.
    const_app_categories Sequence[GetConstAppCategoriesConstAppCategory]
    id str
    The provider-assigned unique ID for this managed resource.
    constAppCategories List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetConstAppCategoriesConstAppCategory

    Display string
    Description of the app category
    Filters Pulumi.JuniperMist.Inputs.GetConstAppCategoriesConstAppCategoryFilters
    Includes List<string>
    List of other App Categories contained by this one
    Key string
    Key name of the app category
    Display string
    Description of the app category
    Filters GetConstAppCategoriesConstAppCategoryFilters
    Includes []string
    List of other App Categories contained by this one
    Key string
    Key name of the app category
    display String
    Description of the app category
    filters GetConstAppCategoriesConstAppCategoryFilters
    includes List<String>
    List of other App Categories contained by this one
    key String
    Key name of the app category
    display string
    Description of the app category
    filters GetConstAppCategoriesConstAppCategoryFilters
    includes string[]
    List of other App Categories contained by this one
    key string
    Key name of the app category
    display str
    Description of the app category
    filters GetConstAppCategoriesConstAppCategoryFilters
    includes Sequence[str]
    List of other App Categories contained by this one
    key str
    Key name of the app category
    display String
    Description of the app category
    filters Property Map
    includes List<String>
    List of other App Categories contained by this one
    key String
    Key name of the app category

    GetConstAppCategoriesConstAppCategoryFilters

    Srxes List<string>
    Ssrs List<string>
    Srxes []string
    Ssrs []string
    srxes List<String>
    ssrs List<String>
    srxes string[]
    ssrs string[]
    srxes Sequence[str]
    ssrs Sequence[str]
    srxes List<String>
    ssrs List<String>

    Package Details

    Repository
    junipermist pulumi/pulumi-junipermist
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mist Terraform Provider.
    junipermist logo
    Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi