import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage a Repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.system.Repository("example", { * name: "repo1", * protocol: "SFTP", * path: "/dir", * serverName: "server1", * userName: "user9", * passwordWo: "cisco123", * passwordWoVersion: 1, * enablePki: false, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import ise:system/repository:Repository example "repo1" * ``` */ export declare class Repository extends pulumi.CustomResource { /** * Get an existing Repository 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?: RepositoryState, opts?: pulumi.CustomResourceOptions): Repository; /** * Returns true if the given object is an instance of Repository. 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 Repository; /** * Enable PKI */ readonly enablePki: pulumi.Output; /** * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. */ readonly name: pulumi.Output; /** * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ readonly password: pulumi.Output; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. */ readonly passwordWo: pulumi.Output; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ readonly passwordWoVersion: pulumi.Output; /** * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. */ readonly path: pulumi.Output; /** * Protocol * - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` */ readonly protocol: pulumi.Output; /** * Name of the server */ readonly serverName: pulumi.Output; /** * User name */ readonly userName: pulumi.Output; /** * Create a Repository 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: RepositoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Repository resources. */ export interface RepositoryState { /** * Enable PKI */ enablePki?: pulumi.Input; /** * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. */ name?: pulumi.Input; /** * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ password?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. */ passwordWo?: pulumi.Input; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ passwordWoVersion?: pulumi.Input; /** * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. */ path?: pulumi.Input; /** * Protocol * - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` */ protocol?: pulumi.Input; /** * Name of the server */ serverName?: pulumi.Input; /** * User name */ userName?: pulumi.Input; } /** * The set of arguments for constructing a Repository resource. */ export interface RepositoryArgs { /** * Enable PKI */ enablePki?: pulumi.Input; /** * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters. */ name?: pulumi.Input; /** * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. * - This attribute stores the secret in Terraform state. Prefer `passwordWo` together with `passwordWoVersion`, which keeps it out of state. */ password?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Password can contain alphanumeric and/or special characters. * - Only one of `password` and `passwordWo` can be set. */ passwordWo?: pulumi.Input; /** * Rotation trigger for `passwordWo`. Increment this integer whenever the write-only value changes so Terraform sends the new secret. The value is stored in state; the secret is not. */ passwordWoVersion?: pulumi.Input; /** * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters. */ path: pulumi.Input; /** * Protocol * - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP` */ protocol: pulumi.Input; /** * Name of the server */ serverName?: pulumi.Input; /** * User name */ userName?: pulumi.Input; } //# sourceMappingURL=repository.d.ts.map