import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Zone Promote 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/ZonePromoteDnssecKeyVersion * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dns * * Promotes a specified `DnssecKeyVersion` on the zone. * * If the `DnssecKeyVersion` identified in the request body is a key signing key (KSK) that is replacing * another `DnssecKeyVersion`, then the old `DnssecKeyVersion` is scheduled for removal from the zone. * * For key signing keys (KSKs), you must create the DS record with the new key information **before** promoting * the new key to establish a chain of trust. To avoid a service disruption, remove the old DS record as soon * as its TTL (time to live) expires. * * For more information, see [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testZonePromoteDnssecKeyVersion = new oci.dns.ZonePromoteDnssecKeyVersion("test_zone_promote_dnssec_key_version", { * dnssecKeyVersionUuid: zonePromoteDnssecKeyVersionDnssecKeyVersionUuid, * zoneId: testZone.id, * scope: zonePromoteDnssecKeyVersionScope, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ZonePromoteDnssecKeyVersion extends pulumi.CustomResource { /** * Get an existing ZonePromoteDnssecKeyVersion 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?: ZonePromoteDnssecKeyVersionState, opts?: pulumi.CustomResourceOptions): ZonePromoteDnssecKeyVersion; /** * Returns true if the given object is an instance of ZonePromoteDnssecKeyVersion. 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 ZonePromoteDnssecKeyVersion; /** * The UUID of the `DnssecKeyVersion` that is being promoted. */ readonly dnssecKeyVersionUuid: 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 ZonePromoteDnssecKeyVersion 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: ZonePromoteDnssecKeyVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZonePromoteDnssecKeyVersion resources. */ export interface ZonePromoteDnssecKeyVersionState { /** * The UUID of the `DnssecKeyVersion` that is being promoted. */ dnssecKeyVersionUuid?: 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 ZonePromoteDnssecKeyVersion resource. */ export interface ZonePromoteDnssecKeyVersionArgs { /** * The UUID of the `DnssecKeyVersion` that is being promoted. */ dnssecKeyVersionUuid: 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=zonePromoteDnssecKeyVersion.d.ts.map