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,
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

snmp_traps = f5bigip.sys.SnmpTraps("snmpTraps",
    community="f5community",
    description="Setup snmp traps",
    host="195.10.10.1",
    name="snmptraps",
    port=111)
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const snmpTraps = new f5bigip.sys.SnmpTraps("snmp_traps", {
    community: "f5community",
    description: "Setup snmp traps",
    host: "195.10.10.1",
    name: "snmptraps",
    port: 111,
});

Create a SnmpTraps Resource

def SnmpTraps(resource_name, opts=None, auth_passwordencrypted=None, auth_protocol=None, community=None, description=None, engine_id=None, host=None, name=None, port=None, privacy_password=None, privacy_password_encrypted=None, privacy_protocol=None, security_level=None, security_name=None, version=None, __props__=None);
func NewSnmpTraps(ctx *Context, name string, args *SnmpTrapsArgs, opts ...ResourceOption) (*SnmpTraps, error)
public SnmpTraps(string name, SnmpTrapsArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SnmpTrapsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SnmpTrapsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SnmpTrapsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SnmpTraps Resource Properties

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

Inputs

The SnmpTraps resource accepts the following input properties:

AuthPasswordencrypted string

Encrypted password

AuthProtocol string

Specifies the protocol used to authenticate the user.

Community string

Specifies the community string used for this trap.

Description string

The port that the trap will be sent to.

EngineId string

Specifies the authoritative security engine for SNMPv3.

Host string

The host the trap will be sent to.

Name string

Name of the snmp trap.

Port int

User defined description.

PrivacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

PrivacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

PrivacyProtocol string

Specifies the protocol used to encrypt traffic.

SecurityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

SecurityName string

Security name used in conjunction with SNMPv3.

Version string

SNMP version used for sending the trap.

AuthPasswordencrypted string

Encrypted password

AuthProtocol string

Specifies the protocol used to authenticate the user.

Community string

Specifies the community string used for this trap.

Description string

The port that the trap will be sent to.

EngineId string

Specifies the authoritative security engine for SNMPv3.

Host string

The host the trap will be sent to.

Name string

Name of the snmp trap.

Port int

User defined description.

PrivacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

PrivacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

PrivacyProtocol string

Specifies the protocol used to encrypt traffic.

SecurityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

SecurityName string

Security name used in conjunction with SNMPv3.

Version string

SNMP version used for sending the trap.

authPasswordencrypted string

Encrypted password

authProtocol string

Specifies the protocol used to authenticate the user.

community string

Specifies the community string used for this trap.

description string

The port that the trap will be sent to.

engineId string

Specifies the authoritative security engine for SNMPv3.

host string

The host the trap will be sent to.

name string

Name of the snmp trap.

port number

User defined description.

privacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

privacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

privacyProtocol string

Specifies the protocol used to encrypt traffic.

securityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

securityName string

Security name used in conjunction with SNMPv3.

version string

SNMP version used for sending the trap.

auth_passwordencrypted str

Encrypted password

auth_protocol str

Specifies the protocol used to authenticate the user.

community str

Specifies the community string used for this trap.

description str

The port that the trap will be sent to.

engine_id str

Specifies the authoritative security engine for SNMPv3.

host str

The host the trap will be sent to.

name str

Name of the snmp trap.

port float

User defined description.

privacy_password str

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

privacy_password_encrypted str

Specifies the encrypted password used to encrypt traffic.

privacy_protocol str

Specifies the protocol used to encrypt traffic.

security_level str

Specifies whether or not traffic is encrypted and whether or not authentication is required.

security_name str

Security name used in conjunction with SNMPv3.

version str

SNMP version used for sending the trap.

Outputs

All input properties are implicitly available as output properties. Additionally, the SnmpTraps 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing SnmpTraps Resource

Get an existing SnmpTraps 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?: SnmpTrapsState, opts?: CustomResourceOptions): SnmpTraps
static get(resource_name, id, opts=None, auth_passwordencrypted=None, auth_protocol=None, community=None, description=None, engine_id=None, host=None, name=None, port=None, privacy_password=None, privacy_password_encrypted=None, privacy_protocol=None, security_level=None, security_name=None, version=None, __props__=None);
func GetSnmpTraps(ctx *Context, name string, id IDInput, state *SnmpTrapsState, opts ...ResourceOption) (*SnmpTraps, error)
public static SnmpTraps Get(string name, Input<string> id, SnmpTrapsState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AuthPasswordencrypted string

Encrypted password

AuthProtocol string

Specifies the protocol used to authenticate the user.

Community string

Specifies the community string used for this trap.

Description string

The port that the trap will be sent to.

EngineId string

Specifies the authoritative security engine for SNMPv3.

Host string

The host the trap will be sent to.

Name string

Name of the snmp trap.

Port int

User defined description.

PrivacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

PrivacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

PrivacyProtocol string

Specifies the protocol used to encrypt traffic.

SecurityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

SecurityName string

Security name used in conjunction with SNMPv3.

Version string

SNMP version used for sending the trap.

AuthPasswordencrypted string

Encrypted password

AuthProtocol string

Specifies the protocol used to authenticate the user.

Community string

Specifies the community string used for this trap.

Description string

The port that the trap will be sent to.

EngineId string

Specifies the authoritative security engine for SNMPv3.

Host string

The host the trap will be sent to.

Name string

Name of the snmp trap.

Port int

User defined description.

PrivacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

PrivacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

PrivacyProtocol string

Specifies the protocol used to encrypt traffic.

SecurityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

SecurityName string

Security name used in conjunction with SNMPv3.

Version string

SNMP version used for sending the trap.

authPasswordencrypted string

Encrypted password

authProtocol string

Specifies the protocol used to authenticate the user.

community string

Specifies the community string used for this trap.

description string

The port that the trap will be sent to.

engineId string

Specifies the authoritative security engine for SNMPv3.

host string

The host the trap will be sent to.

name string

Name of the snmp trap.

port number

User defined description.

privacyPassword string

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

privacyPasswordEncrypted string

Specifies the encrypted password used to encrypt traffic.

privacyProtocol string

Specifies the protocol used to encrypt traffic.

securityLevel string

Specifies whether or not traffic is encrypted and whether or not authentication is required.

securityName string

Security name used in conjunction with SNMPv3.

version string

SNMP version used for sending the trap.

auth_passwordencrypted str

Encrypted password

auth_protocol str

Specifies the protocol used to authenticate the user.

community str

Specifies the community string used for this trap.

description str

The port that the trap will be sent to.

engine_id str

Specifies the authoritative security engine for SNMPv3.

host str

The host the trap will be sent to.

name str

Name of the snmp trap.

port float

User defined description.

privacy_password str

Specifies the clear text password used to encrypt traffic. This field will not be displayed.

privacy_password_encrypted str

Specifies the encrypted password used to encrypt traffic.

privacy_protocol str

Specifies the protocol used to encrypt traffic.

security_level str

Specifies whether or not traffic is encrypted and whether or not authentication is required.

security_name str

Security name used in conjunction with SNMPv3.

version str

SNMP version used for sending the trap.

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.