All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceScalingMechanismKind Maven / Gradle / Ivy

// 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;

/**
 * Enumerates the ways that a service can be partitioned.
 */
public final class ServiceScalingMechanismKind extends ExpandableStringEnum {
    /**
     * Static value ScalePartitionInstanceCount for ServiceScalingMechanismKind.
     */
    public static final ServiceScalingMechanismKind SCALE_PARTITION_INSTANCE_COUNT
        = fromString("ScalePartitionInstanceCount");

    /**
     * Static value AddRemoveIncrementalNamedPartition for ServiceScalingMechanismKind.
     */
    public static final ServiceScalingMechanismKind ADD_REMOVE_INCREMENTAL_NAMED_PARTITION
        = fromString("AddRemoveIncrementalNamedPartition");

    /**
     * Creates a new instance of ServiceScalingMechanismKind value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ServiceScalingMechanismKind() {
    }

    /**
     * Creates or finds a ServiceScalingMechanismKind from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding ServiceScalingMechanismKind.
     */
    public static ServiceScalingMechanismKind fromString(String name) {
        return fromString(name, ServiceScalingMechanismKind.class);
    }

    /**
     * Gets known ServiceScalingMechanismKind values.
     * 
     * @return known ServiceScalingMechanismKind values.
     */
    public static Collection values() {
        return values(ServiceScalingMechanismKind.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy