VMware VSHIELD MANAGER 4.1.0 UPDATE 1 - API Manuel d'utilisateur Page 42

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 90
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 89 90

Commentaires sur ces manuels

Pas de commentaire