import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to create and manage New Relic Synthetic secure credentials. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = new newrelic.synthetics.SecureCredential("foo", { * key: "MY_KEY", * value: "My value", * description: "My description", * }); * ``` * * ## Import * * A Synthetics secure credential can be imported using its `key`: * * ```sh * $ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY * ``` */ export declare class SecureCredential extends pulumi.CustomResource { /** * Get an existing SecureCredential 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?: SecureCredentialState, opts?: pulumi.CustomResourceOptions): SecureCredential; /** * Returns true if the given object is an instance of SecureCredential. 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 SecureCredential; /** * Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used. */ readonly accountId: pulumi.Output; /** * The secure credential's description. */ readonly description: pulumi.Output; /** * The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API. */ readonly key: pulumi.Output; /** * The time the secure credential was last updated. */ readonly lastUpdated: pulumi.Output; /** * The secure credential's value. */ readonly value: pulumi.Output; /** * Create a SecureCredential 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: SecureCredentialArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecureCredential resources. */ export interface SecureCredentialState { /** * Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used. */ accountId?: pulumi.Input; /** * The secure credential's description. */ description?: pulumi.Input; /** * The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API. */ key?: pulumi.Input; /** * The time the secure credential was last updated. */ lastUpdated?: pulumi.Input; /** * The secure credential's value. */ value?: pulumi.Input; } /** * The set of arguments for constructing a SecureCredential resource. */ export interface SecureCredentialArgs { /** * Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used. */ accountId?: pulumi.Input; /** * The secure credential's description. */ description?: pulumi.Input; /** * The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API. */ key: pulumi.Input; /** * The time the secure credential was last updated. */ lastUpdated?: pulumi.Input; /** * The secure credential's value. */ value: pulumi.Input; } //# sourceMappingURL=secureCredential.d.ts.map