@@ -22685,15 +22685,13 @@ pub mod types {
2268522685 }
2268622686 }
2268722687
22688- /// Identity-related metadata that's included in nearly all public API
22689- /// objects
22688+ /// A networking probe
2269022689 ///
2269122690 /// <details><summary>JSON schema</summary>
2269222691 ///
2269322692 /// ```json
2269422693 /// {
22695- /// "description": "Identity-related metadata that's included in nearly all
22696- /// public API objects",
22694+ /// "description": "A networking probe",
2269722695 /// "type": "object",
2269822696 /// "required": [
2269922697 /// "description",
@@ -24927,15 +24925,13 @@ pub mod types {
2492724925 }
2492824926 }
2492924927
24930- /// Identity-related metadata that's included in nearly all public API
24931- /// objects
24928+ /// A SAML identity provider
2493224929 ///
2493324930 /// <details><summary>JSON schema</summary>
2493424931 ///
2493524932 /// ```json
2493624933 /// {
24937- /// "description": "Identity-related metadata that's included in nearly all
24938- /// public API objects",
24934+ /// "description": "A SAML identity provider",
2493924935 /// "type": "object",
2494024936 /// "required": [
2494124937 /// "acs_url",
@@ -32478,7 +32474,8 @@ pub mod types {
3247832474 /// "volts",
3247932475 /// "amps",
3248032476 /// "watts",
32481- /// "degrees_celsius"
32477+ /// "degrees_celsius",
32478+ /// "joules"
3248232479 /// ]
3248332480 /// },
3248432481 /// {
@@ -32530,6 +32527,8 @@ pub mod types {
3253032527 Watts,
3253132528 #[serde(rename = "degrees_celsius")]
3253232529 DegreesCelsius,
32530+ #[serde(rename = "joules")]
32531+ Joules,
3253332532 /// No meaningful units, e.g. a dimensionless quanity.
3253432533 #[serde(rename = "none")]
3253532534 None,
@@ -32549,6 +32548,7 @@ pub mod types {
3254932548 Self::Amps => f.write_str("amps"),
3255032549 Self::Watts => f.write_str("watts"),
3255132550 Self::DegreesCelsius => f.write_str("degrees_celsius"),
32551+ Self::Joules => f.write_str("joules"),
3255232552 Self::None => f.write_str("none"),
3255332553 Self::Rpm => f.write_str("rpm"),
3255432554 }
@@ -32567,6 +32567,7 @@ pub mod types {
3256732567 "amps" => Ok(Self::Amps),
3256832568 "watts" => Ok(Self::Watts),
3256932569 "degrees_celsius" => Ok(Self::DegreesCelsius),
32570+ "joules" => Ok(Self::Joules),
3257032571 "none" => Ok(Self::None),
3257132572 "rpm" => Ok(Self::Rpm),
3257232573 _ => Err("invalid value".into()),
@@ -65809,7 +65810,7 @@ pub mod types {
6580965810///
6581065811/// API for interacting with the Oxide control plane
6581165812///
65812- /// Version: 2026041900 .0.0
65813+ /// Version: 2026043000 .0.0
6581365814pub struct Client {
6581465815 pub(crate) baseurl: String,
6581565816 pub(crate) client: reqwest::Client,
@@ -65850,7 +65851,7 @@ impl Client {
6585065851
6585165852impl ClientInfo<()> for Client {
6585265853 fn api_version() -> &'static str {
65853- "2026041900 .0.0"
65854+ "2026043000 .0.0"
6585465855 }
6585565856
6585665857 fn baseurl(&self) -> &str {
@@ -83991,7 +83992,7 @@ pub mod builder {
8399183992
8399283993 /// Sends a `GET` request to
8399383994 /// `/v1/instances/{instance}/serial-console/stream`
83994- pub async fn send(self) -> Result<ResponseValue<reqwest::Upgraded>, Error<() >> {
83995+ pub async fn send(self) -> Result<ResponseValue<reqwest::Upgraded>, Error<types::Error >> {
8399583996 let Self {
8399683997 client,
8399783998 instance,
@@ -84041,6 +84042,12 @@ pub mod builder {
8404184042 let response = result?;
8404284043 match response.status().as_u16() {
8404384044 101u16 => ResponseValue::upgrade(response).await,
84045+ 400u16..=499u16 => Err(Error::ErrorResponse(
84046+ ResponseValue::from_response(response).await?,
84047+ )),
84048+ 500u16..=599u16 => Err(Error::ErrorResponse(
84049+ ResponseValue::from_response(response).await?,
84050+ )),
8404484051 _ => Err(Error::UnexpectedResponse(response)),
8404584052 }
8404684053 }
0 commit comments