stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
DNS Zone resource schema.
Example Usage
data "stackit_dns_zone" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
zone_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getDnsZone
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 getDnsZone(args: GetDnsZoneArgs, opts?: InvokeOptions): Promise<GetDnsZoneResult>
function getDnsZoneOutput(args: GetDnsZoneOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneResult>def get_dns_zone(dns_name: Optional[str] = None,
project_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsZoneResult
def get_dns_zone_output(dns_name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneResult]func LookupDnsZone(ctx *Context, args *LookupDnsZoneArgs, opts ...InvokeOption) (*LookupDnsZoneResult, error)
func LookupDnsZoneOutput(ctx *Context, args *LookupDnsZoneOutputArgs, opts ...InvokeOption) LookupDnsZoneResultOutput> Note: This function is named LookupDnsZone in the Go SDK.
public static class GetDnsZone
{
public static Task<GetDnsZoneResult> InvokeAsync(GetDnsZoneArgs args, InvokeOptions? opts = null)
public static Output<GetDnsZoneResult> Invoke(GetDnsZoneInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsZoneResult> getDnsZone(GetDnsZoneArgs args, InvokeOptions options)
public static Output<GetDnsZoneResult> getDnsZone(GetDnsZoneArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getDnsZone:getDnsZone
arguments:
# arguments dictionaryThe following arguments are supported:
- project_
id str - STACKIT project ID to which the dns zone is associated.
- dns_
name str - The zone name. E.g.
example.com - zone_
id str - The zone ID.
getDnsZone Result
The following output properties are available:
- Acl string
- The access control list.
- Active bool
- Contact
Email string - A contact e-mail for the zone.
- Default
Ttl int - Default time to live.
- Description string
- Description of the zone.
- Expire
Time int - Expire time.
- Id string
- Is
Reverse boolZone - Specifies, if the zone is a reverse zone or not.
- Name string
- The user given name of the zone.
- Negative
Cache int - Negative caching.
- Primaries List<string>
- Primary name server for secondary zone.
- Primary
Name stringServer - Primary name server. FQDN.
- Project
Id string - STACKIT project ID to which the dns zone is associated.
- Record
Count int - Record count how many records are in the zone.
- Refresh
Time int - Refresh time.
- Retry
Time int - Retry time.
- Serial
Number int - Serial number.
- State string
- Zone state.
- Type string
- Zone type.
- Visibility string
- Visibility of the zone.
- Dns
Name string - The zone name. E.g.
example.com - Zone
Id string - The zone ID.
- Acl string
- The access control list.
- Active bool
- Contact
Email string - A contact e-mail for the zone.
- Default
Ttl int - Default time to live.
- Description string
- Description of the zone.
- Expire
Time int - Expire time.
- Id string
- Is
Reverse boolZone - Specifies, if the zone is a reverse zone or not.
- Name string
- The user given name of the zone.
- Negative
Cache int - Negative caching.
- Primaries []string
- Primary name server for secondary zone.
- Primary
Name stringServer - Primary name server. FQDN.
- Project
Id string - STACKIT project ID to which the dns zone is associated.
- Record
Count int - Record count how many records are in the zone.
- Refresh
Time int - Refresh time.
- Retry
Time int - Retry time.
- Serial
Number int - Serial number.
- State string
- Zone state.
- Type string
- Zone type.
- Visibility string
- Visibility of the zone.
- Dns
Name string - The zone name. E.g.
example.com - Zone
Id string - The zone ID.
- acl String
- The access control list.
- active Boolean
- contact
Email String - A contact e-mail for the zone.
- default
Ttl Integer - Default time to live.
- description String
- Description of the zone.
- expire
Time Integer - Expire time.
- id String
- is
Reverse BooleanZone - Specifies, if the zone is a reverse zone or not.
- name String
- The user given name of the zone.
- negative
Cache Integer - Negative caching.
- primaries List<String>
- Primary name server for secondary zone.
- primary
Name StringServer - Primary name server. FQDN.
- project
Id String - STACKIT project ID to which the dns zone is associated.
- record
Count Integer - Record count how many records are in the zone.
- refresh
Time Integer - Refresh time.
- retry
Time Integer - Retry time.
- serial
Number Integer - Serial number.
- state String
- Zone state.
- type String
- Zone type.
- visibility String
- Visibility of the zone.
- dns
Name String - The zone name. E.g.
example.com - zone
Id String - The zone ID.
- acl string
- The access control list.
- active boolean
- contact
Email string - A contact e-mail for the zone.
- default
Ttl number - Default time to live.
- description string
- Description of the zone.
- expire
Time number - Expire time.
- id string
- is
Reverse booleanZone - Specifies, if the zone is a reverse zone or not.
- name string
- The user given name of the zone.
- negative
Cache number - Negative caching.
- primaries string[]
- Primary name server for secondary zone.
- primary
Name stringServer - Primary name server. FQDN.
- project
Id string - STACKIT project ID to which the dns zone is associated.
- record
Count number - Record count how many records are in the zone.
- refresh
Time number - Refresh time.
- retry
Time number - Retry time.
- serial
Number number - Serial number.
- state string
- Zone state.
- type string
- Zone type.
- visibility string
- Visibility of the zone.
- dns
Name string - The zone name. E.g.
example.com - zone
Id string - The zone ID.
- acl str
- The access control list.
- active bool
- contact_
email str - A contact e-mail for the zone.
- default_
ttl int - Default time to live.
- description str
- Description of the zone.
- expire_
time int - Expire time.
- id str
- is_
reverse_ boolzone - Specifies, if the zone is a reverse zone or not.
- name str
- The user given name of the zone.
- negative_
cache int - Negative caching.
- primaries Sequence[str]
- Primary name server for secondary zone.
- primary_
name_ strserver - Primary name server. FQDN.
- project_
id str - STACKIT project ID to which the dns zone is associated.
- record_
count int - Record count how many records are in the zone.
- refresh_
time int - Refresh time.
- retry_
time int - Retry time.
- serial_
number int - Serial number.
- state str
- Zone state.
- type str
- Zone type.
- visibility str
- Visibility of the zone.
- dns_
name str - The zone name. E.g.
example.com - zone_
id str - The zone ID.
- acl String
- The access control list.
- active Boolean
- contact
Email String - A contact e-mail for the zone.
- default
Ttl Number - Default time to live.
- description String
- Description of the zone.
- expire
Time Number - Expire time.
- id String
- is
Reverse BooleanZone - Specifies, if the zone is a reverse zone or not.
- name String
- The user given name of the zone.
- negative
Cache Number - Negative caching.
- primaries List<String>
- Primary name server for secondary zone.
- primary
Name StringServer - Primary name server. FQDN.
- project
Id String - STACKIT project ID to which the dns zone is associated.
- record
Count Number - Record count how many records are in the zone.
- refresh
Time Number - Refresh time.
- retry
Time Number - Retry time.
- serial
Number Number - Serial number.
- state String
- Zone state.
- type String
- Zone type.
- visibility String
- Visibility of the zone.
- dns
Name String - The zone name. E.g.
example.com - zone
Id String - The zone ID.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
