1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. Mta
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.18.0
published on Monday, Nov 2, 2026 by cloudfoundry

    Example Usage

    Create Mta Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Mta(name: string, args: MtaArgs, opts?: CustomResourceOptions);
    @overload
    def Mta(resource_name: str,
            args: MtaArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Mta(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            space: Optional[str] = None,
            deploy_strategy: Optional[str] = None,
            deploy_url: Optional[str] = None,
            extension_descriptors: Optional[Sequence[str]] = None,
            extension_descriptors_strings: Optional[Sequence[str]] = None,
            modules: Optional[Sequence[str]] = None,
            mtar_path: Optional[str] = None,
            mtar_url: Optional[str] = None,
            namespace: Optional[str] = None,
            skip_idle_start: Optional[bool] = None,
            source_code_hash: Optional[str] = None,
            version_rule: Optional[str] = None)
    func NewMta(ctx *Context, name string, args MtaArgs, opts ...ResourceOption) (*Mta, error)
    public Mta(string name, MtaArgs args, CustomResourceOptions? opts = null)
    public Mta(String name, MtaArgs args)
    public Mta(String name, MtaArgs args, CustomResourceOptions options)
    
    type: cloudfoundry:Mta
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "cloudfoundry_mta" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MtaArgs
    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 MtaArgs
    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 MtaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MtaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MtaArgs
    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 mtaResource = new Cloudfoundry.Mta("mtaResource", new()
    {
        Space = "string",
        DeployStrategy = "string",
        DeployUrl = "string",
        ExtensionDescriptors = new[]
        {
            "string",
        },
        ExtensionDescriptorsStrings = new[]
        {
            "string",
        },
        Modules = new[]
        {
            "string",
        },
        MtarPath = "string",
        MtarUrl = "string",
        Namespace = "string",
        SkipIdleStart = false,
        SourceCodeHash = "string",
        VersionRule = "string",
    });
    
    example, err := cloudfoundry.NewMta(ctx, "mtaResource", &cloudfoundry.MtaArgs{
    	Space:          pulumi.String("string"),
    	DeployStrategy: pulumi.String("string"),
    	DeployUrl:      pulumi.String("string"),
    	ExtensionDescriptors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExtensionDescriptorsStrings: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Modules: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MtarPath:       pulumi.String("string"),
    	MtarUrl:        pulumi.String("string"),
    	Namespace:      pulumi.String("string"),
    	SkipIdleStart:  pulumi.Bool(false),
    	SourceCodeHash: pulumi.String("string"),
    	VersionRule:    pulumi.String("string"),
    })
    
    resource "cloudfoundry_mta" "mtaResource" {
      lifecycle {
        create_before_destroy = true
      }
      space                         = "string"
      deploy_strategy               = "string"
      deploy_url                    = "string"
      extension_descriptors         = ["string"]
      extension_descriptors_strings = ["string"]
      modules                       = ["string"]
      mtar_path                     = "string"
      mtar_url                      = "string"
      namespace                     = "string"
      skip_idle_start               = false
      source_code_hash              = "string"
      version_rule                  = "string"
    }
    
    var mtaResource = new Mta("mtaResource", MtaArgs.builder()
        .space("string")
        .deployStrategy("string")
        .deployUrl("string")
        .extensionDescriptors("string")
        .extensionDescriptorsStrings("string")
        .modules("string")
        .mtarPath("string")
        .mtarUrl("string")
        .namespace("string")
        .skipIdleStart(false)
        .sourceCodeHash("string")
        .versionRule("string")
        .build());
    
    mta_resource = cloudfoundry.Mta("mtaResource",
        space="string",
        deploy_strategy="string",
        deploy_url="string",
        extension_descriptors=["string"],
        extension_descriptors_strings=["string"],
        modules=["string"],
        mtar_path="string",
        mtar_url="string",
        namespace="string",
        skip_idle_start=False,
        source_code_hash="string",
        version_rule="string")
    
    const mtaResource = new cloudfoundry.Mta("mtaResource", {
        space: "string",
        deployStrategy: "string",
        deployUrl: "string",
        extensionDescriptors: ["string"],
        extensionDescriptorsStrings: ["string"],
        modules: ["string"],
        mtarPath: "string",
        mtarUrl: "string",
        namespace: "string",
        skipIdleStart: false,
        sourceCodeHash: "string",
        versionRule: "string",
    });
    
    type: cloudfoundry:Mta
    properties:
        deployStrategy: string
        deployUrl: string
        extensionDescriptors:
            - string
        extensionDescriptorsStrings:
            - string
        modules:
            - string
        mtarPath: string
        mtarUrl: string
        namespace: string
        skipIdleStart: false
        sourceCodeHash: string
        space: string
        versionRule: string
    

    Mta Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Mta resource accepts the following input properties:

    Space string
    The GUID of the space where the MTA will be deployed
    DeployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    DeployUrl 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'
    ExtensionDescriptors List<string>
    The paths for the MTA deployment extension files.
    ExtensionDescriptorsStrings List<string>
    The contents of the MTA deployment extension files.
    Modules List<string>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    MtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    MtarUrl string
    The remote URL where the MTA archive is present
    Namespace string
    The namespace of the MTA. Should be of valid host format
    SkipIdleStart bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    SourceCodeHash string
    VersionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    Space string
    The GUID of the space where the MTA will be deployed
    DeployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    DeployUrl 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'
    ExtensionDescriptors []string
    The paths for the MTA deployment extension files.
    ExtensionDescriptorsStrings []string
    The contents of the MTA deployment extension files.
    Modules []string
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    MtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    MtarUrl string
    The remote URL where the MTA archive is present
    Namespace string
    The namespace of the MTA. Should be of valid host format
    SkipIdleStart bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    SourceCodeHash string
    VersionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    space string
    The GUID of the space where the MTA will be deployed
    deploy_strategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    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'
    extension_descriptors list(string)
    The paths for the MTA deployment extension files.
    extension_descriptors_strings list(string)
    The contents of the MTA deployment extension files.
    modules list(string)
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mtar_path string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtar_url string
    The remote URL where the MTA archive is present
    namespace string
    The namespace of the MTA. Should be of valid host format
    skip_idle_start bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    source_code_hash string
    version_rule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    space String
    The GUID of the space where the MTA will be deployed
    deployStrategy String
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors List<String>
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings List<String>
    The contents of the MTA deployment extension files.
    modules List<String>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mtarPath String
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl String
    The remote URL where the MTA archive is present
    namespace String
    The namespace of the MTA. Should be of valid host format
    skipIdleStart Boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash String
    versionRule String
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    space string
    The GUID of the space where the MTA will be deployed
    deployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors string[]
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings string[]
    The contents of the MTA deployment extension files.
    modules string[]
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl string
    The remote URL where the MTA archive is present
    namespace string
    The namespace of the MTA. Should be of valid host format
    skipIdleStart boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash string
    versionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    space str
    The GUID of the space where the MTA will be deployed
    deploy_strategy str
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    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'
    extension_descriptors Sequence[str]
    The paths for the MTA deployment extension files.
    extension_descriptors_strings Sequence[str]
    The contents of the MTA deployment extension files.
    modules Sequence[str]
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mtar_path str
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtar_url str
    The remote URL where the MTA archive is present
    namespace str
    The namespace of the MTA. Should be of valid host format
    skip_idle_start bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    source_code_hash str
    version_rule str
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    space String
    The GUID of the space where the MTA will be deployed
    deployStrategy String
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors List<String>
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings List<String>
    The contents of the MTA deployment extension files.
    modules List<String>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mtarPath String
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl String
    The remote URL where the MTA archive is present
    namespace String
    The namespace of the MTA. Should be of valid host format
    skipIdleStart Boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash String
    versionRule String
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Mta resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Mta MtaMta
    contains the details of the MTA object
    Id string
    The provider-assigned unique ID for this managed resource.
    Mta MtaMta
    contains the details of the MTA object
    id string
    The provider-assigned unique ID for this managed resource.
    mta object
    contains the details of the MTA object
    id String
    The provider-assigned unique ID for this managed resource.
    mta MtaMta
    contains the details of the MTA object
    id string
    The provider-assigned unique ID for this managed resource.
    mta MtaMta
    contains the details of the MTA object
    id str
    The provider-assigned unique ID for this managed resource.
    mta MtaMta
    contains the details of the MTA object
    id String
    The provider-assigned unique ID for this managed resource.
    mta Property Map
    contains the details of the MTA object

    Look up Existing Mta Resource

    Get an existing Mta 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?: MtaState, opts?: CustomResourceOptions): Mta
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            deploy_strategy: Optional[str] = None,
            deploy_url: Optional[str] = None,
            extension_descriptors: Optional[Sequence[str]] = None,
            extension_descriptors_strings: Optional[Sequence[str]] = None,
            modules: Optional[Sequence[str]] = None,
            mta: Optional[MtaMtaArgs] = None,
            mtar_path: Optional[str] = None,
            mtar_url: Optional[str] = None,
            namespace: Optional[str] = None,
            skip_idle_start: Optional[bool] = None,
            source_code_hash: Optional[str] = None,
            space: Optional[str] = None,
            version_rule: Optional[str] = None) -> Mta
    func GetMta(ctx *Context, name string, id IDInput, state *MtaState, opts ...ResourceOption) (*Mta, error)
    public static Mta Get(string name, Input<string> id, MtaState? state, CustomResourceOptions? opts = null)
    public static Mta get(String name, Output<String> id, MtaState state, CustomResourceOptions options)
    resources:  _:    type: cloudfoundry:Mta    get:      id: ${id}
    import {
      to = cloudfoundry_mta.example
      id = "${id}"
    }
    
    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:
    DeployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    DeployUrl 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'
    ExtensionDescriptors List<string>
    The paths for the MTA deployment extension files.
    ExtensionDescriptorsStrings List<string>
    The contents of the MTA deployment extension files.
    Modules List<string>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    Mta MtaMta
    contains the details of the MTA object
    MtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    MtarUrl string
    The remote URL where the MTA archive is present
    Namespace string
    The namespace of the MTA. Should be of valid host format
    SkipIdleStart bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    SourceCodeHash string
    Space string
    The GUID of the space where the MTA will be deployed
    VersionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    DeployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    DeployUrl 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'
    ExtensionDescriptors []string
    The paths for the MTA deployment extension files.
    ExtensionDescriptorsStrings []string
    The contents of the MTA deployment extension files.
    Modules []string
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    Mta MtaMtaArgs
    contains the details of the MTA object
    MtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    MtarUrl string
    The remote URL where the MTA archive is present
    Namespace string
    The namespace of the MTA. Should be of valid host format
    SkipIdleStart bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    SourceCodeHash string
    Space string
    The GUID of the space where the MTA will be deployed
    VersionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    deploy_strategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    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'
    extension_descriptors list(string)
    The paths for the MTA deployment extension files.
    extension_descriptors_strings list(string)
    The contents of the MTA deployment extension files.
    modules list(string)
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mta object
    contains the details of the MTA object
    mtar_path string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtar_url string
    The remote URL where the MTA archive is present
    namespace string
    The namespace of the MTA. Should be of valid host format
    skip_idle_start bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    source_code_hash string
    space string
    The GUID of the space where the MTA will be deployed
    version_rule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    deployStrategy String
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors List<String>
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings List<String>
    The contents of the MTA deployment extension files.
    modules List<String>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mta MtaMta
    contains the details of the MTA object
    mtarPath String
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl String
    The remote URL where the MTA archive is present
    namespace String
    The namespace of the MTA. Should be of valid host format
    skipIdleStart Boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash String
    space String
    The GUID of the space where the MTA will be deployed
    versionRule String
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    deployStrategy string
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors string[]
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings string[]
    The contents of the MTA deployment extension files.
    modules string[]
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mta MtaMta
    contains the details of the MTA object
    mtarPath string
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl string
    The remote URL where the MTA archive is present
    namespace string
    The namespace of the MTA. Should be of valid host format
    skipIdleStart boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash string
    space string
    The GUID of the space where the MTA will be deployed
    versionRule string
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    deploy_strategy str
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    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'
    extension_descriptors Sequence[str]
    The paths for the MTA deployment extension files.
    extension_descriptors_strings Sequence[str]
    The contents of the MTA deployment extension files.
    modules Sequence[str]
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mta MtaMtaArgs
    contains the details of the MTA object
    mtar_path str
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtar_url str
    The remote URL where the MTA archive is present
    namespace str
    The namespace of the MTA. Should be of valid host format
    skip_idle_start bool
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    source_code_hash str
    space str
    The GUID of the space where the MTA will be deployed
    version_rule str
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.
    deployStrategy String
    The strategy for deploying the MTA. If attribute value is not provided by default normal deploy strategy is used.
    deployUrl 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'
    extensionDescriptors List<String>
    The paths for the MTA deployment extension files.
    extensionDescriptorsStrings List<String>
    The contents of the MTA deployment extension files.
    modules List<String>
    Deploy only the modules of the MTA with the specified names. If not specified, all modules are deployed.
    mta Property Map
    contains the details of the MTA object
    mtarPath String
    The local path where the MTA archive is present. Either this attribute or mtar_url need to be set.
    mtarUrl String
    The remote URL where the MTA archive is present
    namespace String
    The namespace of the MTA. Should be of valid host format
    skipIdleStart Boolean
    Directly start the new MTA version as 'live', skipping the 'idle' phase of the resources. This value defaults to true when not explicitly specified.
    sourceCodeHash String
    space String
    The GUID of the space where the MTA will be deployed
    versionRule String
    The rule to apply to determine how the application version number is used to trigger an application-update deployment operation.

    Supporting Types

    MtaMta, MtaMtaArgs

    Metadata MtaMtaMetadata
    an identifier, version and namespace that uniquely identify the MTA
    Modules List<MtaMtaModule>
    the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
    Services List<string>
    Metadata MtaMtaMetadata
    an identifier, version and namespace that uniquely identify the MTA
    Modules []MtaMtaModule
    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 MtaMtaMetadata
    an identifier, version and namespace that uniquely identify the MTA
    modules List<MtaMtaModule>
    the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
    services List<String>
    metadata MtaMtaMetadata
    an identifier, version and namespace that uniquely identify the MTA
    modules MtaMtaModule[]
    the deployable parts contained in the MTA deployment archive, most commonly Cloud Foundry applications or content
    services string[]
    metadata MtaMtaMetadata
    an identifier, version and namespace that uniquely identify the MTA
    modules Sequence[MtaMtaModule]
    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>

    MtaMtaMetadata, MtaMtaMetadataArgs

    Id string
    Namespace string
    Version string
    Id string
    Namespace string
    Version string
    id string
    namespace string
    version string
    id String
    namespace String
    version String
    id string
    namespace string
    version string
    id str
    namespace str
    version str
    id String
    namespace String
    version String

    MtaMtaModule, MtaMtaModuleArgs

    AppName string
    CreatedOn string
    ModuleName string
    ProvidedDendencyNames List<string>
    Services List<string>
    UpdatedOn string
    Uris List<string>
    AppName string
    CreatedOn string
    ModuleName string
    ProvidedDendencyNames []string
    Services []string
    UpdatedOn string
    Uris []string
    app_name string
    created_on string
    module_name string
    provided_dendency_names list(string)
    services list(string)
    updated_on string
    uris list(string)
    appName String
    createdOn String
    moduleName String
    providedDendencyNames List<String>
    services List<String>
    updatedOn String
    uris List<String>
    appName string
    createdOn string
    moduleName string
    providedDendencyNames string[]
    services string[]
    updatedOn string
    uris string[]
    app_name str
    created_on str
    module_name str
    provided_dendency_names Sequence[str]
    services Sequence[str]
    updated_on str
    uris Sequence[str]
    appName String
    createdOn String
    moduleName String
    providedDendencyNames List<String>
    services List<String>
    updatedOn String
    uris List<String>

    Import

    terraform

    $ pulumi import cloudfoundry:index/mta:Mta <resource_name> <space_guid/mta_id> OR
    
    $ pulumi import cloudfoundry:index/mta:Mta <resource_name> <space_guid/mta_id/namespace> if MTA in custom namespace
    
    $ pulumi import cloudfoundry:index/mta:Mta my_mtar 02c0cc92-6ecc-44b1-b7b2-096ca19ee143/a.cf.app/hello
    
    $ pulumi import cloudfoundry:index/mta:Mta #using id attribute in import block
    

    import {

    to = cloudfoundry_mta.<resource_name>

    id = “<space_guid/mta_id>”

    OR id = <space_guid/mta_id/namespace>

    }

    this resource supports import using identity attribute from Terraform version 1.12 or higher

    import {

    to = cloudfoundry_mta.<resource_name>

    identity = {

    space_guid = “<space_guid>”

    mta_id = “<mta_id>”

    namespace = “”

    }

    }

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
    License
    Notes
    This Pulumi package is based on the cloudfoundry Terraform Provider.
    cloudfoundry
    Viewing docs for cloudfoundry 1.18.0
    published on Monday, Nov 2, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial