VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::lcm::Reports Interface Reference

Inherited by vmware::vcenter::lcm::ReportsStub.

List of all members.

Public Member Functions

vmware.vcenter.lcm.ReportsTypes.Location Get (string report)
 Returns the location Reports.Location information for downloading the report for the specified file name.
vmware.vcenter.lcm.ReportsTypes.Location Get (string report, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the location Reports.Location information for downloading the report for the specified file name.
global::System.Threading.Tasks.Task
< vmware.vcenter.lcm.ReportsTypes.Location
GetAsync (string report)
 Returns the location Reports.Location information for downloading the report for the specified file name.
global::System.Threading.Tasks.Task
< vmware.vcenter.lcm.ReportsTypes.Location
GetAsync (string report, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the location Reports.Location information for downloading the report for the specified file name.

Member Function Documentation

vmware.vcenter.lcm.ReportsTypes.Location vmware::vcenter::lcm::Reports::Get ( string  report)

Returns the location Reports.Location information for downloading the report for the specified file name.

Retrieving a report involves two steps:

  • Step 1: Invoke the Reports.Get method to provision a token and a URI.
  • Step 2: Make an HTTP GET request by using the URI and the token returned in step 1 to retrieve the report.

The HTTP GET request will:

  • Return 401 (Not Authorized) if the download URI is recognized, but the token is invalid, 404 if the URL is not recognized otherwise return 200 (OK)
  • Provide the CSV contents as the output of the request. The API accepts the file name as input, reads the contents of that CSV file, and returns this text as the result of the API.
Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.NotFoundIf there is no file associated with report in the system.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
reportThe parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report .
Returns:

Implemented in vmware::vcenter::lcm::ReportsStub.

vmware.vcenter.lcm.ReportsTypes.Location vmware::vcenter::lcm::Reports::Get ( string  report,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns the location Reports.Location information for downloading the report for the specified file name.

Retrieving a report involves two steps:

  • Step 1: Invoke the Reports.Get method to provision a token and a URI.
  • Step 2: Make an HTTP GET request by using the URI and the token returned in step 1 to retrieve the report.

The HTTP GET request will:

  • Return 401 (Not Authorized) if the download URI is recognized, but the token is invalid, 404 if the URL is not recognized otherwise return 200 (OK)
  • Provide the CSV contents as the output of the request. The API accepts the file name as input, reads the contents of that CSV file, and returns this text as the result of the API.
Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.NotFoundIf there is no file associated with report in the system.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
reportThe parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:

Implemented in vmware::vcenter::lcm::ReportsStub.

global::System.Threading.Tasks.Task<vmware.vcenter.lcm.ReportsTypes.Location> vmware::vcenter::lcm::Reports::GetAsync ( string  report)

Returns the location Reports.Location information for downloading the report for the specified file name.

Retrieving a report involves two steps:

  • Step 1: Invoke the Reports.Get method to provision a token and a URI.
  • Step 2: Make an HTTP GET request by using the URI and the token returned in step 1 to retrieve the report.

The HTTP GET request will:

  • Return 401 (Not Authorized) if the download URI is recognized, but the token is invalid, 404 if the URL is not recognized otherwise return 200 (OK)
  • Provide the CSV contents as the output of the request. The API accepts the file name as input, reads the contents of that CSV file, and returns this text as the result of the API.
Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.NotFoundIf there is no file associated with report in the system.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
reportThe parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report .
Returns:

Implemented in vmware::vcenter::lcm::ReportsStub.

global::System.Threading.Tasks.Task<vmware.vcenter.lcm.ReportsTypes.Location> vmware::vcenter::lcm::Reports::GetAsync ( string  report,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns the location Reports.Location information for downloading the report for the specified file name.

Retrieving a report involves two steps:

  • Step 1: Invoke the Reports.Get method to provision a token and a URI.
  • Step 2: Make an HTTP GET request by using the URI and the token returned in step 1 to retrieve the report.

The HTTP GET request will:

  • Return 401 (Not Authorized) if the download URI is recognized, but the token is invalid, 404 if the URL is not recognized otherwise return 200 (OK)
  • Provide the CSV contents as the output of the request. The API accepts the file name as input, reads the contents of that CSV file, and returns this text as the result of the API.
Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.NotFoundIf there is no file associated with report in the system.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
reportThe parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.report .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:

Implemented in vmware::vcenter::lcm::ReportsStub.


The documentation for this interface was generated from the following file: