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 Multi Target Applications 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 mtas = cloudfoundry.getMtas({
space: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
namespace: "test",
});
export const data = mtas;
import pulumi
import pulumi_cloudfoundry as cloudfoundry
mtas = cloudfoundry.get_mtas(space="02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
namespace="test")
pulumi.export("data", mtas)
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 {
mtas, err := cloudfoundry.GetMtas(ctx, &cloudfoundry.GetMtasArgs{
Space: "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
Namespace: pulumi.StringRef("test"),
}, nil)
if err != nil {
return err
}
ctx.Export("data", mtas)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
return await Deployment.RunAsync(() =>
{
var mtas = Cloudfoundry.GetMtas.Invoke(new()
{
Space = "02c0cc92-6ecc-44b1-b7b2-096ca19ee143",
Namespace = "test",
});
return new Dictionary<string, object?>
{
["data"] = mtas,
};
});
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.GetMtasArgs;
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 mtas = CloudfoundryFunctions.getMtas(GetMtasArgs.builder()
.space("02c0cc92-6ecc-44b1-b7b2-096ca19ee143")
.namespace("test")
.build());
ctx.export("data", mtas);
}
}
variables:
mtas:
fn::invoke:
function: cloudfoundry:getMtas
arguments:
space: 02c0cc92-6ecc-44b1-b7b2-096ca19ee143
namespace: test
outputs:
data: ${mtas}
Example coming soon!
Using getMtas
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 getMtas(args: GetMtasArgs, opts?: InvokeOptions): Promise<GetMtasResult>
function getMtasOutput(args: GetMtasOutputArgs, opts?: InvokeOutputOptions): Output<GetMtasResult>def get_mtas(deploy_url: Optional[str] = None,
id: Optional[str] = None,
namespace: Optional[str] = None,
space: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMtasResult
def get_mtas_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[GetMtasResult]func GetMtas(ctx *Context, args *GetMtasArgs, opts ...InvokeOption) (*GetMtasResult, error)
func GetMtasOutput(ctx *Context, args *GetMtasOutputArgs, opts ...InvokeOption) GetMtasResultOutput> Note: This function is named GetMtas in the Go SDK.
public static class GetMtas
{
public static Task<GetMtasResult> InvokeAsync(GetMtasArgs args, InvokeOptions? opts = null)
public static Output<GetMtasResult> Invoke(GetMtasInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMtasResult> Invoke(GetMtasInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMtasResult> getMtas(GetMtasArgs args, InvokeOptions options)
public static Output<GetMtasResult> getMtas(GetMtasArgs args, InvokeOptions options)
public static Output<GetMtasResult> getMtas(GetMtasArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudfoundry:index/getMtas:getMtas
arguments:
# arguments dictionarydata "cloudfoundry_get_mtas" "name" {
# arguments
}The following arguments are supported:
- 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'
- id string
- The MTA ID to filter by
- namespace string
- The namespace of the MTA to filter by
- 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'
- id str
- The MTA ID to filter by
- namespace str
- The namespace of the MTA to filter by
getMtas Result
The following output properties are available:
- Mtas
List<Get
Mtas Mta> - The list of MTA's
- 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'
- Id string
- The MTA ID to filter by
- Namespace string
- The namespace of the MTA to filter by
- Mtas
[]Get
Mtas Mta - The list of MTA's
- 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'
- Id string
- The MTA ID to filter by
- Namespace string
- The namespace of the MTA to filter by
- mtas list(object)
- The list of MTA's
- 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'
- id string
- The MTA ID to filter by
- namespace string
- The namespace of the MTA to filter by
- mtas
List<Get
Mtas Mta> - The list of MTA's
- 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'
- id String
- The MTA ID to filter by
- namespace String
- The namespace of the MTA to filter by
- mtas
Get
Mtas Mta[] - The list of MTA's
- 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'
- id string
- The MTA ID to filter by
- namespace string
- The namespace of the MTA to filter by
- mtas
Sequence[Get
Mtas Mta] - The list of MTA's
- 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'
- id str
- The MTA ID to filter by
- namespace str
- The namespace of the MTA to filter by
- mtas List<Property Map>
- The list of MTA's
- 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'
- id String
- The MTA ID to filter by
- namespace String
- The namespace of the MTA to filter by
Supporting Types
GetMtasMta
- Metadata
Get
Mtas Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- Modules
List<Get
Mtas Mta Module> - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- Services List<string>
- Metadata
Get
Mtas Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- Modules
[]Get
Mtas 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
Mtas Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
List<Get
Mtas Mta Module> - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services List<String>
- metadata
Get
Mtas Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
Get
Mtas Mta Module[] - the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
- services string[]
- metadata
Get
Mtas Mta Metadata - an identifier, version and namespace that uniquely identify the MTA
- modules
Sequence[Get
Mtas 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>
GetMtasMtaMetadata
GetMtasMtaModule
- 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