Update An existing SNMP destination profile

Update An existing SNMP destination profile

Update an existing SNMP destination profile. Only admin users can perform this action.

Request
URI
PUT
https://vrni.example.com/api/ni/settings/snmp/profiles/{id}
COPY
Path Parameters
string
id
Required

entity id


Request Body
SnmpProfileRequest of type(s) application/json
Optional
{
    "nick_name": "Aws collector profile",
    "target_ip": "10.11.11.102",
    "target_port": 161,
    "snmp_version": "string",
    "snmp_v2c": {
        "community_string": "string"
    },
    "snmp_v3": {
        "username": "string",
        "context_name": "string",
        "authentication_type": "string",
        "authentication_password": "string",
        "privacy_type": "string",
        "privacy_password": "string"
    }
}
string
nick_name
Optional

Descriptor or identifier for particular snmp profile.

string
target_ip
Optional

IP address of SNMP target destination

integer
target_port
Optional

Receiving port number of SNMP target destination

string
snmp_version
Optional

snmp_version

Possible values are : v2c, v3,
snmp_v2c
Optional

snmp_v2c

snmp_v3
Optional

snmp_v3

Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns SnmpProfileResponse of type(s) application/json
{
    "entity_id": "snmp-er67ght8kn67",
    "nick_name": "Aws collector profile",
    "target_ip": "10.11.11.102",
    "target_port": 161,
    "snmp_version": "string",
    "snmp_v2c": {
        "community_string": "string"
    },
    "snmp_v3": {
        "username": "string",
        "context_name": "string",
        "authentication_type": "string",
        "authentication_password": "string",
        "privacy_type": "string",
        "privacy_password": "string"
    }
}
string
entity_id
Optional

Entity Identifier for snmp profile.

string
nick_name
Optional

User defined descriptor or identifier for particular snmp profile.

string
target_ip
Optional

IP address of SNMP target destination

integer
target_port
Optional

Receiving port number of SNMP target destination

string
snmp_version
Optional

snmp_version

Possible values are : v2c, v3,
snmp_v2c
Optional

snmp_v2c

snmp_v3
Optional

snmp_v3


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


401

Unauthorized

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


403

Forbidden

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


404

Not Found

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


500

Internal Error

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details