akeyless 5.0.28 → 5.0.31
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 +54 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AerospikeTargetDetails.md +82 -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/CertificateDiscovery.md +2 -0
- data/docs/CertificatePayload.md +2 -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/DecryptGPG.md +3 -1
- data/docs/EmailCustomization.md +28 -0
- data/docs/EmailCustomizationAccountInformation.md +24 -0
- data/docs/EmailCustomizationAccountInformationValues.md +24 -0
- data/docs/EncryptGPG.md +3 -1
- data/docs/EsmGetSecretOutput.md +4 -0
- data/docs/FileDownloadInstructions.md +20 -0
- data/docs/FileInfo.md +50 -0
- data/docs/GatewayCreateMigration.md +4 -0
- data/docs/GatewayUpdateMigration.md +4 -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/TargetCreateAerospike.md +64 -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 +14 -0
- data/docs/TargetUpdateAerospike.md +70 -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 +1260 -0
- data/lib/akeyless/api/v2_api.rb +1410 -130
- data/lib/akeyless/models/account_general_settings.rb +20 -1
- data/lib/akeyless/models/aerospike_target_details.rb +512 -0
- 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/certificate_discovery.rb +11 -1
- data/lib/akeyless/models/certificate_payload.rb +12 -1
- 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/decrypt_gpg.rb +14 -4
- 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/encrypt_gpg.rb +14 -4
- 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 +21 -1
- data/lib/akeyless/models/gateway_update_migration.rb +21 -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_aerospike.rb +454 -0
- 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 +64 -1
- data/lib/akeyless/models/target_update_aerospike.rb +488 -0
- 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 +33 -0
- data/spec/models/aerospike_target_details_spec.rb +228 -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_aerospike_spec.rb +174 -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_aerospike_spec.rb +192 -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 +1314 -1182
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,27 +30186,27 @@ module Akeyless
|
|
|
29994
30186
|
return data, status_code, headers
|
|
29995
30187
|
end
|
|
29996
30188
|
|
|
29997
|
-
# @param
|
|
30189
|
+
# @param target_create_aerospike [TargetCreateAerospike]
|
|
29998
30190
|
# @param [Hash] opts the optional parameters
|
|
29999
30191
|
# @return [TargetCreateOutput]
|
|
30000
|
-
def
|
|
30001
|
-
data, _status_code, _headers =
|
|
30192
|
+
def target_create_aerospike(target_create_aerospike, opts = {})
|
|
30193
|
+
data, _status_code, _headers = target_create_aerospike_with_http_info(target_create_aerospike, opts)
|
|
30002
30194
|
data
|
|
30003
30195
|
end
|
|
30004
30196
|
|
|
30005
|
-
# @param
|
|
30197
|
+
# @param target_create_aerospike [TargetCreateAerospike]
|
|
30006
30198
|
# @param [Hash] opts the optional parameters
|
|
30007
30199
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30008
|
-
def
|
|
30200
|
+
def target_create_aerospike_with_http_info(target_create_aerospike, opts = {})
|
|
30009
30201
|
if @api_client.config.debugging
|
|
30010
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30202
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_aerospike ...'
|
|
30011
30203
|
end
|
|
30012
|
-
# verify the required parameter '
|
|
30013
|
-
if @api_client.config.client_side_validation &&
|
|
30014
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30204
|
+
# verify the required parameter 'target_create_aerospike' is set
|
|
30205
|
+
if @api_client.config.client_side_validation && target_create_aerospike.nil?
|
|
30206
|
+
fail ArgumentError, "Missing the required parameter 'target_create_aerospike' when calling V2Api.target_create_aerospike"
|
|
30015
30207
|
end
|
|
30016
30208
|
# resource path
|
|
30017
|
-
local_var_path = '/target-create-
|
|
30209
|
+
local_var_path = '/target-create-aerospike'
|
|
30018
30210
|
|
|
30019
30211
|
# query parameters
|
|
30020
30212
|
query_params = opts[:query_params] || {}
|
|
@@ -30033,7 +30225,7 @@ module Akeyless
|
|
|
30033
30225
|
form_params = opts[:form_params] || {}
|
|
30034
30226
|
|
|
30035
30227
|
# http body (model)
|
|
30036
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30228
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_aerospike)
|
|
30037
30229
|
|
|
30038
30230
|
# return_type
|
|
30039
30231
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30042,7 +30234,7 @@ module Akeyless
|
|
|
30042
30234
|
auth_names = opts[:debug_auth_names] || []
|
|
30043
30235
|
|
|
30044
30236
|
new_options = opts.merge(
|
|
30045
|
-
:operation => :"V2Api.
|
|
30237
|
+
:operation => :"V2Api.target_create_aerospike",
|
|
30046
30238
|
:header_params => header_params,
|
|
30047
30239
|
:query_params => query_params,
|
|
30048
30240
|
:form_params => form_params,
|
|
@@ -30053,32 +30245,32 @@ module Akeyless
|
|
|
30053
30245
|
|
|
30054
30246
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30055
30247
|
if @api_client.config.debugging
|
|
30056
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30248
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_aerospike\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30057
30249
|
end
|
|
30058
30250
|
return data, status_code, headers
|
|
30059
30251
|
end
|
|
30060
30252
|
|
|
30061
|
-
# @param
|
|
30253
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30062
30254
|
# @param [Hash] opts the optional parameters
|
|
30063
30255
|
# @return [TargetCreateOutput]
|
|
30064
|
-
def
|
|
30065
|
-
data, _status_code, _headers =
|
|
30256
|
+
def target_create_anthropic(target_create_anthropic, opts = {})
|
|
30257
|
+
data, _status_code, _headers = target_create_anthropic_with_http_info(target_create_anthropic, opts)
|
|
30066
30258
|
data
|
|
30067
30259
|
end
|
|
30068
30260
|
|
|
30069
|
-
# @param
|
|
30261
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30070
30262
|
# @param [Hash] opts the optional parameters
|
|
30071
30263
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30072
|
-
def
|
|
30264
|
+
def target_create_anthropic_with_http_info(target_create_anthropic, opts = {})
|
|
30073
30265
|
if @api_client.config.debugging
|
|
30074
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30266
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_anthropic ...'
|
|
30075
30267
|
end
|
|
30076
|
-
# verify the required parameter '
|
|
30077
|
-
if @api_client.config.client_side_validation &&
|
|
30078
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30268
|
+
# verify the required parameter 'target_create_anthropic' is set
|
|
30269
|
+
if @api_client.config.client_side_validation && target_create_anthropic.nil?
|
|
30270
|
+
fail ArgumentError, "Missing the required parameter 'target_create_anthropic' when calling V2Api.target_create_anthropic"
|
|
30079
30271
|
end
|
|
30080
30272
|
# resource path
|
|
30081
|
-
local_var_path = '/target-create-
|
|
30273
|
+
local_var_path = '/target-create-anthropic'
|
|
30082
30274
|
|
|
30083
30275
|
# query parameters
|
|
30084
30276
|
query_params = opts[:query_params] || {}
|
|
@@ -30097,7 +30289,7 @@ module Akeyless
|
|
|
30097
30289
|
form_params = opts[:form_params] || {}
|
|
30098
30290
|
|
|
30099
30291
|
# http body (model)
|
|
30100
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30292
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_anthropic)
|
|
30101
30293
|
|
|
30102
30294
|
# return_type
|
|
30103
30295
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30106,7 +30298,7 @@ module Akeyless
|
|
|
30106
30298
|
auth_names = opts[:debug_auth_names] || []
|
|
30107
30299
|
|
|
30108
30300
|
new_options = opts.merge(
|
|
30109
|
-
:operation => :"V2Api.
|
|
30301
|
+
:operation => :"V2Api.target_create_anthropic",
|
|
30110
30302
|
:header_params => header_params,
|
|
30111
30303
|
:query_params => query_params,
|
|
30112
30304
|
:form_params => form_params,
|
|
@@ -30117,32 +30309,32 @@ module Akeyless
|
|
|
30117
30309
|
|
|
30118
30310
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30119
30311
|
if @api_client.config.debugging
|
|
30120
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30312
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30121
30313
|
end
|
|
30122
30314
|
return data, status_code, headers
|
|
30123
30315
|
end
|
|
30124
30316
|
|
|
30125
|
-
# @param
|
|
30317
|
+
# @param target_create_artifactory [TargetCreateArtifactory]
|
|
30126
30318
|
# @param [Hash] opts the optional parameters
|
|
30127
30319
|
# @return [TargetCreateOutput]
|
|
30128
|
-
def
|
|
30129
|
-
data, _status_code, _headers =
|
|
30320
|
+
def target_create_artifactory(target_create_artifactory, opts = {})
|
|
30321
|
+
data, _status_code, _headers = target_create_artifactory_with_http_info(target_create_artifactory, opts)
|
|
30130
30322
|
data
|
|
30131
30323
|
end
|
|
30132
30324
|
|
|
30133
|
-
# @param
|
|
30325
|
+
# @param target_create_artifactory [TargetCreateArtifactory]
|
|
30134
30326
|
# @param [Hash] opts the optional parameters
|
|
30135
30327
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30136
|
-
def
|
|
30328
|
+
def target_create_artifactory_with_http_info(target_create_artifactory, opts = {})
|
|
30137
30329
|
if @api_client.config.debugging
|
|
30138
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30330
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_artifactory ...'
|
|
30139
30331
|
end
|
|
30140
|
-
# verify the required parameter '
|
|
30141
|
-
if @api_client.config.client_side_validation &&
|
|
30142
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30332
|
+
# verify the required parameter 'target_create_artifactory' is set
|
|
30333
|
+
if @api_client.config.client_side_validation && target_create_artifactory.nil?
|
|
30334
|
+
fail ArgumentError, "Missing the required parameter 'target_create_artifactory' when calling V2Api.target_create_artifactory"
|
|
30143
30335
|
end
|
|
30144
30336
|
# resource path
|
|
30145
|
-
local_var_path = '/target-create-
|
|
30337
|
+
local_var_path = '/target-create-artifactory'
|
|
30146
30338
|
|
|
30147
30339
|
# query parameters
|
|
30148
30340
|
query_params = opts[:query_params] || {}
|
|
@@ -30161,7 +30353,7 @@ module Akeyless
|
|
|
30161
30353
|
form_params = opts[:form_params] || {}
|
|
30162
30354
|
|
|
30163
30355
|
# http body (model)
|
|
30164
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30356
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_artifactory)
|
|
30165
30357
|
|
|
30166
30358
|
# return_type
|
|
30167
30359
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30170,7 +30362,7 @@ module Akeyless
|
|
|
30170
30362
|
auth_names = opts[:debug_auth_names] || []
|
|
30171
30363
|
|
|
30172
30364
|
new_options = opts.merge(
|
|
30173
|
-
:operation => :"V2Api.
|
|
30365
|
+
:operation => :"V2Api.target_create_artifactory",
|
|
30174
30366
|
:header_params => header_params,
|
|
30175
30367
|
:query_params => query_params,
|
|
30176
30368
|
:form_params => form_params,
|
|
@@ -30181,32 +30373,32 @@ module Akeyless
|
|
|
30181
30373
|
|
|
30182
30374
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30183
30375
|
if @api_client.config.debugging
|
|
30184
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30376
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_artifactory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30185
30377
|
end
|
|
30186
30378
|
return data, status_code, headers
|
|
30187
30379
|
end
|
|
30188
30380
|
|
|
30189
|
-
# @param
|
|
30381
|
+
# @param target_create_aws [TargetCreateAws]
|
|
30190
30382
|
# @param [Hash] opts the optional parameters
|
|
30191
30383
|
# @return [TargetCreateOutput]
|
|
30192
|
-
def
|
|
30193
|
-
data, _status_code, _headers =
|
|
30384
|
+
def target_create_aws(target_create_aws, opts = {})
|
|
30385
|
+
data, _status_code, _headers = target_create_aws_with_http_info(target_create_aws, opts)
|
|
30194
30386
|
data
|
|
30195
30387
|
end
|
|
30196
30388
|
|
|
30197
|
-
# @param
|
|
30389
|
+
# @param target_create_aws [TargetCreateAws]
|
|
30198
30390
|
# @param [Hash] opts the optional parameters
|
|
30199
30391
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30200
|
-
def
|
|
30392
|
+
def target_create_aws_with_http_info(target_create_aws, opts = {})
|
|
30201
30393
|
if @api_client.config.debugging
|
|
30202
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30394
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_aws ...'
|
|
30203
30395
|
end
|
|
30204
|
-
# verify the required parameter '
|
|
30205
|
-
if @api_client.config.client_side_validation &&
|
|
30206
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30396
|
+
# verify the required parameter 'target_create_aws' is set
|
|
30397
|
+
if @api_client.config.client_side_validation && target_create_aws.nil?
|
|
30398
|
+
fail ArgumentError, "Missing the required parameter 'target_create_aws' when calling V2Api.target_create_aws"
|
|
30207
30399
|
end
|
|
30208
30400
|
# resource path
|
|
30209
|
-
local_var_path = '/target-create-
|
|
30401
|
+
local_var_path = '/target-create-aws'
|
|
30210
30402
|
|
|
30211
30403
|
# query parameters
|
|
30212
30404
|
query_params = opts[:query_params] || {}
|
|
@@ -30225,7 +30417,7 @@ module Akeyless
|
|
|
30225
30417
|
form_params = opts[:form_params] || {}
|
|
30226
30418
|
|
|
30227
30419
|
# http body (model)
|
|
30228
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
30420
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_aws)
|
|
30229
30421
|
|
|
30230
30422
|
# return_type
|
|
30231
30423
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30234,7 +30426,7 @@ module Akeyless
|
|
|
30234
30426
|
auth_names = opts[:debug_auth_names] || []
|
|
30235
30427
|
|
|
30236
30428
|
new_options = opts.merge(
|
|
30237
|
-
:operation => :"V2Api.
|
|
30429
|
+
:operation => :"V2Api.target_create_aws",
|
|
30238
30430
|
:header_params => header_params,
|
|
30239
30431
|
:query_params => query_params,
|
|
30240
30432
|
:form_params => form_params,
|
|
@@ -30245,32 +30437,32 @@ module Akeyless
|
|
|
30245
30437
|
|
|
30246
30438
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30247
30439
|
if @api_client.config.debugging
|
|
30248
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30440
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_aws\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30249
30441
|
end
|
|
30250
30442
|
return data, status_code, headers
|
|
30251
30443
|
end
|
|
30252
30444
|
|
|
30253
|
-
# @param
|
|
30445
|
+
# @param target_create_azure [TargetCreateAzure]
|
|
30254
30446
|
# @param [Hash] opts the optional parameters
|
|
30255
30447
|
# @return [TargetCreateOutput]
|
|
30256
|
-
def
|
|
30257
|
-
data, _status_code, _headers =
|
|
30448
|
+
def target_create_azure(target_create_azure, opts = {})
|
|
30449
|
+
data, _status_code, _headers = target_create_azure_with_http_info(target_create_azure, opts)
|
|
30258
30450
|
data
|
|
30259
30451
|
end
|
|
30260
30452
|
|
|
30261
|
-
# @param
|
|
30453
|
+
# @param target_create_azure [TargetCreateAzure]
|
|
30262
30454
|
# @param [Hash] opts the optional parameters
|
|
30263
30455
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30264
|
-
def
|
|
30456
|
+
def target_create_azure_with_http_info(target_create_azure, opts = {})
|
|
30265
30457
|
if @api_client.config.debugging
|
|
30266
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
30458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_azure ...'
|
|
30267
30459
|
end
|
|
30268
|
-
# verify the required parameter '
|
|
30269
|
-
if @api_client.config.client_side_validation &&
|
|
30270
|
-
fail ArgumentError, "Missing the required parameter '
|
|
30460
|
+
# verify the required parameter 'target_create_azure' is set
|
|
30461
|
+
if @api_client.config.client_side_validation && target_create_azure.nil?
|
|
30462
|
+
fail ArgumentError, "Missing the required parameter 'target_create_azure' when calling V2Api.target_create_azure"
|
|
30271
30463
|
end
|
|
30272
30464
|
# resource path
|
|
30273
|
-
local_var_path = '/target-create-
|
|
30465
|
+
local_var_path = '/target-create-azure'
|
|
30274
30466
|
|
|
30275
30467
|
# query parameters
|
|
30276
30468
|
query_params = opts[:query_params] || {}
|
|
@@ -30289,7 +30481,7 @@ module Akeyless
|
|
|
30289
30481
|
form_params = opts[:form_params] || {}
|
|
30290
30482
|
|
|
30291
30483
|
# http body (model)
|
|
30292
|
-
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_azure)
|
|
30293
30485
|
|
|
30294
30486
|
# return_type
|
|
30295
30487
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30298,7 +30490,7 @@ module Akeyless
|
|
|
30298
30490
|
auth_names = opts[:debug_auth_names] || []
|
|
30299
30491
|
|
|
30300
30492
|
new_options = opts.merge(
|
|
30301
|
-
:operation => :"V2Api.
|
|
30493
|
+
:operation => :"V2Api.target_create_azure",
|
|
30302
30494
|
:header_params => header_params,
|
|
30303
30495
|
:query_params => query_params,
|
|
30304
30496
|
:form_params => form_params,
|
|
@@ -30309,7 +30501,263 @@ module Akeyless
|
|
|
30309
30501
|
|
|
30310
30502
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30311
30503
|
if @api_client.config.debugging
|
|
30312
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
30504
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_azure\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30505
|
+
end
|
|
30506
|
+
return data, status_code, headers
|
|
30507
|
+
end
|
|
30508
|
+
|
|
30509
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30510
|
+
# @param [Hash] opts the optional parameters
|
|
30511
|
+
# @return [TargetCreateOutput]
|
|
30512
|
+
def target_create_bedrock(target_create_bedrock, opts = {})
|
|
30513
|
+
data, _status_code, _headers = target_create_bedrock_with_http_info(target_create_bedrock, opts)
|
|
30514
|
+
data
|
|
30515
|
+
end
|
|
30516
|
+
|
|
30517
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30518
|
+
# @param [Hash] opts the optional parameters
|
|
30519
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30520
|
+
def target_create_bedrock_with_http_info(target_create_bedrock, opts = {})
|
|
30521
|
+
if @api_client.config.debugging
|
|
30522
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_bedrock ...'
|
|
30523
|
+
end
|
|
30524
|
+
# verify the required parameter 'target_create_bedrock' is set
|
|
30525
|
+
if @api_client.config.client_side_validation && target_create_bedrock.nil?
|
|
30526
|
+
fail ArgumentError, "Missing the required parameter 'target_create_bedrock' when calling V2Api.target_create_bedrock"
|
|
30527
|
+
end
|
|
30528
|
+
# resource path
|
|
30529
|
+
local_var_path = '/target-create-bedrock'
|
|
30530
|
+
|
|
30531
|
+
# query parameters
|
|
30532
|
+
query_params = opts[:query_params] || {}
|
|
30533
|
+
|
|
30534
|
+
# header parameters
|
|
30535
|
+
header_params = opts[:header_params] || {}
|
|
30536
|
+
# HTTP header 'Accept' (if needed)
|
|
30537
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30538
|
+
# HTTP header 'Content-Type'
|
|
30539
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30540
|
+
if !content_type.nil?
|
|
30541
|
+
header_params['Content-Type'] = content_type
|
|
30542
|
+
end
|
|
30543
|
+
|
|
30544
|
+
# form parameters
|
|
30545
|
+
form_params = opts[:form_params] || {}
|
|
30546
|
+
|
|
30547
|
+
# http body (model)
|
|
30548
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_bedrock)
|
|
30549
|
+
|
|
30550
|
+
# return_type
|
|
30551
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30552
|
+
|
|
30553
|
+
# auth_names
|
|
30554
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30555
|
+
|
|
30556
|
+
new_options = opts.merge(
|
|
30557
|
+
:operation => :"V2Api.target_create_bedrock",
|
|
30558
|
+
:header_params => header_params,
|
|
30559
|
+
:query_params => query_params,
|
|
30560
|
+
:form_params => form_params,
|
|
30561
|
+
:body => post_body,
|
|
30562
|
+
:auth_names => auth_names,
|
|
30563
|
+
:return_type => return_type
|
|
30564
|
+
)
|
|
30565
|
+
|
|
30566
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30567
|
+
if @api_client.config.debugging
|
|
30568
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30569
|
+
end
|
|
30570
|
+
return data, status_code, headers
|
|
30571
|
+
end
|
|
30572
|
+
|
|
30573
|
+
# @param target_create_cloudflare [TargetCreateCloudflare]
|
|
30574
|
+
# @param [Hash] opts the optional parameters
|
|
30575
|
+
# @return [TargetCreateOutput]
|
|
30576
|
+
def target_create_cloudflare(target_create_cloudflare, opts = {})
|
|
30577
|
+
data, _status_code, _headers = target_create_cloudflare_with_http_info(target_create_cloudflare, opts)
|
|
30578
|
+
data
|
|
30579
|
+
end
|
|
30580
|
+
|
|
30581
|
+
# @param target_create_cloudflare [TargetCreateCloudflare]
|
|
30582
|
+
# @param [Hash] opts the optional parameters
|
|
30583
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30584
|
+
def target_create_cloudflare_with_http_info(target_create_cloudflare, opts = {})
|
|
30585
|
+
if @api_client.config.debugging
|
|
30586
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_cloudflare ...'
|
|
30587
|
+
end
|
|
30588
|
+
# verify the required parameter 'target_create_cloudflare' is set
|
|
30589
|
+
if @api_client.config.client_side_validation && target_create_cloudflare.nil?
|
|
30590
|
+
fail ArgumentError, "Missing the required parameter 'target_create_cloudflare' when calling V2Api.target_create_cloudflare"
|
|
30591
|
+
end
|
|
30592
|
+
# resource path
|
|
30593
|
+
local_var_path = '/target-create-cloudflare'
|
|
30594
|
+
|
|
30595
|
+
# query parameters
|
|
30596
|
+
query_params = opts[:query_params] || {}
|
|
30597
|
+
|
|
30598
|
+
# header parameters
|
|
30599
|
+
header_params = opts[:header_params] || {}
|
|
30600
|
+
# HTTP header 'Accept' (if needed)
|
|
30601
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30602
|
+
# HTTP header 'Content-Type'
|
|
30603
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30604
|
+
if !content_type.nil?
|
|
30605
|
+
header_params['Content-Type'] = content_type
|
|
30606
|
+
end
|
|
30607
|
+
|
|
30608
|
+
# form parameters
|
|
30609
|
+
form_params = opts[:form_params] || {}
|
|
30610
|
+
|
|
30611
|
+
# http body (model)
|
|
30612
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_cloudflare)
|
|
30613
|
+
|
|
30614
|
+
# return_type
|
|
30615
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30616
|
+
|
|
30617
|
+
# auth_names
|
|
30618
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30619
|
+
|
|
30620
|
+
new_options = opts.merge(
|
|
30621
|
+
:operation => :"V2Api.target_create_cloudflare",
|
|
30622
|
+
:header_params => header_params,
|
|
30623
|
+
:query_params => query_params,
|
|
30624
|
+
:form_params => form_params,
|
|
30625
|
+
:body => post_body,
|
|
30626
|
+
:auth_names => auth_names,
|
|
30627
|
+
:return_type => return_type
|
|
30628
|
+
)
|
|
30629
|
+
|
|
30630
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30631
|
+
if @api_client.config.debugging
|
|
30632
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_cloudflare\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30633
|
+
end
|
|
30634
|
+
return data, status_code, headers
|
|
30635
|
+
end
|
|
30636
|
+
|
|
30637
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
30638
|
+
# @param [Hash] opts the optional parameters
|
|
30639
|
+
# @return [TargetCreateOutput]
|
|
30640
|
+
def target_create_custom_dns(target_create_custom_dns, opts = {})
|
|
30641
|
+
data, _status_code, _headers = target_create_custom_dns_with_http_info(target_create_custom_dns, opts)
|
|
30642
|
+
data
|
|
30643
|
+
end
|
|
30644
|
+
|
|
30645
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
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_custom_dns_with_http_info(target_create_custom_dns, opts = {})
|
|
30649
|
+
if @api_client.config.debugging
|
|
30650
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_custom_dns ...'
|
|
30651
|
+
end
|
|
30652
|
+
# verify the required parameter 'target_create_custom_dns' is set
|
|
30653
|
+
if @api_client.config.client_side_validation && target_create_custom_dns.nil?
|
|
30654
|
+
fail ArgumentError, "Missing the required parameter 'target_create_custom_dns' when calling V2Api.target_create_custom_dns"
|
|
30655
|
+
end
|
|
30656
|
+
# resource path
|
|
30657
|
+
local_var_path = '/target-create-custom-dns'
|
|
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_custom_dns)
|
|
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_custom_dns",
|
|
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_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30697
|
+
end
|
|
30698
|
+
return data, status_code, headers
|
|
30699
|
+
end
|
|
30700
|
+
|
|
30701
|
+
# @param target_create_db [TargetCreateDB]
|
|
30702
|
+
# @param [Hash] opts the optional parameters
|
|
30703
|
+
# @return [TargetCreateOutput]
|
|
30704
|
+
def target_create_db(target_create_db, opts = {})
|
|
30705
|
+
data, _status_code, _headers = target_create_db_with_http_info(target_create_db, opts)
|
|
30706
|
+
data
|
|
30707
|
+
end
|
|
30708
|
+
|
|
30709
|
+
# @param target_create_db [TargetCreateDB]
|
|
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_db_with_http_info(target_create_db, opts = {})
|
|
30713
|
+
if @api_client.config.debugging
|
|
30714
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_db ...'
|
|
30715
|
+
end
|
|
30716
|
+
# verify the required parameter 'target_create_db' is set
|
|
30717
|
+
if @api_client.config.client_side_validation && target_create_db.nil?
|
|
30718
|
+
fail ArgumentError, "Missing the required parameter 'target_create_db' when calling V2Api.target_create_db"
|
|
30719
|
+
end
|
|
30720
|
+
# resource path
|
|
30721
|
+
local_var_path = '/target-create-db'
|
|
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_db)
|
|
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_db",
|
|
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_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30313
30761
|
end
|
|
30314
30762
|
return data, status_code, headers
|
|
30315
30763
|
end
|
|
@@ -31082,6 +31530,70 @@ module Akeyless
|
|
|
31082
31530
|
return data, status_code, headers
|
|
31083
31531
|
end
|
|
31084
31532
|
|
|
31533
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
31534
|
+
# @param [Hash] opts the optional parameters
|
|
31535
|
+
# @return [TargetCreateOutput]
|
|
31536
|
+
def target_create_grok(target_create_grok, opts = {})
|
|
31537
|
+
data, _status_code, _headers = target_create_grok_with_http_info(target_create_grok, opts)
|
|
31538
|
+
data
|
|
31539
|
+
end
|
|
31540
|
+
|
|
31541
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
31542
|
+
# @param [Hash] opts the optional parameters
|
|
31543
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31544
|
+
def target_create_grok_with_http_info(target_create_grok, opts = {})
|
|
31545
|
+
if @api_client.config.debugging
|
|
31546
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_grok ...'
|
|
31547
|
+
end
|
|
31548
|
+
# verify the required parameter 'target_create_grok' is set
|
|
31549
|
+
if @api_client.config.client_side_validation && target_create_grok.nil?
|
|
31550
|
+
fail ArgumentError, "Missing the required parameter 'target_create_grok' when calling V2Api.target_create_grok"
|
|
31551
|
+
end
|
|
31552
|
+
# resource path
|
|
31553
|
+
local_var_path = '/target-create-grok'
|
|
31554
|
+
|
|
31555
|
+
# query parameters
|
|
31556
|
+
query_params = opts[:query_params] || {}
|
|
31557
|
+
|
|
31558
|
+
# header parameters
|
|
31559
|
+
header_params = opts[:header_params] || {}
|
|
31560
|
+
# HTTP header 'Accept' (if needed)
|
|
31561
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31562
|
+
# HTTP header 'Content-Type'
|
|
31563
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31564
|
+
if !content_type.nil?
|
|
31565
|
+
header_params['Content-Type'] = content_type
|
|
31566
|
+
end
|
|
31567
|
+
|
|
31568
|
+
# form parameters
|
|
31569
|
+
form_params = opts[:form_params] || {}
|
|
31570
|
+
|
|
31571
|
+
# http body (model)
|
|
31572
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_grok)
|
|
31573
|
+
|
|
31574
|
+
# return_type
|
|
31575
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31576
|
+
|
|
31577
|
+
# auth_names
|
|
31578
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31579
|
+
|
|
31580
|
+
new_options = opts.merge(
|
|
31581
|
+
:operation => :"V2Api.target_create_grok",
|
|
31582
|
+
:header_params => header_params,
|
|
31583
|
+
:query_params => query_params,
|
|
31584
|
+
:form_params => form_params,
|
|
31585
|
+
:body => post_body,
|
|
31586
|
+
:auth_names => auth_names,
|
|
31587
|
+
:return_type => return_type
|
|
31588
|
+
)
|
|
31589
|
+
|
|
31590
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31591
|
+
if @api_client.config.debugging
|
|
31592
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31593
|
+
end
|
|
31594
|
+
return data, status_code, headers
|
|
31595
|
+
end
|
|
31596
|
+
|
|
31085
31597
|
# @param target_create_hashi_vault [TargetCreateHashiVault]
|
|
31086
31598
|
# @param [Hash] opts the optional parameters
|
|
31087
31599
|
# @return [TargetCreateOutput]
|
|
@@ -31210,6 +31722,70 @@ module Akeyless
|
|
|
31210
31722
|
return data, status_code, headers
|
|
31211
31723
|
end
|
|
31212
31724
|
|
|
31725
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31726
|
+
# @param [Hash] opts the optional parameters
|
|
31727
|
+
# @return [TargetCreateOutput]
|
|
31728
|
+
def target_create_keycloak(target_create_keycloak, opts = {})
|
|
31729
|
+
data, _status_code, _headers = target_create_keycloak_with_http_info(target_create_keycloak, opts)
|
|
31730
|
+
data
|
|
31731
|
+
end
|
|
31732
|
+
|
|
31733
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31734
|
+
# @param [Hash] opts the optional parameters
|
|
31735
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31736
|
+
def target_create_keycloak_with_http_info(target_create_keycloak, opts = {})
|
|
31737
|
+
if @api_client.config.debugging
|
|
31738
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_keycloak ...'
|
|
31739
|
+
end
|
|
31740
|
+
# verify the required parameter 'target_create_keycloak' is set
|
|
31741
|
+
if @api_client.config.client_side_validation && target_create_keycloak.nil?
|
|
31742
|
+
fail ArgumentError, "Missing the required parameter 'target_create_keycloak' when calling V2Api.target_create_keycloak"
|
|
31743
|
+
end
|
|
31744
|
+
# resource path
|
|
31745
|
+
local_var_path = '/target-create-keycloak'
|
|
31746
|
+
|
|
31747
|
+
# query parameters
|
|
31748
|
+
query_params = opts[:query_params] || {}
|
|
31749
|
+
|
|
31750
|
+
# header parameters
|
|
31751
|
+
header_params = opts[:header_params] || {}
|
|
31752
|
+
# HTTP header 'Accept' (if needed)
|
|
31753
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31754
|
+
# HTTP header 'Content-Type'
|
|
31755
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31756
|
+
if !content_type.nil?
|
|
31757
|
+
header_params['Content-Type'] = content_type
|
|
31758
|
+
end
|
|
31759
|
+
|
|
31760
|
+
# form parameters
|
|
31761
|
+
form_params = opts[:form_params] || {}
|
|
31762
|
+
|
|
31763
|
+
# http body (model)
|
|
31764
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_keycloak)
|
|
31765
|
+
|
|
31766
|
+
# return_type
|
|
31767
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31768
|
+
|
|
31769
|
+
# auth_names
|
|
31770
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31771
|
+
|
|
31772
|
+
new_options = opts.merge(
|
|
31773
|
+
:operation => :"V2Api.target_create_keycloak",
|
|
31774
|
+
:header_params => header_params,
|
|
31775
|
+
:query_params => query_params,
|
|
31776
|
+
:form_params => form_params,
|
|
31777
|
+
:body => post_body,
|
|
31778
|
+
:auth_names => auth_names,
|
|
31779
|
+
:return_type => return_type
|
|
31780
|
+
)
|
|
31781
|
+
|
|
31782
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31783
|
+
if @api_client.config.debugging
|
|
31784
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31785
|
+
end
|
|
31786
|
+
return data, status_code, headers
|
|
31787
|
+
end
|
|
31788
|
+
|
|
31213
31789
|
# @param target_create_ldap [TargetCreateLdap]
|
|
31214
31790
|
# @param [Hash] opts the optional parameters
|
|
31215
31791
|
# @return [TargetCreateOutput]
|
|
@@ -31402,6 +31978,70 @@ module Akeyless
|
|
|
31402
31978
|
return data, status_code, headers
|
|
31403
31979
|
end
|
|
31404
31980
|
|
|
31981
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31982
|
+
# @param [Hash] opts the optional parameters
|
|
31983
|
+
# @return [TargetCreateOutput]
|
|
31984
|
+
def target_create_okta(target_create_okta, opts = {})
|
|
31985
|
+
data, _status_code, _headers = target_create_okta_with_http_info(target_create_okta, opts)
|
|
31986
|
+
data
|
|
31987
|
+
end
|
|
31988
|
+
|
|
31989
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31990
|
+
# @param [Hash] opts the optional parameters
|
|
31991
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31992
|
+
def target_create_okta_with_http_info(target_create_okta, opts = {})
|
|
31993
|
+
if @api_client.config.debugging
|
|
31994
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_okta ...'
|
|
31995
|
+
end
|
|
31996
|
+
# verify the required parameter 'target_create_okta' is set
|
|
31997
|
+
if @api_client.config.client_side_validation && target_create_okta.nil?
|
|
31998
|
+
fail ArgumentError, "Missing the required parameter 'target_create_okta' when calling V2Api.target_create_okta"
|
|
31999
|
+
end
|
|
32000
|
+
# resource path
|
|
32001
|
+
local_var_path = '/target-create-okta'
|
|
32002
|
+
|
|
32003
|
+
# query parameters
|
|
32004
|
+
query_params = opts[:query_params] || {}
|
|
32005
|
+
|
|
32006
|
+
# header parameters
|
|
32007
|
+
header_params = opts[:header_params] || {}
|
|
32008
|
+
# HTTP header 'Accept' (if needed)
|
|
32009
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32010
|
+
# HTTP header 'Content-Type'
|
|
32011
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32012
|
+
if !content_type.nil?
|
|
32013
|
+
header_params['Content-Type'] = content_type
|
|
32014
|
+
end
|
|
32015
|
+
|
|
32016
|
+
# form parameters
|
|
32017
|
+
form_params = opts[:form_params] || {}
|
|
32018
|
+
|
|
32019
|
+
# http body (model)
|
|
32020
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_okta)
|
|
32021
|
+
|
|
32022
|
+
# return_type
|
|
32023
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
32024
|
+
|
|
32025
|
+
# auth_names
|
|
32026
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32027
|
+
|
|
32028
|
+
new_options = opts.merge(
|
|
32029
|
+
:operation => :"V2Api.target_create_okta",
|
|
32030
|
+
:header_params => header_params,
|
|
32031
|
+
:query_params => query_params,
|
|
32032
|
+
:form_params => form_params,
|
|
32033
|
+
:body => post_body,
|
|
32034
|
+
:auth_names => auth_names,
|
|
32035
|
+
:return_type => return_type
|
|
32036
|
+
)
|
|
32037
|
+
|
|
32038
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32039
|
+
if @api_client.config.debugging
|
|
32040
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32041
|
+
end
|
|
32042
|
+
return data, status_code, headers
|
|
32043
|
+
end
|
|
32044
|
+
|
|
31405
32045
|
# @param target_create_open_ai [TargetCreateOpenAI]
|
|
31406
32046
|
# @param [Hash] opts the optional parameters
|
|
31407
32047
|
# @return [TargetCreateOutput]
|
|
@@ -32148,13 +32788,141 @@ module Akeyless
|
|
|
32148
32788
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_get)
|
|
32149
32789
|
|
|
32150
32790
|
# return_type
|
|
32151
|
-
return_type = opts[:debug_return_type] || 'Target'
|
|
32791
|
+
return_type = opts[:debug_return_type] || 'Target'
|
|
32792
|
+
|
|
32793
|
+
# auth_names
|
|
32794
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32795
|
+
|
|
32796
|
+
new_options = opts.merge(
|
|
32797
|
+
:operation => :"V2Api.target_get",
|
|
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\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32809
|
+
end
|
|
32810
|
+
return data, status_code, headers
|
|
32811
|
+
end
|
|
32812
|
+
|
|
32813
|
+
# @param target_get_details [TargetGetDetails]
|
|
32814
|
+
# @param [Hash] opts the optional parameters
|
|
32815
|
+
# @return [GetTargetDetailsOutput]
|
|
32816
|
+
def target_get_details(target_get_details, opts = {})
|
|
32817
|
+
data, _status_code, _headers = target_get_details_with_http_info(target_get_details, opts)
|
|
32818
|
+
data
|
|
32819
|
+
end
|
|
32820
|
+
|
|
32821
|
+
# @param target_get_details [TargetGetDetails]
|
|
32822
|
+
# @param [Hash] opts the optional parameters
|
|
32823
|
+
# @return [Array<(GetTargetDetailsOutput, Integer, Hash)>] GetTargetDetailsOutput data, response status code and response headers
|
|
32824
|
+
def target_get_details_with_http_info(target_get_details, opts = {})
|
|
32825
|
+
if @api_client.config.debugging
|
|
32826
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_get_details ...'
|
|
32827
|
+
end
|
|
32828
|
+
# verify the required parameter 'target_get_details' is set
|
|
32829
|
+
if @api_client.config.client_side_validation && target_get_details.nil?
|
|
32830
|
+
fail ArgumentError, "Missing the required parameter 'target_get_details' when calling V2Api.target_get_details"
|
|
32831
|
+
end
|
|
32832
|
+
# resource path
|
|
32833
|
+
local_var_path = '/target-get-details'
|
|
32834
|
+
|
|
32835
|
+
# query parameters
|
|
32836
|
+
query_params = opts[:query_params] || {}
|
|
32837
|
+
|
|
32838
|
+
# header parameters
|
|
32839
|
+
header_params = opts[:header_params] || {}
|
|
32840
|
+
# HTTP header 'Accept' (if needed)
|
|
32841
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32842
|
+
# HTTP header 'Content-Type'
|
|
32843
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32844
|
+
if !content_type.nil?
|
|
32845
|
+
header_params['Content-Type'] = content_type
|
|
32846
|
+
end
|
|
32847
|
+
|
|
32848
|
+
# form parameters
|
|
32849
|
+
form_params = opts[:form_params] || {}
|
|
32850
|
+
|
|
32851
|
+
# http body (model)
|
|
32852
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_get_details)
|
|
32853
|
+
|
|
32854
|
+
# return_type
|
|
32855
|
+
return_type = opts[:debug_return_type] || 'GetTargetDetailsOutput'
|
|
32856
|
+
|
|
32857
|
+
# auth_names
|
|
32858
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32859
|
+
|
|
32860
|
+
new_options = opts.merge(
|
|
32861
|
+
:operation => :"V2Api.target_get_details",
|
|
32862
|
+
:header_params => header_params,
|
|
32863
|
+
:query_params => query_params,
|
|
32864
|
+
:form_params => form_params,
|
|
32865
|
+
:body => post_body,
|
|
32866
|
+
:auth_names => auth_names,
|
|
32867
|
+
:return_type => return_type
|
|
32868
|
+
)
|
|
32869
|
+
|
|
32870
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32871
|
+
if @api_client.config.debugging
|
|
32872
|
+
@api_client.config.logger.debug "API called: V2Api#target_get_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32873
|
+
end
|
|
32874
|
+
return data, status_code, headers
|
|
32875
|
+
end
|
|
32876
|
+
|
|
32877
|
+
# @param target_list [TargetList]
|
|
32878
|
+
# @param [Hash] opts the optional parameters
|
|
32879
|
+
# @return [ListTargetsOutput]
|
|
32880
|
+
def target_list(target_list, opts = {})
|
|
32881
|
+
data, _status_code, _headers = target_list_with_http_info(target_list, opts)
|
|
32882
|
+
data
|
|
32883
|
+
end
|
|
32884
|
+
|
|
32885
|
+
# @param target_list [TargetList]
|
|
32886
|
+
# @param [Hash] opts the optional parameters
|
|
32887
|
+
# @return [Array<(ListTargetsOutput, Integer, Hash)>] ListTargetsOutput data, response status code and response headers
|
|
32888
|
+
def target_list_with_http_info(target_list, opts = {})
|
|
32889
|
+
if @api_client.config.debugging
|
|
32890
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_list ...'
|
|
32891
|
+
end
|
|
32892
|
+
# verify the required parameter 'target_list' is set
|
|
32893
|
+
if @api_client.config.client_side_validation && target_list.nil?
|
|
32894
|
+
fail ArgumentError, "Missing the required parameter 'target_list' when calling V2Api.target_list"
|
|
32895
|
+
end
|
|
32896
|
+
# resource path
|
|
32897
|
+
local_var_path = '/target-list'
|
|
32898
|
+
|
|
32899
|
+
# query parameters
|
|
32900
|
+
query_params = opts[:query_params] || {}
|
|
32901
|
+
|
|
32902
|
+
# header parameters
|
|
32903
|
+
header_params = opts[:header_params] || {}
|
|
32904
|
+
# HTTP header 'Accept' (if needed)
|
|
32905
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32906
|
+
# HTTP header 'Content-Type'
|
|
32907
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32908
|
+
if !content_type.nil?
|
|
32909
|
+
header_params['Content-Type'] = content_type
|
|
32910
|
+
end
|
|
32911
|
+
|
|
32912
|
+
# form parameters
|
|
32913
|
+
form_params = opts[:form_params] || {}
|
|
32914
|
+
|
|
32915
|
+
# http body (model)
|
|
32916
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_list)
|
|
32917
|
+
|
|
32918
|
+
# return_type
|
|
32919
|
+
return_type = opts[:debug_return_type] || 'ListTargetsOutput'
|
|
32152
32920
|
|
|
32153
32921
|
# auth_names
|
|
32154
32922
|
auth_names = opts[:debug_auth_names] || []
|
|
32155
32923
|
|
|
32156
32924
|
new_options = opts.merge(
|
|
32157
|
-
:operation => :"V2Api.
|
|
32925
|
+
:operation => :"V2Api.target_list",
|
|
32158
32926
|
:header_params => header_params,
|
|
32159
32927
|
:query_params => query_params,
|
|
32160
32928
|
:form_params => form_params,
|
|
@@ -32165,32 +32933,32 @@ module Akeyless
|
|
|
32165
32933
|
|
|
32166
32934
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32167
32935
|
if @api_client.config.debugging
|
|
32168
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
32936
|
+
@api_client.config.logger.debug "API called: V2Api#target_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32169
32937
|
end
|
|
32170
32938
|
return data, status_code, headers
|
|
32171
32939
|
end
|
|
32172
32940
|
|
|
32173
|
-
# @param
|
|
32941
|
+
# @param target_update_aerospike [TargetUpdateAerospike]
|
|
32174
32942
|
# @param [Hash] opts the optional parameters
|
|
32175
|
-
# @return [
|
|
32176
|
-
def
|
|
32177
|
-
data, _status_code, _headers =
|
|
32943
|
+
# @return [TargetUpdateOutput]
|
|
32944
|
+
def target_update_aerospike(target_update_aerospike, opts = {})
|
|
32945
|
+
data, _status_code, _headers = target_update_aerospike_with_http_info(target_update_aerospike, opts)
|
|
32178
32946
|
data
|
|
32179
32947
|
end
|
|
32180
32948
|
|
|
32181
|
-
# @param
|
|
32949
|
+
# @param target_update_aerospike [TargetUpdateAerospike]
|
|
32182
32950
|
# @param [Hash] opts the optional parameters
|
|
32183
|
-
# @return [Array<(
|
|
32184
|
-
def
|
|
32951
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
32952
|
+
def target_update_aerospike_with_http_info(target_update_aerospike, opts = {})
|
|
32185
32953
|
if @api_client.config.debugging
|
|
32186
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
32954
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_aerospike ...'
|
|
32187
32955
|
end
|
|
32188
|
-
# verify the required parameter '
|
|
32189
|
-
if @api_client.config.client_side_validation &&
|
|
32190
|
-
fail ArgumentError, "Missing the required parameter '
|
|
32956
|
+
# verify the required parameter 'target_update_aerospike' is set
|
|
32957
|
+
if @api_client.config.client_side_validation && target_update_aerospike.nil?
|
|
32958
|
+
fail ArgumentError, "Missing the required parameter 'target_update_aerospike' when calling V2Api.target_update_aerospike"
|
|
32191
32959
|
end
|
|
32192
32960
|
# resource path
|
|
32193
|
-
local_var_path = '/target-
|
|
32961
|
+
local_var_path = '/target-update-aerospike'
|
|
32194
32962
|
|
|
32195
32963
|
# query parameters
|
|
32196
32964
|
query_params = opts[:query_params] || {}
|
|
@@ -32209,16 +32977,16 @@ module Akeyless
|
|
|
32209
32977
|
form_params = opts[:form_params] || {}
|
|
32210
32978
|
|
|
32211
32979
|
# http body (model)
|
|
32212
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
32980
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_aerospike)
|
|
32213
32981
|
|
|
32214
32982
|
# return_type
|
|
32215
|
-
return_type = opts[:debug_return_type] || '
|
|
32983
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32216
32984
|
|
|
32217
32985
|
# auth_names
|
|
32218
32986
|
auth_names = opts[:debug_auth_names] || []
|
|
32219
32987
|
|
|
32220
32988
|
new_options = opts.merge(
|
|
32221
|
-
:operation => :"V2Api.
|
|
32989
|
+
:operation => :"V2Api.target_update_aerospike",
|
|
32222
32990
|
:header_params => header_params,
|
|
32223
32991
|
:query_params => query_params,
|
|
32224
32992
|
:form_params => form_params,
|
|
@@ -32229,32 +32997,32 @@ module Akeyless
|
|
|
32229
32997
|
|
|
32230
32998
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32231
32999
|
if @api_client.config.debugging
|
|
32232
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
33000
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_aerospike\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32233
33001
|
end
|
|
32234
33002
|
return data, status_code, headers
|
|
32235
33003
|
end
|
|
32236
33004
|
|
|
32237
|
-
# @param
|
|
33005
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32238
33006
|
# @param [Hash] opts the optional parameters
|
|
32239
|
-
# @return [
|
|
32240
|
-
def
|
|
32241
|
-
data, _status_code, _headers =
|
|
33007
|
+
# @return [TargetUpdateOutput]
|
|
33008
|
+
def target_update_anthropic(target_update_anthropic, opts = {})
|
|
33009
|
+
data, _status_code, _headers = target_update_anthropic_with_http_info(target_update_anthropic, opts)
|
|
32242
33010
|
data
|
|
32243
33011
|
end
|
|
32244
33012
|
|
|
32245
|
-
# @param
|
|
33013
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32246
33014
|
# @param [Hash] opts the optional parameters
|
|
32247
|
-
# @return [Array<(
|
|
32248
|
-
def
|
|
33015
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33016
|
+
def target_update_anthropic_with_http_info(target_update_anthropic, opts = {})
|
|
32249
33017
|
if @api_client.config.debugging
|
|
32250
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
33018
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_anthropic ...'
|
|
32251
33019
|
end
|
|
32252
|
-
# verify the required parameter '
|
|
32253
|
-
if @api_client.config.client_side_validation &&
|
|
32254
|
-
fail ArgumentError, "Missing the required parameter '
|
|
33020
|
+
# verify the required parameter 'target_update_anthropic' is set
|
|
33021
|
+
if @api_client.config.client_side_validation && target_update_anthropic.nil?
|
|
33022
|
+
fail ArgumentError, "Missing the required parameter 'target_update_anthropic' when calling V2Api.target_update_anthropic"
|
|
32255
33023
|
end
|
|
32256
33024
|
# resource path
|
|
32257
|
-
local_var_path = '/target-
|
|
33025
|
+
local_var_path = '/target-update-anthropic'
|
|
32258
33026
|
|
|
32259
33027
|
# query parameters
|
|
32260
33028
|
query_params = opts[:query_params] || {}
|
|
@@ -32273,16 +33041,16 @@ module Akeyless
|
|
|
32273
33041
|
form_params = opts[:form_params] || {}
|
|
32274
33042
|
|
|
32275
33043
|
# http body (model)
|
|
32276
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
33044
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_anthropic)
|
|
32277
33045
|
|
|
32278
33046
|
# return_type
|
|
32279
|
-
return_type = opts[:debug_return_type] || '
|
|
33047
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32280
33048
|
|
|
32281
33049
|
# auth_names
|
|
32282
33050
|
auth_names = opts[:debug_auth_names] || []
|
|
32283
33051
|
|
|
32284
33052
|
new_options = opts.merge(
|
|
32285
|
-
:operation => :"V2Api.
|
|
33053
|
+
:operation => :"V2Api.target_update_anthropic",
|
|
32286
33054
|
:header_params => header_params,
|
|
32287
33055
|
:query_params => query_params,
|
|
32288
33056
|
:form_params => form_params,
|
|
@@ -32293,7 +33061,7 @@ module Akeyless
|
|
|
32293
33061
|
|
|
32294
33062
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32295
33063
|
if @api_client.config.debugging
|
|
32296
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
33064
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32297
33065
|
end
|
|
32298
33066
|
return data, status_code, headers
|
|
32299
33067
|
end
|
|
@@ -32490,6 +33258,70 @@ module Akeyless
|
|
|
32490
33258
|
return data, status_code, headers
|
|
32491
33259
|
end
|
|
32492
33260
|
|
|
33261
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
33262
|
+
# @param [Hash] opts the optional parameters
|
|
33263
|
+
# @return [TargetUpdateOutput]
|
|
33264
|
+
def target_update_bedrock(target_update_bedrock, opts = {})
|
|
33265
|
+
data, _status_code, _headers = target_update_bedrock_with_http_info(target_update_bedrock, opts)
|
|
33266
|
+
data
|
|
33267
|
+
end
|
|
33268
|
+
|
|
33269
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
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_bedrock_with_http_info(target_update_bedrock, opts = {})
|
|
33273
|
+
if @api_client.config.debugging
|
|
33274
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_bedrock ...'
|
|
33275
|
+
end
|
|
33276
|
+
# verify the required parameter 'target_update_bedrock' is set
|
|
33277
|
+
if @api_client.config.client_side_validation && target_update_bedrock.nil?
|
|
33278
|
+
fail ArgumentError, "Missing the required parameter 'target_update_bedrock' when calling V2Api.target_update_bedrock"
|
|
33279
|
+
end
|
|
33280
|
+
# resource path
|
|
33281
|
+
local_var_path = '/target-update-bedrock'
|
|
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_bedrock)
|
|
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_bedrock",
|
|
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_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33321
|
+
end
|
|
33322
|
+
return data, status_code, headers
|
|
33323
|
+
end
|
|
33324
|
+
|
|
32493
33325
|
# @param target_update_cloudflare [TargetUpdateCloudflare]
|
|
32494
33326
|
# @param [Hash] opts the optional parameters
|
|
32495
33327
|
# @return [TargetUpdateOutput]
|
|
@@ -32554,6 +33386,70 @@ module Akeyless
|
|
|
32554
33386
|
return data, status_code, headers
|
|
32555
33387
|
end
|
|
32556
33388
|
|
|
33389
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33390
|
+
# @param [Hash] opts the optional parameters
|
|
33391
|
+
# @return [TargetUpdateOutput]
|
|
33392
|
+
def target_update_custom_dns(target_update_custom_dns, opts = {})
|
|
33393
|
+
data, _status_code, _headers = target_update_custom_dns_with_http_info(target_update_custom_dns, opts)
|
|
33394
|
+
data
|
|
33395
|
+
end
|
|
33396
|
+
|
|
33397
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33398
|
+
# @param [Hash] opts the optional parameters
|
|
33399
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33400
|
+
def target_update_custom_dns_with_http_info(target_update_custom_dns, opts = {})
|
|
33401
|
+
if @api_client.config.debugging
|
|
33402
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_custom_dns ...'
|
|
33403
|
+
end
|
|
33404
|
+
# verify the required parameter 'target_update_custom_dns' is set
|
|
33405
|
+
if @api_client.config.client_side_validation && target_update_custom_dns.nil?
|
|
33406
|
+
fail ArgumentError, "Missing the required parameter 'target_update_custom_dns' when calling V2Api.target_update_custom_dns"
|
|
33407
|
+
end
|
|
33408
|
+
# resource path
|
|
33409
|
+
local_var_path = '/target-update-custom-dns'
|
|
33410
|
+
|
|
33411
|
+
# query parameters
|
|
33412
|
+
query_params = opts[:query_params] || {}
|
|
33413
|
+
|
|
33414
|
+
# header parameters
|
|
33415
|
+
header_params = opts[:header_params] || {}
|
|
33416
|
+
# HTTP header 'Accept' (if needed)
|
|
33417
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
33418
|
+
# HTTP header 'Content-Type'
|
|
33419
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
33420
|
+
if !content_type.nil?
|
|
33421
|
+
header_params['Content-Type'] = content_type
|
|
33422
|
+
end
|
|
33423
|
+
|
|
33424
|
+
# form parameters
|
|
33425
|
+
form_params = opts[:form_params] || {}
|
|
33426
|
+
|
|
33427
|
+
# http body (model)
|
|
33428
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_custom_dns)
|
|
33429
|
+
|
|
33430
|
+
# return_type
|
|
33431
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
33432
|
+
|
|
33433
|
+
# auth_names
|
|
33434
|
+
auth_names = opts[:debug_auth_names] || []
|
|
33435
|
+
|
|
33436
|
+
new_options = opts.merge(
|
|
33437
|
+
:operation => :"V2Api.target_update_custom_dns",
|
|
33438
|
+
:header_params => header_params,
|
|
33439
|
+
:query_params => query_params,
|
|
33440
|
+
:form_params => form_params,
|
|
33441
|
+
:body => post_body,
|
|
33442
|
+
:auth_names => auth_names,
|
|
33443
|
+
:return_type => return_type
|
|
33444
|
+
)
|
|
33445
|
+
|
|
33446
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33447
|
+
if @api_client.config.debugging
|
|
33448
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33449
|
+
end
|
|
33450
|
+
return data, status_code, headers
|
|
33451
|
+
end
|
|
33452
|
+
|
|
32557
33453
|
# @param target_update_db [TargetUpdateDB]
|
|
32558
33454
|
# @param [Hash] opts the optional parameters
|
|
32559
33455
|
# @return [TargetUpdateOutput]
|
|
@@ -33342,7 +34238,135 @@ module Akeyless
|
|
|
33342
34238
|
fail ArgumentError, "Missing the required parameter 'target_update_google_trust' when calling V2Api.target_update_google_trust"
|
|
33343
34239
|
end
|
|
33344
34240
|
# resource path
|
|
33345
|
-
local_var_path = '/target-update-google-trust'
|
|
34241
|
+
local_var_path = '/target-update-google-trust'
|
|
34242
|
+
|
|
34243
|
+
# query parameters
|
|
34244
|
+
query_params = opts[:query_params] || {}
|
|
34245
|
+
|
|
34246
|
+
# header parameters
|
|
34247
|
+
header_params = opts[:header_params] || {}
|
|
34248
|
+
# HTTP header 'Accept' (if needed)
|
|
34249
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34250
|
+
# HTTP header 'Content-Type'
|
|
34251
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34252
|
+
if !content_type.nil?
|
|
34253
|
+
header_params['Content-Type'] = content_type
|
|
34254
|
+
end
|
|
34255
|
+
|
|
34256
|
+
# form parameters
|
|
34257
|
+
form_params = opts[:form_params] || {}
|
|
34258
|
+
|
|
34259
|
+
# http body (model)
|
|
34260
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_google_trust)
|
|
34261
|
+
|
|
34262
|
+
# return_type
|
|
34263
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34264
|
+
|
|
34265
|
+
# auth_names
|
|
34266
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34267
|
+
|
|
34268
|
+
new_options = opts.merge(
|
|
34269
|
+
:operation => :"V2Api.target_update_google_trust",
|
|
34270
|
+
:header_params => header_params,
|
|
34271
|
+
:query_params => query_params,
|
|
34272
|
+
:form_params => form_params,
|
|
34273
|
+
:body => post_body,
|
|
34274
|
+
:auth_names => auth_names,
|
|
34275
|
+
:return_type => return_type
|
|
34276
|
+
)
|
|
34277
|
+
|
|
34278
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34279
|
+
if @api_client.config.debugging
|
|
34280
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_google_trust\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34281
|
+
end
|
|
34282
|
+
return data, status_code, headers
|
|
34283
|
+
end
|
|
34284
|
+
|
|
34285
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34286
|
+
# @param [Hash] opts the optional parameters
|
|
34287
|
+
# @return [TargetUpdateOutput]
|
|
34288
|
+
def target_update_grok(target_update_grok, opts = {})
|
|
34289
|
+
data, _status_code, _headers = target_update_grok_with_http_info(target_update_grok, opts)
|
|
34290
|
+
data
|
|
34291
|
+
end
|
|
34292
|
+
|
|
34293
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34294
|
+
# @param [Hash] opts the optional parameters
|
|
34295
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34296
|
+
def target_update_grok_with_http_info(target_update_grok, opts = {})
|
|
34297
|
+
if @api_client.config.debugging
|
|
34298
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_grok ...'
|
|
34299
|
+
end
|
|
34300
|
+
# verify the required parameter 'target_update_grok' is set
|
|
34301
|
+
if @api_client.config.client_side_validation && target_update_grok.nil?
|
|
34302
|
+
fail ArgumentError, "Missing the required parameter 'target_update_grok' when calling V2Api.target_update_grok"
|
|
34303
|
+
end
|
|
34304
|
+
# resource path
|
|
34305
|
+
local_var_path = '/target-update-grok'
|
|
34306
|
+
|
|
34307
|
+
# query parameters
|
|
34308
|
+
query_params = opts[:query_params] || {}
|
|
34309
|
+
|
|
34310
|
+
# header parameters
|
|
34311
|
+
header_params = opts[:header_params] || {}
|
|
34312
|
+
# HTTP header 'Accept' (if needed)
|
|
34313
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34314
|
+
# HTTP header 'Content-Type'
|
|
34315
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34316
|
+
if !content_type.nil?
|
|
34317
|
+
header_params['Content-Type'] = content_type
|
|
34318
|
+
end
|
|
34319
|
+
|
|
34320
|
+
# form parameters
|
|
34321
|
+
form_params = opts[:form_params] || {}
|
|
34322
|
+
|
|
34323
|
+
# http body (model)
|
|
34324
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_grok)
|
|
34325
|
+
|
|
34326
|
+
# return_type
|
|
34327
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34328
|
+
|
|
34329
|
+
# auth_names
|
|
34330
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34331
|
+
|
|
34332
|
+
new_options = opts.merge(
|
|
34333
|
+
:operation => :"V2Api.target_update_grok",
|
|
34334
|
+
:header_params => header_params,
|
|
34335
|
+
:query_params => query_params,
|
|
34336
|
+
:form_params => form_params,
|
|
34337
|
+
:body => post_body,
|
|
34338
|
+
:auth_names => auth_names,
|
|
34339
|
+
:return_type => return_type
|
|
34340
|
+
)
|
|
34341
|
+
|
|
34342
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34343
|
+
if @api_client.config.debugging
|
|
34344
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34345
|
+
end
|
|
34346
|
+
return data, status_code, headers
|
|
34347
|
+
end
|
|
34348
|
+
|
|
34349
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34350
|
+
# @param [Hash] opts the optional parameters
|
|
34351
|
+
# @return [TargetUpdateOutput]
|
|
34352
|
+
def target_update_hashi_vault(target_update_hashi_vault, opts = {})
|
|
34353
|
+
data, _status_code, _headers = target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts)
|
|
34354
|
+
data
|
|
34355
|
+
end
|
|
34356
|
+
|
|
34357
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34358
|
+
# @param [Hash] opts the optional parameters
|
|
34359
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34360
|
+
def target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts = {})
|
|
34361
|
+
if @api_client.config.debugging
|
|
34362
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_hashi_vault ...'
|
|
34363
|
+
end
|
|
34364
|
+
# verify the required parameter 'target_update_hashi_vault' is set
|
|
34365
|
+
if @api_client.config.client_side_validation && target_update_hashi_vault.nil?
|
|
34366
|
+
fail ArgumentError, "Missing the required parameter 'target_update_hashi_vault' when calling V2Api.target_update_hashi_vault"
|
|
34367
|
+
end
|
|
34368
|
+
# resource path
|
|
34369
|
+
local_var_path = '/target-update-hashi-vault'
|
|
33346
34370
|
|
|
33347
34371
|
# query parameters
|
|
33348
34372
|
query_params = opts[:query_params] || {}
|
|
@@ -33361,7 +34385,7 @@ module Akeyless
|
|
|
33361
34385
|
form_params = opts[:form_params] || {}
|
|
33362
34386
|
|
|
33363
34387
|
# http body (model)
|
|
33364
|
-
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_hashi_vault)
|
|
33365
34389
|
|
|
33366
34390
|
# return_type
|
|
33367
34391
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33370,7 +34394,7 @@ module Akeyless
|
|
|
33370
34394
|
auth_names = opts[:debug_auth_names] || []
|
|
33371
34395
|
|
|
33372
34396
|
new_options = opts.merge(
|
|
33373
|
-
:operation => :"V2Api.
|
|
34397
|
+
:operation => :"V2Api.target_update_hashi_vault",
|
|
33374
34398
|
:header_params => header_params,
|
|
33375
34399
|
:query_params => query_params,
|
|
33376
34400
|
:form_params => form_params,
|
|
@@ -33381,32 +34405,32 @@ module Akeyless
|
|
|
33381
34405
|
|
|
33382
34406
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33383
34407
|
if @api_client.config.debugging
|
|
33384
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34408
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33385
34409
|
end
|
|
33386
34410
|
return data, status_code, headers
|
|
33387
34411
|
end
|
|
33388
34412
|
|
|
33389
|
-
# @param
|
|
34413
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33390
34414
|
# @param [Hash] opts the optional parameters
|
|
33391
34415
|
# @return [TargetUpdateOutput]
|
|
33392
|
-
def
|
|
33393
|
-
data, _status_code, _headers =
|
|
34416
|
+
def target_update_k8s(target_update_k8s, opts = {})
|
|
34417
|
+
data, _status_code, _headers = target_update_k8s_with_http_info(target_update_k8s, opts)
|
|
33394
34418
|
data
|
|
33395
34419
|
end
|
|
33396
34420
|
|
|
33397
|
-
# @param
|
|
34421
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33398
34422
|
# @param [Hash] opts the optional parameters
|
|
33399
34423
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33400
|
-
def
|
|
34424
|
+
def target_update_k8s_with_http_info(target_update_k8s, opts = {})
|
|
33401
34425
|
if @api_client.config.debugging
|
|
33402
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34426
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_k8s ...'
|
|
33403
34427
|
end
|
|
33404
|
-
# verify the required parameter '
|
|
33405
|
-
if @api_client.config.client_side_validation &&
|
|
33406
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34428
|
+
# verify the required parameter 'target_update_k8s' is set
|
|
34429
|
+
if @api_client.config.client_side_validation && target_update_k8s.nil?
|
|
34430
|
+
fail ArgumentError, "Missing the required parameter 'target_update_k8s' when calling V2Api.target_update_k8s"
|
|
33407
34431
|
end
|
|
33408
34432
|
# resource path
|
|
33409
|
-
local_var_path = '/target-update-
|
|
34433
|
+
local_var_path = '/target-update-k8s'
|
|
33410
34434
|
|
|
33411
34435
|
# query parameters
|
|
33412
34436
|
query_params = opts[:query_params] || {}
|
|
@@ -33425,7 +34449,7 @@ module Akeyless
|
|
|
33425
34449
|
form_params = opts[:form_params] || {}
|
|
33426
34450
|
|
|
33427
34451
|
# http body (model)
|
|
33428
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34452
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_k8s)
|
|
33429
34453
|
|
|
33430
34454
|
# return_type
|
|
33431
34455
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33434,7 +34458,7 @@ module Akeyless
|
|
|
33434
34458
|
auth_names = opts[:debug_auth_names] || []
|
|
33435
34459
|
|
|
33436
34460
|
new_options = opts.merge(
|
|
33437
|
-
:operation => :"V2Api.
|
|
34461
|
+
:operation => :"V2Api.target_update_k8s",
|
|
33438
34462
|
:header_params => header_params,
|
|
33439
34463
|
:query_params => query_params,
|
|
33440
34464
|
:form_params => form_params,
|
|
@@ -33445,32 +34469,32 @@ module Akeyless
|
|
|
33445
34469
|
|
|
33446
34470
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33447
34471
|
if @api_client.config.debugging
|
|
33448
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34472
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_k8s\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33449
34473
|
end
|
|
33450
34474
|
return data, status_code, headers
|
|
33451
34475
|
end
|
|
33452
34476
|
|
|
33453
|
-
# @param
|
|
34477
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33454
34478
|
# @param [Hash] opts the optional parameters
|
|
33455
34479
|
# @return [TargetUpdateOutput]
|
|
33456
|
-
def
|
|
33457
|
-
data, _status_code, _headers =
|
|
34480
|
+
def target_update_keycloak(target_update_keycloak, opts = {})
|
|
34481
|
+
data, _status_code, _headers = target_update_keycloak_with_http_info(target_update_keycloak, opts)
|
|
33458
34482
|
data
|
|
33459
34483
|
end
|
|
33460
34484
|
|
|
33461
|
-
# @param
|
|
34485
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33462
34486
|
# @param [Hash] opts the optional parameters
|
|
33463
34487
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33464
|
-
def
|
|
34488
|
+
def target_update_keycloak_with_http_info(target_update_keycloak, opts = {})
|
|
33465
34489
|
if @api_client.config.debugging
|
|
33466
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34490
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_keycloak ...'
|
|
33467
34491
|
end
|
|
33468
|
-
# verify the required parameter '
|
|
33469
|
-
if @api_client.config.client_side_validation &&
|
|
33470
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34492
|
+
# verify the required parameter 'target_update_keycloak' is set
|
|
34493
|
+
if @api_client.config.client_side_validation && target_update_keycloak.nil?
|
|
34494
|
+
fail ArgumentError, "Missing the required parameter 'target_update_keycloak' when calling V2Api.target_update_keycloak"
|
|
33471
34495
|
end
|
|
33472
34496
|
# resource path
|
|
33473
|
-
local_var_path = '/target-update-
|
|
34497
|
+
local_var_path = '/target-update-keycloak'
|
|
33474
34498
|
|
|
33475
34499
|
# query parameters
|
|
33476
34500
|
query_params = opts[:query_params] || {}
|
|
@@ -33489,7 +34513,7 @@ module Akeyless
|
|
|
33489
34513
|
form_params = opts[:form_params] || {}
|
|
33490
34514
|
|
|
33491
34515
|
# http body (model)
|
|
33492
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34516
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_keycloak)
|
|
33493
34517
|
|
|
33494
34518
|
# return_type
|
|
33495
34519
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33498,7 +34522,7 @@ module Akeyless
|
|
|
33498
34522
|
auth_names = opts[:debug_auth_names] || []
|
|
33499
34523
|
|
|
33500
34524
|
new_options = opts.merge(
|
|
33501
|
-
:operation => :"V2Api.
|
|
34525
|
+
:operation => :"V2Api.target_update_keycloak",
|
|
33502
34526
|
:header_params => header_params,
|
|
33503
34527
|
:query_params => query_params,
|
|
33504
34528
|
:form_params => form_params,
|
|
@@ -33509,7 +34533,7 @@ module Akeyless
|
|
|
33509
34533
|
|
|
33510
34534
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33511
34535
|
if @api_client.config.debugging
|
|
33512
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34536
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33513
34537
|
end
|
|
33514
34538
|
return data, status_code, headers
|
|
33515
34539
|
end
|
|
@@ -33706,6 +34730,70 @@ module Akeyless
|
|
|
33706
34730
|
return data, status_code, headers
|
|
33707
34731
|
end
|
|
33708
34732
|
|
|
34733
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34734
|
+
# @param [Hash] opts the optional parameters
|
|
34735
|
+
# @return [TargetUpdateOutput]
|
|
34736
|
+
def target_update_okta(target_update_okta, opts = {})
|
|
34737
|
+
data, _status_code, _headers = target_update_okta_with_http_info(target_update_okta, opts)
|
|
34738
|
+
data
|
|
34739
|
+
end
|
|
34740
|
+
|
|
34741
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34742
|
+
# @param [Hash] opts the optional parameters
|
|
34743
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34744
|
+
def target_update_okta_with_http_info(target_update_okta, opts = {})
|
|
34745
|
+
if @api_client.config.debugging
|
|
34746
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_okta ...'
|
|
34747
|
+
end
|
|
34748
|
+
# verify the required parameter 'target_update_okta' is set
|
|
34749
|
+
if @api_client.config.client_side_validation && target_update_okta.nil?
|
|
34750
|
+
fail ArgumentError, "Missing the required parameter 'target_update_okta' when calling V2Api.target_update_okta"
|
|
34751
|
+
end
|
|
34752
|
+
# resource path
|
|
34753
|
+
local_var_path = '/target-update-okta'
|
|
34754
|
+
|
|
34755
|
+
# query parameters
|
|
34756
|
+
query_params = opts[:query_params] || {}
|
|
34757
|
+
|
|
34758
|
+
# header parameters
|
|
34759
|
+
header_params = opts[:header_params] || {}
|
|
34760
|
+
# HTTP header 'Accept' (if needed)
|
|
34761
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34762
|
+
# HTTP header 'Content-Type'
|
|
34763
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34764
|
+
if !content_type.nil?
|
|
34765
|
+
header_params['Content-Type'] = content_type
|
|
34766
|
+
end
|
|
34767
|
+
|
|
34768
|
+
# form parameters
|
|
34769
|
+
form_params = opts[:form_params] || {}
|
|
34770
|
+
|
|
34771
|
+
# http body (model)
|
|
34772
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_okta)
|
|
34773
|
+
|
|
34774
|
+
# return_type
|
|
34775
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34776
|
+
|
|
34777
|
+
# auth_names
|
|
34778
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34779
|
+
|
|
34780
|
+
new_options = opts.merge(
|
|
34781
|
+
:operation => :"V2Api.target_update_okta",
|
|
34782
|
+
:header_params => header_params,
|
|
34783
|
+
:query_params => query_params,
|
|
34784
|
+
:form_params => form_params,
|
|
34785
|
+
:body => post_body,
|
|
34786
|
+
:auth_names => auth_names,
|
|
34787
|
+
:return_type => return_type
|
|
34788
|
+
)
|
|
34789
|
+
|
|
34790
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34791
|
+
if @api_client.config.debugging
|
|
34792
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34793
|
+
end
|
|
34794
|
+
return data, status_code, headers
|
|
34795
|
+
end
|
|
34796
|
+
|
|
33709
34797
|
# @param target_update_open_ai [TargetUpdateOpenAI]
|
|
33710
34798
|
# @param [Hash] opts the optional parameters
|
|
33711
34799
|
# @return [TargetUpdateOutput]
|
|
@@ -37354,6 +38442,198 @@ module Akeyless
|
|
|
37354
38442
|
return data, status_code, headers
|
|
37355
38443
|
end
|
|
37356
38444
|
|
|
38445
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
38446
|
+
# @param [Hash] opts the optional parameters
|
|
38447
|
+
# @return [UpdateSecretValOutput]
|
|
38448
|
+
def update_mcp_secret_bearer_token(update_mcp_secret_bearer_token, opts = {})
|
|
38449
|
+
data, _status_code, _headers = update_mcp_secret_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts)
|
|
38450
|
+
data
|
|
38451
|
+
end
|
|
38452
|
+
|
|
38453
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
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_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts = {})
|
|
38457
|
+
if @api_client.config.debugging
|
|
38458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_bearer_token ...'
|
|
38459
|
+
end
|
|
38460
|
+
# verify the required parameter 'update_mcp_secret_bearer_token' is set
|
|
38461
|
+
if @api_client.config.client_side_validation && update_mcp_secret_bearer_token.nil?
|
|
38462
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_bearer_token' when calling V2Api.update_mcp_secret_bearer_token"
|
|
38463
|
+
end
|
|
38464
|
+
# resource path
|
|
38465
|
+
local_var_path = '/update-mcp-secret-bearer-token'
|
|
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_bearer_token)
|
|
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_bearer_token",
|
|
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_bearer_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38505
|
+
end
|
|
38506
|
+
return data, status_code, headers
|
|
38507
|
+
end
|
|
38508
|
+
|
|
38509
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38510
|
+
# @param [Hash] opts the optional parameters
|
|
38511
|
+
# @return [UpdateSecretValOutput]
|
|
38512
|
+
def update_mcp_secret_o_auth_auth_code(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38513
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts)
|
|
38514
|
+
data
|
|
38515
|
+
end
|
|
38516
|
+
|
|
38517
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38518
|
+
# @param [Hash] opts the optional parameters
|
|
38519
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38520
|
+
def update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38521
|
+
if @api_client.config.debugging
|
|
38522
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_auth_code ...'
|
|
38523
|
+
end
|
|
38524
|
+
# verify the required parameter 'update_mcp_secret_o_auth_auth_code' is set
|
|
38525
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_auth_code.nil?
|
|
38526
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_auth_code' when calling V2Api.update_mcp_secret_o_auth_auth_code"
|
|
38527
|
+
end
|
|
38528
|
+
# resource path
|
|
38529
|
+
local_var_path = '/update-mcp-secret-oauth-authorization-code'
|
|
38530
|
+
|
|
38531
|
+
# query parameters
|
|
38532
|
+
query_params = opts[:query_params] || {}
|
|
38533
|
+
|
|
38534
|
+
# header parameters
|
|
38535
|
+
header_params = opts[:header_params] || {}
|
|
38536
|
+
# HTTP header 'Accept' (if needed)
|
|
38537
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38538
|
+
# HTTP header 'Content-Type'
|
|
38539
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38540
|
+
if !content_type.nil?
|
|
38541
|
+
header_params['Content-Type'] = content_type
|
|
38542
|
+
end
|
|
38543
|
+
|
|
38544
|
+
# form parameters
|
|
38545
|
+
form_params = opts[:form_params] || {}
|
|
38546
|
+
|
|
38547
|
+
# http body (model)
|
|
38548
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_auth_code)
|
|
38549
|
+
|
|
38550
|
+
# return_type
|
|
38551
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38552
|
+
|
|
38553
|
+
# auth_names
|
|
38554
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38555
|
+
|
|
38556
|
+
new_options = opts.merge(
|
|
38557
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_auth_code",
|
|
38558
|
+
:header_params => header_params,
|
|
38559
|
+
:query_params => query_params,
|
|
38560
|
+
:form_params => form_params,
|
|
38561
|
+
:body => post_body,
|
|
38562
|
+
:auth_names => auth_names,
|
|
38563
|
+
:return_type => return_type
|
|
38564
|
+
)
|
|
38565
|
+
|
|
38566
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38567
|
+
if @api_client.config.debugging
|
|
38568
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_auth_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38569
|
+
end
|
|
38570
|
+
return data, status_code, headers
|
|
38571
|
+
end
|
|
38572
|
+
|
|
38573
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38574
|
+
# @param [Hash] opts the optional parameters
|
|
38575
|
+
# @return [UpdateSecretValOutput]
|
|
38576
|
+
def update_mcp_secret_o_auth_client_creds(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38577
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts)
|
|
38578
|
+
data
|
|
38579
|
+
end
|
|
38580
|
+
|
|
38581
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38582
|
+
# @param [Hash] opts the optional parameters
|
|
38583
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38584
|
+
def update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38585
|
+
if @api_client.config.debugging
|
|
38586
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_client_creds ...'
|
|
38587
|
+
end
|
|
38588
|
+
# verify the required parameter 'update_mcp_secret_o_auth_client_creds' is set
|
|
38589
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_client_creds.nil?
|
|
38590
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_client_creds' when calling V2Api.update_mcp_secret_o_auth_client_creds"
|
|
38591
|
+
end
|
|
38592
|
+
# resource path
|
|
38593
|
+
local_var_path = '/update-mcp-secret-oauth-client-credentials'
|
|
38594
|
+
|
|
38595
|
+
# query parameters
|
|
38596
|
+
query_params = opts[:query_params] || {}
|
|
38597
|
+
|
|
38598
|
+
# header parameters
|
|
38599
|
+
header_params = opts[:header_params] || {}
|
|
38600
|
+
# HTTP header 'Accept' (if needed)
|
|
38601
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38602
|
+
# HTTP header 'Content-Type'
|
|
38603
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38604
|
+
if !content_type.nil?
|
|
38605
|
+
header_params['Content-Type'] = content_type
|
|
38606
|
+
end
|
|
38607
|
+
|
|
38608
|
+
# form parameters
|
|
38609
|
+
form_params = opts[:form_params] || {}
|
|
38610
|
+
|
|
38611
|
+
# http body (model)
|
|
38612
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_client_creds)
|
|
38613
|
+
|
|
38614
|
+
# return_type
|
|
38615
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38616
|
+
|
|
38617
|
+
# auth_names
|
|
38618
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38619
|
+
|
|
38620
|
+
new_options = opts.merge(
|
|
38621
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_client_creds",
|
|
38622
|
+
:header_params => header_params,
|
|
38623
|
+
:query_params => query_params,
|
|
38624
|
+
:form_params => form_params,
|
|
38625
|
+
:body => post_body,
|
|
38626
|
+
:auth_names => auth_names,
|
|
38627
|
+
:return_type => return_type
|
|
38628
|
+
)
|
|
38629
|
+
|
|
38630
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38631
|
+
if @api_client.config.debugging
|
|
38632
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_client_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38633
|
+
end
|
|
38634
|
+
return data, status_code, headers
|
|
38635
|
+
end
|
|
38636
|
+
|
|
37357
38637
|
# @param update_native_k8_s_target [UpdateNativeK8STarget]
|
|
37358
38638
|
# @param [Hash] opts the optional parameters
|
|
37359
38639
|
# @return [UpdateNativeK8STargetOutput]
|