|
VMware vSphere Automation SDK for .NET 7.0.0.1
|
The ConnectionSpec class contains information required to connect to a vCenter server.
More...
Classes | |
| class | Builder |
| Builder class for ConnectionSpec. More... | |
Public Member Functions | |
| ConnectionSpec () | |
| Generate all-fields constructor only for errors and standard structures that have relevant fields. | |
| string | GetHostname () |
| IP Address or DNS of the vCenter. | |
| void | SetHostname (string hostname) |
| IP Address or DNS of the vCenter. | |
| long | GetPort () |
| Port number. | |
| void | SetPort (long?port) |
| Port number. | |
| string | GetSslThumbprint () |
| SHA1 hash of the server SSL certificate. | |
| void | SetSslThumbprint (string sslThumbprint) |
| SHA1 hash of the server SSL certificate. | |
| string | GetUsername () |
| Username to access the server. | |
| void | SetUsername (string username) |
| Username to access the server. | |
| char[] | GetPassword () |
| Password for the specified user. | |
| void | SetPassword (char[] password) |
| Password for the specified user. | |
| vmware.vapi.bindings.type.StructType | _GetType () |
| vmware.vapi.data.StructValue | _GetDataValue () |
| void | _Validate () |
| bool | _HasTypeNameOf< T > () |
| T | _ConvertTo< T > () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override string | ToString () |
The ConnectionSpec class contains information required to connect to a vCenter server.
The connection to the vCenter server always uses the HTTPS protocol. This class was added in vSphere API 6.7.1.
| vmware::vcenter::vcha::ConnectionSpec::ConnectionSpec | ( | ) | [inline] |
Generate all-fields constructor only for errors and standard structures that have relevant fields.
Creates a default new instance.
| T vmware::vcenter::vcha::ConnectionSpec::_ConvertTo< T > | ( | ) | [inline] |
| T | : | vmware.vapi.bindings.IStructure |
| vmware.vapi.data.StructValue vmware::vcenter::vcha::ConnectionSpec::_GetDataValue | ( | ) | [inline] |
| vmware.vapi.bindings.type.StructType vmware::vcenter::vcha::ConnectionSpec::_GetType | ( | ) | [inline] |
| bool vmware::vcenter::vcha::ConnectionSpec::_HasTypeNameOf< T > | ( | ) | [inline] |
| T | : | vmware.vapi.bindings.IStructure |
| void vmware::vcenter::vcha::ConnectionSpec::_Validate | ( | ) | [inline] |
| override bool vmware::vcenter::vcha::ConnectionSpec::Equals | ( | object | obj | ) | [inline] |
| override int vmware::vcenter::vcha::ConnectionSpec::GetHashCode | ( | ) | [inline] |
| string vmware::vcenter::vcha::ConnectionSpec::GetHostname | ( | ) | [inline] |
IP Address or DNS of the vCenter.
This attribute was added in vSphere API 6.7.1.
| char [] vmware::vcenter::vcha::ConnectionSpec::GetPassword | ( | ) | [inline] |
Password for the specified user.
This attribute was added in vSphere API 6.7.1.
| long vmware::vcenter::vcha::ConnectionSpec::GetPort | ( | ) | [inline] |
Port number.
This attribute was added in vSphere API 6.7.1.
| string vmware::vcenter::vcha::ConnectionSpec::GetSslThumbprint | ( | ) | [inline] |
SHA1 hash of the server SSL certificate.
This attribute was added in vSphere API 6.7.1.
| string vmware::vcenter::vcha::ConnectionSpec::GetUsername | ( | ) | [inline] |
Username to access the server.
This attribute was added in vSphere API 6.7.1.
| void vmware::vcenter::vcha::ConnectionSpec::SetHostname | ( | string | hostname | ) | [inline] |
IP Address or DNS of the vCenter.
This attribute was added in vSphere API 6.7.1.
| void vmware::vcenter::vcha::ConnectionSpec::SetPassword | ( | char[] | password | ) | [inline] |
Password for the specified user.
This attribute was added in vSphere API 6.7.1.
| void vmware::vcenter::vcha::ConnectionSpec::SetPort | ( | long? | port | ) | [inline] |
Port number.
This attribute was added in vSphere API 6.7.1.
| void vmware::vcenter::vcha::ConnectionSpec::SetSslThumbprint | ( | string | sslThumbprint | ) | [inline] |
SHA1 hash of the server SSL certificate.
This attribute was added in vSphere API 6.7.1.
| void vmware::vcenter::vcha::ConnectionSpec::SetUsername | ( | string | username | ) | [inline] |
Username to access the server.
This attribute was added in vSphere API 6.7.1.
| override string vmware::vcenter::vcha::ConnectionSpec::ToString | ( | ) | [inline] |