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

ibm.CisDomain

Explore with Pulumi AI

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

    Creates a DNS Domain resource that represents a DNS domain assigned to Cloud Internet Services (CIS). A domain is the basic resource for working with Cloud Internet Services and is typically the first resouce that is assigned to the CIS service instance. The domain will not become active until the DNS Registrar is updated with the CIS name servers in the exported variable name_servers. Refer to the resource dns_domain_registration_nameserversfor updating the IBM Cloud DNS Registrars name servers. For more information, about CIS DNS domain, see setting up your Domain Name System for CIS.

    Example Usage

    1 (Regular Domain)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const instance = new ibm.Cis("instance", {plan: "standard-next"});
    const example = new ibm.CisDomain("example", {
        domain: "example.com",
        cisId: instance.cisId,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    instance = ibm.Cis("instance", plan="standard-next")
    example = ibm.CisDomain("example",
        domain="example.com",
        cis_id=instance.cis_id)
    
    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 {
    		instance, err := ibm.NewCis(ctx, "instance", &ibm.CisArgs{
    			Plan: pulumi.String("standard-next"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewCisDomain(ctx, "example", &ibm.CisDomainArgs{
    			Domain: pulumi.String("example.com"),
    			CisId:  instance.CisId,
    		})
    		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 instance = new Ibm.Cis("instance", new()
        {
            Plan = "standard-next",
        });
    
        var example = new Ibm.CisDomain("example", new()
        {
            Domain = "example.com",
            CisId = instance.CisId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.Cis;
    import com.pulumi.ibm.CisArgs;
    import com.pulumi.ibm.CisDomain;
    import com.pulumi.ibm.CisDomainArgs;
    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 instance = new Cis("instance", CisArgs.builder()
                .plan("standard-next")
                .build());
    
            var example = new CisDomain("example", CisDomainArgs.builder()
                .domain("example.com")
                .cisId(instance.cisId())
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:CisDomain
        properties:
          domain: example.com
          cisId: ${instance.cisId}
      instance:
        type: ibm:Cis
        properties:
          plan: standard-next
    

    2 (Partial Domain)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const instance = new ibm.Cis("instance", {plan: "standard-next"});
    const example = new ibm.CisDomain("example", {
        domain: "example.com",
        cisId: instance.cisId,
        type: "partial",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    instance = ibm.Cis("instance", plan="standard-next")
    example = ibm.CisDomain("example",
        domain="example.com",
        cis_id=instance.cis_id,
        type="partial")
    
    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 {
    		instance, err := ibm.NewCis(ctx, "instance", &ibm.CisArgs{
    			Plan: pulumi.String("standard-next"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewCisDomain(ctx, "example", &ibm.CisDomainArgs{
    			Domain: pulumi.String("example.com"),
    			CisId:  instance.CisId,
    			Type:   pulumi.String("partial"),
    		})
    		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 instance = new Ibm.Cis("instance", new()
        {
            Plan = "standard-next",
        });
    
        var example = new Ibm.CisDomain("example", new()
        {
            Domain = "example.com",
            CisId = instance.CisId,
            Type = "partial",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.Cis;
    import com.pulumi.ibm.CisArgs;
    import com.pulumi.ibm.CisDomain;
    import com.pulumi.ibm.CisDomainArgs;
    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 instance = new Cis("instance", CisArgs.builder()
                .plan("standard-next")
                .build());
    
            var example = new CisDomain("example", CisDomainArgs.builder()
                .domain("example.com")
                .cisId(instance.cisId())
                .type("partial")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:CisDomain
        properties:
          domain: example.com
          cisId: ${instance.cisId}
          type: partial
      instance:
        type: ibm:Cis
        properties:
          plan: standard-next
    

    Create CisDomain Resource

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

    Constructor syntax

    new CisDomain(name: string, args: CisDomainArgs, opts?: CustomResourceOptions);
    @overload
    def CisDomain(resource_name: str,
                  args: CisDomainArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisDomain(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  cis_id: Optional[str] = None,
                  domain: Optional[str] = None,
                  cis_domain_id: Optional[str] = None,
                  type: Optional[str] = None)
    func NewCisDomain(ctx *Context, name string, args CisDomainArgs, opts ...ResourceOption) (*CisDomain, error)
    public CisDomain(string name, CisDomainArgs args, CustomResourceOptions? opts = null)
    public CisDomain(String name, CisDomainArgs args)
    public CisDomain(String name, CisDomainArgs args, CustomResourceOptions options)
    
    type: ibm:CisDomain
    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 CisDomainArgs
    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 CisDomainArgs
    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 CisDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisDomainArgs
    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 cisDomainResource = new Ibm.CisDomain("cisDomainResource", new()
    {
        CisId = "string",
        Domain = "string",
        CisDomainId = "string",
        Type = "string",
    });
    
    example, err := ibm.NewCisDomain(ctx, "cisDomainResource", &ibm.CisDomainArgs{
    	CisId:       pulumi.String("string"),
    	Domain:      pulumi.String("string"),
    	CisDomainId: pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    var cisDomainResource = new CisDomain("cisDomainResource", CisDomainArgs.builder()
        .cisId("string")
        .domain("string")
        .cisDomainId("string")
        .type("string")
        .build());
    
    cis_domain_resource = ibm.CisDomain("cisDomainResource",
        cis_id="string",
        domain="string",
        cis_domain_id="string",
        type="string")
    
    const cisDomainResource = new ibm.CisDomain("cisDomainResource", {
        cisId: "string",
        domain: "string",
        cisDomainId: "string",
        type: "string",
    });
    
    type: ibm:CisDomain
    properties:
        cisDomainId: string
        cisId: string
        domain: string
        type: string
    

    CisDomain 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 CisDomain resource accepts the following input properties:

    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    CisDomainId string
    (String) The unique identifier of the domain.
    Type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    CisDomainId string
    (String) The unique identifier of the domain.
    Type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domain String
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    cisDomainId String
    (String) The unique identifier of the domain.
    type String
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    cisDomainId string
    (String) The unique identifier of the domain.
    type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    domain str
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    cis_domain_id str
    (String) The unique identifier of the domain.
    type str
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domain String
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    cisDomainId String
    (String) The unique identifier of the domain.
    type String
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.

    Outputs

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

    CnameSuffix string
    (String) The cname suffix of the domain.
    DomainId string
    (String) The ID of the domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    NameServers List<string>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    OriginalNameServers List<string>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    Paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    Status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    VerificationKey string
    (String) The verification key of the domain.
    CnameSuffix string
    (String) The cname suffix of the domain.
    DomainId string
    (String) The ID of the domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    NameServers []string
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    OriginalNameServers []string
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    Paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    Status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    VerificationKey string
    (String) The verification key of the domain.
    cnameSuffix String
    (String) The cname suffix of the domain.
    domainId String
    (String) The ID of the domain.
    id String
    The provider-assigned unique ID for this managed resource.
    nameServers List<String>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers List<String>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused Boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status String
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    verificationKey String
    (String) The verification key of the domain.
    cnameSuffix string
    (String) The cname suffix of the domain.
    domainId string
    (String) The ID of the domain.
    id string
    The provider-assigned unique ID for this managed resource.
    nameServers string[]
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers string[]
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    verificationKey string
    (String) The verification key of the domain.
    cname_suffix str
    (String) The cname suffix of the domain.
    domain_id str
    (String) The ID of the domain.
    id str
    The provider-assigned unique ID for this managed resource.
    name_servers Sequence[str]
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    original_name_servers Sequence[str]
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status str
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    verification_key str
    (String) The verification key of the domain.
    cnameSuffix String
    (String) The cname suffix of the domain.
    domainId String
    (String) The ID of the domain.
    id String
    The provider-assigned unique ID for this managed resource.
    nameServers List<String>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers List<String>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused Boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status String
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    verificationKey String
    (String) The verification key of the domain.

    Look up Existing CisDomain Resource

    Get an existing CisDomain 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?: CisDomainState, opts?: CustomResourceOptions): CisDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cis_domain_id: Optional[str] = None,
            cis_id: Optional[str] = None,
            cname_suffix: Optional[str] = None,
            domain: Optional[str] = None,
            domain_id: Optional[str] = None,
            name_servers: Optional[Sequence[str]] = None,
            original_name_servers: Optional[Sequence[str]] = None,
            paused: Optional[bool] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            verification_key: Optional[str] = None) -> CisDomain
    func GetCisDomain(ctx *Context, name string, id IDInput, state *CisDomainState, opts ...ResourceOption) (*CisDomain, error)
    public static CisDomain Get(string name, Input<string> id, CisDomainState? state, CustomResourceOptions? opts = null)
    public static CisDomain get(String name, Output<String> id, CisDomainState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisDomain    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.
    The following state arguments are supported:
    CisDomainId string
    (String) The unique identifier of the domain.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CnameSuffix string
    (String) The cname suffix of the domain.
    Domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    DomainId string
    (String) The ID of the domain.
    NameServers List<string>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    OriginalNameServers List<string>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    Paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    Status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    Type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    VerificationKey string
    (String) The verification key of the domain.
    CisDomainId string
    (String) The unique identifier of the domain.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CnameSuffix string
    (String) The cname suffix of the domain.
    Domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    DomainId string
    (String) The ID of the domain.
    NameServers []string
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    OriginalNameServers []string
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    Paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    Status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    Type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    VerificationKey string
    (String) The verification key of the domain.
    cisDomainId String
    (String) The unique identifier of the domain.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cnameSuffix String
    (String) The cname suffix of the domain.
    domain String
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    domainId String
    (String) The ID of the domain.
    nameServers List<String>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers List<String>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused Boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status String
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    type String
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    verificationKey String
    (String) The verification key of the domain.
    cisDomainId string
    (String) The unique identifier of the domain.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    cnameSuffix string
    (String) The cname suffix of the domain.
    domain string
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    domainId string
    (String) The ID of the domain.
    nameServers string[]
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers string[]
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status string
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    type string
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    verificationKey string
    (String) The verification key of the domain.
    cis_domain_id str
    (String) The unique identifier of the domain.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    cname_suffix str
    (String) The cname suffix of the domain.
    domain str
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    domain_id str
    (String) The ID of the domain.
    name_servers Sequence[str]
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    original_name_servers Sequence[str]
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused bool
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status str
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    type str
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    verification_key str
    (String) The verification key of the domain.
    cisDomainId String
    (String) The unique identifier of the domain.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cnameSuffix String
    (String) The cname suffix of the domain.
    domain String
    The DNS domain name that you want to add to your IBM Cloud Internet Services instance.
    domainId String
    (String) The ID of the domain.
    nameServers List<String>
    (String) The name servers that are assigned to your IBM Cloud Internet Services instance.
    originalNameServers List<String>
    (String) The name servers that were used when the domain was first registered with the DNS Registrar.
    paused Boolean
    (Bool) Indicates if the domain is paused and network traffic bypasses your IBM Cloud Internet Services instance. The default values is false.
    status String
    (String) The status of the domain. Valid values are active, pending, initializing, moved, deleted, and deactivated. After creation, the status remains pending until the DNS Registrar is updated with the CIS name servers, exported in the name_servers variable.
    type String
    The type of domain to be created. Default value is noted to be full- for regular domains, & to create a partial domain for CNAME setup, value to be used is partial.
    verificationKey String
    (String) The verification key of the domain.

    Import

    The ibm_cis_domain resource can be imported using the id. The ID is formed from the Domain ID of the domain concatentated using a : character with the CRN (Cloud Resource Name).

    The Domain ID and CRN will be located on the Overview page of the Internet Services instance under the Domain heading of the UI, or by using the bx cis CLI commands.

    • Domain ID is a 32 digit character string of the form: 9caf68812ae9b3f0377fdf986751a78f

    • CRN is a 120 digit character string of the form: crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::

    Syntax

    $ pulumi import ibm:index/cisDomain:CisDomain myorg <domain-id>:<crn>
    

    Example

    $ pulumi import ibm:index/cisDomain:CisDomain myorg 9caf68812ae9b3f0377fdf986751a78f:crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
    

    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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud