VMware VSHIELD APP 1.0 - API Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
VMware, Inc. 21
Chapter 2 vShield Manager Management
Get vShield Manager Audit Logs
YoucangetvShieldManagerauditlogs.
Example 2-14. GetvShieldManagerauditlogs
Request:
GET https://<vsm-ip>/api/2.0/logging/auditlog?startIndex=0\&pageSize=10
Where
start indexisanoptionalparameterwhichspecifiesthestartingpointforretrievingthelogs.Ifthis
parameterisnotspecified,logsareretrievedfromthebeginning.
page sizeisanoptionalparameterthatlimitsthemaximumnumberofentriesreturnedbytheAPI.The
defaultvalueforthisparameteris256andthevalidrangeis11024.
Querying vShield Manager Tech Support Log
YoucangetthepathtothediagnosticlogfileforthevShieldManager.Youcanthensendthediagnosticlogto
technicalsupportforassistanceintroubleshootinganissue.
Example 2-15. Get Tech Support Log File Path for a vShield Manager
Request:
GET https://<vsm-ip>/api/2.0/global/techSupportLogs
Thetechnicalsupportlogisplacedinafileatthefollowingpath,howevertheRESTAPIhasnoprovisionfor
downloadingit,andwgetandcurldonothavepermissiontodownloadit,either.Youcanretrievethelog
withvShieldManagerbyclickingSettings&Reports>Configuration>
Support>[LogDownload]Initiate.
/tech_support_logs/vsm/vshield_mgr_support_<date_time>GMT.log.gz
User Management
TheauthenticationandauthorizationAPIsincludemethodstomanageusersandroles.
Get a List of Users
YoucanretrievealistofvShieldManagerusers,bothlocalusersandvCenteruserswhoareassignedarole.
Example 2-16. Get a list of users
Request:
GET https://<vsm-ip>/api/2.0/services/usermgmt/users/vsm
BeforeyouadduserstovShieldManager,thepreexistingdefaultsarelocaluseradminandthevCenteruser
administrator.
Get Information About a User
Youcanretrieveinformationaboutauser.
Example 2-17. Get information about a user
Request:
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag