ibm.CodeEngineDomainMapping
Explore with Pulumi AI
Create, update, and delete code_engine_domain_mappings with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const codeEngineDomainMappingInstance = new ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance", {
projectId: ibm_code_engine_project.code_engine_project_instance.project_id,
tlsSecret: "my-tls-secret",
component: {
name: "my-app-1",
resourceType: "app_v2",
},
});
import pulumi
import pulumi_ibm as ibm
code_engine_domain_mapping_instance = ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance",
project_id=ibm_code_engine_project["code_engine_project_instance"]["project_id"],
tls_secret="my-tls-secret",
component={
"name": "my-app-1",
"resource_type": "app_v2",
})
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.NewCodeEngineDomainMapping(ctx, "codeEngineDomainMappingInstance", &ibm.CodeEngineDomainMappingArgs{
ProjectId: pulumi.Any(ibm_code_engine_project.Code_engine_project_instance.Project_id),
TlsSecret: pulumi.String("my-tls-secret"),
Component: &ibm.CodeEngineDomainMappingComponentArgs{
Name: pulumi.String("my-app-1"),
ResourceType: pulumi.String("app_v2"),
},
})
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 codeEngineDomainMappingInstance = new Ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance", new()
{
ProjectId = ibm_code_engine_project.Code_engine_project_instance.Project_id,
TlsSecret = "my-tls-secret",
Component = new Ibm.Inputs.CodeEngineDomainMappingComponentArgs
{
Name = "my-app-1",
ResourceType = "app_v2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CodeEngineDomainMapping;
import com.pulumi.ibm.CodeEngineDomainMappingArgs;
import com.pulumi.ibm.inputs.CodeEngineDomainMappingComponentArgs;
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) {
var codeEngineDomainMappingInstance = new CodeEngineDomainMapping("codeEngineDomainMappingInstance", CodeEngineDomainMappingArgs.builder()
.projectId(ibm_code_engine_project.code_engine_project_instance().project_id())
.tlsSecret("my-tls-secret")
.component(CodeEngineDomainMappingComponentArgs.builder()
.name("my-app-1")
.resourceType("app_v2")
.build())
.build());
}
}
resources:
codeEngineDomainMappingInstance:
type: ibm:CodeEngineDomainMapping
properties:
projectId: ${ibm_code_engine_project.code_engine_project_instance.project_id}
tlsSecret: my-tls-secret
component:
name: my-app-1
resourceType: app_v2
Create CodeEngineDomainMapping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeEngineDomainMapping(name: string, args: CodeEngineDomainMappingArgs, opts?: CustomResourceOptions);
@overload
def CodeEngineDomainMapping(resource_name: str,
args: CodeEngineDomainMappingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CodeEngineDomainMapping(resource_name: str,
opts: Optional[ResourceOptions] = None,
component: Optional[CodeEngineDomainMappingComponentArgs] = None,
project_id: Optional[str] = None,
tls_secret: Optional[str] = None,
code_engine_domain_mapping_id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[CodeEngineDomainMappingTimeoutsArgs] = None)
func NewCodeEngineDomainMapping(ctx *Context, name string, args CodeEngineDomainMappingArgs, opts ...ResourceOption) (*CodeEngineDomainMapping, error)
public CodeEngineDomainMapping(string name, CodeEngineDomainMappingArgs args, CustomResourceOptions? opts = null)
public CodeEngineDomainMapping(String name, CodeEngineDomainMappingArgs args)
public CodeEngineDomainMapping(String name, CodeEngineDomainMappingArgs args, CustomResourceOptions options)
type: ibm:CodeEngineDomainMapping
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CodeEngineDomainMappingArgs
- 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 CodeEngineDomainMappingArgs
- 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 CodeEngineDomainMappingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeEngineDomainMappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeEngineDomainMappingArgs
- 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 codeEngineDomainMappingResource = new Ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource", new()
{
Component = new Ibm.Inputs.CodeEngineDomainMappingComponentArgs
{
Name = "string",
ResourceType = "string",
},
ProjectId = "string",
TlsSecret = "string",
CodeEngineDomainMappingId = "string",
Name = "string",
Timeouts = new Ibm.Inputs.CodeEngineDomainMappingTimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := ibm.NewCodeEngineDomainMapping(ctx, "codeEngineDomainMappingResource", &ibm.CodeEngineDomainMappingArgs{
Component: &ibm.CodeEngineDomainMappingComponentArgs{
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
TlsSecret: pulumi.String("string"),
CodeEngineDomainMappingId: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &ibm.CodeEngineDomainMappingTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var codeEngineDomainMappingResource = new CodeEngineDomainMapping("codeEngineDomainMappingResource", CodeEngineDomainMappingArgs.builder()
.component(CodeEngineDomainMappingComponentArgs.builder()
.name("string")
.resourceType("string")
.build())
.projectId("string")
.tlsSecret("string")
.codeEngineDomainMappingId("string")
.name("string")
.timeouts(CodeEngineDomainMappingTimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
code_engine_domain_mapping_resource = ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource",
component={
"name": "string",
"resource_type": "string",
},
project_id="string",
tls_secret="string",
code_engine_domain_mapping_id="string",
name="string",
timeouts={
"create": "string",
"update": "string",
})
const codeEngineDomainMappingResource = new ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource", {
component: {
name: "string",
resourceType: "string",
},
projectId: "string",
tlsSecret: "string",
codeEngineDomainMappingId: "string",
name: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: ibm:CodeEngineDomainMapping
properties:
codeEngineDomainMappingId: string
component:
name: string
resourceType: string
name: string
projectId: string
timeouts:
create: string
update: string
tlsSecret: string
CodeEngineDomainMapping 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 CodeEngineDomainMapping resource accepts the following input properties:
- Component
Code
Engine Domain Mapping Component - A reference to another component. Nested schema for component:
- 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
- Tls
Secret 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
- Code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- Name string
- The name of the 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
- Timeouts
Code
Engine Domain Mapping Timeouts
- Component
Code
Engine Domain Mapping Component Args - A reference to another component. Nested schema for component:
- 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
- Tls
Secret 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
- Code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- Name string
- The name of the 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
- Timeouts
Code
Engine Domain Mapping Timeouts Args
- component
Code
Engine Domain Mapping Component - A reference to another component. Nested schema for component:
- 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
- tls
Secret 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
- code
Engine StringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- name String
- The name of the 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
- timeouts
Code
Engine Domain Mapping Timeouts
- component
Code
Engine Domain Mapping Component - A reference to another component. Nested schema for component:
- 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
- tls
Secret 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
- code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- name string
- The name of the 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
- timeouts
Code
Engine Domain Mapping Timeouts
- component
Code
Engine Domain Mapping Component Args - A reference to another component. Nested schema for component:
- 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
- tls_
secret str - 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
- code_
engine_ strdomain_ mapping_ id - The unique identifier of the code_engine_domain_mapping.
- name str
- The name of the 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
- timeouts
Code
Engine Domain Mapping Timeouts Args
- component Property Map
- A reference to another component. Nested schema for component:
- 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
- tls
Secret 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
- code
Engine StringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- name String
- The name of the 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
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEngineDomainMapping resource produces the following output properties:
- 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
- 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
- Etag string
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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<CodeEngine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- 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
- 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
- Etag string
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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 []CodeEngine Domain Mapping Status Detail - (List) The detailed status of the domain mapping. Nested schema for status_details:
- 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
- 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
- etag String
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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<CodeEngine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- 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
- 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
- etag string
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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 CodeEngine Domain Mapping Status Detail[] - (List) The detailed status of the domain mapping. Nested schema for status_details:
- 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
- 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
- etag str
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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[CodeEngine Domain Mapping Status Detail] - (List) The detailed status of the domain mapping. Nested schema for status_details:
- 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
- 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
- etag String
- ETag identifier for code_engine_domain_mapping.
- 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 provider-assigned unique ID for this managed resource.
- 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:
- 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:
Look up Existing CodeEngineDomainMapping Resource
Get an existing CodeEngineDomainMapping 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?: CodeEngineDomainMappingState, opts?: CustomResourceOptions): CodeEngineDomainMapping
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cname_target: Optional[str] = None,
code_engine_domain_mapping_id: Optional[str] = None,
component: Optional[CodeEngineDomainMappingComponentArgs] = None,
created_at: Optional[str] = None,
domain_mapping_id: Optional[str] = None,
entity_tag: Optional[str] = None,
etag: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
status_details: Optional[Sequence[CodeEngineDomainMappingStatusDetailArgs]] = None,
timeouts: Optional[CodeEngineDomainMappingTimeoutsArgs] = None,
tls_secret: Optional[str] = None,
user_managed: Optional[bool] = None,
visibility: Optional[str] = None) -> CodeEngineDomainMapping
func GetCodeEngineDomainMapping(ctx *Context, name string, id IDInput, state *CodeEngineDomainMappingState, opts ...ResourceOption) (*CodeEngineDomainMapping, error)
public static CodeEngineDomainMapping Get(string name, Input<string> id, CodeEngineDomainMappingState? state, CustomResourceOptions? opts = null)
public static CodeEngineDomainMapping get(String name, Output<String> id, CodeEngineDomainMappingState state, CustomResourceOptions options)
resources: _: type: ibm:CodeEngineDomainMapping get: 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.
- 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
- Code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- Component
Code
Engine Domain Mapping Component - 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
- Etag string
- ETag identifier for code_engine_domain_mapping.
- 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
- Name string
- The name of the 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
- 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<CodeEngine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- Timeouts
Code
Engine Domain Mapping Timeouts - Tls
Secret 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
- Code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- Component
Code
Engine Domain Mapping Component Args - 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
- Etag string
- ETag identifier for code_engine_domain_mapping.
- 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
- Name string
- The name of the 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
- 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 []CodeEngine Domain Mapping Status Detail Args - (List) The detailed status of the domain mapping. Nested schema for status_details:
- Timeouts
Code
Engine Domain Mapping Timeouts Args - Tls
Secret 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
- code
Engine StringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- component
Code
Engine Domain Mapping Component - 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
- etag String
- ETag identifier for code_engine_domain_mapping.
- 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
- name String
- The name of the 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
- 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<CodeEngine Domain Mapping Status Detail> - (List) The detailed status of the domain mapping. Nested schema for status_details:
- timeouts
Code
Engine Domain Mapping Timeouts - tls
Secret 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
- code
Engine stringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- component
Code
Engine Domain Mapping Component - 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
- etag string
- ETag identifier for code_engine_domain_mapping.
- 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
- name string
- The name of the 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
- 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 CodeEngine Domain Mapping Status Detail[] - (List) The detailed status of the domain mapping. Nested schema for status_details:
- timeouts
Code
Engine Domain Mapping Timeouts - tls
Secret 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
- code_
engine_ strdomain_ mapping_ id - The unique identifier of the code_engine_domain_mapping.
- component
Code
Engine Domain Mapping Component Args - 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
- etag str
- ETag identifier for code_engine_domain_mapping.
- 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
- name str
- The name of the 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
- 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[CodeEngine Domain Mapping Status Detail Args] - (List) The detailed status of the domain mapping. Nested schema for status_details:
- timeouts
Code
Engine Domain Mapping Timeouts Args - tls_
secret str - 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
- code
Engine StringDomain Mapping Id - The unique identifier of the code_engine_domain_mapping.
- component Property Map
- 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
- etag String
- ETag identifier for code_engine_domain_mapping.
- 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
- name String
- The name of the 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
- 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:
- timeouts Property Map
- tls
Secret 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
CodeEngineDomainMappingComponent, CodeEngineDomainMappingComponentArgs
- Name 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
- Resource
Type string - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
- Name 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
- Resource
Type string - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
- name 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
- resource
Type String - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
- name 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
- resource
Type string - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
- name str
- 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
- resource_
type str - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
- name 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
- resource
Type String - The type of the referenced resource.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/.+/
.
- Constraints: The maximum length is
CodeEngineDomainMappingStatusDetail, CodeEngineDomainMappingStatusDetailArgs
- 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:
CodeEngineDomainMappingTimeouts, CodeEngineDomainMappingTimeoutsArgs
Import
You can import the ibm_code_engine_domain_mapping
resource by using name
.
The name
property can be formed from project_id
, and name
in the following format:
<project_id>/<name>
project_id
: A string in the format15314cc3-85b4-4338-903f-c28cdee6d005
. The ID of the project.name
: A string in the formatwww.example.com
. The name of the domain mapping.
Syntax
```sh $ pulumi import ibm:index/codeEngineDomainMapping:CodeEngineDomainMapping code_engine_domain_mapping <project_id>/<name> ```
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.