Gandi v2.3.0 published on Saturday, Oct 4, 2025 by Pulumiverse
gandi.domains.getDomain
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(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainResult
def get_domain_output(name: 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: gandi:domains/getDomain:getDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The FQDN of the domain
- Name string
- The FQDN of the domain
- name String
- The FQDN of the domain
- name string
- The FQDN of the domain
- name str
- The FQDN of the domain
- name String
- The FQDN of the domain
getDomain Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The FQDN of the domain
- Nameservers List<string>
- A list of nameservers for the domain
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The FQDN of the domain
- Nameservers []string
- A list of nameservers for the domain
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The FQDN of the domain
- nameservers List<String>
- A list of nameservers for the domain
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The FQDN of the domain
- nameservers string[]
- A list of nameservers for the domain
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The FQDN of the domain
- nameservers Sequence[str]
- A list of nameservers for the domain
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The FQDN of the domain
- nameservers List<String>
- A list of nameservers for the domain
Package Details
- Repository
- gandi pulumiverse/pulumi-gandi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gandiTerraform Provider.
