ibm.DnsGlb
Explore with Pulumi AI
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:
- Default
Pools List<string> - TA list of pool IDs ordered by their failover priority.
- Fallback
Pool string - The pool ID to use when all other pools are detected as unhealthy.
- Instance
Id string - The GUID of the private DNS.
- Zone
Id string - The ID of the private DNS Zone.
- Az
Pools List<DnsGlb Az Pool> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- Description string
- Descriptive text of the Load Balancer.
- Dns
Glb stringId - (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
Dns
Glb Timeouts - Ttl double
- The time to live (TTL) in seconds.
- Default
Pools []string - TA list of pool IDs ordered by their failover priority.
- Fallback
Pool string - The pool ID to use when all other pools are detected as unhealthy.
- Instance
Id string - The GUID of the private DNS.
- Zone
Id string - The ID of the private DNS Zone.
- Az
Pools []DnsGlb Az Pool Args Map availability zones to pool ID's.
Nested scheme for
az_pools
:- Description string
- Descriptive text of the Load Balancer.
- Dns
Glb stringId - (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
Dns
Glb Timeouts Args - Ttl float64
- The time to live (TTL) in seconds.
- default
Pools List<String> - TA list of pool IDs ordered by their failover priority.
- fallback
Pool String - The pool ID to use when all other pools are detected as unhealthy.
- instance
Id String - The GUID of the private DNS.
- zone
Id String - The ID of the private DNS Zone.
- az
Pools List<DnsGlb Az Pool> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- description String
- Descriptive text of the Load Balancer.
- dns
Glb StringId - (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
Dns
Glb Timeouts - ttl Double
- The time to live (TTL) in seconds.
- default
Pools string[] - TA list of pool IDs ordered by their failover priority.
- fallback
Pool string - The pool ID to use when all other pools are detected as unhealthy.
- instance
Id string - The GUID of the private DNS.
- zone
Id string - The ID of the private DNS Zone.
- az
Pools DnsGlb Az Pool[] Map availability zones to pool ID's.
Nested scheme for
az_pools
:- description string
- Descriptive text of the Load Balancer.
- dns
Glb stringId - (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
Dns
Glb Timeouts - 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[DnsGlb Az Pool Args] Map availability zones to pool ID's.
Nested scheme for
az_pools
:- description str
- Descriptive text of the Load Balancer.
- dns_
glb_ strid - (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
Dns
Glb Timeouts Args - ttl float
- The time to live (TTL) in seconds.
- default
Pools List<String> - TA list of pool IDs ordered by their failover priority.
- fallback
Pool String - The pool ID to use when all other pools are detected as unhealthy.
- instance
Id String - The GUID of the private DNS.
- zone
Id String - The ID of the private DNS Zone.
- az
Pools List<Property Map> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- description String
- Descriptive text of the Load Balancer.
- dns
Glb StringId - (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:
- Created
On string - (Timestamp) The time when the Load Balancer was created.
- Glb
Id string - (String) The Load Balancer ID.
- Health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - (Timestamp) The time when the Load Balancer was modified.
- Created
On string - (Timestamp) The time when the Load Balancer was created.
- Glb
Id string - (String) The Load Balancer ID.
- Health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - (Timestamp) The time when the Load Balancer was modified.
- created
On String - (Timestamp) The time when the Load Balancer was created.
- glb
Id String - (String) The Load Balancer ID.
- health String
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - (Timestamp) The time when the Load Balancer was modified.
- created
On string - (Timestamp) The time when the Load Balancer was created.
- glb
Id string - (String) The Load Balancer ID.
- health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - id string
- The provider-assigned unique ID for this managed resource.
- modified
On 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
, orDEGRADED
. - id str
- The provider-assigned unique ID for this managed resource.
- modified_
on str - (Timestamp) The time when the Load Balancer was modified.
- created
On String - (Timestamp) The time when the Load Balancer was created.
- glb
Id String - (String) The Load Balancer ID.
- health String
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - id String
- The provider-assigned unique ID for this managed resource.
- modified
On 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.
- Az
Pools List<DnsGlb Az Pool> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- Created
On string - (Timestamp) The time when the Load Balancer was created.
- Default
Pools List<string> - TA list of pool IDs ordered by their failover priority.
- Description string
- Descriptive text of the Load Balancer.
- Dns
Glb stringId - (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 string - The pool ID to use when all other pools are detected as unhealthy.
- Glb
Id string - (String) The Load Balancer ID.
- Health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - Instance
Id string - The GUID of the private DNS.
- Modified
On string - (Timestamp) The time when the Load Balancer was modified.
- Name string
- The name of the Load Balancer.
- Timeouts
Dns
Glb Timeouts - Ttl double
- The time to live (TTL) in seconds.
- Zone
Id string - The ID of the private DNS Zone.
- Az
Pools []DnsGlb Az Pool Args Map availability zones to pool ID's.
Nested scheme for
az_pools
:- Created
On string - (Timestamp) The time when the Load Balancer was created.
- Default
Pools []string - TA list of pool IDs ordered by their failover priority.
- Description string
- Descriptive text of the Load Balancer.
- Dns
Glb stringId - (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 string - The pool ID to use when all other pools are detected as unhealthy.
- Glb
Id string - (String) The Load Balancer ID.
- Health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - Instance
Id string - The GUID of the private DNS.
- Modified
On string - (Timestamp) The time when the Load Balancer was modified.
- Name string
- The name of the Load Balancer.
- Timeouts
Dns
Glb Timeouts Args - Ttl float64
- The time to live (TTL) in seconds.
- Zone
Id string - The ID of the private DNS Zone.
- az
Pools List<DnsGlb Az Pool> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- created
On String - (Timestamp) The time when the Load Balancer was created.
- default
Pools List<String> - TA list of pool IDs ordered by their failover priority.
- description String
- Descriptive text of the Load Balancer.
- dns
Glb StringId - (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.
- fallback
Pool String - The pool ID to use when all other pools are detected as unhealthy.
- glb
Id String - (String) The Load Balancer ID.
- health String
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - instance
Id String - The GUID of the private DNS.
- modified
On String - (Timestamp) The time when the Load Balancer was modified.
- name String
- The name of the Load Balancer.
- timeouts
Dns
Glb Timeouts - ttl Double
- The time to live (TTL) in seconds.
- zone
Id String - The ID of the private DNS Zone.
- az
Pools DnsGlb Az Pool[] Map availability zones to pool ID's.
Nested scheme for
az_pools
:- created
On string - (Timestamp) The time when the Load Balancer was created.
- default
Pools string[] - TA list of pool IDs ordered by their failover priority.
- description string
- Descriptive text of the Load Balancer.
- dns
Glb stringId - (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.
- fallback
Pool string - The pool ID to use when all other pools are detected as unhealthy.
- glb
Id string - (String) The Load Balancer ID.
- health string
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - instance
Id string - The GUID of the private DNS.
- modified
On string - (Timestamp) The time when the Load Balancer was modified.
- name string
- The name of the Load Balancer.
- timeouts
Dns
Glb Timeouts - ttl number
- The time to live (TTL) in seconds.
- zone
Id string - The ID of the private DNS Zone.
- az_
pools Sequence[DnsGlb Az Pool Args] 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_ strid - (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
, orDEGRADED
. - 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
Dns
Glb Timeouts Args - ttl float
- The time to live (TTL) in seconds.
- zone_
id str - The ID of the private DNS Zone.
- az
Pools List<Property Map> Map availability zones to pool ID's.
Nested scheme for
az_pools
:- created
On String - (Timestamp) The time when the Load Balancer was created.
- default
Pools List<String> - TA list of pool IDs ordered by their failover priority.
- description String
- Descriptive text of the Load Balancer.
- dns
Glb StringId - (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.
- fallback
Pool String - The pool ID to use when all other pools are detected as unhealthy.
- glb
Id String - (String) The Load Balancer ID.
- health String
- (String) Healthy state of the Load Balancer. Possible values are
DOWN
,UP
, orDEGRADED
. - instance
Id String - The GUID of the private DNS.
- modified
On 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.
- zone
Id String - The ID of the private DNS Zone.
Supporting Types
DnsGlbAzPool, DnsGlbAzPoolArgs
- Availability
Zone string - Availability of the zone.
- Pools List<string>
- List of Load Balancer pools.
- Availability
Zone string - Availability of the zone.
- Pools []string
- List of Load Balancer pools.
- availability
Zone String - Availability of the zone.
- pools List<String>
- List of Load Balancer pools.
- availability
Zone 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.
- availability
Zone String - Availability of the zone.
- pools List<String>
- List of Load Balancer pools.
DnsGlbTimeouts, DnsGlbTimeoutsArgs
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.