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",
});
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:
- Nameserver
Group This property is required. double - Nameserver
List String This property is required. string - Is
Default bool - Is
Public bool - Name string
- Nameserver
Group stringName - Vanity
Nameserver stringId
- Nameserver
Group This property is required. float64 - Nameserver
List String This property is required. string - Is
Default bool - Is
Public bool - Name string
- Nameserver
Group stringName - Vanity
Nameserver stringId
- nameserver
Group This property is required. Double - nameserver
List String This property is required. String - is
Default Boolean - is
Public Boolean - name String
- nameserver
Group StringName - vanity
Nameserver StringId
- nameserver
Group This property is required. number - nameserver
List String This property is required. string - is
Default boolean - is
Public boolean - name string
- nameserver
Group stringName - vanity
Nameserver stringId
- 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_ strname - vanity_
nameserver_ strid
- nameserver
Group This property is required. Number - nameserver
List String This property is required. String - is
Default Boolean - is
Public Boolean - name String
- nameserver
Group StringName - vanity
Nameserver 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) -> 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.
- Is
Default bool - Is
Public bool - Name string
- Nameserver
Group double - Nameserver
Group stringName - Nameserver
List stringString - Vanity
Nameserver stringId
- Is
Default bool - Is
Public bool - Name string
- Nameserver
Group float64 - Nameserver
Group stringName - Nameserver
List stringString - Vanity
Nameserver stringId
- is
Default Boolean - is
Public Boolean - name String
- nameserver
Group Double - nameserver
Group StringName - nameserver
List StringString - vanity
Nameserver StringId
- is
Default boolean - is
Public boolean - name string
- nameserver
Group number - nameserver
Group stringName - nameserver
List stringString - vanity
Nameserver stringId
- is_
default bool - is_
public bool - name str
- nameserver_
group float - nameserver_
group_ strname - nameserver_
list_ strstring - vanity_
nameserver_ strid
- is
Default Boolean - is
Public Boolean - name String
- nameserver
Group Number - nameserver
Group StringName - nameserver
List StringString - vanity
Nameserver StringId
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.