Dns
f5bigip.sys.Dns Configures DNS server on F5 BIG-IP
Example Usage
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
class MyStack : Stack
{
public MyStack()
{
var dns1 = new F5BigIP.Sys.Dns("dns1", new F5BigIP.Sys.DnsArgs
{
Description = "/Common/DNS1",
NameServers =
{
"1.1.1.1",
},
NumberOfDots = 2,
Searches =
{
"f5.com",
},
});
}
}
Coming soon!
import pulumi
import pulumi_f5bigip as f5bigip
dns1 = f5bigip.sys.Dns("dns1",
description="/Common/DNS1",
name_servers=["1.1.1.1"],
number_of_dots=2,
searches=["f5.com"])import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const dns1 = new f5bigip.sys.Dns("dns1", {
description: "/Common/DNS1",
nameServers: ["1.1.1.1"],
numberOfDots: 2,
searches: ["f5.com"],
});Create a Dns Resource
new Dns(name: string, args: DnsArgs, opts?: CustomResourceOptions);def Dns(resource_name, opts=None, description=None, name_servers=None, number_of_dots=None, searches=None, __props__=None);public Dns(string name, DnsArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Dns Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Dns resource accepts the following input properties:
- Description string
Provide description for your DNS server
- Name
Servers List<string> Name or IP address of the DNS server
- Number
Of intDots Configures the number of dots needed in a name before an initial absolute query will be made.
- Searches List<string>
Specify what domains you want to search
- Description string
Provide description for your DNS server
- Name
Servers []string Name or IP address of the DNS server
- Number
Of intDots Configures the number of dots needed in a name before an initial absolute query will be made.
- Searches []string
Specify what domains you want to search
- description string
Provide description for your DNS server
- name
Servers string[] Name or IP address of the DNS server
- number
Of numberDots Configures the number of dots needed in a name before an initial absolute query will be made.
- searches string[]
Specify what domains you want to search
- description str
Provide description for your DNS server
- name_
servers List[str] Name or IP address of the DNS server
- number_
of_ floatdots Configures the number of dots needed in a name before an initial absolute query will be made.
- searches List[str]
Specify what domains you want to search
Outputs
All input properties are implicitly available as output properties. Additionally, the Dns resource produces the following output properties:
Look up an Existing Dns Resource
Get an existing Dns 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?: DnsState, opts?: CustomResourceOptions): Dnsstatic get(resource_name, id, opts=None, description=None, name_servers=None, number_of_dots=None, searches=None, __props__=None);public static Dns Get(string name, Input<string> id, DnsState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Description string
Provide description for your DNS server
- Name
Servers List<string> Name or IP address of the DNS server
- Number
Of intDots Configures the number of dots needed in a name before an initial absolute query will be made.
- Searches List<string>
Specify what domains you want to search
- Description string
Provide description for your DNS server
- Name
Servers []string Name or IP address of the DNS server
- Number
Of intDots Configures the number of dots needed in a name before an initial absolute query will be made.
- Searches []string
Specify what domains you want to search
- description string
Provide description for your DNS server
- name
Servers string[] Name or IP address of the DNS server
- number
Of numberDots Configures the number of dots needed in a name before an initial absolute query will be made.
- searches string[]
Specify what domains you want to search
- description str
Provide description for your DNS server
- name_
servers List[str] Name or IP address of the DNS server
- number_
of_ floatdots Configures the number of dots needed in a name before an initial absolute query will be made.
- searches List[str]
Specify what domains you want to search
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.