F5 BIG-IP

Pulumi Official
Package maintained by Pulumi
v3.7.0 published on Thursday, Mar 17, 2022 by Pulumi

FastApplication

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

Example Usage

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

class MyStack : Stack
{
    public MyStack()
    {
        var foo_app = new F5BigIP.FastApplication("foo-app", new F5BigIP.FastApplicationArgs
        {
            FastJson = File.ReadAllText("new_fast_app.json"),
            Template = "examples/simple_http",
        });
    }

}
package main

import (
	"io/ioutil"

	"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 := ioutil.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
	})
}

Coming soon!

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", "utf-8"),
    template: "examples/simple_http",
});

Coming soon!

Create a 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 an 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
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes

This Pulumi package is based on the bigip Terraform Provider.