daytona_api_client 0.171.0 → 0.172.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7252340c47ba14b29f6a1acf8aa89acf61ce856388bd33e5ab2a2f10d87c013
|
|
4
|
+
data.tar.gz: 90ddc6bf8f2b17454f57054919fbb249409cd0114a52acd64b9cc0c72bdeca85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd395d004570985eae8afe60e831d55f6b1acf769388097a55464c2f94c0737f7e070106539b078fddceb64dd464bd1c2d0e3bbc004665349f0e21bcc901408c
|
|
7
|
+
data.tar.gz: 791c3007712c476d6e23e8b7b577ee9fa4f10037363fe7138b0c47cbd3a0c742d85f10acd5758d4aa7317468f1961c2058c221b1499d33cd0425aa09533d68e8
|
|
@@ -607,6 +607,65 @@ module DaytonaApiClient
|
|
|
607
607
|
return data, status_code, headers
|
|
608
608
|
end
|
|
609
609
|
|
|
610
|
+
# Delete organization OpenTelemetry configuration
|
|
611
|
+
# @param organization_id [String] Organization ID
|
|
612
|
+
# @param [Hash] opts the optional parameters
|
|
613
|
+
# @return [nil]
|
|
614
|
+
def delete_organization_otel_config(organization_id, opts = {})
|
|
615
|
+
delete_organization_otel_config_with_http_info(organization_id, opts)
|
|
616
|
+
nil
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
# Delete organization OpenTelemetry configuration
|
|
620
|
+
# @param organization_id [String] Organization ID
|
|
621
|
+
# @param [Hash] opts the optional parameters
|
|
622
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
623
|
+
def delete_organization_otel_config_with_http_info(organization_id, opts = {})
|
|
624
|
+
if @api_client.config.debugging
|
|
625
|
+
@api_client.config.logger.debug 'Calling API: OrganizationsApi.delete_organization_otel_config ...'
|
|
626
|
+
end
|
|
627
|
+
# verify the required parameter 'organization_id' is set
|
|
628
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
629
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.delete_organization_otel_config"
|
|
630
|
+
end
|
|
631
|
+
# resource path
|
|
632
|
+
local_var_path = '/organizations/{organizationId}/otel-config'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s))
|
|
633
|
+
|
|
634
|
+
# query parameters
|
|
635
|
+
query_params = opts[:query_params] || {}
|
|
636
|
+
|
|
637
|
+
# header parameters
|
|
638
|
+
header_params = opts[:header_params] || {}
|
|
639
|
+
|
|
640
|
+
# form parameters
|
|
641
|
+
form_params = opts[:form_params] || {}
|
|
642
|
+
|
|
643
|
+
# http body (model)
|
|
644
|
+
post_body = opts[:debug_body]
|
|
645
|
+
|
|
646
|
+
# return_type
|
|
647
|
+
return_type = opts[:debug_return_type]
|
|
648
|
+
|
|
649
|
+
# auth_names
|
|
650
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
651
|
+
|
|
652
|
+
new_options = opts.merge(
|
|
653
|
+
:operation => :"OrganizationsApi.delete_organization_otel_config",
|
|
654
|
+
:header_params => header_params,
|
|
655
|
+
:query_params => query_params,
|
|
656
|
+
:form_params => form_params,
|
|
657
|
+
:body => post_body,
|
|
658
|
+
:auth_names => auth_names,
|
|
659
|
+
:return_type => return_type
|
|
660
|
+
)
|
|
661
|
+
|
|
662
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
663
|
+
if @api_client.config.debugging
|
|
664
|
+
@api_client.config.logger.debug "API called: OrganizationsApi#delete_organization_otel_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
665
|
+
end
|
|
666
|
+
return data, status_code, headers
|
|
667
|
+
end
|
|
668
|
+
|
|
610
669
|
# Delete organization role
|
|
611
670
|
# @param organization_id [String] Organization ID
|
|
612
671
|
# @param role_id [String] Role ID
|
|
@@ -2116,6 +2175,76 @@ module DaytonaApiClient
|
|
|
2116
2175
|
return data, status_code, headers
|
|
2117
2176
|
end
|
|
2118
2177
|
|
|
2178
|
+
# Update organization OpenTelemetry configuration
|
|
2179
|
+
# @param organization_id [String] Organization ID
|
|
2180
|
+
# @param otel_config [OtelConfig]
|
|
2181
|
+
# @param [Hash] opts the optional parameters
|
|
2182
|
+
# @return [nil]
|
|
2183
|
+
def update_organization_otel_config(organization_id, otel_config, opts = {})
|
|
2184
|
+
update_organization_otel_config_with_http_info(organization_id, otel_config, opts)
|
|
2185
|
+
nil
|
|
2186
|
+
end
|
|
2187
|
+
|
|
2188
|
+
# Update organization OpenTelemetry configuration
|
|
2189
|
+
# @param organization_id [String] Organization ID
|
|
2190
|
+
# @param otel_config [OtelConfig]
|
|
2191
|
+
# @param [Hash] opts the optional parameters
|
|
2192
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2193
|
+
def update_organization_otel_config_with_http_info(organization_id, otel_config, opts = {})
|
|
2194
|
+
if @api_client.config.debugging
|
|
2195
|
+
@api_client.config.logger.debug 'Calling API: OrganizationsApi.update_organization_otel_config ...'
|
|
2196
|
+
end
|
|
2197
|
+
# verify the required parameter 'organization_id' is set
|
|
2198
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
2199
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.update_organization_otel_config"
|
|
2200
|
+
end
|
|
2201
|
+
# verify the required parameter 'otel_config' is set
|
|
2202
|
+
if @api_client.config.client_side_validation && otel_config.nil?
|
|
2203
|
+
fail ArgumentError, "Missing the required parameter 'otel_config' when calling OrganizationsApi.update_organization_otel_config"
|
|
2204
|
+
end
|
|
2205
|
+
# resource path
|
|
2206
|
+
local_var_path = '/organizations/{organizationId}/otel-config'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s))
|
|
2207
|
+
|
|
2208
|
+
# query parameters
|
|
2209
|
+
query_params = opts[:query_params] || {}
|
|
2210
|
+
|
|
2211
|
+
# header parameters
|
|
2212
|
+
header_params = opts[:header_params] || {}
|
|
2213
|
+
# HTTP header 'Content-Type'
|
|
2214
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2215
|
+
if !content_type.nil?
|
|
2216
|
+
header_params['Content-Type'] = content_type
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
# form parameters
|
|
2220
|
+
form_params = opts[:form_params] || {}
|
|
2221
|
+
|
|
2222
|
+
# http body (model)
|
|
2223
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(otel_config)
|
|
2224
|
+
|
|
2225
|
+
# return_type
|
|
2226
|
+
return_type = opts[:debug_return_type]
|
|
2227
|
+
|
|
2228
|
+
# auth_names
|
|
2229
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
2230
|
+
|
|
2231
|
+
new_options = opts.merge(
|
|
2232
|
+
:operation => :"OrganizationsApi.update_organization_otel_config",
|
|
2233
|
+
:header_params => header_params,
|
|
2234
|
+
:query_params => query_params,
|
|
2235
|
+
:form_params => form_params,
|
|
2236
|
+
:body => post_body,
|
|
2237
|
+
:auth_names => auth_names,
|
|
2238
|
+
:return_type => return_type
|
|
2239
|
+
)
|
|
2240
|
+
|
|
2241
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2242
|
+
if @api_client.config.debugging
|
|
2243
|
+
@api_client.config.logger.debug "API called: OrganizationsApi#update_organization_otel_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2244
|
+
end
|
|
2245
|
+
return data, status_code, headers
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2119
2248
|
# Update organization quota
|
|
2120
2249
|
# @param organization_id [String] Organization ID
|
|
2121
2250
|
# @param update_organization_quota [UpdateOrganizationQuota]
|
|
@@ -78,6 +78,9 @@ module DaytonaApiClient
|
|
|
78
78
|
# Experimental configuration
|
|
79
79
|
attr_accessor :experimental_config
|
|
80
80
|
|
|
81
|
+
# OpenTelemetry collection configuration
|
|
82
|
+
attr_accessor :otel_config
|
|
83
|
+
|
|
81
84
|
# Authenticated rate limit TTL in seconds
|
|
82
85
|
attr_accessor :authenticated_rate_limit_ttl_seconds
|
|
83
86
|
|
|
@@ -111,6 +114,7 @@ module DaytonaApiClient
|
|
|
111
114
|
:'sandbox_create_rate_limit' => :'sandboxCreateRateLimit',
|
|
112
115
|
:'sandbox_lifecycle_rate_limit' => :'sandboxLifecycleRateLimit',
|
|
113
116
|
:'experimental_config' => :'experimentalConfig',
|
|
117
|
+
:'otel_config' => :'otelConfig',
|
|
114
118
|
:'authenticated_rate_limit_ttl_seconds' => :'authenticatedRateLimitTtlSeconds',
|
|
115
119
|
:'sandbox_create_rate_limit_ttl_seconds' => :'sandboxCreateRateLimitTtlSeconds',
|
|
116
120
|
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'sandboxLifecycleRateLimitTtlSeconds'
|
|
@@ -151,6 +155,7 @@ module DaytonaApiClient
|
|
|
151
155
|
:'sandbox_create_rate_limit' => :'Float',
|
|
152
156
|
:'sandbox_lifecycle_rate_limit' => :'Float',
|
|
153
157
|
:'experimental_config' => :'Object',
|
|
158
|
+
:'otel_config' => :'OtelConfig',
|
|
154
159
|
:'authenticated_rate_limit_ttl_seconds' => :'Float',
|
|
155
160
|
:'sandbox_create_rate_limit_ttl_seconds' => :'Float',
|
|
156
161
|
:'sandbox_lifecycle_rate_limit_ttl_seconds' => :'Float'
|
|
@@ -163,6 +168,7 @@ module DaytonaApiClient
|
|
|
163
168
|
:'authenticated_rate_limit',
|
|
164
169
|
:'sandbox_create_rate_limit',
|
|
165
170
|
:'sandbox_lifecycle_rate_limit',
|
|
171
|
+
:'otel_config',
|
|
166
172
|
:'authenticated_rate_limit_ttl_seconds',
|
|
167
173
|
:'sandbox_create_rate_limit_ttl_seconds',
|
|
168
174
|
:'sandbox_lifecycle_rate_limit_ttl_seconds'
|
|
@@ -309,6 +315,12 @@ module DaytonaApiClient
|
|
|
309
315
|
self.experimental_config = nil
|
|
310
316
|
end
|
|
311
317
|
|
|
318
|
+
if attributes.key?(:'otel_config')
|
|
319
|
+
self.otel_config = attributes[:'otel_config']
|
|
320
|
+
else
|
|
321
|
+
self.otel_config = nil
|
|
322
|
+
end
|
|
323
|
+
|
|
312
324
|
if attributes.key?(:'authenticated_rate_limit_ttl_seconds')
|
|
313
325
|
self.authenticated_rate_limit_ttl_seconds = attributes[:'authenticated_rate_limit_ttl_seconds']
|
|
314
326
|
else
|
|
@@ -624,6 +636,7 @@ module DaytonaApiClient
|
|
|
624
636
|
sandbox_create_rate_limit == o.sandbox_create_rate_limit &&
|
|
625
637
|
sandbox_lifecycle_rate_limit == o.sandbox_lifecycle_rate_limit &&
|
|
626
638
|
experimental_config == o.experimental_config &&
|
|
639
|
+
otel_config == o.otel_config &&
|
|
627
640
|
authenticated_rate_limit_ttl_seconds == o.authenticated_rate_limit_ttl_seconds &&
|
|
628
641
|
sandbox_create_rate_limit_ttl_seconds == o.sandbox_create_rate_limit_ttl_seconds &&
|
|
629
642
|
sandbox_lifecycle_rate_limit_ttl_seconds == o.sandbox_lifecycle_rate_limit_ttl_seconds
|
|
@@ -638,7 +651,7 @@ module DaytonaApiClient
|
|
|
638
651
|
# Calculates hash code according to all attributes.
|
|
639
652
|
# @return [Integer] Hash code
|
|
640
653
|
def hash
|
|
641
|
-
[id, name, created_by, personal, created_at, updated_at, suspended, suspended_at, suspension_reason, suspended_until, suspension_cleanup_grace_period_hours, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_deactivation_timeout_minutes, sandbox_limited_network_egress, default_region_id, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, experimental_config, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds].hash
|
|
654
|
+
[id, name, created_by, personal, created_at, updated_at, suspended, suspended_at, suspension_reason, suspended_until, suspension_cleanup_grace_period_hours, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_deactivation_timeout_minutes, sandbox_limited_network_egress, default_region_id, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, experimental_config, otel_config, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds].hash
|
|
642
655
|
end
|
|
643
656
|
|
|
644
657
|
# Builds the object from hash
|