### YamlMime:JavaEnum
uid: "com.microsoft.azure.batch.protocol.models.OSType"
fullName: "com.microsoft.azure.batch.protocol.models.OSType"
name: "OSType"
nameWithType: "OSType"
summary: "Defines values for OSType."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: "java.lang.Enum"
methodsRef:
- "valueOf"
- "clone"
- "compareTo"
- "describeConstable"
- "equals"
- "finalize"
- "getDeclaringClass"
- "hashCode"
- "name"
- "ordinal"
- "toString"
- classRef: "java.lang.Object"
methodsRef:
- "getClass"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public enum **OSType** extends Enum<>"
fields:
- uid: "com.microsoft.azure.batch.protocol.models.OSType.LINUX"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.LINUX"
name: "LINUX"
nameWithType: "OSType.LINUX"
summary: "The Linux operating system."
desc: "The Linux operating system."
- uid: "com.microsoft.azure.batch.protocol.models.OSType.WINDOWS"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.WINDOWS"
name: "WINDOWS"
nameWithType: "OSType.WINDOWS"
summary: "The Windows operating system."
desc: "The Windows operating system."
methods:
- uid: "com.microsoft.azure.batch.protocol.models.OSType.fromString(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.fromString(String value)"
name: "fromString(String value)"
nameWithType: "OSType.fromString(String value)"
summary: "Parses a serialized value to a OSType instance."
modifiers:
- "static"
parameters:
- description: "the serialized value to parse."
name: "value"
type: "String"
syntax: "public static OSType fromString(String value)"
desc: "Parses a serialized value to a OSType instance."
returns:
description: "the parsed OSType object, or null if unable to parse."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.OSType.toString()"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.toString()"
name: "toString()"
nameWithType: "OSType.toString()"
overridden: "java.lang.Enum.toString()"
syntax: "public String toString()"
returns:
type: "String"
- uid: "com.microsoft.azure.batch.protocol.models.OSType.valueOf(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "OSType.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "String"
syntax: "public static OSType valueOf(String name)"
returns:
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.OSType.values()"
fullName: "com.microsoft.azure.batch.protocol.models.OSType.values()"
name: "values()"
nameWithType: "OSType.values()"
modifiers:
- "static"
syntax: "public static OSType[] values()"
returns:
type: "[]"
desc: "Defines values for OSType."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0