1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. SnmpServerUser
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.SnmpServerUser

Explore with Pulumi AI

This resource can manage the SNMP Server User configuration.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Lbrlabs.PulumiPackage.Iosxe;

return await Deployment.RunAsync(() => 
{
    var example = new Iosxe.SnmpServerUser("example", new()
    {
        Grpname = "GROUP1",
        Username = "USER1",
        V3AuthAlgorithm = "sha",
        V3AuthPassword = "Cisco123",
        V3AuthPrivAesAccessAclName = "ACL123",
        V3AuthPrivAesAccessIpv6Acl = "V6ACL1",
        V3AuthPrivAesAlgorithm = "128",
        V3AuthPrivAesPassword = "Cisco123",
    });

});
Copy
package main

import (
	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iosxe.NewSnmpServerUser(ctx, "example", &iosxe.SnmpServerUserArgs{
			Grpname:                    pulumi.String("GROUP1"),
			Username:                   pulumi.String("USER1"),
			V3AuthAlgorithm:            pulumi.String("sha"),
			V3AuthPassword:             pulumi.String("Cisco123"),
			V3AuthPrivAesAccessAclName: pulumi.String("ACL123"),
			V3AuthPrivAesAccessIpv6Acl: pulumi.String("V6ACL1"),
			V3AuthPrivAesAlgorithm:     pulumi.String("128"),
			V3AuthPrivAesPassword:      pulumi.String("Cisco123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.SnmpServerUser;
import com.pulumi.iosxe.SnmpServerUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new SnmpServerUser("example", SnmpServerUserArgs.builder()        
            .grpname("GROUP1")
            .username("USER1")
            .v3AuthAlgorithm("sha")
            .v3AuthPassword("Cisco123")
            .v3AuthPrivAesAccessAclName("ACL123")
            .v3AuthPrivAesAccessIpv6Acl("V6ACL1")
            .v3AuthPrivAesAlgorithm("128")
            .v3AuthPrivAesPassword("Cisco123")
            .build());

    }
}
Copy
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",
});
Copy
import pulumi
import lbrlabs_pulumi_iosxe as iosxe

example = iosxe.SnmpServerUser("example",
    grpname="GROUP1",
    username="USER1",
    v3_auth_algorithm="sha",
    v3_auth_password="Cisco123",
    v3_auth_priv_aes_access_acl_name="ACL123",
    v3_auth_priv_aes_access_ipv6_acl="V6ACL1",
    v3_auth_priv_aes_algorithm="128",
    v3_auth_priv_aes_password="Cisco123")
Copy
resources:
  example:
    type: iosxe:SnmpServerUser
    properties:
      grpname: GROUP1
      username: USER1
      v3AuthAlgorithm: sha
      v3AuthPassword: Cisco123
      v3AuthPrivAesAccessAclName: ACL123
      v3AuthPrivAesAccessIpv6Acl: V6ACL1
      v3AuthPrivAesAlgorithm: '128'
      v3AuthPrivAesPassword: Cisco123
Copy

Create SnmpServerUser Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SnmpServerUser(name: string, args: SnmpServerUserArgs, opts?: CustomResourceOptions);
@overload
def SnmpServerUser(resource_name: str,
                   args: SnmpServerUserArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def SnmpServerUser(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   v3_auth_algorithm: Optional[str] = None,
                   v3_auth_password: Optional[str] = None,
                   grpname: Optional[str] = None,
                   username: Optional[str] = None,
                   v3_auth_priv_aes_access_ipv6_acl: Optional[str] = None,
                   v3_auth_priv_aes_password: Optional[str] = None,
                   v3_auth_access_standard_acl: Optional[int] = None,
                   v3_auth_access_acl_name: Optional[str] = None,
                   device: Optional[str] = None,
                   v3_auth_priv_aes_access_acl_name: Optional[str] = None,
                   delete_mode: Optional[str] = None,
                   v3_auth_priv_aes_access_standard_acl: Optional[int] = None,
                   v3_auth_priv_aes_algorithm: Optional[str] = None,
                   v3_auth_access_ipv6_acl: Optional[str] = None,
                   v3_auth_priv_des3_access_acl_name: Optional[str] = None,
                   v3_auth_priv_des3_access_ipv6_acl: Optional[str] = None,
                   v3_auth_priv_des3_access_standard_acl: Optional[int] = None,
                   v3_auth_priv_des3_password: Optional[str] = None,
                   v3_auth_priv_des_access_acl_name: Optional[str] = None,
                   v3_auth_priv_des_access_ipv6_acl: Optional[str] = None,
                   v3_auth_priv_des_access_standard_acl: Optional[int] = None,
                   v3_auth_priv_des_password: Optional[str] = None)
func NewSnmpServerUser(ctx *Context, name string, args SnmpServerUserArgs, opts ...ResourceOption) (*SnmpServerUser, error)
public SnmpServerUser(string name, SnmpServerUserArgs args, CustomResourceOptions? opts = null)
public SnmpServerUser(String name, SnmpServerUserArgs args)
public SnmpServerUser(String name, SnmpServerUserArgs args, CustomResourceOptions options)
type: iosxe:SnmpServerUser
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SnmpServerUserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SnmpServerUserArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SnmpServerUserArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SnmpServerUserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SnmpServerUserArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var snmpServerUserResource = new Iosxe.SnmpServerUser("snmpServerUserResource", new()
{
    V3AuthAlgorithm = "string",
    V3AuthPassword = "string",
    Grpname = "string",
    Username = "string",
    V3AuthPrivAesAccessIpv6Acl = "string",
    V3AuthPrivAesPassword = "string",
    V3AuthAccessStandardAcl = 0,
    V3AuthAccessAclName = "string",
    Device = "string",
    V3AuthPrivAesAccessAclName = "string",
    DeleteMode = "string",
    V3AuthPrivAesAccessStandardAcl = 0,
    V3AuthPrivAesAlgorithm = "string",
    V3AuthAccessIpv6Acl = "string",
    V3AuthPrivDes3AccessAclName = "string",
    V3AuthPrivDes3AccessIpv6Acl = "string",
    V3AuthPrivDes3AccessStandardAcl = 0,
    V3AuthPrivDes3Password = "string",
    V3AuthPrivDesAccessAclName = "string",
    V3AuthPrivDesAccessIpv6Acl = "string",
    V3AuthPrivDesAccessStandardAcl = 0,
    V3AuthPrivDesPassword = "string",
});
Copy
example, err := iosxe.NewSnmpServerUser(ctx, "snmpServerUserResource", &iosxe.SnmpServerUserArgs{
	V3AuthAlgorithm:                 pulumi.String("string"),
	V3AuthPassword:                  pulumi.String("string"),
	Grpname:                         pulumi.String("string"),
	Username:                        pulumi.String("string"),
	V3AuthPrivAesAccessIpv6Acl:      pulumi.String("string"),
	V3AuthPrivAesPassword:           pulumi.String("string"),
	V3AuthAccessStandardAcl:         pulumi.Int(0),
	V3AuthAccessAclName:             pulumi.String("string"),
	Device:                          pulumi.String("string"),
	V3AuthPrivAesAccessAclName:      pulumi.String("string"),
	DeleteMode:                      pulumi.String("string"),
	V3AuthPrivAesAccessStandardAcl:  pulumi.Int(0),
	V3AuthPrivAesAlgorithm:          pulumi.String("string"),
	V3AuthAccessIpv6Acl:             pulumi.String("string"),
	V3AuthPrivDes3AccessAclName:     pulumi.String("string"),
	V3AuthPrivDes3AccessIpv6Acl:     pulumi.String("string"),
	V3AuthPrivDes3AccessStandardAcl: pulumi.Int(0),
	V3AuthPrivDes3Password:          pulumi.String("string"),
	V3AuthPrivDesAccessAclName:      pulumi.String("string"),
	V3AuthPrivDesAccessIpv6Acl:      pulumi.String("string"),
	V3AuthPrivDesAccessStandardAcl:  pulumi.Int(0),
	V3AuthPrivDesPassword:           pulumi.String("string"),
})
Copy
var snmpServerUserResource = new SnmpServerUser("snmpServerUserResource", SnmpServerUserArgs.builder()
    .v3AuthAlgorithm("string")
    .v3AuthPassword("string")
    .grpname("string")
    .username("string")
    .v3AuthPrivAesAccessIpv6Acl("string")
    .v3AuthPrivAesPassword("string")
    .v3AuthAccessStandardAcl(0)
    .v3AuthAccessAclName("string")
    .device("string")
    .v3AuthPrivAesAccessAclName("string")
    .deleteMode("string")
    .v3AuthPrivAesAccessStandardAcl(0)
    .v3AuthPrivAesAlgorithm("string")
    .v3AuthAccessIpv6Acl("string")
    .v3AuthPrivDes3AccessAclName("string")
    .v3AuthPrivDes3AccessIpv6Acl("string")
    .v3AuthPrivDes3AccessStandardAcl(0)
    .v3AuthPrivDes3Password("string")
    .v3AuthPrivDesAccessAclName("string")
    .v3AuthPrivDesAccessIpv6Acl("string")
    .v3AuthPrivDesAccessStandardAcl(0)
    .v3AuthPrivDesPassword("string")
    .build());
Copy
snmp_server_user_resource = iosxe.SnmpServerUser("snmpServerUserResource",
    v3_auth_algorithm="string",
    v3_auth_password="string",
    grpname="string",
    username="string",
    v3_auth_priv_aes_access_ipv6_acl="string",
    v3_auth_priv_aes_password="string",
    v3_auth_access_standard_acl=0,
    v3_auth_access_acl_name="string",
    device="string",
    v3_auth_priv_aes_access_acl_name="string",
    delete_mode="string",
    v3_auth_priv_aes_access_standard_acl=0,
    v3_auth_priv_aes_algorithm="string",
    v3_auth_access_ipv6_acl="string",
    v3_auth_priv_des3_access_acl_name="string",
    v3_auth_priv_des3_access_ipv6_acl="string",
    v3_auth_priv_des3_access_standard_acl=0,
    v3_auth_priv_des3_password="string",
    v3_auth_priv_des_access_acl_name="string",
    v3_auth_priv_des_access_ipv6_acl="string",
    v3_auth_priv_des_access_standard_acl=0,
    v3_auth_priv_des_password="string")
Copy
const snmpServerUserResource = new iosxe.SnmpServerUser("snmpServerUserResource", {
    v3AuthAlgorithm: "string",
    v3AuthPassword: "string",
    grpname: "string",
    username: "string",
    v3AuthPrivAesAccessIpv6Acl: "string",
    v3AuthPrivAesPassword: "string",
    v3AuthAccessStandardAcl: 0,
    v3AuthAccessAclName: "string",
    device: "string",
    v3AuthPrivAesAccessAclName: "string",
    deleteMode: "string",
    v3AuthPrivAesAccessStandardAcl: 0,
    v3AuthPrivAesAlgorithm: "string",
    v3AuthAccessIpv6Acl: "string",
    v3AuthPrivDes3AccessAclName: "string",
    v3AuthPrivDes3AccessIpv6Acl: "string",
    v3AuthPrivDes3AccessStandardAcl: 0,
    v3AuthPrivDes3Password: "string",
    v3AuthPrivDesAccessAclName: "string",
    v3AuthPrivDesAccessIpv6Acl: "string",
    v3AuthPrivDesAccessStandardAcl: 0,
    v3AuthPrivDesPassword: "string",
});
Copy
type: iosxe:SnmpServerUser
properties:
    deleteMode: string
    device: string
    grpname: string
    username: string
    v3AuthAccessAclName: string
    v3AuthAccessIpv6Acl: string
    v3AuthAccessStandardAcl: 0
    v3AuthAlgorithm: string
    v3AuthPassword: string
    v3AuthPrivAesAccessAclName: string
    v3AuthPrivAesAccessIpv6Acl: string
    v3AuthPrivAesAccessStandardAcl: 0
    v3AuthPrivAesAlgorithm: string
    v3AuthPrivAesPassword: string
    v3AuthPrivDes3AccessAclName: string
    v3AuthPrivDes3AccessIpv6Acl: string
    v3AuthPrivDes3AccessStandardAcl: 0
    v3AuthPrivDes3Password: string
    v3AuthPrivDesAccessAclName: string
    v3AuthPrivDesAccessIpv6Acl: string
    v3AuthPrivDesAccessStandardAcl: 0
    v3AuthPrivDesPassword: string
Copy

SnmpServerUser Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SnmpServerUser resource accepts the following input properties:

Grpname This property is required. string
Group to which the user belongs
Username This property is required. string
Name of the user
V3AuthAlgorithm This property is required. string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
V3AuthPassword This property is required. string
Authentication password for user
DeleteMode string
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
Device string
A device name from the provider configuration.
V3AuthAccessAclName string
Access-list name
V3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAccessAclName string
Access-list name
V3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivAesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
V3AuthPrivAesPassword string
Authentication password for user
V3AuthPrivDes3AccessAclName string
Access-list name
V3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDes3AccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDes3Password string
Authentication password for user
V3AuthPrivDesAccessAclName string
Access-list name
V3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDesPassword string
Authentication password for user
Grpname This property is required. string
Group to which the user belongs
Username This property is required. string
Name of the user
V3AuthAlgorithm This property is required. string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
V3AuthPassword This property is required. string
Authentication password for user
DeleteMode string
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
Device string
A device name from the provider configuration.
V3AuthAccessAclName string
Access-list name
V3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAccessAclName string
Access-list name
V3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivAesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
V3AuthPrivAesPassword string
Authentication password for user
V3AuthPrivDes3AccessAclName string
Access-list name
V3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDes3AccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDes3Password string
Authentication password for user
V3AuthPrivDesAccessAclName string
Access-list name
V3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDesPassword string
Authentication password for user
grpname This property is required. String
Group to which the user belongs
username This property is required. String
Name of the user
v3AuthAlgorithm This property is required. String
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword This property is required. String
Authentication password for user
deleteMode String
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
device String
A device name from the provider configuration.
v3AuthAccessAclName String
Access-list name
v3AuthAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAccessAclName String
Access-list name
v3AuthPrivAesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm String
  • Choices: 128, 192, 256
v3AuthPrivAesPassword String
Authentication password for user
v3AuthPrivDes3AccessAclName String
Access-list name
v3AuthPrivDes3AccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password String
Authentication password for user
v3AuthPrivDesAccessAclName String
Access-list name
v3AuthPrivDesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword String
Authentication password for user
grpname This property is required. string
Group to which the user belongs
username This property is required. string
Name of the user
v3AuthAlgorithm This property is required. string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword This property is required. string
Authentication password for user
deleteMode string
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
device string
A device name from the provider configuration.
v3AuthAccessAclName string
Access-list name
v3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAccessAclName string
Access-list name
v3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
v3AuthPrivAesPassword string
Authentication password for user
v3AuthPrivDes3AccessAclName string
Access-list name
v3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password string
Authentication password for user
v3AuthPrivDesAccessAclName string
Access-list name
v3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword string
Authentication password for user
grpname This property is required. str
Group to which the user belongs
username This property is required. str
Name of the user
v3_auth_algorithm This property is required. str
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3_auth_password This property is required. str
Authentication password for user
delete_mode str
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
device str
A device name from the provider configuration.
v3_auth_access_acl_name str
Access-list name
v3_auth_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_aes_access_acl_name str
Access-list name
v3_auth_priv_aes_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_aes_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_aes_algorithm str
  • Choices: 128, 192, 256
v3_auth_priv_aes_password str
Authentication password for user
v3_auth_priv_des3_access_acl_name str
Access-list name
v3_auth_priv_des3_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_des3_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_des3_password str
Authentication password for user
v3_auth_priv_des_access_acl_name str
Access-list name
v3_auth_priv_des_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_des_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_des_password str
Authentication password for user
grpname This property is required. String
Group to which the user belongs
username This property is required. String
Name of the user
v3AuthAlgorithm This property is required. String
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword This property is required. String
Authentication password for user
deleteMode String
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
device String
A device name from the provider configuration.
v3AuthAccessAclName String
Access-list name
v3AuthAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAccessAclName String
Access-list name
v3AuthPrivAesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm String
  • Choices: 128, 192, 256
v3AuthPrivAesPassword String
Authentication password for user
v3AuthPrivDes3AccessAclName String
Access-list name
v3AuthPrivDes3AccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password String
Authentication password for user
v3AuthPrivDesAccessAclName String
Access-list name
v3AuthPrivDesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword String
Authentication password for user

Outputs

All input properties are implicitly available as output properties. Additionally, the SnmpServerUser resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SnmpServerUser Resource

Get an existing SnmpServerUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SnmpServerUserState, opts?: CustomResourceOptions): SnmpServerUser
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        delete_mode: Optional[str] = None,
        device: Optional[str] = None,
        grpname: Optional[str] = None,
        username: Optional[str] = None,
        v3_auth_access_acl_name: Optional[str] = None,
        v3_auth_access_ipv6_acl: Optional[str] = None,
        v3_auth_access_standard_acl: Optional[int] = None,
        v3_auth_algorithm: Optional[str] = None,
        v3_auth_password: Optional[str] = None,
        v3_auth_priv_aes_access_acl_name: Optional[str] = None,
        v3_auth_priv_aes_access_ipv6_acl: Optional[str] = None,
        v3_auth_priv_aes_access_standard_acl: Optional[int] = None,
        v3_auth_priv_aes_algorithm: Optional[str] = None,
        v3_auth_priv_aes_password: Optional[str] = None,
        v3_auth_priv_des3_access_acl_name: Optional[str] = None,
        v3_auth_priv_des3_access_ipv6_acl: Optional[str] = None,
        v3_auth_priv_des3_access_standard_acl: Optional[int] = None,
        v3_auth_priv_des3_password: Optional[str] = None,
        v3_auth_priv_des_access_acl_name: Optional[str] = None,
        v3_auth_priv_des_access_ipv6_acl: Optional[str] = None,
        v3_auth_priv_des_access_standard_acl: Optional[int] = None,
        v3_auth_priv_des_password: Optional[str] = None) -> SnmpServerUser
func GetSnmpServerUser(ctx *Context, name string, id IDInput, state *SnmpServerUserState, opts ...ResourceOption) (*SnmpServerUser, error)
public static SnmpServerUser Get(string name, Input<string> id, SnmpServerUserState? state, CustomResourceOptions? opts = null)
public static SnmpServerUser get(String name, Output<String> id, SnmpServerUserState state, CustomResourceOptions options)
resources:  _:    type: iosxe:SnmpServerUser    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DeleteMode string
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
Device string
A device name from the provider configuration.
Grpname string
Group to which the user belongs
Username string
Name of the user
V3AuthAccessAclName string
Access-list name
V3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthAlgorithm string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
V3AuthPassword string
Authentication password for user
V3AuthPrivAesAccessAclName string
Access-list name
V3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivAesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
V3AuthPrivAesPassword string
Authentication password for user
V3AuthPrivDes3AccessAclName string
Access-list name
V3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDes3AccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDes3Password string
Authentication password for user
V3AuthPrivDesAccessAclName string
Access-list name
V3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDesPassword string
Authentication password for user
DeleteMode string
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
Device string
A device name from the provider configuration.
Grpname string
Group to which the user belongs
Username string
Name of the user
V3AuthAccessAclName string
Access-list name
V3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthAlgorithm string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
V3AuthPassword string
Authentication password for user
V3AuthPrivAesAccessAclName string
Access-list name
V3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivAesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
V3AuthPrivAesPassword string
Authentication password for user
V3AuthPrivDes3AccessAclName string
Access-list name
V3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDes3AccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDes3Password string
Authentication password for user
V3AuthPrivDesAccessAclName string
Access-list name
V3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
V3AuthPrivDesAccessStandardAcl int
Standard IP Access-list allowing access with this community string - Range: 1-99
V3AuthPrivDesPassword string
Authentication password for user
deleteMode String
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
device String
A device name from the provider configuration.
grpname String
Group to which the user belongs
username String
Name of the user
v3AuthAccessAclName String
Access-list name
v3AuthAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthAlgorithm String
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword String
Authentication password for user
v3AuthPrivAesAccessAclName String
Access-list name
v3AuthPrivAesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm String
  • Choices: 128, 192, 256
v3AuthPrivAesPassword String
Authentication password for user
v3AuthPrivDes3AccessAclName String
Access-list name
v3AuthPrivDes3AccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password String
Authentication password for user
v3AuthPrivDesAccessAclName String
Access-list name
v3AuthPrivDesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl Integer
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword String
Authentication password for user
deleteMode string
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
device string
A device name from the provider configuration.
grpname string
Group to which the user belongs
username string
Name of the user
v3AuthAccessAclName string
Access-list name
v3AuthAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthAlgorithm string
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword string
Authentication password for user
v3AuthPrivAesAccessAclName string
Access-list name
v3AuthPrivAesAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm string
  • Choices: 128, 192, 256
v3AuthPrivAesPassword string
Authentication password for user
v3AuthPrivDes3AccessAclName string
Access-list name
v3AuthPrivDes3AccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password string
Authentication password for user
v3AuthPrivDesAccessAclName string
Access-list name
v3AuthPrivDesAccessIpv6Acl string
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword string
Authentication password for user
delete_mode str
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
device str
A device name from the provider configuration.
grpname str
Group to which the user belongs
username str
Name of the user
v3_auth_access_acl_name str
Access-list name
v3_auth_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_algorithm str
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3_auth_password str
Authentication password for user
v3_auth_priv_aes_access_acl_name str
Access-list name
v3_auth_priv_aes_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_aes_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_aes_algorithm str
  • Choices: 128, 192, 256
v3_auth_priv_aes_password str
Authentication password for user
v3_auth_priv_des3_access_acl_name str
Access-list name
v3_auth_priv_des3_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_des3_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_des3_password str
Authentication password for user
v3_auth_priv_des_access_acl_name str
Access-list name
v3_auth_priv_des_access_ipv6_acl str
Specify IPv6 Named Access-List
v3_auth_priv_des_access_standard_acl int
Standard IP Access-list allowing access with this community string - Range: 1-99
v3_auth_priv_des_password str
Authentication password for user
deleteMode String
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
device String
A device name from the provider configuration.
grpname String
Group to which the user belongs
username String
Name of the user
v3AuthAccessAclName String
Access-list name
v3AuthAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthAlgorithm String
Use HMAC SHA/MD5 algorithm for authentication - Choices: md5, sha
v3AuthPassword String
Authentication password for user
v3AuthPrivAesAccessAclName String
Access-list name
v3AuthPrivAesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivAesAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivAesAlgorithm String
  • Choices: 128, 192, 256
v3AuthPrivAesPassword String
Authentication password for user
v3AuthPrivDes3AccessAclName String
Access-list name
v3AuthPrivDes3AccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDes3AccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDes3Password String
Authentication password for user
v3AuthPrivDesAccessAclName String
Access-list name
v3AuthPrivDesAccessIpv6Acl String
Specify IPv6 Named Access-List
v3AuthPrivDesAccessStandardAcl Number
Standard IP Access-list allowing access with this community string - Range: 1-99
v3AuthPrivDesPassword String
Authentication password for user

Import

 $ pulumi import iosxe:index/snmpServerUser:SnmpServerUser example "Cisco-IOS-XE-native:native/snmp-server/Cisco-IOS-XE-snmp:user/names=USER1,GROUP1"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
iosxe lbrlabs/pulumi-iosxe
License
Apache-2.0
Notes
This Pulumi package is based on the iosxe Terraform Provider.