akeyless 2.16.4 → 2.16.5
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 +20 -1
- data/docs/AwsS3LogForwardingConfig.md +2 -0
- data/docs/CreateAuthMethod.md +1 -1
- data/docs/CreateAuthMethodAWSIAM.md +1 -1
- data/docs/CreateAuthMethodAzureAD.md +1 -1
- data/docs/CreateAuthMethodCert.md +1 -1
- data/docs/CreateAuthMethodGCP.md +1 -1
- data/docs/CreateAuthMethodHuawei.md +1 -1
- data/docs/CreateAuthMethodK8S.md +1 -1
- data/docs/CreateAuthMethodLDAP.md +1 -1
- data/docs/CreateAuthMethodOAuth2.md +1 -1
- data/docs/CreateAuthMethodOIDC.md +1 -1
- data/docs/CreateAuthMethodSAML.md +1 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +1 -1
- data/docs/CreateClassicKey.md +12 -0
- data/docs/CreateRotatedSecret.md +28 -0
- data/docs/CreateSalesforceTarget.md +42 -0
- data/docs/CreateSalesforceTargetOutput.md +18 -0
- data/docs/GatewayCreateMigration.md +50 -0
- data/docs/GatewayDeleteMigration.md +22 -0
- data/docs/GatewayGetMigration.md +22 -0
- data/docs/GatewayMigrationCreateOutput.md +18 -0
- data/docs/GatewayMigrationDeleteOutput.md +18 -0
- data/docs/GatewayMigrationGetOutput.md +18 -0
- data/docs/GatewayMigrationUpdateOutput.md +18 -0
- data/docs/GatewayUpdateMigration.md +52 -0
- data/docs/GetSecretValue.md +2 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/TargetTypeDetailsInput.md +12 -0
- data/docs/UpdateAuthMethod.md +1 -1
- data/docs/UpdateAuthMethodAWSIAM.md +1 -1
- data/docs/UpdateAuthMethodAzureAD.md +1 -1
- data/docs/UpdateAuthMethodCert.md +1 -1
- data/docs/UpdateAuthMethodGCP.md +1 -1
- data/docs/UpdateAuthMethodK8S.md +1 -1
- data/docs/UpdateAuthMethodLDAP.md +1 -1
- data/docs/UpdateAuthMethodOAuth2.md +1 -1
- data/docs/UpdateAuthMethodOIDC.md +1 -1
- data/docs/UpdateAuthMethodSAML.md +1 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +1 -1
- data/docs/UpdateRotatedSecret.md +28 -0
- data/docs/UpdateSalesforceTarget.md +48 -0
- data/docs/UpdateSalesforceTargetOutput.md +18 -0
- data/docs/V2Api.md +441 -0
- data/lib/akeyless/api/v2_api.rb +448 -0
- data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/create_auth_method.rb +0 -2
- data/lib/akeyless/models/create_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/create_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/create_auth_method_huawei.rb +0 -2
- data/lib/akeyless/models/create_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/create_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/create_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/create_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/create_classic_key.rb +61 -1
- data/lib/akeyless/models/create_rotated_secret.rb +153 -1
- data/lib/akeyless/models/create_salesforce_target.rb +375 -0
- data/lib/akeyless/models/create_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/gateway_create_migration.rb +374 -0
- data/lib/akeyless/models/gateway_delete_migration.rb +246 -0
- data/lib/akeyless/models/gateway_get_migration.rb +240 -0
- data/lib/akeyless/models/gateway_migration_create_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_delete_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_get_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_update_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_migration.rb +383 -0
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
- data/lib/akeyless/models/get_secret_value.rb +10 -1
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +59 -1
- data/lib/akeyless/models/update_auth_method.rb +0 -2
- data/lib/akeyless/models/update_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/update_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/update_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/update_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/update_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/update_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/update_rotated_secret.rb +153 -1
- data/lib/akeyless/models/update_salesforce_target.rb +404 -0
- data/lib/akeyless/models/update_salesforce_target_output.rb +219 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +12 -0
- data/spec/models/create_salesforce_target_output_spec.rb +34 -0
- data/spec/models/create_salesforce_target_spec.rb +106 -0
- data/spec/models/gateway_create_migration_spec.rb +130 -0
- data/spec/models/gateway_delete_migration_spec.rb +46 -0
- data/spec/models/gateway_get_migration_spec.rb +46 -0
- data/spec/models/gateway_migration_create_output_spec.rb +34 -0
- data/spec/models/gateway_migration_delete_output_spec.rb +34 -0
- data/spec/models/gateway_migration_get_output_spec.rb +34 -0
- data/spec/models/gateway_migration_update_output_spec.rb +34 -0
- data/spec/models/gateway_update_migration_spec.rb +136 -0
- data/spec/models/update_salesforce_target_output_spec.rb +34 -0
- data/spec/models/update_salesforce_target_spec.rb +124 -0
- metadata +512 -464
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -2259,6 +2259,70 @@ module Akeyless
|
|
|
2259
2259
|
return data, status_code, headers
|
|
2260
2260
|
end
|
|
2261
2261
|
|
|
2262
|
+
# @param body [CreateSalesforceTarget]
|
|
2263
|
+
# @param [Hash] opts the optional parameters
|
|
2264
|
+
# @return [CreateSalesforceTargetOutput]
|
|
2265
|
+
def create_salesforce_target(body, opts = {})
|
|
2266
|
+
data, _status_code, _headers = create_salesforce_target_with_http_info(body, opts)
|
|
2267
|
+
data
|
|
2268
|
+
end
|
|
2269
|
+
|
|
2270
|
+
# @param body [CreateSalesforceTarget]
|
|
2271
|
+
# @param [Hash] opts the optional parameters
|
|
2272
|
+
# @return [Array<(CreateSalesforceTargetOutput, Integer, Hash)>] CreateSalesforceTargetOutput data, response status code and response headers
|
|
2273
|
+
def create_salesforce_target_with_http_info(body, opts = {})
|
|
2274
|
+
if @api_client.config.debugging
|
|
2275
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_salesforce_target ...'
|
|
2276
|
+
end
|
|
2277
|
+
# verify the required parameter 'body' is set
|
|
2278
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
2279
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_salesforce_target"
|
|
2280
|
+
end
|
|
2281
|
+
# resource path
|
|
2282
|
+
local_var_path = '/create-salesforce-target'
|
|
2283
|
+
|
|
2284
|
+
# query parameters
|
|
2285
|
+
query_params = opts[:query_params] || {}
|
|
2286
|
+
|
|
2287
|
+
# header parameters
|
|
2288
|
+
header_params = opts[:header_params] || {}
|
|
2289
|
+
# HTTP header 'Accept' (if needed)
|
|
2290
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2291
|
+
# HTTP header 'Content-Type'
|
|
2292
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2293
|
+
if !content_type.nil?
|
|
2294
|
+
header_params['Content-Type'] = content_type
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
# form parameters
|
|
2298
|
+
form_params = opts[:form_params] || {}
|
|
2299
|
+
|
|
2300
|
+
# http body (model)
|
|
2301
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
2302
|
+
|
|
2303
|
+
# return_type
|
|
2304
|
+
return_type = opts[:debug_return_type] || 'CreateSalesforceTargetOutput'
|
|
2305
|
+
|
|
2306
|
+
# auth_names
|
|
2307
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2308
|
+
|
|
2309
|
+
new_options = opts.merge(
|
|
2310
|
+
:operation => :"V2Api.create_salesforce_target",
|
|
2311
|
+
:header_params => header_params,
|
|
2312
|
+
:query_params => query_params,
|
|
2313
|
+
:form_params => form_params,
|
|
2314
|
+
:body => post_body,
|
|
2315
|
+
:auth_names => auth_names,
|
|
2316
|
+
:return_type => return_type
|
|
2317
|
+
)
|
|
2318
|
+
|
|
2319
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2320
|
+
if @api_client.config.debugging
|
|
2321
|
+
@api_client.config.logger.debug "API called: V2Api#create_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2322
|
+
end
|
|
2323
|
+
return data, status_code, headers
|
|
2324
|
+
end
|
|
2325
|
+
|
|
2262
2326
|
# @param body [CreateSecret]
|
|
2263
2327
|
# @param [Hash] opts the optional parameters
|
|
2264
2328
|
# @return [CreateSecretOutput]
|
|
@@ -3859,6 +3923,70 @@ module Akeyless
|
|
|
3859
3923
|
return data, status_code, headers
|
|
3860
3924
|
end
|
|
3861
3925
|
|
|
3926
|
+
# @param body [GatewayCreateMigration]
|
|
3927
|
+
# @param [Hash] opts the optional parameters
|
|
3928
|
+
# @return [GatewayMigrationCreateOutput]
|
|
3929
|
+
def gateway_create_migration(body, opts = {})
|
|
3930
|
+
data, _status_code, _headers = gateway_create_migration_with_http_info(body, opts)
|
|
3931
|
+
data
|
|
3932
|
+
end
|
|
3933
|
+
|
|
3934
|
+
# @param body [GatewayCreateMigration]
|
|
3935
|
+
# @param [Hash] opts the optional parameters
|
|
3936
|
+
# @return [Array<(GatewayMigrationCreateOutput, Integer, Hash)>] GatewayMigrationCreateOutput data, response status code and response headers
|
|
3937
|
+
def gateway_create_migration_with_http_info(body, opts = {})
|
|
3938
|
+
if @api_client.config.debugging
|
|
3939
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_migration ...'
|
|
3940
|
+
end
|
|
3941
|
+
# verify the required parameter 'body' is set
|
|
3942
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
3943
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_migration"
|
|
3944
|
+
end
|
|
3945
|
+
# resource path
|
|
3946
|
+
local_var_path = '/gateway-create-migration'
|
|
3947
|
+
|
|
3948
|
+
# query parameters
|
|
3949
|
+
query_params = opts[:query_params] || {}
|
|
3950
|
+
|
|
3951
|
+
# header parameters
|
|
3952
|
+
header_params = opts[:header_params] || {}
|
|
3953
|
+
# HTTP header 'Accept' (if needed)
|
|
3954
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3955
|
+
# HTTP header 'Content-Type'
|
|
3956
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3957
|
+
if !content_type.nil?
|
|
3958
|
+
header_params['Content-Type'] = content_type
|
|
3959
|
+
end
|
|
3960
|
+
|
|
3961
|
+
# form parameters
|
|
3962
|
+
form_params = opts[:form_params] || {}
|
|
3963
|
+
|
|
3964
|
+
# http body (model)
|
|
3965
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
3966
|
+
|
|
3967
|
+
# return_type
|
|
3968
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationCreateOutput'
|
|
3969
|
+
|
|
3970
|
+
# auth_names
|
|
3971
|
+
auth_names = opts[:debug_auth_names] || []
|
|
3972
|
+
|
|
3973
|
+
new_options = opts.merge(
|
|
3974
|
+
:operation => :"V2Api.gateway_create_migration",
|
|
3975
|
+
:header_params => header_params,
|
|
3976
|
+
:query_params => query_params,
|
|
3977
|
+
:form_params => form_params,
|
|
3978
|
+
:body => post_body,
|
|
3979
|
+
:auth_names => auth_names,
|
|
3980
|
+
:return_type => return_type
|
|
3981
|
+
)
|
|
3982
|
+
|
|
3983
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
3984
|
+
if @api_client.config.debugging
|
|
3985
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3986
|
+
end
|
|
3987
|
+
return data, status_code, headers
|
|
3988
|
+
end
|
|
3989
|
+
|
|
3862
3990
|
# @param body [GatewayCreateProducerArtifactory]
|
|
3863
3991
|
# @param [Hash] opts the optional parameters
|
|
3864
3992
|
# @return [GatewayCreateProducerArtifactoryOutput]
|
|
@@ -5455,6 +5583,70 @@ module Akeyless
|
|
|
5455
5583
|
return data, status_code, headers
|
|
5456
5584
|
end
|
|
5457
5585
|
|
|
5586
|
+
# @param body [GatewayDeleteMigration]
|
|
5587
|
+
# @param [Hash] opts the optional parameters
|
|
5588
|
+
# @return [GatewayMigrationDeleteOutput]
|
|
5589
|
+
def gateway_delete_migration(body, opts = {})
|
|
5590
|
+
data, _status_code, _headers = gateway_delete_migration_with_http_info(body, opts)
|
|
5591
|
+
data
|
|
5592
|
+
end
|
|
5593
|
+
|
|
5594
|
+
# @param body [GatewayDeleteMigration]
|
|
5595
|
+
# @param [Hash] opts the optional parameters
|
|
5596
|
+
# @return [Array<(GatewayMigrationDeleteOutput, Integer, Hash)>] GatewayMigrationDeleteOutput data, response status code and response headers
|
|
5597
|
+
def gateway_delete_migration_with_http_info(body, opts = {})
|
|
5598
|
+
if @api_client.config.debugging
|
|
5599
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_delete_migration ...'
|
|
5600
|
+
end
|
|
5601
|
+
# verify the required parameter 'body' is set
|
|
5602
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
5603
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_delete_migration"
|
|
5604
|
+
end
|
|
5605
|
+
# resource path
|
|
5606
|
+
local_var_path = '/gateway-delete-migration'
|
|
5607
|
+
|
|
5608
|
+
# query parameters
|
|
5609
|
+
query_params = opts[:query_params] || {}
|
|
5610
|
+
|
|
5611
|
+
# header parameters
|
|
5612
|
+
header_params = opts[:header_params] || {}
|
|
5613
|
+
# HTTP header 'Accept' (if needed)
|
|
5614
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5615
|
+
# HTTP header 'Content-Type'
|
|
5616
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5617
|
+
if !content_type.nil?
|
|
5618
|
+
header_params['Content-Type'] = content_type
|
|
5619
|
+
end
|
|
5620
|
+
|
|
5621
|
+
# form parameters
|
|
5622
|
+
form_params = opts[:form_params] || {}
|
|
5623
|
+
|
|
5624
|
+
# http body (model)
|
|
5625
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
5626
|
+
|
|
5627
|
+
# return_type
|
|
5628
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationDeleteOutput'
|
|
5629
|
+
|
|
5630
|
+
# auth_names
|
|
5631
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5632
|
+
|
|
5633
|
+
new_options = opts.merge(
|
|
5634
|
+
:operation => :"V2Api.gateway_delete_migration",
|
|
5635
|
+
:header_params => header_params,
|
|
5636
|
+
:query_params => query_params,
|
|
5637
|
+
:form_params => form_params,
|
|
5638
|
+
:body => post_body,
|
|
5639
|
+
:auth_names => auth_names,
|
|
5640
|
+
:return_type => return_type
|
|
5641
|
+
)
|
|
5642
|
+
|
|
5643
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5644
|
+
if @api_client.config.debugging
|
|
5645
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_delete_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5646
|
+
end
|
|
5647
|
+
return data, status_code, headers
|
|
5648
|
+
end
|
|
5649
|
+
|
|
5458
5650
|
# @param body [GatewayDeleteProducer]
|
|
5459
5651
|
# @param [Hash] opts the optional parameters
|
|
5460
5652
|
# @return [GatewayDeleteProducerOutput]
|
|
@@ -5647,6 +5839,70 @@ module Akeyless
|
|
|
5647
5839
|
return data, status_code, headers
|
|
5648
5840
|
end
|
|
5649
5841
|
|
|
5842
|
+
# @param body [GatewayGetMigration]
|
|
5843
|
+
# @param [Hash] opts the optional parameters
|
|
5844
|
+
# @return [GatewayMigrationGetOutput]
|
|
5845
|
+
def gateway_get_migration(body, opts = {})
|
|
5846
|
+
data, _status_code, _headers = gateway_get_migration_with_http_info(body, opts)
|
|
5847
|
+
data
|
|
5848
|
+
end
|
|
5849
|
+
|
|
5850
|
+
# @param body [GatewayGetMigration]
|
|
5851
|
+
# @param [Hash] opts the optional parameters
|
|
5852
|
+
# @return [Array<(GatewayMigrationGetOutput, Integer, Hash)>] GatewayMigrationGetOutput data, response status code and response headers
|
|
5853
|
+
def gateway_get_migration_with_http_info(body, opts = {})
|
|
5854
|
+
if @api_client.config.debugging
|
|
5855
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_migration ...'
|
|
5856
|
+
end
|
|
5857
|
+
# verify the required parameter 'body' is set
|
|
5858
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
5859
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_migration"
|
|
5860
|
+
end
|
|
5861
|
+
# resource path
|
|
5862
|
+
local_var_path = '/gateway-get-migration'
|
|
5863
|
+
|
|
5864
|
+
# query parameters
|
|
5865
|
+
query_params = opts[:query_params] || {}
|
|
5866
|
+
|
|
5867
|
+
# header parameters
|
|
5868
|
+
header_params = opts[:header_params] || {}
|
|
5869
|
+
# HTTP header 'Accept' (if needed)
|
|
5870
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5871
|
+
# HTTP header 'Content-Type'
|
|
5872
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5873
|
+
if !content_type.nil?
|
|
5874
|
+
header_params['Content-Type'] = content_type
|
|
5875
|
+
end
|
|
5876
|
+
|
|
5877
|
+
# form parameters
|
|
5878
|
+
form_params = opts[:form_params] || {}
|
|
5879
|
+
|
|
5880
|
+
# http body (model)
|
|
5881
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
5882
|
+
|
|
5883
|
+
# return_type
|
|
5884
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationGetOutput'
|
|
5885
|
+
|
|
5886
|
+
# auth_names
|
|
5887
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5888
|
+
|
|
5889
|
+
new_options = opts.merge(
|
|
5890
|
+
:operation => :"V2Api.gateway_get_migration",
|
|
5891
|
+
:header_params => header_params,
|
|
5892
|
+
:query_params => query_params,
|
|
5893
|
+
:form_params => form_params,
|
|
5894
|
+
:body => post_body,
|
|
5895
|
+
:auth_names => auth_names,
|
|
5896
|
+
:return_type => return_type
|
|
5897
|
+
)
|
|
5898
|
+
|
|
5899
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5900
|
+
if @api_client.config.debugging
|
|
5901
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5902
|
+
end
|
|
5903
|
+
return data, status_code, headers
|
|
5904
|
+
end
|
|
5905
|
+
|
|
5650
5906
|
# @param body [GatewayGetProducer]
|
|
5651
5907
|
# @param [Hash] opts the optional parameters
|
|
5652
5908
|
# @return [DSProducerDetails]
|
|
@@ -6351,6 +6607,70 @@ module Akeyless
|
|
|
6351
6607
|
return data, status_code, headers
|
|
6352
6608
|
end
|
|
6353
6609
|
|
|
6610
|
+
# @param body [GatewayUpdateMigration]
|
|
6611
|
+
# @param [Hash] opts the optional parameters
|
|
6612
|
+
# @return [GatewayMigrationUpdateOutput]
|
|
6613
|
+
def gateway_update_migration(body, opts = {})
|
|
6614
|
+
data, _status_code, _headers = gateway_update_migration_with_http_info(body, opts)
|
|
6615
|
+
data
|
|
6616
|
+
end
|
|
6617
|
+
|
|
6618
|
+
# @param body [GatewayUpdateMigration]
|
|
6619
|
+
# @param [Hash] opts the optional parameters
|
|
6620
|
+
# @return [Array<(GatewayMigrationUpdateOutput, Integer, Hash)>] GatewayMigrationUpdateOutput data, response status code and response headers
|
|
6621
|
+
def gateway_update_migration_with_http_info(body, opts = {})
|
|
6622
|
+
if @api_client.config.debugging
|
|
6623
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_migration ...'
|
|
6624
|
+
end
|
|
6625
|
+
# verify the required parameter 'body' is set
|
|
6626
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
6627
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_migration"
|
|
6628
|
+
end
|
|
6629
|
+
# resource path
|
|
6630
|
+
local_var_path = '/gateway-update-migration'
|
|
6631
|
+
|
|
6632
|
+
# query parameters
|
|
6633
|
+
query_params = opts[:query_params] || {}
|
|
6634
|
+
|
|
6635
|
+
# header parameters
|
|
6636
|
+
header_params = opts[:header_params] || {}
|
|
6637
|
+
# HTTP header 'Accept' (if needed)
|
|
6638
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
6639
|
+
# HTTP header 'Content-Type'
|
|
6640
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
6641
|
+
if !content_type.nil?
|
|
6642
|
+
header_params['Content-Type'] = content_type
|
|
6643
|
+
end
|
|
6644
|
+
|
|
6645
|
+
# form parameters
|
|
6646
|
+
form_params = opts[:form_params] || {}
|
|
6647
|
+
|
|
6648
|
+
# http body (model)
|
|
6649
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
6650
|
+
|
|
6651
|
+
# return_type
|
|
6652
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationUpdateOutput'
|
|
6653
|
+
|
|
6654
|
+
# auth_names
|
|
6655
|
+
auth_names = opts[:debug_auth_names] || []
|
|
6656
|
+
|
|
6657
|
+
new_options = opts.merge(
|
|
6658
|
+
:operation => :"V2Api.gateway_update_migration",
|
|
6659
|
+
:header_params => header_params,
|
|
6660
|
+
:query_params => query_params,
|
|
6661
|
+
:form_params => form_params,
|
|
6662
|
+
:body => post_body,
|
|
6663
|
+
:auth_names => auth_names,
|
|
6664
|
+
:return_type => return_type
|
|
6665
|
+
)
|
|
6666
|
+
|
|
6667
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6668
|
+
if @api_client.config.debugging
|
|
6669
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6670
|
+
end
|
|
6671
|
+
return data, status_code, headers
|
|
6672
|
+
end
|
|
6673
|
+
|
|
6354
6674
|
# @param body [GatewayUpdateProducerArtifactory]
|
|
6355
6675
|
# @param [Hash] opts the optional parameters
|
|
6356
6676
|
# @return [GatewayUpdateProducerArtifactoryOutput]
|
|
@@ -7051,6 +7371,70 @@ module Akeyless
|
|
|
7051
7371
|
return data, status_code, headers
|
|
7052
7372
|
end
|
|
7053
7373
|
|
|
7374
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
|
7375
|
+
# @param [Hash] opts the optional parameters
|
|
7376
|
+
# @return [GatewayUpdateProducerHanaDbOutput]
|
|
7377
|
+
def gateway_update_producer_hana_db(body, opts = {})
|
|
7378
|
+
data, _status_code, _headers = gateway_update_producer_hana_db_with_http_info(body, opts)
|
|
7379
|
+
data
|
|
7380
|
+
end
|
|
7381
|
+
|
|
7382
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
|
7383
|
+
# @param [Hash] opts the optional parameters
|
|
7384
|
+
# @return [Array<(GatewayUpdateProducerHanaDbOutput, Integer, Hash)>] GatewayUpdateProducerHanaDbOutput data, response status code and response headers
|
|
7385
|
+
def gateway_update_producer_hana_db_with_http_info(body, opts = {})
|
|
7386
|
+
if @api_client.config.debugging
|
|
7387
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_producer_hana_db ...'
|
|
7388
|
+
end
|
|
7389
|
+
# verify the required parameter 'body' is set
|
|
7390
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
7391
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_producer_hana_db"
|
|
7392
|
+
end
|
|
7393
|
+
# resource path
|
|
7394
|
+
local_var_path = '/gateway-update-producer-hana'
|
|
7395
|
+
|
|
7396
|
+
# query parameters
|
|
7397
|
+
query_params = opts[:query_params] || {}
|
|
7398
|
+
|
|
7399
|
+
# header parameters
|
|
7400
|
+
header_params = opts[:header_params] || {}
|
|
7401
|
+
# HTTP header 'Accept' (if needed)
|
|
7402
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
7403
|
+
# HTTP header 'Content-Type'
|
|
7404
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
7405
|
+
if !content_type.nil?
|
|
7406
|
+
header_params['Content-Type'] = content_type
|
|
7407
|
+
end
|
|
7408
|
+
|
|
7409
|
+
# form parameters
|
|
7410
|
+
form_params = opts[:form_params] || {}
|
|
7411
|
+
|
|
7412
|
+
# http body (model)
|
|
7413
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
7414
|
+
|
|
7415
|
+
# return_type
|
|
7416
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateProducerHanaDbOutput'
|
|
7417
|
+
|
|
7418
|
+
# auth_names
|
|
7419
|
+
auth_names = opts[:debug_auth_names] || []
|
|
7420
|
+
|
|
7421
|
+
new_options = opts.merge(
|
|
7422
|
+
:operation => :"V2Api.gateway_update_producer_hana_db",
|
|
7423
|
+
:header_params => header_params,
|
|
7424
|
+
:query_params => query_params,
|
|
7425
|
+
:form_params => form_params,
|
|
7426
|
+
:body => post_body,
|
|
7427
|
+
:auth_names => auth_names,
|
|
7428
|
+
:return_type => return_type
|
|
7429
|
+
)
|
|
7430
|
+
|
|
7431
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
7432
|
+
if @api_client.config.debugging
|
|
7433
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_producer_hana_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7434
|
+
end
|
|
7435
|
+
return data, status_code, headers
|
|
7436
|
+
end
|
|
7437
|
+
|
|
7054
7438
|
# @param body [GatewayUpdateProducerLdap]
|
|
7055
7439
|
# @param [Hash] opts the optional parameters
|
|
7056
7440
|
# @return [GatewayUpdateProducerLdapOutput]
|
|
@@ -12978,6 +13362,70 @@ module Akeyless
|
|
|
12978
13362
|
return data, status_code, headers
|
|
12979
13363
|
end
|
|
12980
13364
|
|
|
13365
|
+
# @param body [UpdateSalesforceTarget]
|
|
13366
|
+
# @param [Hash] opts the optional parameters
|
|
13367
|
+
# @return [UpdateSalesforceTargetOutput]
|
|
13368
|
+
def update_salesforce_target(body, opts = {})
|
|
13369
|
+
data, _status_code, _headers = update_salesforce_target_with_http_info(body, opts)
|
|
13370
|
+
data
|
|
13371
|
+
end
|
|
13372
|
+
|
|
13373
|
+
# @param body [UpdateSalesforceTarget]
|
|
13374
|
+
# @param [Hash] opts the optional parameters
|
|
13375
|
+
# @return [Array<(UpdateSalesforceTargetOutput, Integer, Hash)>] UpdateSalesforceTargetOutput data, response status code and response headers
|
|
13376
|
+
def update_salesforce_target_with_http_info(body, opts = {})
|
|
13377
|
+
if @api_client.config.debugging
|
|
13378
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_salesforce_target ...'
|
|
13379
|
+
end
|
|
13380
|
+
# verify the required parameter 'body' is set
|
|
13381
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13382
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_salesforce_target"
|
|
13383
|
+
end
|
|
13384
|
+
# resource path
|
|
13385
|
+
local_var_path = '/update-salesforce-target'
|
|
13386
|
+
|
|
13387
|
+
# query parameters
|
|
13388
|
+
query_params = opts[:query_params] || {}
|
|
13389
|
+
|
|
13390
|
+
# header parameters
|
|
13391
|
+
header_params = opts[:header_params] || {}
|
|
13392
|
+
# HTTP header 'Accept' (if needed)
|
|
13393
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13394
|
+
# HTTP header 'Content-Type'
|
|
13395
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13396
|
+
if !content_type.nil?
|
|
13397
|
+
header_params['Content-Type'] = content_type
|
|
13398
|
+
end
|
|
13399
|
+
|
|
13400
|
+
# form parameters
|
|
13401
|
+
form_params = opts[:form_params] || {}
|
|
13402
|
+
|
|
13403
|
+
# http body (model)
|
|
13404
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13405
|
+
|
|
13406
|
+
# return_type
|
|
13407
|
+
return_type = opts[:debug_return_type] || 'UpdateSalesforceTargetOutput'
|
|
13408
|
+
|
|
13409
|
+
# auth_names
|
|
13410
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13411
|
+
|
|
13412
|
+
new_options = opts.merge(
|
|
13413
|
+
:operation => :"V2Api.update_salesforce_target",
|
|
13414
|
+
:header_params => header_params,
|
|
13415
|
+
:query_params => query_params,
|
|
13416
|
+
:form_params => form_params,
|
|
13417
|
+
:body => post_body,
|
|
13418
|
+
:auth_names => auth_names,
|
|
13419
|
+
:return_type => return_type
|
|
13420
|
+
)
|
|
13421
|
+
|
|
13422
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13423
|
+
if @api_client.config.debugging
|
|
13424
|
+
@api_client.config.logger.debug "API called: V2Api#update_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13425
|
+
end
|
|
13426
|
+
return data, status_code, headers
|
|
13427
|
+
end
|
|
13428
|
+
|
|
12981
13429
|
# @param body [UpdateSecretVal]
|
|
12982
13430
|
# @param [Hash] opts the optional parameters
|
|
12983
13431
|
# @return [UpdateSecretValOutput]
|
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :aws_region
|
|
23
23
|
|
|
24
|
+
attr_accessor :aws_use_gateway_cloud_identity
|
|
25
|
+
|
|
24
26
|
attr_accessor :bucket_name
|
|
25
27
|
|
|
26
28
|
attr_accessor :log_folder
|
|
@@ -31,6 +33,7 @@ module Akeyless
|
|
|
31
33
|
:'aws_access_id' => :'aws_access_id',
|
|
32
34
|
:'aws_access_key' => :'aws_access_key',
|
|
33
35
|
:'aws_region' => :'aws_region',
|
|
36
|
+
:'aws_use_gateway_cloud_identity' => :'aws_use_gateway_cloud_identity',
|
|
34
37
|
:'bucket_name' => :'bucket_name',
|
|
35
38
|
:'log_folder' => :'log_folder'
|
|
36
39
|
}
|
|
@@ -47,6 +50,7 @@ module Akeyless
|
|
|
47
50
|
:'aws_access_id' => :'String',
|
|
48
51
|
:'aws_access_key' => :'String',
|
|
49
52
|
:'aws_region' => :'String',
|
|
53
|
+
:'aws_use_gateway_cloud_identity' => :'Boolean',
|
|
50
54
|
:'bucket_name' => :'String',
|
|
51
55
|
:'log_folder' => :'String'
|
|
52
56
|
}
|
|
@@ -85,6 +89,10 @@ module Akeyless
|
|
|
85
89
|
self.aws_region = attributes[:'aws_region']
|
|
86
90
|
end
|
|
87
91
|
|
|
92
|
+
if attributes.key?(:'aws_use_gateway_cloud_identity')
|
|
93
|
+
self.aws_use_gateway_cloud_identity = attributes[:'aws_use_gateway_cloud_identity']
|
|
94
|
+
end
|
|
95
|
+
|
|
88
96
|
if attributes.key?(:'bucket_name')
|
|
89
97
|
self.bucket_name = attributes[:'bucket_name']
|
|
90
98
|
end
|
|
@@ -115,6 +123,7 @@ module Akeyless
|
|
|
115
123
|
aws_access_id == o.aws_access_id &&
|
|
116
124
|
aws_access_key == o.aws_access_key &&
|
|
117
125
|
aws_region == o.aws_region &&
|
|
126
|
+
aws_use_gateway_cloud_identity == o.aws_use_gateway_cloud_identity &&
|
|
118
127
|
bucket_name == o.bucket_name &&
|
|
119
128
|
log_folder == o.log_folder
|
|
120
129
|
end
|
|
@@ -128,7 +137,7 @@ module Akeyless
|
|
|
128
137
|
# Calculates hash code according to all attributes.
|
|
129
138
|
# @return [Integer] Hash code
|
|
130
139
|
def hash
|
|
131
|
-
[aws_access_id, aws_access_key, aws_region, bucket_name, log_folder].hash
|
|
140
|
+
[aws_access_id, aws_access_key, aws_region, aws_use_gateway_cloud_identity, bucket_name, log_folder].hash
|
|
132
141
|
end
|
|
133
142
|
|
|
134
143
|
# Builds the object from hash
|