com.azure.resourcemanager.network.models.LoadBalancerBackendAddressAdminState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* A list of administrative states which once set can override health probe so that Load Balancer will always forward
* new connections to backend, or deny new connections and reset existing connections.
*/
public final class LoadBalancerBackendAddressAdminState
extends ExpandableStringEnum {
/**
* Static value None for LoadBalancerBackendAddressAdminState.
*/
public static final LoadBalancerBackendAddressAdminState NONE = fromString("None");
/**
* Static value Up for LoadBalancerBackendAddressAdminState.
*/
public static final LoadBalancerBackendAddressAdminState UP = fromString("Up");
/**
* Static value Down for LoadBalancerBackendAddressAdminState.
*/
public static final LoadBalancerBackendAddressAdminState DOWN = fromString("Down");
/**
* Creates a new instance of LoadBalancerBackendAddressAdminState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public LoadBalancerBackendAddressAdminState() {
}
/**
* Creates or finds a LoadBalancerBackendAddressAdminState from its string representation.
*
* @param name a name to look for.
* @return the corresponding LoadBalancerBackendAddressAdminState.
*/
@JsonCreator
public static LoadBalancerBackendAddressAdminState fromString(String name) {
return fromString(name, LoadBalancerBackendAddressAdminState.class);
}
/**
* Gets known LoadBalancerBackendAddressAdminState values.
*
* @return known LoadBalancerBackendAddressAdminState values.
*/
public static Collection values() {
return values(LoadBalancerBackendAddressAdminState.class);
}
}