Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core
DNS resource record sets (RRsets) define individual DNS records such as A, AAAA, CNAME, MX, and TXT with TTL and geo-balancing settings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleDnsZoneRrsets = gcore.getDnsZoneRrsets({
zoneName: "zoneName",
orderBy: "order_by",
orderDirection: "asc",
});
import pulumi
import pulumi_gcore as gcore
example_dns_zone_rrsets = gcore.get_dns_zone_rrsets(zone_name="zoneName",
order_by="order_by",
order_direction="asc")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.GetDnsZoneRrsets(ctx, &gcore.GetDnsZoneRrsetsArgs{
ZoneName: "zoneName",
OrderBy: pulumi.StringRef("order_by"),
OrderDirection: pulumi.StringRef("asc"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleDnsZoneRrsets = Gcore.GetDnsZoneRrsets.Invoke(new()
{
ZoneName = "zoneName",
OrderBy = "order_by",
OrderDirection = "asc",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetDnsZoneRrsetsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleDnsZoneRrsets = GcoreFunctions.getDnsZoneRrsets(GetDnsZoneRrsetsArgs.builder()
.zoneName("zoneName")
.orderBy("order_by")
.orderDirection("asc")
.build());
}
}
variables:
exampleDnsZoneRrsets:
fn::invoke:
function: gcore:getDnsZoneRrsets
arguments:
zoneName: zoneName
orderBy: order_by
orderDirection: asc
Example coming soon!
Using getDnsZoneRrsets
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 getDnsZoneRrsets(args: GetDnsZoneRrsetsArgs, opts?: InvokeOptions): Promise<GetDnsZoneRrsetsResult>
function getDnsZoneRrsetsOutput(args: GetDnsZoneRrsetsOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneRrsetsResult>def get_dns_zone_rrsets(max_items: Optional[float] = None,
order_by: Optional[str] = None,
order_direction: Optional[str] = None,
zone_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsZoneRrsetsResult
def get_dns_zone_rrsets_output(max_items: pulumi.Input[Optional[float]] = None,
order_by: pulumi.Input[Optional[str]] = None,
order_direction: pulumi.Input[Optional[str]] = None,
zone_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneRrsetsResult]func GetDnsZoneRrsets(ctx *Context, args *GetDnsZoneRrsetsArgs, opts ...InvokeOption) (*GetDnsZoneRrsetsResult, error)
func GetDnsZoneRrsetsOutput(ctx *Context, args *GetDnsZoneRrsetsOutputArgs, opts ...InvokeOption) GetDnsZoneRrsetsResultOutput> Note: This function is named GetDnsZoneRrsets in the Go SDK.
public static class GetDnsZoneRrsets
{
public static Task<GetDnsZoneRrsetsResult> InvokeAsync(GetDnsZoneRrsetsArgs args, InvokeOptions? opts = null)
public static Output<GetDnsZoneRrsetsResult> Invoke(GetDnsZoneRrsetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsZoneRrsetsResult> getDnsZoneRrsets(GetDnsZoneRrsetsArgs args, InvokeOptions options)
public static Output<GetDnsZoneRrsetsResult> getDnsZoneRrsets(GetDnsZoneRrsetsArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getDnsZoneRrsets:getDnsZoneRrsets
arguments:
# arguments dictionarydata "gcore_get_dns_zone_rrsets" "name" {
# arguments
}The following arguments are supported:
- Zone
Name string - Max
Items double - Max items to fetch, default: 1000
- Order
By string - Field name to sort by
- Order
Direction string - Ascending or descending order Available values: "asc", "desc".
- Zone
Name string - Max
Items float64 - Max items to fetch, default: 1000
- Order
By string - Field name to sort by
- Order
Direction string - Ascending or descending order Available values: "asc", "desc".
- zone_
name string - max_
items number - Max items to fetch, default: 1000
- order_
by string - Field name to sort by
- order_
direction string - Ascending or descending order Available values: "asc", "desc".
- zone
Name String - max
Items Double - Max items to fetch, default: 1000
- order
By String - Field name to sort by
- order
Direction String - Ascending or descending order Available values: "asc", "desc".
- zone
Name string - max
Items number - Max items to fetch, default: 1000
- order
By string - Field name to sort by
- order
Direction string - Ascending or descending order Available values: "asc", "desc".
- zone_
name str - max_
items float - Max items to fetch, default: 1000
- order_
by str - Field name to sort by
- order_
direction str - Ascending or descending order Available values: "asc", "desc".
- zone
Name String - max
Items Number - Max items to fetch, default: 1000
- order
By String - Field name to sort by
- order
Direction String - Ascending or descending order Available values: "asc", "desc".
getDnsZoneRrsets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Dns Zone Rrsets Item> - The items returned by the data source
- Zone
Name string - Max
Items double - Max items to fetch, default: 1000
- Order
By string - Field name to sort by
- Order
Direction string - Ascending or descending order Available values: "asc", "desc".
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Dns Zone Rrsets Item - The items returned by the data source
- Zone
Name string - Max
Items float64 - Max items to fetch, default: 1000
- Order
By string - Field name to sort by
- Order
Direction string - Ascending or descending order Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- The items returned by the data source
- zone_
name string - max_
items number - Max items to fetch, default: 1000
- order_
by string - Field name to sort by
- order_
direction string - Ascending or descending order Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Dns Zone Rrsets Item> - The items returned by the data source
- zone
Name String - max
Items Double - Max items to fetch, default: 1000
- order
By String - Field name to sort by
- order
Direction String - Ascending or descending order Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Dns Zone Rrsets Item[] - The items returned by the data source
- zone
Name string - max
Items number - Max items to fetch, default: 1000
- order
By string - Field name to sort by
- order
Direction string - Ascending or descending order Available values: "asc", "desc".
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Dns Zone Rrsets Item] - The items returned by the data source
- zone_
name str - max_
items float - Max items to fetch, default: 1000
- order_
by str - Field name to sort by
- order_
direction str - Ascending or descending order Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The items returned by the data source
- zone
Name String - max
Items Number - Max items to fetch, default: 1000
- order
By String - Field name to sort by
- order
Direction String - Ascending or descending order Available values: "asc", "desc".
Supporting Types
GetDnsZoneRrsetsItem
- Filter
Set doubleId - Meta Dictionary<string, string>
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- Name string
- Pickers
List<Get
Dns Zone Rrsets Item Picker> - Set of pickers
- Resource
Records List<GetDns Zone Rrsets Item Resource Record> - List of resource record from rrset
- Ttl double
- Type string
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- Updated
At string - Timestamp marshals/unmarshals date and time as timestamp in json
- Warning string
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- Warnings
List<Get
Dns Zone Rrsets Item Warning> - Warning about some possible side effects without strictly disallowing operations on rrset readonly
- Filter
Set float64Id - Meta map[string]string
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- Name string
- Pickers
[]Get
Dns Zone Rrsets Item Picker - Set of pickers
- Resource
Records []GetDns Zone Rrsets Item Resource Record - List of resource record from rrset
- Ttl float64
- Type string
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- Updated
At string - Timestamp marshals/unmarshals date and time as timestamp in json
- Warning string
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- Warnings
[]Get
Dns Zone Rrsets Item Warning - Warning about some possible side effects without strictly disallowing operations on rrset readonly
- filter_
set_ numberid - meta map(string)
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- name string
- pickers list(object)
- Set of pickers
- resource_
records list(object) - List of resource record from rrset
- ttl number
- type string
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- updated_
at string - Timestamp marshals/unmarshals date and time as timestamp in json
- warning string
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- warnings list(object)
- Warning about some possible side effects without strictly disallowing operations on rrset readonly
- filter
Set DoubleId - meta Map<String,String>
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- name String
- pickers
List<Get
Dns Zone Rrsets Item Picker> - Set of pickers
- resource
Records List<GetDns Zone Rrsets Item Resource Record> - List of resource record from rrset
- ttl Double
- type String
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- updated
At String - Timestamp marshals/unmarshals date and time as timestamp in json
- warning String
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- warnings
List<Get
Dns Zone Rrsets Item Warning> - Warning about some possible side effects without strictly disallowing operations on rrset readonly
- filter
Set numberId - meta {[key: string]: string}
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- name string
- pickers
Get
Dns Zone Rrsets Item Picker[] - Set of pickers
- resource
Records GetDns Zone Rrsets Item Resource Record[] - List of resource record from rrset
- ttl number
- type string
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- updated
At string - Timestamp marshals/unmarshals date and time as timestamp in json
- warning string
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- warnings
Get
Dns Zone Rrsets Item Warning[] - Warning about some possible side effects without strictly disallowing operations on rrset readonly
- filter_
set_ floatid - meta Mapping[str, str]
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- name str
- pickers
Sequence[Get
Dns Zone Rrsets Item Picker] - Set of pickers
- resource_
records Sequence[GetDns Zone Rrsets Item Resource Record] - List of resource record from rrset
- ttl float
- type str
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- updated_
at str - Timestamp marshals/unmarshals date and time as timestamp in json
- warning str
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- warnings
Sequence[Get
Dns Zone Rrsets Item Warning] - Warning about some possible side effects without strictly disallowing operations on rrset readonly
- filter
Set NumberId - meta Map<String>
- Meta information for rrset. Map with string key and any valid json as value, with valid keys
- name String
- pickers List<Property Map>
- Set of pickers
- resource
Records List<Property Map> - List of resource record from rrset
- ttl Number
- type String
- RRSet type Available values: "A", "AAAA", "NS", "CNAME", "MX", "TXT", "SRV", "SOA", "PTR", "SVCB", "HTTPS", "CAA", "DS".
- updated
At String - Timestamp marshals/unmarshals date and time as timestamp in json
- warning String
- Warning about some possible side effects without strictly disallowing operations on rrset readonly Deprecated: use Warnings instead
- warnings List<Property Map>
- Warning about some possible side effects without strictly disallowing operations on rrset readonly
GetDnsZoneRrsetsItemPicker
- Limit double
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- Strict bool
- if strict=false, then the filter will return all records if no records match the filter
- Type string
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- Limit float64
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- Strict bool
- if strict=false, then the filter will return all records if no records match the filter
- Type string
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- limit number
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- strict bool
- if strict=false, then the filter will return all records if no records match the filter
- type string
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- limit Double
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- strict Boolean
- if strict=false, then the filter will return all records if no records match the filter
- type String
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- limit number
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- strict boolean
- if strict=false, then the filter will return all records if no records match the filter
- type string
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- limit float
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- strict bool
- if strict=false, then the filter will return all records if no records match the filter
- type str
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
- limit Number
- Limits the number of records returned by the filter Can be a positive value for a specific limit. Use zero or leave it blank to indicate no limits.
- strict Boolean
- if strict=false, then the filter will return all records if no records match the filter
- type String
- Filter type Available values: "geodns", "asn", "country", "continent", "region", "ip", "geodistance", "weightedshuffle", "default", "firstn".
GetDnsZoneRrsetsItemResourceRecord
- Contents List<string>
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - Enabled bool
- Id double
- Meta Dictionary<string, string>
- Meta information for record Map with string key and any valid json as value, with valid keys
- Contents []string
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - Enabled bool
- Id float64
- Meta map[string]string
- Meta information for record Map with string key and any valid json as value, with valid keys
- contents list(string)
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - enabled bool
- id number
- meta map(string)
- Meta information for record Map with string key and any valid json as value, with valid keys
- contents List<String>
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - enabled Boolean
- id Double
- meta Map<String,String>
- Meta information for record Map with string key and any valid json as value, with valid keys
- contents string[]
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - enabled boolean
- id number
- meta {[key: string]: string}
- Meta information for record Map with string key and any valid json as value, with valid keys
- contents Sequence[str]
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - enabled bool
- id float
- meta Mapping[str, str]
- Meta information for record Map with string key and any valid json as value, with valid keys
- contents List<String>
- Content of resource record
The exact length of the array depends on the type of rrset,
each individual record parameter must be a separate element of the array. For example
SRV-record:
[100, 1, 5061, "example.com"]CNAME-record:[ "the.target.domain" ]A-record:[ "1.2.3.4", "5.6.7.8" ]AAAA-record:[ "2001:db8::1", "2001:db8::2" ]MX-record:[ "mail1.example.com", "mail2.example.com" ]SVCB/HTTPS-record:[ 1, ".", ["alpn", "h3", "h2"], [ "port", 1443 ], [ "ipv4hint", "10.0.0.1" ], [ "ech", "AEn+DQBFKwAgACABWIHUGj4u+PIggYXcR5JF0gYk3dCRioBW8uJq9H4mKAAIAAEAAQABAANAEnB1YmxpYy50bHMtZWNoLmRldgAA" ] ] - enabled Boolean
- id Number
- meta Map<String>
- Meta information for record Map with string key and any valid json as value, with valid keys
GetDnsZoneRrsetsItemWarning
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core