com.microsoft.azure.management.sql.UnitDefinitionType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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.sql;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for UnitDefinitionType.
*/
public final class UnitDefinitionType extends ExpandableStringEnum {
/** Static value Count for UnitDefinitionType. */
public static final UnitDefinitionType COUNT = fromString("Count");
/** Static value Bytes for UnitDefinitionType. */
public static final UnitDefinitionType BYTES = fromString("Bytes");
/** Static value Seconds for UnitDefinitionType. */
public static final UnitDefinitionType SECONDS = fromString("Seconds");
/** Static value Percent for UnitDefinitionType. */
public static final UnitDefinitionType PERCENT = fromString("Percent");
/** Static value CountPerSecond for UnitDefinitionType. */
public static final UnitDefinitionType COUNT_PER_SECOND = fromString("CountPerSecond");
/** Static value BytesPerSecond for UnitDefinitionType. */
public static final UnitDefinitionType BYTES_PER_SECOND = fromString("BytesPerSecond");
/**
* Creates or finds a UnitDefinitionType from its string representation.
* @param name a name to look for
* @return the corresponding UnitDefinitionType
*/
@JsonCreator
public static UnitDefinitionType fromString(String name) {
return fromString(name, UnitDefinitionType.class);
}
/**
* @return known UnitDefinitionType values
*/
public static Collection values() {
return values(UnitDefinitionType.class);
}
}