public class ReportsStub extends com.vmware.vapi.internal.bindings.Stub implements Reports
Reports
API service.
WARNING: Internal class, subject to change in future versions.
ReportsTypes.Location, ReportsTypes.TokenapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ReportsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ReportsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
ReportsTypes.Location |
get(java.lang.String report)
Returns the location
ReportsTypes.Location
information for downloading a compatibility report. |
void |
get(java.lang.String report,
AsyncCallback<ReportsTypes.Location> asyncCallback)
Returns the location
ReportsTypes.Location
information for downloading a compatibility report. |
void |
get(java.lang.String report,
AsyncCallback<ReportsTypes.Location> asyncCallback,
InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading a compatibility report. |
ReportsTypes.Location |
get(java.lang.String report,
InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading a compatibility report. |
public ReportsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ReportsStub(ApiProvider apiProvider, StubConfigurationBase config)
public ReportsTypes.Location get(java.lang.String report)
ReportsReportsTypes.Location
information for downloading a compatibility report.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Reportsreport - identifier of hardware compatiblity report to be downloaded.
The parameter must be an identifier for the resource type: com.vmware.esx.hcl.resources.CompatibilityReport.Location class which includes the URI to file, short lived token and
expiry of the token in the ReportsTypes.Location
object.public ReportsTypes.Location get(java.lang.String report, InvocationConfig invocationConfig)
ReportsReportsTypes.Location
information for downloading a compatibility report.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Reportsreport - identifier of hardware compatiblity report to be downloaded.
The parameter must be an identifier for the resource type: com.vmware.esx.hcl.resources.CompatibilityReport.invocationConfig - Configuration for the method invocation.Location class which includes the URI to file, short lived token and
expiry of the token in the ReportsTypes.Location
object.public void get(java.lang.String report,
AsyncCallback<ReportsTypes.Location> asyncCallback)
ReportsReportsTypes.Location
information for downloading a compatibility report.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Location class which includes the URI to file, short lived token and
expiry of the token in the ReportsTypes.Location
object.
Operation Errors:
NotFound - if there is no report for the given id.
Unauthenticated - if the caller is not authenticated.
ResourceInaccessible - if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
Error - If there is some unknown 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:
VcIntegrity.HardwareCompatibility.Read. get in interface Reportsreport - identifier of hardware compatiblity report to be downloaded.
The parameter must be an identifier for the resource type: com.vmware.esx.hcl.resources.CompatibilityReport.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String report,
AsyncCallback<ReportsTypes.Location> asyncCallback,
InvocationConfig invocationConfig)
ReportsReportsTypes.Location
information for downloading a compatibility report.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Location class which includes the URI to file, short lived token and
expiry of the token in the ReportsTypes.Location
object.
Operation Errors:
NotFound - if there is no report for the given id.
Unauthenticated - if the caller is not authenticated.
ResourceInaccessible - if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
Error - If there is some unknown 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:
VcIntegrity.HardwareCompatibility.Read. get in interface Reportsreport - identifier of hardware compatiblity report to be downloaded.
The parameter must be an identifier for the resource type: com.vmware.esx.hcl.resources.CompatibilityReport.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.