VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::content::library::PublishInfo::Builder Class Reference

Builder class for PublishInfo. More...

List of all members.

Public Member Functions

 Builder ()
 Constructor with parameters for the required properties of PublishInfo.
Builder SetAuthenticationMethod (vmware.content.library.PublishInfo.AuthenticationMethod authenticationMethod)
 Indicates how a subscribed library should authenticate ( BASIC, NONE) to the published library endpoint.
Builder SetPublished (bool?published)
 Whether the local library is published.
Builder SetPublishUrl (global::System.Uri publishUrl)
 The URL to which the library metadata is published by the Content Library Service.
Builder SetUserName (string userName)
 The username to require for authentication.
Builder SetPassword (char[] password)
 The new password to require for authentication.
Builder SetCurrentPassword (char[] currentPassword)
 The current password to verify.
Builder SetPersistJsonEnabled (bool?persistJsonEnabled)
 Whether library and library item metadata are persisted in the storage backing as JSON files.
PublishInfo Build ()

Detailed Description

Builder class for PublishInfo.


Constructor & Destructor Documentation

vmware::content::library::PublishInfo::Builder::Builder ( ) [inline]

Constructor with parameters for the required properties of PublishInfo.


Member Function Documentation

PublishInfo vmware::content::library::PublishInfo::Builder::Build ( ) [inline]
Builder vmware::content::library::PublishInfo::Builder::SetAuthenticationMethod ( vmware.content.library.PublishInfo.AuthenticationMethod  authenticationMethod) [inline]

Indicates how a subscribed library should authenticate ( BASIC, NONE) to the published library endpoint.

Builder vmware::content::library::PublishInfo::Builder::SetCurrentPassword ( char[]  currentPassword) [inline]

The current password to verify.

This field is available starting in vSphere 6.7.

Builder vmware::content::library::PublishInfo::Builder::SetPassword ( char[]  password) [inline]

The new password to require for authentication.

Builder vmware::content::library::PublishInfo::Builder::SetPersistJsonEnabled ( bool?  persistJsonEnabled) [inline]

Whether library and library item metadata are persisted in the storage backing as JSON files.

This flag only applies if the local library is published.

Enabling JSON persistence allows you to synchronize a subscribed library manually instead of over HTTP. You copy the local library content and metadata to another storage backing manually and then create a subscribed library referencing the location of the library JSON file in the SubscriptionInfo.subscriptionUrl . When the subscribed library's storage backing matches the subscription URL, files do not need to be copied to the subscribed library.

For a library backed by a datastore, the library JSON file will be stored at the path contentlib-{library_id}/lib.json on the datastore.

For a library backed by a remote file system, the library JSON file will be stored at {library_id}/lib.json in the remote file system path.

Builder vmware::content::library::PublishInfo::Builder::SetPublished ( bool?  published) [inline]

Whether the local library is published.

Builder vmware::content::library::PublishInfo::Builder::SetPublishUrl ( global::System.Uri  publishUrl) [inline]

The URL to which the library metadata is published by the Content Library Service.

This value can be used to set the SubscriptionInfo.subscriptionUrl property when creating a subscribed library.

Builder vmware::content::library::PublishInfo::Builder::SetUserName ( string  userName) [inline]

The username to require for authentication.


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