CredentialHealthStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. CredentialHealthStatus
- com.
- com.
public final class CredentialHealthStatus
extends ExpandableStringEnum<CredentialHealthStatus>
The health status of credential.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Credential |
HEALTHY
Static value Healthy for Credential |
static final
Credential |
UNHEALTHY
Static value Unhealthy for Credential |
Constructor Summary
Constructor | Description |
---|---|
CredentialHealthStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Credential |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Credential |
fromString(String name)
Creates or finds a Credential |
static
Collection<Credential |
values()
Gets known Credential |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HEALTHY
public static final CredentialHealthStatus HEALTHY
Static value Healthy for CredentialHealthStatus.
UNHEALTHY
public static final CredentialHealthStatus UNHEALTHY
Static value Unhealthy for CredentialHealthStatus.
Constructor Details
CredentialHealthStatus
@Deprecated
public CredentialHealthStatus()
Deprecated
Creates a new instance of CredentialHealthStatus value.
Method Details
fromString
public static CredentialHealthStatus fromString(String name)
Creates or finds a CredentialHealthStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known CredentialHealthStatus values.
Returns:
Applies to
Azure SDK for Java