Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerservice;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for OSDiskType.
/**
* Defines values for OSDiskType.
*/
public final class OSDiskType extends ExpandableStringEnum<OSDiskType> {
Static value Managed for OSDiskType. /** Static value Managed for OSDiskType. */
public static final OSDiskType MANAGED = fromString("Managed");
Static value Ephemeral for OSDiskType. /** Static value Ephemeral for OSDiskType. */
public static final OSDiskType EPHEMERAL = fromString("Ephemeral");
Creates or finds a OSDiskType from its string representation.
Params: - name – a name to look for
Returns: the corresponding OSDiskType
/**
* Creates or finds a OSDiskType from its string representation.
* @param name a name to look for
* @return the corresponding OSDiskType
*/
@JsonCreator
public static OSDiskType fromString(String name) {
return fromString(name, OSDiskType.class);
}
Returns: known OSDiskType values
/**
* @return known OSDiskType values
*/
public static Collection<OSDiskType> values() {
return values(OSDiskType.class);
}
}