### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Protocol"
fullName: "com.azure.resourcemanager.network.models.Protocol"
name: "Protocol"
nameWithType: "Protocol"
summary: "Network protocol."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />"
- "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />"
- ""
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "finalize"
- "getClass"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Protocol** extends <>"
constructors:
- uid: "com.azure.resourcemanager.network.models.Protocol.Protocol()"
fullName: "com.azure.resourcemanager.network.models.Protocol.Protocol()"
name: "Protocol()"
nameWithType: "Protocol.Protocol()"
syntax: "public Protocol()"
fields:
- uid: "com.azure.resourcemanager.network.models.Protocol.HTTP"
fullName: "com.azure.resourcemanager.network.models.Protocol.HTTP"
name: "HTTP"
nameWithType: "Protocol.HTTP"
summary: "Static value Http for Protocol."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final Protocol HTTP"
desc: "Static value Http for Protocol."
- uid: "com.azure.resourcemanager.network.models.Protocol.HTTPS"
fullName: "com.azure.resourcemanager.network.models.Protocol.HTTPS"
name: "HTTPS"
nameWithType: "Protocol.HTTPS"
summary: "Static value Https for Protocol."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final Protocol HTTPS"
desc: "Static value Https for Protocol."
- uid: "com.azure.resourcemanager.network.models.Protocol.ICMP"
fullName: "com.azure.resourcemanager.network.models.Protocol.ICMP"
name: "ICMP"
nameWithType: "Protocol.ICMP"
summary: "Static value Icmp for Protocol."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final Protocol ICMP"
desc: "Static value Icmp for Protocol."
- uid: "com.azure.resourcemanager.network.models.Protocol.TCP"
fullName: "com.azure.resourcemanager.network.models.Protocol.TCP"
name: "TCP"
nameWithType: "Protocol.TCP"
summary: "Static value Tcp for Protocol."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final Protocol TCP"
desc: "Static value Tcp for Protocol."
methods:
- uid: "com.azure.resourcemanager.network.models.Protocol.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.Protocol.fromString(String name)"
name: "fromString(String name)"
nameWithType: "Protocol.fromString(String name)"
summary: "Creates or finds a Protocol from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "String"
syntax: "public static Protocol fromString(String name)"
desc: "Creates or finds a Protocol from its string representation."
returns:
description: "the corresponding Protocol."
type: ""
- uid: "com.azure.resourcemanager.network.models.Protocol.values()"
fullName: "com.azure.resourcemanager.network.models.Protocol.values()"
name: "values()"
nameWithType: "Protocol.values()"
summary: "Gets known Protocol values."
modifiers:
- "static"
syntax: "public static Collection values()"
desc: "Gets known Protocol values."
returns:
description: "known Protocol values."
type: "Collection<>"
type: "class"
desc: "Network protocol."
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.24.0