|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | set_ssl_certificate_thumbprint () |
| public method | get_ssl_certificate_thumbprint () |
| public method | new () |
| public method | set_uri () |
| public method | get_uri () |
The Com::Vmware::Content::Library::Item::TransferEndpoint class encapsulates a URI along with extra information about it.
| public method Com::Vmware::Content::Library::Item::TransferEndpoint::get_ssl_certificate_thumbprint | ( | ) |
Gets the value of 'ssl_certificate_thumbprint' property.
| ssl_certificate_thumbprint | - The current value of the field. Thumbprint of the expected SSL certificate for this endpoint. Only used for HTTPS connections. The thumbprint is the SHA-1 hash of the DER encoding of the remote endpoint's SSL certificate. If set, the remote endpoint's SSL certificate is only accepted if it matches this thumbprint, and no other certificate validation is performed. Optional# |
Code:
| public method Com::Vmware::Content::Library::Item::TransferEndpoint::get_uri | ( | ) |
Gets the value of 'uri' property.
| uri | - The current value of the field. Transfer endpoint URI. The supported URI schemes are: http , https , file , and ds . |
An endpoint URI with the ds scheme specifies the location of the file on the datastore. The format of the datastore URI is:
Some examples of valid file URI formats are:
When the transfer endpoint is a file or datastore location, the server can import the file directly from the storage backing without the overhead of streaming over HTTP.
URI#
Code:
| public method Com::Vmware::Content::Library::Item::TransferEndpoint::new | ( | ) |
Constructor to initialize the Com::Vmware::Content::Library::Item::TransferEndpoint structure
| Blessed | object |
Code:
| public method Com::Vmware::Content::Library::Item::TransferEndpoint::set_ssl_certificate_thumbprint | ( | ) |
Sets the given value for 'ssl_certificate_thumbprint' property.
| ssl_certificate_thumbprint | - New value for the field. Thumbprint of the expected SSL certificate for this endpoint. Only used for HTTPS connections. The thumbprint is the SHA-1 hash of the DER encoding of the remote endpoint's SSL certificate. If set, the remote endpoint's SSL certificate is only accepted if it matches this thumbprint, and no other certificate validation is performed. |
Code:
| public method Com::Vmware::Content::Library::Item::TransferEndpoint::set_uri | ( | ) |
Sets the given value for 'uri' property.
| uri | - New value for the field. Transfer endpoint URI. The supported URI schemes are: http , https , file , and ds . |
An endpoint URI with the ds scheme specifies the location of the file on the datastore. The format of the datastore URI is:
Some examples of valid file URI formats are:
When the transfer endpoint is a file or datastore location, the server can import the file directly from the storage backing without the overhead of streaming over HTTP.
Code: