VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::esx::settings::depots::OfflineStub Class Reference

Remote stub implementation of the Offline API service. More...

Inherits vmware::esx::settings::depots::Offline.

List of all members.

Public Member Functions

 OfflineStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 OfflineStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.esx.settings.depots.OfflineTypes.Info Get (string depot)
 Gets the information about an imported offline software depot.
vmware.esx.settings.depots.OfflineTypes.Info Get (string depot, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Gets the information about an imported offline software depot.
global::System.Threading.Tasks.Task
< vmware.esx.settings.depots.OfflineTypes.Info
GetAsync (string depot)
 Gets the information about an imported offline software depot.
global::System.Threading.Tasks.Task
< vmware.esx.settings.depots.OfflineTypes.Info
GetAsync (string depot, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Gets the information about an imported offline software depot.
global::System.Collections.Generic.Dictionary
< string,
vmware.esx.settings.depots.OfflineTypes.Summary
List ()
 Returns currently imported offline software depots.
global::System.Collections.Generic.Dictionary
< string,
vmware.esx.settings.depots.OfflineTypes.Summary
List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns currently imported offline software depots.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.esx.settings.depots.OfflineTypes.Summary > > 
ListAsync ()
 Returns currently imported offline software depots.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.esx.settings.depots.OfflineTypes.Summary > > 
ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns currently imported offline software depots.
string Create_Task (vmware.esx.settings.depots.OfflineTypes.CreateSpec spec)
 Imports a new offline software depot.
string Create_Task (vmware.esx.settings.depots.OfflineTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Imports a new offline software depot.
void Delete (string depot)
 Removes a depot from the list of imported offline software depots.
void Delete (string depot, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Removes a depot from the list of imported offline software depots.
global::System.Threading.Tasks.Task DeleteAsync (string depot)
 Removes a depot from the list of imported offline software depots.
global::System.Threading.Tasks.Task DeleteAsync (string depot, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Removes a depot from the list of imported offline software depots.

Detailed Description

Remote stub implementation of the Offline API service.


Constructor & Destructor Documentation

vmware::esx::settings::depots::OfflineStub::OfflineStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::esx::settings::depots::OfflineStub::OfflineStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

string vmware::esx::settings::depots::OfflineStub::Create_Task ( vmware.esx.settings.depots.OfflineTypes.CreateSpec  spec) [inline]

Imports a new offline software depot.

This will also import the metadata and payloads from this offline depot. The returned task will fail and no Offline Depot would be created if there are any issues during import. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.

Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.InvalidArgumentIf an invalid pullLocation is provided.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.AlreadyExistsIf the depot content of {@param.name CreateSpec} already exists. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains existing depot content id as part of depot field defined in Offline.CreateResult .
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
specDepot specification to import an offline depot.
Returns:
Identifier for the task created by this API invocation

Implements vmware::esx::settings::depots::Offline.

string vmware::esx::settings::depots::OfflineStub::Create_Task ( vmware.esx.settings.depots.OfflineTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Imports a new offline software depot.

This will also import the metadata and payloads from this offline depot. The returned task will fail and no Offline Depot would be created if there are any issues during import. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.

Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.InvalidArgumentIf an invalid pullLocation is provided.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.AlreadyExistsIf the depot content of {@param.name CreateSpec} already exists. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains existing depot content id as part of depot field defined in Offline.CreateResult .
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
Parameters:
specDepot specification to import an offline depot.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Identifier for the task created by this API invocation

Implements vmware::esx::settings::depots::Offline.

void vmware::esx::settings::depots::OfflineStub::Delete ( string  depot) [inline]

Removes a depot from the list of imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot associated with parameter depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Write .
Parameters:
depotIdentifier of the depot to be removed. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.

void vmware::esx::settings::depots::OfflineStub::Delete ( string  depot,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Removes a depot from the list of imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot associated with parameter depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Write .
Parameters:
depotIdentifier of the depot to be removed. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task vmware::esx::settings::depots::OfflineStub::DeleteAsync ( string  depot) [inline]

Removes a depot from the list of imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot associated with parameter depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Write .
Parameters:
depotIdentifier of the depot to be removed. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task vmware::esx::settings::depots::OfflineStub::DeleteAsync ( string  depot,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Removes a depot from the list of imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot associated with parameter depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Write .
Parameters:
depotIdentifier of the depot to be removed. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::esx::settings::depots::Offline.

vmware.esx.settings.depots.OfflineTypes.Info vmware::esx::settings::depots::OfflineStub::Get ( string  depot,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Gets the information about an imported offline software depot.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot with given identifier depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Parameters:
depotIdentifier for the depot. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the imported offline software depot.

Implements vmware::esx::settings::depots::Offline.

vmware.esx.settings.depots.OfflineTypes.Info vmware::esx::settings::depots::OfflineStub::Get ( string  depot) [inline]

Gets the information about an imported offline software depot.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot with given identifier depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Parameters:
depotIdentifier for the depot. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
Returns:
Information about the imported offline software depot.

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task<vmware.esx.settings.depots.OfflineTypes.Info> vmware::esx::settings::depots::OfflineStub::GetAsync ( string  depot) [inline]

Gets the information about an imported offline software depot.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot with given identifier depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Parameters:
depotIdentifier for the depot. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
Returns:
Information about the imported offline software depot.

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task<vmware.esx.settings.depots.OfflineTypes.Info> vmware::esx::settings::depots::OfflineStub::GetAsync ( string  depot,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Gets the information about an imported offline software depot.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.NotFoundIf there is no depot with given identifier depot in the system.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Parameters:
depotIdentifier for the depot. The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the imported offline software depot.

Implements vmware::esx::settings::depots::Offline.

global::System.Collections.Generic.Dictionary<string, vmware.esx.settings.depots.OfflineTypes.Summary> vmware::esx::settings::depots::OfflineStub::List ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns currently imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Returns:
Map of currently imported offline software depots keyed by their identifier. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.

global::System.Collections.Generic.Dictionary<string, vmware.esx.settings.depots.OfflineTypes.Summary> vmware::esx::settings::depots::OfflineStub::List ( ) [inline]

Returns currently imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Returns:
Map of currently imported offline software depots keyed by their identifier. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.esx.settings.depots.OfflineTypes.Summary> > vmware::esx::settings::depots::OfflineStub::ListAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns currently imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Returns:
Map of currently imported offline software depots keyed by their identifier. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.esx.settings.depots.OfflineTypes.Summary> > vmware::esx::settings::depots::OfflineStub::ListAsync ( ) [inline]

Returns currently imported offline software depots.

Exceptions:
vmware.vapi.std.errors.Unauthenticatedif the caller is not authenticated.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.ErrorIf there is some unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires VcIntegrity.lifecycleSettings.Read .
Returns:
Map of currently imported offline software depots keyed by their identifier. The key in the result map will be an identifier for the resource type: com.vmware.esx.settings.depots.offline .

Implements vmware::esx::settings::depots::Offline.


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