pub struct DeployAgentParams {
pub name: String,
pub image: Option<AgentImage>,
pub env: HashMap<String, String>,
pub scaling: Option<AgentScaling>,
pub profile: Option<AgentComputeProfile>,
pub region: Option<String>,
pub agent_id: Option<String>,
pub version_tag: Option<String>,
pub webhook: Option<RoomWebhook>,
pub env_secret_name: Option<String>,
}Expand description
The parameters for AgentDeploymentResource::create.
Fields§
§name: StringThe deployment name. Required.
image: Option<AgentImage>The container image. Required in practice.
env: HashMap<String, String>Environment variables for the agent, stored as a secret attached to the deployment.
scaling: Option<AgentScaling>The replica scaling.
profile: Option<AgentComputeProfile>The compute profile. Defaults to cpu-small.
region: Option<String>The region. Defaults to us002.
agent_id: Option<String>Attaches to an existing agent. A new one is generated when absent.
version_tag: Option<String>The version tag.
webhook: Option<RoomWebhook>The session webhook. Its events list is effectively required.
env_secret_name: Option<String>Names the generated env secret. Derived from name when absent.
Trait Implementations§
Source§impl Clone for DeployAgentParams
impl Clone for DeployAgentParams
Source§fn clone(&self) -> DeployAgentParams
fn clone(&self) -> DeployAgentParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeployAgentParams
impl Debug for DeployAgentParams
Source§impl Default for DeployAgentParams
impl Default for DeployAgentParams
Source§fn default() -> DeployAgentParams
fn default() -> DeployAgentParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeployAgentParams
impl RefUnwindSafe for DeployAgentParams
impl Send for DeployAgentParams
impl Sync for DeployAgentParams
impl Unpin for DeployAgentParams
impl UnsafeUnpin for DeployAgentParams
impl UnwindSafe for DeployAgentParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more