constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
constellix.getVanityNameserver
Explore with Pulumi AI
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
Data source for Vanitynameserver record
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const datavanitynameserver = constellix.getVanityNameserver({
name: "vanitynameserverdatasource",
});
import pulumi
import pulumi_constellix as constellix
datavanitynameserver = constellix.get_vanity_nameserver(name="vanitynameserverdatasource")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/constellix/constellix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := constellix.LookupVanityNameserver(ctx, &constellix.LookupVanityNameserverArgs{
Name: "vanitynameserverdatasource",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Constellix = Pulumi.Constellix;
return await Deployment.RunAsync(() =>
{
var datavanitynameserver = Constellix.GetVanityNameserver.Invoke(new()
{
Name = "vanitynameserverdatasource",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.constellix.ConstellixFunctions;
import com.pulumi.constellix.inputs.GetVanityNameserverArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var datavanitynameserver = ConstellixFunctions.getVanityNameserver(GetVanityNameserverArgs.builder()
.name("vanitynameserverdatasource")
.build());
}
}
variables:
datavanitynameserver:
fn::invoke:
function: constellix:getVanityNameserver
arguments:
name: vanitynameserverdatasource
Argument Reference
name
- (Required) Name of record. Name should be unique.
Attribute Reference
name
- (Required) Vanity nameserver name should be unique.nameserver_group
- (Optional) Name server group id. 1 .. Available nameserver groupsnameserver_list_string
- (Optional) Comma separated name servers listis_default
- (Optional) Default flag. Default is false.is_public
- (Optional) isPublic flag. Default is falsenameserver_group_name
- (Optional) Name server group name
Using getVanityNameserver
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 getVanityNameserver(args: GetVanityNameserverArgs, opts?: InvokeOptions): Promise<GetVanityNameserverResult>
function getVanityNameserverOutput(args: GetVanityNameserverOutputArgs, opts?: InvokeOptions): Output<GetVanityNameserverResult>
def get_vanity_nameserver(id: Optional[str] = None,
is_default: Optional[bool] = None,
is_public: Optional[bool] = None,
name: Optional[str] = None,
nameserver_group: Optional[float] = None,
nameserver_group_name: Optional[str] = None,
nameserver_list_string: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVanityNameserverResult
def get_vanity_nameserver_output(id: Optional[pulumi.Input[str]] = None,
is_default: Optional[pulumi.Input[bool]] = None,
is_public: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
nameserver_group: Optional[pulumi.Input[float]] = None,
nameserver_group_name: Optional[pulumi.Input[str]] = None,
nameserver_list_string: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVanityNameserverResult]
func LookupVanityNameserver(ctx *Context, args *LookupVanityNameserverArgs, opts ...InvokeOption) (*LookupVanityNameserverResult, error)
func LookupVanityNameserverOutput(ctx *Context, args *LookupVanityNameserverOutputArgs, opts ...InvokeOption) LookupVanityNameserverResultOutput
> Note: This function is named LookupVanityNameserver
in the Go SDK.
public static class GetVanityNameserver
{
public static Task<GetVanityNameserverResult> InvokeAsync(GetVanityNameserverArgs args, InvokeOptions? opts = null)
public static Output<GetVanityNameserverResult> Invoke(GetVanityNameserverInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVanityNameserverResult> getVanityNameserver(GetVanityNameserverArgs args, InvokeOptions options)
public static Output<GetVanityNameserverResult> getVanityNameserver(GetVanityNameserverArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getVanityNameserver:getVanityNameserver
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Id string
- Is
Default bool - Is
Public bool - Nameserver
Group double - Nameserver
Group stringName - Nameserver
List stringString
- Name string
- Id string
- Is
Default bool - Is
Public bool - Nameserver
Group float64 - Nameserver
Group stringName - Nameserver
List stringString
- name String
- id String
- is
Default Boolean - is
Public Boolean - nameserver
Group Double - nameserver
Group StringName - nameserver
List StringString
- name string
- id string
- is
Default boolean - is
Public boolean - nameserver
Group number - nameserver
Group stringName - nameserver
List stringString
- name str
- id str
- is_
default bool - is_
public bool - nameserver_
group float - nameserver_
group_ strname - nameserver_
list_ strstring
- name String
- id String
- is
Default Boolean - is
Public Boolean - nameserver
Group Number - nameserver
Group StringName - nameserver
List StringString
getVanityNameserver Result
The following output properties are available:
- Id string
- Is
Default bool - Is
Public bool - Name string
- Nameserver
Group double - Nameserver
Group stringName - Nameserver
List stringString
- Id string
- Is
Default bool - Is
Public bool - Name string
- Nameserver
Group float64 - Nameserver
Group stringName - Nameserver
List stringString
- id String
- is
Default Boolean - is
Public Boolean - name String
- nameserver
Group Double - nameserver
Group StringName - nameserver
List StringString
- id string
- is
Default boolean - is
Public boolean - name string
- nameserver
Group number - nameserver
Group stringName - nameserver
List stringString
- id str
- is_
default bool - is_
public bool - name str
- nameserver_
group float - nameserver_
group_ strname - nameserver_
list_ strstring
- id String
- is
Default Boolean - is
Public Boolean - name String
- nameserver
Group Number - nameserver
Group StringName - nameserver
List StringString
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix