1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. CisDnsRecordsBatch
Viewing docs for ibm 2.2.2
published on Wednesday, May 27, 2026 by ibm-cloud
Viewing docs for ibm 2.2.2
published on Wednesday, May 27, 2026 by ibm-cloud

    Provides an IBM Cloud Internet Services DNS records batch resource. This resource allows you to create, update, and delete multiple DNS records in a single API call, improving efficiency when managing large numbers of DNS records. This resource is associated with an IBM Cloud Internet Services instance and a CIS domain resource. For more information, about CIS DNS records, see managing DNS records.

    Example Usage

    Create multiple DNS records

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const group = ibm.getResourceGroup({
        name: "Default",
    });
    const cis = group.then(group => ibm.getCis({
        name: "my-cis-instance",
        resourceGroupId: group.id,
    }));
    const cisDomain = cis.then(cis => ibm.getCisDomain({
        cisId: cis.id,
        domain: "example.com",
    }));
    // Batch-create DNS records in a single API call
    const posts = new ibm.CisDnsRecordsBatch("posts", {
        cisId: cis.then(cis => cis.id),
        domainId: cisDomain.then(cisDomain => cisDomain.id),
        posts: [
            {
                name: "batch-a",
                type: "A",
                content: "1.2.3.4",
                ttl: 120,
                proxied: false,
            },
            {
                name: "batch-txt",
                type: "TXT",
                content: "v=spf1 include:example.com ~all",
                ttl: 300,
            },
            {
                name: "batch-mx",
                type: "MX",
                content: "mail.example.com",
                ttl: 300,
                priority: 10,
            },
        ],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    group = ibm.get_resource_group(name="Default")
    cis = ibm.get_cis(name="my-cis-instance",
        resource_group_id=group.id)
    cis_domain = ibm.get_cis_domain(cis_id=cis.id,
        domain="example.com")
    # Batch-create DNS records in a single API call
    posts = ibm.CisDnsRecordsBatch("posts",
        cis_id=cis.id,
        domain_id=cis_domain.id,
        posts=[
            {
                "name": "batch-a",
                "type": "A",
                "content": "1.2.3.4",
                "ttl": 120,
                "proxied": False,
            },
            {
                "name": "batch-txt",
                "type": "TXT",
                "content": "v=spf1 include:example.com ~all",
                "ttl": 300,
            },
            {
                "name": "batch-mx",
                "type": "MX",
                "content": "mail.example.com",
                "ttl": 300,
                "priority": 10,
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		group, err := ibm.LookupResourceGroup(ctx, &ibm.LookupResourceGroupArgs{
    			Name: pulumi.StringRef("Default"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		cis, err := ibm.LookupCis(ctx, &ibm.LookupCisArgs{
    			Name:            "my-cis-instance",
    			ResourceGroupId: pulumi.StringRef(group.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		cisDomain, err := ibm.LookupCisDomain(ctx, &ibm.LookupCisDomainArgs{
    			CisId:  cis.Id,
    			Domain: "example.com",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Batch-create DNS records in a single API call
    		_, err = ibm.NewCisDnsRecordsBatch(ctx, "posts", &ibm.CisDnsRecordsBatchArgs{
    			CisId:    pulumi.String(cis.Id),
    			DomainId: pulumi.String(cisDomain.Id),
    			Posts: ibm.CisDnsRecordsBatchPostArray{
    				&ibm.CisDnsRecordsBatchPostArgs{
    					Name:    pulumi.String("batch-a"),
    					Type:    pulumi.String("A"),
    					Content: pulumi.String("1.2.3.4"),
    					Ttl:     pulumi.Float64(120),
    					Proxied: pulumi.Bool(false),
    				},
    				&ibm.CisDnsRecordsBatchPostArgs{
    					Name:    pulumi.String("batch-txt"),
    					Type:    pulumi.String("TXT"),
    					Content: pulumi.String("v=spf1 include:example.com ~all"),
    					Ttl:     pulumi.Float64(300),
    				},
    				&ibm.CisDnsRecordsBatchPostArgs{
    					Name:     pulumi.String("batch-mx"),
    					Type:     pulumi.String("MX"),
    					Content:  pulumi.String("mail.example.com"),
    					Ttl:      pulumi.Float64(300),
    					Priority: pulumi.Float64(10),
    				},
    			},
    		})
    		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 @group = Ibm.GetResourceGroup.Invoke(new()
        {
            Name = "Default",
        });
    
        var cis = Ibm.GetCis.Invoke(new()
        {
            Name = "my-cis-instance",
            ResourceGroupId = @group.Apply(getResourceGroupResult => getResourceGroupResult.Id),
        });
    
        var cisDomain = Ibm.GetCisDomain.Invoke(new()
        {
            CisId = cis.Apply(getCisResult => getCisResult.Id),
            Domain = "example.com",
        });
    
        // Batch-create DNS records in a single API call
        var posts = new Ibm.CisDnsRecordsBatch("posts", new()
        {
            CisId = cis.Apply(getCisResult => getCisResult.Id),
            DomainId = cisDomain.Apply(getCisDomainResult => getCisDomainResult.Id),
            Posts = new[]
            {
                new Ibm.Inputs.CisDnsRecordsBatchPostArgs
                {
                    Name = "batch-a",
                    Type = "A",
                    Content = "1.2.3.4",
                    Ttl = 120,
                    Proxied = false,
                },
                new Ibm.Inputs.CisDnsRecordsBatchPostArgs
                {
                    Name = "batch-txt",
                    Type = "TXT",
                    Content = "v=spf1 include:example.com ~all",
                    Ttl = 300,
                },
                new Ibm.Inputs.CisDnsRecordsBatchPostArgs
                {
                    Name = "batch-mx",
                    Type = "MX",
                    Content = "mail.example.com",
                    Ttl = 300,
                    Priority = 10,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetResourceGroupArgs;
    import com.pulumi.ibm.inputs.GetCisArgs;
    import com.pulumi.ibm.inputs.GetCisDomainArgs;
    import com.pulumi.ibm.CisDnsRecordsBatch;
    import com.pulumi.ibm.CisDnsRecordsBatchArgs;
    import com.pulumi.ibm.inputs.CisDnsRecordsBatchPostArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var group = IbmFunctions.getResourceGroup(GetResourceGroupArgs.builder()
                .name("Default")
                .build());
    
            final var cis = IbmFunctions.getCis(GetCisArgs.builder()
                .name("my-cis-instance")
                .resourceGroupId(group.id())
                .build());
    
            final var cisDomain = IbmFunctions.getCisDomain(GetCisDomainArgs.builder()
                .cisId(cis.id())
                .domain("example.com")
                .build());
    
            // Batch-create DNS records in a single API call
            var posts = new CisDnsRecordsBatch("posts", CisDnsRecordsBatchArgs.builder()
                .cisId(cis.id())
                .domainId(cisDomain.id())
                .posts(            
                    CisDnsRecordsBatchPostArgs.builder()
                        .name("batch-a")
                        .type("A")
                        .content("1.2.3.4")
                        .ttl(120.0)
                        .proxied(false)
                        .build(),
                    CisDnsRecordsBatchPostArgs.builder()
                        .name("batch-txt")
                        .type("TXT")
                        .content("v=spf1 include:example.com ~all")
                        .ttl(300.0)
                        .build(),
                    CisDnsRecordsBatchPostArgs.builder()
                        .name("batch-mx")
                        .type("MX")
                        .content("mail.example.com")
                        .ttl(300.0)
                        .priority(10.0)
                        .build())
                .build());
    
        }
    }
    
    resources:
      # Batch-create DNS records in a single API call
      posts:
        type: ibm:CisDnsRecordsBatch
        properties:
          cisId: ${cis.id}
          domainId: ${cisDomain.id}
          posts:
            - name: batch-a
              type: A
              content: 1.2.3.4
              ttl: 120
              proxied: false
            - name: batch-txt
              type: TXT
              content: v=spf1 include:example.com ~all
              ttl: 300
            - name: batch-mx
              type: MX
              content: mail.example.com
              ttl: 300
              priority: 10
    variables:
      group:
        fn::invoke:
          function: ibm:getResourceGroup
          arguments:
            name: Default
      cis:
        fn::invoke:
          function: ibm:getCis
          arguments:
            name: my-cis-instance
            resourceGroupId: ${group.id}
      cisDomain:
        fn::invoke:
          function: ibm:getCisDomain
          arguments:
            cisId: ${cis.id}
            domain: example.com
    
    Example coming soon!
    

    Update and delete DNS records

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    // Batch-update DNS records: full replace, partial update, and delete
    const updates = new ibm.CisDnsRecordsBatch("updates", {
        cisId: cis.id,
        domainId: cisDomain.id,
        puts: [{
            id: posts.resultPosts[0].id,
            name: "batch-a",
            type: "A",
            content: "5.6.7.8",
            ttl: 240,
            proxied: false,
        }],
        patches: [{
            id: posts.resultPosts[1].id,
            content: "v=spf1 include:updated.com ~all",
        }],
        deletes: [{
            id: posts.resultPosts[2].id,
        }],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    # Batch-update DNS records: full replace, partial update, and delete
    updates = ibm.CisDnsRecordsBatch("updates",
        cis_id=cis["id"],
        domain_id=cis_domain["id"],
        puts=[{
            "id": posts["resultPosts"][0]["id"],
            "name": "batch-a",
            "type": "A",
            "content": "5.6.7.8",
            "ttl": 240,
            "proxied": False,
        }],
        patches=[{
            "id": posts["resultPosts"][1]["id"],
            "content": "v=spf1 include:updated.com ~all",
        }],
        deletes=[{
            "id": posts["resultPosts"][2]["id"],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Batch-update DNS records: full replace, partial update, and delete
    		_, err := ibm.NewCisDnsRecordsBatch(ctx, "updates", &ibm.CisDnsRecordsBatchArgs{
    			CisId:    pulumi.Any(cis.Id),
    			DomainId: pulumi.Any(cisDomain.Id),
    			Puts: ibm.CisDnsRecordsBatchPutArray{
    				&ibm.CisDnsRecordsBatchPutArgs{
    					Id:      pulumi.Any(posts.ResultPosts[0].Id),
    					Name:    pulumi.String("batch-a"),
    					Type:    pulumi.String("A"),
    					Content: pulumi.String("5.6.7.8"),
    					Ttl:     pulumi.Float64(240),
    					Proxied: pulumi.Bool(false),
    				},
    			},
    			Patches: ibm.CisDnsRecordsBatchPatchArray{
    				&ibm.CisDnsRecordsBatchPatchArgs{
    					Id:      pulumi.Any(posts.ResultPosts[1].Id),
    					Content: pulumi.String("v=spf1 include:updated.com ~all"),
    				},
    			},
    			Deletes: ibm.CisDnsRecordsBatchDeleteArray{
    				&ibm.CisDnsRecordsBatchDeleteArgs{
    					Id: pulumi.Any(posts.ResultPosts[2].Id),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        // Batch-update DNS records: full replace, partial update, and delete
        var updates = new Ibm.CisDnsRecordsBatch("updates", new()
        {
            CisId = cis.Id,
            DomainId = cisDomain.Id,
            Puts = new[]
            {
                new Ibm.Inputs.CisDnsRecordsBatchPutArgs
                {
                    Id = posts.ResultPosts[0].Id,
                    Name = "batch-a",
                    Type = "A",
                    Content = "5.6.7.8",
                    Ttl = 240,
                    Proxied = false,
                },
            },
            Patches = new[]
            {
                new Ibm.Inputs.CisDnsRecordsBatchPatchArgs
                {
                    Id = posts.ResultPosts[1].Id,
                    Content = "v=spf1 include:updated.com ~all",
                },
            },
            Deletes = new[]
            {
                new Ibm.Inputs.CisDnsRecordsBatchDeleteArgs
                {
                    Id = posts.ResultPosts[2].Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CisDnsRecordsBatch;
    import com.pulumi.ibm.CisDnsRecordsBatchArgs;
    import com.pulumi.ibm.inputs.CisDnsRecordsBatchPutArgs;
    import com.pulumi.ibm.inputs.CisDnsRecordsBatchPatchArgs;
    import com.pulumi.ibm.inputs.CisDnsRecordsBatchDeleteArgs;
    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) {
            // Batch-update DNS records: full replace, partial update, and delete
            var updates = new CisDnsRecordsBatch("updates", CisDnsRecordsBatchArgs.builder()
                .cisId(cis.id())
                .domainId(cisDomain.id())
                .puts(CisDnsRecordsBatchPutArgs.builder()
                    .id(posts.resultPosts()[0].id())
                    .name("batch-a")
                    .type("A")
                    .content("5.6.7.8")
                    .ttl(240.0)
                    .proxied(false)
                    .build())
                .patches(CisDnsRecordsBatchPatchArgs.builder()
                    .id(posts.resultPosts()[1].id())
                    .content("v=spf1 include:updated.com ~all")
                    .build())
                .deletes(CisDnsRecordsBatchDeleteArgs.builder()
                    .id(posts.resultPosts()[2].id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Batch-update DNS records: full replace, partial update, and delete
      updates:
        type: ibm:CisDnsRecordsBatch
        properties:
          cisId: ${cis.id}
          domainId: ${cisDomain.id}
          puts:
            - id: ${posts.resultPosts[0].id}
              name: batch-a
              type: A
              content: 5.6.7.8
              ttl: 240
              proxied: false
          patches:
            - id: ${posts.resultPosts[1].id}
              content: v=spf1 include:updated.com ~all
          deletes:
            - id: ${posts.resultPosts[2].id}
    
    Example coming soon!
    

    Notes

    • The batch operations (posts, puts, patches, deletes) are executed in a single API call, making it more efficient than creating individual DNS records.
    • Use posts to create new DNS records.
    • Use puts to completely replace existing DNS records (all fields must be provided).
    • Use patches to partially update existing DNS records (only specified fields are updated).
    • Use deletes to remove DNS records.
    • Multiple operation types can be combined in a single resource.
    • The resource does not perform a traditional “read” operation; it only executes the batch operations and stores the results.

    Create CisDnsRecordsBatch Resource

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

    Constructor syntax

    new CisDnsRecordsBatch(name: string, args: CisDnsRecordsBatchArgs, opts?: CustomResourceOptions);
    @overload
    def CisDnsRecordsBatch(resource_name: str,
                           args: CisDnsRecordsBatchArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisDnsRecordsBatch(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cis_id: Optional[str] = None,
                           domain_id: Optional[str] = None,
                           cis_dns_records_batch_id: Optional[str] = None,
                           deletes: Optional[Sequence[CisDnsRecordsBatchDeleteArgs]] = None,
                           patches: Optional[Sequence[CisDnsRecordsBatchPatchArgs]] = None,
                           posts: Optional[Sequence[CisDnsRecordsBatchPostArgs]] = None,
                           puts: Optional[Sequence[CisDnsRecordsBatchPutArgs]] = None)
    func NewCisDnsRecordsBatch(ctx *Context, name string, args CisDnsRecordsBatchArgs, opts ...ResourceOption) (*CisDnsRecordsBatch, error)
    public CisDnsRecordsBatch(string name, CisDnsRecordsBatchArgs args, CustomResourceOptions? opts = null)
    public CisDnsRecordsBatch(String name, CisDnsRecordsBatchArgs args)
    public CisDnsRecordsBatch(String name, CisDnsRecordsBatchArgs args, CustomResourceOptions options)
    
    type: ibm:CisDnsRecordsBatch
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ibm_cisdnsrecordsbatch" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CisDnsRecordsBatchArgs
    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 CisDnsRecordsBatchArgs
    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 CisDnsRecordsBatchArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisDnsRecordsBatchArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisDnsRecordsBatchArgs
    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 cisDnsRecordsBatchResource = new Ibm.CisDnsRecordsBatch("cisDnsRecordsBatchResource", new()
    {
        CisId = "string",
        DomainId = "string",
        CisDnsRecordsBatchId = "string",
        Deletes = new[]
        {
            new Ibm.Inputs.CisDnsRecordsBatchDeleteArgs
            {
                Id = "string",
            },
        },
        Patches = new[]
        {
            new Ibm.Inputs.CisDnsRecordsBatchPatchArgs
            {
                Content = "string",
                Data = 
                {
                    { "string", "string" },
                },
                Id = "string",
                Name = "string",
                Priority = 0,
                Proxied = false,
                Ttl = 0,
                Type = "string",
            },
        },
        Posts = new[]
        {
            new Ibm.Inputs.CisDnsRecordsBatchPostArgs
            {
                Content = "string",
                Data = 
                {
                    { "string", "string" },
                },
                Id = "string",
                Name = "string",
                Priority = 0,
                Proxied = false,
                Ttl = 0,
                Type = "string",
            },
        },
        Puts = new[]
        {
            new Ibm.Inputs.CisDnsRecordsBatchPutArgs
            {
                Content = "string",
                Data = 
                {
                    { "string", "string" },
                },
                Id = "string",
                Name = "string",
                Priority = 0,
                Proxied = false,
                Ttl = 0,
                Type = "string",
            },
        },
    });
    
    example, err := ibm.NewCisDnsRecordsBatch(ctx, "cisDnsRecordsBatchResource", &ibm.CisDnsRecordsBatchArgs{
    	CisId:                pulumi.String("string"),
    	DomainId:             pulumi.String("string"),
    	CisDnsRecordsBatchId: pulumi.String("string"),
    	Deletes: ibm.CisDnsRecordsBatchDeleteArray{
    		&ibm.CisDnsRecordsBatchDeleteArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	Patches: ibm.CisDnsRecordsBatchPatchArray{
    		&ibm.CisDnsRecordsBatchPatchArgs{
    			Content: pulumi.String("string"),
    			Data: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Id:       pulumi.String("string"),
    			Name:     pulumi.String("string"),
    			Priority: pulumi.Float64(0),
    			Proxied:  pulumi.Bool(false),
    			Ttl:      pulumi.Float64(0),
    			Type:     pulumi.String("string"),
    		},
    	},
    	Posts: ibm.CisDnsRecordsBatchPostArray{
    		&ibm.CisDnsRecordsBatchPostArgs{
    			Content: pulumi.String("string"),
    			Data: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Id:       pulumi.String("string"),
    			Name:     pulumi.String("string"),
    			Priority: pulumi.Float64(0),
    			Proxied:  pulumi.Bool(false),
    			Ttl:      pulumi.Float64(0),
    			Type:     pulumi.String("string"),
    		},
    	},
    	Puts: ibm.CisDnsRecordsBatchPutArray{
    		&ibm.CisDnsRecordsBatchPutArgs{
    			Content: pulumi.String("string"),
    			Data: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Id:       pulumi.String("string"),
    			Name:     pulumi.String("string"),
    			Priority: pulumi.Float64(0),
    			Proxied:  pulumi.Bool(false),
    			Ttl:      pulumi.Float64(0),
    			Type:     pulumi.String("string"),
    		},
    	},
    })
    
    resource "ibm_cisdnsrecordsbatch" "cisDnsRecordsBatchResource" {
      cis_id                   = "string"
      domain_id                = "string"
      cis_dns_records_batch_id = "string"
      deletes {
        id = "string"
      }
      patches {
        content = "string"
        data = {
          "string" = "string"
        }
        id       = "string"
        name     = "string"
        priority = 0
        proxied  = false
        ttl      = 0
        type     = "string"
      }
      posts {
        content = "string"
        data = {
          "string" = "string"
        }
        id       = "string"
        name     = "string"
        priority = 0
        proxied  = false
        ttl      = 0
        type     = "string"
      }
      puts {
        content = "string"
        data = {
          "string" = "string"
        }
        id       = "string"
        name     = "string"
        priority = 0
        proxied  = false
        ttl      = 0
        type     = "string"
      }
    }
    
    var cisDnsRecordsBatchResource = new CisDnsRecordsBatch("cisDnsRecordsBatchResource", CisDnsRecordsBatchArgs.builder()
        .cisId("string")
        .domainId("string")
        .cisDnsRecordsBatchId("string")
        .deletes(CisDnsRecordsBatchDeleteArgs.builder()
            .id("string")
            .build())
        .patches(CisDnsRecordsBatchPatchArgs.builder()
            .content("string")
            .data(Map.of("string", "string"))
            .id("string")
            .name("string")
            .priority(0.0)
            .proxied(false)
            .ttl(0.0)
            .type("string")
            .build())
        .posts(CisDnsRecordsBatchPostArgs.builder()
            .content("string")
            .data(Map.of("string", "string"))
            .id("string")
            .name("string")
            .priority(0.0)
            .proxied(false)
            .ttl(0.0)
            .type("string")
            .build())
        .puts(CisDnsRecordsBatchPutArgs.builder()
            .content("string")
            .data(Map.of("string", "string"))
            .id("string")
            .name("string")
            .priority(0.0)
            .proxied(false)
            .ttl(0.0)
            .type("string")
            .build())
        .build());
    
    cis_dns_records_batch_resource = ibm.CisDnsRecordsBatch("cisDnsRecordsBatchResource",
        cis_id="string",
        domain_id="string",
        cis_dns_records_batch_id="string",
        deletes=[{
            "id": "string",
        }],
        patches=[{
            "content": "string",
            "data": {
                "string": "string",
            },
            "id": "string",
            "name": "string",
            "priority": float(0),
            "proxied": False,
            "ttl": float(0),
            "type": "string",
        }],
        posts=[{
            "content": "string",
            "data": {
                "string": "string",
            },
            "id": "string",
            "name": "string",
            "priority": float(0),
            "proxied": False,
            "ttl": float(0),
            "type": "string",
        }],
        puts=[{
            "content": "string",
            "data": {
                "string": "string",
            },
            "id": "string",
            "name": "string",
            "priority": float(0),
            "proxied": False,
            "ttl": float(0),
            "type": "string",
        }])
    
    const cisDnsRecordsBatchResource = new ibm.CisDnsRecordsBatch("cisDnsRecordsBatchResource", {
        cisId: "string",
        domainId: "string",
        cisDnsRecordsBatchId: "string",
        deletes: [{
            id: "string",
        }],
        patches: [{
            content: "string",
            data: {
                string: "string",
            },
            id: "string",
            name: "string",
            priority: 0,
            proxied: false,
            ttl: 0,
            type: "string",
        }],
        posts: [{
            content: "string",
            data: {
                string: "string",
            },
            id: "string",
            name: "string",
            priority: 0,
            proxied: false,
            ttl: 0,
            type: "string",
        }],
        puts: [{
            content: "string",
            data: {
                string: "string",
            },
            id: "string",
            name: "string",
            priority: 0,
            proxied: false,
            ttl: 0,
            type: "string",
        }],
    });
    
    type: ibm:CisDnsRecordsBatch
    properties:
        cisDnsRecordsBatchId: string
        cisId: string
        deletes:
            - id: string
        domainId: string
        patches:
            - content: string
              data:
                string: string
              id: string
              name: string
              priority: 0
              proxied: false
              ttl: 0
              type: string
        posts:
            - content: string
              data:
                string: string
              id: string
              name: string
              priority: 0
              proxied: false
              ttl: 0
              type: string
        puts:
            - content: string
              data:
                string: string
              id: string
              name: string
              priority: 0
              proxied: false
              ttl: 0
              type: string
    

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

    CisId string
    The ID of the CIS service instance.
    DomainId string
    The ID of the domain to add the DNS records.
    CisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    Deletes List<CisDnsRecordsBatchDelete>
    A list of DNS record IDs to delete:
    Patches List<CisDnsRecordsBatchPatch>
    A list of DNS records to partially update. Only specified fields will be updated:
    Posts List<CisDnsRecordsBatchPost>
    A list of DNS records to create. Each record supports the following attributes:
    Puts List<CisDnsRecordsBatchPut>
    A list of DNS records to fully replace. Each record requires all fields and supports:
    CisId string
    The ID of the CIS service instance.
    DomainId string
    The ID of the domain to add the DNS records.
    CisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    Deletes []CisDnsRecordsBatchDeleteArgs
    A list of DNS record IDs to delete:
    Patches []CisDnsRecordsBatchPatchArgs
    A list of DNS records to partially update. Only specified fields will be updated:
    Posts []CisDnsRecordsBatchPostArgs
    A list of DNS records to create. Each record supports the following attributes:
    Puts []CisDnsRecordsBatchPutArgs
    A list of DNS records to fully replace. Each record requires all fields and supports:
    cis_id string
    The ID of the CIS service instance.
    domain_id string
    The ID of the domain to add the DNS records.
    cis_dns_records_batch_id string
    (String) The unique identifier of the DNS record.
    deletes list(object)
    A list of DNS record IDs to delete:
    patches list(object)
    A list of DNS records to partially update. Only specified fields will be updated:
    posts list(object)
    A list of DNS records to create. Each record supports the following attributes:
    puts list(object)
    A list of DNS records to fully replace. Each record requires all fields and supports:
    cisId String
    The ID of the CIS service instance.
    domainId String
    The ID of the domain to add the DNS records.
    cisDnsRecordsBatchId String
    (String) The unique identifier of the DNS record.
    deletes List<CisDnsRecordsBatchDelete>
    A list of DNS record IDs to delete:
    patches List<CisDnsRecordsBatchPatch>
    A list of DNS records to partially update. Only specified fields will be updated:
    posts List<CisDnsRecordsBatchPost>
    A list of DNS records to create. Each record supports the following attributes:
    puts List<CisDnsRecordsBatchPut>
    A list of DNS records to fully replace. Each record requires all fields and supports:
    cisId string
    The ID of the CIS service instance.
    domainId string
    The ID of the domain to add the DNS records.
    cisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    deletes CisDnsRecordsBatchDelete[]
    A list of DNS record IDs to delete:
    patches CisDnsRecordsBatchPatch[]
    A list of DNS records to partially update. Only specified fields will be updated:
    posts CisDnsRecordsBatchPost[]
    A list of DNS records to create. Each record supports the following attributes:
    puts CisDnsRecordsBatchPut[]
    A list of DNS records to fully replace. Each record requires all fields and supports:
    cis_id str
    The ID of the CIS service instance.
    domain_id str
    The ID of the domain to add the DNS records.
    cis_dns_records_batch_id str
    (String) The unique identifier of the DNS record.
    deletes Sequence[CisDnsRecordsBatchDeleteArgs]
    A list of DNS record IDs to delete:
    patches Sequence[CisDnsRecordsBatchPatchArgs]
    A list of DNS records to partially update. Only specified fields will be updated:
    posts Sequence[CisDnsRecordsBatchPostArgs]
    A list of DNS records to create. Each record supports the following attributes:
    puts Sequence[CisDnsRecordsBatchPutArgs]
    A list of DNS records to fully replace. Each record requires all fields and supports:
    cisId String
    The ID of the CIS service instance.
    domainId String
    The ID of the domain to add the DNS records.
    cisDnsRecordsBatchId String
    (String) The unique identifier of the DNS record.
    deletes List<Property Map>
    A list of DNS record IDs to delete:
    patches List<Property Map>
    A list of DNS records to partially update. Only specified fields will be updated:
    posts List<Property Map>
    A list of DNS records to create. Each record supports the following attributes:
    puts List<Property Map>
    A list of DNS records to fully replace. Each record requires all fields and supports:

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ResultDeletes List<CisDnsRecordsBatchResultDelete>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    ResultPatches List<CisDnsRecordsBatchResultPatch>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    ResultPosts List<CisDnsRecordsBatchResultPost>
    (List) The DNS records created by the batch post operation. Each record contains:
    ResultPuts List<CisDnsRecordsBatchResultPut>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResultDeletes []CisDnsRecordsBatchResultDelete
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    ResultPatches []CisDnsRecordsBatchResultPatch
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    ResultPosts []CisDnsRecordsBatchResultPost
    (List) The DNS records created by the batch post operation. Each record contains:
    ResultPuts []CisDnsRecordsBatchResultPut
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    id string
    The provider-assigned unique ID for this managed resource.
    result_deletes list(object)
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    result_patches list(object)
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    result_posts list(object)
    (List) The DNS records created by the batch post operation. Each record contains:
    result_puts list(object)
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    id String
    The provider-assigned unique ID for this managed resource.
    resultDeletes List<CisDnsRecordsBatchResultDelete>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches List<CisDnsRecordsBatchResultPatch>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts List<CisDnsRecordsBatchResultPost>
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts List<CisDnsRecordsBatchResultPut>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    id string
    The provider-assigned unique ID for this managed resource.
    resultDeletes CisDnsRecordsBatchResultDelete[]
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches CisDnsRecordsBatchResultPatch[]
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts CisDnsRecordsBatchResultPost[]
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts CisDnsRecordsBatchResultPut[]
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    id str
    The provider-assigned unique ID for this managed resource.
    result_deletes Sequence[CisDnsRecordsBatchResultDelete]
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    result_patches Sequence[CisDnsRecordsBatchResultPatch]
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    result_posts Sequence[CisDnsRecordsBatchResultPost]
    (List) The DNS records created by the batch post operation. Each record contains:
    result_puts Sequence[CisDnsRecordsBatchResultPut]
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    id String
    The provider-assigned unique ID for this managed resource.
    resultDeletes List<Property Map>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches List<Property Map>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts List<Property Map>
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts List<Property Map>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.

    Look up Existing CisDnsRecordsBatch Resource

    Get an existing CisDnsRecordsBatch 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?: CisDnsRecordsBatchState, opts?: CustomResourceOptions): CisDnsRecordsBatch
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cis_dns_records_batch_id: Optional[str] = None,
            cis_id: Optional[str] = None,
            deletes: Optional[Sequence[CisDnsRecordsBatchDeleteArgs]] = None,
            domain_id: Optional[str] = None,
            patches: Optional[Sequence[CisDnsRecordsBatchPatchArgs]] = None,
            posts: Optional[Sequence[CisDnsRecordsBatchPostArgs]] = None,
            puts: Optional[Sequence[CisDnsRecordsBatchPutArgs]] = None,
            result_deletes: Optional[Sequence[CisDnsRecordsBatchResultDeleteArgs]] = None,
            result_patches: Optional[Sequence[CisDnsRecordsBatchResultPatchArgs]] = None,
            result_posts: Optional[Sequence[CisDnsRecordsBatchResultPostArgs]] = None,
            result_puts: Optional[Sequence[CisDnsRecordsBatchResultPutArgs]] = None) -> CisDnsRecordsBatch
    func GetCisDnsRecordsBatch(ctx *Context, name string, id IDInput, state *CisDnsRecordsBatchState, opts ...ResourceOption) (*CisDnsRecordsBatch, error)
    public static CisDnsRecordsBatch Get(string name, Input<string> id, CisDnsRecordsBatchState? state, CustomResourceOptions? opts = null)
    public static CisDnsRecordsBatch get(String name, Output<String> id, CisDnsRecordsBatchState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisDnsRecordsBatch    get:      id: ${id}
    import {
      to = ibm_cisdnsrecordsbatch.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    CisId string
    The ID of the CIS service instance.
    Deletes List<CisDnsRecordsBatchDelete>
    A list of DNS record IDs to delete:
    DomainId string
    The ID of the domain to add the DNS records.
    Patches List<CisDnsRecordsBatchPatch>
    A list of DNS records to partially update. Only specified fields will be updated:
    Posts List<CisDnsRecordsBatchPost>
    A list of DNS records to create. Each record supports the following attributes:
    Puts List<CisDnsRecordsBatchPut>
    A list of DNS records to fully replace. Each record requires all fields and supports:
    ResultDeletes List<CisDnsRecordsBatchResultDelete>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    ResultPatches List<CisDnsRecordsBatchResultPatch>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    ResultPosts List<CisDnsRecordsBatchResultPost>
    (List) The DNS records created by the batch post operation. Each record contains:
    ResultPuts List<CisDnsRecordsBatchResultPut>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    CisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    CisId string
    The ID of the CIS service instance.
    Deletes []CisDnsRecordsBatchDeleteArgs
    A list of DNS record IDs to delete:
    DomainId string
    The ID of the domain to add the DNS records.
    Patches []CisDnsRecordsBatchPatchArgs
    A list of DNS records to partially update. Only specified fields will be updated:
    Posts []CisDnsRecordsBatchPostArgs
    A list of DNS records to create. Each record supports the following attributes:
    Puts []CisDnsRecordsBatchPutArgs
    A list of DNS records to fully replace. Each record requires all fields and supports:
    ResultDeletes []CisDnsRecordsBatchResultDeleteArgs
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    ResultPatches []CisDnsRecordsBatchResultPatchArgs
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    ResultPosts []CisDnsRecordsBatchResultPostArgs
    (List) The DNS records created by the batch post operation. Each record contains:
    ResultPuts []CisDnsRecordsBatchResultPutArgs
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    cis_dns_records_batch_id string
    (String) The unique identifier of the DNS record.
    cis_id string
    The ID of the CIS service instance.
    deletes list(object)
    A list of DNS record IDs to delete:
    domain_id string
    The ID of the domain to add the DNS records.
    patches list(object)
    A list of DNS records to partially update. Only specified fields will be updated:
    posts list(object)
    A list of DNS records to create. Each record supports the following attributes:
    puts list(object)
    A list of DNS records to fully replace. Each record requires all fields and supports:
    result_deletes list(object)
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    result_patches list(object)
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    result_posts list(object)
    (List) The DNS records created by the batch post operation. Each record contains:
    result_puts list(object)
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    cisDnsRecordsBatchId String
    (String) The unique identifier of the DNS record.
    cisId String
    The ID of the CIS service instance.
    deletes List<CisDnsRecordsBatchDelete>
    A list of DNS record IDs to delete:
    domainId String
    The ID of the domain to add the DNS records.
    patches List<CisDnsRecordsBatchPatch>
    A list of DNS records to partially update. Only specified fields will be updated:
    posts List<CisDnsRecordsBatchPost>
    A list of DNS records to create. Each record supports the following attributes:
    puts List<CisDnsRecordsBatchPut>
    A list of DNS records to fully replace. Each record requires all fields and supports:
    resultDeletes List<CisDnsRecordsBatchResultDelete>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches List<CisDnsRecordsBatchResultPatch>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts List<CisDnsRecordsBatchResultPost>
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts List<CisDnsRecordsBatchResultPut>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    cisDnsRecordsBatchId string
    (String) The unique identifier of the DNS record.
    cisId string
    The ID of the CIS service instance.
    deletes CisDnsRecordsBatchDelete[]
    A list of DNS record IDs to delete:
    domainId string
    The ID of the domain to add the DNS records.
    patches CisDnsRecordsBatchPatch[]
    A list of DNS records to partially update. Only specified fields will be updated:
    posts CisDnsRecordsBatchPost[]
    A list of DNS records to create. Each record supports the following attributes:
    puts CisDnsRecordsBatchPut[]
    A list of DNS records to fully replace. Each record requires all fields and supports:
    resultDeletes CisDnsRecordsBatchResultDelete[]
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches CisDnsRecordsBatchResultPatch[]
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts CisDnsRecordsBatchResultPost[]
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts CisDnsRecordsBatchResultPut[]
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    cis_dns_records_batch_id str
    (String) The unique identifier of the DNS record.
    cis_id str
    The ID of the CIS service instance.
    deletes Sequence[CisDnsRecordsBatchDeleteArgs]
    A list of DNS record IDs to delete:
    domain_id str
    The ID of the domain to add the DNS records.
    patches Sequence[CisDnsRecordsBatchPatchArgs]
    A list of DNS records to partially update. Only specified fields will be updated:
    posts Sequence[CisDnsRecordsBatchPostArgs]
    A list of DNS records to create. Each record supports the following attributes:
    puts Sequence[CisDnsRecordsBatchPutArgs]
    A list of DNS records to fully replace. Each record requires all fields and supports:
    result_deletes Sequence[CisDnsRecordsBatchResultDeleteArgs]
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    result_patches Sequence[CisDnsRecordsBatchResultPatchArgs]
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    result_posts Sequence[CisDnsRecordsBatchResultPostArgs]
    (List) The DNS records created by the batch post operation. Each record contains:
    result_puts Sequence[CisDnsRecordsBatchResultPutArgs]
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.
    cisDnsRecordsBatchId String
    (String) The unique identifier of the DNS record.
    cisId String
    The ID of the CIS service instance.
    deletes List<Property Map>
    A list of DNS record IDs to delete:
    domainId String
    The ID of the domain to add the DNS records.
    patches List<Property Map>
    A list of DNS records to partially update. Only specified fields will be updated:
    posts List<Property Map>
    A list of DNS records to create. Each record supports the following attributes:
    puts List<Property Map>
    A list of DNS records to fully replace. Each record requires all fields and supports:
    resultDeletes List<Property Map>
    (List) The DNS records removed by the batch delete operation. Contains the same attributes as result_posts.
    resultPatches List<Property Map>
    (List) The DNS records updated by the batch patch operation. Contains the same attributes as result_posts.
    resultPosts List<Property Map>
    (List) The DNS records created by the batch post operation. Each record contains:
    resultPuts List<Property Map>
    (List) The DNS records replaced by the batch put operation. Contains the same attributes as result_posts.

    Supporting Types

    CisDnsRecordsBatchDelete, CisDnsRecordsBatchDeleteArgs

    Id string
    The ID of the DNS record to delete.
    Id string
    The ID of the DNS record to delete.
    id string
    The ID of the DNS record to delete.
    id String
    The ID of the DNS record to delete.
    id string
    The ID of the DNS record to delete.
    id str
    The ID of the DNS record to delete.
    id String
    The ID of the DNS record to delete.

    CisDnsRecordsBatchPatch, CisDnsRecordsBatchPatchArgs

    Content string
    The value of the DNS record.
    Data Dictionary<string, string>
    Additional data for the DNS record.
    Id string
    The ID of the DNS record to update.
    Name string
    The name of the DNS record.
    Priority double
    The priority of the record.
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl double
    The TTL of the DNS record in seconds.
    Type string
    The type of the DNS record.
    Content string
    The value of the DNS record.
    Data map[string]string
    Additional data for the DNS record.
    Id string
    The ID of the DNS record to update.
    Name string
    The name of the DNS record.
    Priority float64
    The priority of the record.
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl float64
    The TTL of the DNS record in seconds.
    Type string
    The type of the DNS record.
    content string
    The value of the DNS record.
    data map(string)
    Additional data for the DNS record.
    id string
    The ID of the DNS record to update.
    name string
    The name of the DNS record.
    priority number
    The priority of the record.
    proxied bool
    Whether the record is proxied through CIS.
    ttl number
    The TTL of the DNS record in seconds.
    type string
    The type of the DNS record.
    content String
    The value of the DNS record.
    data Map<String,String>
    Additional data for the DNS record.
    id String
    The ID of the DNS record to update.
    name String
    The name of the DNS record.
    priority Double
    The priority of the record.
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Double
    The TTL of the DNS record in seconds.
    type String
    The type of the DNS record.
    content string
    The value of the DNS record.
    data {[key: string]: string}
    Additional data for the DNS record.
    id string
    The ID of the DNS record to update.
    name string
    The name of the DNS record.
    priority number
    The priority of the record.
    proxied boolean
    Whether the record is proxied through CIS.
    ttl number
    The TTL of the DNS record in seconds.
    type string
    The type of the DNS record.
    content str
    The value of the DNS record.
    data Mapping[str, str]
    Additional data for the DNS record.
    id str
    The ID of the DNS record to update.
    name str
    The name of the DNS record.
    priority float
    The priority of the record.
    proxied bool
    Whether the record is proxied through CIS.
    ttl float
    The TTL of the DNS record in seconds.
    type str
    The type of the DNS record.
    content String
    The value of the DNS record.
    data Map<String>
    Additional data for the DNS record.
    id String
    The ID of the DNS record to update.
    name String
    The name of the DNS record.
    priority Number
    The priority of the record.
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Number
    The TTL of the DNS record in seconds.
    type String
    The type of the DNS record.

    CisDnsRecordsBatchPost, CisDnsRecordsBatchPostArgs

    Content string
    The value of the DNS record.
    Data Dictionary<string, string>
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    Id string
    (String) The unique identifier of the DNS record.
    Name string
    The name of the DNS record.
    Priority double
    The priority of the record (for MX and SRV records).
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl double
    The TTL (Time to Live) of the DNS record in seconds.
    Type string
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    Content string
    The value of the DNS record.
    Data map[string]string
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    Id string
    (String) The unique identifier of the DNS record.
    Name string
    The name of the DNS record.
    Priority float64
    The priority of the record (for MX and SRV records).
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl float64
    The TTL (Time to Live) of the DNS record in seconds.
    Type string
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    content string
    The value of the DNS record.
    data map(string)
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    id string
    (String) The unique identifier of the DNS record.
    name string
    The name of the DNS record.
    priority number
    The priority of the record (for MX and SRV records).
    proxied bool
    Whether the record is proxied through CIS.
    ttl number
    The TTL (Time to Live) of the DNS record in seconds.
    type string
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    content String
    The value of the DNS record.
    data Map<String,String>
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    id String
    (String) The unique identifier of the DNS record.
    name String
    The name of the DNS record.
    priority Double
    The priority of the record (for MX and SRV records).
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Double
    The TTL (Time to Live) of the DNS record in seconds.
    type String
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    content string
    The value of the DNS record.
    data {[key: string]: string}
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    id string
    (String) The unique identifier of the DNS record.
    name string
    The name of the DNS record.
    priority number
    The priority of the record (for MX and SRV records).
    proxied boolean
    Whether the record is proxied through CIS.
    ttl number
    The TTL (Time to Live) of the DNS record in seconds.
    type string
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    content str
    The value of the DNS record.
    data Mapping[str, str]
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    id str
    (String) The unique identifier of the DNS record.
    name str
    The name of the DNS record.
    priority float
    The priority of the record (for MX and SRV records).
    proxied bool
    Whether the record is proxied through CIS.
    ttl float
    The TTL (Time to Live) of the DNS record in seconds.
    type str
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).
    content String
    The value of the DNS record.
    data Map<String>
    Additional data for the DNS record (for SRV, LOC, and CAA records).
    id String
    (String) The unique identifier of the DNS record.
    name String
    The name of the DNS record.
    priority Number
    The priority of the record (for MX and SRV records).
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Number
    The TTL (Time to Live) of the DNS record in seconds.
    type String
    The type of the DNS record (e.g., A, AAAA, CNAME, TXT, MX, etc.).

    CisDnsRecordsBatchPut, CisDnsRecordsBatchPutArgs

    Content string
    The value of the DNS record.
    Data Dictionary<string, string>
    Additional data for the DNS record.
    Id string
    The ID of the DNS record to replace.
    Name string
    The name of the DNS record.
    Priority double
    The priority of the record.
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl double
    The TTL of the DNS record in seconds.
    Type string
    The type of the DNS record.
    Content string
    The value of the DNS record.
    Data map[string]string
    Additional data for the DNS record.
    Id string
    The ID of the DNS record to replace.
    Name string
    The name of the DNS record.
    Priority float64
    The priority of the record.
    Proxied bool
    Whether the record is proxied through CIS.
    Ttl float64
    The TTL of the DNS record in seconds.
    Type string
    The type of the DNS record.
    content string
    The value of the DNS record.
    data map(string)
    Additional data for the DNS record.
    id string
    The ID of the DNS record to replace.
    name string
    The name of the DNS record.
    priority number
    The priority of the record.
    proxied bool
    Whether the record is proxied through CIS.
    ttl number
    The TTL of the DNS record in seconds.
    type string
    The type of the DNS record.
    content String
    The value of the DNS record.
    data Map<String,String>
    Additional data for the DNS record.
    id String
    The ID of the DNS record to replace.
    name String
    The name of the DNS record.
    priority Double
    The priority of the record.
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Double
    The TTL of the DNS record in seconds.
    type String
    The type of the DNS record.
    content string
    The value of the DNS record.
    data {[key: string]: string}
    Additional data for the DNS record.
    id string
    The ID of the DNS record to replace.
    name string
    The name of the DNS record.
    priority number
    The priority of the record.
    proxied boolean
    Whether the record is proxied through CIS.
    ttl number
    The TTL of the DNS record in seconds.
    type string
    The type of the DNS record.
    content str
    The value of the DNS record.
    data Mapping[str, str]
    Additional data for the DNS record.
    id str
    The ID of the DNS record to replace.
    name str
    The name of the DNS record.
    priority float
    The priority of the record.
    proxied bool
    Whether the record is proxied through CIS.
    ttl float
    The TTL of the DNS record in seconds.
    type str
    The type of the DNS record.
    content String
    The value of the DNS record.
    data Map<String>
    Additional data for the DNS record.
    id String
    The ID of the DNS record to replace.
    name String
    The name of the DNS record.
    priority Number
    The priority of the record.
    proxied Boolean
    Whether the record is proxied through CIS.
    ttl Number
    The TTL of the DNS record in seconds.
    type String
    The type of the DNS record.

    CisDnsRecordsBatchResultDelete, CisDnsRecordsBatchResultDeleteArgs

    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl double
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl float64
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    created_on string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modified_on string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Double
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    createdOn string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modifiedOn string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable boolean
    (Boolean) Whether the record can be proxied.
    proxied boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content str
    (String) The value of the DNS record.
    created_on str
    (String) The timestamp when the record was created.
    id str
    (String) The unique identifier of the DNS record.
    modified_on str
    (String) The timestamp when the record was last modified.
    name str
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl float
    (Integer) The TTL of the DNS record.
    type str
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Number
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.

    CisDnsRecordsBatchResultPatch, CisDnsRecordsBatchResultPatchArgs

    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl double
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl float64
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    created_on string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modified_on string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Double
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    createdOn string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modifiedOn string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable boolean
    (Boolean) Whether the record can be proxied.
    proxied boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content str
    (String) The value of the DNS record.
    created_on str
    (String) The timestamp when the record was created.
    id str
    (String) The unique identifier of the DNS record.
    modified_on str
    (String) The timestamp when the record was last modified.
    name str
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl float
    (Integer) The TTL of the DNS record.
    type str
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Number
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.

    CisDnsRecordsBatchResultPost, CisDnsRecordsBatchResultPostArgs

    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl double
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl float64
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    created_on string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modified_on string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Double
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    createdOn string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modifiedOn string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable boolean
    (Boolean) Whether the record can be proxied.
    proxied boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content str
    (String) The value of the DNS record.
    created_on str
    (String) The timestamp when the record was created.
    id str
    (String) The unique identifier of the DNS record.
    modified_on str
    (String) The timestamp when the record was last modified.
    name str
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl float
    (Integer) The TTL of the DNS record.
    type str
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Number
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.

    CisDnsRecordsBatchResultPut, CisDnsRecordsBatchResultPutArgs

    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl double
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    Content string
    (String) The value of the DNS record.
    CreatedOn string
    (String) The timestamp when the record was created.
    Id string
    (String) The unique identifier of the DNS record.
    ModifiedOn string
    (String) The timestamp when the record was last modified.
    Name string
    (String) The name of the DNS record.
    Proxiable bool
    (Boolean) Whether the record can be proxied.
    Proxied bool
    (Boolean) Whether the record is proxied through CIS.
    Ttl float64
    (Integer) The TTL of the DNS record.
    Type string
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    created_on string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modified_on string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Double
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.
    content string
    (String) The value of the DNS record.
    createdOn string
    (String) The timestamp when the record was created.
    id string
    (String) The unique identifier of the DNS record.
    modifiedOn string
    (String) The timestamp when the record was last modified.
    name string
    (String) The name of the DNS record.
    proxiable boolean
    (Boolean) Whether the record can be proxied.
    proxied boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl number
    (Integer) The TTL of the DNS record.
    type string
    (String) The type of the DNS record.
    content str
    (String) The value of the DNS record.
    created_on str
    (String) The timestamp when the record was created.
    id str
    (String) The unique identifier of the DNS record.
    modified_on str
    (String) The timestamp when the record was last modified.
    name str
    (String) The name of the DNS record.
    proxiable bool
    (Boolean) Whether the record can be proxied.
    proxied bool
    (Boolean) Whether the record is proxied through CIS.
    ttl float
    (Integer) The TTL of the DNS record.
    type str
    (String) The type of the DNS record.
    content String
    (String) The value of the DNS record.
    createdOn String
    (String) The timestamp when the record was created.
    id String
    (String) The unique identifier of the DNS record.
    modifiedOn String
    (String) The timestamp when the record was last modified.
    name String
    (String) The name of the DNS record.
    proxiable Boolean
    (Boolean) Whether the record can be proxied.
    proxied Boolean
    (Boolean) Whether the record is proxied through CIS.
    ttl Number
    (Integer) The TTL of the DNS record.
    type String
    (String) The type of the DNS record.

    Import

    The ibm_cis_dns_records_batch resource does not support import as it is designed for batch operations rather than managing individual record state.

    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.
    Viewing docs for ibm 2.2.2
    published on Wednesday, May 27, 2026 by ibm-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial