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

Builder class for StorageBacking. More...

List of all members.

Public Member Functions

 Builder ()
 Constructor with parameters for the required properties of StorageBacking.
Builder SetType (vmware.content.library.StorageBacking.Type type)
 Type ( DATASTORE, OTHER) of StorageBacking .
Builder SetDatastoreId (string datastoreId)
 Identifier of the datastore used to store the content in the library.
Builder SetStorageUri (global::System.Uri storageUri)
 URI identifying the location used to store the content in the library.
StorageBacking Build ()

Detailed Description


Constructor & Destructor Documentation

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

Constructor with parameters for the required properties of StorageBacking.


Member Function Documentation

StorageBacking vmware::content::library::StorageBacking::Builder::Build ( ) [inline]
Builder vmware::content::library::StorageBacking::Builder::SetDatastoreId ( string  datastoreId) [inline]

Identifier of the datastore used to store the content in the library.

When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: Datastore . When methods return a value of this class as a result, the field will be an identifier for the resource type: Datastore .

Builder vmware::content::library::StorageBacking::Builder::SetStorageUri ( global::System.Uri  storageUri) [inline]

URI identifying the location used to store the content in the library.

The following URI formats are supported:

vSphere 6.5

  • nfs://server/path?version=4 (for vCenter Server Appliance only) - Specifies an NFS Version 4 server.
  • nfs://server/path (for vCenter Server Appliance only) - Specifies an NFS Version 3 server. The nfs://server:/path format is also supported.
  • smb://server/path - Specifies an SMB server or Windows share.

vSphere 6.0 Update 1

  • nfs://server:/path (for vCenter Server Appliance only)
  • file://unc-server/path (for vCenter Server for Windows only)
  • file:///mount/point (for vCenter Server Appliance only) - Local file URIs are supported only when the path is a local mount point for an NFS file system. Use of file URIs is strongly discouraged. Instead, use an NFS URI to specify the remote file system.

vSphere 6.0

  • nfs://server:/path (for vCenter Server Appliance only)
  • file://unc-server/path (for vCenter Server for Windows only)
  • file:///path - Local file URIs are supported but strongly discouraged because it may interfere with the performance of vCenter Server.
Builder vmware::content::library::StorageBacking::Builder::SetType ( vmware.content.library.StorageBacking.Type  type) [inline]

Type ( DATASTORE, OTHER) of StorageBacking .


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