1. Packages
  2. Scaleway
  3. API Docs
  4. domain
  5. getZone
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.domain.getZone

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

Using getZone

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 getZone(args: GetZoneArgs, opts?: InvokeOptions): Promise<GetZoneResult>
function getZoneOutput(args: GetZoneOutputArgs, opts?: InvokeOptions): Output<GetZoneResult>
Copy
def get_zone(domain: Optional[str] = None,
             subdomain: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetZoneResult
def get_zone_output(domain: Optional[pulumi.Input[str]] = None,
             subdomain: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetZoneResult]
Copy
func LookupZone(ctx *Context, args *LookupZoneArgs, opts ...InvokeOption) (*LookupZoneResult, error)
func LookupZoneOutput(ctx *Context, args *LookupZoneOutputArgs, opts ...InvokeOption) LookupZoneResultOutput
Copy

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

public static class GetZone 
{
    public static Task<GetZoneResult> InvokeAsync(GetZoneArgs args, InvokeOptions? opts = null)
    public static Output<GetZoneResult> Invoke(GetZoneInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
public static Output<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:domain/getZone:getZone
  arguments:
    # arguments dictionary
Copy

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.

getZone 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 v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse