import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Record resource in Oracle Cloud Infrastructure DNS service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dns/latest/Record
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dns
 *
 * **Deprecated. Use oci.Dns.Rrset instead.**
 *
 * This resource provides the Record resource in Oracle Cloud Infrastructure DNS service.
 *
 *   Updates a collection of records in the specified zone.
 *
 * You can update one record or all records for the specified zone depending on the changes provided in the
 * request body. You can also add or remove records using this function. When the zone name is provided as
 * a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is
 * required.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testRecord = new oci.dns.Record("test_record", {
 *     zoneNameOrId: testZoneNameOr.id,
 *     domain: recordItemsDomain,
 *     rtype: recordItemsRtype,
 *     rdata: recordItemsRdata,
 *     ttl: Number(recordItemsTtl),
 * });
 * ```
 *
 * ## Import
 *
 * Import is not supported for this resource.
 */
export declare class Record extends pulumi.CustomResource {
    /**
     * Get an existing Record resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
    /**
     * Returns true if the given object is an instance of Record.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is Record;
    /**
     * (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
     */
    readonly compartmentId: pulumi.Output<string | undefined>;
    /**
     * The fully qualified domain name where the record can be located. Domain value is case insensitive.
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    readonly domain: pulumi.Output<string>;
    /**
     * A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
     */
    readonly isProtected: pulumi.Output<boolean>;
    /**
     * (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
     */
    readonly rdata: pulumi.Output<string | undefined>;
    /**
     * A unique identifier for the record within its zone.
     */
    readonly recordHash: pulumi.Output<string>;
    /**
     * The latest version of the record's zone in which its RRSet differs from the preceding version.
     */
    readonly rrsetVersion: pulumi.Output<string>;
    /**
     * The canonical name for the record's type, 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).
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    readonly rtype: pulumi.Output<string>;
    /**
     * (Updatable) The Time To Live for the record, in seconds.
     */
    readonly ttl: pulumi.Output<number | undefined>;
    /**
     * The name or OCID of the target zone.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    readonly zoneNameOrId: pulumi.Output<string>;
    /**
     * Create a Record resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Record resources.
 */
export interface RecordState {
    /**
     * (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The fully qualified domain name where the record can be located. Domain value is case insensitive.
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    domain?: pulumi.Input<string | undefined>;
    /**
     * A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
     */
    isProtected?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
     */
    rdata?: pulumi.Input<string | undefined>;
    /**
     * A unique identifier for the record within its zone.
     */
    recordHash?: pulumi.Input<string | undefined>;
    /**
     * The latest version of the record's zone in which its RRSet differs from the preceding version.
     */
    rrsetVersion?: pulumi.Input<string | undefined>;
    /**
     * The canonical name for the record's type, 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).
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    rtype?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The Time To Live for the record, in seconds.
     */
    ttl?: pulumi.Input<number | undefined>;
    /**
     * The name or OCID of the target zone.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    zoneNameOrId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Record resource.
 */
export interface RecordArgs {
    /**
     * (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The fully qualified domain name where the record can be located. Domain value is case insensitive.
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    domain: pulumi.Input<string>;
    /**
     * (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
     */
    rdata?: pulumi.Input<string | undefined>;
    /**
     * The canonical name for the record's type, 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).
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    rtype: pulumi.Input<string>;
    /**
     * (Updatable) The Time To Live for the record, in seconds.
     */
    ttl?: pulumi.Input<number | undefined>;
    /**
     * The name or OCID of the target zone.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     *
     * @deprecated The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
     */
    zoneNameOrId: pulumi.Input<string>;
}
//# sourceMappingURL=record.d.ts.map