akeyless 3.0.1 → 3.1.1
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/README.md +36 -3
- data/docs/AttributeTypeAndValue.md +20 -0
- data/docs/CertificateChainInfo.md +22 -0
- data/docs/CertificateExpirationEvent.md +18 -0
- data/docs/CertificateInfo.md +62 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateCertificate.md +38 -0
- data/docs/CreateCertificateOutput.md +18 -0
- data/docs/CreateEventForwarder.md +48 -0
- data/docs/CreateEventForwarderOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DeleteEventForwarder.md +24 -0
- data/docs/EmailEntry.md +20 -0
- data/docs/Extension.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateTlsCert.md +26 -0
- data/docs/GatewayUpdateTlsCertOutput.md +18 -0
- data/docs/GetCertificateValue.md +26 -0
- data/docs/GetCertificateValueOutput.md +20 -0
- data/docs/GetEventForwarder.md +24 -0
- data/docs/GetEventForwarderOutput.md +18 -0
- data/docs/Item.md +4 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListSRABastions.md +2 -0
- data/docs/ListSharedItems.md +24 -0
- data/docs/Name.md +28 -0
- data/docs/NotiForwarder.md +56 -0
- data/docs/RequestAccess.md +28 -0
- data/docs/RequestAccessOutput.md +18 -0
- data/docs/RotateKey.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/UpdateCertificateOutput.md +18 -0
- data/docs/UpdateCertificateValue.md +32 -0
- data/docs/UpdateEventForwarder.md +40 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +631 -65
- data/lib/akeyless/api/v2_api.rb +664 -88
- data/lib/akeyless/api_error.rb +1 -0
- data/lib/akeyless/configuration.rb +11 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +231 -0
- data/lib/akeyless/models/certificate_chain_info.rb +241 -0
- data/lib/akeyless/models/certificate_expiration_event.rb +219 -0
- data/lib/akeyless/models/certificate_info.rb +434 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_certificate.rb +329 -0
- data/lib/akeyless/models/create_certificate_output.rb +219 -0
- data/lib/akeyless/models/create_event_forwarder.rb +394 -0
- data/lib/akeyless/models/create_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_event_forwarder.rb +255 -0
- data/lib/akeyless/models/email_entry.rb +228 -0
- data/lib/akeyless/models/extension.rb +237 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_tls_cert.rb +261 -0
- data/lib/akeyless/models/gateway_update_tls_cert_output.rb +219 -0
- data/lib/akeyless/models/get_certificate_value.rb +265 -0
- data/lib/akeyless/models/get_certificate_value_output.rb +228 -0
- data/lib/akeyless/models/get_event_forwarder.rb +255 -0
- data/lib/akeyless/models/get_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/item.rb +19 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_shared_items.rb +253 -0
- data/lib/akeyless/models/list_sra_bastions.rb +10 -1
- data/lib/akeyless/models/name.rb +277 -0
- data/lib/akeyless/models/noti_forwarder.rb +400 -0
- data/lib/akeyless/models/request_access.rb +282 -0
- data/lib/akeyless/models/request_access_output.rb +219 -0
- data/lib/akeyless/models/rotate_key.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/update_certificate_output.rb +219 -0
- data/lib/akeyless/models/update_certificate_value.rb +297 -0
- data/lib/akeyless/models/update_event_forwarder.rb +341 -0
- data/lib/akeyless/models/update_rotated_secret.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +25 -1
- data/spec/models/attribute_type_and_value_spec.rb +40 -0
- data/spec/models/certificate_chain_info_spec.rb +46 -0
- data/spec/models/certificate_expiration_event_spec.rb +34 -0
- data/spec/models/certificate_info_spec.rb +166 -0
- data/spec/models/create_certificate_output_spec.rb +34 -0
- data/spec/models/create_certificate_spec.rb +94 -0
- data/spec/models/create_event_forwarder_output_spec.rb +34 -0
- data/spec/models/create_event_forwarder_spec.rb +124 -0
- data/spec/models/delete_event_forwarder_spec.rb +52 -0
- data/spec/models/email_entry_spec.rb +40 -0
- data/spec/models/extension_spec.rb +46 -0
- data/spec/models/gateway_update_tls_cert_output_spec.rb +34 -0
- data/spec/models/gateway_update_tls_cert_spec.rb +58 -0
- data/spec/models/get_certificate_value_output_spec.rb +40 -0
- data/spec/models/get_certificate_value_spec.rb +58 -0
- data/spec/models/get_event_forwarder_output_spec.rb +34 -0
- data/spec/models/get_event_forwarder_spec.rb +52 -0
- data/spec/models/list_shared_items_spec.rb +52 -0
- data/spec/models/name_spec.rb +64 -0
- data/spec/models/noti_forwarder_spec.rb +148 -0
- data/spec/models/request_access_output_spec.rb +34 -0
- data/spec/models/request_access_spec.rb +64 -0
- data/spec/models/update_certificate_output_spec.rb +34 -0
- data/spec/models/update_certificate_value_spec.rb +76 -0
- data/spec/models/update_event_forwarder_spec.rb +100 -0
- metadata +630 -530
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -1299,6 +1299,70 @@ module Akeyless
|
|
|
1299
1299
|
return data, status_code, headers
|
|
1300
1300
|
end
|
|
1301
1301
|
|
|
1302
|
+
# @param body [CreateCertificate]
|
|
1303
|
+
# @param [Hash] opts the optional parameters
|
|
1304
|
+
# @return [CreateCertificateOutput]
|
|
1305
|
+
def create_certificate(body, opts = {})
|
|
1306
|
+
data, _status_code, _headers = create_certificate_with_http_info(body, opts)
|
|
1307
|
+
data
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# @param body [CreateCertificate]
|
|
1311
|
+
# @param [Hash] opts the optional parameters
|
|
1312
|
+
# @return [Array<(CreateCertificateOutput, Integer, Hash)>] CreateCertificateOutput data, response status code and response headers
|
|
1313
|
+
def create_certificate_with_http_info(body, opts = {})
|
|
1314
|
+
if @api_client.config.debugging
|
|
1315
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_certificate ...'
|
|
1316
|
+
end
|
|
1317
|
+
# verify the required parameter 'body' is set
|
|
1318
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1319
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_certificate"
|
|
1320
|
+
end
|
|
1321
|
+
# resource path
|
|
1322
|
+
local_var_path = '/create-certificate'
|
|
1323
|
+
|
|
1324
|
+
# query parameters
|
|
1325
|
+
query_params = opts[:query_params] || {}
|
|
1326
|
+
|
|
1327
|
+
# header parameters
|
|
1328
|
+
header_params = opts[:header_params] || {}
|
|
1329
|
+
# HTTP header 'Accept' (if needed)
|
|
1330
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1331
|
+
# HTTP header 'Content-Type'
|
|
1332
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1333
|
+
if !content_type.nil?
|
|
1334
|
+
header_params['Content-Type'] = content_type
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
# form parameters
|
|
1338
|
+
form_params = opts[:form_params] || {}
|
|
1339
|
+
|
|
1340
|
+
# http body (model)
|
|
1341
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1342
|
+
|
|
1343
|
+
# return_type
|
|
1344
|
+
return_type = opts[:debug_return_type] || 'CreateCertificateOutput'
|
|
1345
|
+
|
|
1346
|
+
# auth_names
|
|
1347
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1348
|
+
|
|
1349
|
+
new_options = opts.merge(
|
|
1350
|
+
:operation => :"V2Api.create_certificate",
|
|
1351
|
+
:header_params => header_params,
|
|
1352
|
+
:query_params => query_params,
|
|
1353
|
+
:form_params => form_params,
|
|
1354
|
+
:body => post_body,
|
|
1355
|
+
:auth_names => auth_names,
|
|
1356
|
+
:return_type => return_type
|
|
1357
|
+
)
|
|
1358
|
+
|
|
1359
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1360
|
+
if @api_client.config.debugging
|
|
1361
|
+
@api_client.config.logger.debug "API called: V2Api#create_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1362
|
+
end
|
|
1363
|
+
return data, status_code, headers
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1302
1366
|
# @param body [CreateClassicKey]
|
|
1303
1367
|
# @param [Hash] opts the optional parameters
|
|
1304
1368
|
# @return [CreateClassicKeyOutput]
|
|
@@ -1683,6 +1747,70 @@ module Akeyless
|
|
|
1683
1747
|
return data, status_code, headers
|
|
1684
1748
|
end
|
|
1685
1749
|
|
|
1750
|
+
# @param body [CreateEventForwarder]
|
|
1751
|
+
# @param [Hash] opts the optional parameters
|
|
1752
|
+
# @return [CreateEventForwarderOutput]
|
|
1753
|
+
def create_event_forwarder(body, opts = {})
|
|
1754
|
+
data, _status_code, _headers = create_event_forwarder_with_http_info(body, opts)
|
|
1755
|
+
data
|
|
1756
|
+
end
|
|
1757
|
+
|
|
1758
|
+
# @param body [CreateEventForwarder]
|
|
1759
|
+
# @param [Hash] opts the optional parameters
|
|
1760
|
+
# @return [Array<(CreateEventForwarderOutput, Integer, Hash)>] CreateEventForwarderOutput data, response status code and response headers
|
|
1761
|
+
def create_event_forwarder_with_http_info(body, opts = {})
|
|
1762
|
+
if @api_client.config.debugging
|
|
1763
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_event_forwarder ...'
|
|
1764
|
+
end
|
|
1765
|
+
# verify the required parameter 'body' is set
|
|
1766
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1767
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_event_forwarder"
|
|
1768
|
+
end
|
|
1769
|
+
# resource path
|
|
1770
|
+
local_var_path = '/create-event-forwarder'
|
|
1771
|
+
|
|
1772
|
+
# query parameters
|
|
1773
|
+
query_params = opts[:query_params] || {}
|
|
1774
|
+
|
|
1775
|
+
# header parameters
|
|
1776
|
+
header_params = opts[:header_params] || {}
|
|
1777
|
+
# HTTP header 'Accept' (if needed)
|
|
1778
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1779
|
+
# HTTP header 'Content-Type'
|
|
1780
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1781
|
+
if !content_type.nil?
|
|
1782
|
+
header_params['Content-Type'] = content_type
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# form parameters
|
|
1786
|
+
form_params = opts[:form_params] || {}
|
|
1787
|
+
|
|
1788
|
+
# http body (model)
|
|
1789
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1790
|
+
|
|
1791
|
+
# return_type
|
|
1792
|
+
return_type = opts[:debug_return_type] || 'CreateEventForwarderOutput'
|
|
1793
|
+
|
|
1794
|
+
# auth_names
|
|
1795
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1796
|
+
|
|
1797
|
+
new_options = opts.merge(
|
|
1798
|
+
:operation => :"V2Api.create_event_forwarder",
|
|
1799
|
+
:header_params => header_params,
|
|
1800
|
+
:query_params => query_params,
|
|
1801
|
+
:form_params => form_params,
|
|
1802
|
+
:body => post_body,
|
|
1803
|
+
:auth_names => auth_names,
|
|
1804
|
+
:return_type => return_type
|
|
1805
|
+
)
|
|
1806
|
+
|
|
1807
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1808
|
+
if @api_client.config.debugging
|
|
1809
|
+
@api_client.config.logger.debug "API called: V2Api#create_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1810
|
+
end
|
|
1811
|
+
return data, status_code, headers
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1686
1814
|
# @param body [CreateGcpTarget]
|
|
1687
1815
|
# @param [Hash] opts the optional parameters
|
|
1688
1816
|
# @return [CreateGcpTargetOutput]
|
|
@@ -3027,6 +3155,70 @@ module Akeyless
|
|
|
3027
3155
|
return data, status_code, headers
|
|
3028
3156
|
end
|
|
3029
3157
|
|
|
3158
|
+
# @param body [DeleteEventForwarder]
|
|
3159
|
+
# @param [Hash] opts the optional parameters
|
|
3160
|
+
# @return [Object]
|
|
3161
|
+
def delete_event_forwarder(body, opts = {})
|
|
3162
|
+
data, _status_code, _headers = delete_event_forwarder_with_http_info(body, opts)
|
|
3163
|
+
data
|
|
3164
|
+
end
|
|
3165
|
+
|
|
3166
|
+
# @param body [DeleteEventForwarder]
|
|
3167
|
+
# @param [Hash] opts the optional parameters
|
|
3168
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
3169
|
+
def delete_event_forwarder_with_http_info(body, opts = {})
|
|
3170
|
+
if @api_client.config.debugging
|
|
3171
|
+
@api_client.config.logger.debug 'Calling API: V2Api.delete_event_forwarder ...'
|
|
3172
|
+
end
|
|
3173
|
+
# verify the required parameter 'body' is set
|
|
3174
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
3175
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.delete_event_forwarder"
|
|
3176
|
+
end
|
|
3177
|
+
# resource path
|
|
3178
|
+
local_var_path = '/delete-event-forwarder'
|
|
3179
|
+
|
|
3180
|
+
# query parameters
|
|
3181
|
+
query_params = opts[:query_params] || {}
|
|
3182
|
+
|
|
3183
|
+
# header parameters
|
|
3184
|
+
header_params = opts[:header_params] || {}
|
|
3185
|
+
# HTTP header 'Accept' (if needed)
|
|
3186
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3187
|
+
# HTTP header 'Content-Type'
|
|
3188
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3189
|
+
if !content_type.nil?
|
|
3190
|
+
header_params['Content-Type'] = content_type
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3193
|
+
# form parameters
|
|
3194
|
+
form_params = opts[:form_params] || {}
|
|
3195
|
+
|
|
3196
|
+
# http body (model)
|
|
3197
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
3198
|
+
|
|
3199
|
+
# return_type
|
|
3200
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
3201
|
+
|
|
3202
|
+
# auth_names
|
|
3203
|
+
auth_names = opts[:debug_auth_names] || []
|
|
3204
|
+
|
|
3205
|
+
new_options = opts.merge(
|
|
3206
|
+
:operation => :"V2Api.delete_event_forwarder",
|
|
3207
|
+
:header_params => header_params,
|
|
3208
|
+
:query_params => query_params,
|
|
3209
|
+
:form_params => form_params,
|
|
3210
|
+
:body => post_body,
|
|
3211
|
+
:auth_names => auth_names,
|
|
3212
|
+
:return_type => return_type
|
|
3213
|
+
)
|
|
3214
|
+
|
|
3215
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
3216
|
+
if @api_client.config.debugging
|
|
3217
|
+
@api_client.config.logger.debug "API called: V2Api#delete_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3218
|
+
end
|
|
3219
|
+
return data, status_code, headers
|
|
3220
|
+
end
|
|
3221
|
+
|
|
3030
3222
|
# @param body [DeleteItem]
|
|
3031
3223
|
# @param [Hash] opts the optional parameters
|
|
3032
3224
|
# @return [DeleteItemOutput]
|
|
@@ -4051,70 +4243,6 @@ module Akeyless
|
|
|
4051
4243
|
return data, status_code, headers
|
|
4052
4244
|
end
|
|
4053
4245
|
|
|
4054
|
-
# @param body [GatewayAddAllowedManagementAccess]
|
|
4055
|
-
# @param [Hash] opts the optional parameters
|
|
4056
|
-
# @return [Object]
|
|
4057
|
-
def gateway_add_allowed_management_access(body, opts = {})
|
|
4058
|
-
data, _status_code, _headers = gateway_add_allowed_management_access_with_http_info(body, opts)
|
|
4059
|
-
data
|
|
4060
|
-
end
|
|
4061
|
-
|
|
4062
|
-
# @param body [GatewayAddAllowedManagementAccess]
|
|
4063
|
-
# @param [Hash] opts the optional parameters
|
|
4064
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
4065
|
-
def gateway_add_allowed_management_access_with_http_info(body, opts = {})
|
|
4066
|
-
if @api_client.config.debugging
|
|
4067
|
-
@api_client.config.logger.debug 'Calling API: V2Api.gateway_add_allowed_management_access ...'
|
|
4068
|
-
end
|
|
4069
|
-
# verify the required parameter 'body' is set
|
|
4070
|
-
if @api_client.config.client_side_validation && body.nil?
|
|
4071
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_add_allowed_management_access"
|
|
4072
|
-
end
|
|
4073
|
-
# resource path
|
|
4074
|
-
local_var_path = '/gateway-add-allow-management-access'
|
|
4075
|
-
|
|
4076
|
-
# query parameters
|
|
4077
|
-
query_params = opts[:query_params] || {}
|
|
4078
|
-
|
|
4079
|
-
# header parameters
|
|
4080
|
-
header_params = opts[:header_params] || {}
|
|
4081
|
-
# HTTP header 'Accept' (if needed)
|
|
4082
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4083
|
-
# HTTP header 'Content-Type'
|
|
4084
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
4085
|
-
if !content_type.nil?
|
|
4086
|
-
header_params['Content-Type'] = content_type
|
|
4087
|
-
end
|
|
4088
|
-
|
|
4089
|
-
# form parameters
|
|
4090
|
-
form_params = opts[:form_params] || {}
|
|
4091
|
-
|
|
4092
|
-
# http body (model)
|
|
4093
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
4094
|
-
|
|
4095
|
-
# return_type
|
|
4096
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
4097
|
-
|
|
4098
|
-
# auth_names
|
|
4099
|
-
auth_names = opts[:debug_auth_names] || []
|
|
4100
|
-
|
|
4101
|
-
new_options = opts.merge(
|
|
4102
|
-
:operation => :"V2Api.gateway_add_allowed_management_access",
|
|
4103
|
-
:header_params => header_params,
|
|
4104
|
-
:query_params => query_params,
|
|
4105
|
-
:form_params => form_params,
|
|
4106
|
-
:body => post_body,
|
|
4107
|
-
:auth_names => auth_names,
|
|
4108
|
-
:return_type => return_type
|
|
4109
|
-
)
|
|
4110
|
-
|
|
4111
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
4112
|
-
if @api_client.config.debugging
|
|
4113
|
-
@api_client.config.logger.debug "API called: V2Api#gateway_add_allowed_management_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4114
|
-
end
|
|
4115
|
-
return data, status_code, headers
|
|
4116
|
-
end
|
|
4117
|
-
|
|
4118
4246
|
# @param body [GatewayCreateK8SAuthConfig]
|
|
4119
4247
|
# @param [Hash] opts the optional parameters
|
|
4120
4248
|
# @return [GatewayCreateK8SAuthConfigOutput]
|
|
@@ -8647,27 +8775,27 @@ module Akeyless
|
|
|
8647
8775
|
return data, status_code, headers
|
|
8648
8776
|
end
|
|
8649
8777
|
|
|
8650
|
-
# @param body [
|
|
8778
|
+
# @param body [GatewayUpdateTlsCert]
|
|
8651
8779
|
# @param [Hash] opts the optional parameters
|
|
8652
|
-
# @return [
|
|
8653
|
-
def
|
|
8654
|
-
|
|
8655
|
-
|
|
8780
|
+
# @return [GatewayUpdateTlsCertOutput]
|
|
8781
|
+
def gateway_update_tls_cert(body, opts = {})
|
|
8782
|
+
data, _status_code, _headers = gateway_update_tls_cert_with_http_info(body, opts)
|
|
8783
|
+
data
|
|
8656
8784
|
end
|
|
8657
8785
|
|
|
8658
|
-
# @param body [
|
|
8786
|
+
# @param body [GatewayUpdateTlsCert]
|
|
8659
8787
|
# @param [Hash] opts the optional parameters
|
|
8660
|
-
# @return [Array<(
|
|
8661
|
-
def
|
|
8788
|
+
# @return [Array<(GatewayUpdateTlsCertOutput, Integer, Hash)>] GatewayUpdateTlsCertOutput data, response status code and response headers
|
|
8789
|
+
def gateway_update_tls_cert_with_http_info(body, opts = {})
|
|
8662
8790
|
if @api_client.config.debugging
|
|
8663
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
8791
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_tls_cert ...'
|
|
8664
8792
|
end
|
|
8665
8793
|
# verify the required parameter 'body' is set
|
|
8666
8794
|
if @api_client.config.client_side_validation && body.nil?
|
|
8667
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
8795
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_tls_cert"
|
|
8668
8796
|
end
|
|
8669
8797
|
# resource path
|
|
8670
|
-
local_var_path = '/gateway-update-
|
|
8798
|
+
local_var_path = '/gateway-update-tls-cert'
|
|
8671
8799
|
|
|
8672
8800
|
# query parameters
|
|
8673
8801
|
query_params = opts[:query_params] || {}
|
|
@@ -8689,13 +8817,13 @@ module Akeyless
|
|
|
8689
8817
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
8690
8818
|
|
|
8691
8819
|
# return_type
|
|
8692
|
-
return_type = opts[:debug_return_type]
|
|
8820
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateTlsCertOutput'
|
|
8693
8821
|
|
|
8694
8822
|
# auth_names
|
|
8695
8823
|
auth_names = opts[:debug_auth_names] || []
|
|
8696
8824
|
|
|
8697
8825
|
new_options = opts.merge(
|
|
8698
|
-
:operation => :"V2Api.
|
|
8826
|
+
:operation => :"V2Api.gateway_update_tls_cert",
|
|
8699
8827
|
:header_params => header_params,
|
|
8700
8828
|
:query_params => query_params,
|
|
8701
8829
|
:form_params => form_params,
|
|
@@ -8706,26 +8834,32 @@ module Akeyless
|
|
|
8706
8834
|
|
|
8707
8835
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
8708
8836
|
if @api_client.config.debugging
|
|
8709
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
8837
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_tls_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8710
8838
|
end
|
|
8711
8839
|
return data, status_code, headers
|
|
8712
8840
|
end
|
|
8713
8841
|
|
|
8842
|
+
# @param body [GatewayUpdateTmpUsers]
|
|
8714
8843
|
# @param [Hash] opts the optional parameters
|
|
8715
|
-
# @return [
|
|
8716
|
-
def
|
|
8717
|
-
|
|
8718
|
-
|
|
8844
|
+
# @return [nil]
|
|
8845
|
+
def gateway_update_tmp_users(body, opts = {})
|
|
8846
|
+
gateway_update_tmp_users_with_http_info(body, opts)
|
|
8847
|
+
nil
|
|
8719
8848
|
end
|
|
8720
8849
|
|
|
8850
|
+
# @param body [GatewayUpdateTmpUsers]
|
|
8721
8851
|
# @param [Hash] opts the optional parameters
|
|
8722
|
-
# @return [Array<(
|
|
8723
|
-
def
|
|
8852
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
8853
|
+
def gateway_update_tmp_users_with_http_info(body, opts = {})
|
|
8724
8854
|
if @api_client.config.debugging
|
|
8725
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
8855
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_tmp_users ...'
|
|
8856
|
+
end
|
|
8857
|
+
# verify the required parameter 'body' is set
|
|
8858
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
8859
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_tmp_users"
|
|
8726
8860
|
end
|
|
8727
8861
|
# resource path
|
|
8728
|
-
local_var_path = '/
|
|
8862
|
+
local_var_path = '/gateway-update-producer-tmp-creds'
|
|
8729
8863
|
|
|
8730
8864
|
# query parameters
|
|
8731
8865
|
query_params = opts[:query_params] || {}
|
|
@@ -8734,15 +8868,73 @@ module Akeyless
|
|
|
8734
8868
|
header_params = opts[:header_params] || {}
|
|
8735
8869
|
# HTTP header 'Accept' (if needed)
|
|
8736
8870
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
8871
|
+
# HTTP header 'Content-Type'
|
|
8872
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
8873
|
+
if !content_type.nil?
|
|
8874
|
+
header_params['Content-Type'] = content_type
|
|
8875
|
+
end
|
|
8737
8876
|
|
|
8738
8877
|
# form parameters
|
|
8739
8878
|
form_params = opts[:form_params] || {}
|
|
8740
8879
|
|
|
8741
8880
|
# http body (model)
|
|
8742
|
-
post_body = opts[:debug_body]
|
|
8881
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
8743
8882
|
|
|
8744
8883
|
# return_type
|
|
8745
|
-
return_type = opts[:debug_return_type]
|
|
8884
|
+
return_type = opts[:debug_return_type]
|
|
8885
|
+
|
|
8886
|
+
# auth_names
|
|
8887
|
+
auth_names = opts[:debug_auth_names] || []
|
|
8888
|
+
|
|
8889
|
+
new_options = opts.merge(
|
|
8890
|
+
:operation => :"V2Api.gateway_update_tmp_users",
|
|
8891
|
+
:header_params => header_params,
|
|
8892
|
+
:query_params => query_params,
|
|
8893
|
+
:form_params => form_params,
|
|
8894
|
+
:body => post_body,
|
|
8895
|
+
:auth_names => auth_names,
|
|
8896
|
+
:return_type => return_type
|
|
8897
|
+
)
|
|
8898
|
+
|
|
8899
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
8900
|
+
if @api_client.config.debugging
|
|
8901
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_tmp_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8902
|
+
end
|
|
8903
|
+
return data, status_code, headers
|
|
8904
|
+
end
|
|
8905
|
+
|
|
8906
|
+
# @param [Hash] opts the optional parameters
|
|
8907
|
+
# @return [Hash<String, String>]
|
|
8908
|
+
def get_account_logo(opts = {})
|
|
8909
|
+
data, _status_code, _headers = get_account_logo_with_http_info(opts)
|
|
8910
|
+
data
|
|
8911
|
+
end
|
|
8912
|
+
|
|
8913
|
+
# @param [Hash] opts the optional parameters
|
|
8914
|
+
# @return [Array<(Hash<String, String>, Integer, Hash)>] Hash<String, String> data, response status code and response headers
|
|
8915
|
+
def get_account_logo_with_http_info(opts = {})
|
|
8916
|
+
if @api_client.config.debugging
|
|
8917
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_account_logo ...'
|
|
8918
|
+
end
|
|
8919
|
+
# resource path
|
|
8920
|
+
local_var_path = '/get-account-logo'
|
|
8921
|
+
|
|
8922
|
+
# query parameters
|
|
8923
|
+
query_params = opts[:query_params] || {}
|
|
8924
|
+
|
|
8925
|
+
# header parameters
|
|
8926
|
+
header_params = opts[:header_params] || {}
|
|
8927
|
+
# HTTP header 'Accept' (if needed)
|
|
8928
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
8929
|
+
|
|
8930
|
+
# form parameters
|
|
8931
|
+
form_params = opts[:form_params] || {}
|
|
8932
|
+
|
|
8933
|
+
# http body (model)
|
|
8934
|
+
post_body = opts[:debug_body]
|
|
8935
|
+
|
|
8936
|
+
# return_type
|
|
8937
|
+
return_type = opts[:debug_return_type] || 'Hash<String, String>'
|
|
8746
8938
|
|
|
8747
8939
|
# auth_names
|
|
8748
8940
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -8892,6 +9084,70 @@ module Akeyless
|
|
|
8892
9084
|
return data, status_code, headers
|
|
8893
9085
|
end
|
|
8894
9086
|
|
|
9087
|
+
# @param body [GetCertificateValue]
|
|
9088
|
+
# @param [Hash] opts the optional parameters
|
|
9089
|
+
# @return [GetCertificateValueOutput]
|
|
9090
|
+
def get_certificate_value(body, opts = {})
|
|
9091
|
+
data, _status_code, _headers = get_certificate_value_with_http_info(body, opts)
|
|
9092
|
+
data
|
|
9093
|
+
end
|
|
9094
|
+
|
|
9095
|
+
# @param body [GetCertificateValue]
|
|
9096
|
+
# @param [Hash] opts the optional parameters
|
|
9097
|
+
# @return [Array<(GetCertificateValueOutput, Integer, Hash)>] GetCertificateValueOutput data, response status code and response headers
|
|
9098
|
+
def get_certificate_value_with_http_info(body, opts = {})
|
|
9099
|
+
if @api_client.config.debugging
|
|
9100
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_certificate_value ...'
|
|
9101
|
+
end
|
|
9102
|
+
# verify the required parameter 'body' is set
|
|
9103
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
9104
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_certificate_value"
|
|
9105
|
+
end
|
|
9106
|
+
# resource path
|
|
9107
|
+
local_var_path = '/get-certificate-value'
|
|
9108
|
+
|
|
9109
|
+
# query parameters
|
|
9110
|
+
query_params = opts[:query_params] || {}
|
|
9111
|
+
|
|
9112
|
+
# header parameters
|
|
9113
|
+
header_params = opts[:header_params] || {}
|
|
9114
|
+
# HTTP header 'Accept' (if needed)
|
|
9115
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
9116
|
+
# HTTP header 'Content-Type'
|
|
9117
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
9118
|
+
if !content_type.nil?
|
|
9119
|
+
header_params['Content-Type'] = content_type
|
|
9120
|
+
end
|
|
9121
|
+
|
|
9122
|
+
# form parameters
|
|
9123
|
+
form_params = opts[:form_params] || {}
|
|
9124
|
+
|
|
9125
|
+
# http body (model)
|
|
9126
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
9127
|
+
|
|
9128
|
+
# return_type
|
|
9129
|
+
return_type = opts[:debug_return_type] || 'GetCertificateValueOutput'
|
|
9130
|
+
|
|
9131
|
+
# auth_names
|
|
9132
|
+
auth_names = opts[:debug_auth_names] || []
|
|
9133
|
+
|
|
9134
|
+
new_options = opts.merge(
|
|
9135
|
+
:operation => :"V2Api.get_certificate_value",
|
|
9136
|
+
:header_params => header_params,
|
|
9137
|
+
:query_params => query_params,
|
|
9138
|
+
:form_params => form_params,
|
|
9139
|
+
:body => post_body,
|
|
9140
|
+
:auth_names => auth_names,
|
|
9141
|
+
:return_type => return_type
|
|
9142
|
+
)
|
|
9143
|
+
|
|
9144
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
9145
|
+
if @api_client.config.debugging
|
|
9146
|
+
@api_client.config.logger.debug "API called: V2Api#get_certificate_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9147
|
+
end
|
|
9148
|
+
return data, status_code, headers
|
|
9149
|
+
end
|
|
9150
|
+
|
|
8895
9151
|
# @param body [GetDynamicSecretValue]
|
|
8896
9152
|
# @param [Hash] opts the optional parameters
|
|
8897
9153
|
# @return [Hash<String, String>]
|
|
@@ -8956,6 +9212,70 @@ module Akeyless
|
|
|
8956
9212
|
return data, status_code, headers
|
|
8957
9213
|
end
|
|
8958
9214
|
|
|
9215
|
+
# @param body [GetEventForwarder]
|
|
9216
|
+
# @param [Hash] opts the optional parameters
|
|
9217
|
+
# @return [GetEventForwarderOutput]
|
|
9218
|
+
def get_event_forwarder(body, opts = {})
|
|
9219
|
+
data, _status_code, _headers = get_event_forwarder_with_http_info(body, opts)
|
|
9220
|
+
data
|
|
9221
|
+
end
|
|
9222
|
+
|
|
9223
|
+
# @param body [GetEventForwarder]
|
|
9224
|
+
# @param [Hash] opts the optional parameters
|
|
9225
|
+
# @return [Array<(GetEventForwarderOutput, Integer, Hash)>] GetEventForwarderOutput data, response status code and response headers
|
|
9226
|
+
def get_event_forwarder_with_http_info(body, opts = {})
|
|
9227
|
+
if @api_client.config.debugging
|
|
9228
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_event_forwarder ...'
|
|
9229
|
+
end
|
|
9230
|
+
# verify the required parameter 'body' is set
|
|
9231
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
9232
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_event_forwarder"
|
|
9233
|
+
end
|
|
9234
|
+
# resource path
|
|
9235
|
+
local_var_path = '/get-event-forwarder'
|
|
9236
|
+
|
|
9237
|
+
# query parameters
|
|
9238
|
+
query_params = opts[:query_params] || {}
|
|
9239
|
+
|
|
9240
|
+
# header parameters
|
|
9241
|
+
header_params = opts[:header_params] || {}
|
|
9242
|
+
# HTTP header 'Accept' (if needed)
|
|
9243
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
9244
|
+
# HTTP header 'Content-Type'
|
|
9245
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
9246
|
+
if !content_type.nil?
|
|
9247
|
+
header_params['Content-Type'] = content_type
|
|
9248
|
+
end
|
|
9249
|
+
|
|
9250
|
+
# form parameters
|
|
9251
|
+
form_params = opts[:form_params] || {}
|
|
9252
|
+
|
|
9253
|
+
# http body (model)
|
|
9254
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
9255
|
+
|
|
9256
|
+
# return_type
|
|
9257
|
+
return_type = opts[:debug_return_type] || 'GetEventForwarderOutput'
|
|
9258
|
+
|
|
9259
|
+
# auth_names
|
|
9260
|
+
auth_names = opts[:debug_auth_names] || []
|
|
9261
|
+
|
|
9262
|
+
new_options = opts.merge(
|
|
9263
|
+
:operation => :"V2Api.get_event_forwarder",
|
|
9264
|
+
:header_params => header_params,
|
|
9265
|
+
:query_params => query_params,
|
|
9266
|
+
:form_params => form_params,
|
|
9267
|
+
:body => post_body,
|
|
9268
|
+
:auth_names => auth_names,
|
|
9269
|
+
:return_type => return_type
|
|
9270
|
+
)
|
|
9271
|
+
|
|
9272
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
9273
|
+
if @api_client.config.debugging
|
|
9274
|
+
@api_client.config.logger.debug "API called: V2Api#get_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9275
|
+
end
|
|
9276
|
+
return data, status_code, headers
|
|
9277
|
+
end
|
|
9278
|
+
|
|
8959
9279
|
# @param body [GetKubeExecCreds]
|
|
8960
9280
|
# @param [Hash] opts the optional parameters
|
|
8961
9281
|
# @return [GetKubeExecCredsOutput]
|
|
@@ -10632,6 +10952,70 @@ module Akeyless
|
|
|
10632
10952
|
return data, status_code, headers
|
|
10633
10953
|
end
|
|
10634
10954
|
|
|
10955
|
+
# @param body [ListSharedItems]
|
|
10956
|
+
# @param [Hash] opts the optional parameters
|
|
10957
|
+
# @return [nil]
|
|
10958
|
+
def list_shared_items(body, opts = {})
|
|
10959
|
+
list_shared_items_with_http_info(body, opts)
|
|
10960
|
+
nil
|
|
10961
|
+
end
|
|
10962
|
+
|
|
10963
|
+
# @param body [ListSharedItems]
|
|
10964
|
+
# @param [Hash] opts the optional parameters
|
|
10965
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
10966
|
+
def list_shared_items_with_http_info(body, opts = {})
|
|
10967
|
+
if @api_client.config.debugging
|
|
10968
|
+
@api_client.config.logger.debug 'Calling API: V2Api.list_shared_items ...'
|
|
10969
|
+
end
|
|
10970
|
+
# verify the required parameter 'body' is set
|
|
10971
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
10972
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_shared_items"
|
|
10973
|
+
end
|
|
10974
|
+
# resource path
|
|
10975
|
+
local_var_path = '/list-shared-items'
|
|
10976
|
+
|
|
10977
|
+
# query parameters
|
|
10978
|
+
query_params = opts[:query_params] || {}
|
|
10979
|
+
|
|
10980
|
+
# header parameters
|
|
10981
|
+
header_params = opts[:header_params] || {}
|
|
10982
|
+
# HTTP header 'Accept' (if needed)
|
|
10983
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
10984
|
+
# HTTP header 'Content-Type'
|
|
10985
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
10986
|
+
if !content_type.nil?
|
|
10987
|
+
header_params['Content-Type'] = content_type
|
|
10988
|
+
end
|
|
10989
|
+
|
|
10990
|
+
# form parameters
|
|
10991
|
+
form_params = opts[:form_params] || {}
|
|
10992
|
+
|
|
10993
|
+
# http body (model)
|
|
10994
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
10995
|
+
|
|
10996
|
+
# return_type
|
|
10997
|
+
return_type = opts[:debug_return_type]
|
|
10998
|
+
|
|
10999
|
+
# auth_names
|
|
11000
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11001
|
+
|
|
11002
|
+
new_options = opts.merge(
|
|
11003
|
+
:operation => :"V2Api.list_shared_items",
|
|
11004
|
+
:header_params => header_params,
|
|
11005
|
+
:query_params => query_params,
|
|
11006
|
+
:form_params => form_params,
|
|
11007
|
+
:body => post_body,
|
|
11008
|
+
:auth_names => auth_names,
|
|
11009
|
+
:return_type => return_type
|
|
11010
|
+
)
|
|
11011
|
+
|
|
11012
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
11013
|
+
if @api_client.config.debugging
|
|
11014
|
+
@api_client.config.logger.debug "API called: V2Api#list_shared_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11015
|
+
end
|
|
11016
|
+
return data, status_code, headers
|
|
11017
|
+
end
|
|
11018
|
+
|
|
10635
11019
|
# @param body [ListSRABastions]
|
|
10636
11020
|
# @param [Hash] opts the optional parameters
|
|
10637
11021
|
# @return [BastionsList]
|
|
@@ -10948,6 +11332,70 @@ module Akeyless
|
|
|
10948
11332
|
return data, status_code, headers
|
|
10949
11333
|
end
|
|
10950
11334
|
|
|
11335
|
+
# @param body [RequestAccess]
|
|
11336
|
+
# @param [Hash] opts the optional parameters
|
|
11337
|
+
# @return [RequestAccessOutput]
|
|
11338
|
+
def request_access(body, opts = {})
|
|
11339
|
+
data, _status_code, _headers = request_access_with_http_info(body, opts)
|
|
11340
|
+
data
|
|
11341
|
+
end
|
|
11342
|
+
|
|
11343
|
+
# @param body [RequestAccess]
|
|
11344
|
+
# @param [Hash] opts the optional parameters
|
|
11345
|
+
# @return [Array<(RequestAccessOutput, Integer, Hash)>] RequestAccessOutput data, response status code and response headers
|
|
11346
|
+
def request_access_with_http_info(body, opts = {})
|
|
11347
|
+
if @api_client.config.debugging
|
|
11348
|
+
@api_client.config.logger.debug 'Calling API: V2Api.request_access ...'
|
|
11349
|
+
end
|
|
11350
|
+
# verify the required parameter 'body' is set
|
|
11351
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
11352
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.request_access"
|
|
11353
|
+
end
|
|
11354
|
+
# resource path
|
|
11355
|
+
local_var_path = '/request-access'
|
|
11356
|
+
|
|
11357
|
+
# query parameters
|
|
11358
|
+
query_params = opts[:query_params] || {}
|
|
11359
|
+
|
|
11360
|
+
# header parameters
|
|
11361
|
+
header_params = opts[:header_params] || {}
|
|
11362
|
+
# HTTP header 'Accept' (if needed)
|
|
11363
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
11364
|
+
# HTTP header 'Content-Type'
|
|
11365
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
11366
|
+
if !content_type.nil?
|
|
11367
|
+
header_params['Content-Type'] = content_type
|
|
11368
|
+
end
|
|
11369
|
+
|
|
11370
|
+
# form parameters
|
|
11371
|
+
form_params = opts[:form_params] || {}
|
|
11372
|
+
|
|
11373
|
+
# http body (model)
|
|
11374
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
11375
|
+
|
|
11376
|
+
# return_type
|
|
11377
|
+
return_type = opts[:debug_return_type] || 'RequestAccessOutput'
|
|
11378
|
+
|
|
11379
|
+
# auth_names
|
|
11380
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11381
|
+
|
|
11382
|
+
new_options = opts.merge(
|
|
11383
|
+
:operation => :"V2Api.request_access",
|
|
11384
|
+
:header_params => header_params,
|
|
11385
|
+
:query_params => query_params,
|
|
11386
|
+
:form_params => form_params,
|
|
11387
|
+
:body => post_body,
|
|
11388
|
+
:auth_names => auth_names,
|
|
11389
|
+
:return_type => return_type
|
|
11390
|
+
)
|
|
11391
|
+
|
|
11392
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
11393
|
+
if @api_client.config.debugging
|
|
11394
|
+
@api_client.config.logger.debug "API called: V2Api#request_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11395
|
+
end
|
|
11396
|
+
return data, status_code, headers
|
|
11397
|
+
end
|
|
11398
|
+
|
|
10951
11399
|
# @param body [ReverseRBAC]
|
|
10952
11400
|
# @param [Hash] opts the optional parameters
|
|
10953
11401
|
# @return [ReverseRBACOutput]
|
|
@@ -13177,6 +13625,70 @@ module Akeyless
|
|
|
13177
13625
|
return data, status_code, headers
|
|
13178
13626
|
end
|
|
13179
13627
|
|
|
13628
|
+
# @param body [UpdateCertificateValue]
|
|
13629
|
+
# @param [Hash] opts the optional parameters
|
|
13630
|
+
# @return [UpdateCertificateOutput]
|
|
13631
|
+
def update_certificate_value(body, opts = {})
|
|
13632
|
+
data, _status_code, _headers = update_certificate_value_with_http_info(body, opts)
|
|
13633
|
+
data
|
|
13634
|
+
end
|
|
13635
|
+
|
|
13636
|
+
# @param body [UpdateCertificateValue]
|
|
13637
|
+
# @param [Hash] opts the optional parameters
|
|
13638
|
+
# @return [Array<(UpdateCertificateOutput, Integer, Hash)>] UpdateCertificateOutput data, response status code and response headers
|
|
13639
|
+
def update_certificate_value_with_http_info(body, opts = {})
|
|
13640
|
+
if @api_client.config.debugging
|
|
13641
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_certificate_value ...'
|
|
13642
|
+
end
|
|
13643
|
+
# verify the required parameter 'body' is set
|
|
13644
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13645
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_certificate_value"
|
|
13646
|
+
end
|
|
13647
|
+
# resource path
|
|
13648
|
+
local_var_path = '/update-certificate-value'
|
|
13649
|
+
|
|
13650
|
+
# query parameters
|
|
13651
|
+
query_params = opts[:query_params] || {}
|
|
13652
|
+
|
|
13653
|
+
# header parameters
|
|
13654
|
+
header_params = opts[:header_params] || {}
|
|
13655
|
+
# HTTP header 'Accept' (if needed)
|
|
13656
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13657
|
+
# HTTP header 'Content-Type'
|
|
13658
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13659
|
+
if !content_type.nil?
|
|
13660
|
+
header_params['Content-Type'] = content_type
|
|
13661
|
+
end
|
|
13662
|
+
|
|
13663
|
+
# form parameters
|
|
13664
|
+
form_params = opts[:form_params] || {}
|
|
13665
|
+
|
|
13666
|
+
# http body (model)
|
|
13667
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13668
|
+
|
|
13669
|
+
# return_type
|
|
13670
|
+
return_type = opts[:debug_return_type] || 'UpdateCertificateOutput'
|
|
13671
|
+
|
|
13672
|
+
# auth_names
|
|
13673
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13674
|
+
|
|
13675
|
+
new_options = opts.merge(
|
|
13676
|
+
:operation => :"V2Api.update_certificate_value",
|
|
13677
|
+
:header_params => header_params,
|
|
13678
|
+
:query_params => query_params,
|
|
13679
|
+
:form_params => form_params,
|
|
13680
|
+
:body => post_body,
|
|
13681
|
+
:auth_names => auth_names,
|
|
13682
|
+
:return_type => return_type
|
|
13683
|
+
)
|
|
13684
|
+
|
|
13685
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13686
|
+
if @api_client.config.debugging
|
|
13687
|
+
@api_client.config.logger.debug "API called: V2Api#update_certificate_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13688
|
+
end
|
|
13689
|
+
return data, status_code, headers
|
|
13690
|
+
end
|
|
13691
|
+
|
|
13180
13692
|
# @param body [UpdateDBTarget]
|
|
13181
13693
|
# @param [Hash] opts the optional parameters
|
|
13182
13694
|
# @return [UpdateDBTargetOutput]
|
|
@@ -13433,6 +13945,70 @@ module Akeyless
|
|
|
13433
13945
|
return data, status_code, headers
|
|
13434
13946
|
end
|
|
13435
13947
|
|
|
13948
|
+
# @param body [UpdateEventForwarder]
|
|
13949
|
+
# @param [Hash] opts the optional parameters
|
|
13950
|
+
# @return [Object]
|
|
13951
|
+
def update_event_forwarder(body, opts = {})
|
|
13952
|
+
data, _status_code, _headers = update_event_forwarder_with_http_info(body, opts)
|
|
13953
|
+
data
|
|
13954
|
+
end
|
|
13955
|
+
|
|
13956
|
+
# @param body [UpdateEventForwarder]
|
|
13957
|
+
# @param [Hash] opts the optional parameters
|
|
13958
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
13959
|
+
def update_event_forwarder_with_http_info(body, opts = {})
|
|
13960
|
+
if @api_client.config.debugging
|
|
13961
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_event_forwarder ...'
|
|
13962
|
+
end
|
|
13963
|
+
# verify the required parameter 'body' is set
|
|
13964
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13965
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_event_forwarder"
|
|
13966
|
+
end
|
|
13967
|
+
# resource path
|
|
13968
|
+
local_var_path = '/update-event-forwarder'
|
|
13969
|
+
|
|
13970
|
+
# query parameters
|
|
13971
|
+
query_params = opts[:query_params] || {}
|
|
13972
|
+
|
|
13973
|
+
# header parameters
|
|
13974
|
+
header_params = opts[:header_params] || {}
|
|
13975
|
+
# HTTP header 'Accept' (if needed)
|
|
13976
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13977
|
+
# HTTP header 'Content-Type'
|
|
13978
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13979
|
+
if !content_type.nil?
|
|
13980
|
+
header_params['Content-Type'] = content_type
|
|
13981
|
+
end
|
|
13982
|
+
|
|
13983
|
+
# form parameters
|
|
13984
|
+
form_params = opts[:form_params] || {}
|
|
13985
|
+
|
|
13986
|
+
# http body (model)
|
|
13987
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13988
|
+
|
|
13989
|
+
# return_type
|
|
13990
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
13991
|
+
|
|
13992
|
+
# auth_names
|
|
13993
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13994
|
+
|
|
13995
|
+
new_options = opts.merge(
|
|
13996
|
+
:operation => :"V2Api.update_event_forwarder",
|
|
13997
|
+
:header_params => header_params,
|
|
13998
|
+
:query_params => query_params,
|
|
13999
|
+
:form_params => form_params,
|
|
14000
|
+
:body => post_body,
|
|
14001
|
+
:auth_names => auth_names,
|
|
14002
|
+
:return_type => return_type
|
|
14003
|
+
)
|
|
14004
|
+
|
|
14005
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14006
|
+
if @api_client.config.debugging
|
|
14007
|
+
@api_client.config.logger.debug "API called: V2Api#update_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14008
|
+
end
|
|
14009
|
+
return data, status_code, headers
|
|
14010
|
+
end
|
|
14011
|
+
|
|
13436
14012
|
# @param body [UpdateGcpTarget]
|
|
13437
14013
|
# @param [Hash] opts the optional parameters
|
|
13438
14014
|
# @return [UpdateGcpTargetOutput]
|