1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCodeEngineDomainMapping
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCodeEngineDomainMapping

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about a code_engine_domain_mapping. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineDomainMapping = ibm.getCodeEngineDomainMapping({
        projectId: data.ibm_code_engine_project.code_engine_project.project_id,
        name: "my-domain-mapping",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_domain_mapping = ibm.get_code_engine_domain_mapping(project_id=data["ibm_code_engine_project"]["code_engine_project"]["project_id"],
        name="my-domain-mapping")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupCodeEngineDomainMapping(ctx, &ibm.LookupCodeEngineDomainMappingArgs{
    			ProjectId: data.Ibm_code_engine_project.Code_engine_project.Project_id,
    			Name:      "my-domain-mapping",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEngineDomainMapping = Ibm.GetCodeEngineDomainMapping.Invoke(new()
        {
            ProjectId = data.Ibm_code_engine_project.Code_engine_project.Project_id,
            Name = "my-domain-mapping",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCodeEngineDomainMappingArgs;
    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 codeEngineDomainMapping = IbmFunctions.getCodeEngineDomainMapping(GetCodeEngineDomainMappingArgs.builder()
                .projectId(data.ibm_code_engine_project().code_engine_project().project_id())
                .name("my-domain-mapping")
                .build());
    
        }
    }
    
    variables:
      codeEngineDomainMapping:
        fn::invoke:
          function: ibm:getCodeEngineDomainMapping
          arguments:
            projectId: ${data.ibm_code_engine_project.code_engine_project.project_id}
            name: my-domain-mapping
    

    Using getCodeEngineDomainMapping

    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 getCodeEngineDomainMapping(args: GetCodeEngineDomainMappingArgs, opts?: InvokeOptions): Promise<GetCodeEngineDomainMappingResult>
    function getCodeEngineDomainMappingOutput(args: GetCodeEngineDomainMappingOutputArgs, opts?: InvokeOptions): Output<GetCodeEngineDomainMappingResult>
    def get_code_engine_domain_mapping(id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       project_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCodeEngineDomainMappingResult
    def get_code_engine_domain_mapping_output(id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       project_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCodeEngineDomainMappingResult]
    func LookupCodeEngineDomainMapping(ctx *Context, args *LookupCodeEngineDomainMappingArgs, opts ...InvokeOption) (*LookupCodeEngineDomainMappingResult, error)
    func LookupCodeEngineDomainMappingOutput(ctx *Context, args *LookupCodeEngineDomainMappingOutputArgs, opts ...InvokeOption) LookupCodeEngineDomainMappingResultOutput

    > Note: This function is named LookupCodeEngineDomainMapping in the Go SDK.

    public static class GetCodeEngineDomainMapping 
    {
        public static Task<GetCodeEngineDomainMappingResult> InvokeAsync(GetCodeEngineDomainMappingArgs args, InvokeOptions? opts = null)
        public static Output<GetCodeEngineDomainMappingResult> Invoke(GetCodeEngineDomainMappingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCodeEngineDomainMappingResult> getCodeEngineDomainMapping(GetCodeEngineDomainMappingArgs args, InvokeOptions options)
    public static Output<GetCodeEngineDomainMappingResult> getCodeEngineDomainMapping(GetCodeEngineDomainMappingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCodeEngineDomainMapping:getCodeEngineDomainMapping
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    The unique identifier of the code_engine_domain_mapping.
    Name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    The unique identifier of the code_engine_domain_mapping.
    name String
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    The unique identifier of the code_engine_domain_mapping.
    name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id string
    The unique identifier of the code_engine_domain_mapping.
    name str
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id str
    The unique identifier of the code_engine_domain_mapping.
    name String
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    The unique identifier of the code_engine_domain_mapping.

    getCodeEngineDomainMapping Result

    The following output properties are available:

    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Components List<GetCodeEngineDomainMappingComponent>
    (List) A reference to another component. Nested schema for component:
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The unique identifier of the code_engine_domain_mapping.
    Name string
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails List<GetCodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    TlsSecret string
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Components []GetCodeEngineDomainMappingComponent
    (List) A reference to another component. Nested schema for component:
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The unique identifier of the code_engine_domain_mapping.
    Name string
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails []GetCodeEngineDomainMappingStatusDetail
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    TlsSecret string
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    components List<GetCodeEngineDomainMappingComponent>
    (List) A reference to another component. Nested schema for component:
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The unique identifier of the code_engine_domain_mapping.
    name String
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<GetCodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    tlsSecret String
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    components GetCodeEngineDomainMappingComponent[]
    (List) A reference to another component. Nested schema for component:
    createdAt string
    (String) The timestamp when the resource was created.
    domainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    The unique identifier of the code_engine_domain_mapping.
    name string
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId string
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails GetCodeEngineDomainMappingStatusDetail[]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    tlsSecret string
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cname_target str
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    components Sequence[GetCodeEngineDomainMappingComponent]
    (List) A reference to another component. Nested schema for component:
    created_at str
    (String) The timestamp when the resource was created.
    domain_mapping_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entity_tag str
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href str
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    The unique identifier of the code_engine_domain_mapping.
    name str
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    project_id str
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status str
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details Sequence[GetCodeEngineDomainMappingStatusDetail]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    tls_secret str
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    user_managed bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility str
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    components List<Property Map>
    (List) A reference to another component. Nested schema for component:
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The unique identifier of the code_engine_domain_mapping.
    name String
    (String) The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<Property Map>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    tlsSecret String
    (String) The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.

    Supporting Types

    GetCodeEngineDomainMappingComponent

    Name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    name String
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    name string
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    resourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    name str
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    resource_type str
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    name String
    The name of your domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.

    GetCodeEngineDomainMappingStatusDetail

    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason str
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud