constellix.Domain
Explore with Pulumi AI
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args?: DomainArgs, opts?: CustomResourceOptions);@overload
def Domain(resource_name: str,
           args: Optional[DomainArgs] = None,
           opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           disabled: Optional[bool] = None,
           domain_id: Optional[str] = None,
           has_geoip: Optional[bool] = None,
           has_gtd_regions: Optional[bool] = None,
           name: Optional[str] = None,
           nameserver_group: Optional[str] = None,
           note: Optional[str] = None,
           soa: Optional[Mapping[str, str]] = None,
           tags: Optional[Sequence[str]] = None,
           template: Optional[float] = None,
           vanity_nameserver: Optional[str] = None)func NewDomain(ctx *Context, name string, args *DomainArgs, opts ...ResourceOption) (*Domain, error)public Domain(string name, DomainArgs? args = null, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: constellix:Domain
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 DomainArgs
- 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 DomainArgs
- 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 DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainArgs
- 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 domainResource = new Constellix.Domain("domainResource", new()
{
    Disabled = false,
    DomainId = "string",
    HasGeoip = false,
    HasGtdRegions = false,
    Name = "string",
    NameserverGroup = "string",
    Note = "string",
    Soa = 
    {
        { "string", "string" },
    },
    Tags = new[]
    {
        "string",
    },
    Template = 0,
    VanityNameserver = "string",
});
example, err := constellix.NewDomain(ctx, "domainResource", &constellix.DomainArgs{
Disabled: pulumi.Bool(false),
DomainId: pulumi.String("string"),
HasGeoip: pulumi.Bool(false),
HasGtdRegions: pulumi.Bool(false),
Name: pulumi.String("string"),
NameserverGroup: pulumi.String("string"),
Note: pulumi.String("string"),
Soa: pulumi.StringMap{
"string": pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Template: pulumi.Float64(0),
VanityNameserver: pulumi.String("string"),
})
var domainResource = new Domain("domainResource", DomainArgs.builder()
    .disabled(false)
    .domainId("string")
    .hasGeoip(false)
    .hasGtdRegions(false)
    .name("string")
    .nameserverGroup("string")
    .note("string")
    .soa(Map.of("string", "string"))
    .tags("string")
    .template(0)
    .vanityNameserver("string")
    .build());
domain_resource = constellix.Domain("domainResource",
    disabled=False,
    domain_id="string",
    has_geoip=False,
    has_gtd_regions=False,
    name="string",
    nameserver_group="string",
    note="string",
    soa={
        "string": "string",
    },
    tags=["string"],
    template=0,
    vanity_nameserver="string")
const domainResource = new constellix.Domain("domainResource", {
    disabled: false,
    domainId: "string",
    hasGeoip: false,
    hasGtdRegions: false,
    name: "string",
    nameserverGroup: "string",
    note: "string",
    soa: {
        string: "string",
    },
    tags: ["string"],
    template: 0,
    vanityNameserver: "string",
});
type: constellix:Domain
properties:
    disabled: false
    domainId: string
    hasGeoip: false
    hasGtdRegions: false
    name: string
    nameserverGroup: string
    note: string
    soa:
        string: string
    tags:
        - string
    template: 0
    vanityNameserver: string
Domain 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 Domain resource accepts the following input properties:
- Disabled bool
- DomainId string
- HasGeoip bool
- HasGtd boolRegions 
- Name string
- NameserverGroup string
- Note string
- Soa Dictionary<string, string>
- List<string>
- Template double
- VanityNameserver string
- Disabled bool
- DomainId string
- HasGeoip bool
- HasGtd boolRegions 
- Name string
- NameserverGroup string
- Note string
- Soa map[string]string
- []string
- Template float64
- VanityNameserver string
- disabled Boolean
- domainId String
- hasGeoip Boolean
- hasGtd BooleanRegions 
- name String
- nameserverGroup String
- note String
- soa Map<String,String>
- List<String>
- template Double
- vanityNameserver String
- disabled boolean
- domainId string
- hasGeoip boolean
- hasGtd booleanRegions 
- name string
- nameserverGroup string
- note string
- soa {[key: string]: string}
- string[]
- template number
- vanityNameserver string
- disabled bool
- domain_id str
- has_geoip bool
- has_gtd_ boolregions 
- name str
- nameserver_group str
- note str
- soa Mapping[str, str]
- Sequence[str]
- template float
- vanity_nameserver str
- disabled Boolean
- domainId String
- hasGeoip Boolean
- hasGtd BooleanRegions 
- name String
- nameserverGroup String
- note String
- soa Map<String>
- List<String>
- template Number
- vanityNameserver String
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain 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 Domain Resource
Get an existing Domain 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?: DomainState, opts?: CustomResourceOptions): Domain@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disabled: Optional[bool] = None,
        domain_id: Optional[str] = None,
        has_geoip: Optional[bool] = None,
        has_gtd_regions: Optional[bool] = None,
        name: Optional[str] = None,
        nameserver_group: Optional[str] = None,
        note: Optional[str] = None,
        soa: Optional[Mapping[str, str]] = None,
        tags: Optional[Sequence[str]] = None,
        template: Optional[float] = None,
        vanity_nameserver: Optional[str] = None) -> Domainfunc GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)resources:  _:    type: constellix:Domain    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.
- Disabled bool
- DomainId string
- HasGeoip bool
- HasGtd boolRegions 
- Name string
- NameserverGroup string
- Note string
- Soa Dictionary<string, string>
- List<string>
- Template double
- VanityNameserver string
- Disabled bool
- DomainId string
- HasGeoip bool
- HasGtd boolRegions 
- Name string
- NameserverGroup string
- Note string
- Soa map[string]string
- []string
- Template float64
- VanityNameserver string
- disabled Boolean
- domainId String
- hasGeoip Boolean
- hasGtd BooleanRegions 
- name String
- nameserverGroup String
- note String
- soa Map<String,String>
- List<String>
- template Double
- vanityNameserver String
- disabled boolean
- domainId string
- hasGeoip boolean
- hasGtd booleanRegions 
- name string
- nameserverGroup string
- note string
- soa {[key: string]: string}
- string[]
- template number
- vanityNameserver string
- disabled bool
- domain_id str
- has_geoip bool
- has_gtd_ boolregions 
- name str
- nameserver_group str
- note str
- soa Mapping[str, str]
- Sequence[str]
- template float
- vanity_nameserver str
- disabled Boolean
- domainId String
- hasGeoip Boolean
- hasGtd BooleanRegions 
- name String
- nameserverGroup String
- note String
- soa Map<String>
- List<String>
- template Number
- vanityNameserver String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.