1. Packages
  2. Prodvana
  3. API Docs
  4. getApplication
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

prodvana.getApplication

Explore with Pulumi AI

prodvana logo
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

    Prodvana Application

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Prodvana = Pulumi.Prodvana;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Prodvana.GetApplication.Invoke(new()
        {
            Name = "my-app",
        });
    
    });
    
    package main
    
    import (
    	"github.com/prodvana/pulumi-prodvana/sdk/go/prodvana"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := prodvana.LookupApplication(ctx, &prodvana.LookupApplicationArgs{
    			Name: "my-app",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.prodvana.ProdvanaFunctions;
    import com.pulumi.prodvana.inputs.GetApplicationArgs;
    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 = ProdvanaFunctions.getApplication(GetApplicationArgs.builder()
                .name("my-app")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_prodvana as prodvana
    
    example = prodvana.get_application(name="my-app")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as prodvana from "@pulumi/prodvana";
    
    const example = prodvana.getApplication({
        name: "my-app",
    });
    
    variables:
      example:
        fn::invoke:
          Function: prodvana:getApplication
          Arguments:
            name: my-app
    

    Using getApplication

    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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
    function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
    def get_application(description: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationResult
    def get_application_output(description: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
    func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
    func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput

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

    public static class GetApplication 
    {
        public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: prodvana:index/getApplication:getApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Application name
    Description string
    Application description
    Name string
    Application name
    Description string
    Application description
    name String
    Application name
    description String
    Application description
    name string
    Application name
    description string
    Application description
    name str
    Application name
    description str
    Application description
    name String
    Application name
    description String
    Application description

    getApplication Result

    The following output properties are available:

    Id string
    Application identifier
    Name string
    Application name
    Version string
    Current application version
    Description string
    Application description
    Id string
    Application identifier
    Name string
    Application name
    Version string
    Current application version
    Description string
    Application description
    id String
    Application identifier
    name String
    Application name
    version String
    Current application version
    description String
    Application description
    id string
    Application identifier
    name string
    Application name
    version string
    Current application version
    description string
    Application description
    id str
    Application identifier
    name str
    Application name
    version str
    Current application version
    description str
    Application description
    id String
    Application identifier
    name String
    Application name
    version String
    Current application version
    description String
    Application description

    Package Details

    Repository
    prodvana prodvana/pulumi-prodvana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the prodvana Terraform Provider.
    prodvana logo
    Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana