Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry
Gets information on a Multi Target Application present in a space.
Further documentation: Multitarget Applications in the Cloud Foundry Environment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
const mta = cloudfoundry.getMta({
space: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
id: "a.cf.app",
});
export const data = mta;
import pulumi
import pulumi_cloudfoundry as cloudfoundry
mta = cloudfoundry.get_mta(space="02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
id="a.cf.app")
pulumi.export("data", mta)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/cloudfoundry/cloudfoundry"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mta, err := cloudfoundry.LookupMta(ctx, &cloudfoundry.LookupMtaArgs{
Space: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
Id: "a.cf.app",
}, nil)
if err != nil {
return err
}
ctx.Export("data", mta)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var mta = Cloudfoundry.GetMta.Invoke(new()
{
Space = "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
Id = "a.cf.app",
});
return new Dictionary<string, object?>
{
["data"] = mta,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudfoundry.CloudfoundryFunctions;
import com.pulumi.cloudfoundry.inputs.GetMtaArgs;
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 mta = CloudfoundryFunctions.getMta(GetMtaArgs.builder()
.space("02c0cc92-6ecc-44b1-b7b2-096ca19ee143")
.id("a.cf.app")
.build());
ctx.export("data", mta);
}
}
variables:
mta:
fn::invoke:
function: cloudfoundry:getMta
arguments:
space: 02c0cc92-6ecc-44b1-b7b2-096ca19ee143
id: a.cf.app
outputs:
data: ${mta}
Example coming soon!
Using getMta
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 getMta(args: GetMtaArgs, opts?: InvokeOptions): Promise<GetMtaResult>
function getMtaOutput(args: GetMtaOutputArgs, opts?: InvokeOutputOptions): Output<GetMtaResult>def get_mta(deploy_url: Optional[str] = None,
id: Optional[str] = None,
namespace: Optional[str] = None,
space: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMtaResult
def get_mta_output(deploy_url: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
namespace: pulumi.Input[Optional[str]] = None,
space: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMtaResult]func LookupMta(ctx *Context, args *LookupMtaArgs, opts ...InvokeOption) (*LookupMtaResult, error)
func LookupMtaOutput(ctx *Context, args *LookupMtaOutputArgs, opts ...InvokeOption) LookupMtaResultOutput> Note: This function is named LookupMta in the Go SDK.
public static class GetMta
{
public static Task<GetMtaResult> InvokeAsync(GetMtaArgs args, InvokeOptions? opts = null)
public static Output<GetMtaResult> Invoke(GetMtaInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMtaResult> Invoke(GetMtaInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMtaResult> getMta(GetMtaArgs args, InvokeOptions options)
public static Output<GetMtaResult> getMta(GetMtaArgs args, InvokeOptions options)
public static Output<GetMtaResult> getMta(GetMtaArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getMta:getMta
arguments:
# arguments dictionarydata "cloudfoundry_get_mta" "name" {
# arguments
}The following arguments are supported:
- id string
- The MTA ID to search for
- space string
- The GUID of the space where the MTA's are deployed
- deploy_
url string - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace string
- The namespace of the MTA to filter by
- id str
- The MTA ID to search for
- space str
- The GUID of the space where the MTA's are deployed
- deploy_
url str - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace str
- The namespace of the MTA to filter by
getMta Result
The following output properties are available:
- Id string
- The MTA ID to search for
- Mta
Get
Mta Mta - contains the details of the MTA object
- Space string
- The GUID of the space where the MTA's are deployed
- Deploy
Url string - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- Namespace string
- The namespace of the MTA to filter by
- Id string
- The MTA ID to search for
- Mta
Get
Mta Mta - contains the details of the MTA object
- Space string
- The GUID of the space where the MTA's are deployed
- Deploy
Url string - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- Namespace string
- The namespace of the MTA to filter by
- id string
- The MTA ID to search for
- mta object
- contains the details of the MTA object
- space string
- The GUID of the space where the MTA's are deployed
- deploy_
url string - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace string
- The namespace of the MTA to filter by
- id String
- The MTA ID to search for
- mta
Get
Mta Mta - contains the details of the MTA object
- space String
- The GUID of the space where the MTA's are deployed
- deploy
Url String - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace String
- The namespace of the MTA to filter by
- id string
- The MTA ID to search for
- mta
Get
Mta Mta - contains the details of the MTA object
- space string
- The GUID of the space where the MTA's are deployed
- deploy
Url string - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace string
- The namespace of the MTA to filter by
- id str
- The MTA ID to search for
- mta
Get
Mta Mta - contains the details of the MTA object
- space str
- The GUID of the space where the MTA's are deployed
- deploy_
url str - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace str
- The namespace of the MTA to filter by
- id String
- The MTA ID to search for
- mta Property Map
- contains the details of the MTA object
- space String
- The GUID of the space where the MTA's are deployed
- deploy
Url String - The URL of the deploy service, if a custom one has been used(should be present in the same landscape). By default 'deploy-service.\n\n'
- namespace String
- The namespace of the MTA to filter by
Supporting Types
GetMtaMta
- Metadata
Get
Mta Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- Modules
List<Get
Mta Mta Module> - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- Services List<string>
- Metadata
Get
Mta Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- Modules
[]Get
Mta Mta Module - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- Services []string
- metadata object
- an identifier, version and namespace that uniquely identify the MTA
- modules list(object)
- the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services list(string)
- metadata
Get
Mta Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
List<Get
Mta Mta Module> - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services List<String>
- metadata
Get
Mta Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
Get
Mta Mta Module[] - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services string[]
- metadata
Get
Mta Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
Sequence[Get
Mta Mta Module] - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services Sequence[str]
- metadata Property Map
- an identifier, version and namespace that uniquely identify the MTA
- modules List<Property Map>
- the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services List<String>
GetMtaMtaMetadata
GetMtaMtaModule
- App
Name string - Created
On string - Module
Name string - Provided
Dendency List<string>Names - Services List<string>
- Updated
On string - Uris List<string>
- App
Name string - Created
On string - Module
Name string - Provided
Dendency []stringNames - Services []string
- Updated
On string - Uris []string
- app_
name string - created_
on string - module_
name string - provided_
dendency_ list(string)names - services list(string)
- updated_
on string - uris list(string)
- app
Name String - created
On String - module
Name String - provided
Dendency List<String>Names - services List<String>
- updated
On String - uris List<String>
- app
Name string - created
On string - module
Name string - provided
Dendency string[]Names - services string[]
- updated
On string - uris string[]
- app_
name str - created_
on str - module_
name str - provided_
dendency_ Sequence[str]names - services Sequence[str]
- updated_
on str - uris Sequence[str]
- app
Name String - created
On String - module
Name String - provided
Dendency List<String>Names - services List<String>
- updated
On String - uris List<String>
Package Details
- Repository
- cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
- License
- Notes
- This Pulumi package is based on the
cloudfoundryTerraform Provider.
cloudfoundry
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
published on Monday, Nov 2, 2026 by cloudfoundry