Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getSnmpServerUser
Explore with Pulumi AI
This data source can read the SNMP Server User configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetSnmpServerUser.Invoke(new()
    {
        Grpname = "GROUP1",
        Username = "USER1",
    });
});
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.LookupSnmpServerUser(ctx, &iosxe.LookupSnmpServerUserArgs{
			Grpname:  "GROUP1",
			Username: "USER1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetSnmpServerUserArgs;
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) {
        final var example = IosxeFunctions.getSnmpServerUser(GetSnmpServerUserArgs.builder()
            .grpname("GROUP1")
            .username("USER1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getSnmpServerUser({
    grpname: "GROUP1",
    username: "USER1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_snmp_server_user(grpname="GROUP1",
    username="USER1")
variables:
  example:
    fn::invoke:
      Function: iosxe:getSnmpServerUser
      Arguments:
        grpname: GROUP1
        username: USER1
Using getSnmpServerUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnmpServerUser(args: GetSnmpServerUserArgs, opts?: InvokeOptions): Promise<GetSnmpServerUserResult>
function getSnmpServerUserOutput(args: GetSnmpServerUserOutputArgs, opts?: InvokeOptions): Output<GetSnmpServerUserResult>def get_snmp_server_user(device: Optional[str] = None,
                         grpname: Optional[str] = None,
                         username: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSnmpServerUserResult
def get_snmp_server_user_output(device: Optional[pulumi.Input[str]] = None,
                         grpname: Optional[pulumi.Input[str]] = None,
                         username: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSnmpServerUserResult]func LookupSnmpServerUser(ctx *Context, args *LookupSnmpServerUserArgs, opts ...InvokeOption) (*LookupSnmpServerUserResult, error)
func LookupSnmpServerUserOutput(ctx *Context, args *LookupSnmpServerUserOutputArgs, opts ...InvokeOption) LookupSnmpServerUserResultOutput> Note: This function is named LookupSnmpServerUser in the Go SDK.
public static class GetSnmpServerUser 
{
    public static Task<GetSnmpServerUserResult> InvokeAsync(GetSnmpServerUserArgs args, InvokeOptions? opts = null)
    public static Output<GetSnmpServerUserResult> Invoke(GetSnmpServerUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnmpServerUserResult> getSnmpServerUser(GetSnmpServerUserArgs args, InvokeOptions options)
public static Output<GetSnmpServerUserResult> getSnmpServerUser(GetSnmpServerUserArgs args, InvokeOptions options)
fn::invoke:
  function: iosxe:index/getSnmpServerUser:getSnmpServerUser
  arguments:
    # arguments dictionaryThe following arguments are supported:
getSnmpServerUser Result
The following output properties are available:
- Grpname string
- Group to which the user belongs
- Id string
- The path of the retrieved object.
- Username string
- Name of the user
- V3AuthAccess stringAcl Name 
- Access-list name
- V3AuthAccess stringIpv6Acl 
- Specify IPv6 Named Access-List
- V3AuthAccess intStandard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthAlgorithm string
- Use HMAC SHA/MD5 algorithm for authentication
- V3AuthPassword string
- Authentication password for user
- V3AuthPriv stringAes Access Acl Name 
- Access-list name
- V3AuthPriv stringAes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intAes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringAes Algorithm 
- V3AuthPriv stringAes Password 
- Authentication password for user
- V3AuthPriv stringDes3Access Acl Name 
- Access-list name
- V3AuthPriv stringDes3Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intDes3Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringDes3Password 
- Authentication password for user
- V3AuthPriv stringDes Access Acl Name 
- Access-list name
- V3AuthPriv stringDes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intDes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringDes Password 
- Authentication password for user
- Device string
- A device name from the provider configuration.
- Grpname string
- Group to which the user belongs
- Id string
- The path of the retrieved object.
- Username string
- Name of the user
- V3AuthAccess stringAcl Name 
- Access-list name
- V3AuthAccess stringIpv6Acl 
- Specify IPv6 Named Access-List
- V3AuthAccess intStandard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthAlgorithm string
- Use HMAC SHA/MD5 algorithm for authentication
- V3AuthPassword string
- Authentication password for user
- V3AuthPriv stringAes Access Acl Name 
- Access-list name
- V3AuthPriv stringAes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intAes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringAes Algorithm 
- V3AuthPriv stringAes Password 
- Authentication password for user
- V3AuthPriv stringDes3Access Acl Name 
- Access-list name
- V3AuthPriv stringDes3Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intDes3Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringDes3Password 
- Authentication password for user
- V3AuthPriv stringDes Access Acl Name 
- Access-list name
- V3AuthPriv stringDes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- V3AuthPriv intDes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- V3AuthPriv stringDes Password 
- Authentication password for user
- Device string
- A device name from the provider configuration.
- grpname String
- Group to which the user belongs
- id String
- The path of the retrieved object.
- username String
- Name of the user
- v3AuthAccess StringAcl Name 
- Access-list name
- v3AuthAccess StringIpv6Acl 
- Specify IPv6 Named Access-List
- v3AuthAccess IntegerStandard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthAlgorithm String
- Use HMAC SHA/MD5 algorithm for authentication
- v3AuthPassword String
- Authentication password for user
- v3AuthPriv StringAes Access Acl Name 
- Access-list name
- v3AuthPriv StringAes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv IntegerAes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringAes Algorithm 
- v3AuthPriv StringAes Password 
- Authentication password for user
- v3AuthPriv StringDes3Access Acl Name 
- Access-list name
- v3AuthPriv StringDes3Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv IntegerDes3Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringDes3Password 
- Authentication password for user
- v3AuthPriv StringDes Access Acl Name 
- Access-list name
- v3AuthPriv StringDes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv IntegerDes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringDes Password 
- Authentication password for user
- device String
- A device name from the provider configuration.
- grpname string
- Group to which the user belongs
- id string
- The path of the retrieved object.
- username string
- Name of the user
- v3AuthAccess stringAcl Name 
- Access-list name
- v3AuthAccess stringIpv6Acl 
- Specify IPv6 Named Access-List
- v3AuthAccess numberStandard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthAlgorithm string
- Use HMAC SHA/MD5 algorithm for authentication
- v3AuthPassword string
- Authentication password for user
- v3AuthPriv stringAes Access Acl Name 
- Access-list name
- v3AuthPriv stringAes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv numberAes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv stringAes Algorithm 
- v3AuthPriv stringAes Password 
- Authentication password for user
- v3AuthPriv stringDes3Access Acl Name 
- Access-list name
- v3AuthPriv stringDes3Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv numberDes3Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv stringDes3Password 
- Authentication password for user
- v3AuthPriv stringDes Access Acl Name 
- Access-list name
- v3AuthPriv stringDes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv numberDes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv stringDes Password 
- Authentication password for user
- device string
- A device name from the provider configuration.
- grpname str
- Group to which the user belongs
- id str
- The path of the retrieved object.
- username str
- Name of the user
- v3_auth_ straccess_ acl_ name 
- Access-list name
- v3_auth_ straccess_ ipv6_ acl 
- Specify IPv6 Named Access-List
- v3_auth_ intaccess_ standard_ acl 
- Standard IP Access-list allowing access with this community string
- v3_auth_ stralgorithm 
- Use HMAC SHA/MD5 algorithm for authentication
- v3_auth_ strpassword 
- Authentication password for user
- v3_auth_ strpriv_ aes_ access_ acl_ name 
- Access-list name
- v3_auth_ strpriv_ aes_ access_ ipv6_ acl 
- Specify IPv6 Named Access-List
- v3_auth_ intpriv_ aes_ access_ standard_ acl 
- Standard IP Access-list allowing access with this community string
- v3_auth_ strpriv_ aes_ algorithm 
- v3_auth_ strpriv_ aes_ password 
- Authentication password for user
- v3_auth_ strpriv_ des3_ access_ acl_ name 
- Access-list name
- v3_auth_ strpriv_ des3_ access_ ipv6_ acl 
- Specify IPv6 Named Access-List
- v3_auth_ intpriv_ des3_ access_ standard_ acl 
- Standard IP Access-list allowing access with this community string
- v3_auth_ strpriv_ des3_ password 
- Authentication password for user
- v3_auth_ strpriv_ des_ access_ acl_ name 
- Access-list name
- v3_auth_ strpriv_ des_ access_ ipv6_ acl 
- Specify IPv6 Named Access-List
- v3_auth_ intpriv_ des_ access_ standard_ acl 
- Standard IP Access-list allowing access with this community string
- v3_auth_ strpriv_ des_ password 
- Authentication password for user
- device str
- A device name from the provider configuration.
- grpname String
- Group to which the user belongs
- id String
- The path of the retrieved object.
- username String
- Name of the user
- v3AuthAccess StringAcl Name 
- Access-list name
- v3AuthAccess StringIpv6Acl 
- Specify IPv6 Named Access-List
- v3AuthAccess NumberStandard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthAlgorithm String
- Use HMAC SHA/MD5 algorithm for authentication
- v3AuthPassword String
- Authentication password for user
- v3AuthPriv StringAes Access Acl Name 
- Access-list name
- v3AuthPriv StringAes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv NumberAes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringAes Algorithm 
- v3AuthPriv StringAes Password 
- Authentication password for user
- v3AuthPriv StringDes3Access Acl Name 
- Access-list name
- v3AuthPriv StringDes3Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv NumberDes3Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringDes3Password 
- Authentication password for user
- v3AuthPriv StringDes Access Acl Name 
- Access-list name
- v3AuthPriv StringDes Access Ipv6Acl 
- Specify IPv6 Named Access-List
- v3AuthPriv NumberDes Access Standard Acl 
- Standard IP Access-list allowing access with this community string
- v3AuthPriv StringDes Password 
- Authentication password for user
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.