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.compute; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for DiskDetachOptionTypes.
/** * Defines values for DiskDetachOptionTypes. */
public final class DiskDetachOptionTypes extends ExpandableStringEnum<DiskDetachOptionTypes> {
Static value ForceDetach for DiskDetachOptionTypes.
/** Static value ForceDetach for DiskDetachOptionTypes. */
public static final DiskDetachOptionTypes FORCE_DETACH = fromString("ForceDetach");
Creates or finds a DiskDetachOptionTypes from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding DiskDetachOptionTypes
/** * Creates or finds a DiskDetachOptionTypes from its string representation. * @param name a name to look for * @return the corresponding DiskDetachOptionTypes */
@JsonCreator public static DiskDetachOptionTypes fromString(String name) { return fromString(name, DiskDetachOptionTypes.class); }
Returns:known DiskDetachOptionTypes values
/** * @return known DiskDetachOptionTypes values */
public static Collection<DiskDetachOptionTypes> values() { return values(DiskDetachOptionTypes.class); } }