import * as pulumi from "@pulumi/pulumi"; /** * Provides a Fastly TSIG Key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * // IMPORTANT: Deleting a TSIG Key requires first removing the inbound_tsig_key_id reference in any DNS Zone that uses it. * // This requires a two-step `pulumi up` as we can't guarantee deletion order. * // e.g. removal of inbound_tsig_key_id within fastly_dns_zone might not finish first. * const example = new fastly.TsigKey("example", { * name: "example.com.", * algorithm: "hmac-sha256", * secret: "c2VjcmV0a2V5MTIzNDU2Nzg=", * description: "My TSIG key", * }); * ``` * * ## Import * * Fastly TSIG Keys can be imported using their Key ID, e.g. * * ```sh * $ pulumi import fastly:index/tsigKey:TsigKey example xxxxxxxxxxxxxxxxxxxx * ``` */ export declare class TsigKey extends pulumi.CustomResource { /** * Get an existing TsigKey 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?: TsigKeyState, opts?: pulumi.CustomResourceOptions): TsigKey; /** * Returns true if the given object is an instance of TsigKey. 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 TsigKey; /** * The algorithm of the TSIG key. One of: `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`. */ readonly algorithm: pulumi.Output; /** * A freeform descriptive note. */ readonly description: pulumi.Output; /** * The name of the TSIG key. */ readonly name: pulumi.Output; /** * The Base64 encoded secret key. */ readonly secret: pulumi.Output; /** * Create a TsigKey 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: TsigKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TsigKey resources. */ export interface TsigKeyState { /** * The algorithm of the TSIG key. One of: `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`. */ algorithm?: pulumi.Input; /** * A freeform descriptive note. */ description?: pulumi.Input; /** * The name of the TSIG key. */ name?: pulumi.Input; /** * The Base64 encoded secret key. */ secret?: pulumi.Input; } /** * The set of arguments for constructing a TsigKey resource. */ export interface TsigKeyArgs { /** * The algorithm of the TSIG key. One of: `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`. */ algorithm: pulumi.Input; /** * A freeform descriptive note. */ description?: pulumi.Input; /** * The name of the TSIG key. */ name?: pulumi.Input; /** * The Base64 encoded secret key. */ secret: pulumi.Input; } //# sourceMappingURL=tsigKey.d.ts.map