Class 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",
},
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Sys
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Dns : CustomResource
Constructors
View SourceDns(String, DnsArgs, CustomResourceOptions)
Create a Dns resource with the given unique name, arguments, and options.
Declaration
public Dns(string name, DnsArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DnsArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Provide description for your DNS server
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NameServers
Name or IP address of the DNS server
Declaration
public Output<ImmutableArray<string>> NameServers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
NumberOfDots
Configures the number of dots needed in a name before an initial absolute query will be made.
Declaration
public Output<int?> NumberOfDots { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Searches
Specify what domains you want to search
Declaration
public Output<ImmutableArray<string>> Searches { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, DnsState, CustomResourceOptions)
Get an existing Dns resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Dns Get(string name, Input<string> id, DnsState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DnsState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Dns |