Skip to content

Commit 1beed5d

Browse files
Rebuilt with latest dependency updates
1 parent 37ff024 commit 1beed5d

File tree

2 files changed

+74
-6
lines changed

2 files changed

+74
-6
lines changed

oxide.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://oxide.computer",
88
"email": "api@oxide.computer"
99
},
10-
"version": "2025122300.0.0"
10+
"version": "2026010100.0.0"
1111
},
1212
"paths": {
1313
"/device/auth": {
@@ -22128,7 +22128,7 @@
2212822128
]
2212922129
},
2213022130
"pool_type": {
22131-
"description": "Type of IP pool (unicast or multicast)",
22131+
"description": "Type of IP pool (unicast or multicast).",
2213222132
"allOf": [
2213322133
{
2213422134
"$ref": "#/components/schemas/IpPoolType"
@@ -25031,6 +25031,14 @@
2503125031
"type": "string",
2503225032
"format": "uuid"
2503325033
},
25034+
"ip_version": {
25035+
"description": "The IP version for the pool.",
25036+
"allOf": [
25037+
{
25038+
"$ref": "#/components/schemas/IpVersion"
25039+
}
25040+
]
25041+
},
2503425042
"is_default": {
2503525043
"description": "When a pool is the default for a silo, floating IPs and instance ephemeral IPs will come from that pool when no other pool is specified.\n\nA silo can have at most one default pool per combination of pool type (unicast or multicast) and IP version (IPv4 or IPv6), allowing up to 4 default pools total.",
2503625044
"type": "boolean"
@@ -25043,6 +25051,14 @@
2504325051
}
2504425052
]
2504525053
},
25054+
"pool_type": {
25055+
"description": "Type of IP pool (unicast or multicast).",
25056+
"allOf": [
25057+
{
25058+
"$ref": "#/components/schemas/IpPoolType"
25059+
}
25060+
]
25061+
},
2504625062
"time_created": {
2504725063
"description": "timestamp when this resource was created",
2504825064
"type": "string",
@@ -25057,8 +25073,10 @@
2505725073
"required": [
2505825074
"description",
2505925075
"id",
25076+
"ip_version",
2506025077
"is_default",
2506125078
"name",
25079+
"pool_type",
2506225080
"time_created",
2506325081
"time_modified"
2506425082
]

sdk/src/generated_sdk.rs

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17463,7 +17463,7 @@ pub mod types {
1746317463
/// ]
1746417464
/// },
1746517465
/// "pool_type": {
17466-
/// "description": "Type of IP pool (unicast or multicast)",
17466+
/// "description": "Type of IP pool (unicast or multicast).",
1746717467
/// "allOf": [
1746817468
/// {
1746917469
/// "$ref": "#/components/schemas/IpPoolType"
@@ -17496,7 +17496,7 @@ pub mod types {
1749617496
pub ip_version: IpVersion,
1749717497
/// unique, mutable, user-controlled identifier for each resource
1749817498
pub name: Name,
17499-
/// Type of IP pool (unicast or multicast)
17499+
/// Type of IP pool (unicast or multicast).
1750017500
pub pool_type: IpPoolType,
1750117501
/// timestamp when this resource was created
1750217502
pub time_created: ::chrono::DateTime<::chrono::offset::Utc>,
@@ -25643,8 +25643,10 @@ pub mod types {
2564325643
/// "required": [
2564425644
/// "description",
2564525645
/// "id",
25646+
/// "ip_version",
2564625647
/// "is_default",
2564725648
/// "name",
25649+
/// "pool_type",
2564825650
/// "time_created",
2564925651
/// "time_modified"
2565025652
/// ],
@@ -25659,6 +25661,14 @@ pub mod types {
2565925661
/// "type": "string",
2566025662
/// "format": "uuid"
2566125663
/// },
25664+
/// "ip_version": {
25665+
/// "description": "The IP version for the pool.",
25666+
/// "allOf": [
25667+
/// {
25668+
/// "$ref": "#/components/schemas/IpVersion"
25669+
/// }
25670+
/// ]
25671+
/// },
2566225672
/// "is_default": {
2566325673
/// "description": "When a pool is the default for a silo, floating IPs
2566425674
/// and instance ephemeral IPs will come from that pool when no other pool
@@ -25676,6 +25686,14 @@ pub mod types {
2567625686
/// }
2567725687
/// ]
2567825688
/// },
25689+
/// "pool_type": {
25690+
/// "description": "Type of IP pool (unicast or multicast).",
25691+
/// "allOf": [
25692+
/// {
25693+
/// "$ref": "#/components/schemas/IpPoolType"
25694+
/// }
25695+
/// ]
25696+
/// },
2567925697
/// "time_created": {
2568025698
/// "description": "timestamp when this resource was created",
2568125699
/// "type": "string",
@@ -25698,6 +25716,8 @@ pub mod types {
2569825716
pub description: ::std::string::String,
2569925717
/// unique, immutable, system-controlled identifier for each resource
2570025718
pub id: ::uuid::Uuid,
25719+
/// The IP version for the pool.
25720+
pub ip_version: IpVersion,
2570125721
/// When a pool is the default for a silo, floating IPs and instance
2570225722
/// ephemeral IPs will come from that pool when no other pool is
2570325723
/// specified.
@@ -25708,6 +25728,8 @@ pub mod types {
2570825728
pub is_default: bool,
2570925729
/// unique, mutable, user-controlled identifier for each resource
2571025730
pub name: Name,
25731+
/// Type of IP pool (unicast or multicast).
25732+
pub pool_type: IpPoolType,
2571125733
/// timestamp when this resource was created
2571225734
pub time_created: ::chrono::DateTime<::chrono::offset::Utc>,
2571325735
/// timestamp when this resource was last modified
@@ -54932,8 +54954,10 @@ pub mod types {
5493254954
pub struct SiloIpPool {
5493354955
description: ::std::result::Result<::std::string::String, ::std::string::String>,
5493454956
id: ::std::result::Result<::uuid::Uuid, ::std::string::String>,
54957+
ip_version: ::std::result::Result<super::IpVersion, ::std::string::String>,
5493554958
is_default: ::std::result::Result<bool, ::std::string::String>,
5493654959
name: ::std::result::Result<super::Name, ::std::string::String>,
54960+
pool_type: ::std::result::Result<super::IpPoolType, ::std::string::String>,
5493754961
time_created: ::std::result::Result<
5493854962
::chrono::DateTime<::chrono::offset::Utc>,
5493954963
::std::string::String,
@@ -54949,8 +54973,10 @@ pub mod types {
5494954973
Self {
5495054974
description: Err("no value supplied for description".to_string()),
5495154975
id: Err("no value supplied for id".to_string()),
54976+
ip_version: Err("no value supplied for ip_version".to_string()),
5495254977
is_default: Err("no value supplied for is_default".to_string()),
5495354978
name: Err("no value supplied for name".to_string()),
54979+
pool_type: Err("no value supplied for pool_type".to_string()),
5495454980
time_created: Err("no value supplied for time_created".to_string()),
5495554981
time_modified: Err("no value supplied for time_modified".to_string()),
5495654982
}
@@ -54978,6 +55004,16 @@ pub mod types {
5497855004
.map_err(|e| format!("error converting supplied value for id: {}", e));
5497955005
self
5498055006
}
55007+
pub fn ip_version<T>(mut self, value: T) -> Self
55008+
where
55009+
T: ::std::convert::TryInto<super::IpVersion>,
55010+
T::Error: ::std::fmt::Display,
55011+
{
55012+
self.ip_version = value
55013+
.try_into()
55014+
.map_err(|e| format!("error converting supplied value for ip_version: {}", e));
55015+
self
55016+
}
5498155017
pub fn is_default<T>(mut self, value: T) -> Self
5498255018
where
5498355019
T: ::std::convert::TryInto<bool>,
@@ -54998,6 +55034,16 @@ pub mod types {
5499855034
.map_err(|e| format!("error converting supplied value for name: {}", e));
5499955035
self
5500055036
}
55037+
pub fn pool_type<T>(mut self, value: T) -> Self
55038+
where
55039+
T: ::std::convert::TryInto<super::IpPoolType>,
55040+
T::Error: ::std::fmt::Display,
55041+
{
55042+
self.pool_type = value
55043+
.try_into()
55044+
.map_err(|e| format!("error converting supplied value for pool_type: {}", e));
55045+
self
55046+
}
5500155047
pub fn time_created<T>(mut self, value: T) -> Self
5500255048
where
5500355049
T: ::std::convert::TryInto<::chrono::DateTime<::chrono::offset::Utc>>,
@@ -55028,8 +55074,10 @@ pub mod types {
5502855074
Ok(Self {
5502955075
description: value.description?,
5503055076
id: value.id?,
55077+
ip_version: value.ip_version?,
5503155078
is_default: value.is_default?,
5503255079
name: value.name?,
55080+
pool_type: value.pool_type?,
5503355081
time_created: value.time_created?,
5503455082
time_modified: value.time_modified?,
5503555083
})
@@ -55041,8 +55089,10 @@ pub mod types {
5504155089
Self {
5504255090
description: Ok(value.description),
5504355091
id: Ok(value.id),
55092+
ip_version: Ok(value.ip_version),
5504455093
is_default: Ok(value.is_default),
5504555094
name: Ok(value.name),
55095+
pool_type: Ok(value.pool_type),
5504655096
time_created: Ok(value.time_created),
5504755097
time_modified: Ok(value.time_modified),
5504855098
}
@@ -63407,7 +63457,7 @@ pub mod types {
6340763457
///
6340863458
/// API for interacting with the Oxide control plane
6340963459
///
63410-
/// Version: 2025122300.0.0
63460+
/// Version: 2026010100.0.0
6341163461
pub struct Client {
6341263462
pub(crate) baseurl: String,
6341363463
pub(crate) client: reqwest::Client,
@@ -63448,7 +63498,7 @@ impl Client {
6344863498

6344963499
impl ClientInfo<()> for Client {
6345063500
fn api_version() -> &'static str {
63451-
"2025122300.0.0"
63501+
"2026010100.0.0"
6345263502
}
6345363503

6345463504
fn baseurl(&self) -> &str {

0 commit comments

Comments
 (0)