Scaleway v1.29.0 published on Tuesday, May 27, 2025 by pulumiverse
scaleway.domain.getZone
Explore with Pulumi AI
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>
def get_zone(domain: Optional[str] = None,
project_id: Optional[str] = None,
subdomain: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZoneResult
def get_zone_output(domain: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
subdomain: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZoneResult]
func LookupZone(ctx *Context, args *LookupZoneArgs, opts ...InvokeOption) (*LookupZoneResult, error)
func LookupZoneOutput(ctx *Context, args *LookupZoneOutputArgs, opts ...InvokeOption) LookupZoneResultOutput
> 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)
}
public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
public static Output<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:domain/getZone:getZone
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.
- Project
Id string - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- Project
Id string - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- project
Id String - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- project
Id string - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- project_
id str - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- project
Id String - ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the
project_id
set in the provider configuration. - 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.
- Ns
Defaults List<string> - The default list of name servers for the zone.
- Ns
Masters List<string> - The master list of name servers for the zone.
- Status string
- The status of the domain zone.
- Updated
At string - The date and time of the last update to the DNS zone.
- Domain string
- Project
Id 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.
- Ns
Defaults []string - The default list of name servers for the zone.
- Ns
Masters []string - The master list of name servers for the zone.
- Status string
- The status of the domain zone.
- Updated
At string - The date and time of the last update to the DNS zone.
- Domain string
- Project
Id 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.
- ns
Defaults List<String> - The default list of name servers for the zone.
- ns
Masters List<String> - The master list of name servers for the zone.
- status String
- The status of the domain zone.
- updated
At String - The date and time of the last update to the DNS zone.
- domain String
- project
Id 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.
- ns
Defaults string[] - The default list of name servers for the zone.
- ns
Masters string[] - The master list of name servers for the zone.
- status string
- The status of the domain zone.
- updated
At string - The date and time of the last update to the DNS zone.
- domain string
- project
Id 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.
- 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
- project_
id 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.
- ns
Defaults List<String> - The default list of name servers for the zone.
- ns
Masters List<String> - The master list of name servers for the zone.
- status String
- The status of the domain zone.
- updated
At String - The date and time of the last update to the DNS zone.
- domain String
- project
Id 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.