Settings_Clusters_Configuration_AuditRecords_Info

Settings_Clusters_Configuration_AuditRecords_Info
Settings_Clusters_Configuration_AuditRecords_Info

The AuditRecords.Info structure contains Audit Info of an operation for a cluster in vCenter Server.

JSON Example
{
    "cluster_id": "string",
    "operation": "string",
    "username": "string",
    "start_time": "string",
    "end_time": "string",
    "status": "string",
    "operation_details": {
        "error": {},
        "task_id": "string",
        "draft_id": "string",
        "cancelled": false
    }
}
string
cluster_id
Required

Identifier of the cluster. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.

string
operation
Required

Name of the operation which can be one of

  • Import
  • Export
  • Remediate
  • Checkcompliance
  • Precheck
  • Transition-Enable
  • Draft-List
  • Draft-Create
  • Draft-ImportFromHost
  • Draft-Get
  • Draft-ExportConfig
  • Draft-Update
  • Draft-ShowChanges
  • Draft-CheckCompliance
  • Draft-Precheck
  • Draft-Delete
  • Draft-Apply

When clients pass a value of this structure as a parameter, the field must be one of Import, Export, Remediate, Checkcompliance, Precheck, Transition-Enable, Draft-List, Draft-Create, Draft-ImportFromHost, Draft-Get, Draft-ExportConfig, Draft-Update, Draft-ShowChanges, Draft-CheckCompliance, Draft-Precheck, Draft-Delete, or Draft-Apply. When operations return a value of this structure as a result, the field will be one of Import, Export, Remediate, Checkcompliance, Precheck, Transition-Enable, Draft-List, Draft-Create, Draft-ImportFromHost, Draft-Get, Draft-ExportConfig, Draft-Update, Draft-ShowChanges, Draft-CheckCompliance, Draft-Precheck, Draft-Delete, or Draft-Apply.

string
username
Required

User who initiated the operation

string As date-time
start_time
Optional

Time when the operation AuditRecords.Info.operation was started startTime might not be available for a task.

string As date-time
end_time
Optional

Time when the operation AuditRecords.Info.operation was completed endTime might not be available for a task.

status
Required

The Status enumerated type defines the status values that can be reported for an operation.
PENDING : The operation is in pending state.
RUNNING : The operation is in progress.
BLOCKED : The operation is blocked.
SUCCEEDED : The operation completed successfully.
FAILED : The operation failed.

operation_details
Optional

The AuditRecords.OperationDetails structure contains Operation Details of an operation