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

com.azure.resourcemanager.compute.models.CloudServiceUpgradeMode Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.compute.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed.
 * Updates can be initiated manually in each update domain or initiated automatically in all update domains.
 * Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br
 * />**Simultaneous**<br /><br />
 * If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update.
 * If set to Auto, the update is automatically applied to each update domain in sequence.
 */
public final class CloudServiceUpgradeMode extends ExpandableStringEnum {
    /**
     * Static value Auto for CloudServiceUpgradeMode.
     */
    public static final CloudServiceUpgradeMode AUTO = fromString("Auto");

    /**
     * Static value Manual for CloudServiceUpgradeMode.
     */
    public static final CloudServiceUpgradeMode MANUAL = fromString("Manual");

    /**
     * Static value Simultaneous for CloudServiceUpgradeMode.
     */
    public static final CloudServiceUpgradeMode SIMULTANEOUS = fromString("Simultaneous");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy