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 string
- The unique name of the resource.
- args NsxtEdgegatewayDnsArgs
- 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 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 string
- The unique name of the resource.
- args NsxtEdgegatewayDnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtEdgegatewayDnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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:
- Default
Forwarder NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- Edge
Gateway stringId - NSX-T Edge Gateway ID.
- Conditional
Forwarder List<NsxtZones Edgegateway Dns Conditional Forwarder Zone> - 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 string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- Nsxt
Edgegateway stringDns Id - Org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- Snat
Rule stringIp Address - 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 NsxtZone Edgegateway Dns Default Forwarder Zone Args - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- Edge
Gateway stringId - NSX-T Edge Gateway ID.
- Conditional
Forwarder []NsxtZones Edgegateway Dns Conditional Forwarder Zone Args - 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 string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- Nsxt
Edgegateway stringDns Id - Org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- Snat
Rule stringIp Address - 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 NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway StringId - NSX-T Edge Gateway ID.
- conditional
Forwarder List<NsxtZones Edgegateway Dns Conditional Forwarder Zone> - 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
. - listener
Ip String - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway StringDns Id - org String
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule StringIp Address - 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 NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway stringId - NSX-T Edge Gateway ID.
- conditional
Forwarder NsxtZones Edgegateway Dns Conditional Forwarder Zone[] - 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
. - listener
Ip string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway stringDns Id - org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule stringIp Address - 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_ Nsxtzone Edgegateway Dns Default Forwarder Zone Args - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge_
gateway_ strid - NSX-T Edge Gateway ID.
- conditional_
forwarder_ Sequence[Nsxtzones Edgegateway Dns Conditional Forwarder Zone Args] - 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_ strdns_ id - org str
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat_
rule_ strip_ address - 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 Property MapZone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway StringId - NSX-T Edge Gateway ID.
- conditional
Forwarder List<Property Map>Zones - 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
. - listener
Ip String - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway StringDns Id - org String
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule StringIp Address - 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.
- Snat
Rule boolEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
- Id string
- The provider-assigned unique ID for this managed resource.
- Snat
Rule boolEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
- id String
- The provider-assigned unique ID for this managed resource.
- snat
Rule BooleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
- id string
- The provider-assigned unique ID for this managed resource.
- snat
Rule booleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
- id str
- The provider-assigned unique ID for this managed resource.
- snat_
rule_ boolenabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
- id String
- The provider-assigned unique ID for this managed resource.
- snat
Rule BooleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
.
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
- 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.
- Conditional
Forwarder List<NsxtZones Edgegateway Dns Conditional Forwarder Zone> - 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 NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- Edge
Gateway stringId - NSX-T Edge Gateway ID.
- Enabled bool
- Status of the DNS forwarding service. Defaults to
true
. - Listener
Ip string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- Nsxt
Edgegateway stringDns Id - Org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- Snat
Rule boolEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - Snat
Rule stringIp Address - 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 []NsxtZones Edgegateway Dns Conditional Forwarder Zone Args - 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 NsxtZone Edgegateway Dns Default Forwarder Zone Args - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- Edge
Gateway stringId - NSX-T Edge Gateway ID.
- Enabled bool
- Status of the DNS forwarding service. Defaults to
true
. - Listener
Ip string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- Nsxt
Edgegateway stringDns Id - Org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- Snat
Rule boolEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - Snat
Rule stringIp Address - 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 List<NsxtZones Edgegateway Dns Conditional Forwarder Zone> - 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 NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway StringId - NSX-T Edge Gateway ID.
- enabled Boolean
- Status of the DNS forwarding service. Defaults to
true
. - listener
Ip String - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway StringDns Id - org String
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule BooleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - snat
Rule StringIp Address - 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 NsxtZones Edgegateway Dns Conditional Forwarder Zone[] - 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 NsxtZone Edgegateway Dns Default Forwarder Zone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway stringId - NSX-T Edge Gateway ID.
- enabled boolean
- Status of the DNS forwarding service. Defaults to
true
. - listener
Ip string - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway stringDns Id - org string
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule booleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - snat
Rule stringIp Address - 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_ Sequence[Nsxtzones Edgegateway Dns Conditional Forwarder Zone Args] - 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_ Nsxtzone Edgegateway Dns Default Forwarder Zone Args - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge_
gateway_ strid - 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_ strdns_ id - org str
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat_
rule_ boolenabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - snat_
rule_ strip_ address - 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 List<Property Map>Zones - 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 Property MapZone - The default forwarder zone to use if
there’s no matching domain in the conditional forwarder zones. See
default_forwarder_zone
- edge
Gateway StringId - NSX-T Edge Gateway ID.
- enabled Boolean
- Status of the DNS forwarding service. Defaults to
true
. - listener
Ip String - The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
- nsxt
Edgegateway StringDns Id - org String
- Org in which the NSX-T Edge Gateway is located, required if not set in the provider section.
- snat
Rule BooleanEnabled - Is
true
if there exists a SNAT rule for the DNS forwarder. If the Edge Gateway is connected to a dedicated provider gateway andlistener_ip
is modified manually, this field will be set tofalse
, otherwisetrue
. - snat
Rule StringIp Address - 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
- Domain
Names List<string> - Set of domain names on which conditional forwarding is based.
- Name string
- Name of the forwarder zone.
- Upstream
Servers List<string> - Servers to which DNS requests should be forwarded to.
- Id string
- Unique ID of the forwarder zone.
- Domain
Names []string - Set of domain names on which conditional forwarding is based.
- Name string
- Name of the forwarder zone.
- Upstream
Servers []string - Servers to which DNS requests should be forwarded to.
- Id string
- Unique ID of the forwarder zone.
- domain
Names List<String> - Set of domain names on which conditional forwarding is based.
- name String
- Name of the forwarder zone.
- upstream
Servers List<String> - Servers to which DNS requests should be forwarded to.
- id String
- Unique ID of the forwarder zone.
- domain
Names string[] - Set of domain names on which conditional forwarding is based.
- name string
- Name of the forwarder zone.
- upstream
Servers string[] - Servers to which DNS requests should be forwarded to.
- id string
- Unique ID of the forwarder zone.
- domain_
names Sequence[str] - Set of domain names on which conditional forwarding is based.
- name str
- Name of the forwarder zone.
- upstream_
servers Sequence[str] - Servers to which DNS requests should be forwarded to.
- id str
- Unique ID of the forwarder zone.
- domain
Names List<String> - Set of domain names on which conditional forwarding is based.
- name String
- Name of the forwarder zone.
- upstream
Servers List<String> - Servers to which DNS requests should be forwarded to.
- id String
- Unique ID of the forwarder zone.
NsxtEdgegatewayDnsDefaultForwarderZone, NsxtEdgegatewayDnsDefaultForwarderZoneArgs
- Name string
- Name of the forwarder zone.
- Upstream
Servers List<string> - Servers to which DNS requests should be forwarded to.
- Id string
- Unique ID of the forwarder zone.
- Name string
- Name of the forwarder zone.
- Upstream
Servers []string - Servers to which DNS requests should be forwarded to.
- Id string
- Unique ID of the forwarder zone.
- name String
- Name of the forwarder zone.
- upstream
Servers List<String> - Servers to which DNS requests should be forwarded to.
- id String
- Unique ID of the forwarder zone.
- name string
- Name of the forwarder zone.
- upstream
Servers string[] - Servers to which DNS requests should be forwarded to.
- id string
- Unique ID of the forwarder zone.
- name str
- Name of the forwarder zone.
- upstream_
servers Sequence[str] - Servers to which DNS requests should be forwarded to.
- id str
- Unique ID of the forwarder zone.
- name String
- Name of the forwarder zone.
- upstream
Servers 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.