public class SnmpTrapDestinations
extends Base
The schema that defines the SnmpTrapDestinations resource is defined below.
<xs:element name="SnmpTrapDestinations">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="SnmpTrapDestination" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SnmpTrapDestination">
<xs:complexType>
<xs:sequence>
<xs:element name="IpAddress" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="FailureTrapEnabled" type="xs:boolean"/>
<xs:element name="WarningTrapEnabled" type="xs:boolean"/>
<xs:element name="InformationalTrapEnabled" type="xs:boolean"/>
<xs:element name="AvailableTrapEnabled" type="xs:boolean"/>
<xs:element name="UnavailableTrapEnabled" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="SnmpTrapDestinationColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="IpAddress"/>
<xs:enumeration value="Name"/>
<xs:enumeration value="FailureTrapEnabled"/>
<xs:enumeration value="WarningTrapEnabled"/>
<xs:enumeration value="InformationalTrapEnabled"/>
<xs:enumeration value="AvailableTrapEnabled"/>
<xs:enumeration value="UnavailableTrapEnabled"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
SnmpTrapDestinations() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addSnmpTrapDestination(javax.servlet.http.HttpServletRequest request,
SnmpTrapDestination snmpTrapDestination,
java.lang.String errorType)
POST /rest/SnmpTrapDestinations
|
void |
deleteSnmpTrapDestination(javax.servlet.http.HttpServletRequest request,
java.lang.String ipAddress,
java.lang.String errorType)
DELETE /rest/SnmpTrapDestinations/{ipAddress}
|
SnmpTrapDestination |
getSnmpTrapDestination(javax.servlet.http.HttpServletRequest request,
java.lang.String ipAddress,
java.lang.String errorType)
GET /rest/SnmpTrapDestinations/{ipAddress}
|
com.quantum.dxi.dao.types.SnmpTrapDestinations |
getSnmpTrapDestinations(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/SnmpTrapDestinations
|
NumericScalarType |
getSnmpTrapDestinationsCount(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/SnmpTrapDestinations/getRowCount
|
javax.ws.rs.core.Response |
testSnmpTrapDestination(javax.servlet.http.HttpServletRequest request,
java.lang.String ipAddress,
java.lang.String errorType)
POST /rest/SnmpTrapDestinations/test/{ipAddress}
|
javax.ws.rs.core.Response |
updateSnmpTrapDestination(javax.servlet.http.HttpServletRequest request,
java.lang.String ipAddress,
SnmpTrapDestination snmpTrapDestination,
java.lang.String errorType)
PUT /rest/SnmpTrapDestinations
|
public NumericScalarType getSnmpTrapDestinationsCount(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, java.lang.String filterString, java.lang.String errorType)
Get the number of SNMP TrapDestinations on the system.
getSnmpTrapDestinationsCount
supports the table query parameters for filtering by column name.
Column names are defined in <xs:element name="SnmpTrapDestinationColumnNameType">
Response Entity type: <xs:element name="NumericScalarType">
public com.quantum.dxi.dao.types.SnmpTrapDestinations getSnmpTrapDestinations(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, java.lang.String sortColumn, java.lang.String sortDirection, java.lang.String filterString, java.lang.String errorType)
Get the SNMP TrapDestinations on the system.
Response Entity type: <xs:element name="SnmpTrapDestinations">
<xs:element name="SnmpTrapDestinations">
supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="SnmpTrapDestinationColumnNameType">
public SnmpTrapDestination getSnmpTrapDestination(@Context javax.servlet.http.HttpServletRequest request, java.lang.String ipAddress, java.lang.String errorType)
Get the SNMP TrapDestination on the system identified by {ipAddress}
.
Response Entity type: <xs:element name="SnmpTrapDestination">
public void deleteSnmpTrapDestination(@Context javax.servlet.http.HttpServletRequest request, java.lang.String ipAddress, java.lang.String errorType)
Remove the SNMP TrapDestination identified by {ipAddress}
from the system.
public javax.ws.rs.core.Response updateSnmpTrapDestination(@Context javax.servlet.http.HttpServletRequest request, java.lang.String ipAddress, SnmpTrapDestination snmpTrapDestination, java.lang.String errorType)
Edit a SNMP TrapDestination on the system.
Request Entity type: <xs:element name="SnmpTrapDestination">
Response Entity type: <xs:element name="SnmpTrapDestination">
public javax.ws.rs.core.Response addSnmpTrapDestination(@Context javax.servlet.http.HttpServletRequest request, SnmpTrapDestination snmpTrapDestination, java.lang.String errorType)
Add a SNMP TrapDestination on the system.
Request Entity type: <xs:element name="SnmpTrapDestination">
Response Entity type: <xs:element name="SnmpTrapDestination">
public javax.ws.rs.core.Response testSnmpTrapDestination(@Context javax.servlet.http.HttpServletRequest request, java.lang.String ipAddress, java.lang.String errorType)
Send a test SNMP trap from the system to the trap destination identified by {ipAddress}
.
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.