VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::guest::Ipv4 Class Reference

The Ipv4 class specifies the IPv4 settings that need to be applied to a virtual network adapter. More...

List of all members.

Classes

class  Builder
 Builder class for Ipv4. More...
class  Type
 The Ipv4.Type enumerated type specifies different types of the IPv4 configuration. More...

Public Member Functions

 Ipv4 ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
vmware.vcenter.guest.Ipv4.Type Get_Type ()
 The type of the IPv4 configuration.
void SetType (vmware.vcenter.guest.Ipv4.Type type)
 The type of the IPv4 configuration.
string GetIpAddress ()
 The static IPv4 address.
void SetIpAddress (string ipAddress)
 The static IPv4 address.
long GetPrefix ()
 The IPv4 CIDR prefix, for example, 24.
void SetPrefix (long?prefix)
 The IPv4 CIDR prefix, for example, 24.
global::System.Collections.Generic.List
< string > 
GetGateways ()
 Gateways for the IPv4 address.
void SetGateways (global::System.Collections.Generic.List< string > gateways)
 Gateways for the IPv4 address.
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 Ipv4 class specifies the IPv4 settings that need to be applied to a virtual network adapter.

This class was added in vSphere API 7.0.0.


Constructor & Destructor Documentation

vmware::vcenter::guest::Ipv4::Ipv4 ( ) [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::guest::Ipv4::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::guest::Ipv4::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::guest::Ipv4::_GetType ( ) [inline]
bool vmware::vcenter::guest::Ipv4::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::guest::Ipv4::_Validate ( ) [inline]
override bool vmware::vcenter::guest::Ipv4::Equals ( object  obj) [inline]
vmware.vcenter.guest.Ipv4.Type vmware::vcenter::guest::Ipv4::Get_Type ( ) [inline]

The type of the IPv4 configuration.

This attribute was added in vSphere API 7.0.0.

global::System.Collections.Generic.List<string> vmware::vcenter::guest::Ipv4::GetGateways ( ) [inline]

Gateways for the IPv4 address.

This attribute was added in vSphere API 7.0.0.

override int vmware::vcenter::guest::Ipv4::GetHashCode ( ) [inline]
string vmware::vcenter::guest::Ipv4::GetIpAddress ( ) [inline]

The static IPv4 address.

This attribute was added in vSphere API 7.0.0.

long vmware::vcenter::guest::Ipv4::GetPrefix ( ) [inline]

The IPv4 CIDR prefix, for example, 24.

See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::Ipv4::SetGateways ( global::System.Collections.Generic.List< string >  gateways) [inline]

Gateways for the IPv4 address.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::Ipv4::SetIpAddress ( string  ipAddress) [inline]

The static IPv4 address.

This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::Ipv4::SetPrefix ( long?  prefix) [inline]

The IPv4 CIDR prefix, for example, 24.

See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. This attribute was added in vSphere API 7.0.0.

void vmware::vcenter::guest::Ipv4::SetType ( vmware.vcenter.guest.Ipv4.Type  type) [inline]

The type of the IPv4 configuration.

This attribute was added in vSphere API 7.0.0.

override string vmware::vcenter::guest::Ipv4::ToString ( ) [inline]

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