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

Protocol 类

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.network.Protocol

public final class Protocol
extends com.microsoft.rest.ExpandableStringEnum<Protocol>

定义 Protocol 的值。

字段摘要

修饰符和类型 字段和描述
static final Protocol HTTP

协议的静态值 Http。

static final Protocol HTTPS

协议的静态值 Https。

static final Protocol ICMP

Protocol 的静态值 Icmp。

static final Protocol TCP

协议的静态值 Tcp。

构造函数摘要

构造函数 说明
Protocol()

方法摘要

修饰符和类型 方法和描述
static Protocol fromString(String name)

从其字符串表示形式创建或查找 Protocol。

static java.util.Collection<Protocol> values()

方法继承自 com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

字段详细信息

HTTP

public static final Protocol HTTP

协议的静态值 Http。

HTTPS

public static final Protocol HTTPS

协议的静态值 Https。

ICMP

public static final Protocol ICMP

Protocol 的静态值 Icmp。

TCP

public static final Protocol TCP

协议的静态值 Tcp。

构造函数详细信息

Protocol

public Protocol()

方法详细信息

fromString

public static Protocol fromString(String name)

从其字符串表示形式创建或查找 Protocol。

Parameters:

name - 要查找的名称

Returns:

相应的协议

values

public static Collection values()

Returns:

已知协议值

适用于