com.microsoft.azure.management.sql.InstanceFailoverGroupReplicationRole 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 SDK for SQL Management module.
/**
* 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 InstanceFailoverGroupReplicationRole.
*/
public final class InstanceFailoverGroupReplicationRole extends ExpandableStringEnum {
/** Static value Primary for InstanceFailoverGroupReplicationRole. */
public static final InstanceFailoverGroupReplicationRole PRIMARY = fromString("Primary");
/** Static value Secondary for InstanceFailoverGroupReplicationRole. */
public static final InstanceFailoverGroupReplicationRole SECONDARY = fromString("Secondary");
/**
* Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.
* @param name a name to look for
* @return the corresponding InstanceFailoverGroupReplicationRole
*/
@JsonCreator
public static InstanceFailoverGroupReplicationRole fromString(String name) {
return fromString(name, InstanceFailoverGroupReplicationRole.class);
}
/**
* @return known InstanceFailoverGroupReplicationRole values
*/
public static Collection values() {
return values(InstanceFailoverGroupReplicationRole.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy