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

Builder class for IpSpec. More...

List of all members.

Public Member Functions

 Builder (vmware.vcenter.vcha.IpFamily ipFamily)
 Constructor with parameters for the required properties of IpSpec.
Builder SetIpv4 (vmware.vcenter.vcha.Ipv4Spec ipv4)
 If the family of the ip is IPV4, then this will point to IPv4 address specification.
Builder SetIpv6 (vmware.vcenter.vcha.Ipv6Spec ipv6)
 If the family of the ip is IPV6, then this will point to IPv6 address specification.
Builder SetDefaultGateway (string defaultGateway)
 The IP address of the Gateway for this interface.
Builder SetDnsServers (global::System.Collections.Generic.List< string > dnsServers)
 The list of IP addresses of the DNS servers for this interface.
IpSpec Build ()

Detailed Description

Builder class for IpSpec.


Constructor & Destructor Documentation

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

Constructor with parameters for the required properties of IpSpec.


Member Function Documentation

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

The IP address of the Gateway for this interface.

This attribute was added in vSphere API 6.7.1.

Builder vmware::vcenter::vcha::IpSpec::Builder::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.

Builder vmware::vcenter::vcha::IpSpec::Builder::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.

Builder vmware::vcenter::vcha::IpSpec::Builder::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.


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