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 string
- The unique name of the resource.
- args VanityNameserverArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args VanityNameserverArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VanityNameserverArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var vanityNameserverResource = new VanityNameserver("vanityNameserverResource", VanityNameserverArgs.builder()
    .nameserverGroup(0)
    .nameserverListString("string")
    .isDefault(false)
    .isPublic(false)
    .name("string")
    .nameserverGroupName("string")
    .vanityNameserverId("string")
    .build());
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")
const vanityNameserverResource = new constellix.VanityNameserver("vanityNameserverResource", {
    nameserverGroup: 0,
    nameserverListString: "string",
    isDefault: false,
    isPublic: false,
    name: "string",
    nameserverGroupName: "string",
    vanityNameserverId: "string",
});
type: constellix:VanityNameserver
properties:
    isDefault: false
    isPublic: false
    name: string
    nameserverGroup: 0
    nameserverGroupName: string
    nameserverListString: string
    vanityNameserverId: string
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 double
- NameserverList stringString 
- IsDefault bool
- IsPublic bool
- Name string
- NameserverGroup stringName 
- VanityNameserver stringId 
- NameserverGroup float64
- NameserverList stringString 
- IsDefault bool
- IsPublic bool
- Name string
- NameserverGroup stringName 
- VanityNameserver stringId 
- nameserverGroup Double
- nameserverList StringString 
- isDefault Boolean
- isPublic Boolean
- name String
- nameserverGroup StringName 
- vanityNameserver StringId 
- nameserverGroup number
- nameserverList stringString 
- isDefault boolean
- isPublic boolean
- name string
- nameserverGroup stringName 
- vanityNameserver stringId 
- nameserver_group float
- nameserver_list_ strstring 
- is_default bool
- is_public bool
- name str
- nameserver_group_ strname 
- vanity_nameserver_ strid 
- nameserverGroup Number
- nameserverList StringString 
- isDefault Boolean
- isPublic Boolean
- name String
- nameserverGroup StringName 
- vanityNameserver StringId 
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) -> VanityNameserverfunc 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- IsDefault bool
- IsPublic bool
- Name string
- NameserverGroup double
- NameserverGroup stringName 
- NameserverList stringString 
- VanityNameserver stringId 
- IsDefault bool
- IsPublic bool
- Name string
- NameserverGroup float64
- NameserverGroup stringName 
- NameserverList stringString 
- VanityNameserver stringId 
- isDefault Boolean
- isPublic Boolean
- name String
- nameserverGroup Double
- nameserverGroup StringName 
- nameserverList StringString 
- vanityNameserver StringId 
- isDefault boolean
- isPublic boolean
- name string
- nameserverGroup number
- nameserverGroup stringName 
- nameserverList stringString 
- vanityNameserver stringId 
- is_default bool
- is_public bool
- name str
- nameserver_group float
- nameserver_group_ strname 
- nameserver_list_ strstring 
- vanity_nameserver_ strid 
- isDefault Boolean
- isPublic Boolean
- name String
- nameserverGroup Number
- nameserverGroup StringName 
- nameserverList StringString 
- vanityNameserver StringId 
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.