VMware VSHIELD MANAGER 4.1.0 UPDATE 1 - API Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 90
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 89 90

Comentarios a estos manuales

Sin comentarios