com.vmware.vcloud.sdk.admin
Class AuditEvent
java.lang.Object
com.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.AuditEventType>
com.vmware.vcloud.sdk.admin.AuditEvent
public class AuditEvent
- extends VcloudEntity<com.vmware.vcloud.api.rest.schema.AuditEventType>
Helper class to access AuditEvent in vCloud API.
- Since:
- API 5.6, SDK 5.6
- See Also:
AuditEventType
|
Constructor Summary |
AuditEvent(VcloudClient client,
com.vmware.vcloud.api.rest.schema.AuditEventType auditEventType)
Constructor to create a AuditEvent |
AuditEvent
public AuditEvent(VcloudClient client,
com.vmware.vcloud.api.rest.schema.AuditEventType auditEventType)
- Constructor to create a AuditEvent
- Parameters:
client - VcloudClientauditEventType - AuditEventType
getAuditEventByReference
public static AuditEvent getAuditEventByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType auditEventRef)
throws VCloudException
- Returns AuditEvent for the given reference
- Parameters:
client - vCloud API client VcloudClienteventRef - ReferenceType to the event ReferenceType
- Returns:
Event
- Throws:
VCloudException
getAuditEventById
public static AuditEvent getAuditEventById(VcloudClient client,
String vCloudId)
throws VCloudException
- Returns AuditEvent for the given referenceID
- Parameters:
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:event:00726872-0f0f-4f8d-bc26-b8c2b8aa9b23". String
- Returns:
AuditEvent
- Throws:
VCloudException- Since:
- API 5.6
Copyright © 2016. All Rights Reserved.