import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the SNMP Server User configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.SnmpServerUser("example", { * grpname: "GROUP1", * username: "USER1", * v3AuthAlgorithm: "sha", * v3AuthPassword: "Cisco123", * v3AuthPrivAesAccessAclName: "ACL123", * v3AuthPrivAesAccessIpv6Acl: "V6ACL1", * v3AuthPrivAesAlgorithm: "128", * v3AuthPrivAesPassword: "Cisco123", * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/snmpServerUser:SnmpServerUser example "Cisco-IOS-XE-native:native/snmp-server/Cisco-IOS-XE-snmp:user/names=USER1,GROUP1" * ``` */ export declare class SnmpServerUser extends pulumi.CustomResource { /** * Get an existing SnmpServerUser 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?: SnmpServerUserState, opts?: pulumi.CustomResourceOptions): SnmpServerUser; /** * Returns true if the given object is an instance of SnmpServerUser. 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 SnmpServerUser; /** * 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; /** * Group to which the user belongs */ readonly grpname: pulumi.Output; /** * Name of the user */ readonly username: pulumi.Output; /** * Access-list name */ readonly v3AuthAccessAclName: pulumi.Output; /** * Specify IPv6 Named Access-List */ readonly v3AuthAccessIpv6Acl: pulumi.Output; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ readonly v3AuthAccessStandardAcl: pulumi.Output; /** * Use HMAC SHA/MD5 algorithm for authentication - Choices: `md5`, `sha` */ readonly v3AuthAlgorithm: pulumi.Output; /** * Authentication password for user */ readonly v3AuthPassword: pulumi.Output; /** * Access-list name */ readonly v3AuthPrivAesAccessAclName: pulumi.Output; /** * Specify IPv6 Named Access-List */ readonly v3AuthPrivAesAccessIpv6Acl: pulumi.Output; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ readonly v3AuthPrivAesAccessStandardAcl: pulumi.Output; /** * - Choices: `128`, `192`, `256` */ readonly v3AuthPrivAesAlgorithm: pulumi.Output; /** * Authentication password for user */ readonly v3AuthPrivAesPassword: pulumi.Output; /** * Access-list name */ readonly v3AuthPrivDes3AccessAclName: pulumi.Output; /** * Specify IPv6 Named Access-List */ readonly v3AuthPrivDes3AccessIpv6Acl: pulumi.Output; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ readonly v3AuthPrivDes3AccessStandardAcl: pulumi.Output; /** * Authentication password for user */ readonly v3AuthPrivDes3Password: pulumi.Output; /** * Access-list name */ readonly v3AuthPrivDesAccessAclName: pulumi.Output; /** * Specify IPv6 Named Access-List */ readonly v3AuthPrivDesAccessIpv6Acl: pulumi.Output; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ readonly v3AuthPrivDesAccessStandardAcl: pulumi.Output; /** * Authentication password for user */ readonly v3AuthPrivDesPassword: pulumi.Output; /** * Create a SnmpServerUser 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: SnmpServerUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SnmpServerUser resources. */ export interface SnmpServerUserState { /** * 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; /** * Group to which the user belongs */ grpname?: pulumi.Input; /** * Name of the user */ username?: pulumi.Input; /** * Access-list name */ v3AuthAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthAccessStandardAcl?: pulumi.Input; /** * Use HMAC SHA/MD5 algorithm for authentication - Choices: `md5`, `sha` */ v3AuthAlgorithm?: pulumi.Input; /** * Authentication password for user */ v3AuthPassword?: pulumi.Input; /** * Access-list name */ v3AuthPrivAesAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivAesAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivAesAccessStandardAcl?: pulumi.Input; /** * - Choices: `128`, `192`, `256` */ v3AuthPrivAesAlgorithm?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivAesPassword?: pulumi.Input; /** * Access-list name */ v3AuthPrivDes3AccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivDes3AccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivDes3AccessStandardAcl?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivDes3Password?: pulumi.Input; /** * Access-list name */ v3AuthPrivDesAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivDesAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivDesAccessStandardAcl?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivDesPassword?: pulumi.Input; } /** * The set of arguments for constructing a SnmpServerUser resource. */ export interface SnmpServerUserArgs { /** * 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; /** * Group to which the user belongs */ grpname: pulumi.Input; /** * Name of the user */ username: pulumi.Input; /** * Access-list name */ v3AuthAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthAccessStandardAcl?: pulumi.Input; /** * Use HMAC SHA/MD5 algorithm for authentication - Choices: `md5`, `sha` */ v3AuthAlgorithm: pulumi.Input; /** * Authentication password for user */ v3AuthPassword: pulumi.Input; /** * Access-list name */ v3AuthPrivAesAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivAesAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivAesAccessStandardAcl?: pulumi.Input; /** * - Choices: `128`, `192`, `256` */ v3AuthPrivAesAlgorithm?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivAesPassword?: pulumi.Input; /** * Access-list name */ v3AuthPrivDes3AccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivDes3AccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivDes3AccessStandardAcl?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivDes3Password?: pulumi.Input; /** * Access-list name */ v3AuthPrivDesAccessAclName?: pulumi.Input; /** * Specify IPv6 Named Access-List */ v3AuthPrivDesAccessIpv6Acl?: pulumi.Input; /** * Standard IP Access-list allowing access with this community string - Range: `1`-`99` */ v3AuthPrivDesAccessStandardAcl?: pulumi.Input; /** * Authentication password for user */ v3AuthPrivDesPassword?: pulumi.Input; }