你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IPVersion Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.IPVersion

public class IPVersion

Defines values for IPVersion.

Field Summary

Modifier and Type Field and Description
final IPVersion IPV4

Static value IPv4 for IPVersion.

final IPVersion IPV6

Static value IPv6 for IPVersion.

Constructor Summary

Constructor Description
IPVersion(String value)

Creates a custom value for IPVersion.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
int hashCode()
String toString()

Field Details

IPV4

public static final IPVersion IPV4= new IPVersion("IPv4")

Static value IPv4 for IPVersion.

IPV6

public static final IPVersion IPV6= new IPVersion("IPv6")

Static value IPv6 for IPVersion.

Constructor Details

IPVersion

public IPVersion(String value)

Creates a custom value for IPVersion.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

toString

public String toString()

Applies to