public interface Content extends Service, ContentTypes
Content interface provides methods to manage offline software depots
used during ESX lifecycle management. This interface was added in vSphere API
7.0.3.0.ContentTypes.Info_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
ContentTypes.Info |
get(java.lang.String depot)
Gets the information of content of an imported offline software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<ContentTypes.Info> asyncCallback)
Gets the information of content of an imported offline software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<ContentTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the information of content of an imported offline software depot.
|
ContentTypes.Info |
get(java.lang.String depot,
InvocationConfig invocationConfig)
Gets the information of content of an imported offline software depot.
|
ContentTypes.Info get(java.lang.String depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
depot - Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline.Unauthenticated - If the caller is not authenticated.NotFound - If there is no depot with given identifier depot in the system.ServiceUnavailable - If the service is not available.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: VcIntegrity.lifecycleSettings.Read. ContentTypes.Info get(java.lang.String depot, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
depot - Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline.invocationConfig - Configuration for the method invocation.Unauthenticated - If the caller is not authenticated.NotFound - If there is no depot with given identifier depot in the system.ServiceUnavailable - If the service is not available.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: VcIntegrity.lifecycleSettings.Read. void get(java.lang.String depot,
AsyncCallback<ContentTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information of content of the imported offline software depot.
Operation Errors:
Unauthenticated - If the caller is not authenticated.
NotFound - If there is no depot with given identifier depot in the system.
ServiceUnavailable - If the service is not available.
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:
VcIntegrity.lifecycleSettings.Read. depot - Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String depot,
AsyncCallback<ContentTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
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:
Information of content of the imported offline software depot.
Operation Errors:
Unauthenticated - If the caller is not authenticated.
NotFound - If there is no depot with given identifier depot in the system.
ServiceUnavailable - If the service is not available.
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:
VcIntegrity.lifecycleSettings.Read. depot - Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.