UNPKG

@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

161 lines (160 loc) 5 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage a TrustSec IP to SGT Mapping. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.trustsec.IpToSgtMapping("example", { * name: "10.0.0.1/32", * deployType: "ALL", * hostIp: "10.0.0.1/32", * sgt: "93e1bf00-8c01-11e6-996c-525400b48521", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import ise:trustsec/ipToSgtMapping:IpToSgtMapping example "76d24097-41c4-4558-a4d0-a8c07ac08470" * ``` */ export declare class IpToSgtMapping extends pulumi.CustomResource { /** * Get an existing IpToSgtMapping 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?: IpToSgtMappingState, opts?: pulumi.CustomResourceOptions): IpToSgtMapping; /** * Returns true if the given object is an instance of IpToSgtMapping. 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 IpToSgtMapping; /** * Mandatory unless `mappingGroup` is set or unless `deployType` is `ALL` */ readonly deployTo: pulumi.Output<string | undefined>; /** * Deploy Type * - Choices: `ALL`, `ND`, `NDG` */ readonly deployType: pulumi.Output<string | undefined>; /** * Description */ readonly description: pulumi.Output<string | undefined>; /** * Mandatory if `hostName` is empty */ readonly hostIp: pulumi.Output<string | undefined>; /** * Mandatory if `hostIp` is empty */ readonly hostName: pulumi.Output<string | undefined>; /** * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deployTo` and `deployType` are set */ readonly mappingGroup: pulumi.Output<string | undefined>; /** * The name of the IP to SGT mapping */ readonly name: pulumi.Output<string>; /** * Trustsec Security Group ID. Mandatory unless `mappingGroup` is set */ readonly sgt: pulumi.Output<string | undefined>; /** * Create a IpToSgtMapping 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?: IpToSgtMappingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IpToSgtMapping resources. */ export interface IpToSgtMappingState { /** * Mandatory unless `mappingGroup` is set or unless `deployType` is `ALL` */ deployTo?: pulumi.Input<string>; /** * Deploy Type * - Choices: `ALL`, `ND`, `NDG` */ deployType?: pulumi.Input<string>; /** * Description */ description?: pulumi.Input<string>; /** * Mandatory if `hostName` is empty */ hostIp?: pulumi.Input<string>; /** * Mandatory if `hostIp` is empty */ hostName?: pulumi.Input<string>; /** * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deployTo` and `deployType` are set */ mappingGroup?: pulumi.Input<string>; /** * The name of the IP to SGT mapping */ name?: pulumi.Input<string>; /** * Trustsec Security Group ID. Mandatory unless `mappingGroup` is set */ sgt?: pulumi.Input<string>; } /** * The set of arguments for constructing a IpToSgtMapping resource. */ export interface IpToSgtMappingArgs { /** * Mandatory unless `mappingGroup` is set or unless `deployType` is `ALL` */ deployTo?: pulumi.Input<string>; /** * Deploy Type * - Choices: `ALL`, `ND`, `NDG` */ deployType?: pulumi.Input<string>; /** * Description */ description?: pulumi.Input<string>; /** * Mandatory if `hostName` is empty */ hostIp?: pulumi.Input<string>; /** * Mandatory if `hostIp` is empty */ hostName?: pulumi.Input<string>; /** * IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deployTo` and `deployType` are set */ mappingGroup?: pulumi.Input<string>; /** * The name of the IP to SGT mapping */ name?: pulumi.Input<string>; /** * Trustsec Security Group ID. Mandatory unless `mappingGroup` is set */ sgt?: pulumi.Input<string>; }