AgentEndpointConfig Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentEndpointConfig
- com.
Implements
public final class AgentEndpointConfig
implements JsonSerializable<AgentEndpointConfig>
The AgentEndpointConfig model.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentEndpointConfig() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
List<Agent |
getAuthorizationSchemes()
Get the authorization |
|
Protocol |
getProtocolConfiguration()
Get the protocol |
|
Publish |
getPublishApprovalStatus()
Get the publish |
|
Version |
getVersionSelector()
Get the version |
|
Agent |
setAuthorizationSchemes(List<AgentEndpointAuthorizationScheme> authorizationSchemes)
Set the authorization |
|
Agent |
setProtocolConfiguration(ProtocolConfiguration protocolConfiguration)
Set the protocol |
|
Agent |
setVersionSelector(VersionSelector versionSelector)
Set the version |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AgentEndpointConfig
public AgentEndpointConfig()
Creates an instance of AgentEndpointConfig class.
Method Details
fromJson
public static AgentEndpointConfig fromJson(JsonReader jsonReader)
Reads an instance of AgentEndpointConfig from the JsonReader.
Parameters:
Returns:
Throws:
getAuthorizationSchemes
public List<AgentEndpointAuthorizationScheme> getAuthorizationSchemes()
Get the authorizationSchemes property: The authorization schemes supported by the agent endpoint.
Returns:
getProtocolConfiguration
public ProtocolConfiguration getProtocolConfiguration()
Get the protocolConfiguration property: Per-protocol configuration for the agent endpoint.
Returns:
getPublishApprovalStatus
public PublishApprovalStatus getPublishApprovalStatus()
Get the publishApprovalStatus property: The Microsoft Agent Certification review status of the Microsoft 365 store title published for this agent. Server-populated and best-effort: it is absent when the status could not be determined, and an absent value must not be interpreted as the agent not being published. No value is terminal, because publishing a new version of an agent reuses the same store title and sends it back through review.
Returns:
getVersionSelector
public VersionSelector getVersionSelector()
Get the versionSelector property: The version selector of the agent endpoint determines how traffic is routed to different versions of the agent.
Returns:
setAuthorizationSchemes
public AgentEndpointConfig setAuthorizationSchemes(List<AgentEndpointAuthorizationScheme> authorizationSchemes)
Set the authorizationSchemes property: The authorization schemes supported by the agent endpoint.
Parameters:
Returns:
setProtocolConfiguration
public AgentEndpointConfig setProtocolConfiguration(ProtocolConfiguration protocolConfiguration)
Set the protocolConfiguration property: Per-protocol configuration for the agent endpoint.
Parameters:
Returns:
setVersionSelector
public AgentEndpointConfig setVersionSelector(VersionSelector versionSelector)
Set the versionSelector property: The version selector of the agent endpoint determines how traffic is routed to different versions of the agent.
Parameters:
Returns: