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",
});
});
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
})
}
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());
}
}
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")
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",
});
resources:
example:
type: iosxe:SnmpServerUser
properties:
grpname: GROUP1
username: USER1
v3AuthAlgorithm: sha
v3AuthPassword: Cisco123
v3AuthPrivAesAccessAclName: ACL123
v3AuthPrivAesAccessIpv6Acl: V6ACL1
v3AuthPrivAesAlgorithm: '128'
v3AuthPrivAesPassword: Cisco123
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 string
- The unique name of the resource.
- args SnmpServerUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args SnmpServerUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnmpServerUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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
The SnmpServerUser resource accepts the following input properties:
- Grpname string
- Group to which the user belongs
- Username string
- Name of the user
- V3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- V3Auth
Password string - Authentication password for user
- Delete
Mode 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.
- V3Auth
Access stringAcl Name - Access-list name
- V3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- V3Auth
Access intStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Access Acl Name - Access-list name
- V3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- V3Auth
Priv stringAes Password - Authentication password for user
- V3Auth
Priv stringDes3Access Acl Name - Access-list name
- V3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes3Password - Authentication password for user
- V3Auth
Priv stringDes Access Acl Name - Access-list name
- V3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes Password - Authentication password for user
- Grpname string
- Group to which the user belongs
- Username string
- Name of the user
- V3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- V3Auth
Password string - Authentication password for user
- Delete
Mode 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.
- V3Auth
Access stringAcl Name - Access-list name
- V3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- V3Auth
Access intStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Access Acl Name - Access-list name
- V3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- V3Auth
Priv stringAes Password - Authentication password for user
- V3Auth
Priv stringDes3Access Acl Name - Access-list name
- V3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes3Password - Authentication password for user
- V3Auth
Priv stringDes Access Acl Name - Access-list name
- V3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes Password - Authentication password for user
- grpname String
- Group to which the user belongs
- username String
- Name of the user
- v3Auth
Algorithm String - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password String - Authentication password for user
- delete
Mode 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.
- v3Auth
Access StringAcl Name - Access-list name
- v3Auth
Access StringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access IntegerStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Access Acl Name - Access-list name
- v3Auth
Priv StringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv StringAes Password - Authentication password for user
- v3Auth
Priv StringDes3Access Acl Name - Access-list name
- v3Auth
Priv StringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes3Password - Authentication password for user
- v3Auth
Priv StringDes Access Acl Name - Access-list name
- v3Auth
Priv StringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes Password - Authentication password for user
- grpname string
- Group to which the user belongs
- username string
- Name of the user
- v3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password string - Authentication password for user
- delete
Mode 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.
- v3Auth
Access stringAcl Name - Access-list name
- v3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access numberStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringAes Access Acl Name - Access-list name
- v3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv stringAes Password - Authentication password for user
- v3Auth
Priv stringDes3Access Acl Name - Access-list name
- v3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringDes3Password - Authentication password for user
- v3Auth
Priv stringDes Access Acl Name - Access-list name
- v3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringDes Password - Authentication password for user
- grpname str
- Group to which the user belongs
- username str
- Name of the user
- v3_
auth_ stralgorithm - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3_
auth_ strpassword - 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_ 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 - Range:
1
-99
- 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 - Range:
1
-99
- v3_
auth_ strpriv_ aes_ algorithm - Choices:
128
,192
,256
- Choices:
- 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 - Range:
1
-99
- 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 - Range:
1
-99
- v3_
auth_ strpriv_ des_ password - Authentication password for user
- grpname String
- Group to which the user belongs
- username String
- Name of the user
- v3Auth
Algorithm String - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password String - Authentication password for user
- delete
Mode 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.
- v3Auth
Access StringAcl Name - Access-list name
- v3Auth
Access StringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access NumberStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Access Acl Name - Access-list name
- v3Auth
Priv StringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv StringAes Password - Authentication password for user
- v3Auth
Priv StringDes3Access Acl Name - Access-list name
- v3Auth
Priv StringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes3Password - Authentication password for user
- v3Auth
Priv StringDes Access Acl Name - Access-list name
- v3Auth
Priv StringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes Password - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Delete
Mode 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
- V3Auth
Access stringAcl Name - Access-list name
- V3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- V3Auth
Access intStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- V3Auth
Password string - Authentication password for user
- V3Auth
Priv stringAes Access Acl Name - Access-list name
- V3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- V3Auth
Priv stringAes Password - Authentication password for user
- V3Auth
Priv stringDes3Access Acl Name - Access-list name
- V3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes3Password - Authentication password for user
- V3Auth
Priv stringDes Access Acl Name - Access-list name
- V3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes Password - Authentication password for user
- Delete
Mode 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
- V3Auth
Access stringAcl Name - Access-list name
- V3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- V3Auth
Access intStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- V3Auth
Password string - Authentication password for user
- V3Auth
Priv stringAes Access Acl Name - Access-list name
- V3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- V3Auth
Priv stringAes Password - Authentication password for user
- V3Auth
Priv stringDes3Access Acl Name - Access-list name
- V3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes3Password - Authentication password for user
- V3Auth
Priv stringDes Access Acl Name - Access-list name
- V3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- V3Auth
Priv intDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- V3Auth
Priv stringDes Password - Authentication password for user
- delete
Mode 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
- v3Auth
Access StringAcl Name - Access-list name
- v3Auth
Access StringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access IntegerStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Algorithm String - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password String - Authentication password for user
- v3Auth
Priv StringAes Access Acl Name - Access-list name
- v3Auth
Priv StringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv StringAes Password - Authentication password for user
- v3Auth
Priv StringDes3Access Acl Name - Access-list name
- v3Auth
Priv StringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes3Password - Authentication password for user
- v3Auth
Priv StringDes Access Acl Name - Access-list name
- v3Auth
Priv StringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv IntegerDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes Password - Authentication password for user
- delete
Mode 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
- v3Auth
Access stringAcl Name - Access-list name
- v3Auth
Access stringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access numberStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Algorithm string - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password string - Authentication password for user
- v3Auth
Priv stringAes Access Acl Name - Access-list name
- v3Auth
Priv stringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv stringAes Password - Authentication password for user
- v3Auth
Priv stringDes3Access Acl Name - Access-list name
- v3Auth
Priv stringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringDes3Password - Authentication password for user
- v3Auth
Priv stringDes Access Acl Name - Access-list name
- v3Auth
Priv stringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv numberDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv stringDes Password - 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_ 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 - Range:
1
-99
- v3_
auth_ stralgorithm - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- 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 - Range:
1
-99
- v3_
auth_ strpriv_ aes_ algorithm - Choices:
128
,192
,256
- Choices:
- 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 - Range:
1
-99
- 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 - Range:
1
-99
- v3_
auth_ strpriv_ des_ password - Authentication password for user
- delete
Mode 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
- v3Auth
Access StringAcl Name - Access-list name
- v3Auth
Access StringIpv6Acl - Specify IPv6 Named Access-List
- v3Auth
Access NumberStandard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Algorithm String - Use HMAC SHA/MD5 algorithm for authentication - Choices:
md5
,sha
- v3Auth
Password String - Authentication password for user
- v3Auth
Priv StringAes Access Acl Name - Access-list name
- v3Auth
Priv StringAes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberAes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringAes Algorithm - Choices:
128
,192
,256
- Choices:
- v3Auth
Priv StringAes Password - Authentication password for user
- v3Auth
Priv StringDes3Access Acl Name - Access-list name
- v3Auth
Priv StringDes3Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberDes3Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes3Password - Authentication password for user
- v3Auth
Priv StringDes Access Acl Name - Access-list name
- v3Auth
Priv StringDes Access Ipv6Acl - Specify IPv6 Named Access-List
- v3Auth
Priv NumberDes Access Standard Acl - Standard IP Access-list allowing access with this community string - Range:
1
-99
- v3Auth
Priv StringDes Password - 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"
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.