public interface Reports extends com.vmware.vapi.bindings.Service, ReportsTypes
Report interface provides an method to download the report generated
by the interop and precheck operations. To download a report, you must use the
get() method. A Report.Location class represents the location of
the file which has Report.Token class which represents the token ID
(@name String) and the expiration time of the token Report.Token.expiry
DateTime. Report.Location class also has the URI for the file which
needs to be downloaded.ReportsTypes.Location, ReportsTypes.Token_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
ReportsTypes.Location |
get(java.lang.String report)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
void |
get(java.lang.String report,
com.vmware.vapi.bindings.client.AsyncCallback<ReportsTypes.Location> asyncCallback)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
void |
get(java.lang.String report,
com.vmware.vapi.bindings.client.AsyncCallback<ReportsTypes.Location> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
ReportsTypes.Location |
get(java.lang.String report,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
ReportsTypes.Location get(java.lang.String report)
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
get(java.lang.String) method to provision a token and a URI.The HTTP GET request will:
Synchronous method overload. Result of the invocation will be reported as a method return value.
report - The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report.Unauthenticated - if the user can not be authenticated.NotFound - If there is no file associated with report in the system.Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.Unauthorized - if you do not have all of the privileges described as follows: VcLifecycle.View. ReportsTypes.Location get(java.lang.String report, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
get(java.lang.String) method to provision a token and a URI.The HTTP GET request will:
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
report - The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report.invocationConfig - Configuration for the method invocation.Unauthenticated - if the user can not be authenticated.NotFound - If there is no file associated with report in the system.Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.Unauthorized - if you do not have all of the privileges described as follows: VcLifecycle.View. void get(java.lang.String report,
com.vmware.vapi.bindings.client.AsyncCallback<ReportsTypes.Location> asyncCallback)
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
get(java.lang.String) method to provision a token and a URI.The HTTP GET request will:
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the user can not be authenticated.
NotFound - If there is no file associated with report in the system.
Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcLifecycle.View. report - The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String report,
com.vmware.vapi.bindings.client.AsyncCallback<ReportsTypes.Location> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
get(java.lang.String) method to provision a token and a URI.The HTTP GET request will:
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the user can not be authenticated.
NotFound - If there is no file associated with report in the system.
Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcLifecycle.View. report - The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.