com.azure.resourcemanager.sql.models.ServerNetworkAccessFlag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The 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.sql.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be
* 'Enabled' or 'Disabled'.
*/
public final class ServerNetworkAccessFlag extends ExpandableStringEnum {
/**
* Static value Enabled for ServerNetworkAccessFlag.
*/
public static final ServerNetworkAccessFlag ENABLED = fromString("Enabled");
/**
* Static value Disabled for ServerNetworkAccessFlag.
*/
public static final ServerNetworkAccessFlag DISABLED = fromString("Disabled");
/**
* Creates a new instance of ServerNetworkAccessFlag value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ServerNetworkAccessFlag() {
}
/**
* Creates or finds a ServerNetworkAccessFlag from its string representation.
*
* @param name a name to look for.
* @return the corresponding ServerNetworkAccessFlag.
*/
public static ServerNetworkAccessFlag fromString(String name) {
return fromString(name, ServerNetworkAccessFlag.class);
}
/**
* Gets known ServerNetworkAccessFlag values.
*
* @return known ServerNetworkAccessFlag values.
*/
public static Collection values() {
return values(ServerNetworkAccessFlag.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy