akeyless 5.0.28 → 5.0.30
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 +49 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AnthropicTargetDetails.md +20 -0
- data/docs/AuthMethod.md +3 -1
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateSAML.md +3 -1
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +3 -1
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BedrockTargetDetails.md +20 -0
- data/docs/CreateAuthMethodSAML.md +3 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateDBTarget.md +2 -0
- data/docs/CreateMcpSecretBearerToken.md +46 -0
- data/docs/CreateMcpSecretOAuthAuthCode.md +56 -0
- data/docs/CreateMcpSecretOAuthClientCreds.md +52 -0
- data/docs/CreatePKICertIssuer.md +1 -1
- data/docs/CustomDnsTargetDetails.md +20 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DbTargetDetails.md +2 -0
- data/docs/EmailCustomization.md +28 -0
- data/docs/EmailCustomizationAccountInformation.md +24 -0
- data/docs/EmailCustomizationAccountInformationValues.md +24 -0
- data/docs/EsmGetSecretOutput.md +4 -0
- data/docs/FileDownloadInstructions.md +20 -0
- data/docs/FileInfo.md +50 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/GrokTargetDetails.md +22 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/KeycloakTargetDetails.md +24 -0
- data/docs/OktaTargetDetails.md +20 -0
- data/docs/RuntimeAuthorityCommand.md +4 -0
- data/docs/SAMLAccessRules.md +3 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetCreateAnthropic.md +36 -0
- data/docs/TargetCreateBedrock.md +36 -0
- data/docs/TargetCreateCustomDns.md +36 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateGrok.md +38 -0
- data/docs/TargetCreateKeycloak.md +40 -0
- data/docs/TargetCreateOkta.md +36 -0
- data/docs/TargetTypeDetailsInput.md +12 -0
- data/docs/TargetUpdateAnthropic.md +42 -0
- data/docs/TargetUpdateBedrock.md +42 -0
- data/docs/TargetUpdateCustomDns.md +40 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateGrok.md +44 -0
- data/docs/TargetUpdateKeycloak.md +44 -0
- data/docs/TargetUpdateOkta.md +40 -0
- data/docs/UidExpirationEvent.md +18 -0
- data/docs/UpdateAuthMethodSAML.md +3 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateDBTarget.md +2 -0
- data/docs/UpdateMcpSecretBearerToken.md +40 -0
- data/docs/UpdateMcpSecretOAuthAuthCode.md +50 -0
- data/docs/UpdateMcpSecretOAuthClientCreds.md +46 -0
- data/docs/UpdatePKICertIssuer.md +1 -1
- data/docs/UscGetSecretOutput.md +4 -0
- data/docs/V2Api.md +1134 -0
- data/lib/akeyless/api/v2_api.rb +1249 -97
- data/lib/akeyless/models/account_general_settings.rb +20 -1
- data/lib/akeyless/models/anthropic_target_details.rb +224 -0
- data/lib/akeyless/models/auth_method.rb +15 -4
- data/lib/akeyless/models/auth_method_access_info.rb +13 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
- data/lib/akeyless/models/bedrock_target_details.rb +224 -0
- data/lib/akeyless/models/create_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/create_db_target.rb +11 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +371 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +423 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +403 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/custom_dns_target_details.rb +225 -0
- data/lib/akeyless/models/db_target_details.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +11 -1
- data/lib/akeyless/models/email_customization.rb +259 -0
- data/lib/akeyless/models/email_customization_account_information.rb +242 -0
- data/lib/akeyless/models/email_customization_account_information_values.rb +241 -0
- data/lib/akeyless/models/esm_get_secret_output.rb +19 -1
- data/lib/akeyless/models/file_download_instructions.rb +223 -0
- data/lib/akeyless/models/file_info.rb +358 -0
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +1 -1
- data/lib/akeyless/models/grok_target_details.rb +234 -0
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/keycloak_target_details.rb +242 -0
- data/lib/akeyless/models/okta_target_details.rb +224 -0
- data/lib/akeyless/models/runtime_authority_command.rb +21 -1
- data/lib/akeyless/models/saml_access_rules.rb +14 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/target_create_anthropic.rb +317 -0
- data/lib/akeyless/models/target_create_bedrock.rb +317 -0
- data/lib/akeyless/models/target_create_custom_dns.rb +330 -0
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_grok.rb +327 -0
- data/lib/akeyless/models/target_create_keycloak.rb +334 -0
- data/lib/akeyless/models/target_create_okta.rb +314 -0
- data/lib/akeyless/models/target_type_details_input.rb +55 -1
- data/lib/akeyless/models/target_update_anthropic.rb +351 -0
- data/lib/akeyless/models/target_update_bedrock.rb +351 -0
- data/lib/akeyless/models/target_update_custom_dns.rb +350 -0
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_grok.rb +361 -0
- data/lib/akeyless/models/target_update_keycloak.rb +354 -0
- data/lib/akeyless/models/target_update_okta.rb +334 -0
- data/lib/akeyless/models/uid_expiration_event.rb +214 -0
- data/lib/akeyless/models/update_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/update_db_target.rb +11 -1
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +338 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +390 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +370 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +19 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +30 -0
- data/spec/models/anthropic_target_details_spec.rb +42 -0
- data/spec/models/bedrock_target_details_spec.rb +42 -0
- data/spec/models/create_mcp_secret_bearer_token_spec.rb +120 -0
- data/spec/models/create_mcp_secret_o_auth_auth_code_spec.rb +150 -0
- data/spec/models/create_mcp_secret_o_auth_client_creds_spec.rb +138 -0
- data/spec/models/custom_dns_target_details_spec.rb +42 -0
- data/spec/models/email_customization_account_information_spec.rb +54 -0
- data/spec/models/email_customization_account_information_values_spec.rb +54 -0
- data/spec/models/email_customization_spec.rb +66 -0
- data/spec/models/file_download_instructions_spec.rb +42 -0
- data/spec/models/file_info_spec.rb +132 -0
- data/spec/models/grok_target_details_spec.rb +48 -0
- data/spec/models/keycloak_target_details_spec.rb +54 -0
- data/spec/models/okta_target_details_spec.rb +42 -0
- data/spec/models/target_create_anthropic_spec.rb +90 -0
- data/spec/models/target_create_bedrock_spec.rb +90 -0
- data/spec/models/target_create_custom_dns_spec.rb +90 -0
- data/spec/models/target_create_grok_spec.rb +96 -0
- data/spec/models/target_create_keycloak_spec.rb +102 -0
- data/spec/models/target_create_okta_spec.rb +90 -0
- data/spec/models/target_update_anthropic_spec.rb +108 -0
- data/spec/models/target_update_bedrock_spec.rb +108 -0
- data/spec/models/target_update_custom_dns_spec.rb +102 -0
- data/spec/models/target_update_grok_spec.rb +114 -0
- data/spec/models/target_update_keycloak_spec.rb +114 -0
- data/spec/models/target_update_okta_spec.rb +102 -0
- data/spec/models/uid_expiration_event_spec.rb +36 -0
- data/spec/models/update_mcp_secret_bearer_token_spec.rb +102 -0
- data/spec/models/update_mcp_secret_o_auth_auth_code_spec.rb +132 -0
- data/spec/models/update_mcp_secret_o_auth_client_creds_spec.rb +120 -0
- metadata +1295 -1175
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -5279,6 +5279,198 @@ module Akeyless
|
|
|
5279
5279
|
return data, status_code, headers
|
|
5280
5280
|
end
|
|
5281
5281
|
|
|
5282
|
+
# @param create_mcp_secret_bearer_token [CreateMcpSecretBearerToken]
|
|
5283
|
+
# @param [Hash] opts the optional parameters
|
|
5284
|
+
# @return [CreateSecretOutput]
|
|
5285
|
+
def create_mcp_secret_bearer_token(create_mcp_secret_bearer_token, opts = {})
|
|
5286
|
+
data, _status_code, _headers = create_mcp_secret_bearer_token_with_http_info(create_mcp_secret_bearer_token, opts)
|
|
5287
|
+
data
|
|
5288
|
+
end
|
|
5289
|
+
|
|
5290
|
+
# @param create_mcp_secret_bearer_token [CreateMcpSecretBearerToken]
|
|
5291
|
+
# @param [Hash] opts the optional parameters
|
|
5292
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5293
|
+
def create_mcp_secret_bearer_token_with_http_info(create_mcp_secret_bearer_token, opts = {})
|
|
5294
|
+
if @api_client.config.debugging
|
|
5295
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_bearer_token ...'
|
|
5296
|
+
end
|
|
5297
|
+
# verify the required parameter 'create_mcp_secret_bearer_token' is set
|
|
5298
|
+
if @api_client.config.client_side_validation && create_mcp_secret_bearer_token.nil?
|
|
5299
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_bearer_token' when calling V2Api.create_mcp_secret_bearer_token"
|
|
5300
|
+
end
|
|
5301
|
+
# resource path
|
|
5302
|
+
local_var_path = '/create-mcp-secret-bearer-token'
|
|
5303
|
+
|
|
5304
|
+
# query parameters
|
|
5305
|
+
query_params = opts[:query_params] || {}
|
|
5306
|
+
|
|
5307
|
+
# header parameters
|
|
5308
|
+
header_params = opts[:header_params] || {}
|
|
5309
|
+
# HTTP header 'Accept' (if needed)
|
|
5310
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5311
|
+
# HTTP header 'Content-Type'
|
|
5312
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5313
|
+
if !content_type.nil?
|
|
5314
|
+
header_params['Content-Type'] = content_type
|
|
5315
|
+
end
|
|
5316
|
+
|
|
5317
|
+
# form parameters
|
|
5318
|
+
form_params = opts[:form_params] || {}
|
|
5319
|
+
|
|
5320
|
+
# http body (model)
|
|
5321
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_bearer_token)
|
|
5322
|
+
|
|
5323
|
+
# return_type
|
|
5324
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5325
|
+
|
|
5326
|
+
# auth_names
|
|
5327
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5328
|
+
|
|
5329
|
+
new_options = opts.merge(
|
|
5330
|
+
:operation => :"V2Api.create_mcp_secret_bearer_token",
|
|
5331
|
+
:header_params => header_params,
|
|
5332
|
+
:query_params => query_params,
|
|
5333
|
+
:form_params => form_params,
|
|
5334
|
+
:body => post_body,
|
|
5335
|
+
:auth_names => auth_names,
|
|
5336
|
+
:return_type => return_type
|
|
5337
|
+
)
|
|
5338
|
+
|
|
5339
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5340
|
+
if @api_client.config.debugging
|
|
5341
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_bearer_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5342
|
+
end
|
|
5343
|
+
return data, status_code, headers
|
|
5344
|
+
end
|
|
5345
|
+
|
|
5346
|
+
# @param create_mcp_secret_o_auth_auth_code [CreateMcpSecretOAuthAuthCode]
|
|
5347
|
+
# @param [Hash] opts the optional parameters
|
|
5348
|
+
# @return [CreateSecretOutput]
|
|
5349
|
+
def create_mcp_secret_o_auth_auth_code(create_mcp_secret_o_auth_auth_code, opts = {})
|
|
5350
|
+
data, _status_code, _headers = create_mcp_secret_o_auth_auth_code_with_http_info(create_mcp_secret_o_auth_auth_code, opts)
|
|
5351
|
+
data
|
|
5352
|
+
end
|
|
5353
|
+
|
|
5354
|
+
# @param create_mcp_secret_o_auth_auth_code [CreateMcpSecretOAuthAuthCode]
|
|
5355
|
+
# @param [Hash] opts the optional parameters
|
|
5356
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5357
|
+
def create_mcp_secret_o_auth_auth_code_with_http_info(create_mcp_secret_o_auth_auth_code, opts = {})
|
|
5358
|
+
if @api_client.config.debugging
|
|
5359
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_o_auth_auth_code ...'
|
|
5360
|
+
end
|
|
5361
|
+
# verify the required parameter 'create_mcp_secret_o_auth_auth_code' is set
|
|
5362
|
+
if @api_client.config.client_side_validation && create_mcp_secret_o_auth_auth_code.nil?
|
|
5363
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_o_auth_auth_code' when calling V2Api.create_mcp_secret_o_auth_auth_code"
|
|
5364
|
+
end
|
|
5365
|
+
# resource path
|
|
5366
|
+
local_var_path = '/create-mcp-secret-oauth-authorization-code'
|
|
5367
|
+
|
|
5368
|
+
# query parameters
|
|
5369
|
+
query_params = opts[:query_params] || {}
|
|
5370
|
+
|
|
5371
|
+
# header parameters
|
|
5372
|
+
header_params = opts[:header_params] || {}
|
|
5373
|
+
# HTTP header 'Accept' (if needed)
|
|
5374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5375
|
+
# HTTP header 'Content-Type'
|
|
5376
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5377
|
+
if !content_type.nil?
|
|
5378
|
+
header_params['Content-Type'] = content_type
|
|
5379
|
+
end
|
|
5380
|
+
|
|
5381
|
+
# form parameters
|
|
5382
|
+
form_params = opts[:form_params] || {}
|
|
5383
|
+
|
|
5384
|
+
# http body (model)
|
|
5385
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_o_auth_auth_code)
|
|
5386
|
+
|
|
5387
|
+
# return_type
|
|
5388
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5389
|
+
|
|
5390
|
+
# auth_names
|
|
5391
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5392
|
+
|
|
5393
|
+
new_options = opts.merge(
|
|
5394
|
+
:operation => :"V2Api.create_mcp_secret_o_auth_auth_code",
|
|
5395
|
+
:header_params => header_params,
|
|
5396
|
+
:query_params => query_params,
|
|
5397
|
+
:form_params => form_params,
|
|
5398
|
+
:body => post_body,
|
|
5399
|
+
:auth_names => auth_names,
|
|
5400
|
+
:return_type => return_type
|
|
5401
|
+
)
|
|
5402
|
+
|
|
5403
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5404
|
+
if @api_client.config.debugging
|
|
5405
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_o_auth_auth_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5406
|
+
end
|
|
5407
|
+
return data, status_code, headers
|
|
5408
|
+
end
|
|
5409
|
+
|
|
5410
|
+
# @param create_mcp_secret_o_auth_client_creds [CreateMcpSecretOAuthClientCreds]
|
|
5411
|
+
# @param [Hash] opts the optional parameters
|
|
5412
|
+
# @return [CreateSecretOutput]
|
|
5413
|
+
def create_mcp_secret_o_auth_client_creds(create_mcp_secret_o_auth_client_creds, opts = {})
|
|
5414
|
+
data, _status_code, _headers = create_mcp_secret_o_auth_client_creds_with_http_info(create_mcp_secret_o_auth_client_creds, opts)
|
|
5415
|
+
data
|
|
5416
|
+
end
|
|
5417
|
+
|
|
5418
|
+
# @param create_mcp_secret_o_auth_client_creds [CreateMcpSecretOAuthClientCreds]
|
|
5419
|
+
# @param [Hash] opts the optional parameters
|
|
5420
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5421
|
+
def create_mcp_secret_o_auth_client_creds_with_http_info(create_mcp_secret_o_auth_client_creds, opts = {})
|
|
5422
|
+
if @api_client.config.debugging
|
|
5423
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_o_auth_client_creds ...'
|
|
5424
|
+
end
|
|
5425
|
+
# verify the required parameter 'create_mcp_secret_o_auth_client_creds' is set
|
|
5426
|
+
if @api_client.config.client_side_validation && create_mcp_secret_o_auth_client_creds.nil?
|
|
5427
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_o_auth_client_creds' when calling V2Api.create_mcp_secret_o_auth_client_creds"
|
|
5428
|
+
end
|
|
5429
|
+
# resource path
|
|
5430
|
+
local_var_path = '/create-mcp-secret-oauth-client-credentials'
|
|
5431
|
+
|
|
5432
|
+
# query parameters
|
|
5433
|
+
query_params = opts[:query_params] || {}
|
|
5434
|
+
|
|
5435
|
+
# header parameters
|
|
5436
|
+
header_params = opts[:header_params] || {}
|
|
5437
|
+
# HTTP header 'Accept' (if needed)
|
|
5438
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5439
|
+
# HTTP header 'Content-Type'
|
|
5440
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5441
|
+
if !content_type.nil?
|
|
5442
|
+
header_params['Content-Type'] = content_type
|
|
5443
|
+
end
|
|
5444
|
+
|
|
5445
|
+
# form parameters
|
|
5446
|
+
form_params = opts[:form_params] || {}
|
|
5447
|
+
|
|
5448
|
+
# http body (model)
|
|
5449
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_o_auth_client_creds)
|
|
5450
|
+
|
|
5451
|
+
# return_type
|
|
5452
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5453
|
+
|
|
5454
|
+
# auth_names
|
|
5455
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5456
|
+
|
|
5457
|
+
new_options = opts.merge(
|
|
5458
|
+
:operation => :"V2Api.create_mcp_secret_o_auth_client_creds",
|
|
5459
|
+
:header_params => header_params,
|
|
5460
|
+
:query_params => query_params,
|
|
5461
|
+
:form_params => form_params,
|
|
5462
|
+
:body => post_body,
|
|
5463
|
+
:auth_names => auth_names,
|
|
5464
|
+
:return_type => return_type
|
|
5465
|
+
)
|
|
5466
|
+
|
|
5467
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5468
|
+
if @api_client.config.debugging
|
|
5469
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_o_auth_client_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5470
|
+
end
|
|
5471
|
+
return data, status_code, headers
|
|
5472
|
+
end
|
|
5473
|
+
|
|
5282
5474
|
# @param create_native_k8_s_target [CreateNativeK8STarget]
|
|
5283
5475
|
# @param [Hash] opts the optional parameters
|
|
5284
5476
|
# @return [CreateNativeK8STargetOutput]
|
|
@@ -29994,6 +30186,70 @@ module Akeyless
|
|
|
29994
30186
|
return data, status_code, headers
|
|
29995
30187
|
end
|
|
29996
30188
|
|
|
30189
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30190
|
+
# @param [Hash] opts the optional parameters
|
|
30191
|
+
# @return [TargetCreateOutput]
|
|
30192
|
+
def target_create_anthropic(target_create_anthropic, opts = {})
|
|
30193
|
+
data, _status_code, _headers = target_create_anthropic_with_http_info(target_create_anthropic, opts)
|
|
30194
|
+
data
|
|
30195
|
+
end
|
|
30196
|
+
|
|
30197
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30198
|
+
# @param [Hash] opts the optional parameters
|
|
30199
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30200
|
+
def target_create_anthropic_with_http_info(target_create_anthropic, opts = {})
|
|
30201
|
+
if @api_client.config.debugging
|
|
30202
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_anthropic ...'
|
|
30203
|
+
end
|
|
30204
|
+
# verify the required parameter 'target_create_anthropic' is set
|
|
30205
|
+
if @api_client.config.client_side_validation && target_create_anthropic.nil?
|
|
30206
|
+
fail ArgumentError, "Missing the required parameter 'target_create_anthropic' when calling V2Api.target_create_anthropic"
|
|
30207
|
+
end
|
|
30208
|
+
# resource path
|
|
30209
|
+
local_var_path = '/target-create-anthropic'
|
|
30210
|
+
|
|
30211
|
+
# query parameters
|
|
30212
|
+
query_params = opts[:query_params] || {}
|
|
30213
|
+
|
|
30214
|
+
# header parameters
|
|
30215
|
+
header_params = opts[:header_params] || {}
|
|
30216
|
+
# HTTP header 'Accept' (if needed)
|
|
30217
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30218
|
+
# HTTP header 'Content-Type'
|
|
30219
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30220
|
+
if !content_type.nil?
|
|
30221
|
+
header_params['Content-Type'] = content_type
|
|
30222
|
+
end
|
|
30223
|
+
|
|
30224
|
+
# form parameters
|
|
30225
|
+
form_params = opts[:form_params] || {}
|
|
30226
|
+
|
|
30227
|
+
# http body (model)
|
|
30228
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_anthropic)
|
|
30229
|
+
|
|
30230
|
+
# return_type
|
|
30231
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30232
|
+
|
|
30233
|
+
# auth_names
|
|
30234
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30235
|
+
|
|
30236
|
+
new_options = opts.merge(
|
|
30237
|
+
:operation => :"V2Api.target_create_anthropic",
|
|
30238
|
+
:header_params => header_params,
|
|
30239
|
+
:query_params => query_params,
|
|
30240
|
+
:form_params => form_params,
|
|
30241
|
+
:body => post_body,
|
|
30242
|
+
:auth_names => auth_names,
|
|
30243
|
+
:return_type => return_type
|
|
30244
|
+
)
|
|
30245
|
+
|
|
30246
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30247
|
+
if @api_client.config.debugging
|
|
30248
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30249
|
+
end
|
|
30250
|
+
return data, status_code, headers
|
|
30251
|
+
end
|
|
30252
|
+
|
|
29997
30253
|
# @param target_create_artifactory [TargetCreateArtifactory]
|
|
29998
30254
|
# @param [Hash] opts the optional parameters
|
|
29999
30255
|
# @return [TargetCreateOutput]
|
|
@@ -30186,27 +30442,27 @@ module Akeyless
|
|
|
30186
30442
|
return data, status_code, headers
|
|
30187
30443
|
end
|
|
30188
30444
|
|
|
30189
|
-
# @param
|
|
30445
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30190
30446
|
# @param [Hash] opts the optional parameters
|
|
30191
30447
|
# @return [TargetCreateOutput]
|
|
30192
|
-
def
|
|
30193
|
-
data, _status_code, _headers =
|
|
30448
|
+
def target_create_bedrock(target_create_bedrock, opts = {})
|
|
30449
|
+
data, _status_code, _headers = target_create_bedrock_with_http_info(target_create_bedrock, opts)
|
|
30194
30450
|
data
|
|
30195
30451
|
end
|
|
30196
30452
|
|
|
30197
|
-
# @param
|
|
30453
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30198
30454
|
# @param [Hash] opts the optional parameters
|
|
30199
30455
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30200
|
-
def
|
|
30456
|
+
def target_create_bedrock_with_http_info(target_create_bedrock, opts = {})
|
|
30201
30457
|
if @api_client.config.debugging
|
|
30202
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_bedrock ...'
|
|
30203
30459
|
end
|
|
30204
|
-
# verify the required parameter '
|
|
30205
|
-
if @api_client.config.client_side_validation &&
|
|
30206
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30460
|
+
# verify the required parameter 'target_create_bedrock' is set
|
|
30461
|
+
if @api_client.config.client_side_validation && target_create_bedrock.nil?
|
|
30462
|
+
fail ArgumentError, "Missing the required parameter 'target_create_bedrock' when calling V2Api.target_create_bedrock"
|
|
30207
30463
|
end
|
|
30208
30464
|
# resource path
|
|
30209
|
-
local_var_path = '/target-create-
|
|
30465
|
+
local_var_path = '/target-create-bedrock'
|
|
30210
30466
|
|
|
30211
30467
|
# query parameters
|
|
30212
30468
|
query_params = opts[:query_params] || {}
|
|
@@ -30225,7 +30481,7 @@ module Akeyless
|
|
|
30225
30481
|
form_params = opts[:form_params] || {}
|
|
30226
30482
|
|
|
30227
30483
|
# http body (model)
|
|
30228
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_bedrock)
|
|
30229
30485
|
|
|
30230
30486
|
# return_type
|
|
30231
30487
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30234,7 +30490,7 @@ module Akeyless
|
|
|
30234
30490
|
auth_names = opts[:debug_auth_names] || []
|
|
30235
30491
|
|
|
30236
30492
|
new_options = opts.merge(
|
|
30237
|
-
:operation => :"V2Api.
|
|
30493
|
+
:operation => :"V2Api.target_create_bedrock",
|
|
30238
30494
|
:header_params => header_params,
|
|
30239
30495
|
:query_params => query_params,
|
|
30240
30496
|
:form_params => form_params,
|
|
@@ -30245,32 +30501,32 @@ module Akeyless
|
|
|
30245
30501
|
|
|
30246
30502
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30247
30503
|
if @api_client.config.debugging
|
|
30248
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30504
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30249
30505
|
end
|
|
30250
30506
|
return data, status_code, headers
|
|
30251
30507
|
end
|
|
30252
30508
|
|
|
30253
|
-
# @param
|
|
30509
|
+
# @param target_create_cloudflare [TargetCreateCloudflare]
|
|
30254
30510
|
# @param [Hash] opts the optional parameters
|
|
30255
30511
|
# @return [TargetCreateOutput]
|
|
30256
|
-
def
|
|
30257
|
-
data, _status_code, _headers =
|
|
30512
|
+
def target_create_cloudflare(target_create_cloudflare, opts = {})
|
|
30513
|
+
data, _status_code, _headers = target_create_cloudflare_with_http_info(target_create_cloudflare, opts)
|
|
30258
30514
|
data
|
|
30259
30515
|
end
|
|
30260
30516
|
|
|
30261
|
-
# @param
|
|
30517
|
+
# @param target_create_cloudflare [TargetCreateCloudflare]
|
|
30262
30518
|
# @param [Hash] opts the optional parameters
|
|
30263
30519
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30264
|
-
def
|
|
30520
|
+
def target_create_cloudflare_with_http_info(target_create_cloudflare, opts = {})
|
|
30265
30521
|
if @api_client.config.debugging
|
|
30266
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30522
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_cloudflare ...'
|
|
30267
30523
|
end
|
|
30268
|
-
# verify the required parameter '
|
|
30269
|
-
if @api_client.config.client_side_validation &&
|
|
30270
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30524
|
+
# verify the required parameter 'target_create_cloudflare' is set
|
|
30525
|
+
if @api_client.config.client_side_validation && target_create_cloudflare.nil?
|
|
30526
|
+
fail ArgumentError, "Missing the required parameter 'target_create_cloudflare' when calling V2Api.target_create_cloudflare"
|
|
30271
30527
|
end
|
|
30272
30528
|
# resource path
|
|
30273
|
-
local_var_path = '/target-create-
|
|
30529
|
+
local_var_path = '/target-create-cloudflare'
|
|
30274
30530
|
|
|
30275
30531
|
# query parameters
|
|
30276
30532
|
query_params = opts[:query_params] || {}
|
|
@@ -30289,7 +30545,7 @@ module Akeyless
|
|
|
30289
30545
|
form_params = opts[:form_params] || {}
|
|
30290
30546
|
|
|
30291
30547
|
# http body (model)
|
|
30292
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30548
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_cloudflare)
|
|
30293
30549
|
|
|
30294
30550
|
# return_type
|
|
30295
30551
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30298,7 +30554,7 @@ module Akeyless
|
|
|
30298
30554
|
auth_names = opts[:debug_auth_names] || []
|
|
30299
30555
|
|
|
30300
30556
|
new_options = opts.merge(
|
|
30301
|
-
:operation => :"V2Api.
|
|
30557
|
+
:operation => :"V2Api.target_create_cloudflare",
|
|
30302
30558
|
:header_params => header_params,
|
|
30303
30559
|
:query_params => query_params,
|
|
30304
30560
|
:form_params => form_params,
|
|
@@ -30309,32 +30565,32 @@ module Akeyless
|
|
|
30309
30565
|
|
|
30310
30566
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30311
30567
|
if @api_client.config.debugging
|
|
30312
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30568
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_cloudflare\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30313
30569
|
end
|
|
30314
30570
|
return data, status_code, headers
|
|
30315
30571
|
end
|
|
30316
30572
|
|
|
30317
|
-
# @param
|
|
30573
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
30318
30574
|
# @param [Hash] opts the optional parameters
|
|
30319
30575
|
# @return [TargetCreateOutput]
|
|
30320
|
-
def
|
|
30321
|
-
data, _status_code, _headers =
|
|
30576
|
+
def target_create_custom_dns(target_create_custom_dns, opts = {})
|
|
30577
|
+
data, _status_code, _headers = target_create_custom_dns_with_http_info(target_create_custom_dns, opts)
|
|
30322
30578
|
data
|
|
30323
30579
|
end
|
|
30324
30580
|
|
|
30325
|
-
# @param
|
|
30581
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
30326
30582
|
# @param [Hash] opts the optional parameters
|
|
30327
30583
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30328
|
-
def
|
|
30584
|
+
def target_create_custom_dns_with_http_info(target_create_custom_dns, opts = {})
|
|
30329
30585
|
if @api_client.config.debugging
|
|
30330
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30586
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_custom_dns ...'
|
|
30331
30587
|
end
|
|
30332
|
-
# verify the required parameter '
|
|
30333
|
-
if @api_client.config.client_side_validation &&
|
|
30334
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30588
|
+
# verify the required parameter 'target_create_custom_dns' is set
|
|
30589
|
+
if @api_client.config.client_side_validation && target_create_custom_dns.nil?
|
|
30590
|
+
fail ArgumentError, "Missing the required parameter 'target_create_custom_dns' when calling V2Api.target_create_custom_dns"
|
|
30335
30591
|
end
|
|
30336
30592
|
# resource path
|
|
30337
|
-
local_var_path = '/target-create-
|
|
30593
|
+
local_var_path = '/target-create-custom-dns'
|
|
30338
30594
|
|
|
30339
30595
|
# query parameters
|
|
30340
30596
|
query_params = opts[:query_params] || {}
|
|
@@ -30353,7 +30609,7 @@ module Akeyless
|
|
|
30353
30609
|
form_params = opts[:form_params] || {}
|
|
30354
30610
|
|
|
30355
30611
|
# http body (model)
|
|
30356
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30612
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_custom_dns)
|
|
30357
30613
|
|
|
30358
30614
|
# return_type
|
|
30359
30615
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30362,7 +30618,7 @@ module Akeyless
|
|
|
30362
30618
|
auth_names = opts[:debug_auth_names] || []
|
|
30363
30619
|
|
|
30364
30620
|
new_options = opts.merge(
|
|
30365
|
-
:operation => :"V2Api.
|
|
30621
|
+
:operation => :"V2Api.target_create_custom_dns",
|
|
30366
30622
|
:header_params => header_params,
|
|
30367
30623
|
:query_params => query_params,
|
|
30368
30624
|
:form_params => form_params,
|
|
@@ -30373,7 +30629,135 @@ module Akeyless
|
|
|
30373
30629
|
|
|
30374
30630
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30375
30631
|
if @api_client.config.debugging
|
|
30376
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30632
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30633
|
+
end
|
|
30634
|
+
return data, status_code, headers
|
|
30635
|
+
end
|
|
30636
|
+
|
|
30637
|
+
# @param target_create_db [TargetCreateDB]
|
|
30638
|
+
# @param [Hash] opts the optional parameters
|
|
30639
|
+
# @return [TargetCreateOutput]
|
|
30640
|
+
def target_create_db(target_create_db, opts = {})
|
|
30641
|
+
data, _status_code, _headers = target_create_db_with_http_info(target_create_db, opts)
|
|
30642
|
+
data
|
|
30643
|
+
end
|
|
30644
|
+
|
|
30645
|
+
# @param target_create_db [TargetCreateDB]
|
|
30646
|
+
# @param [Hash] opts the optional parameters
|
|
30647
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30648
|
+
def target_create_db_with_http_info(target_create_db, opts = {})
|
|
30649
|
+
if @api_client.config.debugging
|
|
30650
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_db ...'
|
|
30651
|
+
end
|
|
30652
|
+
# verify the required parameter 'target_create_db' is set
|
|
30653
|
+
if @api_client.config.client_side_validation && target_create_db.nil?
|
|
30654
|
+
fail ArgumentError, "Missing the required parameter 'target_create_db' when calling V2Api.target_create_db"
|
|
30655
|
+
end
|
|
30656
|
+
# resource path
|
|
30657
|
+
local_var_path = '/target-create-db'
|
|
30658
|
+
|
|
30659
|
+
# query parameters
|
|
30660
|
+
query_params = opts[:query_params] || {}
|
|
30661
|
+
|
|
30662
|
+
# header parameters
|
|
30663
|
+
header_params = opts[:header_params] || {}
|
|
30664
|
+
# HTTP header 'Accept' (if needed)
|
|
30665
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30666
|
+
# HTTP header 'Content-Type'
|
|
30667
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30668
|
+
if !content_type.nil?
|
|
30669
|
+
header_params['Content-Type'] = content_type
|
|
30670
|
+
end
|
|
30671
|
+
|
|
30672
|
+
# form parameters
|
|
30673
|
+
form_params = opts[:form_params] || {}
|
|
30674
|
+
|
|
30675
|
+
# http body (model)
|
|
30676
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_db)
|
|
30677
|
+
|
|
30678
|
+
# return_type
|
|
30679
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30680
|
+
|
|
30681
|
+
# auth_names
|
|
30682
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30683
|
+
|
|
30684
|
+
new_options = opts.merge(
|
|
30685
|
+
:operation => :"V2Api.target_create_db",
|
|
30686
|
+
:header_params => header_params,
|
|
30687
|
+
:query_params => query_params,
|
|
30688
|
+
:form_params => form_params,
|
|
30689
|
+
:body => post_body,
|
|
30690
|
+
:auth_names => auth_names,
|
|
30691
|
+
:return_type => return_type
|
|
30692
|
+
)
|
|
30693
|
+
|
|
30694
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30695
|
+
if @api_client.config.debugging
|
|
30696
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30697
|
+
end
|
|
30698
|
+
return data, status_code, headers
|
|
30699
|
+
end
|
|
30700
|
+
|
|
30701
|
+
# @param target_create_digi_cert [TargetCreateDigiCert]
|
|
30702
|
+
# @param [Hash] opts the optional parameters
|
|
30703
|
+
# @return [TargetCreateOutput]
|
|
30704
|
+
def target_create_digi_cert(target_create_digi_cert, opts = {})
|
|
30705
|
+
data, _status_code, _headers = target_create_digi_cert_with_http_info(target_create_digi_cert, opts)
|
|
30706
|
+
data
|
|
30707
|
+
end
|
|
30708
|
+
|
|
30709
|
+
# @param target_create_digi_cert [TargetCreateDigiCert]
|
|
30710
|
+
# @param [Hash] opts the optional parameters
|
|
30711
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30712
|
+
def target_create_digi_cert_with_http_info(target_create_digi_cert, opts = {})
|
|
30713
|
+
if @api_client.config.debugging
|
|
30714
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_digi_cert ...'
|
|
30715
|
+
end
|
|
30716
|
+
# verify the required parameter 'target_create_digi_cert' is set
|
|
30717
|
+
if @api_client.config.client_side_validation && target_create_digi_cert.nil?
|
|
30718
|
+
fail ArgumentError, "Missing the required parameter 'target_create_digi_cert' when calling V2Api.target_create_digi_cert"
|
|
30719
|
+
end
|
|
30720
|
+
# resource path
|
|
30721
|
+
local_var_path = '/target-create-digicert'
|
|
30722
|
+
|
|
30723
|
+
# query parameters
|
|
30724
|
+
query_params = opts[:query_params] || {}
|
|
30725
|
+
|
|
30726
|
+
# header parameters
|
|
30727
|
+
header_params = opts[:header_params] || {}
|
|
30728
|
+
# HTTP header 'Accept' (if needed)
|
|
30729
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30730
|
+
# HTTP header 'Content-Type'
|
|
30731
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30732
|
+
if !content_type.nil?
|
|
30733
|
+
header_params['Content-Type'] = content_type
|
|
30734
|
+
end
|
|
30735
|
+
|
|
30736
|
+
# form parameters
|
|
30737
|
+
form_params = opts[:form_params] || {}
|
|
30738
|
+
|
|
30739
|
+
# http body (model)
|
|
30740
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_digi_cert)
|
|
30741
|
+
|
|
30742
|
+
# return_type
|
|
30743
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30744
|
+
|
|
30745
|
+
# auth_names
|
|
30746
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30747
|
+
|
|
30748
|
+
new_options = opts.merge(
|
|
30749
|
+
:operation => :"V2Api.target_create_digi_cert",
|
|
30750
|
+
:header_params => header_params,
|
|
30751
|
+
:query_params => query_params,
|
|
30752
|
+
:form_params => form_params,
|
|
30753
|
+
:body => post_body,
|
|
30754
|
+
:auth_names => auth_names,
|
|
30755
|
+
:return_type => return_type
|
|
30756
|
+
)
|
|
30757
|
+
|
|
30758
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30759
|
+
if @api_client.config.debugging
|
|
30760
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_digi_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30377
30761
|
end
|
|
30378
30762
|
return data, status_code, headers
|
|
30379
30763
|
end
|
|
@@ -31082,6 +31466,70 @@ module Akeyless
|
|
|
31082
31466
|
return data, status_code, headers
|
|
31083
31467
|
end
|
|
31084
31468
|
|
|
31469
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
31470
|
+
# @param [Hash] opts the optional parameters
|
|
31471
|
+
# @return [TargetCreateOutput]
|
|
31472
|
+
def target_create_grok(target_create_grok, opts = {})
|
|
31473
|
+
data, _status_code, _headers = target_create_grok_with_http_info(target_create_grok, opts)
|
|
31474
|
+
data
|
|
31475
|
+
end
|
|
31476
|
+
|
|
31477
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
31478
|
+
# @param [Hash] opts the optional parameters
|
|
31479
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31480
|
+
def target_create_grok_with_http_info(target_create_grok, opts = {})
|
|
31481
|
+
if @api_client.config.debugging
|
|
31482
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_grok ...'
|
|
31483
|
+
end
|
|
31484
|
+
# verify the required parameter 'target_create_grok' is set
|
|
31485
|
+
if @api_client.config.client_side_validation && target_create_grok.nil?
|
|
31486
|
+
fail ArgumentError, "Missing the required parameter 'target_create_grok' when calling V2Api.target_create_grok"
|
|
31487
|
+
end
|
|
31488
|
+
# resource path
|
|
31489
|
+
local_var_path = '/target-create-grok'
|
|
31490
|
+
|
|
31491
|
+
# query parameters
|
|
31492
|
+
query_params = opts[:query_params] || {}
|
|
31493
|
+
|
|
31494
|
+
# header parameters
|
|
31495
|
+
header_params = opts[:header_params] || {}
|
|
31496
|
+
# HTTP header 'Accept' (if needed)
|
|
31497
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31498
|
+
# HTTP header 'Content-Type'
|
|
31499
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31500
|
+
if !content_type.nil?
|
|
31501
|
+
header_params['Content-Type'] = content_type
|
|
31502
|
+
end
|
|
31503
|
+
|
|
31504
|
+
# form parameters
|
|
31505
|
+
form_params = opts[:form_params] || {}
|
|
31506
|
+
|
|
31507
|
+
# http body (model)
|
|
31508
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_grok)
|
|
31509
|
+
|
|
31510
|
+
# return_type
|
|
31511
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31512
|
+
|
|
31513
|
+
# auth_names
|
|
31514
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31515
|
+
|
|
31516
|
+
new_options = opts.merge(
|
|
31517
|
+
:operation => :"V2Api.target_create_grok",
|
|
31518
|
+
:header_params => header_params,
|
|
31519
|
+
:query_params => query_params,
|
|
31520
|
+
:form_params => form_params,
|
|
31521
|
+
:body => post_body,
|
|
31522
|
+
:auth_names => auth_names,
|
|
31523
|
+
:return_type => return_type
|
|
31524
|
+
)
|
|
31525
|
+
|
|
31526
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31527
|
+
if @api_client.config.debugging
|
|
31528
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31529
|
+
end
|
|
31530
|
+
return data, status_code, headers
|
|
31531
|
+
end
|
|
31532
|
+
|
|
31085
31533
|
# @param target_create_hashi_vault [TargetCreateHashiVault]
|
|
31086
31534
|
# @param [Hash] opts the optional parameters
|
|
31087
31535
|
# @return [TargetCreateOutput]
|
|
@@ -31210,6 +31658,70 @@ module Akeyless
|
|
|
31210
31658
|
return data, status_code, headers
|
|
31211
31659
|
end
|
|
31212
31660
|
|
|
31661
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31662
|
+
# @param [Hash] opts the optional parameters
|
|
31663
|
+
# @return [TargetCreateOutput]
|
|
31664
|
+
def target_create_keycloak(target_create_keycloak, opts = {})
|
|
31665
|
+
data, _status_code, _headers = target_create_keycloak_with_http_info(target_create_keycloak, opts)
|
|
31666
|
+
data
|
|
31667
|
+
end
|
|
31668
|
+
|
|
31669
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31670
|
+
# @param [Hash] opts the optional parameters
|
|
31671
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31672
|
+
def target_create_keycloak_with_http_info(target_create_keycloak, opts = {})
|
|
31673
|
+
if @api_client.config.debugging
|
|
31674
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_keycloak ...'
|
|
31675
|
+
end
|
|
31676
|
+
# verify the required parameter 'target_create_keycloak' is set
|
|
31677
|
+
if @api_client.config.client_side_validation && target_create_keycloak.nil?
|
|
31678
|
+
fail ArgumentError, "Missing the required parameter 'target_create_keycloak' when calling V2Api.target_create_keycloak"
|
|
31679
|
+
end
|
|
31680
|
+
# resource path
|
|
31681
|
+
local_var_path = '/target-create-keycloak'
|
|
31682
|
+
|
|
31683
|
+
# query parameters
|
|
31684
|
+
query_params = opts[:query_params] || {}
|
|
31685
|
+
|
|
31686
|
+
# header parameters
|
|
31687
|
+
header_params = opts[:header_params] || {}
|
|
31688
|
+
# HTTP header 'Accept' (if needed)
|
|
31689
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31690
|
+
# HTTP header 'Content-Type'
|
|
31691
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31692
|
+
if !content_type.nil?
|
|
31693
|
+
header_params['Content-Type'] = content_type
|
|
31694
|
+
end
|
|
31695
|
+
|
|
31696
|
+
# form parameters
|
|
31697
|
+
form_params = opts[:form_params] || {}
|
|
31698
|
+
|
|
31699
|
+
# http body (model)
|
|
31700
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_keycloak)
|
|
31701
|
+
|
|
31702
|
+
# return_type
|
|
31703
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31704
|
+
|
|
31705
|
+
# auth_names
|
|
31706
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31707
|
+
|
|
31708
|
+
new_options = opts.merge(
|
|
31709
|
+
:operation => :"V2Api.target_create_keycloak",
|
|
31710
|
+
:header_params => header_params,
|
|
31711
|
+
:query_params => query_params,
|
|
31712
|
+
:form_params => form_params,
|
|
31713
|
+
:body => post_body,
|
|
31714
|
+
:auth_names => auth_names,
|
|
31715
|
+
:return_type => return_type
|
|
31716
|
+
)
|
|
31717
|
+
|
|
31718
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31719
|
+
if @api_client.config.debugging
|
|
31720
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31721
|
+
end
|
|
31722
|
+
return data, status_code, headers
|
|
31723
|
+
end
|
|
31724
|
+
|
|
31213
31725
|
# @param target_create_ldap [TargetCreateLdap]
|
|
31214
31726
|
# @param [Hash] opts the optional parameters
|
|
31215
31727
|
# @return [TargetCreateOutput]
|
|
@@ -31402,6 +31914,70 @@ module Akeyless
|
|
|
31402
31914
|
return data, status_code, headers
|
|
31403
31915
|
end
|
|
31404
31916
|
|
|
31917
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31918
|
+
# @param [Hash] opts the optional parameters
|
|
31919
|
+
# @return [TargetCreateOutput]
|
|
31920
|
+
def target_create_okta(target_create_okta, opts = {})
|
|
31921
|
+
data, _status_code, _headers = target_create_okta_with_http_info(target_create_okta, opts)
|
|
31922
|
+
data
|
|
31923
|
+
end
|
|
31924
|
+
|
|
31925
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31926
|
+
# @param [Hash] opts the optional parameters
|
|
31927
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31928
|
+
def target_create_okta_with_http_info(target_create_okta, opts = {})
|
|
31929
|
+
if @api_client.config.debugging
|
|
31930
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_okta ...'
|
|
31931
|
+
end
|
|
31932
|
+
# verify the required parameter 'target_create_okta' is set
|
|
31933
|
+
if @api_client.config.client_side_validation && target_create_okta.nil?
|
|
31934
|
+
fail ArgumentError, "Missing the required parameter 'target_create_okta' when calling V2Api.target_create_okta"
|
|
31935
|
+
end
|
|
31936
|
+
# resource path
|
|
31937
|
+
local_var_path = '/target-create-okta'
|
|
31938
|
+
|
|
31939
|
+
# query parameters
|
|
31940
|
+
query_params = opts[:query_params] || {}
|
|
31941
|
+
|
|
31942
|
+
# header parameters
|
|
31943
|
+
header_params = opts[:header_params] || {}
|
|
31944
|
+
# HTTP header 'Accept' (if needed)
|
|
31945
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31946
|
+
# HTTP header 'Content-Type'
|
|
31947
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31948
|
+
if !content_type.nil?
|
|
31949
|
+
header_params['Content-Type'] = content_type
|
|
31950
|
+
end
|
|
31951
|
+
|
|
31952
|
+
# form parameters
|
|
31953
|
+
form_params = opts[:form_params] || {}
|
|
31954
|
+
|
|
31955
|
+
# http body (model)
|
|
31956
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_okta)
|
|
31957
|
+
|
|
31958
|
+
# return_type
|
|
31959
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31960
|
+
|
|
31961
|
+
# auth_names
|
|
31962
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31963
|
+
|
|
31964
|
+
new_options = opts.merge(
|
|
31965
|
+
:operation => :"V2Api.target_create_okta",
|
|
31966
|
+
:header_params => header_params,
|
|
31967
|
+
:query_params => query_params,
|
|
31968
|
+
:form_params => form_params,
|
|
31969
|
+
:body => post_body,
|
|
31970
|
+
:auth_names => auth_names,
|
|
31971
|
+
:return_type => return_type
|
|
31972
|
+
)
|
|
31973
|
+
|
|
31974
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31975
|
+
if @api_client.config.debugging
|
|
31976
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31977
|
+
end
|
|
31978
|
+
return data, status_code, headers
|
|
31979
|
+
end
|
|
31980
|
+
|
|
31405
31981
|
# @param target_create_open_ai [TargetCreateOpenAI]
|
|
31406
31982
|
# @param [Hash] opts the optional parameters
|
|
31407
31983
|
# @return [TargetCreateOutput]
|
|
@@ -32178,19 +32754,83 @@ module Akeyless
|
|
|
32178
32754
|
data
|
|
32179
32755
|
end
|
|
32180
32756
|
|
|
32181
|
-
# @param target_get_details [TargetGetDetails]
|
|
32757
|
+
# @param target_get_details [TargetGetDetails]
|
|
32758
|
+
# @param [Hash] opts the optional parameters
|
|
32759
|
+
# @return [Array<(GetTargetDetailsOutput, Integer, Hash)>] GetTargetDetailsOutput data, response status code and response headers
|
|
32760
|
+
def target_get_details_with_http_info(target_get_details, opts = {})
|
|
32761
|
+
if @api_client.config.debugging
|
|
32762
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_get_details ...'
|
|
32763
|
+
end
|
|
32764
|
+
# verify the required parameter 'target_get_details' is set
|
|
32765
|
+
if @api_client.config.client_side_validation && target_get_details.nil?
|
|
32766
|
+
fail ArgumentError, "Missing the required parameter 'target_get_details' when calling V2Api.target_get_details"
|
|
32767
|
+
end
|
|
32768
|
+
# resource path
|
|
32769
|
+
local_var_path = '/target-get-details'
|
|
32770
|
+
|
|
32771
|
+
# query parameters
|
|
32772
|
+
query_params = opts[:query_params] || {}
|
|
32773
|
+
|
|
32774
|
+
# header parameters
|
|
32775
|
+
header_params = opts[:header_params] || {}
|
|
32776
|
+
# HTTP header 'Accept' (if needed)
|
|
32777
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32778
|
+
# HTTP header 'Content-Type'
|
|
32779
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32780
|
+
if !content_type.nil?
|
|
32781
|
+
header_params['Content-Type'] = content_type
|
|
32782
|
+
end
|
|
32783
|
+
|
|
32784
|
+
# form parameters
|
|
32785
|
+
form_params = opts[:form_params] || {}
|
|
32786
|
+
|
|
32787
|
+
# http body (model)
|
|
32788
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_get_details)
|
|
32789
|
+
|
|
32790
|
+
# return_type
|
|
32791
|
+
return_type = opts[:debug_return_type] || 'GetTargetDetailsOutput'
|
|
32792
|
+
|
|
32793
|
+
# auth_names
|
|
32794
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32795
|
+
|
|
32796
|
+
new_options = opts.merge(
|
|
32797
|
+
:operation => :"V2Api.target_get_details",
|
|
32798
|
+
:header_params => header_params,
|
|
32799
|
+
:query_params => query_params,
|
|
32800
|
+
:form_params => form_params,
|
|
32801
|
+
:body => post_body,
|
|
32802
|
+
:auth_names => auth_names,
|
|
32803
|
+
:return_type => return_type
|
|
32804
|
+
)
|
|
32805
|
+
|
|
32806
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32807
|
+
if @api_client.config.debugging
|
|
32808
|
+
@api_client.config.logger.debug "API called: V2Api#target_get_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32809
|
+
end
|
|
32810
|
+
return data, status_code, headers
|
|
32811
|
+
end
|
|
32812
|
+
|
|
32813
|
+
# @param target_list [TargetList]
|
|
32814
|
+
# @param [Hash] opts the optional parameters
|
|
32815
|
+
# @return [ListTargetsOutput]
|
|
32816
|
+
def target_list(target_list, opts = {})
|
|
32817
|
+
data, _status_code, _headers = target_list_with_http_info(target_list, opts)
|
|
32818
|
+
data
|
|
32819
|
+
end
|
|
32820
|
+
|
|
32821
|
+
# @param target_list [TargetList]
|
|
32182
32822
|
# @param [Hash] opts the optional parameters
|
|
32183
|
-
# @return [Array<(
|
|
32184
|
-
def
|
|
32823
|
+
# @return [Array<(ListTargetsOutput, Integer, Hash)>] ListTargetsOutput data, response status code and response headers
|
|
32824
|
+
def target_list_with_http_info(target_list, opts = {})
|
|
32185
32825
|
if @api_client.config.debugging
|
|
32186
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
32826
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_list ...'
|
|
32187
32827
|
end
|
|
32188
|
-
# verify the required parameter '
|
|
32189
|
-
if @api_client.config.client_side_validation &&
|
|
32190
|
-
fail ArgumentError, "Missing the required parameter '
|
|
32828
|
+
# verify the required parameter 'target_list' is set
|
|
32829
|
+
if @api_client.config.client_side_validation && target_list.nil?
|
|
32830
|
+
fail ArgumentError, "Missing the required parameter 'target_list' when calling V2Api.target_list"
|
|
32191
32831
|
end
|
|
32192
32832
|
# resource path
|
|
32193
|
-
local_var_path = '/target-
|
|
32833
|
+
local_var_path = '/target-list'
|
|
32194
32834
|
|
|
32195
32835
|
# query parameters
|
|
32196
32836
|
query_params = opts[:query_params] || {}
|
|
@@ -32209,16 +32849,16 @@ module Akeyless
|
|
|
32209
32849
|
form_params = opts[:form_params] || {}
|
|
32210
32850
|
|
|
32211
32851
|
# http body (model)
|
|
32212
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
32852
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_list)
|
|
32213
32853
|
|
|
32214
32854
|
# return_type
|
|
32215
|
-
return_type = opts[:debug_return_type] || '
|
|
32855
|
+
return_type = opts[:debug_return_type] || 'ListTargetsOutput'
|
|
32216
32856
|
|
|
32217
32857
|
# auth_names
|
|
32218
32858
|
auth_names = opts[:debug_auth_names] || []
|
|
32219
32859
|
|
|
32220
32860
|
new_options = opts.merge(
|
|
32221
|
-
:operation => :"V2Api.
|
|
32861
|
+
:operation => :"V2Api.target_list",
|
|
32222
32862
|
:header_params => header_params,
|
|
32223
32863
|
:query_params => query_params,
|
|
32224
32864
|
:form_params => form_params,
|
|
@@ -32229,32 +32869,32 @@ module Akeyless
|
|
|
32229
32869
|
|
|
32230
32870
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32231
32871
|
if @api_client.config.debugging
|
|
32232
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
32872
|
+
@api_client.config.logger.debug "API called: V2Api#target_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32233
32873
|
end
|
|
32234
32874
|
return data, status_code, headers
|
|
32235
32875
|
end
|
|
32236
32876
|
|
|
32237
|
-
# @param
|
|
32877
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32238
32878
|
# @param [Hash] opts the optional parameters
|
|
32239
|
-
# @return [
|
|
32240
|
-
def
|
|
32241
|
-
data, _status_code, _headers =
|
|
32879
|
+
# @return [TargetUpdateOutput]
|
|
32880
|
+
def target_update_anthropic(target_update_anthropic, opts = {})
|
|
32881
|
+
data, _status_code, _headers = target_update_anthropic_with_http_info(target_update_anthropic, opts)
|
|
32242
32882
|
data
|
|
32243
32883
|
end
|
|
32244
32884
|
|
|
32245
|
-
# @param
|
|
32885
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32246
32886
|
# @param [Hash] opts the optional parameters
|
|
32247
|
-
# @return [Array<(
|
|
32248
|
-
def
|
|
32887
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
32888
|
+
def target_update_anthropic_with_http_info(target_update_anthropic, opts = {})
|
|
32249
32889
|
if @api_client.config.debugging
|
|
32250
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
32890
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_anthropic ...'
|
|
32251
32891
|
end
|
|
32252
|
-
# verify the required parameter '
|
|
32253
|
-
if @api_client.config.client_side_validation &&
|
|
32254
|
-
fail ArgumentError, "Missing the required parameter '
|
|
32892
|
+
# verify the required parameter 'target_update_anthropic' is set
|
|
32893
|
+
if @api_client.config.client_side_validation && target_update_anthropic.nil?
|
|
32894
|
+
fail ArgumentError, "Missing the required parameter 'target_update_anthropic' when calling V2Api.target_update_anthropic"
|
|
32255
32895
|
end
|
|
32256
32896
|
# resource path
|
|
32257
|
-
local_var_path = '/target-
|
|
32897
|
+
local_var_path = '/target-update-anthropic'
|
|
32258
32898
|
|
|
32259
32899
|
# query parameters
|
|
32260
32900
|
query_params = opts[:query_params] || {}
|
|
@@ -32273,16 +32913,16 @@ module Akeyless
|
|
|
32273
32913
|
form_params = opts[:form_params] || {}
|
|
32274
32914
|
|
|
32275
32915
|
# http body (model)
|
|
32276
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
32916
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_anthropic)
|
|
32277
32917
|
|
|
32278
32918
|
# return_type
|
|
32279
|
-
return_type = opts[:debug_return_type] || '
|
|
32919
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32280
32920
|
|
|
32281
32921
|
# auth_names
|
|
32282
32922
|
auth_names = opts[:debug_auth_names] || []
|
|
32283
32923
|
|
|
32284
32924
|
new_options = opts.merge(
|
|
32285
|
-
:operation => :"V2Api.
|
|
32925
|
+
:operation => :"V2Api.target_update_anthropic",
|
|
32286
32926
|
:header_params => header_params,
|
|
32287
32927
|
:query_params => query_params,
|
|
32288
32928
|
:form_params => form_params,
|
|
@@ -32293,7 +32933,7 @@ module Akeyless
|
|
|
32293
32933
|
|
|
32294
32934
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32295
32935
|
if @api_client.config.debugging
|
|
32296
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
32936
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32297
32937
|
end
|
|
32298
32938
|
return data, status_code, headers
|
|
32299
32939
|
end
|
|
@@ -32490,6 +33130,70 @@ module Akeyless
|
|
|
32490
33130
|
return data, status_code, headers
|
|
32491
33131
|
end
|
|
32492
33132
|
|
|
33133
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
33134
|
+
# @param [Hash] opts the optional parameters
|
|
33135
|
+
# @return [TargetUpdateOutput]
|
|
33136
|
+
def target_update_bedrock(target_update_bedrock, opts = {})
|
|
33137
|
+
data, _status_code, _headers = target_update_bedrock_with_http_info(target_update_bedrock, opts)
|
|
33138
|
+
data
|
|
33139
|
+
end
|
|
33140
|
+
|
|
33141
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
33142
|
+
# @param [Hash] opts the optional parameters
|
|
33143
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33144
|
+
def target_update_bedrock_with_http_info(target_update_bedrock, opts = {})
|
|
33145
|
+
if @api_client.config.debugging
|
|
33146
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_bedrock ...'
|
|
33147
|
+
end
|
|
33148
|
+
# verify the required parameter 'target_update_bedrock' is set
|
|
33149
|
+
if @api_client.config.client_side_validation && target_update_bedrock.nil?
|
|
33150
|
+
fail ArgumentError, "Missing the required parameter 'target_update_bedrock' when calling V2Api.target_update_bedrock"
|
|
33151
|
+
end
|
|
33152
|
+
# resource path
|
|
33153
|
+
local_var_path = '/target-update-bedrock'
|
|
33154
|
+
|
|
33155
|
+
# query parameters
|
|
33156
|
+
query_params = opts[:query_params] || {}
|
|
33157
|
+
|
|
33158
|
+
# header parameters
|
|
33159
|
+
header_params = opts[:header_params] || {}
|
|
33160
|
+
# HTTP header 'Accept' (if needed)
|
|
33161
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
33162
|
+
# HTTP header 'Content-Type'
|
|
33163
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
33164
|
+
if !content_type.nil?
|
|
33165
|
+
header_params['Content-Type'] = content_type
|
|
33166
|
+
end
|
|
33167
|
+
|
|
33168
|
+
# form parameters
|
|
33169
|
+
form_params = opts[:form_params] || {}
|
|
33170
|
+
|
|
33171
|
+
# http body (model)
|
|
33172
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_bedrock)
|
|
33173
|
+
|
|
33174
|
+
# return_type
|
|
33175
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
33176
|
+
|
|
33177
|
+
# auth_names
|
|
33178
|
+
auth_names = opts[:debug_auth_names] || []
|
|
33179
|
+
|
|
33180
|
+
new_options = opts.merge(
|
|
33181
|
+
:operation => :"V2Api.target_update_bedrock",
|
|
33182
|
+
:header_params => header_params,
|
|
33183
|
+
:query_params => query_params,
|
|
33184
|
+
:form_params => form_params,
|
|
33185
|
+
:body => post_body,
|
|
33186
|
+
:auth_names => auth_names,
|
|
33187
|
+
:return_type => return_type
|
|
33188
|
+
)
|
|
33189
|
+
|
|
33190
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33191
|
+
if @api_client.config.debugging
|
|
33192
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33193
|
+
end
|
|
33194
|
+
return data, status_code, headers
|
|
33195
|
+
end
|
|
33196
|
+
|
|
32493
33197
|
# @param target_update_cloudflare [TargetUpdateCloudflare]
|
|
32494
33198
|
# @param [Hash] opts the optional parameters
|
|
32495
33199
|
# @return [TargetUpdateOutput]
|
|
@@ -32554,6 +33258,70 @@ module Akeyless
|
|
|
32554
33258
|
return data, status_code, headers
|
|
32555
33259
|
end
|
|
32556
33260
|
|
|
33261
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33262
|
+
# @param [Hash] opts the optional parameters
|
|
33263
|
+
# @return [TargetUpdateOutput]
|
|
33264
|
+
def target_update_custom_dns(target_update_custom_dns, opts = {})
|
|
33265
|
+
data, _status_code, _headers = target_update_custom_dns_with_http_info(target_update_custom_dns, opts)
|
|
33266
|
+
data
|
|
33267
|
+
end
|
|
33268
|
+
|
|
33269
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33270
|
+
# @param [Hash] opts the optional parameters
|
|
33271
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33272
|
+
def target_update_custom_dns_with_http_info(target_update_custom_dns, opts = {})
|
|
33273
|
+
if @api_client.config.debugging
|
|
33274
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_custom_dns ...'
|
|
33275
|
+
end
|
|
33276
|
+
# verify the required parameter 'target_update_custom_dns' is set
|
|
33277
|
+
if @api_client.config.client_side_validation && target_update_custom_dns.nil?
|
|
33278
|
+
fail ArgumentError, "Missing the required parameter 'target_update_custom_dns' when calling V2Api.target_update_custom_dns"
|
|
33279
|
+
end
|
|
33280
|
+
# resource path
|
|
33281
|
+
local_var_path = '/target-update-custom-dns'
|
|
33282
|
+
|
|
33283
|
+
# query parameters
|
|
33284
|
+
query_params = opts[:query_params] || {}
|
|
33285
|
+
|
|
33286
|
+
# header parameters
|
|
33287
|
+
header_params = opts[:header_params] || {}
|
|
33288
|
+
# HTTP header 'Accept' (if needed)
|
|
33289
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
33290
|
+
# HTTP header 'Content-Type'
|
|
33291
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
33292
|
+
if !content_type.nil?
|
|
33293
|
+
header_params['Content-Type'] = content_type
|
|
33294
|
+
end
|
|
33295
|
+
|
|
33296
|
+
# form parameters
|
|
33297
|
+
form_params = opts[:form_params] || {}
|
|
33298
|
+
|
|
33299
|
+
# http body (model)
|
|
33300
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_custom_dns)
|
|
33301
|
+
|
|
33302
|
+
# return_type
|
|
33303
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
33304
|
+
|
|
33305
|
+
# auth_names
|
|
33306
|
+
auth_names = opts[:debug_auth_names] || []
|
|
33307
|
+
|
|
33308
|
+
new_options = opts.merge(
|
|
33309
|
+
:operation => :"V2Api.target_update_custom_dns",
|
|
33310
|
+
:header_params => header_params,
|
|
33311
|
+
:query_params => query_params,
|
|
33312
|
+
:form_params => form_params,
|
|
33313
|
+
:body => post_body,
|
|
33314
|
+
:auth_names => auth_names,
|
|
33315
|
+
:return_type => return_type
|
|
33316
|
+
)
|
|
33317
|
+
|
|
33318
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33319
|
+
if @api_client.config.debugging
|
|
33320
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33321
|
+
end
|
|
33322
|
+
return data, status_code, headers
|
|
33323
|
+
end
|
|
33324
|
+
|
|
32557
33325
|
# @param target_update_db [TargetUpdateDB]
|
|
32558
33326
|
# @param [Hash] opts the optional parameters
|
|
32559
33327
|
# @return [TargetUpdateOutput]
|
|
@@ -33342,7 +34110,135 @@ module Akeyless
|
|
|
33342
34110
|
fail ArgumentError, "Missing the required parameter 'target_update_google_trust' when calling V2Api.target_update_google_trust"
|
|
33343
34111
|
end
|
|
33344
34112
|
# resource path
|
|
33345
|
-
local_var_path = '/target-update-google-trust'
|
|
34113
|
+
local_var_path = '/target-update-google-trust'
|
|
34114
|
+
|
|
34115
|
+
# query parameters
|
|
34116
|
+
query_params = opts[:query_params] || {}
|
|
34117
|
+
|
|
34118
|
+
# header parameters
|
|
34119
|
+
header_params = opts[:header_params] || {}
|
|
34120
|
+
# HTTP header 'Accept' (if needed)
|
|
34121
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34122
|
+
# HTTP header 'Content-Type'
|
|
34123
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34124
|
+
if !content_type.nil?
|
|
34125
|
+
header_params['Content-Type'] = content_type
|
|
34126
|
+
end
|
|
34127
|
+
|
|
34128
|
+
# form parameters
|
|
34129
|
+
form_params = opts[:form_params] || {}
|
|
34130
|
+
|
|
34131
|
+
# http body (model)
|
|
34132
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_google_trust)
|
|
34133
|
+
|
|
34134
|
+
# return_type
|
|
34135
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34136
|
+
|
|
34137
|
+
# auth_names
|
|
34138
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34139
|
+
|
|
34140
|
+
new_options = opts.merge(
|
|
34141
|
+
:operation => :"V2Api.target_update_google_trust",
|
|
34142
|
+
:header_params => header_params,
|
|
34143
|
+
:query_params => query_params,
|
|
34144
|
+
:form_params => form_params,
|
|
34145
|
+
:body => post_body,
|
|
34146
|
+
:auth_names => auth_names,
|
|
34147
|
+
:return_type => return_type
|
|
34148
|
+
)
|
|
34149
|
+
|
|
34150
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34151
|
+
if @api_client.config.debugging
|
|
34152
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_google_trust\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34153
|
+
end
|
|
34154
|
+
return data, status_code, headers
|
|
34155
|
+
end
|
|
34156
|
+
|
|
34157
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34158
|
+
# @param [Hash] opts the optional parameters
|
|
34159
|
+
# @return [TargetUpdateOutput]
|
|
34160
|
+
def target_update_grok(target_update_grok, opts = {})
|
|
34161
|
+
data, _status_code, _headers = target_update_grok_with_http_info(target_update_grok, opts)
|
|
34162
|
+
data
|
|
34163
|
+
end
|
|
34164
|
+
|
|
34165
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34166
|
+
# @param [Hash] opts the optional parameters
|
|
34167
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34168
|
+
def target_update_grok_with_http_info(target_update_grok, opts = {})
|
|
34169
|
+
if @api_client.config.debugging
|
|
34170
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_grok ...'
|
|
34171
|
+
end
|
|
34172
|
+
# verify the required parameter 'target_update_grok' is set
|
|
34173
|
+
if @api_client.config.client_side_validation && target_update_grok.nil?
|
|
34174
|
+
fail ArgumentError, "Missing the required parameter 'target_update_grok' when calling V2Api.target_update_grok"
|
|
34175
|
+
end
|
|
34176
|
+
# resource path
|
|
34177
|
+
local_var_path = '/target-update-grok'
|
|
34178
|
+
|
|
34179
|
+
# query parameters
|
|
34180
|
+
query_params = opts[:query_params] || {}
|
|
34181
|
+
|
|
34182
|
+
# header parameters
|
|
34183
|
+
header_params = opts[:header_params] || {}
|
|
34184
|
+
# HTTP header 'Accept' (if needed)
|
|
34185
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34186
|
+
# HTTP header 'Content-Type'
|
|
34187
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34188
|
+
if !content_type.nil?
|
|
34189
|
+
header_params['Content-Type'] = content_type
|
|
34190
|
+
end
|
|
34191
|
+
|
|
34192
|
+
# form parameters
|
|
34193
|
+
form_params = opts[:form_params] || {}
|
|
34194
|
+
|
|
34195
|
+
# http body (model)
|
|
34196
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_grok)
|
|
34197
|
+
|
|
34198
|
+
# return_type
|
|
34199
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34200
|
+
|
|
34201
|
+
# auth_names
|
|
34202
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34203
|
+
|
|
34204
|
+
new_options = opts.merge(
|
|
34205
|
+
:operation => :"V2Api.target_update_grok",
|
|
34206
|
+
:header_params => header_params,
|
|
34207
|
+
:query_params => query_params,
|
|
34208
|
+
:form_params => form_params,
|
|
34209
|
+
:body => post_body,
|
|
34210
|
+
:auth_names => auth_names,
|
|
34211
|
+
:return_type => return_type
|
|
34212
|
+
)
|
|
34213
|
+
|
|
34214
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34215
|
+
if @api_client.config.debugging
|
|
34216
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34217
|
+
end
|
|
34218
|
+
return data, status_code, headers
|
|
34219
|
+
end
|
|
34220
|
+
|
|
34221
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34222
|
+
# @param [Hash] opts the optional parameters
|
|
34223
|
+
# @return [TargetUpdateOutput]
|
|
34224
|
+
def target_update_hashi_vault(target_update_hashi_vault, opts = {})
|
|
34225
|
+
data, _status_code, _headers = target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts)
|
|
34226
|
+
data
|
|
34227
|
+
end
|
|
34228
|
+
|
|
34229
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34230
|
+
# @param [Hash] opts the optional parameters
|
|
34231
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34232
|
+
def target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts = {})
|
|
34233
|
+
if @api_client.config.debugging
|
|
34234
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_hashi_vault ...'
|
|
34235
|
+
end
|
|
34236
|
+
# verify the required parameter 'target_update_hashi_vault' is set
|
|
34237
|
+
if @api_client.config.client_side_validation && target_update_hashi_vault.nil?
|
|
34238
|
+
fail ArgumentError, "Missing the required parameter 'target_update_hashi_vault' when calling V2Api.target_update_hashi_vault"
|
|
34239
|
+
end
|
|
34240
|
+
# resource path
|
|
34241
|
+
local_var_path = '/target-update-hashi-vault'
|
|
33346
34242
|
|
|
33347
34243
|
# query parameters
|
|
33348
34244
|
query_params = opts[:query_params] || {}
|
|
@@ -33361,7 +34257,7 @@ module Akeyless
|
|
|
33361
34257
|
form_params = opts[:form_params] || {}
|
|
33362
34258
|
|
|
33363
34259
|
# http body (model)
|
|
33364
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34260
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_hashi_vault)
|
|
33365
34261
|
|
|
33366
34262
|
# return_type
|
|
33367
34263
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33370,7 +34266,7 @@ module Akeyless
|
|
|
33370
34266
|
auth_names = opts[:debug_auth_names] || []
|
|
33371
34267
|
|
|
33372
34268
|
new_options = opts.merge(
|
|
33373
|
-
:operation => :"V2Api.
|
|
34269
|
+
:operation => :"V2Api.target_update_hashi_vault",
|
|
33374
34270
|
:header_params => header_params,
|
|
33375
34271
|
:query_params => query_params,
|
|
33376
34272
|
:form_params => form_params,
|
|
@@ -33381,32 +34277,32 @@ module Akeyless
|
|
|
33381
34277
|
|
|
33382
34278
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33383
34279
|
if @api_client.config.debugging
|
|
33384
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34280
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33385
34281
|
end
|
|
33386
34282
|
return data, status_code, headers
|
|
33387
34283
|
end
|
|
33388
34284
|
|
|
33389
|
-
# @param
|
|
34285
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33390
34286
|
# @param [Hash] opts the optional parameters
|
|
33391
34287
|
# @return [TargetUpdateOutput]
|
|
33392
|
-
def
|
|
33393
|
-
data, _status_code, _headers =
|
|
34288
|
+
def target_update_k8s(target_update_k8s, opts = {})
|
|
34289
|
+
data, _status_code, _headers = target_update_k8s_with_http_info(target_update_k8s, opts)
|
|
33394
34290
|
data
|
|
33395
34291
|
end
|
|
33396
34292
|
|
|
33397
|
-
# @param
|
|
34293
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33398
34294
|
# @param [Hash] opts the optional parameters
|
|
33399
34295
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33400
|
-
def
|
|
34296
|
+
def target_update_k8s_with_http_info(target_update_k8s, opts = {})
|
|
33401
34297
|
if @api_client.config.debugging
|
|
33402
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34298
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_k8s ...'
|
|
33403
34299
|
end
|
|
33404
|
-
# verify the required parameter '
|
|
33405
|
-
if @api_client.config.client_side_validation &&
|
|
33406
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34300
|
+
# verify the required parameter 'target_update_k8s' is set
|
|
34301
|
+
if @api_client.config.client_side_validation && target_update_k8s.nil?
|
|
34302
|
+
fail ArgumentError, "Missing the required parameter 'target_update_k8s' when calling V2Api.target_update_k8s"
|
|
33407
34303
|
end
|
|
33408
34304
|
# resource path
|
|
33409
|
-
local_var_path = '/target-update-
|
|
34305
|
+
local_var_path = '/target-update-k8s'
|
|
33410
34306
|
|
|
33411
34307
|
# query parameters
|
|
33412
34308
|
query_params = opts[:query_params] || {}
|
|
@@ -33425,7 +34321,7 @@ module Akeyless
|
|
|
33425
34321
|
form_params = opts[:form_params] || {}
|
|
33426
34322
|
|
|
33427
34323
|
# http body (model)
|
|
33428
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34324
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_k8s)
|
|
33429
34325
|
|
|
33430
34326
|
# return_type
|
|
33431
34327
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33434,7 +34330,7 @@ module Akeyless
|
|
|
33434
34330
|
auth_names = opts[:debug_auth_names] || []
|
|
33435
34331
|
|
|
33436
34332
|
new_options = opts.merge(
|
|
33437
|
-
:operation => :"V2Api.
|
|
34333
|
+
:operation => :"V2Api.target_update_k8s",
|
|
33438
34334
|
:header_params => header_params,
|
|
33439
34335
|
:query_params => query_params,
|
|
33440
34336
|
:form_params => form_params,
|
|
@@ -33445,32 +34341,32 @@ module Akeyless
|
|
|
33445
34341
|
|
|
33446
34342
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33447
34343
|
if @api_client.config.debugging
|
|
33448
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34344
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_k8s\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33449
34345
|
end
|
|
33450
34346
|
return data, status_code, headers
|
|
33451
34347
|
end
|
|
33452
34348
|
|
|
33453
|
-
# @param
|
|
34349
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33454
34350
|
# @param [Hash] opts the optional parameters
|
|
33455
34351
|
# @return [TargetUpdateOutput]
|
|
33456
|
-
def
|
|
33457
|
-
data, _status_code, _headers =
|
|
34352
|
+
def target_update_keycloak(target_update_keycloak, opts = {})
|
|
34353
|
+
data, _status_code, _headers = target_update_keycloak_with_http_info(target_update_keycloak, opts)
|
|
33458
34354
|
data
|
|
33459
34355
|
end
|
|
33460
34356
|
|
|
33461
|
-
# @param
|
|
34357
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33462
34358
|
# @param [Hash] opts the optional parameters
|
|
33463
34359
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33464
|
-
def
|
|
34360
|
+
def target_update_keycloak_with_http_info(target_update_keycloak, opts = {})
|
|
33465
34361
|
if @api_client.config.debugging
|
|
33466
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34362
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_keycloak ...'
|
|
33467
34363
|
end
|
|
33468
|
-
# verify the required parameter '
|
|
33469
|
-
if @api_client.config.client_side_validation &&
|
|
33470
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34364
|
+
# verify the required parameter 'target_update_keycloak' is set
|
|
34365
|
+
if @api_client.config.client_side_validation && target_update_keycloak.nil?
|
|
34366
|
+
fail ArgumentError, "Missing the required parameter 'target_update_keycloak' when calling V2Api.target_update_keycloak"
|
|
33471
34367
|
end
|
|
33472
34368
|
# resource path
|
|
33473
|
-
local_var_path = '/target-update-
|
|
34369
|
+
local_var_path = '/target-update-keycloak'
|
|
33474
34370
|
|
|
33475
34371
|
# query parameters
|
|
33476
34372
|
query_params = opts[:query_params] || {}
|
|
@@ -33489,7 +34385,7 @@ module Akeyless
|
|
|
33489
34385
|
form_params = opts[:form_params] || {}
|
|
33490
34386
|
|
|
33491
34387
|
# http body (model)
|
|
33492
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34388
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_keycloak)
|
|
33493
34389
|
|
|
33494
34390
|
# return_type
|
|
33495
34391
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33498,7 +34394,7 @@ module Akeyless
|
|
|
33498
34394
|
auth_names = opts[:debug_auth_names] || []
|
|
33499
34395
|
|
|
33500
34396
|
new_options = opts.merge(
|
|
33501
|
-
:operation => :"V2Api.
|
|
34397
|
+
:operation => :"V2Api.target_update_keycloak",
|
|
33502
34398
|
:header_params => header_params,
|
|
33503
34399
|
:query_params => query_params,
|
|
33504
34400
|
:form_params => form_params,
|
|
@@ -33509,7 +34405,7 @@ module Akeyless
|
|
|
33509
34405
|
|
|
33510
34406
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33511
34407
|
if @api_client.config.debugging
|
|
33512
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34408
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33513
34409
|
end
|
|
33514
34410
|
return data, status_code, headers
|
|
33515
34411
|
end
|
|
@@ -33706,6 +34602,70 @@ module Akeyless
|
|
|
33706
34602
|
return data, status_code, headers
|
|
33707
34603
|
end
|
|
33708
34604
|
|
|
34605
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34606
|
+
# @param [Hash] opts the optional parameters
|
|
34607
|
+
# @return [TargetUpdateOutput]
|
|
34608
|
+
def target_update_okta(target_update_okta, opts = {})
|
|
34609
|
+
data, _status_code, _headers = target_update_okta_with_http_info(target_update_okta, opts)
|
|
34610
|
+
data
|
|
34611
|
+
end
|
|
34612
|
+
|
|
34613
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34614
|
+
# @param [Hash] opts the optional parameters
|
|
34615
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34616
|
+
def target_update_okta_with_http_info(target_update_okta, opts = {})
|
|
34617
|
+
if @api_client.config.debugging
|
|
34618
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_okta ...'
|
|
34619
|
+
end
|
|
34620
|
+
# verify the required parameter 'target_update_okta' is set
|
|
34621
|
+
if @api_client.config.client_side_validation && target_update_okta.nil?
|
|
34622
|
+
fail ArgumentError, "Missing the required parameter 'target_update_okta' when calling V2Api.target_update_okta"
|
|
34623
|
+
end
|
|
34624
|
+
# resource path
|
|
34625
|
+
local_var_path = '/target-update-okta'
|
|
34626
|
+
|
|
34627
|
+
# query parameters
|
|
34628
|
+
query_params = opts[:query_params] || {}
|
|
34629
|
+
|
|
34630
|
+
# header parameters
|
|
34631
|
+
header_params = opts[:header_params] || {}
|
|
34632
|
+
# HTTP header 'Accept' (if needed)
|
|
34633
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34634
|
+
# HTTP header 'Content-Type'
|
|
34635
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34636
|
+
if !content_type.nil?
|
|
34637
|
+
header_params['Content-Type'] = content_type
|
|
34638
|
+
end
|
|
34639
|
+
|
|
34640
|
+
# form parameters
|
|
34641
|
+
form_params = opts[:form_params] || {}
|
|
34642
|
+
|
|
34643
|
+
# http body (model)
|
|
34644
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_okta)
|
|
34645
|
+
|
|
34646
|
+
# return_type
|
|
34647
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34648
|
+
|
|
34649
|
+
# auth_names
|
|
34650
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34651
|
+
|
|
34652
|
+
new_options = opts.merge(
|
|
34653
|
+
:operation => :"V2Api.target_update_okta",
|
|
34654
|
+
:header_params => header_params,
|
|
34655
|
+
:query_params => query_params,
|
|
34656
|
+
:form_params => form_params,
|
|
34657
|
+
:body => post_body,
|
|
34658
|
+
:auth_names => auth_names,
|
|
34659
|
+
:return_type => return_type
|
|
34660
|
+
)
|
|
34661
|
+
|
|
34662
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34663
|
+
if @api_client.config.debugging
|
|
34664
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34665
|
+
end
|
|
34666
|
+
return data, status_code, headers
|
|
34667
|
+
end
|
|
34668
|
+
|
|
33709
34669
|
# @param target_update_open_ai [TargetUpdateOpenAI]
|
|
33710
34670
|
# @param [Hash] opts the optional parameters
|
|
33711
34671
|
# @return [TargetUpdateOutput]
|
|
@@ -37354,6 +38314,198 @@ module Akeyless
|
|
|
37354
38314
|
return data, status_code, headers
|
|
37355
38315
|
end
|
|
37356
38316
|
|
|
38317
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
38318
|
+
# @param [Hash] opts the optional parameters
|
|
38319
|
+
# @return [UpdateSecretValOutput]
|
|
38320
|
+
def update_mcp_secret_bearer_token(update_mcp_secret_bearer_token, opts = {})
|
|
38321
|
+
data, _status_code, _headers = update_mcp_secret_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts)
|
|
38322
|
+
data
|
|
38323
|
+
end
|
|
38324
|
+
|
|
38325
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
38326
|
+
# @param [Hash] opts the optional parameters
|
|
38327
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38328
|
+
def update_mcp_secret_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts = {})
|
|
38329
|
+
if @api_client.config.debugging
|
|
38330
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_bearer_token ...'
|
|
38331
|
+
end
|
|
38332
|
+
# verify the required parameter 'update_mcp_secret_bearer_token' is set
|
|
38333
|
+
if @api_client.config.client_side_validation && update_mcp_secret_bearer_token.nil?
|
|
38334
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_bearer_token' when calling V2Api.update_mcp_secret_bearer_token"
|
|
38335
|
+
end
|
|
38336
|
+
# resource path
|
|
38337
|
+
local_var_path = '/update-mcp-secret-bearer-token'
|
|
38338
|
+
|
|
38339
|
+
# query parameters
|
|
38340
|
+
query_params = opts[:query_params] || {}
|
|
38341
|
+
|
|
38342
|
+
# header parameters
|
|
38343
|
+
header_params = opts[:header_params] || {}
|
|
38344
|
+
# HTTP header 'Accept' (if needed)
|
|
38345
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38346
|
+
# HTTP header 'Content-Type'
|
|
38347
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38348
|
+
if !content_type.nil?
|
|
38349
|
+
header_params['Content-Type'] = content_type
|
|
38350
|
+
end
|
|
38351
|
+
|
|
38352
|
+
# form parameters
|
|
38353
|
+
form_params = opts[:form_params] || {}
|
|
38354
|
+
|
|
38355
|
+
# http body (model)
|
|
38356
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_bearer_token)
|
|
38357
|
+
|
|
38358
|
+
# return_type
|
|
38359
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38360
|
+
|
|
38361
|
+
# auth_names
|
|
38362
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38363
|
+
|
|
38364
|
+
new_options = opts.merge(
|
|
38365
|
+
:operation => :"V2Api.update_mcp_secret_bearer_token",
|
|
38366
|
+
:header_params => header_params,
|
|
38367
|
+
:query_params => query_params,
|
|
38368
|
+
:form_params => form_params,
|
|
38369
|
+
:body => post_body,
|
|
38370
|
+
:auth_names => auth_names,
|
|
38371
|
+
:return_type => return_type
|
|
38372
|
+
)
|
|
38373
|
+
|
|
38374
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38375
|
+
if @api_client.config.debugging
|
|
38376
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_bearer_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38377
|
+
end
|
|
38378
|
+
return data, status_code, headers
|
|
38379
|
+
end
|
|
38380
|
+
|
|
38381
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38382
|
+
# @param [Hash] opts the optional parameters
|
|
38383
|
+
# @return [UpdateSecretValOutput]
|
|
38384
|
+
def update_mcp_secret_o_auth_auth_code(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38385
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts)
|
|
38386
|
+
data
|
|
38387
|
+
end
|
|
38388
|
+
|
|
38389
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38390
|
+
# @param [Hash] opts the optional parameters
|
|
38391
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38392
|
+
def update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38393
|
+
if @api_client.config.debugging
|
|
38394
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_auth_code ...'
|
|
38395
|
+
end
|
|
38396
|
+
# verify the required parameter 'update_mcp_secret_o_auth_auth_code' is set
|
|
38397
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_auth_code.nil?
|
|
38398
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_auth_code' when calling V2Api.update_mcp_secret_o_auth_auth_code"
|
|
38399
|
+
end
|
|
38400
|
+
# resource path
|
|
38401
|
+
local_var_path = '/update-mcp-secret-oauth-authorization-code'
|
|
38402
|
+
|
|
38403
|
+
# query parameters
|
|
38404
|
+
query_params = opts[:query_params] || {}
|
|
38405
|
+
|
|
38406
|
+
# header parameters
|
|
38407
|
+
header_params = opts[:header_params] || {}
|
|
38408
|
+
# HTTP header 'Accept' (if needed)
|
|
38409
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38410
|
+
# HTTP header 'Content-Type'
|
|
38411
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38412
|
+
if !content_type.nil?
|
|
38413
|
+
header_params['Content-Type'] = content_type
|
|
38414
|
+
end
|
|
38415
|
+
|
|
38416
|
+
# form parameters
|
|
38417
|
+
form_params = opts[:form_params] || {}
|
|
38418
|
+
|
|
38419
|
+
# http body (model)
|
|
38420
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_auth_code)
|
|
38421
|
+
|
|
38422
|
+
# return_type
|
|
38423
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38424
|
+
|
|
38425
|
+
# auth_names
|
|
38426
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38427
|
+
|
|
38428
|
+
new_options = opts.merge(
|
|
38429
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_auth_code",
|
|
38430
|
+
:header_params => header_params,
|
|
38431
|
+
:query_params => query_params,
|
|
38432
|
+
:form_params => form_params,
|
|
38433
|
+
:body => post_body,
|
|
38434
|
+
:auth_names => auth_names,
|
|
38435
|
+
:return_type => return_type
|
|
38436
|
+
)
|
|
38437
|
+
|
|
38438
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38439
|
+
if @api_client.config.debugging
|
|
38440
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_auth_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38441
|
+
end
|
|
38442
|
+
return data, status_code, headers
|
|
38443
|
+
end
|
|
38444
|
+
|
|
38445
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38446
|
+
# @param [Hash] opts the optional parameters
|
|
38447
|
+
# @return [UpdateSecretValOutput]
|
|
38448
|
+
def update_mcp_secret_o_auth_client_creds(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38449
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts)
|
|
38450
|
+
data
|
|
38451
|
+
end
|
|
38452
|
+
|
|
38453
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38454
|
+
# @param [Hash] opts the optional parameters
|
|
38455
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38456
|
+
def update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38457
|
+
if @api_client.config.debugging
|
|
38458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_client_creds ...'
|
|
38459
|
+
end
|
|
38460
|
+
# verify the required parameter 'update_mcp_secret_o_auth_client_creds' is set
|
|
38461
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_client_creds.nil?
|
|
38462
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_client_creds' when calling V2Api.update_mcp_secret_o_auth_client_creds"
|
|
38463
|
+
end
|
|
38464
|
+
# resource path
|
|
38465
|
+
local_var_path = '/update-mcp-secret-oauth-client-credentials'
|
|
38466
|
+
|
|
38467
|
+
# query parameters
|
|
38468
|
+
query_params = opts[:query_params] || {}
|
|
38469
|
+
|
|
38470
|
+
# header parameters
|
|
38471
|
+
header_params = opts[:header_params] || {}
|
|
38472
|
+
# HTTP header 'Accept' (if needed)
|
|
38473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38474
|
+
# HTTP header 'Content-Type'
|
|
38475
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38476
|
+
if !content_type.nil?
|
|
38477
|
+
header_params['Content-Type'] = content_type
|
|
38478
|
+
end
|
|
38479
|
+
|
|
38480
|
+
# form parameters
|
|
38481
|
+
form_params = opts[:form_params] || {}
|
|
38482
|
+
|
|
38483
|
+
# http body (model)
|
|
38484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_client_creds)
|
|
38485
|
+
|
|
38486
|
+
# return_type
|
|
38487
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38488
|
+
|
|
38489
|
+
# auth_names
|
|
38490
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38491
|
+
|
|
38492
|
+
new_options = opts.merge(
|
|
38493
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_client_creds",
|
|
38494
|
+
:header_params => header_params,
|
|
38495
|
+
:query_params => query_params,
|
|
38496
|
+
:form_params => form_params,
|
|
38497
|
+
:body => post_body,
|
|
38498
|
+
:auth_names => auth_names,
|
|
38499
|
+
:return_type => return_type
|
|
38500
|
+
)
|
|
38501
|
+
|
|
38502
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38503
|
+
if @api_client.config.debugging
|
|
38504
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_client_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38505
|
+
end
|
|
38506
|
+
return data, status_code, headers
|
|
38507
|
+
end
|
|
38508
|
+
|
|
37357
38509
|
# @param update_native_k8_s_target [UpdateNativeK8STarget]
|
|
37358
38510
|
# @param [Hash] opts the optional parameters
|
|
37359
38511
|
# @return [UpdateNativeK8STargetOutput]
|