import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the Errdisable configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.Errdisable("example", { * detectCauseAll: true, * detectCauseDhcpRateLimit: true, * detectCauseDtpFlap: true, * detectCauseL2ptguard: true, * detectCauseLinkFlap: true, * detectCausePppoeIaRateLimit: true, * flapSettingCauseDtpFlapMaxFlaps: 80, * flapSettingCauseDtpFlapTime: 90, * flapSettingCauseLinkFlapMaxFlaps: 80, * flapSettingCauseLinkFlapTime: 90, * flapSettingCausePagpFlapMaxFlaps: 80, * flapSettingCausePagpFlapTime: 90, * recoveryCauseAll: true, * recoveryCauseArpInspection: true, * recoveryCauseBpduguard: true, * recoveryCauseDhcpRateLimit: true, * recoveryCauseDtpFlap: true, * recoveryCauseL2ptguard: true, * recoveryCauseLinkFlap: true, * recoveryCausePortModeFailure: true, * recoveryCausePppoeIaRateLimit: true, * recoveryCausePsecureViolation: true, * recoveryCausePsp: true, * recoveryCauseSecurityViolation: true, * recoveryCauseUdld: true, * recoveryInterval: 855, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/errdisable:Errdisable example "Cisco-IOS-XE-native:native/errdisable" * ``` */ export declare class Errdisable extends pulumi.CustomResource { /** * Get an existing Errdisable 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?: ErrdisableState, opts?: pulumi.CustomResourceOptions): Errdisable; /** * Returns true if the given object is an instance of Errdisable. 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 Errdisable; /** * 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; /** * Enable error detection on all cases */ readonly detectCauseAll: pulumi.Output; /** * Enable error detection for arp inspection */ readonly detectCauseArpInspection: pulumi.Output; /** * Enable error detection on bpdu-guard */ readonly detectCauseBpduguard: pulumi.Output; /** * Enable error detection on dhcp-rate-limit */ readonly detectCauseDhcpRateLimit: pulumi.Output; /** * Enable error detection on dtp-flapping */ readonly detectCauseDtpFlap: pulumi.Output; /** * Enable error detection on gbic-invalid */ readonly detectCauseGbicInvalid: pulumi.Output; /** * Enable error detection for inline-power */ readonly detectCauseInlinePower: pulumi.Output; /** * Enable timer to recover from l2protocol-tunnel error disable state */ readonly detectCauseL2ptguard: pulumi.Output; /** * Enable error detection on linkstate-flapping */ readonly detectCauseLinkFlap: pulumi.Output; /** * Enable error detection on loopback */ readonly detectCauseLoopback: pulumi.Output; /** * Enable error detection on loop detect */ readonly detectCauseLoopdetect: pulumi.Output; readonly detectCauseMlacpMinlink: pulumi.Output; /** * Enable error detection on pagp-flapping */ readonly detectCausePagpFlap: pulumi.Output; /** * Enable error detection on PPPoE IA rate-limit */ readonly detectCausePppoeIaRateLimit: pulumi.Output; /** * Shutdown vlan on 802.1x-guard violation */ readonly detectCauseSecurityViolationShutdownVlan: pulumi.Output; /** * Enable error detection on SFP config mismatch */ readonly detectCauseSfpConfigMismatch: pulumi.Output; /** * Enable error detection on small_frame */ readonly detectCauseSmallFrame: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ readonly flapSettingCauseDtpFlapMaxFlaps: pulumi.Output; /** * time period the flaps are counted - Range: `1`-`120` */ readonly flapSettingCauseDtpFlapTime: pulumi.Output; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ readonly flapSettingCauseLinkFlapMaxFlaps: pulumi.Output; /** * time period the flaps are counted - Range: `1`-`120` */ readonly flapSettingCauseLinkFlapTime: pulumi.Output; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ readonly flapSettingCausePagpFlapMaxFlaps: pulumi.Output; /** * time period the flaps are counted - Range: `1`-`120` */ readonly flapSettingCausePagpFlapTime: pulumi.Output; /** * Enable timer to recover from all error causes */ readonly recoveryCauseAll: pulumi.Output; /** * Enable timer to recover from arp inspection error disable state */ readonly recoveryCauseArpInspection: pulumi.Output; /** * Enable timer to recover from BPDU Guard error */ readonly recoveryCauseBpduguard: pulumi.Output; /** * (STP) Enable timer to recover from channel misconfiguration error */ readonly recoveryCauseChannelMisconfig: pulumi.Output; /** * Enable timer to recover from dhcp-rate-limit error */ readonly recoveryCauseDhcpRateLimit: pulumi.Output; /** * Enable timer to recover from dtp-flap error */ readonly recoveryCauseDtpFlap: pulumi.Output; /** * Enable timer to recover from invalid GBIC error */ readonly recoveryCauseGbicInvalid: pulumi.Output; /** * Enable timer to recover from inline-power error */ readonly recoveryCauseInlinePower: pulumi.Output; /** * Enable timer to recover from l2protocol-tunnel error disable state */ readonly recoveryCauseL2ptguard: pulumi.Output; /** * Enable timer to recover from link-flap error */ readonly recoveryCauseLinkFlap: pulumi.Output; readonly recoveryCauseLinkMonitorFailure: pulumi.Output; /** * Enable timer to recover from loopback error */ readonly recoveryCauseLoopback: pulumi.Output; /** * Enable timer to recover from loop detect error */ readonly recoveryCauseLoopdetect: pulumi.Output; /** * Enable timer to recover from mac limit disable state */ readonly recoveryCauseMacLimit: pulumi.Output; readonly recoveryCauseMlacpMinlink: pulumi.Output; /** * Enable timer to recover from pagp-flap error */ readonly recoveryCausePagpFlap: pulumi.Output; /** * Enable timer to recover from port mode change failure */ readonly recoveryCausePortModeFailure: pulumi.Output; /** * Enable timer to recover from PPPoE IA rate-limit error */ readonly recoveryCausePppoeIaRateLimit: pulumi.Output; /** * Enable timer to recover from psecure violation error */ readonly recoveryCausePsecureViolation: pulumi.Output; readonly recoveryCausePsp: pulumi.Output; /** * Enable timer to recover from 802.1x violation error */ readonly recoveryCauseSecurityViolation: pulumi.Output; /** * Enable timer to recover from SFP config mismatch error */ readonly recoveryCauseSfpConfigMismatch: pulumi.Output; /** * Enable timer to recover from small frame error */ readonly recoveryCauseSmallFrame: pulumi.Output; /** * Enable timer to recover from storm-control error */ readonly recoveryCauseStormControl: pulumi.Output; /** * Enable timer to recover from udld error */ readonly recoveryCauseUdld: pulumi.Output; readonly recoveryCauseUnicastFlood: pulumi.Output; /** * Enable timer to recover from vmps shutdown error */ readonly recoveryCauseVmps: pulumi.Output; /** * Error disable recovery timer value - Range: `30`-`86400` */ readonly recoveryInterval: pulumi.Output; /** * Create a Errdisable 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?: ErrdisableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Errdisable resources. */ export interface ErrdisableState { /** * 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; /** * Enable error detection on all cases */ detectCauseAll?: pulumi.Input; /** * Enable error detection for arp inspection */ detectCauseArpInspection?: pulumi.Input; /** * Enable error detection on bpdu-guard */ detectCauseBpduguard?: pulumi.Input; /** * Enable error detection on dhcp-rate-limit */ detectCauseDhcpRateLimit?: pulumi.Input; /** * Enable error detection on dtp-flapping */ detectCauseDtpFlap?: pulumi.Input; /** * Enable error detection on gbic-invalid */ detectCauseGbicInvalid?: pulumi.Input; /** * Enable error detection for inline-power */ detectCauseInlinePower?: pulumi.Input; /** * Enable timer to recover from l2protocol-tunnel error disable state */ detectCauseL2ptguard?: pulumi.Input; /** * Enable error detection on linkstate-flapping */ detectCauseLinkFlap?: pulumi.Input; /** * Enable error detection on loopback */ detectCauseLoopback?: pulumi.Input; /** * Enable error detection on loop detect */ detectCauseLoopdetect?: pulumi.Input; detectCauseMlacpMinlink?: pulumi.Input; /** * Enable error detection on pagp-flapping */ detectCausePagpFlap?: pulumi.Input; /** * Enable error detection on PPPoE IA rate-limit */ detectCausePppoeIaRateLimit?: pulumi.Input; /** * Shutdown vlan on 802.1x-guard violation */ detectCauseSecurityViolationShutdownVlan?: pulumi.Input; /** * Enable error detection on SFP config mismatch */ detectCauseSfpConfigMismatch?: pulumi.Input; /** * Enable error detection on small_frame */ detectCauseSmallFrame?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCauseDtpFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCauseDtpFlapTime?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCauseLinkFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCauseLinkFlapTime?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCausePagpFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCausePagpFlapTime?: pulumi.Input; /** * Enable timer to recover from all error causes */ recoveryCauseAll?: pulumi.Input; /** * Enable timer to recover from arp inspection error disable state */ recoveryCauseArpInspection?: pulumi.Input; /** * Enable timer to recover from BPDU Guard error */ recoveryCauseBpduguard?: pulumi.Input; /** * (STP) Enable timer to recover from channel misconfiguration error */ recoveryCauseChannelMisconfig?: pulumi.Input; /** * Enable timer to recover from dhcp-rate-limit error */ recoveryCauseDhcpRateLimit?: pulumi.Input; /** * Enable timer to recover from dtp-flap error */ recoveryCauseDtpFlap?: pulumi.Input; /** * Enable timer to recover from invalid GBIC error */ recoveryCauseGbicInvalid?: pulumi.Input; /** * Enable timer to recover from inline-power error */ recoveryCauseInlinePower?: pulumi.Input; /** * Enable timer to recover from l2protocol-tunnel error disable state */ recoveryCauseL2ptguard?: pulumi.Input; /** * Enable timer to recover from link-flap error */ recoveryCauseLinkFlap?: pulumi.Input; recoveryCauseLinkMonitorFailure?: pulumi.Input; /** * Enable timer to recover from loopback error */ recoveryCauseLoopback?: pulumi.Input; /** * Enable timer to recover from loop detect error */ recoveryCauseLoopdetect?: pulumi.Input; /** * Enable timer to recover from mac limit disable state */ recoveryCauseMacLimit?: pulumi.Input; recoveryCauseMlacpMinlink?: pulumi.Input; /** * Enable timer to recover from pagp-flap error */ recoveryCausePagpFlap?: pulumi.Input; /** * Enable timer to recover from port mode change failure */ recoveryCausePortModeFailure?: pulumi.Input; /** * Enable timer to recover from PPPoE IA rate-limit error */ recoveryCausePppoeIaRateLimit?: pulumi.Input; /** * Enable timer to recover from psecure violation error */ recoveryCausePsecureViolation?: pulumi.Input; recoveryCausePsp?: pulumi.Input; /** * Enable timer to recover from 802.1x violation error */ recoveryCauseSecurityViolation?: pulumi.Input; /** * Enable timer to recover from SFP config mismatch error */ recoveryCauseSfpConfigMismatch?: pulumi.Input; /** * Enable timer to recover from small frame error */ recoveryCauseSmallFrame?: pulumi.Input; /** * Enable timer to recover from storm-control error */ recoveryCauseStormControl?: pulumi.Input; /** * Enable timer to recover from udld error */ recoveryCauseUdld?: pulumi.Input; recoveryCauseUnicastFlood?: pulumi.Input; /** * Enable timer to recover from vmps shutdown error */ recoveryCauseVmps?: pulumi.Input; /** * Error disable recovery timer value - Range: `30`-`86400` */ recoveryInterval?: pulumi.Input; } /** * The set of arguments for constructing a Errdisable resource. */ export interface ErrdisableArgs { /** * 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; /** * Enable error detection on all cases */ detectCauseAll?: pulumi.Input; /** * Enable error detection for arp inspection */ detectCauseArpInspection?: pulumi.Input; /** * Enable error detection on bpdu-guard */ detectCauseBpduguard?: pulumi.Input; /** * Enable error detection on dhcp-rate-limit */ detectCauseDhcpRateLimit?: pulumi.Input; /** * Enable error detection on dtp-flapping */ detectCauseDtpFlap?: pulumi.Input; /** * Enable error detection on gbic-invalid */ detectCauseGbicInvalid?: pulumi.Input; /** * Enable error detection for inline-power */ detectCauseInlinePower?: pulumi.Input; /** * Enable timer to recover from l2protocol-tunnel error disable state */ detectCauseL2ptguard?: pulumi.Input; /** * Enable error detection on linkstate-flapping */ detectCauseLinkFlap?: pulumi.Input; /** * Enable error detection on loopback */ detectCauseLoopback?: pulumi.Input; /** * Enable error detection on loop detect */ detectCauseLoopdetect?: pulumi.Input; detectCauseMlacpMinlink?: pulumi.Input; /** * Enable error detection on pagp-flapping */ detectCausePagpFlap?: pulumi.Input; /** * Enable error detection on PPPoE IA rate-limit */ detectCausePppoeIaRateLimit?: pulumi.Input; /** * Shutdown vlan on 802.1x-guard violation */ detectCauseSecurityViolationShutdownVlan?: pulumi.Input; /** * Enable error detection on SFP config mismatch */ detectCauseSfpConfigMismatch?: pulumi.Input; /** * Enable error detection on small_frame */ detectCauseSmallFrame?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCauseDtpFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCauseDtpFlapTime?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCauseLinkFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCauseLinkFlapTime?: pulumi.Input; /** * maximum flaps allowed before setting to errdisable - Range: `1`-`100` */ flapSettingCausePagpFlapMaxFlaps?: pulumi.Input; /** * time period the flaps are counted - Range: `1`-`120` */ flapSettingCausePagpFlapTime?: pulumi.Input; /** * Enable timer to recover from all error causes */ recoveryCauseAll?: pulumi.Input; /** * Enable timer to recover from arp inspection error disable state */ recoveryCauseArpInspection?: pulumi.Input; /** * Enable timer to recover from BPDU Guard error */ recoveryCauseBpduguard?: pulumi.Input; /** * (STP) Enable timer to recover from channel misconfiguration error */ recoveryCauseChannelMisconfig?: pulumi.Input; /** * Enable timer to recover from dhcp-rate-limit error */ recoveryCauseDhcpRateLimit?: pulumi.Input; /** * Enable timer to recover from dtp-flap error */ recoveryCauseDtpFlap?: pulumi.Input; /** * Enable timer to recover from invalid GBIC error */ recoveryCauseGbicInvalid?: pulumi.Input; /** * Enable timer to recover from inline-power error */ recoveryCauseInlinePower?: pulumi.Input; /** * Enable timer to recover from l2protocol-tunnel error disable state */ recoveryCauseL2ptguard?: pulumi.Input; /** * Enable timer to recover from link-flap error */ recoveryCauseLinkFlap?: pulumi.Input; recoveryCauseLinkMonitorFailure?: pulumi.Input; /** * Enable timer to recover from loopback error */ recoveryCauseLoopback?: pulumi.Input; /** * Enable timer to recover from loop detect error */ recoveryCauseLoopdetect?: pulumi.Input; /** * Enable timer to recover from mac limit disable state */ recoveryCauseMacLimit?: pulumi.Input; recoveryCauseMlacpMinlink?: pulumi.Input; /** * Enable timer to recover from pagp-flap error */ recoveryCausePagpFlap?: pulumi.Input; /** * Enable timer to recover from port mode change failure */ recoveryCausePortModeFailure?: pulumi.Input; /** * Enable timer to recover from PPPoE IA rate-limit error */ recoveryCausePppoeIaRateLimit?: pulumi.Input; /** * Enable timer to recover from psecure violation error */ recoveryCausePsecureViolation?: pulumi.Input; recoveryCausePsp?: pulumi.Input; /** * Enable timer to recover from 802.1x violation error */ recoveryCauseSecurityViolation?: pulumi.Input; /** * Enable timer to recover from SFP config mismatch error */ recoveryCauseSfpConfigMismatch?: pulumi.Input; /** * Enable timer to recover from small frame error */ recoveryCauseSmallFrame?: pulumi.Input; /** * Enable timer to recover from storm-control error */ recoveryCauseStormControl?: pulumi.Input; /** * Enable timer to recover from udld error */ recoveryCauseUdld?: pulumi.Input; recoveryCauseUnicastFlood?: pulumi.Input; /** * Enable timer to recover from vmps shutdown error */ recoveryCauseVmps?: pulumi.Input; /** * Error disable recovery timer value - Range: `30`-`86400` */ recoveryInterval?: pulumi.Input; }