VMware VSHIELD MANAGER 4.1.0 UPDATE 1 - API Manuale Utente Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 90
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 41
vShield API Programming Guide
42 VMware, Inc.
Example:
GET /api/1.0/network/network-244/vpn/ipsec/config HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
Get Timestamps of Last 10 VPN Configurations
Youcanretrievealistofthelast10VPNconfigurationchanges.Youcanusethereturnedtimestampstoreview
thedetailsofpastconfigurationsinaseparaterequest.
Example 5-45. Getting Last 10 VPN Configurations by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/vpn/snapshots
Get a VPN Configuration by Timestamp
YoucanretrieveandviewaspecifichistoricalVPNconfigurationbyspecifyingthetimestampwhenthe
configurationwasoverwritten.
Example 5-46. Getting a VPN Configuration by Timestamp
Request
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/snapshot/<snapshot-timestamp>
Revert to a VPN Configuration by Timestamp
YoucanreverttoapreviousVPNconfigurationbyspecifyingthetimestampofthepreviousconfiguration.
Example 5-47. Reverting to a VPN configuration by timestamp
Request:
PUT <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/snapshot/<snapshot-timestamp>
Delete the VPN Configuration on a vShield Edge
YoucandeletethecurrentVPNconfigurationtoclearVPNsettingsfromthevShieldEdgerunning
configuration.ThevShieldEdgesavesthedeletedconfigurationbymarkingitwithatimestamp.
Example 5-48. Deleting the VPN Configuration on a vShield Edge
Request:
DELETE <vShield_Manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/
vpn/ipsec/config
Example:
DELETE /api/1.0/network/network-244/vpn/ipsec/config HTTP/1.1
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 89 90

Commenti su questo manuale

Nessun commento