1. Packages
  2. Constellix Provider
  3. API Docs
  4. VanityNameserver
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix

constellix.VanityNameserver

Explore with Pulumi AI

Create VanityNameserver Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VanityNameserver(name: string, args: VanityNameserverArgs, opts?: CustomResourceOptions);
@overload
def VanityNameserver(resource_name: str,
                     args: VanityNameserverArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def VanityNameserver(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     nameserver_group: Optional[float] = None,
                     nameserver_list_string: Optional[str] = None,
                     is_default: Optional[bool] = None,
                     is_public: Optional[bool] = None,
                     name: Optional[str] = None,
                     nameserver_group_name: Optional[str] = None,
                     vanity_nameserver_id: Optional[str] = None)
func NewVanityNameserver(ctx *Context, name string, args VanityNameserverArgs, opts ...ResourceOption) (*VanityNameserver, error)
public VanityNameserver(string name, VanityNameserverArgs args, CustomResourceOptions? opts = null)
public VanityNameserver(String name, VanityNameserverArgs args)
public VanityNameserver(String name, VanityNameserverArgs args, CustomResourceOptions options)
type: constellix:VanityNameserver
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VanityNameserverArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VanityNameserverArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VanityNameserverArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VanityNameserverArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VanityNameserverArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var vanityNameserverResource = new Constellix.VanityNameserver("vanityNameserverResource", new()
{
    NameserverGroup = 0,
    NameserverListString = "string",
    IsDefault = false,
    IsPublic = false,
    Name = "string",
    NameserverGroupName = "string",
    VanityNameserverId = "string",
});
Copy
example, err := constellix.NewVanityNameserver(ctx, "vanityNameserverResource", &constellix.VanityNameserverArgs{
NameserverGroup: pulumi.Float64(0),
NameserverListString: pulumi.String("string"),
IsDefault: pulumi.Bool(false),
IsPublic: pulumi.Bool(false),
Name: pulumi.String("string"),
NameserverGroupName: pulumi.String("string"),
VanityNameserverId: pulumi.String("string"),
})
Copy
var vanityNameserverResource = new VanityNameserver("vanityNameserverResource", VanityNameserverArgs.builder()
    .nameserverGroup(0)
    .nameserverListString("string")
    .isDefault(false)
    .isPublic(false)
    .name("string")
    .nameserverGroupName("string")
    .vanityNameserverId("string")
    .build());
Copy
vanity_nameserver_resource = constellix.VanityNameserver("vanityNameserverResource",
    nameserver_group=0,
    nameserver_list_string="string",
    is_default=False,
    is_public=False,
    name="string",
    nameserver_group_name="string",
    vanity_nameserver_id="string")
Copy
const vanityNameserverResource = new constellix.VanityNameserver("vanityNameserverResource", {
    nameserverGroup: 0,
    nameserverListString: "string",
    isDefault: false,
    isPublic: false,
    name: "string",
    nameserverGroupName: "string",
    vanityNameserverId: "string",
});
Copy
type: constellix:VanityNameserver
properties:
    isDefault: false
    isPublic: false
    name: string
    nameserverGroup: 0
    nameserverGroupName: string
    nameserverListString: string
    vanityNameserverId: string
Copy

VanityNameserver Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The VanityNameserver resource accepts the following input properties:

NameserverGroup This property is required. double
NameserverListString This property is required. string
IsDefault bool
IsPublic bool
Name string
NameserverGroupName string
VanityNameserverId string
NameserverGroup This property is required. float64
NameserverListString This property is required. string
IsDefault bool
IsPublic bool
Name string
NameserverGroupName string
VanityNameserverId string
nameserverGroup This property is required. Double
nameserverListString This property is required. String
isDefault Boolean
isPublic Boolean
name String
nameserverGroupName String
vanityNameserverId String
nameserverGroup This property is required. number
nameserverListString This property is required. string
isDefault boolean
isPublic boolean
name string
nameserverGroupName string
vanityNameserverId string
nameserver_group This property is required. float
nameserver_list_string This property is required. str
is_default bool
is_public bool
name str
nameserver_group_name str
vanity_nameserver_id str
nameserverGroup This property is required. Number
nameserverListString This property is required. String
isDefault Boolean
isPublic Boolean
name String
nameserverGroupName String
vanityNameserverId String

Outputs

All input properties are implicitly available as output properties. Additionally, the VanityNameserver resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing VanityNameserver Resource

Get an existing VanityNameserver 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?: VanityNameserverState, opts?: CustomResourceOptions): VanityNameserver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = 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,
        vanity_nameserver_id: Optional[str] = None) -> VanityNameserver
func GetVanityNameserver(ctx *Context, name string, id IDInput, state *VanityNameserverState, opts ...ResourceOption) (*VanityNameserver, error)
public static VanityNameserver Get(string name, Input<string> id, VanityNameserverState? state, CustomResourceOptions? opts = null)
public static VanityNameserver get(String name, Output<String> id, VanityNameserverState state, CustomResourceOptions options)
resources:  _:    type: constellix:VanityNameserver    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Package Details

Repository
constellix constellix/terraform-provider-constellix
License
Notes
This Pulumi package is based on the constellix Terraform Provider.