1. Packages
  2. Vcd Provider
  3. API Docs
  4. NsxtEdgegatewayDns
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.NsxtEdgegatewayDns

Explore with Pulumi AI

Create NsxtEdgegatewayDns Resource

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

Constructor syntax

new NsxtEdgegatewayDns(name: string, args: NsxtEdgegatewayDnsArgs, opts?: CustomResourceOptions);
@overload
def NsxtEdgegatewayDns(resource_name: str,
                       args: NsxtEdgegatewayDnsArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def NsxtEdgegatewayDns(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       default_forwarder_zone: Optional[NsxtEdgegatewayDnsDefaultForwarderZoneArgs] = None,
                       edge_gateway_id: Optional[str] = None,
                       conditional_forwarder_zones: Optional[Sequence[NsxtEdgegatewayDnsConditionalForwarderZoneArgs]] = None,
                       enabled: Optional[bool] = None,
                       listener_ip: Optional[str] = None,
                       nsxt_edgegateway_dns_id: Optional[str] = None,
                       org: Optional[str] = None,
                       snat_rule_ip_address: Optional[str] = None)
func NewNsxtEdgegatewayDns(ctx *Context, name string, args NsxtEdgegatewayDnsArgs, opts ...ResourceOption) (*NsxtEdgegatewayDns, error)
public NsxtEdgegatewayDns(string name, NsxtEdgegatewayDnsArgs args, CustomResourceOptions? opts = null)
public NsxtEdgegatewayDns(String name, NsxtEdgegatewayDnsArgs args)
public NsxtEdgegatewayDns(String name, NsxtEdgegatewayDnsArgs args, CustomResourceOptions options)
type: vcd:NsxtEdgegatewayDns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NsxtEdgegatewayDnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NsxtEdgegatewayDnsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NsxtEdgegatewayDnsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NsxtEdgegatewayDnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NsxtEdgegatewayDnsArgs
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 nsxtEdgegatewayDnsResource = new Vcd.NsxtEdgegatewayDns("nsxtEdgegatewayDnsResource", new()
{
    DefaultForwarderZone = new Vcd.Inputs.NsxtEdgegatewayDnsDefaultForwarderZoneArgs
    {
        Name = "string",
        UpstreamServers = new[]
        {
            "string",
        },
        Id = "string",
    },
    EdgeGatewayId = "string",
    ConditionalForwarderZones = new[]
    {
        new Vcd.Inputs.NsxtEdgegatewayDnsConditionalForwarderZoneArgs
        {
            DomainNames = new[]
            {
                "string",
            },
            Name = "string",
            UpstreamServers = new[]
            {
                "string",
            },
            Id = "string",
        },
    },
    Enabled = false,
    ListenerIp = "string",
    NsxtEdgegatewayDnsId = "string",
    Org = "string",
    SnatRuleIpAddress = "string",
});
Copy
example, err := vcd.NewNsxtEdgegatewayDns(ctx, "nsxtEdgegatewayDnsResource", &vcd.NsxtEdgegatewayDnsArgs{
	DefaultForwarderZone: &vcd.NsxtEdgegatewayDnsDefaultForwarderZoneArgs{
		Name: pulumi.String("string"),
		UpstreamServers: pulumi.StringArray{
			pulumi.String("string"),
		},
		Id: pulumi.String("string"),
	},
	EdgeGatewayId: pulumi.String("string"),
	ConditionalForwarderZones: vcd.NsxtEdgegatewayDnsConditionalForwarderZoneArray{
		&vcd.NsxtEdgegatewayDnsConditionalForwarderZoneArgs{
			DomainNames: pulumi.StringArray{
				pulumi.String("string"),
			},
			Name: pulumi.String("string"),
			UpstreamServers: pulumi.StringArray{
				pulumi.String("string"),
			},
			Id: pulumi.String("string"),
		},
	},
	Enabled:              pulumi.Bool(false),
	ListenerIp:           pulumi.String("string"),
	NsxtEdgegatewayDnsId: pulumi.String("string"),
	Org:                  pulumi.String("string"),
	SnatRuleIpAddress:    pulumi.String("string"),
})
Copy
var nsxtEdgegatewayDnsResource = new NsxtEdgegatewayDns("nsxtEdgegatewayDnsResource", NsxtEdgegatewayDnsArgs.builder()
    .defaultForwarderZone(NsxtEdgegatewayDnsDefaultForwarderZoneArgs.builder()
        .name("string")
        .upstreamServers("string")
        .id("string")
        .build())
    .edgeGatewayId("string")
    .conditionalForwarderZones(NsxtEdgegatewayDnsConditionalForwarderZoneArgs.builder()
        .domainNames("string")
        .name("string")
        .upstreamServers("string")
        .id("string")
        .build())
    .enabled(false)
    .listenerIp("string")
    .nsxtEdgegatewayDnsId("string")
    .org("string")
    .snatRuleIpAddress("string")
    .build());
Copy
nsxt_edgegateway_dns_resource = vcd.NsxtEdgegatewayDns("nsxtEdgegatewayDnsResource",
    default_forwarder_zone={
        "name": "string",
        "upstream_servers": ["string"],
        "id": "string",
    },
    edge_gateway_id="string",
    conditional_forwarder_zones=[{
        "domain_names": ["string"],
        "name": "string",
        "upstream_servers": ["string"],
        "id": "string",
    }],
    enabled=False,
    listener_ip="string",
    nsxt_edgegateway_dns_id="string",
    org="string",
    snat_rule_ip_address="string")
Copy
const nsxtEdgegatewayDnsResource = new vcd.NsxtEdgegatewayDns("nsxtEdgegatewayDnsResource", {
    defaultForwarderZone: {
        name: "string",
        upstreamServers: ["string"],
        id: "string",
    },
    edgeGatewayId: "string",
    conditionalForwarderZones: [{
        domainNames: ["string"],
        name: "string",
        upstreamServers: ["string"],
        id: "string",
    }],
    enabled: false,
    listenerIp: "string",
    nsxtEdgegatewayDnsId: "string",
    org: "string",
    snatRuleIpAddress: "string",
});
Copy
type: vcd:NsxtEdgegatewayDns
properties:
    conditionalForwarderZones:
        - domainNames:
            - string
          id: string
          name: string
          upstreamServers:
            - string
    defaultForwarderZone:
        id: string
        name: string
        upstreamServers:
            - string
    edgeGatewayId: string
    enabled: false
    listenerIp: string
    nsxtEdgegatewayDnsId: string
    org: string
    snatRuleIpAddress: string
Copy

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

DefaultForwarderZone This property is required. NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
EdgeGatewayId This property is required. string
NSX-T Edge Gateway ID.
ConditionalForwarderZones List<NsxtEdgegatewayDnsConditionalForwarderZone>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
Enabled bool
Status of the DNS forwarding service. Defaults to true.
ListenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
NsxtEdgegatewayDnsId string
Org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
SnatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
DefaultForwarderZone This property is required. NsxtEdgegatewayDnsDefaultForwarderZoneArgs
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
EdgeGatewayId This property is required. string
NSX-T Edge Gateway ID.
ConditionalForwarderZones []NsxtEdgegatewayDnsConditionalForwarderZoneArgs
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
Enabled bool
Status of the DNS forwarding service. Defaults to true.
ListenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
NsxtEdgegatewayDnsId string
Org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
SnatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
defaultForwarderZone This property is required. NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId This property is required. String
NSX-T Edge Gateway ID.
conditionalForwarderZones List<NsxtEdgegatewayDnsConditionalForwarderZone>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
enabled Boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp String
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId String
org String
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleIpAddress String
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
defaultForwarderZone This property is required. NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId This property is required. string
NSX-T Edge Gateway ID.
conditionalForwarderZones NsxtEdgegatewayDnsConditionalForwarderZone[]
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
enabled boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId string
org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
default_forwarder_zone This property is required. NsxtEdgegatewayDnsDefaultForwarderZoneArgs
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edge_gateway_id This property is required. str
NSX-T Edge Gateway ID.
conditional_forwarder_zones Sequence[NsxtEdgegatewayDnsConditionalForwarderZoneArgs]
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
enabled bool
Status of the DNS forwarding service. Defaults to true.
listener_ip str
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxt_edgegateway_dns_id str
org str
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snat_rule_ip_address str
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
defaultForwarderZone This property is required. Property Map
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId This property is required. String
NSX-T Edge Gateway ID.
conditionalForwarderZones List<Property Map>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
enabled Boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp String
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId String
org String
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleIpAddress String
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
SnatRuleEnabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
Id string
The provider-assigned unique ID for this managed resource.
SnatRuleEnabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
id String
The provider-assigned unique ID for this managed resource.
snatRuleEnabled Boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
id string
The provider-assigned unique ID for this managed resource.
snatRuleEnabled boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
id str
The provider-assigned unique ID for this managed resource.
snat_rule_enabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
id String
The provider-assigned unique ID for this managed resource.
snatRuleEnabled Boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.

Look up Existing NsxtEdgegatewayDns Resource

Get an existing NsxtEdgegatewayDns 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?: NsxtEdgegatewayDnsState, opts?: CustomResourceOptions): NsxtEdgegatewayDns
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        conditional_forwarder_zones: Optional[Sequence[NsxtEdgegatewayDnsConditionalForwarderZoneArgs]] = None,
        default_forwarder_zone: Optional[NsxtEdgegatewayDnsDefaultForwarderZoneArgs] = None,
        edge_gateway_id: Optional[str] = None,
        enabled: Optional[bool] = None,
        listener_ip: Optional[str] = None,
        nsxt_edgegateway_dns_id: Optional[str] = None,
        org: Optional[str] = None,
        snat_rule_enabled: Optional[bool] = None,
        snat_rule_ip_address: Optional[str] = None) -> NsxtEdgegatewayDns
func GetNsxtEdgegatewayDns(ctx *Context, name string, id IDInput, state *NsxtEdgegatewayDnsState, opts ...ResourceOption) (*NsxtEdgegatewayDns, error)
public static NsxtEdgegatewayDns Get(string name, Input<string> id, NsxtEdgegatewayDnsState? state, CustomResourceOptions? opts = null)
public static NsxtEdgegatewayDns get(String name, Output<String> id, NsxtEdgegatewayDnsState state, CustomResourceOptions options)
resources:  _:    type: vcd:NsxtEdgegatewayDns    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ConditionalForwarderZones List<NsxtEdgegatewayDnsConditionalForwarderZone>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
DefaultForwarderZone NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
EdgeGatewayId string
NSX-T Edge Gateway ID.
Enabled bool
Status of the DNS forwarding service. Defaults to true.
ListenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
NsxtEdgegatewayDnsId string
Org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
SnatRuleEnabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
SnatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
ConditionalForwarderZones []NsxtEdgegatewayDnsConditionalForwarderZoneArgs
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
DefaultForwarderZone NsxtEdgegatewayDnsDefaultForwarderZoneArgs
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
EdgeGatewayId string
NSX-T Edge Gateway ID.
Enabled bool
Status of the DNS forwarding service. Defaults to true.
ListenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
NsxtEdgegatewayDnsId string
Org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
SnatRuleEnabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
SnatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
conditionalForwarderZones List<NsxtEdgegatewayDnsConditionalForwarderZone>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
defaultForwarderZone NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId String
NSX-T Edge Gateway ID.
enabled Boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp String
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId String
org String
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleEnabled Boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
snatRuleIpAddress String
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
conditionalForwarderZones NsxtEdgegatewayDnsConditionalForwarderZone[]
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
defaultForwarderZone NsxtEdgegatewayDnsDefaultForwarderZone
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId string
NSX-T Edge Gateway ID.
enabled boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp string
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId string
org string
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleEnabled boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
snatRuleIpAddress string
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
conditional_forwarder_zones Sequence[NsxtEdgegatewayDnsConditionalForwarderZoneArgs]
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
default_forwarder_zone NsxtEdgegatewayDnsDefaultForwarderZoneArgs
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edge_gateway_id str
NSX-T Edge Gateway ID.
enabled bool
Status of the DNS forwarding service. Defaults to true.
listener_ip str
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxt_edgegateway_dns_id str
org str
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snat_rule_enabled bool
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
snat_rule_ip_address str
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.
conditionalForwarderZones List<Property Map>
A set (up to 5) of conditional forwarder zones that allows to define specific forwarding routes based on the domain. See conditional_forwarder_zone
defaultForwarderZone Property Map
The default forwarder zone to use if there’s no matching domain in the conditional forwarder zones. See default_forwarder_zone
edgeGatewayId String
NSX-T Edge Gateway ID.
enabled Boolean
Status of the DNS forwarding service. Defaults to true.
listenerIp String
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
nsxtEdgegatewayDnsId String
org String
Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
snatRuleEnabled Boolean
Is true if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway and listener_ip is modified manually, this field will be set to false, otherwise true.
snatRuleIpAddress String
This argument only applies if the Edge Gateway is connected to a Provider Gateway using IP Spaces. If specified, VCD will conveniently manage the SNAT rule with the specified IP address for the DNS forwarder. The specified IP can be allocated using vcd.IpSpaceIpAllocation If not specified, the IP address will be computed and chosen by VCD.

Supporting Types

NsxtEdgegatewayDnsConditionalForwarderZone
, NsxtEdgegatewayDnsConditionalForwarderZoneArgs

DomainNames This property is required. List<string>
Set of domain names on which conditional forwarding is based.
Name This property is required. string
Name of the forwarder zone.
UpstreamServers This property is required. List<string>
Servers to which DNS requests should be forwarded to.
Id string
Unique ID of the forwarder zone.
DomainNames This property is required. []string
Set of domain names on which conditional forwarding is based.
Name This property is required. string
Name of the forwarder zone.
UpstreamServers This property is required. []string
Servers to which DNS requests should be forwarded to.
Id string
Unique ID of the forwarder zone.
domainNames This property is required. List<String>
Set of domain names on which conditional forwarding is based.
name This property is required. String
Name of the forwarder zone.
upstreamServers This property is required. List<String>
Servers to which DNS requests should be forwarded to.
id String
Unique ID of the forwarder zone.
domainNames This property is required. string[]
Set of domain names on which conditional forwarding is based.
name This property is required. string
Name of the forwarder zone.
upstreamServers This property is required. string[]
Servers to which DNS requests should be forwarded to.
id string
Unique ID of the forwarder zone.
domain_names This property is required. Sequence[str]
Set of domain names on which conditional forwarding is based.
name This property is required. str
Name of the forwarder zone.
upstream_servers This property is required. Sequence[str]
Servers to which DNS requests should be forwarded to.
id str
Unique ID of the forwarder zone.
domainNames This property is required. List<String>
Set of domain names on which conditional forwarding is based.
name This property is required. String
Name of the forwarder zone.
upstreamServers This property is required. List<String>
Servers to which DNS requests should be forwarded to.
id String
Unique ID of the forwarder zone.

NsxtEdgegatewayDnsDefaultForwarderZone
, NsxtEdgegatewayDnsDefaultForwarderZoneArgs

Name This property is required. string
Name of the forwarder zone.
UpstreamServers This property is required. List<string>
Servers to which DNS requests should be forwarded to.
Id string
Unique ID of the forwarder zone.
Name This property is required. string
Name of the forwarder zone.
UpstreamServers This property is required. []string
Servers to which DNS requests should be forwarded to.
Id string
Unique ID of the forwarder zone.
name This property is required. String
Name of the forwarder zone.
upstreamServers This property is required. List<String>
Servers to which DNS requests should be forwarded to.
id String
Unique ID of the forwarder zone.
name This property is required. string
Name of the forwarder zone.
upstreamServers This property is required. string[]
Servers to which DNS requests should be forwarded to.
id string
Unique ID of the forwarder zone.
name This property is required. str
Name of the forwarder zone.
upstream_servers This property is required. Sequence[str]
Servers to which DNS requests should be forwarded to.
id str
Unique ID of the forwarder zone.
name This property is required. String
Name of the forwarder zone.
upstreamServers This property is required. List<String>
Servers to which DNS requests should be forwarded to.
id String
Unique ID of the forwarder zone.

Package Details

Repository
vcd vmware/terraform-provider-vcd
License
Notes
This Pulumi package is based on the vcd Terraform Provider.