pub struct ArcVirtualKeyResponse {Show 16 fields
pub name: String,
pub expires_at: Option<String>,
pub security_enabled: Option<bool>,
pub security_action: Option<SecurityAction>,
pub rpm_limit: Option<i32>,
pub tpm_limit: Option<i32>,
pub id: String,
pub _type: String,
pub user_id: String,
pub created_by: Option<String>,
pub last_used_at: Option<String>,
pub deleted_at: Option<String>,
pub created_at: String,
pub updated_at: String,
pub spend_limit_enabled: Option<bool>,
pub spend_limit_enabled_on: Option<String>,
}Fields§
§name: StringA display name for the virtual key.
expires_at: Option<String>The date and time the key expires, in RFC 3339 format. Omit for a key that doesn’t expire.
security_enabled: Option<bool>Whether AI Firewall security is enabled for requests made with this key.
security_action: Option<SecurityAction>The action AI Firewall takes when it detects a violation on a request made with this key. Only meaningful when security_enabled is true.
rpm_limit: Option<i32>The requests-per-minute limit for this key. Omit for no limit.
tpm_limit: Option<i32>The tokens-per-minute limit for this key. Omit for no limit.
id: StringThe unique identifier of the virtual key.
_type: StringThe type of the resource.
user_id: StringThe ID of the user who created the key.
created_by: Option<String>The display name of the user who created the key.
last_used_at: Option<String>The date and time the key was last used to make a request, in RFC 3339 format. null if the key has never been used.
deleted_at: Option<String>The date and time the key was deleted, in RFC 3339 format. null unless the key was deleted and include_deleted was used to retrieve it.
created_at: StringThe date and time the key was created, in RFC 3339 format.
updated_at: StringThe date and time the key was last updated, in RFC 3339 format.
spend_limit_enabled: Option<bool>Whether a spend limit is enabled for this key.
spend_limit_enabled_on: Option<String>The date and time spend_limit_enabled was last set to true, in RFC 3339 format. null if the spend limit has never been enabled. This timestamp is not cleared when spend_limit_enabled is later set back to false, so it can be non-null even when the spend limit is currently disabled.