proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v2.5.0, Mar 14 23

proxmoxve.getDNS

Using getDNS

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDNS(args: GetDNSArgs, opts?: InvokeOptions): Promise<GetDNSResult>
function getDNSOutput(args: GetDNSOutputArgs, opts?: InvokeOptions): Output<GetDNSResult>
def get_dns(node_name: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetDNSResult
def get_dns_output(node_name: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetDNSResult]
func LookupDNS(ctx *Context, args *LookupDNSArgs, opts ...InvokeOption) (*LookupDNSResult, error)
func LookupDNSOutput(ctx *Context, args *LookupDNSOutputArgs, opts ...InvokeOption) LookupDNSResultOutput

> Note: This function is named LookupDNS in the Go SDK.

public static class GetDNS 
{
    public static Task<GetDNSResult> InvokeAsync(GetDNSArgs args, InvokeOptions? opts = null)
    public static Output<GetDNSResult> Invoke(GetDNSInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDNSResult> getDNS(GetDNSArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: proxmoxve:index/getDNS:getDNS
  arguments:
    # arguments dictionary

The following arguments are supported:

NodeName string
NodeName string
nodeName String
nodeName string
nodeName String

getDNS Result

The following output properties are available:

Domain string
Id string

The provider-assigned unique ID for this managed resource.

NodeName string
Servers List<string>
Domain string
Id string

The provider-assigned unique ID for this managed resource.

NodeName string
Servers []string
domain String
id String

The provider-assigned unique ID for this managed resource.

nodeName String
servers List<String>
domain string
id string

The provider-assigned unique ID for this managed resource.

nodeName string
servers string[]
domain str
id str

The provider-assigned unique ID for this managed resource.

node_name str
servers Sequence[str]
domain String
id String

The provider-assigned unique ID for this managed resource.

nodeName String
servers List<String>

Package Details

Repository
proxmoxve muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.