import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the UDLD configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.Udld("example", { * aggressive: true, * enable: true, * messageTime: 77, * recoveryInterval: 8640, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/udld:Udld example "Cisco-IOS-XE-native:native/udld" * ``` */ export declare class Udld extends pulumi.CustomResource { /** * Get an existing Udld 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?: UdldState, opts?: pulumi.CustomResourceOptions): Udld; /** * Returns true if the given object is an instance of Udld. 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 Udld; /** * Enable UDLD protocol in aggressive mode on fiber ports exceptwhere locally configured */ readonly aggressive: pulumi.Output; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ readonly deleteMode: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Enable UDLD protocol on fiber ports except where locally configured */ readonly enable: pulumi.Output; /** * Set UDLD message time period - Range: `1`-`90` */ readonly messageTime: pulumi.Output; /** * timer-interval(sec) - Range: `30`-`86400` */ readonly recoveryInterval: pulumi.Output; /** * Create a Udld 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?: UdldArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Udld resources. */ export interface UdldState { /** * Enable UDLD protocol in aggressive mode on fiber ports exceptwhere locally configured */ aggressive?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Enable UDLD protocol on fiber ports except where locally configured */ enable?: pulumi.Input; /** * Set UDLD message time period - Range: `1`-`90` */ messageTime?: pulumi.Input; /** * timer-interval(sec) - Range: `30`-`86400` */ recoveryInterval?: pulumi.Input; } /** * The set of arguments for constructing a Udld resource. */ export interface UdldArgs { /** * Enable UDLD protocol in aggressive mode on fiber ports exceptwhere locally configured */ aggressive?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Enable UDLD protocol on fiber ports except where locally configured */ enable?: pulumi.Input; /** * Set UDLD message time period - Range: `1`-`90` */ messageTime?: pulumi.Input; /** * timer-interval(sec) - Range: `30`-`86400` */ recoveryInterval?: pulumi.Input; }