public class ContentStub extends com.vmware.vapi.internal.bindings.Stub implements Content
Content
API service.
WARNING: Internal class, subject to change in future versions.
ContentTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ContentStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ContentStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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,
com.vmware.vapi.bindings.client.AsyncCallback<ContentTypes.Info> asyncCallback)
Gets the information of content of an imported offline software depot.
|
void |
get(java.lang.String depot,
com.vmware.vapi.bindings.client.AsyncCallback<ContentTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the information of content of an imported offline software depot.
|
ContentTypes.Info |
get(java.lang.String depot,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the information of content of an imported offline software depot.
|
public ContentStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ContentStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ContentTypes.Info get(java.lang.String depot)
Content
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ContentTypes.Info get(java.lang.String depot, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Content
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 Content
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.public void get(java.lang.String depot, com.vmware.vapi.bindings.client.AsyncCallback<ContentTypes.Info> asyncCallback)
Content
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
. public void get(java.lang.String depot, com.vmware.vapi.bindings.client.AsyncCallback<ContentTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Content
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
. get
in interface Content
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.