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 Record Set Resource schema.
Example Usage
data "stackit_dns_record_set" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
zone_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
record_set_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getDnsRecordSet
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 getDnsRecordSet(args: GetDnsRecordSetArgs, opts?: InvokeOptions): Promise<GetDnsRecordSetResult>
function getDnsRecordSetOutput(args: GetDnsRecordSetOutputArgs, opts?: InvokeOptions): Output<GetDnsRecordSetResult>def get_dns_record_set(project_id: Optional[str] = None,
record_set_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsRecordSetResult
def get_dns_record_set_output(project_id: Optional[pulumi.Input[str]] = None,
record_set_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsRecordSetResult]func LookupDnsRecordSet(ctx *Context, args *LookupDnsRecordSetArgs, opts ...InvokeOption) (*LookupDnsRecordSetResult, error)
func LookupDnsRecordSetOutput(ctx *Context, args *LookupDnsRecordSetOutputArgs, opts ...InvokeOption) LookupDnsRecordSetResultOutput> Note: This function is named LookupDnsRecordSet in the Go SDK.
public static class GetDnsRecordSet
{
public static Task<GetDnsRecordSetResult> InvokeAsync(GetDnsRecordSetArgs args, InvokeOptions? opts = null)
public static Output<GetDnsRecordSetResult> Invoke(GetDnsRecordSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsRecordSetResult> getDnsRecordSet(GetDnsRecordSetArgs args, InvokeOptions options)
public static Output<GetDnsRecordSetResult> getDnsRecordSet(GetDnsRecordSetArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getDnsRecordSet:getDnsRecordSet
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - STACKIT project ID to which the dns record set is associated.
- Record
Set stringId - The rr set id.
- Zone
Id string - The zone ID to which is dns record set is associated.
- Project
Id string - STACKIT project ID to which the dns record set is associated.
- Record
Set stringId - The rr set id.
- Zone
Id string - The zone ID to which is dns record set is associated.
- project
Id String - STACKIT project ID to which the dns record set is associated.
- record
Set StringId - The rr set id.
- zone
Id String - The zone ID to which is dns record set is associated.
- project
Id string - STACKIT project ID to which the dns record set is associated.
- record
Set stringId - The rr set id.
- zone
Id string - The zone ID to which is dns record set is associated.
- project_
id str - STACKIT project ID to which the dns record set is associated.
- record_
set_ strid - The rr set id.
- zone_
id str - The zone ID to which is dns record set is associated.
- project
Id String - STACKIT project ID to which the dns record set is associated.
- record
Set StringId - The rr set id.
- zone
Id String - The zone ID to which is dns record set is associated.
getDnsRecordSet Result
The following output properties are available:
- Active bool
- Specifies if the record set is active or not.
- Comment string
- Comment.
- Error string
- Error shows error in case create/update/delete failed.
- Fqdn string
- Fully qualified domain name (FQDN) of the record set.
- Id string
- Name string
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - Project
Id string - STACKIT project ID to which the dns record set is associated.
- Record
Set stringId - The rr set id.
- Records List<string>
- Records.
- State string
- Record set state.
- Ttl int
- Time to live. E.g. 3600
- Type string
- The record set type. E.g.
AorCNAME - Zone
Id string - The zone ID to which is dns record set is associated.
- Active bool
- Specifies if the record set is active or not.
- Comment string
- Comment.
- Error string
- Error shows error in case create/update/delete failed.
- Fqdn string
- Fully qualified domain name (FQDN) of the record set.
- Id string
- Name string
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - Project
Id string - STACKIT project ID to which the dns record set is associated.
- Record
Set stringId - The rr set id.
- Records []string
- Records.
- State string
- Record set state.
- Ttl int
- Time to live. E.g. 3600
- Type string
- The record set type. E.g.
AorCNAME - Zone
Id string - The zone ID to which is dns record set is associated.
- active Boolean
- Specifies if the record set is active or not.
- comment String
- Comment.
- error String
- Error shows error in case create/update/delete failed.
- fqdn String
- Fully qualified domain name (FQDN) of the record set.
- id String
- name String
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - project
Id String - STACKIT project ID to which the dns record set is associated.
- record
Set StringId - The rr set id.
- records List<String>
- Records.
- state String
- Record set state.
- ttl Integer
- Time to live. E.g. 3600
- type String
- The record set type. E.g.
AorCNAME - zone
Id String - The zone ID to which is dns record set is associated.
- active boolean
- Specifies if the record set is active or not.
- comment string
- Comment.
- error string
- Error shows error in case create/update/delete failed.
- fqdn string
- Fully qualified domain name (FQDN) of the record set.
- id string
- name string
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - project
Id string - STACKIT project ID to which the dns record set is associated.
- record
Set stringId - The rr set id.
- records string[]
- Records.
- state string
- Record set state.
- ttl number
- Time to live. E.g. 3600
- type string
- The record set type. E.g.
AorCNAME - zone
Id string - The zone ID to which is dns record set is associated.
- active bool
- Specifies if the record set is active or not.
- comment str
- Comment.
- error str
- Error shows error in case create/update/delete failed.
- fqdn str
- Fully qualified domain name (FQDN) of the record set.
- id str
- name str
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - project_
id str - STACKIT project ID to which the dns record set is associated.
- record_
set_ strid - The rr set id.
- records Sequence[str]
- Records.
- state str
- Record set state.
- ttl int
- Time to live. E.g. 3600
- type str
- The record set type. E.g.
AorCNAME - zone_
id str - The zone ID to which is dns record set is associated.
- active Boolean
- Specifies if the record set is active or not.
- comment String
- Comment.
- error String
- Error shows error in case create/update/delete failed.
- fqdn String
- Fully qualified domain name (FQDN) of the record set.
- id String
- name String
- Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.
example.com - project
Id String - STACKIT project ID to which the dns record set is associated.
- record
Set StringId - The rr set id.
- records List<String>
- Records.
- state String
- Record set state.
- ttl Number
- Time to live. E.g. 3600
- type String
- The record set type. E.g.
AorCNAME - zone
Id String - The zone ID to which is dns record set is associated.
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
