@pulumi/ise
Version:
A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.. Based on terraform-provider-ise: version v0.2.1
149 lines (148 loc) • 4.75 kB
TypeScript
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",
* password: "cisco123",
* 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<pulumi.ID>, 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<boolean | undefined>;
/**
* Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
*/
readonly name: pulumi.Output<string>;
/**
* Password can contain alphanumeric and/or special characters.
*/
readonly password: pulumi.Output<string | undefined>;
/**
* Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
*/
readonly path: pulumi.Output<string>;
/**
* Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
*/
readonly protocol: pulumi.Output<string>;
/**
* Name of the server
*/
readonly serverName: pulumi.Output<string | undefined>;
/**
* User name
*/
readonly userName: pulumi.Output<string | undefined>;
/**
* 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<boolean>;
/**
* Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
*/
name?: pulumi.Input<string>;
/**
* Password can contain alphanumeric and/or special characters.
*/
password?: pulumi.Input<string>;
/**
* Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
*/
path?: pulumi.Input<string>;
/**
* Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
*/
protocol?: pulumi.Input<string>;
/**
* Name of the server
*/
serverName?: pulumi.Input<string>;
/**
* User name
*/
userName?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Repository resource.
*/
export interface RepositoryArgs {
/**
* Enable PKI
*/
enablePki?: pulumi.Input<boolean>;
/**
* Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
*/
name?: pulumi.Input<string>;
/**
* Password can contain alphanumeric and/or special characters.
*/
password?: pulumi.Input<string>;
/**
* Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
*/
path: pulumi.Input<string>;
/**
* Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
*/
protocol: pulumi.Input<string>;
/**
* Name of the server
*/
serverName?: pulumi.Input<string>;
/**
* User name
*/
userName?: pulumi.Input<string>;
}