Invoke ADCGetSnmptrapbinding - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetSnmptrapbinding

SYNOPSIS

Get SNMP configuration object(s).

SYNTAX

GetAll (Default)

Invoke-ADCGetSnmptrapbinding [-Filter <Hashtable>] [-GetAll] [<CommonParameters>]

GetByArgument

Invoke-ADCGetSnmptrapbinding [-Trapdestination <String>] [-Version <String>] [-Td <Double>]
 [-Trapclass <String>] [-Filter <Hashtable>] [<CommonParameters>]

DESCRIPTION

Binding object which returns the resources bound to snmptrap.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetSnmptrapbinding

Get data.

EXAMPLE 2

Invoke-ADCGetSnmptrapbinding -GetAll

Get all snmptrap_binding data.

EXAMPLE 3

Invoke-ADCGetSnmptrapbinding -name <string>

Get snmptrap_binding object by specifying for example the name.

EXAMPLE 4

Invoke-ADCGetSnmptrapbinding -Filter @{ 'name'='<value>' }

Get snmptrap_binding data with a filter.

PARAMETERS

-Trapdestination

IP address specified in the trap listener entry.

Type: String
Parameter Sets: GetByArgument
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Version

The SNMP version of the trap specified in the trap listener entry. Possible values = V1, V2, V3

Type: String
Parameter Sets: GetByArgument
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Td

Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.

Type: Double
Parameter Sets: GetByArgument
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Trapclass

Trap type specified in the trap listener entry. Possible values = generic, specific

Type: String
Parameter Sets: GetByArgument
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Specify a filter. -Filter @{ 'name'='<value>' }

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: @{ }
Accept pipeline input: False
Accept wildcard characters: False

-GetAll

Retrieve all snmptrap_binding object(s).

Type: SwitchParameter
Parameter Sets: GetAll
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCGetSnmptrapbinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/snmp/snmptrap_binding/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️