Host Snmp System Get Configuration
Required privileges: Global.Settings
Request
URI
GET
https://{vcenter-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.
Responses
200
OK
Returns HostSnmpConfigSpec of type(s) application/json
This response body class contains all of the following: DataObject
{
"_typeName": "string",
"enabled": false,
"port": 0,
"readOnlyCommunities": [
"string"
],
"trapTargets": [
{
"_typeName": "string",
"hostName": "string",
"port": 0,
"community": "string"
}
],
"option": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
boolean
enabled
Optional
enabled
integer As int32 As int32
port
Optional
port
array of string
readOnlyCommunities
Optional
readOnlyCommunities