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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 104
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 22
VMware, Inc. 23
Chapter 2 vShield Manager Management
<macset>
<objectId />
<type>
<typeName />
</type>
<description>Some description</description>
<name>TestMACSet1</name>
<revision>0</revision>
<objectTypeName />
<value>22:33:44:55:66:77,00:11:22:33:44:55</value>
</macset>
The<MACset-id>isasreturnedbylistingtheMACsetonascope.Intherequestbodyexample,oneMAC
addressfewerisspecified.
Delete a MACset
YoucandeleteaMACset.Thetrailingbooleanflagindicatesforcedorunforceddelete.Withforceddelete,the
objectisdeletedevenifusedinotherplacessuchasfirewallrules,causinginvalidreferrals.Forunforced
delete,theobjectisdeletedonlyifitisnotusedbyotherconfiguration;otherwise
thedeletefails.
Example 2-27. Delete a MACset
Request:
DELETE https://<vsm-ip>/api/2.0/services/macset/<macset-id>
Noinputrepresentationisneeded.Onsuccess,thisrequestreturns200HTTPOK.
Security Group Scope and Members
APIsareavailablefortwotypesofresources:
ScopeThisidentifiesavShieldManagerscopeobject,whichcaneitherbeavCenterdatacenterora
PortGroup(standardordistributedvirtualswitch).Securitygroupscanonlybecreatedonvalidscopes.
MembersThesecuritygroupobjectcontainsmembers.
List Security Groups Created on a Scope
Youcanretrieveallthesecuritygroupsthathavebeencreatedonaspecificscope.
Example 2-28. Get existing security groups
Request:
GET https://<vsm-ip>/api/2.0/services/securitygroup/scope/<scope-moref>
The<scope-moref>couldbethemanagedobjectreferenceofadatacenter.
Create Security Group on a Scope
Youcancreateanewsecuritygrouponthespecifiedscope.
Example 2-29. Create new security group
Request:
POST https://<vsm-ip>/api/2.0/services/securitygroup/<scope-moref>
Example:
Przeglądanie stron 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 103 104

Komentarze do niniejszej Instrukcji

Brak uwag