com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceLoadMetricWeight Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-servicefabricmanagedclusters Show documentation
Show all versions of azure-resourcemanager-servicefabricmanagedclusters Show documentation
This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.servicefabricmanagedclusters.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if
* two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.
*/
public final class ServiceLoadMetricWeight extends ExpandableStringEnum {
/**
* Static value Zero for ServiceLoadMetricWeight.
*/
public static final ServiceLoadMetricWeight ZERO = fromString("Zero");
/**
* Static value Low for ServiceLoadMetricWeight.
*/
public static final ServiceLoadMetricWeight LOW = fromString("Low");
/**
* Static value Medium for ServiceLoadMetricWeight.
*/
public static final ServiceLoadMetricWeight MEDIUM = fromString("Medium");
/**
* Static value High for ServiceLoadMetricWeight.
*/
public static final ServiceLoadMetricWeight HIGH = fromString("High");
/**
* Creates a new instance of ServiceLoadMetricWeight value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ServiceLoadMetricWeight() {
}
/**
* Creates or finds a ServiceLoadMetricWeight from its string representation.
*
* @param name a name to look for.
* @return the corresponding ServiceLoadMetricWeight.
*/
public static ServiceLoadMetricWeight fromString(String name) {
return fromString(name, ServiceLoadMetricWeight.class);
}
/**
* Gets known ServiceLoadMetricWeight values.
*
* @return known ServiceLoadMetricWeight values.
*/
public static Collection values() {
return values(ServiceLoadMetricWeight.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy