AgentIdentityStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. AgentIdentityStatus
- com.
- com.
public final class AgentIdentityStatus
extends ExpandableStringEnum<AgentIdentityStatus>
The status of an agent identity, applicable to both the agent instance identity and the agent blueprint.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Agent |
ACTIVE
The agent identity is active and can be used to access resources. |
|
static final
Agent |
DISABLED
The agent identity is disabled and cannot be used to access resources. |
Constructor Summary
| Constructor | Description |
|---|---|
| AgentIdentityStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromString(String name)
Creates or finds a Agent |
|
static
Collection<Agent |
values()
Gets known Agent |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACTIVE
public static final AgentIdentityStatus ACTIVE
The agent identity is active and can be used to access resources.
DISABLED
public static final AgentIdentityStatus DISABLED
The agent identity is disabled and cannot be used to access resources.
Constructor Details
AgentIdentityStatus
@Deprecated
public AgentIdentityStatus()
Deprecated
Creates a new instance of AgentIdentityStatus value.
Method Details
fromString
public static AgentIdentityStatus fromString(String name)
Creates or finds a AgentIdentityStatus from its string representation.
Parameters:
Returns:
values
public static Collection<AgentIdentityStatus> values()
Gets known AgentIdentityStatus values.
Returns: