import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Rrset resource in Oracle Cloud Infrastructure DNS service. * * Gets a list of all records in the specified RRSet. * * The results are sorted by `recordHash` by default. When accessing a private zone by name, the `viewId` parameter is required. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRrset = oci.dns.getRrset({ * domain: rrsetDomain, * rtype: rrsetRtype, * zoneNameOrId: testZone.id, * viewId: testView.id, * }); * ``` */ export declare function getRrset(args: GetRrsetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRrset. */ export interface GetRrsetArgs { compartmentId?: string; /** * The target fully-qualified domain name (FQDN) within the target zone. */ domain: string; /** * The type of the target RRSet within the target zone. */ rtype: string; scope?: string; /** * The OCID of the view the zone is associated with. Required when accessing a private zone by name. */ viewId?: string; /** * The name or OCID of the target zone. */ zoneNameOrId: string; /** * The version of the zone for which data is requested. */ zoneVersion?: string; } /** * A collection of values returned by getRrset. */ export interface GetRrsetResult { readonly compartmentId?: string; /** * The fully qualified domain name where the record can be located. */ readonly domain: string; readonly id: string; readonly items: outputs.Dns.GetRrsetItem[]; /** * The type of DNS record, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4). */ readonly rtype: string; readonly scope?: string; readonly viewId?: string; readonly zoneNameOrId: string; readonly zoneVersion?: string; } /** * This data source provides details about a specific Rrset resource in Oracle Cloud Infrastructure DNS service. * * Gets a list of all records in the specified RRSet. * * The results are sorted by `recordHash` by default. When accessing a private zone by name, the `viewId` parameter is required. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRrset = oci.dns.getRrset({ * domain: rrsetDomain, * rtype: rrsetRtype, * zoneNameOrId: testZone.id, * viewId: testView.id, * }); * ``` */ export declare function getRrsetOutput(args: GetRrsetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRrset. */ export interface GetRrsetOutputArgs { compartmentId?: pulumi.Input; /** * The target fully-qualified domain name (FQDN) within the target zone. */ domain: pulumi.Input; /** * The type of the target RRSet within the target zone. */ rtype: pulumi.Input; scope?: pulumi.Input; /** * The OCID of the view the zone is associated with. Required when accessing a private zone by name. */ viewId?: pulumi.Input; /** * The name or OCID of the target zone. */ zoneNameOrId: pulumi.Input; /** * The version of the zone for which data is requested. */ zoneVersion?: pulumi.Input; } //# sourceMappingURL=getRrset.d.ts.map