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, 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; /** * 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; /** * A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed. */ readonly isProtected: pulumi.Output; /** * (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; /** * A unique identifier for the record within its zone. */ readonly recordHash: pulumi.Output; /** * The latest version of the record's zone in which its RRSet differs from the preceding version. */ readonly rrsetVersion: pulumi.Output; /** * 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; /** * (Updatable) The Time To Live for the record, in seconds. */ readonly ttl: pulumi.Output; /** * 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; /** * 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; /** * 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; /** * A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed. */ isProtected?: pulumi.Input; /** * (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; /** * A unique identifier for the record within its zone. */ recordHash?: pulumi.Input; /** * The latest version of the record's zone in which its RRSet differs from the preceding version. */ rrsetVersion?: pulumi.Input; /** * 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; /** * (Updatable) The Time To Live for the record, in seconds. */ ttl?: pulumi.Input; /** * 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; } /** * 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; /** * 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; /** * (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; /** * 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; /** * (Updatable) The Time To Live for the record, in seconds. */ ttl?: pulumi.Input; /** * 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; } //# sourceMappingURL=record.d.ts.map