VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vcha::IpSpec Class Reference

The IpSpec class contains IP information used to configure a network interface. More...

List of all members.

Classes

class  Builder
 Builder class for IpSpec. More...

Public Member Functions

 IpSpec ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
vmware.vcenter.vcha.IpFamily GetIpFamily ()
 Family of the IP address to configure the interface.
void SetIpFamily (vmware.vcenter.vcha.IpFamily ipFamily)
 Family of the IP address to configure the interface.
vmware.vcenter.vcha.Ipv4Spec GetIpv4 ()
 If the family of the ip is IPV4, then this will point to IPv4 address specification.
void SetIpv4 (vmware.vcenter.vcha.Ipv4Spec ipv4)
 If the family of the ip is IPV4, then this will point to IPv4 address specification.
vmware.vcenter.vcha.Ipv6Spec GetIpv6 ()
 If the family of the ip is IPV6, then this will point to IPv6 address specification.
void SetIpv6 (vmware.vcenter.vcha.Ipv6Spec ipv6)
 If the family of the ip is IPV6, then this will point to IPv6 address specification.
string GetDefaultGateway ()
 The IP address of the Gateway for this interface.
void SetDefaultGateway (string defaultGateway)
 The IP address of the Gateway for this interface.
global::System.Collections.Generic.List
< string > 
GetDnsServers ()
 The list of IP addresses of the DNS servers for this interface.
void SetDnsServers (global::System.Collections.Generic.List< string > dnsServers)
 The list of IP addresses of the DNS servers for this interface.
vmware.vapi.bindings.type.StructType _GetType ()
vmware.vapi.data.StructValue _GetDataValue ()
void _Validate ()
bool _HasTypeNameOf< T > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description

The IpSpec class contains IP information used to configure a network interface.

This class was added in vSphere API 6.7.1.


Constructor & Destructor Documentation

vmware::vcenter::vcha::IpSpec::IpSpec ( ) [inline]

Generate all-fields constructor only for errors and standard structures that have relevant fields.

Creates a default new instance.


Member Function Documentation

T vmware::vcenter::vcha::IpSpec::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::vcha::IpSpec::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::vcha::IpSpec::_GetType ( ) [inline]
bool vmware::vcenter::vcha::IpSpec::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::vcha::IpSpec::_Validate ( ) [inline]
override bool vmware::vcenter::vcha::IpSpec::Equals ( object  obj) [inline]
string vmware::vcenter::vcha::IpSpec::GetDefaultGateway ( ) [inline]

The IP address of the Gateway for this interface.

This attribute was added in vSphere API 6.7.1.

global::System.Collections.Generic.List<string> vmware::vcenter::vcha::IpSpec::GetDnsServers ( ) [inline]

The list of IP addresses of the DNS servers for this interface.

This list is a comma separated list. This attribute was added in vSphere API 6.7.1.

override int vmware::vcenter::vcha::IpSpec::GetHashCode ( ) [inline]
vmware.vcenter.vcha.IpFamily vmware::vcenter::vcha::IpSpec::GetIpFamily ( ) [inline]

Family of the IP address to configure the interface.

This attribute was added in vSphere API 6.7.1.

vmware.vcenter.vcha.Ipv4Spec vmware::vcenter::vcha::IpSpec::GetIpv4 ( ) [inline]

If the family of the ip is IPV4, then this will point to IPv4 address specification.

This attribute was added in vSphere API 6.7.1.

vmware.vcenter.vcha.Ipv6Spec vmware::vcenter::vcha::IpSpec::GetIpv6 ( ) [inline]

If the family of the ip is IPV6, then this will point to IPv6 address specification.

This attribute was added in vSphere API 6.7.1.

void vmware::vcenter::vcha::IpSpec::SetDefaultGateway ( string  defaultGateway) [inline]

The IP address of the Gateway for this interface.

This attribute was added in vSphere API 6.7.1.

void vmware::vcenter::vcha::IpSpec::SetDnsServers ( global::System.Collections.Generic.List< string >  dnsServers) [inline]

The list of IP addresses of the DNS servers for this interface.

This list is a comma separated list. This attribute was added in vSphere API 6.7.1.

void vmware::vcenter::vcha::IpSpec::SetIpFamily ( vmware.vcenter.vcha.IpFamily  ipFamily) [inline]

Family of the IP address to configure the interface.

This attribute was added in vSphere API 6.7.1.

void vmware::vcenter::vcha::IpSpec::SetIpv4 ( vmware.vcenter.vcha.Ipv4Spec  ipv4) [inline]

If the family of the ip is IPV4, then this will point to IPv4 address specification.

This attribute was added in vSphere API 6.7.1.

void vmware::vcenter::vcha::IpSpec::SetIpv6 ( vmware.vcenter.vcha.Ipv6Spec  ipv6) [inline]

If the family of the ip is IPV6, then this will point to IPv6 address specification.

This attribute was added in vSphere API 6.7.1.

override string vmware::vcenter::vcha::IpSpec::ToString ( ) [inline]

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