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

prodvana.Application

Explore with Pulumi AI

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

    This resource allows you to manage a Prodvana Application.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Prodvana = Pulumi.Prodvana;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Prodvana.Application("example");
    
    });
    
    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.NewApplication(ctx, "example", 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.Application;
    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) {
            var example = new Application("example");
    
        }
    }
    
    import pulumi
    import pulumi_prodvana as prodvana
    
    example = prodvana.Application("example")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as prodvana from "@prodvana/pulumi-prodvana";
    
    const example = new prodvana.Application("example", {});
    
    resources:
      example:
        type: prodvana:Application
    

    Create Application Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Application(name: string, args?: ApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def Application(resource_name: str,
                    args: Optional[ApplicationArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Application(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None)
    func NewApplication(ctx *Context, name string, args *ApplicationArgs, opts ...ResourceOption) (*Application, error)
    public Application(string name, ApplicationArgs? args = null, CustomResourceOptions? opts = null)
    public Application(String name, ApplicationArgs args)
    public Application(String name, ApplicationArgs args, CustomResourceOptions options)
    
    type: prodvana:Application
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applicationResource = new Prodvana.Application("applicationResource", new()
    {
        Description = "string",
        Name = "string",
    });
    
    example, err := prodvana.NewApplication(ctx, "applicationResource", &prodvana.ApplicationArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var applicationResource = new Application("applicationResource", ApplicationArgs.builder()
        .description("string")
        .name("string")
        .build());
    
    application_resource = prodvana.Application("applicationResource",
        description="string",
        name="string")
    
    const applicationResource = new prodvana.Application("applicationResource", {
        description: "string",
        name: "string",
    });
    
    type: prodvana:Application
    properties:
        description: string
        name: string
    

    Application Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Application resource accepts the following input properties:

    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 string
    Application name
    description str
    Application description
    name str
    Application name
    description String
    Application description
    name String
    Application name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    Current application version
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    Current application version
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    Current application version
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    Current application version
    id str
    The provider-assigned unique ID for this managed resource.
    version str
    Current application version
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    Current application version

    Look up Existing Application Resource

    Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            version: Optional[str] = None) -> Application
    func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
    public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
    public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    Application description
    Name string
    Application name
    Version string
    Current application version
    Description string
    Application description
    Name string
    Application name
    Version string
    Current application version
    description String
    Application description
    name String
    Application name
    version String
    Current application version
    description string
    Application description
    name string
    Application name
    version string
    Current application version
    description str
    Application description
    name str
    Application name
    version str
    Current application version
    description String
    Application description
    name String
    Application name
    version String
    Current application version

    Import

     $ pulumi import prodvana:index/application:Application example <application name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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