DeploymentModelVersionUpgradeOption Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cognitiveservices. models. DeploymentModelVersionUpgradeOption
- com.
- com.
public final class DeploymentModelVersionUpgradeOption
extends ExpandableStringEnum<DeploymentModelVersionUpgradeOption>
Deployment model version upgrade option.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Deployment |
NO_AUTO_UPGRADE
Static value No |
|
static final
Deployment |
ONCE_CURRENT_VERSION_EXPIRED
Static value Once |
|
static final
Deployment |
ONCE_NEW_DEFAULT_VERSION_AVAILABLE
Static value Once |
Constructor Summary
| Constructor | Description |
|---|---|
| DeploymentModelVersionUpgradeOption() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Deployment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Deployment |
fromString(String name)
Creates or finds a Deployment |
|
static
Collection<Deployment |
values()
Gets known Deployment |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NO_AUTO_UPGRADE
public static final DeploymentModelVersionUpgradeOption NO_AUTO_UPGRADE
Static value NoAutoUpgrade for DeploymentModelVersionUpgradeOption.
ONCE_CURRENT_VERSION_EXPIRED
public static final DeploymentModelVersionUpgradeOption ONCE_CURRENT_VERSION_EXPIRED
Static value OnceCurrentVersionExpired for DeploymentModelVersionUpgradeOption.
ONCE_NEW_DEFAULT_VERSION_AVAILABLE
public static final DeploymentModelVersionUpgradeOption ONCE_NEW_DEFAULT_VERSION_AVAILABLE
Static value OnceNewDefaultVersionAvailable for DeploymentModelVersionUpgradeOption.
Constructor Details
DeploymentModelVersionUpgradeOption
@Deprecated
public DeploymentModelVersionUpgradeOption()
Deprecated
Creates a new instance of DeploymentModelVersionUpgradeOption value.
Method Details
fromString
public static DeploymentModelVersionUpgradeOption fromString(String name)
Creates or finds a DeploymentModelVersionUpgradeOption from its string representation.
Parameters:
Returns:
values
public static Collection<DeploymentModelVersionUpgradeOption> values()
Gets known DeploymentModelVersionUpgradeOption values.
Returns: