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.Token
apiProvider, converter, ifaceId, 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 the report for the specified file name. |
void |
get(java.lang.String report,
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,
AsyncCallback<ReportsTypes.Location> asyncCallback,
InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
ReportsTypes.Location |
get(java.lang.String report,
InvocationConfig invocationConfig)
Returns the location
ReportsTypes.Location
information for downloading the report for the specified file name. |
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)
Reports
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
Reports.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.
public ReportsTypes.Location get(java.lang.String report, InvocationConfig invocationConfig)
Reports
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
Reports.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.
public void get(java.lang.String report, AsyncCallback<ReportsTypes.Location> asyncCallback)
Reports
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
Reports.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.
public void get(java.lang.String report, AsyncCallback<ReportsTypes.Location> asyncCallback, InvocationConfig invocationConfig)
Reports
ReportsTypes.Location
information for downloading the report for the specified file name.
Retrieving a report involves two steps:
Reports.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.
get
in interface Reports
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.