[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Update An Existing SNMP Destination Profile
DescriptionUpdate an existing SNMP Trap destination profile. Only admin users can perform this action.
Request
URLURL
https://vrni.example.com/api/ni/settings/snmp/profiles/{id}
Path Parameters
Path Parameters
string
id
Required
The Entity ID of object requestion information on
Request Body
Request Body
{
"nick_name": "AWS SNMP collector profile",
"snmp_v2c": {
"community_string": "public"
},
"snmp_v3": {
"authentication_password": "VMware1!",
"authentication_type": "MD5",
"context_name": "default",
"privacy_password": "VMware1!",
"privacy_type": "AES256",
"username": "readonly"
},
"snmp_version": "v2c",
"target_ip": "10.11.11.102",
"target_port": 161
}
string
nick_name
Optional
Descriptor or identifier for particular SNMP profile.
string
snmp_version
Optional
Possible values are: v2c , v3
string
target_ip
Optional
IP address of SNMP target destination
integer
target_port
Optional
Receiving port number of SNMP target destination
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
SnmpProfileResponse
of type(s) application/json
{
"entity_id": "snmp-er67ght8kn67",
"nick_name": "AWS SNMP collector profile",
"snmp_v2c": {
"community_string": "public"
},
"snmp_v3": {
"authentication_password": "VMware1!",
"authentication_type": "MD5",
"context_name": "default",
"privacy_password": "VMware1!",
"privacy_type": "AES256",
"username": "readonly"
},
"snmp_version": "v2c",
"target_ip": "10.11.11.102",
"target_port": 161
}
string
entity_id
Optional
Entity Identifier for SNMP profile.
string
nick_name
Optional
User defined descriptor or identifier for particular SNMP profile.
string
snmp_version
Optional
Possible values are: v2c , v3
string
target_ip
Optional
IP address of SNMP target destination
integer
target_port
Optional
Receiving port number of SNMP target destination
Errors
Code Samples
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"nick_name":"AWS SNMP collector profile","snmp_v2c":{"community_string":"public"},"snmp_v3":{"authentication_password":"VMware1!","authentication_type":"MD5","context_name":"default","privacy_password":"VMware1!","privacy_type":"AES256","username":"readonly"},"snmp_version":"v2c","target_ip":"10.11.11.102","target_port":161}' https://vrni.example.com/api/ni/settings/snmp/profiles/{id}
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put