public class SnmpCommunities
extends Base
The schema that defines the SnmpCommunities resource is defined below.
<xs:element name="SnmpCommunities">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="SnmpCommunity" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SnmpCommunity">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="IpAddress" type="xs:string"/>
<xs:element name="Netmask" type="xs:string"/>
<xs:element name="AccessType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Get"/>
<xs:enumeration value="GetSet"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Enabled" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="SnmpCommunityColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Name"/>
<xs:enumeration value="IpAddress"/>
<xs:enumeration value="Netmask"/>
<xs:enumeration value="AccessType"/>
<xs:enumeration value="Enabled"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
SnmpCommunities() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addSnmpCommunity(javax.servlet.http.HttpServletRequest request,
SnmpCommunity snmpCommunity,
String errorType)
POST /rest/SnmpCommunities
|
void |
deleteSnmpCommunity(javax.servlet.http.HttpServletRequest request,
String name,
String errorType)
DELETE /rest/SnmpCommunities/{name}
|
com.quantum.dxi.dao.types.SnmpCommunities |
getSnmpCommunities(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
String sortColumn,
String sortDirection,
String filterString,
String errorType)
GET /rest/SnmpCommunities
|
NumericScalarType |
getSnmpCommunitiesCount(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
String filterString,
String errorType)
GET /rest/SnmpCommunities/getRowCount
|
SnmpCommunity |
getSnmpCommunity(javax.servlet.http.HttpServletRequest request,
String name,
String errorType)
GET /rest/SnmpCommunities/{name}
|
javax.ws.rs.core.Response |
updateSnmpCommunity(javax.servlet.http.HttpServletRequest request,
String name,
SnmpCommunity snmpCommunity,
String errorType)
PUT /rest/SnmpCommunities
|
public NumericScalarType getSnmpCommunitiesCount(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, String filterString, String errorType)
Get the number of SNMP Communities on the system.
getSnmpCommunitiesCount
supports the table query parameters for filtering by column name.
Column names are defined in <xs:element name="SnmpCommunityColumnNameType">
Response Entity type: <xs:element name="NumericScalarType">
public com.quantum.dxi.dao.types.SnmpCommunities getSnmpCommunities(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, String sortColumn, String sortDirection, String filterString, String errorType)
Get the SNMP Communities on the system.
Response Entity type: <xs:element name="SnmpCommunities">
<xs:element name="SnmpCommunities">
supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="SnmpCommunityColumnNameType">
public SnmpCommunity getSnmpCommunity(@Context javax.servlet.http.HttpServletRequest request, String name, String errorType)
Get the SNMP Community on the system identified by {name}
.
Response Entity type: <xs:element name="SnmpCommunity">
public void deleteSnmpCommunity(@Context javax.servlet.http.HttpServletRequest request, String name, String errorType)
Remove the SNMP Community identified by {name}
from the system.
public javax.ws.rs.core.Response updateSnmpCommunity(@Context javax.servlet.http.HttpServletRequest request, String name, SnmpCommunity snmpCommunity, String errorType)
Edit a SNMP Community on the system.
Request Entity type: <xs:element name="SnmpCommunity">
Response Entity type: <xs:element name="SnmpCommunity">
public javax.ws.rs.core.Response addSnmpCommunity(@Context javax.servlet.http.HttpServletRequest request, SnmpCommunity snmpCommunity, String errorType)
Add a SNMP Community on the system.
Request Entity type: <xs:element name="SnmpCommunity">
Response Entity type: <xs:element name="SnmpCommunity">
Copyright © 2011-2025 Quantum Corporation. All Rights Reserved.