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

ibm.DnsGlb

Explore with Pulumi AI

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

    Provides a private DNS Global Load Balancer (GLB) resource. This allows DNS GLB to create, update, and delete. For more information, see Working with GLBs.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testPdnsGlb = new ibm.DnsGlb("testPdnsGlb", {
        instanceId: ibm_resource_instance.test_pdns_instance.guid,
        zoneId: ibm_dns_zone.test_pdns_glb_zone.zone_id,
        description: "new glb",
        ttl: 120,
        enabled: true,
        fallbackPool: ibm_dns_glb_pool.test_pdns_glb_pool.pool_id,
        defaultPools: [ibm_dns_glb_pool.test_pdns_glb_pool.pool_id],
        azPools: [{
            availabilityZone: "us-south-1",
            pools: [ibm_dns_glb_pool.test_pdns_glb_pool.pool_id],
        }],
    }, {
        dependsOn: [ibm_dns_glb_pool.test_pdns_glb_pool],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_pdns_glb = ibm.DnsGlb("testPdnsGlb",
        instance_id=ibm_resource_instance["test_pdns_instance"]["guid"],
        zone_id=ibm_dns_zone["test_pdns_glb_zone"]["zone_id"],
        description="new glb",
        ttl=120,
        enabled=True,
        fallback_pool=ibm_dns_glb_pool["test_pdns_glb_pool"]["pool_id"],
        default_pools=[ibm_dns_glb_pool["test_pdns_glb_pool"]["pool_id"]],
        az_pools=[{
            "availability_zone": "us-south-1",
            "pools": [ibm_dns_glb_pool["test_pdns_glb_pool"]["pool_id"]],
        }],
        opts = pulumi.ResourceOptions(depends_on=[ibm_dns_glb_pool["test_pdns_glb_pool"]]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewDnsGlb(ctx, "testPdnsGlb", &ibm.DnsGlbArgs{
    			InstanceId:   pulumi.Any(ibm_resource_instance.Test_pdns_instance.Guid),
    			ZoneId:       pulumi.Any(ibm_dns_zone.Test_pdns_glb_zone.Zone_id),
    			Description:  pulumi.String("new glb"),
    			Ttl:          pulumi.Float64(120),
    			Enabled:      pulumi.Bool(true),
    			FallbackPool: pulumi.Any(ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id),
    			DefaultPools: pulumi.StringArray{
    				ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id,
    			},
    			AzPools: ibm.DnsGlbAzPoolArray{
    				&ibm.DnsGlbAzPoolArgs{
    					AvailabilityZone: pulumi.String("us-south-1"),
    					Pools: pulumi.StringArray{
    						ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id,
    					},
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			ibm_dns_glb_pool.Test_pdns_glb_pool,
    		}))
    		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 testPdnsGlb = new Ibm.DnsGlb("testPdnsGlb", new()
        {
            InstanceId = ibm_resource_instance.Test_pdns_instance.Guid,
            ZoneId = ibm_dns_zone.Test_pdns_glb_zone.Zone_id,
            Description = "new glb",
            Ttl = 120,
            Enabled = true,
            FallbackPool = ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id,
            DefaultPools = new[]
            {
                ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id,
            },
            AzPools = new[]
            {
                new Ibm.Inputs.DnsGlbAzPoolArgs
                {
                    AvailabilityZone = "us-south-1",
                    Pools = new[]
                    {
                        ibm_dns_glb_pool.Test_pdns_glb_pool.Pool_id,
                    },
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                ibm_dns_glb_pool.Test_pdns_glb_pool,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.DnsGlb;
    import com.pulumi.ibm.DnsGlbArgs;
    import com.pulumi.ibm.inputs.DnsGlbAzPoolArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 testPdnsGlb = new DnsGlb("testPdnsGlb", DnsGlbArgs.builder()
                .instanceId(ibm_resource_instance.test_pdns_instance().guid())
                .zoneId(ibm_dns_zone.test_pdns_glb_zone().zone_id())
                .description("new glb")
                .ttl(120)
                .enabled(true)
                .fallbackPool(ibm_dns_glb_pool.test_pdns_glb_pool().pool_id())
                .defaultPools(ibm_dns_glb_pool.test_pdns_glb_pool().pool_id())
                .azPools(DnsGlbAzPoolArgs.builder()
                    .availabilityZone("us-south-1")
                    .pools(ibm_dns_glb_pool.test_pdns_glb_pool().pool_id())
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(ibm_dns_glb_pool.test_pdns_glb_pool())
                    .build());
    
        }
    }
    
    resources:
      testPdnsGlb:
        type: ibm:DnsGlb
        properties:
          instanceId: ${ibm_resource_instance.test_pdns_instance.guid}
          zoneId: ${ibm_dns_zone.test_pdns_glb_zone.zone_id}
          description: new glb
          ttl: 120
          enabled: true
          fallbackPool: ${ibm_dns_glb_pool.test_pdns_glb_pool.pool_id}
          defaultPools:
            - ${ibm_dns_glb_pool.test_pdns_glb_pool.pool_id}
          azPools:
            - availabilityZone: us-south-1
              pools:
                - ${ibm_dns_glb_pool.test_pdns_glb_pool.pool_id}
        options:
          dependsOn:
            - ${ibm_dns_glb_pool.test_pdns_glb_pool}
    

    Create DnsGlb Resource

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

    Constructor syntax

    new DnsGlb(name: string, args: DnsGlbArgs, opts?: CustomResourceOptions);
    @overload
    def DnsGlb(resource_name: str,
               args: DnsGlbArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DnsGlb(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               default_pools: Optional[Sequence[str]] = None,
               fallback_pool: Optional[str] = None,
               instance_id: Optional[str] = None,
               zone_id: Optional[str] = None,
               az_pools: Optional[Sequence[DnsGlbAzPoolArgs]] = None,
               description: Optional[str] = None,
               dns_glb_id: Optional[str] = None,
               enabled: Optional[bool] = None,
               name: Optional[str] = None,
               timeouts: Optional[DnsGlbTimeoutsArgs] = None,
               ttl: Optional[float] = None)
    func NewDnsGlb(ctx *Context, name string, args DnsGlbArgs, opts ...ResourceOption) (*DnsGlb, error)
    public DnsGlb(string name, DnsGlbArgs args, CustomResourceOptions? opts = null)
    public DnsGlb(String name, DnsGlbArgs args)
    public DnsGlb(String name, DnsGlbArgs args, CustomResourceOptions options)
    
    type: ibm:DnsGlb
    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 DnsGlbArgs
    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 DnsGlbArgs
    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 DnsGlbArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DnsGlbArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DnsGlbArgs
    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 dnsGlbResource = new Ibm.DnsGlb("dnsGlbResource", new()
    {
        DefaultPools = new[]
        {
            "string",
        },
        FallbackPool = "string",
        InstanceId = "string",
        ZoneId = "string",
        AzPools = new[]
        {
            new Ibm.Inputs.DnsGlbAzPoolArgs
            {
                AvailabilityZone = "string",
                Pools = new[]
                {
                    "string",
                },
            },
        },
        Description = "string",
        DnsGlbId = "string",
        Enabled = false,
        Name = "string",
        Timeouts = new Ibm.Inputs.DnsGlbTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Ttl = 0,
    });
    
    example, err := ibm.NewDnsGlb(ctx, "dnsGlbResource", &ibm.DnsGlbArgs{
    	DefaultPools: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	FallbackPool: pulumi.String("string"),
    	InstanceId:   pulumi.String("string"),
    	ZoneId:       pulumi.String("string"),
    	AzPools: ibm.DnsGlbAzPoolArray{
    		&ibm.DnsGlbAzPoolArgs{
    			AvailabilityZone: pulumi.String("string"),
    			Pools: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	DnsGlbId:    pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	Timeouts: &ibm.DnsGlbTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Ttl: pulumi.Float64(0),
    })
    
    var dnsGlbResource = new DnsGlb("dnsGlbResource", DnsGlbArgs.builder()
        .defaultPools("string")
        .fallbackPool("string")
        .instanceId("string")
        .zoneId("string")
        .azPools(DnsGlbAzPoolArgs.builder()
            .availabilityZone("string")
            .pools("string")
            .build())
        .description("string")
        .dnsGlbId("string")
        .enabled(false)
        .name("string")
        .timeouts(DnsGlbTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .ttl(0)
        .build());
    
    dns_glb_resource = ibm.DnsGlb("dnsGlbResource",
        default_pools=["string"],
        fallback_pool="string",
        instance_id="string",
        zone_id="string",
        az_pools=[{
            "availability_zone": "string",
            "pools": ["string"],
        }],
        description="string",
        dns_glb_id="string",
        enabled=False,
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        ttl=0)
    
    const dnsGlbResource = new ibm.DnsGlb("dnsGlbResource", {
        defaultPools: ["string"],
        fallbackPool: "string",
        instanceId: "string",
        zoneId: "string",
        azPools: [{
            availabilityZone: "string",
            pools: ["string"],
        }],
        description: "string",
        dnsGlbId: "string",
        enabled: false,
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        ttl: 0,
    });
    
    type: ibm:DnsGlb
    properties:
        azPools:
            - availabilityZone: string
              pools:
                - string
        defaultPools:
            - string
        description: string
        dnsGlbId: string
        enabled: false
        fallbackPool: string
        instanceId: string
        name: string
        timeouts:
            create: string
            delete: string
            update: string
        ttl: 0
        zoneId: string
    

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

    DefaultPools List<string>
    TA list of pool IDs ordered by their failover priority.
    FallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    InstanceId string
    The GUID of the private DNS.
    ZoneId string
    The ID of the private DNS Zone.
    AzPools List<DnsGlbAzPool>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    Description string
    Descriptive text of the Load Balancer.
    DnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    Enabled bool
    Whether the load balancer is enabled.
    Name string
    The name of the Load Balancer.
    Timeouts DnsGlbTimeouts
    Ttl double
    The time to live (TTL) in seconds.
    DefaultPools []string
    TA list of pool IDs ordered by their failover priority.
    FallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    InstanceId string
    The GUID of the private DNS.
    ZoneId string
    The ID of the private DNS Zone.
    AzPools []DnsGlbAzPoolArgs

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    Description string
    Descriptive text of the Load Balancer.
    DnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    Enabled bool
    Whether the load balancer is enabled.
    Name string
    The name of the Load Balancer.
    Timeouts DnsGlbTimeoutsArgs
    Ttl float64
    The time to live (TTL) in seconds.
    defaultPools List<String>
    TA list of pool IDs ordered by their failover priority.
    fallbackPool String
    The pool ID to use when all other pools are detected as unhealthy.
    instanceId String
    The GUID of the private DNS.
    zoneId String
    The ID of the private DNS Zone.
    azPools List<DnsGlbAzPool>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    description String
    Descriptive text of the Load Balancer.
    dnsGlbId String
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled Boolean
    Whether the load balancer is enabled.
    name String
    The name of the Load Balancer.
    timeouts DnsGlbTimeouts
    ttl Double
    The time to live (TTL) in seconds.
    defaultPools string[]
    TA list of pool IDs ordered by their failover priority.
    fallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    instanceId string
    The GUID of the private DNS.
    zoneId string
    The ID of the private DNS Zone.
    azPools DnsGlbAzPool[]

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    description string
    Descriptive text of the Load Balancer.
    dnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled boolean
    Whether the load balancer is enabled.
    name string
    The name of the Load Balancer.
    timeouts DnsGlbTimeouts
    ttl number
    The time to live (TTL) in seconds.
    default_pools Sequence[str]
    TA list of pool IDs ordered by their failover priority.
    fallback_pool str
    The pool ID to use when all other pools are detected as unhealthy.
    instance_id str
    The GUID of the private DNS.
    zone_id str
    The ID of the private DNS Zone.
    az_pools Sequence[DnsGlbAzPoolArgs]

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    description str
    Descriptive text of the Load Balancer.
    dns_glb_id str
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled bool
    Whether the load balancer is enabled.
    name str
    The name of the Load Balancer.
    timeouts DnsGlbTimeoutsArgs
    ttl float
    The time to live (TTL) in seconds.
    defaultPools List<String>
    TA list of pool IDs ordered by their failover priority.
    fallbackPool String
    The pool ID to use when all other pools are detected as unhealthy.
    instanceId String
    The GUID of the private DNS.
    zoneId String
    The ID of the private DNS Zone.
    azPools List<Property Map>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    description String
    Descriptive text of the Load Balancer.
    dnsGlbId String
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled Boolean
    Whether the load balancer is enabled.
    name String
    The name of the Load Balancer.
    timeouts Property Map
    ttl Number
    The time to live (TTL) in seconds.

    Outputs

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

    CreatedOn string
    (Timestamp) The time when the Load Balancer was created.
    GlbId string
    (String) The Load Balancer ID.
    Health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    CreatedOn string
    (Timestamp) The time when the Load Balancer was created.
    GlbId string
    (String) The Load Balancer ID.
    Health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    createdOn String
    (Timestamp) The time when the Load Balancer was created.
    glbId String
    (String) The Load Balancer ID.
    health String
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    (Timestamp) The time when the Load Balancer was modified.
    createdOn string
    (Timestamp) The time when the Load Balancer was created.
    glbId string
    (String) The Load Balancer ID.
    health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    created_on str
    (Timestamp) The time when the Load Balancer was created.
    glb_id str
    (String) The Load Balancer ID.
    health str
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_on str
    (Timestamp) The time when the Load Balancer was modified.
    createdOn String
    (Timestamp) The time when the Load Balancer was created.
    glbId String
    (String) The Load Balancer ID.
    health String
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    (Timestamp) The time when the Load Balancer was modified.

    Look up Existing DnsGlb Resource

    Get an existing DnsGlb 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?: DnsGlbState, opts?: CustomResourceOptions): DnsGlb
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            az_pools: Optional[Sequence[DnsGlbAzPoolArgs]] = None,
            created_on: Optional[str] = None,
            default_pools: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            dns_glb_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            fallback_pool: Optional[str] = None,
            glb_id: Optional[str] = None,
            health: Optional[str] = None,
            instance_id: Optional[str] = None,
            modified_on: Optional[str] = None,
            name: Optional[str] = None,
            timeouts: Optional[DnsGlbTimeoutsArgs] = None,
            ttl: Optional[float] = None,
            zone_id: Optional[str] = None) -> DnsGlb
    func GetDnsGlb(ctx *Context, name string, id IDInput, state *DnsGlbState, opts ...ResourceOption) (*DnsGlb, error)
    public static DnsGlb Get(string name, Input<string> id, DnsGlbState? state, CustomResourceOptions? opts = null)
    public static DnsGlb get(String name, Output<String> id, DnsGlbState state, CustomResourceOptions options)
    resources:  _:    type: ibm:DnsGlb    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:
    AzPools List<DnsGlbAzPool>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    CreatedOn string
    (Timestamp) The time when the Load Balancer was created.
    DefaultPools List<string>
    TA list of pool IDs ordered by their failover priority.
    Description string
    Descriptive text of the Load Balancer.
    DnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    Enabled bool
    Whether the load balancer is enabled.
    FallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    GlbId string
    (String) The Load Balancer ID.
    Health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    InstanceId string
    The GUID of the private DNS.
    ModifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    Name string
    The name of the Load Balancer.
    Timeouts DnsGlbTimeouts
    Ttl double
    The time to live (TTL) in seconds.
    ZoneId string
    The ID of the private DNS Zone.
    AzPools []DnsGlbAzPoolArgs

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    CreatedOn string
    (Timestamp) The time when the Load Balancer was created.
    DefaultPools []string
    TA list of pool IDs ordered by their failover priority.
    Description string
    Descriptive text of the Load Balancer.
    DnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    Enabled bool
    Whether the load balancer is enabled.
    FallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    GlbId string
    (String) The Load Balancer ID.
    Health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    InstanceId string
    The GUID of the private DNS.
    ModifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    Name string
    The name of the Load Balancer.
    Timeouts DnsGlbTimeoutsArgs
    Ttl float64
    The time to live (TTL) in seconds.
    ZoneId string
    The ID of the private DNS Zone.
    azPools List<DnsGlbAzPool>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    createdOn String
    (Timestamp) The time when the Load Balancer was created.
    defaultPools List<String>
    TA list of pool IDs ordered by their failover priority.
    description String
    Descriptive text of the Load Balancer.
    dnsGlbId String
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled Boolean
    Whether the load balancer is enabled.
    fallbackPool String
    The pool ID to use when all other pools are detected as unhealthy.
    glbId String
    (String) The Load Balancer ID.
    health String
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    instanceId String
    The GUID of the private DNS.
    modifiedOn String
    (Timestamp) The time when the Load Balancer was modified.
    name String
    The name of the Load Balancer.
    timeouts DnsGlbTimeouts
    ttl Double
    The time to live (TTL) in seconds.
    zoneId String
    The ID of the private DNS Zone.
    azPools DnsGlbAzPool[]

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    createdOn string
    (Timestamp) The time when the Load Balancer was created.
    defaultPools string[]
    TA list of pool IDs ordered by their failover priority.
    description string
    Descriptive text of the Load Balancer.
    dnsGlbId string
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled boolean
    Whether the load balancer is enabled.
    fallbackPool string
    The pool ID to use when all other pools are detected as unhealthy.
    glbId string
    (String) The Load Balancer ID.
    health string
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    instanceId string
    The GUID of the private DNS.
    modifiedOn string
    (Timestamp) The time when the Load Balancer was modified.
    name string
    The name of the Load Balancer.
    timeouts DnsGlbTimeouts
    ttl number
    The time to live (TTL) in seconds.
    zoneId string
    The ID of the private DNS Zone.
    az_pools Sequence[DnsGlbAzPoolArgs]

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    created_on str
    (Timestamp) The time when the Load Balancer was created.
    default_pools Sequence[str]
    TA list of pool IDs ordered by their failover priority.
    description str
    Descriptive text of the Load Balancer.
    dns_glb_id str
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled bool
    Whether the load balancer is enabled.
    fallback_pool str
    The pool ID to use when all other pools are detected as unhealthy.
    glb_id str
    (String) The Load Balancer ID.
    health str
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    instance_id str
    The GUID of the private DNS.
    modified_on str
    (Timestamp) The time when the Load Balancer was modified.
    name str
    The name of the Load Balancer.
    timeouts DnsGlbTimeoutsArgs
    ttl float
    The time to live (TTL) in seconds.
    zone_id str
    The ID of the private DNS Zone.
    azPools List<Property Map>

    Map availability zones to pool ID's.

    Nested scheme for az_pools:

    createdOn String
    (Timestamp) The time when the Load Balancer was created.
    defaultPools List<String>
    TA list of pool IDs ordered by their failover priority.
    description String
    Descriptive text of the Load Balancer.
    dnsGlbId String
    (String) The unique identifier of the DNS record. The ID is composed of <instance_id>/<zone_id>/<glb_id>.
    enabled Boolean
    Whether the load balancer is enabled.
    fallbackPool String
    The pool ID to use when all other pools are detected as unhealthy.
    glbId String
    (String) The Load Balancer ID.
    health String
    (String) Healthy state of the Load Balancer. Possible values are DOWN, UP, or DEGRADED.
    instanceId String
    The GUID of the private DNS.
    modifiedOn String
    (Timestamp) The time when the Load Balancer was modified.
    name String
    The name of the Load Balancer.
    timeouts Property Map
    ttl Number
    The time to live (TTL) in seconds.
    zoneId String
    The ID of the private DNS Zone.

    Supporting Types

    DnsGlbAzPool, DnsGlbAzPoolArgs

    AvailabilityZone string
    Availability of the zone.
    Pools List<string>
    List of Load Balancer pools.
    AvailabilityZone string
    Availability of the zone.
    Pools []string
    List of Load Balancer pools.
    availabilityZone String
    Availability of the zone.
    pools List<String>
    List of Load Balancer pools.
    availabilityZone string
    Availability of the zone.
    pools string[]
    List of Load Balancer pools.
    availability_zone str
    Availability of the zone.
    pools Sequence[str]
    List of Load Balancer pools.
    availabilityZone String
    Availability of the zone.
    pools List<String>
    List of Load Balancer pools.

    DnsGlbTimeouts, DnsGlbTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    The ibm_dns_glb can be imported by using private DNS instance ID, zone ID, and GLB ID.

    Example

    $ pulumi import ibm:index/dnsGlb:DnsGlb example 6ffda12064634723b079acdb018ef308/5ffda12064634723b079acdb018ef308/435da12064634723b079acdb018ef308
    

    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