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
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
import * as std from "@pulumi/std";
const foo_app = new f5bigip.FastApplication("foo-app", {
template: "examples/simple_http",
fastJson: std.file({
input: "new_fast_app.json",
}).then(invoke => invoke.result),
});
import pulumi
import pulumi_f5bigip as f5bigip
import pulumi_std as std
foo_app = f5bigip.FastApplication("foo-app",
template="examples/simple_http",
fast_json=std.file(input="new_fast_app.json").result)
package main
import (
"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "new_fast_app.json",
}, nil)
if err != nil {
return err
}
_, err = f5bigip.NewFastApplication(ctx, "foo-app", &f5bigip.FastApplicationArgs{
Template: pulumi.String("examples/simple_http"),
FastJson: invokeFile.Result,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var foo_app = new F5BigIP.FastApplication("foo-app", new()
{
Template = "examples/simple_http",
FastJson = Std.File.Invoke(new()
{
Input = "new_fast_app.json",
}).Apply(invoke => invoke.Result),
});
});
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()
.template("examples/simple_http")
.fastJson(StdFunctions.file(FileArgs.builder()
.input("new_fast_app.json")
.build()).result())
.build());
}
}
resources:
foo-app:
type: f5bigip:FastApplication
properties:
template: examples/simple_http
fastJson:
fn::invoke:
Function: std:file
Arguments:
input: new_fast_app.json
Return: result
Create FastApplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FastApplication(name: string, args: FastApplicationArgs, opts?: CustomResourceOptions);
@overload
def FastApplication(resource_name: str,
args: FastApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FastApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
fast_json: Optional[str] = None,
template: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var fastApplicationResource = new F5BigIP.FastApplication("fastApplicationResource", new()
{
FastJson = "string",
Template = "string",
});
example, err := f5bigip.NewFastApplication(ctx, "fastApplicationResource", &f5bigip.FastApplicationArgs{
FastJson: pulumi.String("string"),
Template: pulumi.String("string"),
})
var fastApplicationResource = new FastApplication("fastApplicationResource", FastApplicationArgs.builder()
.fastJson("string")
.template("string")
.build());
fast_application_resource = f5bigip.FastApplication("fastApplicationResource",
fast_json="string",
template="string")
const fastApplicationResource = new f5bigip.FastApplication("fastApplicationResource", {
fastJson: "string",
template: "string",
});
type: f5bigip:FastApplication
properties:
fastJson: string
template: string
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:
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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
- Application string
- A FAST application name.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- Fast
Json 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- Fast
Json 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- fast
Json 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- fast
Json 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 documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- 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.
FAST documentation
- https://clouddocs.f5.com/products/extensions/f5-appsvcs-templates/latest/
- fast
Json 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.