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
new SnmpTraps(name: string, args?: SnmpTrapsArgs, opts?: CustomResourceOptions);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:
- Auth
Passwordencrypted string Encrypted password
- Auth
Protocol 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.
- Engine
Id 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.
- Privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- Privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- Privacy
Protocol string Specifies the protocol used to encrypt traffic.
- Security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- Security
Name string Security name used in conjunction with SNMPv3.
- Version string
SNMP version used for sending the trap.
- Auth
Passwordencrypted string Encrypted password
- Auth
Protocol 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.
- Engine
Id 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.
- Privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- Privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- Privacy
Protocol string Specifies the protocol used to encrypt traffic.
- Security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- Security
Name string Security name used in conjunction with SNMPv3.
- Version string
SNMP version used for sending the trap.
- auth
Passwordencrypted string Encrypted password
- auth
Protocol 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.
- engine
Id 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.
- privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- privacy
Protocol string Specifies the protocol used to encrypt traffic.
- security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- security
Name 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_ strencrypted 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:
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): SnmpTrapsstatic 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:
- Auth
Passwordencrypted string Encrypted password
- Auth
Protocol 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.
- Engine
Id 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.
- Privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- Privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- Privacy
Protocol string Specifies the protocol used to encrypt traffic.
- Security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- Security
Name string Security name used in conjunction with SNMPv3.
- Version string
SNMP version used for sending the trap.
- Auth
Passwordencrypted string Encrypted password
- Auth
Protocol 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.
- Engine
Id 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.
- Privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- Privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- Privacy
Protocol string Specifies the protocol used to encrypt traffic.
- Security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- Security
Name string Security name used in conjunction with SNMPv3.
- Version string
SNMP version used for sending the trap.
- auth
Passwordencrypted string Encrypted password
- auth
Protocol 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.
- engine
Id 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.
- privacy
Password string Specifies the clear text password used to encrypt traffic. This field will not be displayed.
- privacy
Password stringEncrypted Specifies the encrypted password used to encrypt traffic.
- privacy
Protocol string Specifies the protocol used to encrypt traffic.
- security
Level string Specifies whether or not traffic is encrypted and whether or not authentication is required.
- security
Name 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_ strencrypted 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
bigipTerraform Provider.