daytona_api_client 0.182.0 → 0.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.openapi-generator/FILES +1 -0
- data/lib/daytona_api_client/api/admin_api.rb +298 -0
- data/lib/daytona_api_client/api/sandbox_api.rb +3 -0
- data/lib/daytona_api_client/models/create_organization_region_quota.rb +360 -0
- data/lib/daytona_api_client/models/create_sandbox.rb +13 -47
- data/lib/daytona_api_client/models/create_snapshot.rb +36 -4
- data/lib/daytona_api_client/models/region_quota.rb +49 -1
- data/lib/daytona_api_client/models/region_usage_overview.rb +49 -1
- data/lib/daytona_api_client/models/runner.rb +8 -25
- data/lib/daytona_api_client/models/runner_full.rb +8 -25
- data/lib/daytona_api_client/models/sandbox.rb +25 -15
- data/lib/daytona_api_client/models/sandbox_class.rb +4 -4
- data/lib/daytona_api_client/models/sandbox_list_item.rb +2 -2
- data/lib/daytona_api_client/models/snapshot_dto.rb +26 -4
- data/lib/daytona_api_client/models/update_organization_region_quota.rb +32 -1
- data/lib/daytona_api_client/version.rb +1 -1
- data/lib/daytona_api_client.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da30964da694521d23dde79a4dfc52507fcf2eaaa0e5d779ad16e2478994ee2b
|
|
4
|
+
data.tar.gz: 2f6faab4e9e97f30a39954e2a3858366c9bb984f5b1c757678ba537e1248e880
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59f7cbcdbba7f4ad63810542dc6dd5f2e99377871c6e33595d1928a7f8f914ba125054ebfc721b3d59ba9bf48f754f8b75bf6dbe21d1f7f1a54787a883348895
|
|
7
|
+
data.tar.gz: 1c313cc190458f7353b12ac37911e6d9a5c57a45622b5a1251e49eb168aa0639d1c8721e6721e284f8ae478eabe774fbb614906b4668ec61704044bbc49f23f6
|
data/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,7 @@ lib/daytona_api_client/models/create_linked_account.rb
|
|
|
49
49
|
lib/daytona_api_client/models/create_organization.rb
|
|
50
50
|
lib/daytona_api_client/models/create_organization_invitation.rb
|
|
51
51
|
lib/daytona_api_client/models/create_organization_quota.rb
|
|
52
|
+
lib/daytona_api_client/models/create_organization_region_quota.rb
|
|
52
53
|
lib/daytona_api_client/models/create_organization_role.rb
|
|
53
54
|
lib/daytona_api_client/models/create_region.rb
|
|
54
55
|
lib/daytona_api_client/models/create_region_response.rb
|
|
@@ -81,6 +81,84 @@ module DaytonaApiClient
|
|
|
81
81
|
return data, status_code, headers
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Create organization region quota
|
|
85
|
+
# @param organization_id [String] Organization ID
|
|
86
|
+
# @param region_id [String] ID of the region the new quota applies to
|
|
87
|
+
# @param create_organization_region_quota [CreateOrganizationRegionQuota]
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @return [RegionQuota]
|
|
90
|
+
def admin_create_organization_region_quota(organization_id, region_id, create_organization_region_quota, opts = {})
|
|
91
|
+
data, _status_code, _headers = admin_create_organization_region_quota_with_http_info(organization_id, region_id, create_organization_region_quota, opts)
|
|
92
|
+
data
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Create organization region quota
|
|
96
|
+
# @param organization_id [String] Organization ID
|
|
97
|
+
# @param region_id [String] ID of the region the new quota applies to
|
|
98
|
+
# @param create_organization_region_quota [CreateOrganizationRegionQuota]
|
|
99
|
+
# @param [Hash] opts the optional parameters
|
|
100
|
+
# @return [Array<(RegionQuota, Integer, Hash)>] RegionQuota data, response status code and response headers
|
|
101
|
+
def admin_create_organization_region_quota_with_http_info(organization_id, region_id, create_organization_region_quota, opts = {})
|
|
102
|
+
if @api_client.config.debugging
|
|
103
|
+
@api_client.config.logger.debug 'Calling API: AdminApi.admin_create_organization_region_quota ...'
|
|
104
|
+
end
|
|
105
|
+
# verify the required parameter 'organization_id' is set
|
|
106
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
107
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling AdminApi.admin_create_organization_region_quota"
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'region_id' is set
|
|
110
|
+
if @api_client.config.client_side_validation && region_id.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'region_id' when calling AdminApi.admin_create_organization_region_quota"
|
|
112
|
+
end
|
|
113
|
+
# verify the required parameter 'create_organization_region_quota' is set
|
|
114
|
+
if @api_client.config.client_side_validation && create_organization_region_quota.nil?
|
|
115
|
+
fail ArgumentError, "Missing the required parameter 'create_organization_region_quota' when calling AdminApi.admin_create_organization_region_quota"
|
|
116
|
+
end
|
|
117
|
+
# resource path
|
|
118
|
+
local_var_path = '/admin/organizations/{organizationId}/quota/{regionId}'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s)).sub('{' + 'regionId' + '}', CGI.escape(region_id.to_s))
|
|
119
|
+
|
|
120
|
+
# query parameters
|
|
121
|
+
query_params = opts[:query_params] || {}
|
|
122
|
+
|
|
123
|
+
# header parameters
|
|
124
|
+
header_params = opts[:header_params] || {}
|
|
125
|
+
# HTTP header 'Accept' (if needed)
|
|
126
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
127
|
+
# HTTP header 'Content-Type'
|
|
128
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
129
|
+
if !content_type.nil?
|
|
130
|
+
header_params['Content-Type'] = content_type
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# form parameters
|
|
134
|
+
form_params = opts[:form_params] || {}
|
|
135
|
+
|
|
136
|
+
# http body (model)
|
|
137
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_organization_region_quota)
|
|
138
|
+
|
|
139
|
+
# return_type
|
|
140
|
+
return_type = opts[:debug_return_type] || 'RegionQuota'
|
|
141
|
+
|
|
142
|
+
# auth_names
|
|
143
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
144
|
+
|
|
145
|
+
new_options = opts.merge(
|
|
146
|
+
:operation => :"AdminApi.admin_create_organization_region_quota",
|
|
147
|
+
:header_params => header_params,
|
|
148
|
+
:query_params => query_params,
|
|
149
|
+
:form_params => form_params,
|
|
150
|
+
:body => post_body,
|
|
151
|
+
:auth_names => auth_names,
|
|
152
|
+
:return_type => return_type
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
156
|
+
if @api_client.config.debugging
|
|
157
|
+
@api_client.config.logger.debug "API called: AdminApi#admin_create_organization_region_quota\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
158
|
+
end
|
|
159
|
+
return data, status_code, headers
|
|
160
|
+
end
|
|
161
|
+
|
|
84
162
|
# Create runner
|
|
85
163
|
# @param admin_create_runner [AdminCreateRunner]
|
|
86
164
|
# @param [Hash] opts the optional parameters
|
|
@@ -211,6 +289,77 @@ module DaytonaApiClient
|
|
|
211
289
|
return data, status_code, headers
|
|
212
290
|
end
|
|
213
291
|
|
|
292
|
+
# Delete organization region quota
|
|
293
|
+
# @param organization_id [String] Organization ID
|
|
294
|
+
# @param region_id [String] Region ID
|
|
295
|
+
# @param sandbox_class [SandboxClass] Sandbox class
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @return [nil]
|
|
298
|
+
def admin_delete_organization_region_quota(organization_id, region_id, sandbox_class, opts = {})
|
|
299
|
+
admin_delete_organization_region_quota_with_http_info(organization_id, region_id, sandbox_class, opts)
|
|
300
|
+
nil
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Delete organization region quota
|
|
304
|
+
# @param organization_id [String] Organization ID
|
|
305
|
+
# @param region_id [String] Region ID
|
|
306
|
+
# @param sandbox_class [SandboxClass] Sandbox class
|
|
307
|
+
# @param [Hash] opts the optional parameters
|
|
308
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
309
|
+
def admin_delete_organization_region_quota_with_http_info(organization_id, region_id, sandbox_class, opts = {})
|
|
310
|
+
if @api_client.config.debugging
|
|
311
|
+
@api_client.config.logger.debug 'Calling API: AdminApi.admin_delete_organization_region_quota ...'
|
|
312
|
+
end
|
|
313
|
+
# verify the required parameter 'organization_id' is set
|
|
314
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
315
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling AdminApi.admin_delete_organization_region_quota"
|
|
316
|
+
end
|
|
317
|
+
# verify the required parameter 'region_id' is set
|
|
318
|
+
if @api_client.config.client_side_validation && region_id.nil?
|
|
319
|
+
fail ArgumentError, "Missing the required parameter 'region_id' when calling AdminApi.admin_delete_organization_region_quota"
|
|
320
|
+
end
|
|
321
|
+
# verify the required parameter 'sandbox_class' is set
|
|
322
|
+
if @api_client.config.client_side_validation && sandbox_class.nil?
|
|
323
|
+
fail ArgumentError, "Missing the required parameter 'sandbox_class' when calling AdminApi.admin_delete_organization_region_quota"
|
|
324
|
+
end
|
|
325
|
+
# resource path
|
|
326
|
+
local_var_path = '/admin/organizations/{organizationId}/quota/{regionId}/{sandboxClass}'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s)).sub('{' + 'regionId' + '}', CGI.escape(region_id.to_s)).sub('{' + 'sandboxClass' + '}', CGI.escape(sandbox_class.to_s))
|
|
327
|
+
|
|
328
|
+
# query parameters
|
|
329
|
+
query_params = opts[:query_params] || {}
|
|
330
|
+
|
|
331
|
+
# header parameters
|
|
332
|
+
header_params = opts[:header_params] || {}
|
|
333
|
+
|
|
334
|
+
# form parameters
|
|
335
|
+
form_params = opts[:form_params] || {}
|
|
336
|
+
|
|
337
|
+
# http body (model)
|
|
338
|
+
post_body = opts[:debug_body]
|
|
339
|
+
|
|
340
|
+
# return_type
|
|
341
|
+
return_type = opts[:debug_return_type]
|
|
342
|
+
|
|
343
|
+
# auth_names
|
|
344
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
345
|
+
|
|
346
|
+
new_options = opts.merge(
|
|
347
|
+
:operation => :"AdminApi.admin_delete_organization_region_quota",
|
|
348
|
+
:header_params => header_params,
|
|
349
|
+
:query_params => query_params,
|
|
350
|
+
:form_params => form_params,
|
|
351
|
+
:body => post_body,
|
|
352
|
+
:auth_names => auth_names,
|
|
353
|
+
:return_type => return_type
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
357
|
+
if @api_client.config.debugging
|
|
358
|
+
@api_client.config.logger.debug "API called: AdminApi#admin_delete_organization_region_quota\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
359
|
+
end
|
|
360
|
+
return data, status_code, headers
|
|
361
|
+
end
|
|
362
|
+
|
|
214
363
|
# Delete runner
|
|
215
364
|
# @param id [String] Runner ID
|
|
216
365
|
# @param [Hash] opts the optional parameters
|
|
@@ -419,6 +568,79 @@ module DaytonaApiClient
|
|
|
419
568
|
return data, status_code, headers
|
|
420
569
|
end
|
|
421
570
|
|
|
571
|
+
# Get organization region quota
|
|
572
|
+
# @param organization_id [String] Organization ID
|
|
573
|
+
# @param region_id [String] Region ID
|
|
574
|
+
# @param sandbox_class [SandboxClass] Sandbox class
|
|
575
|
+
# @param [Hash] opts the optional parameters
|
|
576
|
+
# @return [RegionQuota]
|
|
577
|
+
def admin_get_organization_region_quota(organization_id, region_id, sandbox_class, opts = {})
|
|
578
|
+
data, _status_code, _headers = admin_get_organization_region_quota_with_http_info(organization_id, region_id, sandbox_class, opts)
|
|
579
|
+
data
|
|
580
|
+
end
|
|
581
|
+
|
|
582
|
+
# Get organization region quota
|
|
583
|
+
# @param organization_id [String] Organization ID
|
|
584
|
+
# @param region_id [String] Region ID
|
|
585
|
+
# @param sandbox_class [SandboxClass] Sandbox class
|
|
586
|
+
# @param [Hash] opts the optional parameters
|
|
587
|
+
# @return [Array<(RegionQuota, Integer, Hash)>] RegionQuota data, response status code and response headers
|
|
588
|
+
def admin_get_organization_region_quota_with_http_info(organization_id, region_id, sandbox_class, opts = {})
|
|
589
|
+
if @api_client.config.debugging
|
|
590
|
+
@api_client.config.logger.debug 'Calling API: AdminApi.admin_get_organization_region_quota ...'
|
|
591
|
+
end
|
|
592
|
+
# verify the required parameter 'organization_id' is set
|
|
593
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
594
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling AdminApi.admin_get_organization_region_quota"
|
|
595
|
+
end
|
|
596
|
+
# verify the required parameter 'region_id' is set
|
|
597
|
+
if @api_client.config.client_side_validation && region_id.nil?
|
|
598
|
+
fail ArgumentError, "Missing the required parameter 'region_id' when calling AdminApi.admin_get_organization_region_quota"
|
|
599
|
+
end
|
|
600
|
+
# verify the required parameter 'sandbox_class' is set
|
|
601
|
+
if @api_client.config.client_side_validation && sandbox_class.nil?
|
|
602
|
+
fail ArgumentError, "Missing the required parameter 'sandbox_class' when calling AdminApi.admin_get_organization_region_quota"
|
|
603
|
+
end
|
|
604
|
+
# resource path
|
|
605
|
+
local_var_path = '/admin/organizations/{organizationId}/quota/{regionId}/{sandboxClass}'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s)).sub('{' + 'regionId' + '}', CGI.escape(region_id.to_s)).sub('{' + 'sandboxClass' + '}', CGI.escape(sandbox_class.to_s))
|
|
606
|
+
|
|
607
|
+
# query parameters
|
|
608
|
+
query_params = opts[:query_params] || {}
|
|
609
|
+
|
|
610
|
+
# header parameters
|
|
611
|
+
header_params = opts[:header_params] || {}
|
|
612
|
+
# HTTP header 'Accept' (if needed)
|
|
613
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
614
|
+
|
|
615
|
+
# form parameters
|
|
616
|
+
form_params = opts[:form_params] || {}
|
|
617
|
+
|
|
618
|
+
# http body (model)
|
|
619
|
+
post_body = opts[:debug_body]
|
|
620
|
+
|
|
621
|
+
# return_type
|
|
622
|
+
return_type = opts[:debug_return_type] || 'RegionQuota'
|
|
623
|
+
|
|
624
|
+
# auth_names
|
|
625
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
626
|
+
|
|
627
|
+
new_options = opts.merge(
|
|
628
|
+
:operation => :"AdminApi.admin_get_organization_region_quota",
|
|
629
|
+
:header_params => header_params,
|
|
630
|
+
:query_params => query_params,
|
|
631
|
+
:form_params => form_params,
|
|
632
|
+
:body => post_body,
|
|
633
|
+
:auth_names => auth_names,
|
|
634
|
+
:return_type => return_type
|
|
635
|
+
)
|
|
636
|
+
|
|
637
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
638
|
+
if @api_client.config.debugging
|
|
639
|
+
@api_client.config.logger.debug "API called: AdminApi#admin_get_organization_region_quota\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
640
|
+
end
|
|
641
|
+
return data, status_code, headers
|
|
642
|
+
end
|
|
643
|
+
|
|
422
644
|
# Get runner by ID
|
|
423
645
|
# @param id [String] Runner ID
|
|
424
646
|
# @param [Hash] opts the optional parameters
|
|
@@ -1089,6 +1311,82 @@ module DaytonaApiClient
|
|
|
1089
1311
|
return data, status_code, headers
|
|
1090
1312
|
end
|
|
1091
1313
|
|
|
1314
|
+
# Update organization region quota
|
|
1315
|
+
# @param organization_id [String] Organization ID
|
|
1316
|
+
# @param region_id [String] Region ID
|
|
1317
|
+
# @param update_organization_region_quota [UpdateOrganizationRegionQuota]
|
|
1318
|
+
# @param [Hash] opts the optional parameters
|
|
1319
|
+
# @return [nil]
|
|
1320
|
+
def admin_update_organization_region_quota(organization_id, region_id, update_organization_region_quota, opts = {})
|
|
1321
|
+
admin_update_organization_region_quota_with_http_info(organization_id, region_id, update_organization_region_quota, opts)
|
|
1322
|
+
nil
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
# Update organization region quota
|
|
1326
|
+
# @param organization_id [String] Organization ID
|
|
1327
|
+
# @param region_id [String] Region ID
|
|
1328
|
+
# @param update_organization_region_quota [UpdateOrganizationRegionQuota]
|
|
1329
|
+
# @param [Hash] opts the optional parameters
|
|
1330
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1331
|
+
def admin_update_organization_region_quota_with_http_info(organization_id, region_id, update_organization_region_quota, opts = {})
|
|
1332
|
+
if @api_client.config.debugging
|
|
1333
|
+
@api_client.config.logger.debug 'Calling API: AdminApi.admin_update_organization_region_quota ...'
|
|
1334
|
+
end
|
|
1335
|
+
# verify the required parameter 'organization_id' is set
|
|
1336
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
1337
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling AdminApi.admin_update_organization_region_quota"
|
|
1338
|
+
end
|
|
1339
|
+
# verify the required parameter 'region_id' is set
|
|
1340
|
+
if @api_client.config.client_side_validation && region_id.nil?
|
|
1341
|
+
fail ArgumentError, "Missing the required parameter 'region_id' when calling AdminApi.admin_update_organization_region_quota"
|
|
1342
|
+
end
|
|
1343
|
+
# verify the required parameter 'update_organization_region_quota' is set
|
|
1344
|
+
if @api_client.config.client_side_validation && update_organization_region_quota.nil?
|
|
1345
|
+
fail ArgumentError, "Missing the required parameter 'update_organization_region_quota' when calling AdminApi.admin_update_organization_region_quota"
|
|
1346
|
+
end
|
|
1347
|
+
# resource path
|
|
1348
|
+
local_var_path = '/admin/organizations/{organizationId}/quota/{regionId}'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s)).sub('{' + 'regionId' + '}', CGI.escape(region_id.to_s))
|
|
1349
|
+
|
|
1350
|
+
# query parameters
|
|
1351
|
+
query_params = opts[:query_params] || {}
|
|
1352
|
+
|
|
1353
|
+
# header parameters
|
|
1354
|
+
header_params = opts[:header_params] || {}
|
|
1355
|
+
# HTTP header 'Content-Type'
|
|
1356
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1357
|
+
if !content_type.nil?
|
|
1358
|
+
header_params['Content-Type'] = content_type
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1361
|
+
# form parameters
|
|
1362
|
+
form_params = opts[:form_params] || {}
|
|
1363
|
+
|
|
1364
|
+
# http body (model)
|
|
1365
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_organization_region_quota)
|
|
1366
|
+
|
|
1367
|
+
# return_type
|
|
1368
|
+
return_type = opts[:debug_return_type]
|
|
1369
|
+
|
|
1370
|
+
# auth_names
|
|
1371
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
1372
|
+
|
|
1373
|
+
new_options = opts.merge(
|
|
1374
|
+
:operation => :"AdminApi.admin_update_organization_region_quota",
|
|
1375
|
+
:header_params => header_params,
|
|
1376
|
+
:query_params => query_params,
|
|
1377
|
+
:form_params => form_params,
|
|
1378
|
+
:body => post_body,
|
|
1379
|
+
:auth_names => auth_names,
|
|
1380
|
+
:return_type => return_type
|
|
1381
|
+
)
|
|
1382
|
+
|
|
1383
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
1384
|
+
if @api_client.config.debugging
|
|
1385
|
+
@api_client.config.logger.debug "API called: AdminApi#admin_update_organization_region_quota\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1386
|
+
end
|
|
1387
|
+
return data, status_code, headers
|
|
1388
|
+
end
|
|
1389
|
+
|
|
1092
1390
|
# Update runner scheduling status
|
|
1093
1391
|
# @param id [String]
|
|
1094
1392
|
# @param [Hash] opts the optional parameters
|
|
@@ -1709,6 +1709,7 @@ module DaytonaApiClient
|
|
|
1709
1709
|
# @option opts [Array<SandboxState>] :states List of states to filter by.
|
|
1710
1710
|
# @option opts [Array<String>] :snapshots List of snapshot names to filter by
|
|
1711
1711
|
# @option opts [Array<String>] :region_ids List of regions IDs to filter by
|
|
1712
|
+
# @option opts [Array<SandboxClass>] :sandbox_classes List of sandbox classes to filter by
|
|
1712
1713
|
# @option opts [Float] :min_cpu Minimum CPU
|
|
1713
1714
|
# @option opts [Float] :max_cpu Maximum CPU
|
|
1714
1715
|
# @option opts [Float] :min_memory_gi_b Minimum memory in GiB
|
|
@@ -1742,6 +1743,7 @@ module DaytonaApiClient
|
|
|
1742
1743
|
# @option opts [Array<SandboxState>] :states List of states to filter by.
|
|
1743
1744
|
# @option opts [Array<String>] :snapshots List of snapshot names to filter by
|
|
1744
1745
|
# @option opts [Array<String>] :region_ids List of regions IDs to filter by
|
|
1746
|
+
# @option opts [Array<SandboxClass>] :sandbox_classes List of sandbox classes to filter by
|
|
1745
1747
|
# @option opts [Float] :min_cpu Minimum CPU
|
|
1746
1748
|
# @option opts [Float] :max_cpu Maximum CPU
|
|
1747
1749
|
# @option opts [Float] :min_memory_gi_b Minimum memory in GiB
|
|
@@ -1807,6 +1809,7 @@ module DaytonaApiClient
|
|
|
1807
1809
|
query_params[:'states'] = @api_client.build_collection_param(opts[:'states'], :multi) if !opts[:'states'].nil?
|
|
1808
1810
|
query_params[:'snapshots'] = @api_client.build_collection_param(opts[:'snapshots'], :multi) if !opts[:'snapshots'].nil?
|
|
1809
1811
|
query_params[:'regionIds'] = @api_client.build_collection_param(opts[:'region_ids'], :multi) if !opts[:'region_ids'].nil?
|
|
1812
|
+
query_params[:'sandboxClasses'] = @api_client.build_collection_param(opts[:'sandbox_classes'], :multi) if !opts[:'sandbox_classes'].nil?
|
|
1810
1813
|
query_params[:'minCpu'] = opts[:'min_cpu'] if !opts[:'min_cpu'].nil?
|
|
1811
1814
|
query_params[:'maxCpu'] = opts[:'max_cpu'] if !opts[:'max_cpu'].nil?
|
|
1812
1815
|
query_params[:'minMemoryGiB'] = opts[:'min_memory_gi_b'] if !opts[:'min_memory_gi_b'].nil?
|