보안 그룹에서 제거하기 위해 관리되는 장치에서 태그를 제거할 수 있습니다.
Follow these steps:
관리되는 장치에 대해 CA Access Control for Virtual Environments가 사용하는 ID를 가져오려면 필터를 사용하십시오. 예:
https://hostname:18443/iam/api/1.0/restapi/environments/ac/devices?managed-object-vcenter-uuid=54E79C3A-49D5-4958-A983-8B919F470CEC&managed-object-id=vm-394
참고: 앞의 예제에서 VMware Managed Object Browser(MOB)에 정의된 대로 vCenter UUID와 VM UUID를 전달합니다.
다음과 유사한 응답 XML 문서가 반환됩니다.
<Devices>
device
<ID>vm-19</ID>
<ParentID>esx-3</ParentID>
<Name>ESXi in a box</Name>
<Type>VirtualMachine</Type>
<VirtualMachineProperties>
<ManagedObjectID>vm-394</ManagedObjectID>
<ManagedObjectVCenterUUID>54E79C3A-49D5-4958-A983-8B919F470CEC</ManagedObjectVCenterUUID>
<GuestOSVersion>LINUX_REDHAT_5</GuestOSVersion>
<GuestOSArchitecture>X86</GuestOSArchitecture>
<GuestOSDescription>Red Hat Enterprise Linux 5 (64-bit)</GuestOSDescription>
</VirtualMachineProperties>
<SecurityGroups>
<SecurityGroup>
<ID>sg-13</ID>
<Name>weiig01esxi01.ca.com</Name>
<Description/>
<Owner>superadmin</Owner>
</SecurityGroup>
<SecurityGroup>
<ID>sg-15</ID>
<Name>Discovered virtual machine</Name>
<Description/>
<Owner>superadmin</Owner>
</SecurityGroup>
<SecurityGroup>
<ID>sg-22</ID>
<Name>vSphere in a box</Name>
<Description/>
<Owner>superadmin</Owner>
</SecurityGroup>
</SecurityGroups>
</Device>
</Devices>
장치의 ID는 응답 XML 파일에 지정된 것처럼 vm-19입니다.
https://<host>:18443/iam/api/1.0/restapi/environments/ac/devices/vm-19
| Copyright © 2011 CA. All rights reserved. | 이 주제에 대해 CA Technologies에 전자 메일 보내기 |