constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
constellix.getDomain
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
Data source for Constellix domain
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const domain1 = constellix.getDomain({
name: "datasourcedomain.com",
});
import pulumi
import pulumi_constellix as constellix
domain1 = constellix.get_domain(name="datasourcedomain.com")
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.LookupDomain(ctx, &constellix.LookupDomainArgs{
Name: "datasourcedomain.com",
}, 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 domain1 = Constellix.GetDomain.Invoke(new()
{
Name = "datasourcedomain.com",
});
});
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.GetDomainArgs;
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 domain1 = ConstellixFunctions.getDomain(GetDomainArgs.builder()
.name("datasourcedomain.com")
.build());
}
}
variables:
domain1:
fn::invoke:
function: constellix:getDomain
arguments:
name: datasourcedomain.com
Argument Reference
name- (Required) Name of the domain.
Using getDomain
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 getDomain(args: GetDomainArgs, opts?: InvokeOptions): Promise<GetDomainResult>
function getDomainOutput(args: GetDomainOutputArgs, opts?: InvokeOptions): Output<GetDomainResult>def get_domain(disabled: Optional[bool] = None,
has_geoip: Optional[bool] = None,
has_gtd_regions: Optional[bool] = None,
id: Optional[str] = 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,
vanity_nameserver: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainResult
def get_domain_output(disabled: Optional[pulumi.Input[bool]] = None,
has_geoip: Optional[pulumi.Input[bool]] = None,
has_gtd_regions: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
nameserver_group: Optional[pulumi.Input[str]] = None,
note: Optional[pulumi.Input[str]] = None,
soa: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
vanity_nameserver: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainResult]func LookupDomain(ctx *Context, args *LookupDomainArgs, opts ...InvokeOption) (*LookupDomainResult, error)
func LookupDomainOutput(ctx *Context, args *LookupDomainOutputArgs, opts ...InvokeOption) LookupDomainResultOutput> Note: This function is named LookupDomain in the Go SDK.
public static class GetDomain
{
public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions? opts = null)
public static Output<GetDomainResult> Invoke(GetDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
public static Output<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getDomain:getDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- Has
Geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- Has
Gtd boolRegions - (Optional) GTD Region status of the domain. The Default value is false.
- Id string
- Nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- Note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- Soa Dictionary<string, string>
- (Optional) Object
- List<string>
- (Optional) Id of tags applied on domain. The default value is empty.
- Vanity
Nameserver string - (Optional) vanity nameserver of domain.
- Name string
- Disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- Has
Geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- Has
Gtd boolRegions - (Optional) GTD Region status of the domain. The Default value is false.
- Id string
- Nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- Note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- Soa map[string]string
- (Optional) Object
- []string
- (Optional) Id of tags applied on domain. The default value is empty.
- Vanity
Nameserver string - (Optional) vanity nameserver of domain.
- name String
- disabled Boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip Boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd BooleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id String
- nameserver
Group String - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note String
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Map<String,String>
- (Optional) Object
- List<String>
- (Optional) Id of tags applied on domain. The default value is empty.
- vanity
Nameserver String - (Optional) vanity nameserver of domain.
- name string
- disabled boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd booleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id string
- nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa {[key: string]: string}
- (Optional) Object
- string[]
- (Optional) Id of tags applied on domain. The default value is empty.
- vanity
Nameserver string - (Optional) vanity nameserver of domain.
- name str
- disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has_
geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- has_
gtd_ boolregions - (Optional) GTD Region status of the domain. The Default value is false.
- id str
- nameserver_
group str - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note str
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Mapping[str, str]
- (Optional) Object
- Sequence[str]
- (Optional) Id of tags applied on domain. The default value is empty.
- vanity_
nameserver str - (Optional) vanity nameserver of domain.
- name String
- disabled Boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip Boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd BooleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id String
- nameserver
Group String - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note String
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Map<String>
- (Optional) Object
- List<String>
- (Optional) Id of tags applied on domain. The default value is empty.
- vanity
Nameserver String - (Optional) vanity nameserver of domain.
getDomain Result
The following output properties are available:
- Disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- Has
Geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- Has
Gtd boolRegions - (Optional) GTD Region status of the domain. The Default value is false.
- Id string
- Name string
- Nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- Note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- Soa Dictionary<string, string>
- (Optional) Object
- Vanity
Nameserver string - (Optional) vanity nameserver of domain.
- List<string>
- (Optional) Id of tags applied on domain. The default value is empty.
- Disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- Has
Geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- Has
Gtd boolRegions - (Optional) GTD Region status of the domain. The Default value is false.
- Id string
- Name string
- Nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- Note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- Soa map[string]string
- (Optional) Object
- Vanity
Nameserver string - (Optional) vanity nameserver of domain.
- []string
- (Optional) Id of tags applied on domain. The default value is empty.
- disabled Boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip Boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd BooleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id String
- name String
- nameserver
Group String - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note String
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Map<String,String>
- (Optional) Object
- vanity
Nameserver String - (Optional) vanity nameserver of domain.
- List<String>
- (Optional) Id of tags applied on domain. The default value is empty.
- disabled boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd booleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id string
- name string
- nameserver
Group string - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note string
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa {[key: string]: string}
- (Optional) Object
- vanity
Nameserver string - (Optional) vanity nameserver of domain.
- string[]
- (Optional) Id of tags applied on domain. The default value is empty.
- disabled bool
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has_
geoip bool - (Optional) GTD Region status of the domain. The Default value is false.
- has_
gtd_ boolregions - (Optional) GTD Region status of the domain. The Default value is false.
- id str
- name str
- nameserver_
group str - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note str
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Mapping[str, str]
- (Optional) Object
- vanity_
nameserver str - (Optional) vanity nameserver of domain.
- Sequence[str]
- (Optional) Id of tags applied on domain. The default value is empty.
- disabled Boolean
- (Optional) Indicates if the domain is disabled. The Default value is false.
- has
Geoip Boolean - (Optional) GTD Region status of the domain. The Default value is false.
- has
Gtd BooleanRegions - (Optional) GTD Region status of the domain. The Default value is false.
- id String
- name String
- nameserver
Group String - (Optional) Shows the nameserver group of domain. The Default nameserverGroup is 1.
- note String
- (Optional) Notes while creating the domain. The maximum length will be 1000 characters.
- soa Map<String>
- (Optional) Object
- vanity
Nameserver String - (Optional) vanity nameserver of domain.
- List<String>
- (Optional) Id of tags applied on domain. The default value is empty.
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellixTerraform Provider.
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
