Enum ServedModelStateDeployment
- java.lang.Object
-
- java.lang.Enum<ServedModelStateDeployment>
-
- com.databricks.sdk.service.serving.ServedModelStateDeployment
-
- All Implemented Interfaces:
Serializable
,Comparable<ServedModelStateDeployment>
@Generated public enum ServedModelStateDeployment extends Enum<ServedModelStateDeployment>
The state of the served model deployment. DEPLOYMENT_CREATING indicates that the served model is not ready yet because the deployment is still being created (i.e container image is building, model server is deploying for the first time, etc.). DEPLOYMENT_RECOVERING indicates that the served model was previously in a ready state but no longer is and is attempting to recover. DEPLOYMENT_READY indicates that the served model is ready to receive traffic. DEPLOYMENT_FAILED indicates that there was an error trying to bring up the served model (e.g container image build failed, the model server failed to start due to a model loading error, etc.) DEPLOYMENT_ABORTED indicates that the deployment was terminated likely due to a failure in bringing up another served model under the same endpoint and config version.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYMENT_ABORTED
DEPLOYMENT_CREATING
DEPLOYMENT_FAILED
DEPLOYMENT_READY
DEPLOYMENT_RECOVERING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServedModelStateDeployment
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServedModelStateDeployment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPLOYMENT_ABORTED
public static final ServedModelStateDeployment DEPLOYMENT_ABORTED
-
DEPLOYMENT_CREATING
public static final ServedModelStateDeployment DEPLOYMENT_CREATING
-
DEPLOYMENT_FAILED
public static final ServedModelStateDeployment DEPLOYMENT_FAILED
-
DEPLOYMENT_READY
public static final ServedModelStateDeployment DEPLOYMENT_READY
-
DEPLOYMENT_RECOVERING
public static final ServedModelStateDeployment DEPLOYMENT_RECOVERING
-
-
Method Detail
-
values
public static ServedModelStateDeployment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServedModelStateDeployment c : ServedModelStateDeployment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServedModelStateDeployment valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-