vcd.getLbAppProfile
Explore with Pulumi AI
Provides a VMware Cloud Director Edge Gateway Load Balancer Application Profile data source. An application profile defines the behavior of the load balancer for a particular type of network traffic. After configuring a profile, you associate it with a virtual server. The virtual server then processes traffic according to the values specified in the profile.
Note: See additional support notes in [application profile resource page] (/providers/vmware/vcd/latest/docs/resources/lb_app_profile).
Supported in provider v2.4+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vcd from "@pulumi/vcd";
const my_profile = vcd.getLbAppProfile({
    edgeGateway: "my-edge-gw",
    name: "not-managed",
    org: "my-org",
    vdc: "my-org-vdc",
});
import pulumi
import pulumi_vcd as vcd
my_profile = vcd.get_lb_app_profile(edge_gateway="my-edge-gw",
    name="not-managed",
    org="my-org",
    vdc="my-org-vdc")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vcd.LookupLbAppProfile(ctx, &vcd.LookupLbAppProfileArgs{
			EdgeGateway: "my-edge-gw",
			Name:        "not-managed",
			Org:         pulumi.StringRef("my-org"),
			Vdc:         pulumi.StringRef("my-org-vdc"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vcd = Pulumi.Vcd;
return await Deployment.RunAsync(() => 
{
    var my_profile = Vcd.GetLbAppProfile.Invoke(new()
    {
        EdgeGateway = "my-edge-gw",
        Name = "not-managed",
        Org = "my-org",
        Vdc = "my-org-vdc",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vcd.VcdFunctions;
import com.pulumi.vcd.inputs.GetLbAppProfileArgs;
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 my-profile = VcdFunctions.getLbAppProfile(GetLbAppProfileArgs.builder()
            .edgeGateway("my-edge-gw")
            .name("not-managed")
            .org("my-org")
            .vdc("my-org-vdc")
            .build());
    }
}
variables:
  my-profile:
    fn::invoke:
      function: vcd:getLbAppProfile
      arguments:
        edgeGateway: my-edge-gw
        name: not-managed
        org: my-org
        vdc: my-org-vdc
Using getLbAppProfile
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 getLbAppProfile(args: GetLbAppProfileArgs, opts?: InvokeOptions): Promise<GetLbAppProfileResult>
function getLbAppProfileOutput(args: GetLbAppProfileOutputArgs, opts?: InvokeOptions): Output<GetLbAppProfileResult>def get_lb_app_profile(edge_gateway: Optional[str] = None,
                       id: Optional[str] = None,
                       name: Optional[str] = None,
                       org: Optional[str] = None,
                       vdc: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetLbAppProfileResult
def get_lb_app_profile_output(edge_gateway: Optional[pulumi.Input[str]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       org: Optional[pulumi.Input[str]] = None,
                       vdc: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetLbAppProfileResult]func LookupLbAppProfile(ctx *Context, args *LookupLbAppProfileArgs, opts ...InvokeOption) (*LookupLbAppProfileResult, error)
func LookupLbAppProfileOutput(ctx *Context, args *LookupLbAppProfileOutputArgs, opts ...InvokeOption) LookupLbAppProfileResultOutput> Note: This function is named LookupLbAppProfile in the Go SDK.
public static class GetLbAppProfile 
{
    public static Task<GetLbAppProfileResult> InvokeAsync(GetLbAppProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetLbAppProfileResult> Invoke(GetLbAppProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLbAppProfileResult> getLbAppProfile(GetLbAppProfileArgs args, InvokeOptions options)
public static Output<GetLbAppProfileResult> getLbAppProfile(GetLbAppProfileArgs args, InvokeOptions options)
fn::invoke:
  function: vcd:index/getLbAppProfile:getLbAppProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Edge
Gateway string - The name of the edge gateway on which the service monitor is defined
 - Name string
 - Application profile name for identifying the exact application profile
 - Id string
 - Org string
 - The name of organization to use, optional if defined at provider level
 - Vdc string
 - The name of VDC to use, optional if defined at provider level
 
- Edge
Gateway string - The name of the edge gateway on which the service monitor is defined
 - Name string
 - Application profile name for identifying the exact application profile
 - Id string
 - Org string
 - The name of organization to use, optional if defined at provider level
 - Vdc string
 - The name of VDC to use, optional if defined at provider level
 
- edge
Gateway String - The name of the edge gateway on which the service monitor is defined
 - name String
 - Application profile name for identifying the exact application profile
 - id String
 - org String
 - The name of organization to use, optional if defined at provider level
 - vdc String
 - The name of VDC to use, optional if defined at provider level
 
- edge
Gateway string - The name of the edge gateway on which the service monitor is defined
 - name string
 - Application profile name for identifying the exact application profile
 - id string
 - org string
 - The name of organization to use, optional if defined at provider level
 - vdc string
 - The name of VDC to use, optional if defined at provider level
 
- edge_
gateway str - The name of the edge gateway on which the service monitor is defined
 - name str
 - Application profile name for identifying the exact application profile
 - id str
 - org str
 - The name of organization to use, optional if defined at provider level
 - vdc str
 - The name of VDC to use, optional if defined at provider level
 
- edge
Gateway String - The name of the edge gateway on which the service monitor is defined
 - name String
 - Application profile name for identifying the exact application profile
 - id String
 - org String
 - The name of organization to use, optional if defined at provider level
 - vdc String
 - The name of VDC to use, optional if defined at provider level
 
getLbAppProfile Result
The following output properties are available:
- string
 - string
 - Edge
Gateway string - Enable
Pool boolSide Ssl  - Enable
Ssl boolPassthrough  - Expiration double
 - Http
Redirect stringUrl  - Id string
 - Insert
XForwarded boolHttp Header  - Name string
 - Persistence
Mechanism string - Type string
 - Org string
 - Vdc string
 
- string
 - string
 - Edge
Gateway string - Enable
Pool boolSide Ssl  - Enable
Ssl boolPassthrough  - Expiration float64
 - Http
Redirect stringUrl  - Id string
 - Insert
XForwarded boolHttp Header  - Name string
 - Persistence
Mechanism string - Type string
 - Org string
 - Vdc string
 
- String
 - String
 - edge
Gateway String - enable
Pool BooleanSide Ssl  - enable
Ssl BooleanPassthrough  - expiration Double
 - http
Redirect StringUrl  - id String
 - insert
XForwarded BooleanHttp Header  - name String
 - persistence
Mechanism String - type String
 - org String
 - vdc String
 
- string
 - string
 - edge
Gateway string - enable
Pool booleanSide Ssl  - enable
Ssl booleanPassthrough  - expiration number
 - http
Redirect stringUrl  - id string
 - insert
XForwarded booleanHttp Header  - name string
 - persistence
Mechanism string - type string
 - org string
 - vdc string
 
- str
 - str
 - edge_
gateway str - enable_
pool_ boolside_ ssl  - enable_
ssl_ boolpassthrough  - expiration float
 - http_
redirect_ strurl  - id str
 - insert_
x_ boolforwarded_ http_ header  - name str
 - persistence_
mechanism str - type str
 - org str
 - vdc str
 
- String
 - String
 - edge
Gateway String - enable
Pool BooleanSide Ssl  - enable
Ssl BooleanPassthrough  - expiration Number
 - http
Redirect StringUrl  - id String
 - insert
XForwarded BooleanHttp Header  - name String
 - persistence
Mechanism String - type String
 - org String
 - vdc String
 
Package Details
- Repository
 - vcd vmware/terraform-provider-vcd
 - License
 - Notes
 - This Pulumi package is based on the 
vcdTerraform Provider.