f5bigip logo
f5 BIG-IP v3.11.0, Mar 21 23

f5bigip.FastApplication

Explore with Pulumi AI

f5bigip.FastApplication This resource will create and manage FAST applications on BIG-IP from provided JSON declaration.

Example Usage

using System.Collections.Generic;
using System.IO;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

return await Deployment.RunAsync(() => 
{
    var foo_app = new F5BigIP.FastApplication("foo-app", new()
    {
        FastJson = File.ReadAllText("new_fast_app.json"),
        Template = "examples/simple_http",
    });

});
package main

import (
	"os"

	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := f5bigip.NewFastApplication(ctx, "foo-app", &f5bigip.FastApplicationArgs{
			FastJson: readFileOrPanic("new_fast_app.json"),
			Template: pulumi.String("examples/simple_http"),
		})
		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.f5bigip.FastApplication;
import com.pulumi.f5bigip.FastApplicationArgs;
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 foo_app = new FastApplication("foo-app", FastApplicationArgs.builder()        
            .fastJson(Files.readString(Paths.get("new_fast_app.json")))
            .template("examples/simple_http")
            .build());

    }
}
import pulumi
import pulumi_f5bigip as f5bigip

foo_app = f5bigip.FastApplication("foo-app",
    fast_json=(lambda path: open(path).read())("new_fast_app.json"),
    template="examples/simple_http")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
import * as fs from "fs";

const foo_app = new f5bigip.FastApplication("foo-app", {
    fastJson: fs.readFileSync("new_fast_app.json"),
    template: "examples/simple_http",
});
resources:
  foo-app:
    type: f5bigip:FastApplication
    properties:
      fastJson:
        fn::readFile: new_fast_app.json
      template: examples/simple_http

Create FastApplication Resource

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

name string
The unique name of the resource.
args FastApplicationArgs
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 FastApplicationArgs
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 FastApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FastApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FastApplicationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FastApplication 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 FastApplication resource accepts the following input properties:

FastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

Template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

FastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

Template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

fastJson String

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template String

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

fastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

fast_json str

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template str

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

fastJson String

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template String

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

Outputs

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

Application string

A FAST application name.

Id string

The provider-assigned unique ID for this managed resource.

Tenant string

A FAST tenant name on which you want to manage application.

Application string

A FAST application name.

Id string

The provider-assigned unique ID for this managed resource.

Tenant string

A FAST tenant name on which you want to manage application.

application String

A FAST application name.

id String

The provider-assigned unique ID for this managed resource.

tenant String

A FAST tenant name on which you want to manage application.

application string

A FAST application name.

id string

The provider-assigned unique ID for this managed resource.

tenant string

A FAST tenant name on which you want to manage application.

application str

A FAST application name.

id str

The provider-assigned unique ID for this managed resource.

tenant str

A FAST tenant name on which you want to manage application.

application String

A FAST application name.

id String

The provider-assigned unique ID for this managed resource.

tenant String

A FAST tenant name on which you want to manage application.

Look up Existing FastApplication Resource

Get an existing FastApplication 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?: FastApplicationState, opts?: CustomResourceOptions): FastApplication
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application: Optional[str] = None,
        fast_json: Optional[str] = None,
        template: Optional[str] = None,
        tenant: Optional[str] = None) -> FastApplication
func GetFastApplication(ctx *Context, name string, id IDInput, state *FastApplicationState, opts ...ResourceOption) (*FastApplication, error)
public static FastApplication Get(string name, Input<string> id, FastApplicationState? state, CustomResourceOptions? opts = null)
public static FastApplication get(String name, Output<String> id, FastApplicationState 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:
Application string

A FAST application name.

FastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

Template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

Tenant string

A FAST tenant name on which you want to manage application.

Application string

A FAST application name.

FastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

Template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

Tenant string

A FAST tenant name on which you want to manage application.

application String

A FAST application name.

fastJson String

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template String

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

tenant String

A FAST tenant name on which you want to manage application.

application string

A FAST application name.

fastJson string

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template string

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

tenant string

A FAST tenant name on which you want to manage application.

application str

A FAST application name.

fast_json str

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template str

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

tenant str

A FAST tenant name on which you want to manage application.

application String

A FAST application name.

fastJson String

Path/Filename of Declarative FAST JSON which is a json file used with builtin file function

template String

Name of installed FAST template used to create FAST application. This parameter is required when creating new resource.

tenant String

A FAST tenant name on which you want to manage application.

Package Details

Repository
f5 BIG-IP pulumi/pulumi-f5bigip
License
Apache-2.0
Notes

This Pulumi package is based on the bigip Terraform Provider.