VMware vCloud Suite SDK for .NET 6.0.0
|
The Library
interface provides methods to manage and find LibraryModel entities.
More...
Inherited by vmware::content::LibraryStub.
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. |
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 .
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 .
vmware.vapi.std.errors.InvalidArgument | if no properties are specified in the spec . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification describing what properties to filter on. |
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 .
vmware.vapi.std.errors.InvalidArgument | if no properties are specified in the spec . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification describing what properties to filter on. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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 .
vmware.vapi.std.errors.InvalidArgument | if no properties are specified in the spec . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification describing what properties to filter on. |
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 .
vmware.vapi.std.errors.InvalidArgument | if no properties are specified in the spec . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification describing what properties to filter on. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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 .
vmware.vapi.std.errors.NotFound | if the specified library does not exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::content::LibraryStub.
vmware.content.LibraryModel vmware::content::Library::Get | ( | string | libraryId | ) |
Returns a given LibraryModel .
vmware.vapi.std.errors.NotFound | if the specified library does not exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
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 .
vmware.vapi.std.errors.NotFound | if the specified library does not exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::content::LibraryStub.
global::System.Threading.Tasks.Task<vmware.content.LibraryModel> vmware::content::Library::GetAsync | ( | string | libraryId | ) |
Returns a given LibraryModel .
vmware.vapi.std.errors.NotFound | if the specified library does not exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
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.
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
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.
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
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.
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
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.
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
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 .
vmware.vapi.std.errors.NotFound | if the library associated with libraryId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if the updateSpec is not valid. |
vmware.vapi.std.errors.InvalidArgument | if the LibraryModel.version of updateSpec is not equal to the current version of the library. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
updateSpec | Specification 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 .
vmware.vapi.std.errors.NotFound | if the library associated with libraryId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if the updateSpec is not valid. |
vmware.vapi.std.errors.InvalidArgument | if the LibraryModel.version of updateSpec is not equal to the current version of the library. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
updateSpec | Specification of the new property values to set on the library. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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 .
vmware.vapi.std.errors.NotFound | if the library associated with libraryId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if the updateSpec is not valid. |
vmware.vapi.std.errors.InvalidArgument | if the LibraryModel.version of updateSpec is not equal to the current version of the library. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
updateSpec | Specification of the new property values to set on the library. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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 .
vmware.vapi.std.errors.NotFound | if the library associated with libraryId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if the updateSpec is not valid. |
vmware.vapi.std.errors.InvalidArgument | if the LibraryModel.version of updateSpec is not equal to the current version of the library. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryId | Identifier of the library to update. The parameter must be an identifier for the resource type: com.vmware.content.Library . |
updateSpec | Specification of the new property values to set on the library. |
Implemented in vmware::content::LibraryStub.