ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCodeEngineDomainMapping
Explore with Pulumi AI
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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the code_engine_domain_mapping.
getCodeEngineDomainMapping Result
The following output properties are available:
- Cname
Target 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Components
List<Get
Code Engine Domain Mapping Component> - (List) A reference to another component. Nested schema for component:
- Created
At string - (String) The timestamp when the resource was created.
- Domain
Mapping stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Entity
Tag 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- Project
Id 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'.
- Resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- Status
Details List<GetCode Engine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- Tls
Secret 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- User
Managed 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
.
- Constraints: Allowable values are:
- Cname
Target 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Components
[]Get
Code Engine Domain Mapping Component - (List) A reference to another component. Nested schema for component:
- Created
At string - (String) The timestamp when the resource was created.
- Domain
Mapping stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Entity
Tag 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- Project
Id 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'.
- Resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- Status
Details []GetCode Engine Domain Mapping Status Detail - (List) The detailed status of the domain mapping. Nested schema for status_details:
- Tls
Secret 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- User
Managed 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
.
- Constraints: Allowable values are:
- cname
Target 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- components
List<Get
Code Engine Domain Mapping Component> - (List) A reference to another component. Nested schema for component:
- created
At String - (String) The timestamp when the resource was created.
- domain
Mapping StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- entity
Tag 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- project
Id 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'.
- resource
Type String - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- status
Details List<GetCode Engine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- tls
Secret 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- user
Managed 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
.
- Constraints: Allowable values are:
- cname
Target 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- components
Get
Code Engine Domain Mapping Component[] - (List) A reference to another component. Nested schema for component:
- created
At string - (String) The timestamp when the resource was created.
- domain
Mapping stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- entity
Tag 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- project
Id 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'.
- resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- status string
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- status
Details GetCode Engine Domain Mapping Status Detail[] - (List) The detailed status of the domain mapping. Nested schema for status_details:
- tls
Secret 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- user
Managed 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
.
- Constraints: Allowable values are:
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- components
Sequence[Get
Code Engine Domain Mapping Component] - (List) A reference to another component. Nested schema for component:
- created_
at str - (String) The timestamp when the resource was created.
- domain_
mapping_ strid - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- status str
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- status_
details Sequence[GetCode Engine Domain Mapping Status Detail] - (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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- cname
Target 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- components List<Property Map>
- (List) A reference to another component. Nested schema for component:
- created
At String - (String) The timestamp when the resource was created.
- domain
Mapping StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- entity
Tag 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression/^a-z0-9?$/
.
- Constraints: The maximum length is
- project
Id 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'.
- resource
Type String - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current status of the domain mapping.
- Constraints: Allowable values are:
ready
,failed
,deploying
.
- Constraints: Allowable values are:
- status
Details List<Property Map> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- tls
Secret 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 is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- user
Managed 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
.
- Constraints: Allowable values are:
Supporting Types
GetCodeEngineDomainMappingComponent
- Name string
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- Resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- Name string
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- Resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- name String
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- resource
Type String - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- name string
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- resource
Type string - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- name str
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- resource_
type str - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
- name String
- The name of your domain mapping.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)+$/
.
- Constraints: The maximum length is
- resource
Type String - (String) The type of the Code Engine resource.
- Constraints: Allowable values are:
domain_mapping_v2
.
- Constraints: Allowable values are:
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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.