You can update the settings of
content library types in your virtual environment by using the vSphere Automation API.
Table 1. Options for Updating a Content
Library
Content Library Types |
Option |
Local content library |
You can change the settings of a local library
before calling the update function on the LocalLibrary object:
- Before a library is
published, you can edit the following settings:
- The name of
a local library that is retrieved by using the
LocalLibrary object
- The
human-readable description of a local library
retrieved by using the LocalLibrary object
- After a library is
published, you must first retrieve the PublishInfo instance of the published library
you want. You can use the instance to configure the
following settings.
- Unpublish
the local library.
- Change the
authentication method of the library.
- Change the
password that must be used for authentication.
|
Subscribed content library |
You can edit the settings of a subscribed library
if you retrieve the SubscriptionInfo instance associated with it. To
apply the changes, you must update the library by using the SubscribedLibrary object. You can configure the
following settings:
- The authentication
method required by the local library
- The user name and
password of the subscribed library for authentication to the
local library
- The method for
synchronizing the metadata and the content of the subscribed
library
- The thumbprint
used for validating the SSL certificate of the local library
|