VMware vCloud Suite SDK for .NET 6.0.0
vmware::content::Library Interface Reference

The Library interface provides methods to manage and find LibraryModel entities. More...

Inherited by vmware::content::LibraryStub.

List of all members.

Public Member Functions

vmware.content.LibraryModel Get (string libraryId)
 Returns a given LibraryModel .
vmware.content.LibraryModel Get (string libraryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns a given LibraryModel .
global::System.Threading.Tasks.Task
< vmware.content.LibraryModel
GetAsync (string libraryId)
 Returns a given LibraryModel .
global::System.Threading.Tasks.Task
< vmware.content.LibraryModel
GetAsync (string libraryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns a given LibraryModel .
global::System.Collections.Generic.List
< string > 
List ()
 Returns the identifiers of all libraries of any type in the Content Library.
global::System.Collections.Generic.List
< string > 
List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the identifiers of all libraries of any type in the Content Library.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
ListAsync ()
 Returns the identifiers of all libraries of any type in the Content Library.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the identifiers of all libraries of any type in the Content Library.
global::System.Collections.Generic.List
< string > 
Find (vmware.content.LibraryTypes.FindSpec spec)
 Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .
global::System.Collections.Generic.List
< string > 
Find (vmware.content.LibraryTypes.FindSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
FindAsync (vmware.content.LibraryTypes.FindSpec spec)
 Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
FindAsync (vmware.content.LibraryTypes.FindSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .
void Update (string libraryId, vmware.content.LibraryModel updateSpec)
 Updates the properties of a library.
void Update (string libraryId, vmware.content.LibraryModel updateSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the properties of a library.
global::System.Threading.Tasks.Task UpdateAsync (string libraryId, vmware.content.LibraryModel updateSpec)
 Updates the properties of a library.
global::System.Threading.Tasks.Task UpdateAsync (string libraryId, vmware.content.LibraryModel updateSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the properties of a library.

Detailed Description

The Library interface provides methods to manage and find LibraryModel entities.

The Library interface provides support for generic functionality which can be applied equally to all types of libraries. The functionality provided by this interface will not affect the properties specific to the type of library. See also LocalLibrary and SubscribedLibrary .


Member Function Documentation

global::System.Collections.Generic.List<string> vmware::content::Library::Find ( vmware.content.LibraryTypes.FindSpec  spec)

Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif no properties are specified in the spec .
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Parameters:
specSpecification describing what properties to filter on.
Returns:
The list of identifiers of all the visible libraries matching the given spec . The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Collections.Generic.List<string> vmware::content::Library::Find ( vmware.content.LibraryTypes.FindSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif no properties are specified in the spec .
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Parameters:
specSpecification describing what properties to filter on.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The list of identifiers of all the visible libraries matching the given spec . The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::content::Library::FindAsync ( vmware.content.LibraryTypes.FindSpec  spec)

Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif no properties are specified in the spec .
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Parameters:
specSpecification describing what properties to filter on.
Returns:
The list of identifiers of all the visible libraries matching the given spec . The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::content::Library::FindAsync ( vmware.content.LibraryTypes.FindSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif no properties are specified in the spec .
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Parameters:
specSpecification describing what properties to filter on.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The list of identifiers of all the visible libraries matching the given spec . The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

vmware.content.LibraryModel vmware::content::Library::Get ( string  libraryId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns a given LibraryModel .

Exceptions:
vmware.vapi.std.errors.NotFoundif the specified library does not exist.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read .
Parameters:
libraryIdIdentifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The LibraryModel instance with the specified libraryId .

Implemented in vmware::content::LibraryStub.

vmware.content.LibraryModel vmware::content::Library::Get ( string  libraryId)

Returns a given LibraryModel .

Exceptions:
vmware.vapi.std.errors.NotFoundif the specified library does not exist.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read .
Parameters:
libraryIdIdentifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library .
Returns:
The LibraryModel instance with the specified libraryId .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<vmware.content.LibraryModel> vmware::content::Library::GetAsync ( string  libraryId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns a given LibraryModel .

Exceptions:
vmware.vapi.std.errors.NotFoundif the specified library does not exist.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read .
Parameters:
libraryIdIdentifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The LibraryModel instance with the specified libraryId .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<vmware.content.LibraryModel> vmware::content::Library::GetAsync ( string  libraryId)

Returns a given LibraryModel .

Exceptions:
vmware.vapi.std.errors.NotFoundif the specified library does not exist.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read .
Parameters:
libraryIdIdentifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library .
Returns:
The LibraryModel instance with the specified libraryId .

Implemented in vmware::content::LibraryStub.

global::System.Collections.Generic.List<string> vmware::content::Library::List ( )

Returns the identifiers of all libraries of any type in the Content Library.

Exceptions:
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Returns:
The list of all identifiers of all libraries in the Content Library. The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Collections.Generic.List<string> vmware::content::Library::List ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns the identifiers of all libraries of any type in the Content Library.

Exceptions:
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Returns:
The list of all identifiers of all libraries in the Content Library. The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::content::Library::ListAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns the identifiers of all libraries of any type in the Content Library.

Exceptions:
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Returns:
The list of all identifiers of all libraries in the Content Library. The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::content::Library::ListAsync ( )

Returns the identifiers of all libraries of any type in the Content Library.

Exceptions:
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
Returns:
The list of all identifiers of all libraries in the Content Library. The result will contain identifiers for the resource type: com.vmware.content.Library .

Implemented in vmware::content::LibraryStub.

void vmware::content::Library::Update ( string  libraryId,
vmware.content.LibraryModel  updateSpec 
)

Updates the properties of a library.

This is an incremental update to the library. Any field in the LibraryModel class that is null will not be modified.

This method will only update the common properties for all library types. This will not, for example, update the LibraryModel.publishInfo of a local library, nor the LibraryModel.subscriptionInfo of a subscribed library. Specific properties are updated in LocalLibrary.Update and SubscribedLibrary.Update .

Exceptions:
vmware.vapi.std.errors.NotFoundif the library associated with libraryId does not exist.
vmware.vapi.std.errors.InvalidArgumentif the updateSpec is not valid.
vmware.vapi.std.errors.InvalidArgumentif the LibraryModel.version of updateSpec is not equal to the current version of the library.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires ContentLibrary.UpdateLibrary .
Parameters:
libraryIdIdentifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library .
updateSpecSpecification of the new property values to set on the library.

Implemented in vmware::content::LibraryStub.

void vmware::content::Library::Update ( string  libraryId,
vmware.content.LibraryModel  updateSpec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Updates the properties of a library.

This is an incremental update to the library. Any field in the LibraryModel class that is null will not be modified.

This method will only update the common properties for all library types. This will not, for example, update the LibraryModel.publishInfo of a local library, nor the LibraryModel.subscriptionInfo of a subscribed library. Specific properties are updated in LocalLibrary.Update and SubscribedLibrary.Update .

Exceptions:
vmware.vapi.std.errors.NotFoundif the library associated with libraryId does not exist.
vmware.vapi.std.errors.InvalidArgumentif the updateSpec is not valid.
vmware.vapi.std.errors.InvalidArgumentif the LibraryModel.version of updateSpec is not equal to the current version of the library.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires ContentLibrary.UpdateLibrary .
Parameters:
libraryIdIdentifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library .
updateSpecSpecification of the new property values to set on the library.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task vmware::content::Library::UpdateAsync ( string  libraryId,
vmware.content.LibraryModel  updateSpec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Updates the properties of a library.

This is an incremental update to the library. Any field in the LibraryModel class that is null will not be modified.

This method will only update the common properties for all library types. This will not, for example, update the LibraryModel.publishInfo of a local library, nor the LibraryModel.subscriptionInfo of a subscribed library. Specific properties are updated in LocalLibrary.Update and SubscribedLibrary.Update .

Exceptions:
vmware.vapi.std.errors.NotFoundif the library associated with libraryId does not exist.
vmware.vapi.std.errors.InvalidArgumentif the updateSpec is not valid.
vmware.vapi.std.errors.InvalidArgumentif the LibraryModel.version of updateSpec is not equal to the current version of the library.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires ContentLibrary.UpdateLibrary .
Parameters:
libraryIdIdentifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library .
updateSpecSpecification of the new property values to set on the library.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::content::LibraryStub.

global::System.Threading.Tasks.Task vmware::content::Library::UpdateAsync ( string  libraryId,
vmware.content.LibraryModel  updateSpec 
)

Updates the properties of a library.

This is an incremental update to the library. Any field in the LibraryModel class that is null will not be modified.

This method will only update the common properties for all library types. This will not, for example, update the LibraryModel.publishInfo of a local library, nor the LibraryModel.subscriptionInfo of a subscribed library. Specific properties are updated in LocalLibrary.Update and SubscribedLibrary.Update .

Exceptions:
vmware.vapi.std.errors.NotFoundif the library associated with libraryId does not exist.
vmware.vapi.std.errors.InvalidArgumentif the updateSpec is not valid.
vmware.vapi.std.errors.InvalidArgumentif the LibraryModel.version of updateSpec is not equal to the current version of the library.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource com.vmware.content.Library referenced by the parameter libraryId requires ContentLibrary.UpdateLibrary .
Parameters:
libraryIdIdentifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library .
updateSpecSpecification of the new property values to set on the library.

Implemented in vmware::content::LibraryStub.


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