Host Snmp System Get Configuration

Host Snmp System Get Configuration

Required privileges: Global.Settings

Request
URI
GET
https://{api_host}/sdk/vim25/{release}/HostSnmpSystem/{moId}/configuration
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostSnmpSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HostSnmpConfigSpec of type(s) application/json
"HostSnmpConfigSpec Object"
boolean
enabled
Optional

enabled

integer As int32 As int32
port
Optional

port

array of string
readOnlyCommunities
Optional

readOnlyCommunities

array of object
trapTargets
Optional

Defines a receiver for SNMP Notifications

array of object
option
Optional

Non-localized key/value pair


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/HostSnmpSystem/{moId}/configuration