1. Packages
  2. Infoblox Provider
  3. API Docs
  4. ARecord
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

infoblox.ARecord

Explore with Pulumi AI

infoblox logo
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

    # A-record Resource

    The infoblox.ARecord resource associates a domain name with an IPv4 address.

    The following list describes the parameters you can define in the resource block of the record:

    • fqdn: required, specifies the fully qualified domain name for which you want to assign the IP address to. Example: host43.zone12.org
    • network_view: optional, specifies the network view to use when allocating an IP address from a network dynamically. If a value is not specified, the name default is used for the network view. For static allocation, do not use this field. Example: networkview1
    • dns_view: optional, specifies the DNS view in which the zone exists. If a value is not specified, the name default is used for DNS view. Example: dns_view_1
    • ttl: optional, specifies the “time to live” value for the record. There is no default value for this parameter. If a value is not specified, then in NIOS, the value is inherited from the parent zone of the DNS record for this resource. A TTL value of 0 (zero) means caching should be disabled for this record. Example: 600
    • comment: optional, describes the record. Example: static record #1
    • ext_attrs: koptional, a set of NIOS extensible attributes that are attached to the record. Example: jsonencode({})
    • ip_addr: required only for static allocation, specifies the IPv4 address to associate with the A-record. Example: 91.84.20.6.
      • For allocating a static IP address, specify a valid IP address.
      • For allocating a dynamic IP address, configure the cidr field instead of ip_addr . Optionally, specify a network_view if you do not want to allocate it in the network view default.
    • cidr: required only for dynamic allocation, specifies the network from which to allocate an IP address when the ip_addr field is empty. The address is in CIDR format. For static allocation, use ip_addr instead of cidr. Example: 192.168.10.4/30.
    • filter_params: required only if ip_addr and cidr are not set, specifies the extensible attributes of the parent network that must be used as filters to retrieve the next available IP address for creating the record object. Example: jsonencode({"*Site": "Turkey"}).

    !> To use upper case letters in fqdn, infoblox recommends that you use lower() function. Example: lower("testEXAMPLE.zone1.com")

    Examples of an A-record Block

    import * as pulumi from "@pulumi/pulumi";
    import * as infoblox from "@pulumi/infoblox";
    
    // static A-record, minimal set of parameters
    const aRec1 = new infoblox.ARecord("aRec1", {
        fqdn: "static1.example1.org",
        ipAddr: "1.3.5.4",
    });
    // not necessarily from a network existing in NIOS DB
    // all the parameters for a static A-record
    const aRec2 = new infoblox.ARecord("aRec2", {
        fqdn: "static2.example4.org",
        ipAddr: "1.3.5.1",
        comment: "example static A-record a_rec2",
        dnsView: "nondefault_dnsview2",
        ttl: 120,
        extAttrs: JSON.stringify({
            Location: "65.8665701230204, -37.00791763398113",
        }),
    });
    // all the parameters for a dynamic A-record
    const aRec3 = new infoblox.ARecord("aRec3", {
        fqdn: "dynamic1.example2.org",
        cidr: infoblox_ipv4_network.net2.cidr,
        networkView: infoblox_ipv4_network.net2.network_view,
        comment: "example dynamic A-record a_rec3",
        dnsView: "nondefault_dnsview1",
        ttl: 0,
        extAttrs: JSON.stringify({}),
    });
    // dynamic A-record with filter_params
    const rec = new infoblox.ARecord("rec", {
        fqdn: "very-interesting-host.example.com",
        extAttrs: JSON.stringify({
            Location: "65.8665701230204, -37.00791763398113",
        }),
        filterParams: JSON.stringify({
            "*Site": "Turkey",
        }),
        comment: "A record",
    });
    
    import pulumi
    import json
    import pulumi_infoblox as infoblox
    
    # static A-record, minimal set of parameters
    a_rec1 = infoblox.ARecord("aRec1",
        fqdn="static1.example1.org",
        ip_addr="1.3.5.4")
    # not necessarily from a network existing in NIOS DB
    # all the parameters for a static A-record
    a_rec2 = infoblox.ARecord("aRec2",
        fqdn="static2.example4.org",
        ip_addr="1.3.5.1",
        comment="example static A-record a_rec2",
        dns_view="nondefault_dnsview2",
        ttl=120,
        ext_attrs=json.dumps({
            "Location": "65.8665701230204, -37.00791763398113",
        }))
    # all the parameters for a dynamic A-record
    a_rec3 = infoblox.ARecord("aRec3",
        fqdn="dynamic1.example2.org",
        cidr=infoblox_ipv4_network["net2"]["cidr"],
        network_view=infoblox_ipv4_network["net2"]["network_view"],
        comment="example dynamic A-record a_rec3",
        dns_view="nondefault_dnsview1",
        ttl=0,
        ext_attrs=json.dumps({}))
    # dynamic A-record with filter_params
    rec = infoblox.ARecord("rec",
        fqdn="very-interesting-host.example.com",
        ext_attrs=json.dumps({
            "Location": "65.8665701230204, -37.00791763398113",
        }),
        filter_params=json.dumps({
            "*Site": "Turkey",
        }),
        comment="A record")
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/infoblox/v2/infoblox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// static A-record, minimal set of parameters
    		_, err := infoblox.NewARecord(ctx, "aRec1", &infoblox.ARecordArgs{
    			Fqdn:   pulumi.String("static1.example1.org"),
    			IpAddr: pulumi.String("1.3.5.4"),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"Location": "65.8665701230204, -37.00791763398113",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		// all the parameters for a static A-record
    		_, err = infoblox.NewARecord(ctx, "aRec2", &infoblox.ARecordArgs{
    			Fqdn:     pulumi.String("static2.example4.org"),
    			IpAddr:   pulumi.String("1.3.5.1"),
    			Comment:  pulumi.String("example static A-record a_rec2"),
    			DnsView:  pulumi.String("nondefault_dnsview2"),
    			Ttl:      pulumi.Float64(120),
    			ExtAttrs: pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON1, err := json.Marshal(map[string]interface{}{})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		// all the parameters for a dynamic A-record
    		_, err = infoblox.NewARecord(ctx, "aRec3", &infoblox.ARecordArgs{
    			Fqdn:        pulumi.String("dynamic1.example2.org"),
    			Cidr:        pulumi.Any(infoblox_ipv4_network.Net2.Cidr),
    			NetworkView: pulumi.Any(infoblox_ipv4_network.Net2.Network_view),
    			Comment:     pulumi.String("example dynamic A-record a_rec3"),
    			DnsView:     pulumi.String("nondefault_dnsview1"),
    			Ttl:         pulumi.Float64(0),
    			ExtAttrs:    pulumi.String(json1),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON2, err := json.Marshal(map[string]interface{}{
    			"Location": "65.8665701230204, -37.00791763398113",
    		})
    		if err != nil {
    			return err
    		}
    		json2 := string(tmpJSON2)
    		tmpJSON3, err := json.Marshal(map[string]interface{}{
    			"*Site": "Turkey",
    		})
    		if err != nil {
    			return err
    		}
    		json3 := string(tmpJSON3)
    		// dynamic A-record with filter_params
    		_, err = infoblox.NewARecord(ctx, "rec", &infoblox.ARecordArgs{
    			Fqdn:         pulumi.String("very-interesting-host.example.com"),
    			ExtAttrs:     pulumi.String(json2),
    			FilterParams: pulumi.String(json3),
    			Comment:      pulumi.String("A record"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Infoblox = Pulumi.Infoblox;
    
    return await Deployment.RunAsync(() => 
    {
        // static A-record, minimal set of parameters
        var aRec1 = new Infoblox.ARecord("aRec1", new()
        {
            Fqdn = "static1.example1.org",
            IpAddr = "1.3.5.4",
        });
    
        // not necessarily from a network existing in NIOS DB
        // all the parameters for a static A-record
        var aRec2 = new Infoblox.ARecord("aRec2", new()
        {
            Fqdn = "static2.example4.org",
            IpAddr = "1.3.5.1",
            Comment = "example static A-record a_rec2",
            DnsView = "nondefault_dnsview2",
            Ttl = 120,
            ExtAttrs = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Location"] = "65.8665701230204, -37.00791763398113",
            }),
        });
    
        // all the parameters for a dynamic A-record
        var aRec3 = new Infoblox.ARecord("aRec3", new()
        {
            Fqdn = "dynamic1.example2.org",
            Cidr = infoblox_ipv4_network.Net2.Cidr,
            NetworkView = infoblox_ipv4_network.Net2.Network_view,
            Comment = "example dynamic A-record a_rec3",
            DnsView = "nondefault_dnsview1",
            Ttl = 0,
            ExtAttrs = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
            }),
        });
    
        // dynamic A-record with filter_params
        var rec = new Infoblox.ARecord("rec", new()
        {
            Fqdn = "very-interesting-host.example.com",
            ExtAttrs = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Location"] = "65.8665701230204, -37.00791763398113",
            }),
            FilterParams = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["*Site"] = "Turkey",
            }),
            Comment = "A record",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.infoblox.ARecord;
    import com.pulumi.infoblox.ARecordArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            // static A-record, minimal set of parameters
            var aRec1 = new ARecord("aRec1", ARecordArgs.builder()
                .fqdn("static1.example1.org")
                .ipAddr("1.3.5.4")
                .build());
    
            // not necessarily from a network existing in NIOS DB
            // all the parameters for a static A-record
            var aRec2 = new ARecord("aRec2", ARecordArgs.builder()
                .fqdn("static2.example4.org")
                .ipAddr("1.3.5.1")
                .comment("example static A-record a_rec2")
                .dnsView("nondefault_dnsview2")
                .ttl(120)
                .extAttrs(serializeJson(
                    jsonObject(
                        jsonProperty("Location", "65.8665701230204, -37.00791763398113")
                    )))
                .build());
    
            // all the parameters for a dynamic A-record
            var aRec3 = new ARecord("aRec3", ARecordArgs.builder()
                .fqdn("dynamic1.example2.org")
                .cidr(infoblox_ipv4_network.net2().cidr())
                .networkView(infoblox_ipv4_network.net2().network_view())
                .comment("example dynamic A-record a_rec3")
                .dnsView("nondefault_dnsview1")
                .ttl(0)
                .extAttrs(serializeJson(
                    jsonObject(
    
                    )))
                .build());
    
            // dynamic A-record with filter_params
            var rec = new ARecord("rec", ARecordArgs.builder()
                .fqdn("very-interesting-host.example.com")
                .extAttrs(serializeJson(
                    jsonObject(
                        jsonProperty("Location", "65.8665701230204, -37.00791763398113")
                    )))
                .filterParams(serializeJson(
                    jsonObject(
                        jsonProperty("*Site", "Turkey")
                    )))
                .comment("A record")
                .build());
    
        }
    }
    
    resources:
      # static A-record, minimal set of parameters
      aRec1:
        type: infoblox:ARecord
        properties:
          fqdn: static1.example1.org
          ipAddr: 1.3.5.4
      # all the parameters for a static A-record
      aRec2:
        type: infoblox:ARecord
        properties:
          fqdn: static2.example4.org
          ipAddr: 1.3.5.1
          comment: example static A-record a_rec2
          dnsView: nondefault_dnsview2
          ttl: 120
          # 120s
          extAttrs:
            fn::toJSON:
              Location: 65.8665701230204, -37.00791763398113
      # all the parameters for a dynamic A-record
      aRec3:
        type: infoblox:ARecord
        properties:
          fqdn: dynamic1.example2.org
          cidr: ${infoblox_ipv4_network.net2.cidr}
          # the network  must exist, you may use the example for infoblox_ipv4_network resource.
          networkView: ${infoblox_ipv4_network.net2.network_view}
          # not necessarily in the same network view as the DNS view resides in.
          comment: example dynamic A-record a_rec3
          dnsView: nondefault_dnsview1
          ttl: 0
          # 0 = disable caching
          extAttrs:
            fn::toJSON: {}
      # dynamic A-record with filter_params
      rec:
        type: infoblox:ARecord
        properties:
          fqdn: very-interesting-host.example.com
          extAttrs:
            fn::toJSON:
              Location: 65.8665701230204, -37.00791763398113
          filterParams:
            fn::toJSON:
              '*Site': Turkey
          comment: A record
    

    Create ARecord Resource

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

    Constructor syntax

    new ARecord(name: string, args: ARecordArgs, opts?: CustomResourceOptions);
    @overload
    def ARecord(resource_name: str,
                args: ARecordArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ARecord(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                fqdn: Optional[str] = None,
                a_record_id: Optional[str] = None,
                cidr: Optional[str] = None,
                comment: Optional[str] = None,
                dns_view: Optional[str] = None,
                ext_attrs: Optional[str] = None,
                filter_params: Optional[str] = None,
                ip_addr: Optional[str] = None,
                network_view: Optional[str] = None,
                ttl: Optional[float] = None)
    func NewARecord(ctx *Context, name string, args ARecordArgs, opts ...ResourceOption) (*ARecord, error)
    public ARecord(string name, ARecordArgs args, CustomResourceOptions? opts = null)
    public ARecord(String name, ARecordArgs args)
    public ARecord(String name, ARecordArgs args, CustomResourceOptions options)
    
    type: infoblox:ARecord
    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 ARecordArgs
    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 ARecordArgs
    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 ARecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ARecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ARecordArgs
    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 arecordResource = new Infoblox.ARecord("arecordResource", new()
    {
        Fqdn = "string",
        ARecordId = "string",
        Cidr = "string",
        Comment = "string",
        DnsView = "string",
        ExtAttrs = "string",
        FilterParams = "string",
        IpAddr = "string",
        NetworkView = "string",
        Ttl = 0,
    });
    
    example, err := infoblox.NewARecord(ctx, "arecordResource", &infoblox.ARecordArgs{
    	Fqdn:         pulumi.String("string"),
    	ARecordId:    pulumi.String("string"),
    	Cidr:         pulumi.String("string"),
    	Comment:      pulumi.String("string"),
    	DnsView:      pulumi.String("string"),
    	ExtAttrs:     pulumi.String("string"),
    	FilterParams: pulumi.String("string"),
    	IpAddr:       pulumi.String("string"),
    	NetworkView:  pulumi.String("string"),
    	Ttl:          pulumi.Float64(0),
    })
    
    var arecordResource = new ARecord("arecordResource", ARecordArgs.builder()
        .fqdn("string")
        .aRecordId("string")
        .cidr("string")
        .comment("string")
        .dnsView("string")
        .extAttrs("string")
        .filterParams("string")
        .ipAddr("string")
        .networkView("string")
        .ttl(0)
        .build());
    
    arecord_resource = infoblox.ARecord("arecordResource",
        fqdn="string",
        a_record_id="string",
        cidr="string",
        comment="string",
        dns_view="string",
        ext_attrs="string",
        filter_params="string",
        ip_addr="string",
        network_view="string",
        ttl=0)
    
    const arecordResource = new infoblox.ARecord("arecordResource", {
        fqdn: "string",
        aRecordId: "string",
        cidr: "string",
        comment: "string",
        dnsView: "string",
        extAttrs: "string",
        filterParams: "string",
        ipAddr: "string",
        networkView: "string",
        ttl: 0,
    });
    
    type: infoblox:ARecord
    properties:
        aRecordId: string
        cidr: string
        comment: string
        dnsView: string
        extAttrs: string
        filterParams: string
        fqdn: string
        ipAddr: string
        networkView: string
        ttl: 0
    

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

    Fqdn string
    FQDN for the A-record.
    ARecordId string
    Cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    Comment string
    Description of the A-record.
    DnsView string
    DNS view which the zone does exist within.
    ExtAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    FilterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    IpAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    NetworkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    Ttl double
    TTL value for the A-record.
    Fqdn string
    FQDN for the A-record.
    ARecordId string
    Cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    Comment string
    Description of the A-record.
    DnsView string
    DNS view which the zone does exist within.
    ExtAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    FilterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    IpAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    NetworkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    Ttl float64
    TTL value for the A-record.
    fqdn String
    FQDN for the A-record.
    aRecordId String
    cidr String
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment String
    Description of the A-record.
    dnsView String
    DNS view which the zone does exist within.
    extAttrs String
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams String
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    ipAddr String
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView String
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ttl Double
    TTL value for the A-record.
    fqdn string
    FQDN for the A-record.
    aRecordId string
    cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment string
    Description of the A-record.
    dnsView string
    DNS view which the zone does exist within.
    extAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    ipAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ttl number
    TTL value for the A-record.
    fqdn str
    FQDN for the A-record.
    a_record_id str
    cidr str
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment str
    Description of the A-record.
    dns_view str
    DNS view which the zone does exist within.
    ext_attrs str
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filter_params str
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    ip_addr str
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    network_view str
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ttl float
    TTL value for the A-record.
    fqdn String
    FQDN for the A-record.
    aRecordId String
    cidr String
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment String
    Description of the A-record.
    dnsView String
    DNS view which the zone does exist within.
    extAttrs String
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams String
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    ipAddr String
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView String
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ttl Number
    TTL value for the A-record.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.
    id string
    The provider-assigned unique ID for this managed resource.
    internalId string
    ref string
    NIOS object's reference, not to be set by a user.
    id str
    The provider-assigned unique ID for this managed resource.
    internal_id str
    ref str
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.

    Look up Existing ARecord Resource

    Get an existing ARecord 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?: ARecordState, opts?: CustomResourceOptions): ARecord
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            a_record_id: Optional[str] = None,
            cidr: Optional[str] = None,
            comment: Optional[str] = None,
            dns_view: Optional[str] = None,
            ext_attrs: Optional[str] = None,
            filter_params: Optional[str] = None,
            fqdn: Optional[str] = None,
            internal_id: Optional[str] = None,
            ip_addr: Optional[str] = None,
            network_view: Optional[str] = None,
            ref: Optional[str] = None,
            ttl: Optional[float] = None) -> ARecord
    func GetARecord(ctx *Context, name string, id IDInput, state *ARecordState, opts ...ResourceOption) (*ARecord, error)
    public static ARecord Get(string name, Input<string> id, ARecordState? state, CustomResourceOptions? opts = null)
    public static ARecord get(String name, Output<String> id, ARecordState state, CustomResourceOptions options)
    resources:  _:    type: infoblox:ARecord    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:
    ARecordId string
    Cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    Comment string
    Description of the A-record.
    DnsView string
    DNS view which the zone does exist within.
    ExtAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    FilterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    Fqdn string
    FQDN for the A-record.
    InternalId string
    IpAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    NetworkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    Ref string
    NIOS object's reference, not to be set by a user.
    Ttl double
    TTL value for the A-record.
    ARecordId string
    Cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    Comment string
    Description of the A-record.
    DnsView string
    DNS view which the zone does exist within.
    ExtAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    FilterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    Fqdn string
    FQDN for the A-record.
    InternalId string
    IpAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    NetworkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    Ref string
    NIOS object's reference, not to be set by a user.
    Ttl float64
    TTL value for the A-record.
    aRecordId String
    cidr String
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment String
    Description of the A-record.
    dnsView String
    DNS view which the zone does exist within.
    extAttrs String
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams String
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    fqdn String
    FQDN for the A-record.
    internalId String
    ipAddr String
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView String
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ref String
    NIOS object's reference, not to be set by a user.
    ttl Double
    TTL value for the A-record.
    aRecordId string
    cidr string
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment string
    Description of the A-record.
    dnsView string
    DNS view which the zone does exist within.
    extAttrs string
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams string
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    fqdn string
    FQDN for the A-record.
    internalId string
    ipAddr string
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView string
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ref string
    NIOS object's reference, not to be set by a user.
    ttl number
    TTL value for the A-record.
    a_record_id str
    cidr str
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment str
    Description of the A-record.
    dns_view str
    DNS view which the zone does exist within.
    ext_attrs str
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filter_params str
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    fqdn str
    FQDN for the A-record.
    internal_id str
    ip_addr str
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    network_view str
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ref str
    NIOS object's reference, not to be set by a user.
    ttl float
    TTL value for the A-record.
    aRecordId String
    cidr String
    Network to allocate an IP address from, when the 'ip_addr' field is empty (dynamic allocation). The address is in CIDR format. For static allocation, leave this field empty.
    comment String
    Description of the A-record.
    dnsView String
    DNS view which the zone does exist within.
    extAttrs String
    Extensible attributes of the A-record to be added/updated, as a map in JSON format
    filterParams String
    The parent network block's extensible attributes (dynamic allocation). For static allocation, leave this field empty.
    fqdn String
    FQDN for the A-record.
    internalId String
    ipAddr String
    IP address to associate with the A-record. For static allocation, set the field with a valid IP address. For dynamic allocation, leave this field empty and set 'cidr' and 'network_view' fieldsor 'filter_params' and optional 'network_view' fields.
    networkView String
    Network view to use when allocating an IP address from a network dynamically. For static allocation, leave this field empty.
    ref String
    NIOS object's reference, not to be set by a user.
    ttl Number
    TTL value for the A-record.

    Package Details

    Repository
    infoblox infobloxopen/terraform-provider-infoblox
    License
    Notes
    This Pulumi package is based on the infoblox Terraform Provider.
    infoblox logo
    infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen