Show / Hide Table of Contents

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",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Dns
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.F5BigIP.Sys
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Dns : CustomResource

Constructors

View Source

Dns(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 Source

Description

Provide description for your DNS server

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.