import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Zone Stage Dnssec Key Version resource in Oracle Cloud Infrastructure DNS service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dns/latest/ZoneStageDnssecKeyVersion * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dns * * Stages a new `DnssecKeyVersion` on the zone. Staging is a process that generates a new "successor" key version * that replaces an existing "predecessor" key version. * **Note:** A new key-signing key (KSK) version is inert until you update the parent zone DS records. * * For more information, see the [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm) documentation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testZoneStageDnssecKeyVersion = new oci.dns.ZoneStageDnssecKeyVersion("test_zone_stage_dnssec_key_version", { * predecessorDnssecKeyVersionUuid: zoneStageDnssecKeyVersionPredecessorDnssecKeyVersionUuid, * zoneId: testZone.id, * scope: zoneStageDnssecKeyVersionScope, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ZoneStageDnssecKeyVersion extends pulumi.CustomResource { /** * Get an existing ZoneStageDnssecKeyVersion 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?: ZoneStageDnssecKeyVersionState, opts?: pulumi.CustomResourceOptions): ZoneStageDnssecKeyVersion; /** * Returns true if the given object is an instance of ZoneStageDnssecKeyVersion. 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 ZoneStageDnssecKeyVersion; /** * The UUID of the `DnssecKeyVersion` for which a new successor should be generated. */ readonly predecessorDnssecKeyVersionUuid: pulumi.Output; /** * Specifies to operate only on resources that have a matching DNS scope. */ readonly scope: pulumi.Output; /** * The 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 */ readonly zoneId: pulumi.Output; /** * Create a ZoneStageDnssecKeyVersion 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: ZoneStageDnssecKeyVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZoneStageDnssecKeyVersion resources. */ export interface ZoneStageDnssecKeyVersionState { /** * The UUID of the `DnssecKeyVersion` for which a new successor should be generated. */ predecessorDnssecKeyVersionUuid?: pulumi.Input; /** * Specifies to operate only on resources that have a matching DNS scope. */ scope?: pulumi.Input; /** * The 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 */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ZoneStageDnssecKeyVersion resource. */ export interface ZoneStageDnssecKeyVersionArgs { /** * The UUID of the `DnssecKeyVersion` for which a new successor should be generated. */ predecessorDnssecKeyVersionUuid: pulumi.Input; /** * Specifies to operate only on resources that have a matching DNS scope. */ scope?: pulumi.Input; /** * The 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 */ zoneId: pulumi.Input; } //# sourceMappingURL=zoneStageDnssecKeyVersion.d.ts.map