Class SnmpTraps
f5bigip.sys.SnmpTraps provides details bout how to enable snmp_traps resource on BIG-IP
Example Usage
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
class MyStack : Stack
{
public MyStack()
{
var snmpTraps = new F5BigIP.Sys.SnmpTraps("snmpTraps", new F5BigIP.Sys.SnmpTrapsArgs
{
Community = "f5community",
Description = "Setup snmp traps",
Host = "195.10.10.1",
Name = "snmptraps",
Port = 111,
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Sys
Assembly: Pulumi.F5BigIP.dll
Syntax
public class SnmpTraps : CustomResource
Constructors
View SourceSnmpTraps(String, SnmpTrapsArgs, CustomResourceOptions)
Create a SnmpTraps resource with the given unique name, arguments, and options.
Declaration
public SnmpTraps(string name, SnmpTrapsArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SnmpTrapsArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAuthPasswordencrypted
Encrypted password
Declaration
public Output<string> AuthPasswordencrypted { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AuthProtocol
Specifies the protocol used to authenticate the user.
Declaration
public Output<string> AuthProtocol { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Community
Specifies the community string used for this trap.
Declaration
public Output<string> Community { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The port that the trap will be sent to.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EngineId
Specifies the authoritative security engine for SNMPv3.
Declaration
public Output<string> EngineId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Host
The host the trap will be sent to.
Declaration
public Output<string> Host { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Name of the snmp trap.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Port
User defined description.
Declaration
public Output<int?> Port { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
PrivacyPassword
Specifies the clear text password used to encrypt traffic. This field will not be displayed.
Declaration
public Output<string> PrivacyPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivacyPasswordEncrypted
Specifies the encrypted password used to encrypt traffic.
Declaration
public Output<string> PrivacyPasswordEncrypted { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivacyProtocol
Specifies the protocol used to encrypt traffic.
Declaration
public Output<string> PrivacyProtocol { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecurityLevel
Specifies whether or not traffic is encrypted and whether or not authentication is required.
Declaration
public Output<string> SecurityLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecurityName
Security name used in conjunction with SNMPv3.
Declaration
public Output<string> SecurityName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Version
SNMP version used for sending the trap.
Declaration
public Output<string> Version { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SnmpTrapsState, CustomResourceOptions)
Get an existing SnmpTraps resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SnmpTraps Get(string name, Input<string> id, SnmpTrapsState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SnmpTrapsState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SnmpTraps |