1. Packages
  2. Scaleway
  3. API Docs
  4. getDomainZone
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getDomainZone

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Using getDomainZone

    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 getDomainZone(args: GetDomainZoneArgs, opts?: InvokeOptions): Promise<GetDomainZoneResult>
    function getDomainZoneOutput(args: GetDomainZoneOutputArgs, opts?: InvokeOptions): Output<GetDomainZoneResult>
    def get_domain_zone(domain: Optional[str] = None,
                        subdomain: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDomainZoneResult
    def get_domain_zone_output(domain: Optional[pulumi.Input[str]] = None,
                        subdomain: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDomainZoneResult]
    func LookupDomainZone(ctx *Context, args *LookupDomainZoneArgs, opts ...InvokeOption) (*LookupDomainZoneResult, error)
    func LookupDomainZoneOutput(ctx *Context, args *LookupDomainZoneOutputArgs, opts ...InvokeOption) LookupDomainZoneResultOutput

    > Note: This function is named LookupDomainZone in the Go SDK.

    public static class GetDomainZone 
    {
        public static Task<GetDomainZoneResult> InvokeAsync(GetDomainZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainZoneResult> Invoke(GetDomainZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainZoneResult> getDomainZone(GetDomainZoneArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getDomainZone:getDomainZone
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    The primary domain name where the DNS zone is located. This is a mandatory field.
    Subdomain string
    The subdomain (or zone name) within the primary domain. This is a mandatory field.
    Domain string
    The primary domain name where the DNS zone is located. This is a mandatory field.
    Subdomain string
    The subdomain (or zone name) within the primary domain. This is a mandatory field.
    domain String
    The primary domain name where the DNS zone is located. This is a mandatory field.
    subdomain String
    The subdomain (or zone name) within the primary domain. This is a mandatory field.
    domain string
    The primary domain name where the DNS zone is located. This is a mandatory field.
    subdomain string
    The subdomain (or zone name) within the primary domain. This is a mandatory field.
    domain str
    The primary domain name where the DNS zone is located. This is a mandatory field.
    subdomain str
    The subdomain (or zone name) within the primary domain. This is a mandatory field.
    domain String
    The primary domain name where the DNS zone is located. This is a mandatory field.
    subdomain String
    The subdomain (or zone name) within the primary domain. This is a mandatory field.

    getDomainZone Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    Message associated with the domain zone (typically used for status or error messages).
    Ns List<string>
    The list of name servers for the zone.
    NsDefaults List<string>
    The default list of name servers for the zone.
    NsMasters List<string>
    The master list of name servers for the zone.
    ProjectId string
    Status string
    The status of the domain zone.
    UpdatedAt string
    The date and time of the last update to the DNS zone.
    Domain string
    Subdomain string
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    Message associated with the domain zone (typically used for status or error messages).
    Ns []string
    The list of name servers for the zone.
    NsDefaults []string
    The default list of name servers for the zone.
    NsMasters []string
    The master list of name servers for the zone.
    ProjectId string
    Status string
    The status of the domain zone.
    UpdatedAt string
    The date and time of the last update to the DNS zone.
    Domain string
    Subdomain string
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    Message associated with the domain zone (typically used for status or error messages).
    ns List<String>
    The list of name servers for the zone.
    nsDefaults List<String>
    The default list of name servers for the zone.
    nsMasters List<String>
    The master list of name servers for the zone.
    projectId String
    status String
    The status of the domain zone.
    updatedAt String
    The date and time of the last update to the DNS zone.
    domain String
    subdomain String
    id string
    The provider-assigned unique ID for this managed resource.
    message string
    Message associated with the domain zone (typically used for status or error messages).
    ns string[]
    The list of name servers for the zone.
    nsDefaults string[]
    The default list of name servers for the zone.
    nsMasters string[]
    The master list of name servers for the zone.
    projectId string
    status string
    The status of the domain zone.
    updatedAt string
    The date and time of the last update to the DNS zone.
    domain string
    subdomain string
    id str
    The provider-assigned unique ID for this managed resource.
    message str
    Message associated with the domain zone (typically used for status or error messages).
    ns Sequence[str]
    The list of name servers for the zone.
    ns_defaults Sequence[str]
    The default list of name servers for the zone.
    ns_masters Sequence[str]
    The master list of name servers for the zone.
    project_id str
    status str
    The status of the domain zone.
    updated_at str
    The date and time of the last update to the DNS zone.
    domain str
    subdomain str
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    Message associated with the domain zone (typically used for status or error messages).
    ns List<String>
    The list of name servers for the zone.
    nsDefaults List<String>
    The default list of name servers for the zone.
    nsMasters List<String>
    The master list of name servers for the zone.
    projectId String
    status String
    The status of the domain zone.
    updatedAt String
    The date and time of the last update to the DNS zone.
    domain String
    subdomain String

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse