akeyless 5.0.27 → 5.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +63 -1
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/AnthropicTargetDetails.md +20 -0
- data/docs/AuthMethod.md +3 -1
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateSAML.md +3 -1
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +3 -1
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BedrockTargetDetails.md +20 -0
- data/docs/CreateAuthMethodSAML.md +3 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateDBTarget.md +2 -0
- data/docs/CreateMcpSecretBearerToken.md +46 -0
- data/docs/CreateMcpSecretOAuthAuthCode.md +56 -0
- data/docs/CreateMcpSecretOAuthClientCreds.md +52 -0
- data/docs/CreatePKICertIssuer.md +1 -1
- data/docs/CustomDnsTargetDetails.md +20 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DbTargetDetails.md +2 -0
- data/docs/EmailCustomization.md +28 -0
- data/docs/EmailCustomizationAccountInformation.md +24 -0
- data/docs/EmailCustomizationAccountInformationValues.md +24 -0
- data/docs/EsmGetSecretOutput.md +11 -1
- data/docs/FileDownloadInstructions.md +20 -0
- data/docs/FileInfo.md +50 -0
- data/docs/FolderDeleteSync.md +32 -0
- data/docs/FolderDeleteSyncOutput.md +24 -0
- data/docs/FolderSync.md +34 -0
- data/docs/FolderSyncAll.md +26 -0
- data/docs/FolderSyncAllOutput.md +18 -0
- data/docs/FolderSyncOutput.md +24 -0
- data/docs/FolderUSCSyncConfig.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/GrokTargetDetails.md +22 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/KeycloakTargetDetails.md +24 -0
- data/docs/OIDCAccessRules.md +2 -0
- data/docs/OktaTargetDetails.md +20 -0
- data/docs/PersonalFolderGlobalMappingSettings.md +20 -0
- data/docs/RotatedSecretCreateAws.md +4 -4
- data/docs/RotatedSecretCreateAzure.md +6 -4
- data/docs/RotatedSecretCreateCassandra.md +4 -4
- data/docs/RotatedSecretCreateCustom.md +4 -4
- data/docs/RotatedSecretCreateDockerhub.md +4 -4
- data/docs/RotatedSecretCreateGcp.md +4 -4
- data/docs/RotatedSecretCreateHanadb.md +4 -4
- data/docs/RotatedSecretCreateHashiVault.md +60 -0
- data/docs/RotatedSecretCreateLdap.md +4 -4
- data/docs/RotatedSecretCreateMongodb.md +4 -4
- data/docs/RotatedSecretCreateMssql.md +4 -4
- data/docs/RotatedSecretCreateMysql.md +4 -4
- data/docs/RotatedSecretCreateOpenAI.md +4 -4
- data/docs/RotatedSecretCreateOracledb.md +4 -4
- data/docs/RotatedSecretCreatePostgresql.md +4 -4
- data/docs/RotatedSecretCreateRedis.md +4 -4
- data/docs/RotatedSecretCreateRedshift.md +4 -4
- data/docs/RotatedSecretCreateSnowflake.md +4 -4
- data/docs/RotatedSecretCreateSplunk.md +4 -4
- data/docs/RotatedSecretCreateSsh.md +4 -4
- data/docs/RotatedSecretCreateWindows.md +4 -4
- data/docs/RotatedSecretUpdateAws.md +4 -4
- data/docs/RotatedSecretUpdateAzure.md +6 -4
- data/docs/RotatedSecretUpdateCassandra.md +4 -4
- data/docs/RotatedSecretUpdateCustom.md +4 -4
- data/docs/RotatedSecretUpdateDockerhub.md +4 -4
- data/docs/RotatedSecretUpdateGcp.md +4 -4
- data/docs/RotatedSecretUpdateHanadb.md +4 -4
- data/docs/RotatedSecretUpdateHashiVault.md +64 -0
- data/docs/RotatedSecretUpdateLdap.md +4 -4
- data/docs/RotatedSecretUpdateMongodb.md +4 -4
- data/docs/RotatedSecretUpdateMssql.md +4 -4
- data/docs/RotatedSecretUpdateMysql.md +4 -4
- data/docs/RotatedSecretUpdateOpenAI.md +4 -4
- data/docs/RotatedSecretUpdateOracledb.md +4 -4
- data/docs/RotatedSecretUpdatePostgresql.md +4 -4
- data/docs/RotatedSecretUpdateRedis.md +4 -4
- data/docs/RotatedSecretUpdateRedshift.md +4 -4
- data/docs/RotatedSecretUpdateSnowflake.md +4 -4
- data/docs/RotatedSecretUpdateSplunk.md +4 -4
- data/docs/RotatedSecretUpdateSsh.md +4 -4
- data/docs/RotatedSecretUpdateWindows.md +4 -4
- data/docs/RuntimeAuthorityCommand.md +4 -0
- data/docs/SAMLAccessRules.md +3 -1
- data/docs/SecretInfo.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetCreateAnthropic.md +36 -0
- data/docs/TargetCreateBedrock.md +36 -0
- data/docs/TargetCreateCustomDns.md +36 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateGrok.md +38 -0
- data/docs/TargetCreateKeycloak.md +40 -0
- data/docs/TargetCreateOkta.md +36 -0
- data/docs/TargetTypeDetailsInput.md +12 -0
- data/docs/TargetUpdateAnthropic.md +42 -0
- data/docs/TargetUpdateBedrock.md +42 -0
- data/docs/TargetUpdateCustomDns.md +40 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateGrok.md +44 -0
- data/docs/TargetUpdateKeycloak.md +44 -0
- data/docs/TargetUpdateOkta.md +40 -0
- data/docs/UidExpirationEvent.md +18 -0
- data/docs/UpdateAuthMethodSAML.md +3 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateDBTarget.md +2 -0
- data/docs/UpdateMcpSecretBearerToken.md +40 -0
- data/docs/UpdateMcpSecretOAuthAuthCode.md +50 -0
- data/docs/UpdateMcpSecretOAuthClientCreds.md +46 -0
- data/docs/UpdatePKICertIssuer.md +1 -1
- data/docs/UscGetSecretOutput.md +11 -1
- data/docs/V2Api.md +1449 -0
- data/lib/akeyless/api/v2_api.rb +1617 -145
- data/lib/akeyless/models/account_general_settings.rb +29 -1
- data/lib/akeyless/models/anthropic_target_details.rb +224 -0
- data/lib/akeyless/models/auth_method.rb +15 -4
- data/lib/akeyless/models/auth_method_access_info.rb +13 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
- data/lib/akeyless/models/bedrock_target_details.rb +224 -0
- data/lib/akeyless/models/create_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/create_db_target.rb +11 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +371 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +423 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +403 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/custom_dns_target_details.rb +225 -0
- data/lib/akeyless/models/db_target_details.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +11 -1
- data/lib/akeyless/models/email_customization.rb +259 -0
- data/lib/akeyless/models/email_customization_account_information.rb +242 -0
- data/lib/akeyless/models/email_customization_account_information_values.rb +241 -0
- data/lib/akeyless/models/esm_get_secret_output.rb +53 -4
- data/lib/akeyless/models/file_download_instructions.rb +223 -0
- data/lib/akeyless/models/file_info.rb +358 -0
- data/lib/akeyless/models/folder_delete_sync.rb +305 -0
- data/lib/akeyless/models/folder_delete_sync_output.rb +245 -0
- data/lib/akeyless/models/folder_sync.rb +306 -0
- data/lib/akeyless/models/folder_sync_all.rb +266 -0
- data/lib/akeyless/models/folder_sync_all_output.rb +214 -0
- data/lib/akeyless/models/folder_sync_output.rb +247 -0
- data/lib/akeyless/models/folder_usc_sync_config.rb +10 -1
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +1 -1
- data/lib/akeyless/models/grok_target_details.rb +234 -0
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/keycloak_target_details.rb +242 -0
- data/lib/akeyless/models/oidc_access_rules.rb +11 -1
- data/lib/akeyless/models/okta_target_details.rb +224 -0
- data/lib/akeyless/models/personal_folder_global_mapping_settings.rb +223 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +446 -0
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +0 -4
- data/lib/akeyless/models/rotated_secret_sync.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +463 -0
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +0 -4
- data/lib/akeyless/models/runtime_authority_command.rb +21 -1
- data/lib/akeyless/models/saml_access_rules.rb +14 -4
- data/lib/akeyless/models/secret_info.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/static_secret_sync.rb +1 -1
- data/lib/akeyless/models/target_create_anthropic.rb +317 -0
- data/lib/akeyless/models/target_create_bedrock.rb +317 -0
- data/lib/akeyless/models/target_create_custom_dns.rb +330 -0
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_grok.rb +327 -0
- data/lib/akeyless/models/target_create_keycloak.rb +334 -0
- data/lib/akeyless/models/target_create_okta.rb +314 -0
- data/lib/akeyless/models/target_type_details_input.rb +55 -1
- data/lib/akeyless/models/target_update_anthropic.rb +351 -0
- data/lib/akeyless/models/target_update_bedrock.rb +351 -0
- data/lib/akeyless/models/target_update_custom_dns.rb +350 -0
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_grok.rb +361 -0
- data/lib/akeyless/models/target_update_keycloak.rb +354 -0
- data/lib/akeyless/models/target_update_okta.rb +334 -0
- data/lib/akeyless/models/uid_expiration_event.rb +214 -0
- data/lib/akeyless/models/update_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/update_db_target.rb +11 -1
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +338 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +390 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +370 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +53 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +39 -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/folder_delete_sync_output_spec.rb +54 -0
- data/spec/models/folder_delete_sync_spec.rb +78 -0
- data/spec/models/folder_sync_all_output_spec.rb +36 -0
- data/spec/models/folder_sync_all_spec.rb +60 -0
- data/spec/models/folder_sync_output_spec.rb +54 -0
- data/spec/models/folder_sync_spec.rb +84 -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/personal_folder_global_mapping_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_create_hashi_vault_spec.rb +162 -0
- data/spec/models/rotated_secret_update_hashi_vault_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_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 +1331 -1175
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -5279,6 +5279,198 @@ module Akeyless
|
|
|
5279
5279
|
return data, status_code, headers
|
|
5280
5280
|
end
|
|
5281
5281
|
|
|
5282
|
+
# @param create_mcp_secret_bearer_token [CreateMcpSecretBearerToken]
|
|
5283
|
+
# @param [Hash] opts the optional parameters
|
|
5284
|
+
# @return [CreateSecretOutput]
|
|
5285
|
+
def create_mcp_secret_bearer_token(create_mcp_secret_bearer_token, opts = {})
|
|
5286
|
+
data, _status_code, _headers = create_mcp_secret_bearer_token_with_http_info(create_mcp_secret_bearer_token, opts)
|
|
5287
|
+
data
|
|
5288
|
+
end
|
|
5289
|
+
|
|
5290
|
+
# @param create_mcp_secret_bearer_token [CreateMcpSecretBearerToken]
|
|
5291
|
+
# @param [Hash] opts the optional parameters
|
|
5292
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5293
|
+
def create_mcp_secret_bearer_token_with_http_info(create_mcp_secret_bearer_token, opts = {})
|
|
5294
|
+
if @api_client.config.debugging
|
|
5295
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_bearer_token ...'
|
|
5296
|
+
end
|
|
5297
|
+
# verify the required parameter 'create_mcp_secret_bearer_token' is set
|
|
5298
|
+
if @api_client.config.client_side_validation && create_mcp_secret_bearer_token.nil?
|
|
5299
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_bearer_token' when calling V2Api.create_mcp_secret_bearer_token"
|
|
5300
|
+
end
|
|
5301
|
+
# resource path
|
|
5302
|
+
local_var_path = '/create-mcp-secret-bearer-token'
|
|
5303
|
+
|
|
5304
|
+
# query parameters
|
|
5305
|
+
query_params = opts[:query_params] || {}
|
|
5306
|
+
|
|
5307
|
+
# header parameters
|
|
5308
|
+
header_params = opts[:header_params] || {}
|
|
5309
|
+
# HTTP header 'Accept' (if needed)
|
|
5310
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5311
|
+
# HTTP header 'Content-Type'
|
|
5312
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5313
|
+
if !content_type.nil?
|
|
5314
|
+
header_params['Content-Type'] = content_type
|
|
5315
|
+
end
|
|
5316
|
+
|
|
5317
|
+
# form parameters
|
|
5318
|
+
form_params = opts[:form_params] || {}
|
|
5319
|
+
|
|
5320
|
+
# http body (model)
|
|
5321
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_bearer_token)
|
|
5322
|
+
|
|
5323
|
+
# return_type
|
|
5324
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5325
|
+
|
|
5326
|
+
# auth_names
|
|
5327
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5328
|
+
|
|
5329
|
+
new_options = opts.merge(
|
|
5330
|
+
:operation => :"V2Api.create_mcp_secret_bearer_token",
|
|
5331
|
+
:header_params => header_params,
|
|
5332
|
+
:query_params => query_params,
|
|
5333
|
+
:form_params => form_params,
|
|
5334
|
+
:body => post_body,
|
|
5335
|
+
:auth_names => auth_names,
|
|
5336
|
+
:return_type => return_type
|
|
5337
|
+
)
|
|
5338
|
+
|
|
5339
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5340
|
+
if @api_client.config.debugging
|
|
5341
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_bearer_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5342
|
+
end
|
|
5343
|
+
return data, status_code, headers
|
|
5344
|
+
end
|
|
5345
|
+
|
|
5346
|
+
# @param create_mcp_secret_o_auth_auth_code [CreateMcpSecretOAuthAuthCode]
|
|
5347
|
+
# @param [Hash] opts the optional parameters
|
|
5348
|
+
# @return [CreateSecretOutput]
|
|
5349
|
+
def create_mcp_secret_o_auth_auth_code(create_mcp_secret_o_auth_auth_code, opts = {})
|
|
5350
|
+
data, _status_code, _headers = create_mcp_secret_o_auth_auth_code_with_http_info(create_mcp_secret_o_auth_auth_code, opts)
|
|
5351
|
+
data
|
|
5352
|
+
end
|
|
5353
|
+
|
|
5354
|
+
# @param create_mcp_secret_o_auth_auth_code [CreateMcpSecretOAuthAuthCode]
|
|
5355
|
+
# @param [Hash] opts the optional parameters
|
|
5356
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5357
|
+
def create_mcp_secret_o_auth_auth_code_with_http_info(create_mcp_secret_o_auth_auth_code, opts = {})
|
|
5358
|
+
if @api_client.config.debugging
|
|
5359
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_o_auth_auth_code ...'
|
|
5360
|
+
end
|
|
5361
|
+
# verify the required parameter 'create_mcp_secret_o_auth_auth_code' is set
|
|
5362
|
+
if @api_client.config.client_side_validation && create_mcp_secret_o_auth_auth_code.nil?
|
|
5363
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_o_auth_auth_code' when calling V2Api.create_mcp_secret_o_auth_auth_code"
|
|
5364
|
+
end
|
|
5365
|
+
# resource path
|
|
5366
|
+
local_var_path = '/create-mcp-secret-oauth-authorization-code'
|
|
5367
|
+
|
|
5368
|
+
# query parameters
|
|
5369
|
+
query_params = opts[:query_params] || {}
|
|
5370
|
+
|
|
5371
|
+
# header parameters
|
|
5372
|
+
header_params = opts[:header_params] || {}
|
|
5373
|
+
# HTTP header 'Accept' (if needed)
|
|
5374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5375
|
+
# HTTP header 'Content-Type'
|
|
5376
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5377
|
+
if !content_type.nil?
|
|
5378
|
+
header_params['Content-Type'] = content_type
|
|
5379
|
+
end
|
|
5380
|
+
|
|
5381
|
+
# form parameters
|
|
5382
|
+
form_params = opts[:form_params] || {}
|
|
5383
|
+
|
|
5384
|
+
# http body (model)
|
|
5385
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_o_auth_auth_code)
|
|
5386
|
+
|
|
5387
|
+
# return_type
|
|
5388
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5389
|
+
|
|
5390
|
+
# auth_names
|
|
5391
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5392
|
+
|
|
5393
|
+
new_options = opts.merge(
|
|
5394
|
+
:operation => :"V2Api.create_mcp_secret_o_auth_auth_code",
|
|
5395
|
+
:header_params => header_params,
|
|
5396
|
+
:query_params => query_params,
|
|
5397
|
+
:form_params => form_params,
|
|
5398
|
+
:body => post_body,
|
|
5399
|
+
:auth_names => auth_names,
|
|
5400
|
+
:return_type => return_type
|
|
5401
|
+
)
|
|
5402
|
+
|
|
5403
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5404
|
+
if @api_client.config.debugging
|
|
5405
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_o_auth_auth_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5406
|
+
end
|
|
5407
|
+
return data, status_code, headers
|
|
5408
|
+
end
|
|
5409
|
+
|
|
5410
|
+
# @param create_mcp_secret_o_auth_client_creds [CreateMcpSecretOAuthClientCreds]
|
|
5411
|
+
# @param [Hash] opts the optional parameters
|
|
5412
|
+
# @return [CreateSecretOutput]
|
|
5413
|
+
def create_mcp_secret_o_auth_client_creds(create_mcp_secret_o_auth_client_creds, opts = {})
|
|
5414
|
+
data, _status_code, _headers = create_mcp_secret_o_auth_client_creds_with_http_info(create_mcp_secret_o_auth_client_creds, opts)
|
|
5415
|
+
data
|
|
5416
|
+
end
|
|
5417
|
+
|
|
5418
|
+
# @param create_mcp_secret_o_auth_client_creds [CreateMcpSecretOAuthClientCreds]
|
|
5419
|
+
# @param [Hash] opts the optional parameters
|
|
5420
|
+
# @return [Array<(CreateSecretOutput, Integer, Hash)>] CreateSecretOutput data, response status code and response headers
|
|
5421
|
+
def create_mcp_secret_o_auth_client_creds_with_http_info(create_mcp_secret_o_auth_client_creds, opts = {})
|
|
5422
|
+
if @api_client.config.debugging
|
|
5423
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_mcp_secret_o_auth_client_creds ...'
|
|
5424
|
+
end
|
|
5425
|
+
# verify the required parameter 'create_mcp_secret_o_auth_client_creds' is set
|
|
5426
|
+
if @api_client.config.client_side_validation && create_mcp_secret_o_auth_client_creds.nil?
|
|
5427
|
+
fail ArgumentError, "Missing the required parameter 'create_mcp_secret_o_auth_client_creds' when calling V2Api.create_mcp_secret_o_auth_client_creds"
|
|
5428
|
+
end
|
|
5429
|
+
# resource path
|
|
5430
|
+
local_var_path = '/create-mcp-secret-oauth-client-credentials'
|
|
5431
|
+
|
|
5432
|
+
# query parameters
|
|
5433
|
+
query_params = opts[:query_params] || {}
|
|
5434
|
+
|
|
5435
|
+
# header parameters
|
|
5436
|
+
header_params = opts[:header_params] || {}
|
|
5437
|
+
# HTTP header 'Accept' (if needed)
|
|
5438
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5439
|
+
# HTTP header 'Content-Type'
|
|
5440
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5441
|
+
if !content_type.nil?
|
|
5442
|
+
header_params['Content-Type'] = content_type
|
|
5443
|
+
end
|
|
5444
|
+
|
|
5445
|
+
# form parameters
|
|
5446
|
+
form_params = opts[:form_params] || {}
|
|
5447
|
+
|
|
5448
|
+
# http body (model)
|
|
5449
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mcp_secret_o_auth_client_creds)
|
|
5450
|
+
|
|
5451
|
+
# return_type
|
|
5452
|
+
return_type = opts[:debug_return_type] || 'CreateSecretOutput'
|
|
5453
|
+
|
|
5454
|
+
# auth_names
|
|
5455
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5456
|
+
|
|
5457
|
+
new_options = opts.merge(
|
|
5458
|
+
:operation => :"V2Api.create_mcp_secret_o_auth_client_creds",
|
|
5459
|
+
:header_params => header_params,
|
|
5460
|
+
:query_params => query_params,
|
|
5461
|
+
:form_params => form_params,
|
|
5462
|
+
:body => post_body,
|
|
5463
|
+
:auth_names => auth_names,
|
|
5464
|
+
:return_type => return_type
|
|
5465
|
+
)
|
|
5466
|
+
|
|
5467
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5468
|
+
if @api_client.config.debugging
|
|
5469
|
+
@api_client.config.logger.debug "API called: V2Api#create_mcp_secret_o_auth_client_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5470
|
+
end
|
|
5471
|
+
return data, status_code, headers
|
|
5472
|
+
end
|
|
5473
|
+
|
|
5282
5474
|
# @param create_native_k8_s_target [CreateNativeK8STarget]
|
|
5283
5475
|
# @param [Hash] opts the optional parameters
|
|
5284
5476
|
# @return [CreateNativeK8STargetOutput]
|
|
@@ -13911,27 +14103,27 @@ module Akeyless
|
|
|
13911
14103
|
return data, status_code, headers
|
|
13912
14104
|
end
|
|
13913
14105
|
|
|
13914
|
-
# @param
|
|
14106
|
+
# @param folder_delete_sync [FolderDeleteSync]
|
|
13915
14107
|
# @param [Hash] opts the optional parameters
|
|
13916
|
-
# @return [
|
|
13917
|
-
def
|
|
13918
|
-
data, _status_code, _headers =
|
|
14108
|
+
# @return [FolderDeleteSyncOutput]
|
|
14109
|
+
def folder_delete_sync(folder_delete_sync, opts = {})
|
|
14110
|
+
data, _status_code, _headers = folder_delete_sync_with_http_info(folder_delete_sync, opts)
|
|
13919
14111
|
data
|
|
13920
14112
|
end
|
|
13921
14113
|
|
|
13922
|
-
# @param
|
|
14114
|
+
# @param folder_delete_sync [FolderDeleteSync]
|
|
13923
14115
|
# @param [Hash] opts the optional parameters
|
|
13924
|
-
# @return [Array<(
|
|
13925
|
-
def
|
|
14116
|
+
# @return [Array<(FolderDeleteSyncOutput, Integer, Hash)>] FolderDeleteSyncOutput data, response status code and response headers
|
|
14117
|
+
def folder_delete_sync_with_http_info(folder_delete_sync, opts = {})
|
|
13926
14118
|
if @api_client.config.debugging
|
|
13927
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
14119
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_delete_sync ...'
|
|
13928
14120
|
end
|
|
13929
|
-
# verify the required parameter '
|
|
13930
|
-
if @api_client.config.client_side_validation &&
|
|
13931
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14121
|
+
# verify the required parameter 'folder_delete_sync' is set
|
|
14122
|
+
if @api_client.config.client_side_validation && folder_delete_sync.nil?
|
|
14123
|
+
fail ArgumentError, "Missing the required parameter 'folder_delete_sync' when calling V2Api.folder_delete_sync"
|
|
13932
14124
|
end
|
|
13933
14125
|
# resource path
|
|
13934
|
-
local_var_path = '/folder-
|
|
14126
|
+
local_var_path = '/folder-delete-sync'
|
|
13935
14127
|
|
|
13936
14128
|
# query parameters
|
|
13937
14129
|
query_params = opts[:query_params] || {}
|
|
@@ -13950,16 +14142,16 @@ module Akeyless
|
|
|
13950
14142
|
form_params = opts[:form_params] || {}
|
|
13951
14143
|
|
|
13952
14144
|
# http body (model)
|
|
13953
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
14145
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_delete_sync)
|
|
13954
14146
|
|
|
13955
14147
|
# return_type
|
|
13956
|
-
return_type = opts[:debug_return_type] || '
|
|
14148
|
+
return_type = opts[:debug_return_type] || 'FolderDeleteSyncOutput'
|
|
13957
14149
|
|
|
13958
14150
|
# auth_names
|
|
13959
14151
|
auth_names = opts[:debug_auth_names] || []
|
|
13960
14152
|
|
|
13961
14153
|
new_options = opts.merge(
|
|
13962
|
-
:operation => :"V2Api.
|
|
14154
|
+
:operation => :"V2Api.folder_delete_sync",
|
|
13963
14155
|
:header_params => header_params,
|
|
13964
14156
|
:query_params => query_params,
|
|
13965
14157
|
:form_params => form_params,
|
|
@@ -13970,32 +14162,32 @@ module Akeyless
|
|
|
13970
14162
|
|
|
13971
14163
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13972
14164
|
if @api_client.config.debugging
|
|
13973
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
14165
|
+
@api_client.config.logger.debug "API called: V2Api#folder_delete_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13974
14166
|
end
|
|
13975
14167
|
return data, status_code, headers
|
|
13976
14168
|
end
|
|
13977
14169
|
|
|
13978
|
-
# @param
|
|
14170
|
+
# @param folder_get [FolderGet]
|
|
13979
14171
|
# @param [Hash] opts the optional parameters
|
|
13980
|
-
# @return [
|
|
13981
|
-
def
|
|
13982
|
-
data, _status_code, _headers =
|
|
14172
|
+
# @return [FolderGetOutput]
|
|
14173
|
+
def folder_get(folder_get, opts = {})
|
|
14174
|
+
data, _status_code, _headers = folder_get_with_http_info(folder_get, opts)
|
|
13983
14175
|
data
|
|
13984
14176
|
end
|
|
13985
14177
|
|
|
13986
|
-
# @param
|
|
14178
|
+
# @param folder_get [FolderGet]
|
|
13987
14179
|
# @param [Hash] opts the optional parameters
|
|
13988
|
-
# @return [Array<(
|
|
13989
|
-
def
|
|
14180
|
+
# @return [Array<(FolderGetOutput, Integer, Hash)>] FolderGetOutput data, response status code and response headers
|
|
14181
|
+
def folder_get_with_http_info(folder_get, opts = {})
|
|
13990
14182
|
if @api_client.config.debugging
|
|
13991
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
14183
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_get ...'
|
|
13992
14184
|
end
|
|
13993
|
-
# verify the required parameter '
|
|
13994
|
-
if @api_client.config.client_side_validation &&
|
|
13995
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14185
|
+
# verify the required parameter 'folder_get' is set
|
|
14186
|
+
if @api_client.config.client_side_validation && folder_get.nil?
|
|
14187
|
+
fail ArgumentError, "Missing the required parameter 'folder_get' when calling V2Api.folder_get"
|
|
13996
14188
|
end
|
|
13997
14189
|
# resource path
|
|
13998
|
-
local_var_path = '/folder-
|
|
14190
|
+
local_var_path = '/folder-get'
|
|
13999
14191
|
|
|
14000
14192
|
# query parameters
|
|
14001
14193
|
query_params = opts[:query_params] || {}
|
|
@@ -14014,16 +14206,16 @@ module Akeyless
|
|
|
14014
14206
|
form_params = opts[:form_params] || {}
|
|
14015
14207
|
|
|
14016
14208
|
# http body (model)
|
|
14017
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
14209
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_get)
|
|
14018
14210
|
|
|
14019
14211
|
# return_type
|
|
14020
|
-
return_type = opts[:debug_return_type] || '
|
|
14212
|
+
return_type = opts[:debug_return_type] || 'FolderGetOutput'
|
|
14021
14213
|
|
|
14022
14214
|
# auth_names
|
|
14023
14215
|
auth_names = opts[:debug_auth_names] || []
|
|
14024
14216
|
|
|
14025
14217
|
new_options = opts.merge(
|
|
14026
|
-
:operation => :"V2Api.
|
|
14218
|
+
:operation => :"V2Api.folder_get",
|
|
14027
14219
|
:header_params => header_params,
|
|
14028
14220
|
:query_params => query_params,
|
|
14029
14221
|
:form_params => form_params,
|
|
@@ -14034,32 +14226,32 @@ module Akeyless
|
|
|
14034
14226
|
|
|
14035
14227
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14036
14228
|
if @api_client.config.debugging
|
|
14037
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
14229
|
+
@api_client.config.logger.debug "API called: V2Api#folder_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14038
14230
|
end
|
|
14039
14231
|
return data, status_code, headers
|
|
14040
14232
|
end
|
|
14041
14233
|
|
|
14042
|
-
# @param
|
|
14234
|
+
# @param folder_sync [FolderSync]
|
|
14043
14235
|
# @param [Hash] opts the optional parameters
|
|
14044
|
-
# @return [
|
|
14045
|
-
def
|
|
14046
|
-
data, _status_code, _headers =
|
|
14236
|
+
# @return [FolderSyncOutput]
|
|
14237
|
+
def folder_sync(folder_sync, opts = {})
|
|
14238
|
+
data, _status_code, _headers = folder_sync_with_http_info(folder_sync, opts)
|
|
14047
14239
|
data
|
|
14048
14240
|
end
|
|
14049
14241
|
|
|
14050
|
-
# @param
|
|
14242
|
+
# @param folder_sync [FolderSync]
|
|
14051
14243
|
# @param [Hash] opts the optional parameters
|
|
14052
|
-
# @return [Array<(
|
|
14053
|
-
def
|
|
14244
|
+
# @return [Array<(FolderSyncOutput, Integer, Hash)>] FolderSyncOutput data, response status code and response headers
|
|
14245
|
+
def folder_sync_with_http_info(folder_sync, opts = {})
|
|
14054
14246
|
if @api_client.config.debugging
|
|
14055
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
14247
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_sync ...'
|
|
14056
14248
|
end
|
|
14057
|
-
# verify the required parameter '
|
|
14058
|
-
if @api_client.config.client_side_validation &&
|
|
14059
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14249
|
+
# verify the required parameter 'folder_sync' is set
|
|
14250
|
+
if @api_client.config.client_side_validation && folder_sync.nil?
|
|
14251
|
+
fail ArgumentError, "Missing the required parameter 'folder_sync' when calling V2Api.folder_sync"
|
|
14060
14252
|
end
|
|
14061
14253
|
# resource path
|
|
14062
|
-
local_var_path = '/
|
|
14254
|
+
local_var_path = '/folder-sync'
|
|
14063
14255
|
|
|
14064
14256
|
# query parameters
|
|
14065
14257
|
query_params = opts[:query_params] || {}
|
|
@@ -14078,16 +14270,16 @@ module Akeyless
|
|
|
14078
14270
|
form_params = opts[:form_params] || {}
|
|
14079
14271
|
|
|
14080
14272
|
# http body (model)
|
|
14081
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
14273
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_sync)
|
|
14082
14274
|
|
|
14083
14275
|
# return_type
|
|
14084
|
-
return_type = opts[:debug_return_type] || '
|
|
14276
|
+
return_type = opts[:debug_return_type] || 'FolderSyncOutput'
|
|
14085
14277
|
|
|
14086
14278
|
# auth_names
|
|
14087
14279
|
auth_names = opts[:debug_auth_names] || []
|
|
14088
14280
|
|
|
14089
14281
|
new_options = opts.merge(
|
|
14090
|
-
:operation => :"V2Api.
|
|
14282
|
+
:operation => :"V2Api.folder_sync",
|
|
14091
14283
|
:header_params => header_params,
|
|
14092
14284
|
:query_params => query_params,
|
|
14093
14285
|
:form_params => form_params,
|
|
@@ -14098,32 +14290,32 @@ module Akeyless
|
|
|
14098
14290
|
|
|
14099
14291
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14100
14292
|
if @api_client.config.debugging
|
|
14101
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
14293
|
+
@api_client.config.logger.debug "API called: V2Api#folder_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14102
14294
|
end
|
|
14103
14295
|
return data, status_code, headers
|
|
14104
14296
|
end
|
|
14105
14297
|
|
|
14106
|
-
# @param
|
|
14298
|
+
# @param folder_sync_all [FolderSyncAll]
|
|
14107
14299
|
# @param [Hash] opts the optional parameters
|
|
14108
|
-
# @return [
|
|
14109
|
-
def
|
|
14110
|
-
data, _status_code, _headers =
|
|
14300
|
+
# @return [FolderSyncAllOutput]
|
|
14301
|
+
def folder_sync_all(folder_sync_all, opts = {})
|
|
14302
|
+
data, _status_code, _headers = folder_sync_all_with_http_info(folder_sync_all, opts)
|
|
14111
14303
|
data
|
|
14112
14304
|
end
|
|
14113
14305
|
|
|
14114
|
-
# @param
|
|
14306
|
+
# @param folder_sync_all [FolderSyncAll]
|
|
14115
14307
|
# @param [Hash] opts the optional parameters
|
|
14116
|
-
# @return [Array<(
|
|
14117
|
-
def
|
|
14308
|
+
# @return [Array<(FolderSyncAllOutput, Integer, Hash)>] FolderSyncAllOutput data, response status code and response headers
|
|
14309
|
+
def folder_sync_all_with_http_info(folder_sync_all, opts = {})
|
|
14118
14310
|
if @api_client.config.debugging
|
|
14119
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
14311
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_sync_all ...'
|
|
14120
14312
|
end
|
|
14121
|
-
# verify the required parameter '
|
|
14122
|
-
if @api_client.config.client_side_validation &&
|
|
14123
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14313
|
+
# verify the required parameter 'folder_sync_all' is set
|
|
14314
|
+
if @api_client.config.client_side_validation && folder_sync_all.nil?
|
|
14315
|
+
fail ArgumentError, "Missing the required parameter 'folder_sync_all' when calling V2Api.folder_sync_all"
|
|
14124
14316
|
end
|
|
14125
14317
|
# resource path
|
|
14126
|
-
local_var_path = '/
|
|
14318
|
+
local_var_path = '/folder-sync-all'
|
|
14127
14319
|
|
|
14128
14320
|
# query parameters
|
|
14129
14321
|
query_params = opts[:query_params] || {}
|
|
@@ -14142,16 +14334,16 @@ module Akeyless
|
|
|
14142
14334
|
form_params = opts[:form_params] || {}
|
|
14143
14335
|
|
|
14144
14336
|
# http body (model)
|
|
14145
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
14337
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_sync_all)
|
|
14146
14338
|
|
|
14147
14339
|
# return_type
|
|
14148
|
-
return_type = opts[:debug_return_type] || '
|
|
14340
|
+
return_type = opts[:debug_return_type] || 'FolderSyncAllOutput'
|
|
14149
14341
|
|
|
14150
14342
|
# auth_names
|
|
14151
14343
|
auth_names = opts[:debug_auth_names] || []
|
|
14152
14344
|
|
|
14153
14345
|
new_options = opts.merge(
|
|
14154
|
-
:operation => :"V2Api.
|
|
14346
|
+
:operation => :"V2Api.folder_sync_all",
|
|
14155
14347
|
:header_params => header_params,
|
|
14156
14348
|
:query_params => query_params,
|
|
14157
14349
|
:form_params => form_params,
|
|
@@ -14162,32 +14354,224 @@ module Akeyless
|
|
|
14162
14354
|
|
|
14163
14355
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14164
14356
|
if @api_client.config.debugging
|
|
14165
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
14357
|
+
@api_client.config.logger.debug "API called: V2Api#folder_sync_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14166
14358
|
end
|
|
14167
14359
|
return data, status_code, headers
|
|
14168
14360
|
end
|
|
14169
14361
|
|
|
14170
|
-
# @param
|
|
14362
|
+
# @param folder_update [FolderUpdate]
|
|
14171
14363
|
# @param [Hash] opts the optional parameters
|
|
14172
|
-
# @return [
|
|
14173
|
-
def
|
|
14174
|
-
data, _status_code, _headers =
|
|
14364
|
+
# @return [Object]
|
|
14365
|
+
def folder_update(folder_update, opts = {})
|
|
14366
|
+
data, _status_code, _headers = folder_update_with_http_info(folder_update, opts)
|
|
14175
14367
|
data
|
|
14176
14368
|
end
|
|
14177
14369
|
|
|
14178
|
-
# @param
|
|
14370
|
+
# @param folder_update [FolderUpdate]
|
|
14179
14371
|
# @param [Hash] opts the optional parameters
|
|
14180
|
-
# @return [Array<(
|
|
14181
|
-
def
|
|
14372
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
14373
|
+
def folder_update_with_http_info(folder_update, opts = {})
|
|
14182
14374
|
if @api_client.config.debugging
|
|
14183
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
14375
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_update ...'
|
|
14184
14376
|
end
|
|
14185
|
-
# verify the required parameter '
|
|
14186
|
-
if @api_client.config.client_side_validation &&
|
|
14187
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14377
|
+
# verify the required parameter 'folder_update' is set
|
|
14378
|
+
if @api_client.config.client_side_validation && folder_update.nil?
|
|
14379
|
+
fail ArgumentError, "Missing the required parameter 'folder_update' when calling V2Api.folder_update"
|
|
14188
14380
|
end
|
|
14189
14381
|
# resource path
|
|
14190
|
-
local_var_path = '/
|
|
14382
|
+
local_var_path = '/folder-update'
|
|
14383
|
+
|
|
14384
|
+
# query parameters
|
|
14385
|
+
query_params = opts[:query_params] || {}
|
|
14386
|
+
|
|
14387
|
+
# header parameters
|
|
14388
|
+
header_params = opts[:header_params] || {}
|
|
14389
|
+
# HTTP header 'Accept' (if needed)
|
|
14390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
14391
|
+
# HTTP header 'Content-Type'
|
|
14392
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
14393
|
+
if !content_type.nil?
|
|
14394
|
+
header_params['Content-Type'] = content_type
|
|
14395
|
+
end
|
|
14396
|
+
|
|
14397
|
+
# form parameters
|
|
14398
|
+
form_params = opts[:form_params] || {}
|
|
14399
|
+
|
|
14400
|
+
# http body (model)
|
|
14401
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_update)
|
|
14402
|
+
|
|
14403
|
+
# return_type
|
|
14404
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
14405
|
+
|
|
14406
|
+
# auth_names
|
|
14407
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14408
|
+
|
|
14409
|
+
new_options = opts.merge(
|
|
14410
|
+
:operation => :"V2Api.folder_update",
|
|
14411
|
+
:header_params => header_params,
|
|
14412
|
+
:query_params => query_params,
|
|
14413
|
+
:form_params => form_params,
|
|
14414
|
+
:body => post_body,
|
|
14415
|
+
:auth_names => auth_names,
|
|
14416
|
+
:return_type => return_type
|
|
14417
|
+
)
|
|
14418
|
+
|
|
14419
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14420
|
+
if @api_client.config.debugging
|
|
14421
|
+
@api_client.config.logger.debug "API called: V2Api#folder_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14422
|
+
end
|
|
14423
|
+
return data, status_code, headers
|
|
14424
|
+
end
|
|
14425
|
+
|
|
14426
|
+
# @param gateway_create_allowed_access [GatewayCreateAllowedAccess]
|
|
14427
|
+
# @param [Hash] opts the optional parameters
|
|
14428
|
+
# @return [AllowedAccess]
|
|
14429
|
+
def gateway_create_allowed_access(gateway_create_allowed_access, opts = {})
|
|
14430
|
+
data, _status_code, _headers = gateway_create_allowed_access_with_http_info(gateway_create_allowed_access, opts)
|
|
14431
|
+
data
|
|
14432
|
+
end
|
|
14433
|
+
|
|
14434
|
+
# @param gateway_create_allowed_access [GatewayCreateAllowedAccess]
|
|
14435
|
+
# @param [Hash] opts the optional parameters
|
|
14436
|
+
# @return [Array<(AllowedAccess, Integer, Hash)>] AllowedAccess data, response status code and response headers
|
|
14437
|
+
def gateway_create_allowed_access_with_http_info(gateway_create_allowed_access, opts = {})
|
|
14438
|
+
if @api_client.config.debugging
|
|
14439
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_allowed_access ...'
|
|
14440
|
+
end
|
|
14441
|
+
# verify the required parameter 'gateway_create_allowed_access' is set
|
|
14442
|
+
if @api_client.config.client_side_validation && gateway_create_allowed_access.nil?
|
|
14443
|
+
fail ArgumentError, "Missing the required parameter 'gateway_create_allowed_access' when calling V2Api.gateway_create_allowed_access"
|
|
14444
|
+
end
|
|
14445
|
+
# resource path
|
|
14446
|
+
local_var_path = '/gateway-create-allowed-access'
|
|
14447
|
+
|
|
14448
|
+
# query parameters
|
|
14449
|
+
query_params = opts[:query_params] || {}
|
|
14450
|
+
|
|
14451
|
+
# header parameters
|
|
14452
|
+
header_params = opts[:header_params] || {}
|
|
14453
|
+
# HTTP header 'Accept' (if needed)
|
|
14454
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
14455
|
+
# HTTP header 'Content-Type'
|
|
14456
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
14457
|
+
if !content_type.nil?
|
|
14458
|
+
header_params['Content-Type'] = content_type
|
|
14459
|
+
end
|
|
14460
|
+
|
|
14461
|
+
# form parameters
|
|
14462
|
+
form_params = opts[:form_params] || {}
|
|
14463
|
+
|
|
14464
|
+
# http body (model)
|
|
14465
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(gateway_create_allowed_access)
|
|
14466
|
+
|
|
14467
|
+
# return_type
|
|
14468
|
+
return_type = opts[:debug_return_type] || 'AllowedAccess'
|
|
14469
|
+
|
|
14470
|
+
# auth_names
|
|
14471
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14472
|
+
|
|
14473
|
+
new_options = opts.merge(
|
|
14474
|
+
:operation => :"V2Api.gateway_create_allowed_access",
|
|
14475
|
+
:header_params => header_params,
|
|
14476
|
+
:query_params => query_params,
|
|
14477
|
+
:form_params => form_params,
|
|
14478
|
+
:body => post_body,
|
|
14479
|
+
:auth_names => auth_names,
|
|
14480
|
+
:return_type => return_type
|
|
14481
|
+
)
|
|
14482
|
+
|
|
14483
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14484
|
+
if @api_client.config.debugging
|
|
14485
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_allowed_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14486
|
+
end
|
|
14487
|
+
return data, status_code, headers
|
|
14488
|
+
end
|
|
14489
|
+
|
|
14490
|
+
# @param gateway_create_k8_s_auth_config [GatewayCreateK8SAuthConfig]
|
|
14491
|
+
# @param [Hash] opts the optional parameters
|
|
14492
|
+
# @return [GatewayCreateK8SAuthConfigOutput]
|
|
14493
|
+
def gateway_create_k8_s_auth_config(gateway_create_k8_s_auth_config, opts = {})
|
|
14494
|
+
data, _status_code, _headers = gateway_create_k8_s_auth_config_with_http_info(gateway_create_k8_s_auth_config, opts)
|
|
14495
|
+
data
|
|
14496
|
+
end
|
|
14497
|
+
|
|
14498
|
+
# @param gateway_create_k8_s_auth_config [GatewayCreateK8SAuthConfig]
|
|
14499
|
+
# @param [Hash] opts the optional parameters
|
|
14500
|
+
# @return [Array<(GatewayCreateK8SAuthConfigOutput, Integer, Hash)>] GatewayCreateK8SAuthConfigOutput data, response status code and response headers
|
|
14501
|
+
def gateway_create_k8_s_auth_config_with_http_info(gateway_create_k8_s_auth_config, opts = {})
|
|
14502
|
+
if @api_client.config.debugging
|
|
14503
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_k8_s_auth_config ...'
|
|
14504
|
+
end
|
|
14505
|
+
# verify the required parameter 'gateway_create_k8_s_auth_config' is set
|
|
14506
|
+
if @api_client.config.client_side_validation && gateway_create_k8_s_auth_config.nil?
|
|
14507
|
+
fail ArgumentError, "Missing the required parameter 'gateway_create_k8_s_auth_config' when calling V2Api.gateway_create_k8_s_auth_config"
|
|
14508
|
+
end
|
|
14509
|
+
# resource path
|
|
14510
|
+
local_var_path = '/gateway-create-k8s-auth-config'
|
|
14511
|
+
|
|
14512
|
+
# query parameters
|
|
14513
|
+
query_params = opts[:query_params] || {}
|
|
14514
|
+
|
|
14515
|
+
# header parameters
|
|
14516
|
+
header_params = opts[:header_params] || {}
|
|
14517
|
+
# HTTP header 'Accept' (if needed)
|
|
14518
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
14519
|
+
# HTTP header 'Content-Type'
|
|
14520
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
14521
|
+
if !content_type.nil?
|
|
14522
|
+
header_params['Content-Type'] = content_type
|
|
14523
|
+
end
|
|
14524
|
+
|
|
14525
|
+
# form parameters
|
|
14526
|
+
form_params = opts[:form_params] || {}
|
|
14527
|
+
|
|
14528
|
+
# http body (model)
|
|
14529
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(gateway_create_k8_s_auth_config)
|
|
14530
|
+
|
|
14531
|
+
# return_type
|
|
14532
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateK8SAuthConfigOutput'
|
|
14533
|
+
|
|
14534
|
+
# auth_names
|
|
14535
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14536
|
+
|
|
14537
|
+
new_options = opts.merge(
|
|
14538
|
+
:operation => :"V2Api.gateway_create_k8_s_auth_config",
|
|
14539
|
+
:header_params => header_params,
|
|
14540
|
+
:query_params => query_params,
|
|
14541
|
+
:form_params => form_params,
|
|
14542
|
+
:body => post_body,
|
|
14543
|
+
:auth_names => auth_names,
|
|
14544
|
+
:return_type => return_type
|
|
14545
|
+
)
|
|
14546
|
+
|
|
14547
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14548
|
+
if @api_client.config.debugging
|
|
14549
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14550
|
+
end
|
|
14551
|
+
return data, status_code, headers
|
|
14552
|
+
end
|
|
14553
|
+
|
|
14554
|
+
# @param gateway_create_migration [GatewayCreateMigration]
|
|
14555
|
+
# @param [Hash] opts the optional parameters
|
|
14556
|
+
# @return [GatewayMigrationCreateOutput]
|
|
14557
|
+
def gateway_create_migration(gateway_create_migration, opts = {})
|
|
14558
|
+
data, _status_code, _headers = gateway_create_migration_with_http_info(gateway_create_migration, opts)
|
|
14559
|
+
data
|
|
14560
|
+
end
|
|
14561
|
+
|
|
14562
|
+
# @param gateway_create_migration [GatewayCreateMigration]
|
|
14563
|
+
# @param [Hash] opts the optional parameters
|
|
14564
|
+
# @return [Array<(GatewayMigrationCreateOutput, Integer, Hash)>] GatewayMigrationCreateOutput data, response status code and response headers
|
|
14565
|
+
def gateway_create_migration_with_http_info(gateway_create_migration, opts = {})
|
|
14566
|
+
if @api_client.config.debugging
|
|
14567
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_migration ...'
|
|
14568
|
+
end
|
|
14569
|
+
# verify the required parameter 'gateway_create_migration' is set
|
|
14570
|
+
if @api_client.config.client_side_validation && gateway_create_migration.nil?
|
|
14571
|
+
fail ArgumentError, "Missing the required parameter 'gateway_create_migration' when calling V2Api.gateway_create_migration"
|
|
14572
|
+
end
|
|
14573
|
+
# resource path
|
|
14574
|
+
local_var_path = '/gateway-create-migration'
|
|
14191
14575
|
|
|
14192
14576
|
# query parameters
|
|
14193
14577
|
query_params = opts[:query_params] || {}
|
|
@@ -26346,6 +26730,70 @@ module Akeyless
|
|
|
26346
26730
|
return data, status_code, headers
|
|
26347
26731
|
end
|
|
26348
26732
|
|
|
26733
|
+
# @param rotated_secret_create_hashi_vault [RotatedSecretCreateHashiVault]
|
|
26734
|
+
# @param [Hash] opts the optional parameters
|
|
26735
|
+
# @return [RotatedSecretCreateOutput]
|
|
26736
|
+
def rotated_secret_create_hashi_vault(rotated_secret_create_hashi_vault, opts = {})
|
|
26737
|
+
data, _status_code, _headers = rotated_secret_create_hashi_vault_with_http_info(rotated_secret_create_hashi_vault, opts)
|
|
26738
|
+
data
|
|
26739
|
+
end
|
|
26740
|
+
|
|
26741
|
+
# @param rotated_secret_create_hashi_vault [RotatedSecretCreateHashiVault]
|
|
26742
|
+
# @param [Hash] opts the optional parameters
|
|
26743
|
+
# @return [Array<(RotatedSecretCreateOutput, Integer, Hash)>] RotatedSecretCreateOutput data, response status code and response headers
|
|
26744
|
+
def rotated_secret_create_hashi_vault_with_http_info(rotated_secret_create_hashi_vault, opts = {})
|
|
26745
|
+
if @api_client.config.debugging
|
|
26746
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_create_hashi_vault ...'
|
|
26747
|
+
end
|
|
26748
|
+
# verify the required parameter 'rotated_secret_create_hashi_vault' is set
|
|
26749
|
+
if @api_client.config.client_side_validation && rotated_secret_create_hashi_vault.nil?
|
|
26750
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_create_hashi_vault' when calling V2Api.rotated_secret_create_hashi_vault"
|
|
26751
|
+
end
|
|
26752
|
+
# resource path
|
|
26753
|
+
local_var_path = '/rotated-secret-create-hashi-vault'
|
|
26754
|
+
|
|
26755
|
+
# query parameters
|
|
26756
|
+
query_params = opts[:query_params] || {}
|
|
26757
|
+
|
|
26758
|
+
# header parameters
|
|
26759
|
+
header_params = opts[:header_params] || {}
|
|
26760
|
+
# HTTP header 'Accept' (if needed)
|
|
26761
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
26762
|
+
# HTTP header 'Content-Type'
|
|
26763
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
26764
|
+
if !content_type.nil?
|
|
26765
|
+
header_params['Content-Type'] = content_type
|
|
26766
|
+
end
|
|
26767
|
+
|
|
26768
|
+
# form parameters
|
|
26769
|
+
form_params = opts[:form_params] || {}
|
|
26770
|
+
|
|
26771
|
+
# http body (model)
|
|
26772
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_create_hashi_vault)
|
|
26773
|
+
|
|
26774
|
+
# return_type
|
|
26775
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretCreateOutput'
|
|
26776
|
+
|
|
26777
|
+
# auth_names
|
|
26778
|
+
auth_names = opts[:debug_auth_names] || []
|
|
26779
|
+
|
|
26780
|
+
new_options = opts.merge(
|
|
26781
|
+
:operation => :"V2Api.rotated_secret_create_hashi_vault",
|
|
26782
|
+
:header_params => header_params,
|
|
26783
|
+
:query_params => query_params,
|
|
26784
|
+
:form_params => form_params,
|
|
26785
|
+
:body => post_body,
|
|
26786
|
+
:auth_names => auth_names,
|
|
26787
|
+
:return_type => return_type
|
|
26788
|
+
)
|
|
26789
|
+
|
|
26790
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
26791
|
+
if @api_client.config.debugging
|
|
26792
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_create_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
26793
|
+
end
|
|
26794
|
+
return data, status_code, headers
|
|
26795
|
+
end
|
|
26796
|
+
|
|
26349
26797
|
# @param rotated_secret_create_ldap [RotatedSecretCreateLdap]
|
|
26350
26798
|
# @param [Hash] opts the optional parameters
|
|
26351
26799
|
# @return [RotatedSecretCreateOutput]
|
|
@@ -27946,27 +28394,27 @@ module Akeyless
|
|
|
27946
28394
|
return data, status_code, headers
|
|
27947
28395
|
end
|
|
27948
28396
|
|
|
27949
|
-
# @param
|
|
28397
|
+
# @param rotated_secret_update_hashi_vault [RotatedSecretUpdateHashiVault]
|
|
27950
28398
|
# @param [Hash] opts the optional parameters
|
|
27951
28399
|
# @return [RotatedSecretUpdateOutput]
|
|
27952
|
-
def
|
|
27953
|
-
data, _status_code, _headers =
|
|
28400
|
+
def rotated_secret_update_hashi_vault(rotated_secret_update_hashi_vault, opts = {})
|
|
28401
|
+
data, _status_code, _headers = rotated_secret_update_hashi_vault_with_http_info(rotated_secret_update_hashi_vault, opts)
|
|
27954
28402
|
data
|
|
27955
28403
|
end
|
|
27956
28404
|
|
|
27957
|
-
# @param
|
|
28405
|
+
# @param rotated_secret_update_hashi_vault [RotatedSecretUpdateHashiVault]
|
|
27958
28406
|
# @param [Hash] opts the optional parameters
|
|
27959
28407
|
# @return [Array<(RotatedSecretUpdateOutput, Integer, Hash)>] RotatedSecretUpdateOutput data, response status code and response headers
|
|
27960
|
-
def
|
|
28408
|
+
def rotated_secret_update_hashi_vault_with_http_info(rotated_secret_update_hashi_vault, opts = {})
|
|
27961
28409
|
if @api_client.config.debugging
|
|
27962
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
28410
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_update_hashi_vault ...'
|
|
27963
28411
|
end
|
|
27964
|
-
# verify the required parameter '
|
|
27965
|
-
if @api_client.config.client_side_validation &&
|
|
27966
|
-
fail ArgumentError, "Missing the required parameter '
|
|
28412
|
+
# verify the required parameter 'rotated_secret_update_hashi_vault' is set
|
|
28413
|
+
if @api_client.config.client_side_validation && rotated_secret_update_hashi_vault.nil?
|
|
28414
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_update_hashi_vault' when calling V2Api.rotated_secret_update_hashi_vault"
|
|
27967
28415
|
end
|
|
27968
28416
|
# resource path
|
|
27969
|
-
local_var_path = '/rotated-secret-update-
|
|
28417
|
+
local_var_path = '/rotated-secret-update-hashi-vault'
|
|
27970
28418
|
|
|
27971
28419
|
# query parameters
|
|
27972
28420
|
query_params = opts[:query_params] || {}
|
|
@@ -27985,7 +28433,7 @@ module Akeyless
|
|
|
27985
28433
|
form_params = opts[:form_params] || {}
|
|
27986
28434
|
|
|
27987
28435
|
# http body (model)
|
|
27988
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
28436
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_update_hashi_vault)
|
|
27989
28437
|
|
|
27990
28438
|
# return_type
|
|
27991
28439
|
return_type = opts[:debug_return_type] || 'RotatedSecretUpdateOutput'
|
|
@@ -27994,7 +28442,71 @@ module Akeyless
|
|
|
27994
28442
|
auth_names = opts[:debug_auth_names] || []
|
|
27995
28443
|
|
|
27996
28444
|
new_options = opts.merge(
|
|
27997
|
-
:operation => :"V2Api.
|
|
28445
|
+
:operation => :"V2Api.rotated_secret_update_hashi_vault",
|
|
28446
|
+
:header_params => header_params,
|
|
28447
|
+
:query_params => query_params,
|
|
28448
|
+
:form_params => form_params,
|
|
28449
|
+
:body => post_body,
|
|
28450
|
+
:auth_names => auth_names,
|
|
28451
|
+
:return_type => return_type
|
|
28452
|
+
)
|
|
28453
|
+
|
|
28454
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
28455
|
+
if @api_client.config.debugging
|
|
28456
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_update_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
28457
|
+
end
|
|
28458
|
+
return data, status_code, headers
|
|
28459
|
+
end
|
|
28460
|
+
|
|
28461
|
+
# @param rotated_secret_update_ldap [RotatedSecretUpdateLdap]
|
|
28462
|
+
# @param [Hash] opts the optional parameters
|
|
28463
|
+
# @return [RotatedSecretUpdateOutput]
|
|
28464
|
+
def rotated_secret_update_ldap(rotated_secret_update_ldap, opts = {})
|
|
28465
|
+
data, _status_code, _headers = rotated_secret_update_ldap_with_http_info(rotated_secret_update_ldap, opts)
|
|
28466
|
+
data
|
|
28467
|
+
end
|
|
28468
|
+
|
|
28469
|
+
# @param rotated_secret_update_ldap [RotatedSecretUpdateLdap]
|
|
28470
|
+
# @param [Hash] opts the optional parameters
|
|
28471
|
+
# @return [Array<(RotatedSecretUpdateOutput, Integer, Hash)>] RotatedSecretUpdateOutput data, response status code and response headers
|
|
28472
|
+
def rotated_secret_update_ldap_with_http_info(rotated_secret_update_ldap, opts = {})
|
|
28473
|
+
if @api_client.config.debugging
|
|
28474
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_update_ldap ...'
|
|
28475
|
+
end
|
|
28476
|
+
# verify the required parameter 'rotated_secret_update_ldap' is set
|
|
28477
|
+
if @api_client.config.client_side_validation && rotated_secret_update_ldap.nil?
|
|
28478
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_update_ldap' when calling V2Api.rotated_secret_update_ldap"
|
|
28479
|
+
end
|
|
28480
|
+
# resource path
|
|
28481
|
+
local_var_path = '/rotated-secret-update-ldap'
|
|
28482
|
+
|
|
28483
|
+
# query parameters
|
|
28484
|
+
query_params = opts[:query_params] || {}
|
|
28485
|
+
|
|
28486
|
+
# header parameters
|
|
28487
|
+
header_params = opts[:header_params] || {}
|
|
28488
|
+
# HTTP header 'Accept' (if needed)
|
|
28489
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
28490
|
+
# HTTP header 'Content-Type'
|
|
28491
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
28492
|
+
if !content_type.nil?
|
|
28493
|
+
header_params['Content-Type'] = content_type
|
|
28494
|
+
end
|
|
28495
|
+
|
|
28496
|
+
# form parameters
|
|
28497
|
+
form_params = opts[:form_params] || {}
|
|
28498
|
+
|
|
28499
|
+
# http body (model)
|
|
28500
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_update_ldap)
|
|
28501
|
+
|
|
28502
|
+
# return_type
|
|
28503
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretUpdateOutput'
|
|
28504
|
+
|
|
28505
|
+
# auth_names
|
|
28506
|
+
auth_names = opts[:debug_auth_names] || []
|
|
28507
|
+
|
|
28508
|
+
new_options = opts.merge(
|
|
28509
|
+
:operation => :"V2Api.rotated_secret_update_ldap",
|
|
27998
28510
|
:header_params => header_params,
|
|
27999
28511
|
:query_params => query_params,
|
|
28000
28512
|
:form_params => form_params,
|
|
@@ -29674,6 +30186,70 @@ module Akeyless
|
|
|
29674
30186
|
return data, status_code, headers
|
|
29675
30187
|
end
|
|
29676
30188
|
|
|
30189
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30190
|
+
# @param [Hash] opts the optional parameters
|
|
30191
|
+
# @return [TargetCreateOutput]
|
|
30192
|
+
def target_create_anthropic(target_create_anthropic, opts = {})
|
|
30193
|
+
data, _status_code, _headers = target_create_anthropic_with_http_info(target_create_anthropic, opts)
|
|
30194
|
+
data
|
|
30195
|
+
end
|
|
30196
|
+
|
|
30197
|
+
# @param target_create_anthropic [TargetCreateAnthropic]
|
|
30198
|
+
# @param [Hash] opts the optional parameters
|
|
30199
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30200
|
+
def target_create_anthropic_with_http_info(target_create_anthropic, opts = {})
|
|
30201
|
+
if @api_client.config.debugging
|
|
30202
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_anthropic ...'
|
|
30203
|
+
end
|
|
30204
|
+
# verify the required parameter 'target_create_anthropic' is set
|
|
30205
|
+
if @api_client.config.client_side_validation && target_create_anthropic.nil?
|
|
30206
|
+
fail ArgumentError, "Missing the required parameter 'target_create_anthropic' when calling V2Api.target_create_anthropic"
|
|
30207
|
+
end
|
|
30208
|
+
# resource path
|
|
30209
|
+
local_var_path = '/target-create-anthropic'
|
|
30210
|
+
|
|
30211
|
+
# query parameters
|
|
30212
|
+
query_params = opts[:query_params] || {}
|
|
30213
|
+
|
|
30214
|
+
# header parameters
|
|
30215
|
+
header_params = opts[:header_params] || {}
|
|
30216
|
+
# HTTP header 'Accept' (if needed)
|
|
30217
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30218
|
+
# HTTP header 'Content-Type'
|
|
30219
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30220
|
+
if !content_type.nil?
|
|
30221
|
+
header_params['Content-Type'] = content_type
|
|
30222
|
+
end
|
|
30223
|
+
|
|
30224
|
+
# form parameters
|
|
30225
|
+
form_params = opts[:form_params] || {}
|
|
30226
|
+
|
|
30227
|
+
# http body (model)
|
|
30228
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_anthropic)
|
|
30229
|
+
|
|
30230
|
+
# return_type
|
|
30231
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30232
|
+
|
|
30233
|
+
# auth_names
|
|
30234
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30235
|
+
|
|
30236
|
+
new_options = opts.merge(
|
|
30237
|
+
:operation => :"V2Api.target_create_anthropic",
|
|
30238
|
+
:header_params => header_params,
|
|
30239
|
+
:query_params => query_params,
|
|
30240
|
+
:form_params => form_params,
|
|
30241
|
+
:body => post_body,
|
|
30242
|
+
:auth_names => auth_names,
|
|
30243
|
+
:return_type => return_type
|
|
30244
|
+
)
|
|
30245
|
+
|
|
30246
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30247
|
+
if @api_client.config.debugging
|
|
30248
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30249
|
+
end
|
|
30250
|
+
return data, status_code, headers
|
|
30251
|
+
end
|
|
30252
|
+
|
|
29677
30253
|
# @param target_create_artifactory [TargetCreateArtifactory]
|
|
29678
30254
|
# @param [Hash] opts the optional parameters
|
|
29679
30255
|
# @return [TargetCreateOutput]
|
|
@@ -29866,6 +30442,70 @@ module Akeyless
|
|
|
29866
30442
|
return data, status_code, headers
|
|
29867
30443
|
end
|
|
29868
30444
|
|
|
30445
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30446
|
+
# @param [Hash] opts the optional parameters
|
|
30447
|
+
# @return [TargetCreateOutput]
|
|
30448
|
+
def target_create_bedrock(target_create_bedrock, opts = {})
|
|
30449
|
+
data, _status_code, _headers = target_create_bedrock_with_http_info(target_create_bedrock, opts)
|
|
30450
|
+
data
|
|
30451
|
+
end
|
|
30452
|
+
|
|
30453
|
+
# @param target_create_bedrock [TargetCreateBedrock]
|
|
30454
|
+
# @param [Hash] opts the optional parameters
|
|
30455
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30456
|
+
def target_create_bedrock_with_http_info(target_create_bedrock, opts = {})
|
|
30457
|
+
if @api_client.config.debugging
|
|
30458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_bedrock ...'
|
|
30459
|
+
end
|
|
30460
|
+
# verify the required parameter 'target_create_bedrock' is set
|
|
30461
|
+
if @api_client.config.client_side_validation && target_create_bedrock.nil?
|
|
30462
|
+
fail ArgumentError, "Missing the required parameter 'target_create_bedrock' when calling V2Api.target_create_bedrock"
|
|
30463
|
+
end
|
|
30464
|
+
# resource path
|
|
30465
|
+
local_var_path = '/target-create-bedrock'
|
|
30466
|
+
|
|
30467
|
+
# query parameters
|
|
30468
|
+
query_params = opts[:query_params] || {}
|
|
30469
|
+
|
|
30470
|
+
# header parameters
|
|
30471
|
+
header_params = opts[:header_params] || {}
|
|
30472
|
+
# HTTP header 'Accept' (if needed)
|
|
30473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30474
|
+
# HTTP header 'Content-Type'
|
|
30475
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30476
|
+
if !content_type.nil?
|
|
30477
|
+
header_params['Content-Type'] = content_type
|
|
30478
|
+
end
|
|
30479
|
+
|
|
30480
|
+
# form parameters
|
|
30481
|
+
form_params = opts[:form_params] || {}
|
|
30482
|
+
|
|
30483
|
+
# http body (model)
|
|
30484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_bedrock)
|
|
30485
|
+
|
|
30486
|
+
# return_type
|
|
30487
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30488
|
+
|
|
30489
|
+
# auth_names
|
|
30490
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30491
|
+
|
|
30492
|
+
new_options = opts.merge(
|
|
30493
|
+
:operation => :"V2Api.target_create_bedrock",
|
|
30494
|
+
:header_params => header_params,
|
|
30495
|
+
:query_params => query_params,
|
|
30496
|
+
:form_params => form_params,
|
|
30497
|
+
:body => post_body,
|
|
30498
|
+
:auth_names => auth_names,
|
|
30499
|
+
:return_type => return_type
|
|
30500
|
+
)
|
|
30501
|
+
|
|
30502
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30503
|
+
if @api_client.config.debugging
|
|
30504
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30505
|
+
end
|
|
30506
|
+
return data, status_code, headers
|
|
30507
|
+
end
|
|
30508
|
+
|
|
29869
30509
|
# @param target_create_cloudflare [TargetCreateCloudflare]
|
|
29870
30510
|
# @param [Hash] opts the optional parameters
|
|
29871
30511
|
# @return [TargetCreateOutput]
|
|
@@ -29930,6 +30570,70 @@ module Akeyless
|
|
|
29930
30570
|
return data, status_code, headers
|
|
29931
30571
|
end
|
|
29932
30572
|
|
|
30573
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
30574
|
+
# @param [Hash] opts the optional parameters
|
|
30575
|
+
# @return [TargetCreateOutput]
|
|
30576
|
+
def target_create_custom_dns(target_create_custom_dns, opts = {})
|
|
30577
|
+
data, _status_code, _headers = target_create_custom_dns_with_http_info(target_create_custom_dns, opts)
|
|
30578
|
+
data
|
|
30579
|
+
end
|
|
30580
|
+
|
|
30581
|
+
# @param target_create_custom_dns [TargetCreateCustomDns]
|
|
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_custom_dns_with_http_info(target_create_custom_dns, opts = {})
|
|
30585
|
+
if @api_client.config.debugging
|
|
30586
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_custom_dns ...'
|
|
30587
|
+
end
|
|
30588
|
+
# verify the required parameter 'target_create_custom_dns' is set
|
|
30589
|
+
if @api_client.config.client_side_validation && target_create_custom_dns.nil?
|
|
30590
|
+
fail ArgumentError, "Missing the required parameter 'target_create_custom_dns' when calling V2Api.target_create_custom_dns"
|
|
30591
|
+
end
|
|
30592
|
+
# resource path
|
|
30593
|
+
local_var_path = '/target-create-custom-dns'
|
|
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_custom_dns)
|
|
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_custom_dns",
|
|
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_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30633
|
+
end
|
|
30634
|
+
return data, status_code, headers
|
|
30635
|
+
end
|
|
30636
|
+
|
|
29933
30637
|
# @param target_create_db [TargetCreateDB]
|
|
29934
30638
|
# @param [Hash] opts the optional parameters
|
|
29935
30639
|
# @return [TargetCreateOutput]
|
|
@@ -30762,27 +31466,27 @@ module Akeyless
|
|
|
30762
31466
|
return data, status_code, headers
|
|
30763
31467
|
end
|
|
30764
31468
|
|
|
30765
|
-
# @param
|
|
31469
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
30766
31470
|
# @param [Hash] opts the optional parameters
|
|
30767
31471
|
# @return [TargetCreateOutput]
|
|
30768
|
-
def
|
|
30769
|
-
data, _status_code, _headers =
|
|
31472
|
+
def target_create_grok(target_create_grok, opts = {})
|
|
31473
|
+
data, _status_code, _headers = target_create_grok_with_http_info(target_create_grok, opts)
|
|
30770
31474
|
data
|
|
30771
31475
|
end
|
|
30772
31476
|
|
|
30773
|
-
# @param
|
|
31477
|
+
# @param target_create_grok [TargetCreateGrok]
|
|
30774
31478
|
# @param [Hash] opts the optional parameters
|
|
30775
31479
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30776
|
-
def
|
|
31480
|
+
def target_create_grok_with_http_info(target_create_grok, opts = {})
|
|
30777
31481
|
if @api_client.config.debugging
|
|
30778
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
31482
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_grok ...'
|
|
30779
31483
|
end
|
|
30780
|
-
# verify the required parameter '
|
|
30781
|
-
if @api_client.config.client_side_validation &&
|
|
30782
|
-
fail ArgumentError, "Missing the required parameter '
|
|
31484
|
+
# verify the required parameter 'target_create_grok' is set
|
|
31485
|
+
if @api_client.config.client_side_validation && target_create_grok.nil?
|
|
31486
|
+
fail ArgumentError, "Missing the required parameter 'target_create_grok' when calling V2Api.target_create_grok"
|
|
30783
31487
|
end
|
|
30784
31488
|
# resource path
|
|
30785
|
-
local_var_path = '/target-create-
|
|
31489
|
+
local_var_path = '/target-create-grok'
|
|
30786
31490
|
|
|
30787
31491
|
# query parameters
|
|
30788
31492
|
query_params = opts[:query_params] || {}
|
|
@@ -30801,7 +31505,7 @@ module Akeyless
|
|
|
30801
31505
|
form_params = opts[:form_params] || {}
|
|
30802
31506
|
|
|
30803
31507
|
# http body (model)
|
|
30804
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
31508
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_grok)
|
|
30805
31509
|
|
|
30806
31510
|
# return_type
|
|
30807
31511
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30810,7 +31514,7 @@ module Akeyless
|
|
|
30810
31514
|
auth_names = opts[:debug_auth_names] || []
|
|
30811
31515
|
|
|
30812
31516
|
new_options = opts.merge(
|
|
30813
|
-
:operation => :"V2Api.
|
|
31517
|
+
:operation => :"V2Api.target_create_grok",
|
|
30814
31518
|
:header_params => header_params,
|
|
30815
31519
|
:query_params => query_params,
|
|
30816
31520
|
:form_params => form_params,
|
|
@@ -30821,32 +31525,32 @@ module Akeyless
|
|
|
30821
31525
|
|
|
30822
31526
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30823
31527
|
if @api_client.config.debugging
|
|
30824
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
31528
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30825
31529
|
end
|
|
30826
31530
|
return data, status_code, headers
|
|
30827
31531
|
end
|
|
30828
31532
|
|
|
30829
|
-
# @param
|
|
31533
|
+
# @param target_create_hashi_vault [TargetCreateHashiVault]
|
|
30830
31534
|
# @param [Hash] opts the optional parameters
|
|
30831
31535
|
# @return [TargetCreateOutput]
|
|
30832
|
-
def
|
|
30833
|
-
data, _status_code, _headers =
|
|
31536
|
+
def target_create_hashi_vault(target_create_hashi_vault, opts = {})
|
|
31537
|
+
data, _status_code, _headers = target_create_hashi_vault_with_http_info(target_create_hashi_vault, opts)
|
|
30834
31538
|
data
|
|
30835
31539
|
end
|
|
30836
31540
|
|
|
30837
|
-
# @param
|
|
31541
|
+
# @param target_create_hashi_vault [TargetCreateHashiVault]
|
|
30838
31542
|
# @param [Hash] opts the optional parameters
|
|
30839
31543
|
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30840
|
-
def
|
|
31544
|
+
def target_create_hashi_vault_with_http_info(target_create_hashi_vault, opts = {})
|
|
30841
31545
|
if @api_client.config.debugging
|
|
30842
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
31546
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_hashi_vault ...'
|
|
30843
31547
|
end
|
|
30844
|
-
# verify the required parameter '
|
|
30845
|
-
if @api_client.config.client_side_validation &&
|
|
30846
|
-
fail ArgumentError, "Missing the required parameter '
|
|
31548
|
+
# verify the required parameter 'target_create_hashi_vault' is set
|
|
31549
|
+
if @api_client.config.client_side_validation && target_create_hashi_vault.nil?
|
|
31550
|
+
fail ArgumentError, "Missing the required parameter 'target_create_hashi_vault' when calling V2Api.target_create_hashi_vault"
|
|
30847
31551
|
end
|
|
30848
31552
|
# resource path
|
|
30849
|
-
local_var_path = '/target-create-
|
|
31553
|
+
local_var_path = '/target-create-hashi-vault'
|
|
30850
31554
|
|
|
30851
31555
|
# query parameters
|
|
30852
31556
|
query_params = opts[:query_params] || {}
|
|
@@ -30865,7 +31569,7 @@ module Akeyless
|
|
|
30865
31569
|
form_params = opts[:form_params] || {}
|
|
30866
31570
|
|
|
30867
31571
|
# http body (model)
|
|
30868
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
31572
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_hashi_vault)
|
|
30869
31573
|
|
|
30870
31574
|
# return_type
|
|
30871
31575
|
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
@@ -30874,7 +31578,7 @@ module Akeyless
|
|
|
30874
31578
|
auth_names = opts[:debug_auth_names] || []
|
|
30875
31579
|
|
|
30876
31580
|
new_options = opts.merge(
|
|
30877
|
-
:operation => :"V2Api.
|
|
31581
|
+
:operation => :"V2Api.target_create_hashi_vault",
|
|
30878
31582
|
:header_params => header_params,
|
|
30879
31583
|
:query_params => query_params,
|
|
30880
31584
|
:form_params => form_params,
|
|
@@ -30885,12 +31589,140 @@ module Akeyless
|
|
|
30885
31589
|
|
|
30886
31590
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30887
31591
|
if @api_client.config.debugging
|
|
30888
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
31592
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30889
31593
|
end
|
|
30890
31594
|
return data, status_code, headers
|
|
30891
31595
|
end
|
|
30892
31596
|
|
|
30893
|
-
# @param
|
|
31597
|
+
# @param target_create_k8s [TargetCreateK8s]
|
|
31598
|
+
# @param [Hash] opts the optional parameters
|
|
31599
|
+
# @return [TargetCreateOutput]
|
|
31600
|
+
def target_create_k8s(target_create_k8s, opts = {})
|
|
31601
|
+
data, _status_code, _headers = target_create_k8s_with_http_info(target_create_k8s, opts)
|
|
31602
|
+
data
|
|
31603
|
+
end
|
|
31604
|
+
|
|
31605
|
+
# @param target_create_k8s [TargetCreateK8s]
|
|
31606
|
+
# @param [Hash] opts the optional parameters
|
|
31607
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31608
|
+
def target_create_k8s_with_http_info(target_create_k8s, opts = {})
|
|
31609
|
+
if @api_client.config.debugging
|
|
31610
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_k8s ...'
|
|
31611
|
+
end
|
|
31612
|
+
# verify the required parameter 'target_create_k8s' is set
|
|
31613
|
+
if @api_client.config.client_side_validation && target_create_k8s.nil?
|
|
31614
|
+
fail ArgumentError, "Missing the required parameter 'target_create_k8s' when calling V2Api.target_create_k8s"
|
|
31615
|
+
end
|
|
31616
|
+
# resource path
|
|
31617
|
+
local_var_path = '/target-create-k8s'
|
|
31618
|
+
|
|
31619
|
+
# query parameters
|
|
31620
|
+
query_params = opts[:query_params] || {}
|
|
31621
|
+
|
|
31622
|
+
# header parameters
|
|
31623
|
+
header_params = opts[:header_params] || {}
|
|
31624
|
+
# HTTP header 'Accept' (if needed)
|
|
31625
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31626
|
+
# HTTP header 'Content-Type'
|
|
31627
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31628
|
+
if !content_type.nil?
|
|
31629
|
+
header_params['Content-Type'] = content_type
|
|
31630
|
+
end
|
|
31631
|
+
|
|
31632
|
+
# form parameters
|
|
31633
|
+
form_params = opts[:form_params] || {}
|
|
31634
|
+
|
|
31635
|
+
# http body (model)
|
|
31636
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_k8s)
|
|
31637
|
+
|
|
31638
|
+
# return_type
|
|
31639
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31640
|
+
|
|
31641
|
+
# auth_names
|
|
31642
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31643
|
+
|
|
31644
|
+
new_options = opts.merge(
|
|
31645
|
+
:operation => :"V2Api.target_create_k8s",
|
|
31646
|
+
:header_params => header_params,
|
|
31647
|
+
:query_params => query_params,
|
|
31648
|
+
:form_params => form_params,
|
|
31649
|
+
:body => post_body,
|
|
31650
|
+
:auth_names => auth_names,
|
|
31651
|
+
:return_type => return_type
|
|
31652
|
+
)
|
|
31653
|
+
|
|
31654
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31655
|
+
if @api_client.config.debugging
|
|
31656
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_k8s\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31657
|
+
end
|
|
31658
|
+
return data, status_code, headers
|
|
31659
|
+
end
|
|
31660
|
+
|
|
31661
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31662
|
+
# @param [Hash] opts the optional parameters
|
|
31663
|
+
# @return [TargetCreateOutput]
|
|
31664
|
+
def target_create_keycloak(target_create_keycloak, opts = {})
|
|
31665
|
+
data, _status_code, _headers = target_create_keycloak_with_http_info(target_create_keycloak, opts)
|
|
31666
|
+
data
|
|
31667
|
+
end
|
|
31668
|
+
|
|
31669
|
+
# @param target_create_keycloak [TargetCreateKeycloak]
|
|
31670
|
+
# @param [Hash] opts the optional parameters
|
|
31671
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31672
|
+
def target_create_keycloak_with_http_info(target_create_keycloak, opts = {})
|
|
31673
|
+
if @api_client.config.debugging
|
|
31674
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_keycloak ...'
|
|
31675
|
+
end
|
|
31676
|
+
# verify the required parameter 'target_create_keycloak' is set
|
|
31677
|
+
if @api_client.config.client_side_validation && target_create_keycloak.nil?
|
|
31678
|
+
fail ArgumentError, "Missing the required parameter 'target_create_keycloak' when calling V2Api.target_create_keycloak"
|
|
31679
|
+
end
|
|
31680
|
+
# resource path
|
|
31681
|
+
local_var_path = '/target-create-keycloak'
|
|
31682
|
+
|
|
31683
|
+
# query parameters
|
|
31684
|
+
query_params = opts[:query_params] || {}
|
|
31685
|
+
|
|
31686
|
+
# header parameters
|
|
31687
|
+
header_params = opts[:header_params] || {}
|
|
31688
|
+
# HTTP header 'Accept' (if needed)
|
|
31689
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31690
|
+
# HTTP header 'Content-Type'
|
|
31691
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31692
|
+
if !content_type.nil?
|
|
31693
|
+
header_params['Content-Type'] = content_type
|
|
31694
|
+
end
|
|
31695
|
+
|
|
31696
|
+
# form parameters
|
|
31697
|
+
form_params = opts[:form_params] || {}
|
|
31698
|
+
|
|
31699
|
+
# http body (model)
|
|
31700
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_keycloak)
|
|
31701
|
+
|
|
31702
|
+
# return_type
|
|
31703
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31704
|
+
|
|
31705
|
+
# auth_names
|
|
31706
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31707
|
+
|
|
31708
|
+
new_options = opts.merge(
|
|
31709
|
+
:operation => :"V2Api.target_create_keycloak",
|
|
31710
|
+
:header_params => header_params,
|
|
31711
|
+
:query_params => query_params,
|
|
31712
|
+
:form_params => form_params,
|
|
31713
|
+
:body => post_body,
|
|
31714
|
+
:auth_names => auth_names,
|
|
31715
|
+
:return_type => return_type
|
|
31716
|
+
)
|
|
31717
|
+
|
|
31718
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31719
|
+
if @api_client.config.debugging
|
|
31720
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31721
|
+
end
|
|
31722
|
+
return data, status_code, headers
|
|
31723
|
+
end
|
|
31724
|
+
|
|
31725
|
+
# @param target_create_ldap [TargetCreateLdap]
|
|
30894
31726
|
# @param [Hash] opts the optional parameters
|
|
30895
31727
|
# @return [TargetCreateOutput]
|
|
30896
31728
|
def target_create_ldap(target_create_ldap, opts = {})
|
|
@@ -31082,6 +31914,70 @@ module Akeyless
|
|
|
31082
31914
|
return data, status_code, headers
|
|
31083
31915
|
end
|
|
31084
31916
|
|
|
31917
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31918
|
+
# @param [Hash] opts the optional parameters
|
|
31919
|
+
# @return [TargetCreateOutput]
|
|
31920
|
+
def target_create_okta(target_create_okta, opts = {})
|
|
31921
|
+
data, _status_code, _headers = target_create_okta_with_http_info(target_create_okta, opts)
|
|
31922
|
+
data
|
|
31923
|
+
end
|
|
31924
|
+
|
|
31925
|
+
# @param target_create_okta [TargetCreateOkta]
|
|
31926
|
+
# @param [Hash] opts the optional parameters
|
|
31927
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
31928
|
+
def target_create_okta_with_http_info(target_create_okta, opts = {})
|
|
31929
|
+
if @api_client.config.debugging
|
|
31930
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_okta ...'
|
|
31931
|
+
end
|
|
31932
|
+
# verify the required parameter 'target_create_okta' is set
|
|
31933
|
+
if @api_client.config.client_side_validation && target_create_okta.nil?
|
|
31934
|
+
fail ArgumentError, "Missing the required parameter 'target_create_okta' when calling V2Api.target_create_okta"
|
|
31935
|
+
end
|
|
31936
|
+
# resource path
|
|
31937
|
+
local_var_path = '/target-create-okta'
|
|
31938
|
+
|
|
31939
|
+
# query parameters
|
|
31940
|
+
query_params = opts[:query_params] || {}
|
|
31941
|
+
|
|
31942
|
+
# header parameters
|
|
31943
|
+
header_params = opts[:header_params] || {}
|
|
31944
|
+
# HTTP header 'Accept' (if needed)
|
|
31945
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
31946
|
+
# HTTP header 'Content-Type'
|
|
31947
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
31948
|
+
if !content_type.nil?
|
|
31949
|
+
header_params['Content-Type'] = content_type
|
|
31950
|
+
end
|
|
31951
|
+
|
|
31952
|
+
# form parameters
|
|
31953
|
+
form_params = opts[:form_params] || {}
|
|
31954
|
+
|
|
31955
|
+
# http body (model)
|
|
31956
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_okta)
|
|
31957
|
+
|
|
31958
|
+
# return_type
|
|
31959
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
31960
|
+
|
|
31961
|
+
# auth_names
|
|
31962
|
+
auth_names = opts[:debug_auth_names] || []
|
|
31963
|
+
|
|
31964
|
+
new_options = opts.merge(
|
|
31965
|
+
:operation => :"V2Api.target_create_okta",
|
|
31966
|
+
:header_params => header_params,
|
|
31967
|
+
:query_params => query_params,
|
|
31968
|
+
:form_params => form_params,
|
|
31969
|
+
:body => post_body,
|
|
31970
|
+
:auth_names => auth_names,
|
|
31971
|
+
:return_type => return_type
|
|
31972
|
+
)
|
|
31973
|
+
|
|
31974
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
31975
|
+
if @api_client.config.debugging
|
|
31976
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
31977
|
+
end
|
|
31978
|
+
return data, status_code, headers
|
|
31979
|
+
end
|
|
31980
|
+
|
|
31085
31981
|
# @param target_create_open_ai [TargetCreateOpenAI]
|
|
31086
31982
|
# @param [Hash] opts the optional parameters
|
|
31087
31983
|
# @return [TargetCreateOutput]
|
|
@@ -31978,6 +32874,70 @@ module Akeyless
|
|
|
31978
32874
|
return data, status_code, headers
|
|
31979
32875
|
end
|
|
31980
32876
|
|
|
32877
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32878
|
+
# @param [Hash] opts the optional parameters
|
|
32879
|
+
# @return [TargetUpdateOutput]
|
|
32880
|
+
def target_update_anthropic(target_update_anthropic, opts = {})
|
|
32881
|
+
data, _status_code, _headers = target_update_anthropic_with_http_info(target_update_anthropic, opts)
|
|
32882
|
+
data
|
|
32883
|
+
end
|
|
32884
|
+
|
|
32885
|
+
# @param target_update_anthropic [TargetUpdateAnthropic]
|
|
32886
|
+
# @param [Hash] opts the optional parameters
|
|
32887
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
32888
|
+
def target_update_anthropic_with_http_info(target_update_anthropic, opts = {})
|
|
32889
|
+
if @api_client.config.debugging
|
|
32890
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_anthropic ...'
|
|
32891
|
+
end
|
|
32892
|
+
# verify the required parameter 'target_update_anthropic' is set
|
|
32893
|
+
if @api_client.config.client_side_validation && target_update_anthropic.nil?
|
|
32894
|
+
fail ArgumentError, "Missing the required parameter 'target_update_anthropic' when calling V2Api.target_update_anthropic"
|
|
32895
|
+
end
|
|
32896
|
+
# resource path
|
|
32897
|
+
local_var_path = '/target-update-anthropic'
|
|
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_update_anthropic)
|
|
32917
|
+
|
|
32918
|
+
# return_type
|
|
32919
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32920
|
+
|
|
32921
|
+
# auth_names
|
|
32922
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32923
|
+
|
|
32924
|
+
new_options = opts.merge(
|
|
32925
|
+
:operation => :"V2Api.target_update_anthropic",
|
|
32926
|
+
:header_params => header_params,
|
|
32927
|
+
:query_params => query_params,
|
|
32928
|
+
:form_params => form_params,
|
|
32929
|
+
:body => post_body,
|
|
32930
|
+
:auth_names => auth_names,
|
|
32931
|
+
:return_type => return_type
|
|
32932
|
+
)
|
|
32933
|
+
|
|
32934
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32935
|
+
if @api_client.config.debugging
|
|
32936
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_anthropic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32937
|
+
end
|
|
32938
|
+
return data, status_code, headers
|
|
32939
|
+
end
|
|
32940
|
+
|
|
31981
32941
|
# @param target_update_artifactory [TargetUpdateArtifactory]
|
|
31982
32942
|
# @param [Hash] opts the optional parameters
|
|
31983
32943
|
# @return [TargetUpdateOutput]
|
|
@@ -32170,6 +33130,70 @@ module Akeyless
|
|
|
32170
33130
|
return data, status_code, headers
|
|
32171
33131
|
end
|
|
32172
33132
|
|
|
33133
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
33134
|
+
# @param [Hash] opts the optional parameters
|
|
33135
|
+
# @return [TargetUpdateOutput]
|
|
33136
|
+
def target_update_bedrock(target_update_bedrock, opts = {})
|
|
33137
|
+
data, _status_code, _headers = target_update_bedrock_with_http_info(target_update_bedrock, opts)
|
|
33138
|
+
data
|
|
33139
|
+
end
|
|
33140
|
+
|
|
33141
|
+
# @param target_update_bedrock [TargetUpdateBedrock]
|
|
33142
|
+
# @param [Hash] opts the optional parameters
|
|
33143
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33144
|
+
def target_update_bedrock_with_http_info(target_update_bedrock, opts = {})
|
|
33145
|
+
if @api_client.config.debugging
|
|
33146
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_bedrock ...'
|
|
33147
|
+
end
|
|
33148
|
+
# verify the required parameter 'target_update_bedrock' is set
|
|
33149
|
+
if @api_client.config.client_side_validation && target_update_bedrock.nil?
|
|
33150
|
+
fail ArgumentError, "Missing the required parameter 'target_update_bedrock' when calling V2Api.target_update_bedrock"
|
|
33151
|
+
end
|
|
33152
|
+
# resource path
|
|
33153
|
+
local_var_path = '/target-update-bedrock'
|
|
33154
|
+
|
|
33155
|
+
# query parameters
|
|
33156
|
+
query_params = opts[:query_params] || {}
|
|
33157
|
+
|
|
33158
|
+
# header parameters
|
|
33159
|
+
header_params = opts[:header_params] || {}
|
|
33160
|
+
# HTTP header 'Accept' (if needed)
|
|
33161
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
33162
|
+
# HTTP header 'Content-Type'
|
|
33163
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
33164
|
+
if !content_type.nil?
|
|
33165
|
+
header_params['Content-Type'] = content_type
|
|
33166
|
+
end
|
|
33167
|
+
|
|
33168
|
+
# form parameters
|
|
33169
|
+
form_params = opts[:form_params] || {}
|
|
33170
|
+
|
|
33171
|
+
# http body (model)
|
|
33172
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_bedrock)
|
|
33173
|
+
|
|
33174
|
+
# return_type
|
|
33175
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
33176
|
+
|
|
33177
|
+
# auth_names
|
|
33178
|
+
auth_names = opts[:debug_auth_names] || []
|
|
33179
|
+
|
|
33180
|
+
new_options = opts.merge(
|
|
33181
|
+
:operation => :"V2Api.target_update_bedrock",
|
|
33182
|
+
:header_params => header_params,
|
|
33183
|
+
:query_params => query_params,
|
|
33184
|
+
:form_params => form_params,
|
|
33185
|
+
:body => post_body,
|
|
33186
|
+
:auth_names => auth_names,
|
|
33187
|
+
:return_type => return_type
|
|
33188
|
+
)
|
|
33189
|
+
|
|
33190
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33191
|
+
if @api_client.config.debugging
|
|
33192
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_bedrock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33193
|
+
end
|
|
33194
|
+
return data, status_code, headers
|
|
33195
|
+
end
|
|
33196
|
+
|
|
32173
33197
|
# @param target_update_cloudflare [TargetUpdateCloudflare]
|
|
32174
33198
|
# @param [Hash] opts the optional parameters
|
|
32175
33199
|
# @return [TargetUpdateOutput]
|
|
@@ -32234,6 +33258,70 @@ module Akeyless
|
|
|
32234
33258
|
return data, status_code, headers
|
|
32235
33259
|
end
|
|
32236
33260
|
|
|
33261
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33262
|
+
# @param [Hash] opts the optional parameters
|
|
33263
|
+
# @return [TargetUpdateOutput]
|
|
33264
|
+
def target_update_custom_dns(target_update_custom_dns, opts = {})
|
|
33265
|
+
data, _status_code, _headers = target_update_custom_dns_with_http_info(target_update_custom_dns, opts)
|
|
33266
|
+
data
|
|
33267
|
+
end
|
|
33268
|
+
|
|
33269
|
+
# @param target_update_custom_dns [TargetUpdateCustomDns]
|
|
33270
|
+
# @param [Hash] opts the optional parameters
|
|
33271
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33272
|
+
def target_update_custom_dns_with_http_info(target_update_custom_dns, opts = {})
|
|
33273
|
+
if @api_client.config.debugging
|
|
33274
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_custom_dns ...'
|
|
33275
|
+
end
|
|
33276
|
+
# verify the required parameter 'target_update_custom_dns' is set
|
|
33277
|
+
if @api_client.config.client_side_validation && target_update_custom_dns.nil?
|
|
33278
|
+
fail ArgumentError, "Missing the required parameter 'target_update_custom_dns' when calling V2Api.target_update_custom_dns"
|
|
33279
|
+
end
|
|
33280
|
+
# resource path
|
|
33281
|
+
local_var_path = '/target-update-custom-dns'
|
|
33282
|
+
|
|
33283
|
+
# query parameters
|
|
33284
|
+
query_params = opts[:query_params] || {}
|
|
33285
|
+
|
|
33286
|
+
# header parameters
|
|
33287
|
+
header_params = opts[:header_params] || {}
|
|
33288
|
+
# HTTP header 'Accept' (if needed)
|
|
33289
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
33290
|
+
# HTTP header 'Content-Type'
|
|
33291
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
33292
|
+
if !content_type.nil?
|
|
33293
|
+
header_params['Content-Type'] = content_type
|
|
33294
|
+
end
|
|
33295
|
+
|
|
33296
|
+
# form parameters
|
|
33297
|
+
form_params = opts[:form_params] || {}
|
|
33298
|
+
|
|
33299
|
+
# http body (model)
|
|
33300
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_custom_dns)
|
|
33301
|
+
|
|
33302
|
+
# return_type
|
|
33303
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
33304
|
+
|
|
33305
|
+
# auth_names
|
|
33306
|
+
auth_names = opts[:debug_auth_names] || []
|
|
33307
|
+
|
|
33308
|
+
new_options = opts.merge(
|
|
33309
|
+
:operation => :"V2Api.target_update_custom_dns",
|
|
33310
|
+
:header_params => header_params,
|
|
33311
|
+
:query_params => query_params,
|
|
33312
|
+
:form_params => form_params,
|
|
33313
|
+
:body => post_body,
|
|
33314
|
+
:auth_names => auth_names,
|
|
33315
|
+
:return_type => return_type
|
|
33316
|
+
)
|
|
33317
|
+
|
|
33318
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33319
|
+
if @api_client.config.debugging
|
|
33320
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_custom_dns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33321
|
+
end
|
|
33322
|
+
return data, status_code, headers
|
|
33323
|
+
end
|
|
33324
|
+
|
|
32237
33325
|
# @param target_update_db [TargetUpdateDB]
|
|
32238
33326
|
# @param [Hash] opts the optional parameters
|
|
32239
33327
|
# @return [TargetUpdateOutput]
|
|
@@ -33022,7 +34110,135 @@ module Akeyless
|
|
|
33022
34110
|
fail ArgumentError, "Missing the required parameter 'target_update_google_trust' when calling V2Api.target_update_google_trust"
|
|
33023
34111
|
end
|
|
33024
34112
|
# resource path
|
|
33025
|
-
local_var_path = '/target-update-google-trust'
|
|
34113
|
+
local_var_path = '/target-update-google-trust'
|
|
34114
|
+
|
|
34115
|
+
# query parameters
|
|
34116
|
+
query_params = opts[:query_params] || {}
|
|
34117
|
+
|
|
34118
|
+
# header parameters
|
|
34119
|
+
header_params = opts[:header_params] || {}
|
|
34120
|
+
# HTTP header 'Accept' (if needed)
|
|
34121
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34122
|
+
# HTTP header 'Content-Type'
|
|
34123
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34124
|
+
if !content_type.nil?
|
|
34125
|
+
header_params['Content-Type'] = content_type
|
|
34126
|
+
end
|
|
34127
|
+
|
|
34128
|
+
# form parameters
|
|
34129
|
+
form_params = opts[:form_params] || {}
|
|
34130
|
+
|
|
34131
|
+
# http body (model)
|
|
34132
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_google_trust)
|
|
34133
|
+
|
|
34134
|
+
# return_type
|
|
34135
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34136
|
+
|
|
34137
|
+
# auth_names
|
|
34138
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34139
|
+
|
|
34140
|
+
new_options = opts.merge(
|
|
34141
|
+
:operation => :"V2Api.target_update_google_trust",
|
|
34142
|
+
:header_params => header_params,
|
|
34143
|
+
:query_params => query_params,
|
|
34144
|
+
:form_params => form_params,
|
|
34145
|
+
:body => post_body,
|
|
34146
|
+
:auth_names => auth_names,
|
|
34147
|
+
:return_type => return_type
|
|
34148
|
+
)
|
|
34149
|
+
|
|
34150
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34151
|
+
if @api_client.config.debugging
|
|
34152
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_google_trust\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34153
|
+
end
|
|
34154
|
+
return data, status_code, headers
|
|
34155
|
+
end
|
|
34156
|
+
|
|
34157
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34158
|
+
# @param [Hash] opts the optional parameters
|
|
34159
|
+
# @return [TargetUpdateOutput]
|
|
34160
|
+
def target_update_grok(target_update_grok, opts = {})
|
|
34161
|
+
data, _status_code, _headers = target_update_grok_with_http_info(target_update_grok, opts)
|
|
34162
|
+
data
|
|
34163
|
+
end
|
|
34164
|
+
|
|
34165
|
+
# @param target_update_grok [TargetUpdateGrok]
|
|
34166
|
+
# @param [Hash] opts the optional parameters
|
|
34167
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34168
|
+
def target_update_grok_with_http_info(target_update_grok, opts = {})
|
|
34169
|
+
if @api_client.config.debugging
|
|
34170
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_grok ...'
|
|
34171
|
+
end
|
|
34172
|
+
# verify the required parameter 'target_update_grok' is set
|
|
34173
|
+
if @api_client.config.client_side_validation && target_update_grok.nil?
|
|
34174
|
+
fail ArgumentError, "Missing the required parameter 'target_update_grok' when calling V2Api.target_update_grok"
|
|
34175
|
+
end
|
|
34176
|
+
# resource path
|
|
34177
|
+
local_var_path = '/target-update-grok'
|
|
34178
|
+
|
|
34179
|
+
# query parameters
|
|
34180
|
+
query_params = opts[:query_params] || {}
|
|
34181
|
+
|
|
34182
|
+
# header parameters
|
|
34183
|
+
header_params = opts[:header_params] || {}
|
|
34184
|
+
# HTTP header 'Accept' (if needed)
|
|
34185
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34186
|
+
# HTTP header 'Content-Type'
|
|
34187
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34188
|
+
if !content_type.nil?
|
|
34189
|
+
header_params['Content-Type'] = content_type
|
|
34190
|
+
end
|
|
34191
|
+
|
|
34192
|
+
# form parameters
|
|
34193
|
+
form_params = opts[:form_params] || {}
|
|
34194
|
+
|
|
34195
|
+
# http body (model)
|
|
34196
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_grok)
|
|
34197
|
+
|
|
34198
|
+
# return_type
|
|
34199
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34200
|
+
|
|
34201
|
+
# auth_names
|
|
34202
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34203
|
+
|
|
34204
|
+
new_options = opts.merge(
|
|
34205
|
+
:operation => :"V2Api.target_update_grok",
|
|
34206
|
+
:header_params => header_params,
|
|
34207
|
+
:query_params => query_params,
|
|
34208
|
+
:form_params => form_params,
|
|
34209
|
+
:body => post_body,
|
|
34210
|
+
:auth_names => auth_names,
|
|
34211
|
+
:return_type => return_type
|
|
34212
|
+
)
|
|
34213
|
+
|
|
34214
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34215
|
+
if @api_client.config.debugging
|
|
34216
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_grok\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34217
|
+
end
|
|
34218
|
+
return data, status_code, headers
|
|
34219
|
+
end
|
|
34220
|
+
|
|
34221
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34222
|
+
# @param [Hash] opts the optional parameters
|
|
34223
|
+
# @return [TargetUpdateOutput]
|
|
34224
|
+
def target_update_hashi_vault(target_update_hashi_vault, opts = {})
|
|
34225
|
+
data, _status_code, _headers = target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts)
|
|
34226
|
+
data
|
|
34227
|
+
end
|
|
34228
|
+
|
|
34229
|
+
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
34230
|
+
# @param [Hash] opts the optional parameters
|
|
34231
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34232
|
+
def target_update_hashi_vault_with_http_info(target_update_hashi_vault, opts = {})
|
|
34233
|
+
if @api_client.config.debugging
|
|
34234
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_hashi_vault ...'
|
|
34235
|
+
end
|
|
34236
|
+
# verify the required parameter 'target_update_hashi_vault' is set
|
|
34237
|
+
if @api_client.config.client_side_validation && target_update_hashi_vault.nil?
|
|
34238
|
+
fail ArgumentError, "Missing the required parameter 'target_update_hashi_vault' when calling V2Api.target_update_hashi_vault"
|
|
34239
|
+
end
|
|
34240
|
+
# resource path
|
|
34241
|
+
local_var_path = '/target-update-hashi-vault'
|
|
33026
34242
|
|
|
33027
34243
|
# query parameters
|
|
33028
34244
|
query_params = opts[:query_params] || {}
|
|
@@ -33041,7 +34257,7 @@ module Akeyless
|
|
|
33041
34257
|
form_params = opts[:form_params] || {}
|
|
33042
34258
|
|
|
33043
34259
|
# http body (model)
|
|
33044
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34260
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_hashi_vault)
|
|
33045
34261
|
|
|
33046
34262
|
# return_type
|
|
33047
34263
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33050,7 +34266,7 @@ module Akeyless
|
|
|
33050
34266
|
auth_names = opts[:debug_auth_names] || []
|
|
33051
34267
|
|
|
33052
34268
|
new_options = opts.merge(
|
|
33053
|
-
:operation => :"V2Api.
|
|
34269
|
+
:operation => :"V2Api.target_update_hashi_vault",
|
|
33054
34270
|
:header_params => header_params,
|
|
33055
34271
|
:query_params => query_params,
|
|
33056
34272
|
:form_params => form_params,
|
|
@@ -33061,32 +34277,32 @@ module Akeyless
|
|
|
33061
34277
|
|
|
33062
34278
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33063
34279
|
if @api_client.config.debugging
|
|
33064
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34280
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_hashi_vault\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33065
34281
|
end
|
|
33066
34282
|
return data, status_code, headers
|
|
33067
34283
|
end
|
|
33068
34284
|
|
|
33069
|
-
# @param
|
|
34285
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33070
34286
|
# @param [Hash] opts the optional parameters
|
|
33071
34287
|
# @return [TargetUpdateOutput]
|
|
33072
|
-
def
|
|
33073
|
-
data, _status_code, _headers =
|
|
34288
|
+
def target_update_k8s(target_update_k8s, opts = {})
|
|
34289
|
+
data, _status_code, _headers = target_update_k8s_with_http_info(target_update_k8s, opts)
|
|
33074
34290
|
data
|
|
33075
34291
|
end
|
|
33076
34292
|
|
|
33077
|
-
# @param
|
|
34293
|
+
# @param target_update_k8s [TargetUpdateK8s]
|
|
33078
34294
|
# @param [Hash] opts the optional parameters
|
|
33079
34295
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33080
|
-
def
|
|
34296
|
+
def target_update_k8s_with_http_info(target_update_k8s, opts = {})
|
|
33081
34297
|
if @api_client.config.debugging
|
|
33082
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34298
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_k8s ...'
|
|
33083
34299
|
end
|
|
33084
|
-
# verify the required parameter '
|
|
33085
|
-
if @api_client.config.client_side_validation &&
|
|
33086
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34300
|
+
# verify the required parameter 'target_update_k8s' is set
|
|
34301
|
+
if @api_client.config.client_side_validation && target_update_k8s.nil?
|
|
34302
|
+
fail ArgumentError, "Missing the required parameter 'target_update_k8s' when calling V2Api.target_update_k8s"
|
|
33087
34303
|
end
|
|
33088
34304
|
# resource path
|
|
33089
|
-
local_var_path = '/target-update-
|
|
34305
|
+
local_var_path = '/target-update-k8s'
|
|
33090
34306
|
|
|
33091
34307
|
# query parameters
|
|
33092
34308
|
query_params = opts[:query_params] || {}
|
|
@@ -33105,7 +34321,7 @@ module Akeyless
|
|
|
33105
34321
|
form_params = opts[:form_params] || {}
|
|
33106
34322
|
|
|
33107
34323
|
# http body (model)
|
|
33108
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34324
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_k8s)
|
|
33109
34325
|
|
|
33110
34326
|
# return_type
|
|
33111
34327
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33114,7 +34330,7 @@ module Akeyless
|
|
|
33114
34330
|
auth_names = opts[:debug_auth_names] || []
|
|
33115
34331
|
|
|
33116
34332
|
new_options = opts.merge(
|
|
33117
|
-
:operation => :"V2Api.
|
|
34333
|
+
:operation => :"V2Api.target_update_k8s",
|
|
33118
34334
|
:header_params => header_params,
|
|
33119
34335
|
:query_params => query_params,
|
|
33120
34336
|
:form_params => form_params,
|
|
@@ -33125,32 +34341,32 @@ module Akeyless
|
|
|
33125
34341
|
|
|
33126
34342
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33127
34343
|
if @api_client.config.debugging
|
|
33128
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34344
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_k8s\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33129
34345
|
end
|
|
33130
34346
|
return data, status_code, headers
|
|
33131
34347
|
end
|
|
33132
34348
|
|
|
33133
|
-
# @param
|
|
34349
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33134
34350
|
# @param [Hash] opts the optional parameters
|
|
33135
34351
|
# @return [TargetUpdateOutput]
|
|
33136
|
-
def
|
|
33137
|
-
data, _status_code, _headers =
|
|
34352
|
+
def target_update_keycloak(target_update_keycloak, opts = {})
|
|
34353
|
+
data, _status_code, _headers = target_update_keycloak_with_http_info(target_update_keycloak, opts)
|
|
33138
34354
|
data
|
|
33139
34355
|
end
|
|
33140
34356
|
|
|
33141
|
-
# @param
|
|
34357
|
+
# @param target_update_keycloak [TargetUpdateKeycloak]
|
|
33142
34358
|
# @param [Hash] opts the optional parameters
|
|
33143
34359
|
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
33144
|
-
def
|
|
34360
|
+
def target_update_keycloak_with_http_info(target_update_keycloak, opts = {})
|
|
33145
34361
|
if @api_client.config.debugging
|
|
33146
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
34362
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_keycloak ...'
|
|
33147
34363
|
end
|
|
33148
|
-
# verify the required parameter '
|
|
33149
|
-
if @api_client.config.client_side_validation &&
|
|
33150
|
-
fail ArgumentError, "Missing the required parameter '
|
|
34364
|
+
# verify the required parameter 'target_update_keycloak' is set
|
|
34365
|
+
if @api_client.config.client_side_validation && target_update_keycloak.nil?
|
|
34366
|
+
fail ArgumentError, "Missing the required parameter 'target_update_keycloak' when calling V2Api.target_update_keycloak"
|
|
33151
34367
|
end
|
|
33152
34368
|
# resource path
|
|
33153
|
-
local_var_path = '/target-update-
|
|
34369
|
+
local_var_path = '/target-update-keycloak'
|
|
33154
34370
|
|
|
33155
34371
|
# query parameters
|
|
33156
34372
|
query_params = opts[:query_params] || {}
|
|
@@ -33169,7 +34385,7 @@ module Akeyless
|
|
|
33169
34385
|
form_params = opts[:form_params] || {}
|
|
33170
34386
|
|
|
33171
34387
|
# http body (model)
|
|
33172
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
34388
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_keycloak)
|
|
33173
34389
|
|
|
33174
34390
|
# return_type
|
|
33175
34391
|
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
@@ -33178,7 +34394,7 @@ module Akeyless
|
|
|
33178
34394
|
auth_names = opts[:debug_auth_names] || []
|
|
33179
34395
|
|
|
33180
34396
|
new_options = opts.merge(
|
|
33181
|
-
:operation => :"V2Api.
|
|
34397
|
+
:operation => :"V2Api.target_update_keycloak",
|
|
33182
34398
|
:header_params => header_params,
|
|
33183
34399
|
:query_params => query_params,
|
|
33184
34400
|
:form_params => form_params,
|
|
@@ -33189,7 +34405,7 @@ module Akeyless
|
|
|
33189
34405
|
|
|
33190
34406
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
33191
34407
|
if @api_client.config.debugging
|
|
33192
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
34408
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_keycloak\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
33193
34409
|
end
|
|
33194
34410
|
return data, status_code, headers
|
|
33195
34411
|
end
|
|
@@ -33386,6 +34602,70 @@ module Akeyless
|
|
|
33386
34602
|
return data, status_code, headers
|
|
33387
34603
|
end
|
|
33388
34604
|
|
|
34605
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34606
|
+
# @param [Hash] opts the optional parameters
|
|
34607
|
+
# @return [TargetUpdateOutput]
|
|
34608
|
+
def target_update_okta(target_update_okta, opts = {})
|
|
34609
|
+
data, _status_code, _headers = target_update_okta_with_http_info(target_update_okta, opts)
|
|
34610
|
+
data
|
|
34611
|
+
end
|
|
34612
|
+
|
|
34613
|
+
# @param target_update_okta [TargetUpdateOkta]
|
|
34614
|
+
# @param [Hash] opts the optional parameters
|
|
34615
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
34616
|
+
def target_update_okta_with_http_info(target_update_okta, opts = {})
|
|
34617
|
+
if @api_client.config.debugging
|
|
34618
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_okta ...'
|
|
34619
|
+
end
|
|
34620
|
+
# verify the required parameter 'target_update_okta' is set
|
|
34621
|
+
if @api_client.config.client_side_validation && target_update_okta.nil?
|
|
34622
|
+
fail ArgumentError, "Missing the required parameter 'target_update_okta' when calling V2Api.target_update_okta"
|
|
34623
|
+
end
|
|
34624
|
+
# resource path
|
|
34625
|
+
local_var_path = '/target-update-okta'
|
|
34626
|
+
|
|
34627
|
+
# query parameters
|
|
34628
|
+
query_params = opts[:query_params] || {}
|
|
34629
|
+
|
|
34630
|
+
# header parameters
|
|
34631
|
+
header_params = opts[:header_params] || {}
|
|
34632
|
+
# HTTP header 'Accept' (if needed)
|
|
34633
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34634
|
+
# HTTP header 'Content-Type'
|
|
34635
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34636
|
+
if !content_type.nil?
|
|
34637
|
+
header_params['Content-Type'] = content_type
|
|
34638
|
+
end
|
|
34639
|
+
|
|
34640
|
+
# form parameters
|
|
34641
|
+
form_params = opts[:form_params] || {}
|
|
34642
|
+
|
|
34643
|
+
# http body (model)
|
|
34644
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_okta)
|
|
34645
|
+
|
|
34646
|
+
# return_type
|
|
34647
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
34648
|
+
|
|
34649
|
+
# auth_names
|
|
34650
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34651
|
+
|
|
34652
|
+
new_options = opts.merge(
|
|
34653
|
+
:operation => :"V2Api.target_update_okta",
|
|
34654
|
+
:header_params => header_params,
|
|
34655
|
+
:query_params => query_params,
|
|
34656
|
+
:form_params => form_params,
|
|
34657
|
+
:body => post_body,
|
|
34658
|
+
:auth_names => auth_names,
|
|
34659
|
+
:return_type => return_type
|
|
34660
|
+
)
|
|
34661
|
+
|
|
34662
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34663
|
+
if @api_client.config.debugging
|
|
34664
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34665
|
+
end
|
|
34666
|
+
return data, status_code, headers
|
|
34667
|
+
end
|
|
34668
|
+
|
|
33389
34669
|
# @param target_update_open_ai [TargetUpdateOpenAI]
|
|
33390
34670
|
# @param [Hash] opts the optional parameters
|
|
33391
34671
|
# @return [TargetUpdateOutput]
|
|
@@ -37034,6 +38314,198 @@ module Akeyless
|
|
|
37034
38314
|
return data, status_code, headers
|
|
37035
38315
|
end
|
|
37036
38316
|
|
|
38317
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
38318
|
+
# @param [Hash] opts the optional parameters
|
|
38319
|
+
# @return [UpdateSecretValOutput]
|
|
38320
|
+
def update_mcp_secret_bearer_token(update_mcp_secret_bearer_token, opts = {})
|
|
38321
|
+
data, _status_code, _headers = update_mcp_secret_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts)
|
|
38322
|
+
data
|
|
38323
|
+
end
|
|
38324
|
+
|
|
38325
|
+
# @param update_mcp_secret_bearer_token [UpdateMcpSecretBearerToken]
|
|
38326
|
+
# @param [Hash] opts the optional parameters
|
|
38327
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38328
|
+
def update_mcp_secret_bearer_token_with_http_info(update_mcp_secret_bearer_token, opts = {})
|
|
38329
|
+
if @api_client.config.debugging
|
|
38330
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_bearer_token ...'
|
|
38331
|
+
end
|
|
38332
|
+
# verify the required parameter 'update_mcp_secret_bearer_token' is set
|
|
38333
|
+
if @api_client.config.client_side_validation && update_mcp_secret_bearer_token.nil?
|
|
38334
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_bearer_token' when calling V2Api.update_mcp_secret_bearer_token"
|
|
38335
|
+
end
|
|
38336
|
+
# resource path
|
|
38337
|
+
local_var_path = '/update-mcp-secret-bearer-token'
|
|
38338
|
+
|
|
38339
|
+
# query parameters
|
|
38340
|
+
query_params = opts[:query_params] || {}
|
|
38341
|
+
|
|
38342
|
+
# header parameters
|
|
38343
|
+
header_params = opts[:header_params] || {}
|
|
38344
|
+
# HTTP header 'Accept' (if needed)
|
|
38345
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38346
|
+
# HTTP header 'Content-Type'
|
|
38347
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38348
|
+
if !content_type.nil?
|
|
38349
|
+
header_params['Content-Type'] = content_type
|
|
38350
|
+
end
|
|
38351
|
+
|
|
38352
|
+
# form parameters
|
|
38353
|
+
form_params = opts[:form_params] || {}
|
|
38354
|
+
|
|
38355
|
+
# http body (model)
|
|
38356
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_bearer_token)
|
|
38357
|
+
|
|
38358
|
+
# return_type
|
|
38359
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38360
|
+
|
|
38361
|
+
# auth_names
|
|
38362
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38363
|
+
|
|
38364
|
+
new_options = opts.merge(
|
|
38365
|
+
:operation => :"V2Api.update_mcp_secret_bearer_token",
|
|
38366
|
+
:header_params => header_params,
|
|
38367
|
+
:query_params => query_params,
|
|
38368
|
+
:form_params => form_params,
|
|
38369
|
+
:body => post_body,
|
|
38370
|
+
:auth_names => auth_names,
|
|
38371
|
+
:return_type => return_type
|
|
38372
|
+
)
|
|
38373
|
+
|
|
38374
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38375
|
+
if @api_client.config.debugging
|
|
38376
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_bearer_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38377
|
+
end
|
|
38378
|
+
return data, status_code, headers
|
|
38379
|
+
end
|
|
38380
|
+
|
|
38381
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38382
|
+
# @param [Hash] opts the optional parameters
|
|
38383
|
+
# @return [UpdateSecretValOutput]
|
|
38384
|
+
def update_mcp_secret_o_auth_auth_code(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38385
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts)
|
|
38386
|
+
data
|
|
38387
|
+
end
|
|
38388
|
+
|
|
38389
|
+
# @param update_mcp_secret_o_auth_auth_code [UpdateMcpSecretOAuthAuthCode]
|
|
38390
|
+
# @param [Hash] opts the optional parameters
|
|
38391
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38392
|
+
def update_mcp_secret_o_auth_auth_code_with_http_info(update_mcp_secret_o_auth_auth_code, opts = {})
|
|
38393
|
+
if @api_client.config.debugging
|
|
38394
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_auth_code ...'
|
|
38395
|
+
end
|
|
38396
|
+
# verify the required parameter 'update_mcp_secret_o_auth_auth_code' is set
|
|
38397
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_auth_code.nil?
|
|
38398
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_auth_code' when calling V2Api.update_mcp_secret_o_auth_auth_code"
|
|
38399
|
+
end
|
|
38400
|
+
# resource path
|
|
38401
|
+
local_var_path = '/update-mcp-secret-oauth-authorization-code'
|
|
38402
|
+
|
|
38403
|
+
# query parameters
|
|
38404
|
+
query_params = opts[:query_params] || {}
|
|
38405
|
+
|
|
38406
|
+
# header parameters
|
|
38407
|
+
header_params = opts[:header_params] || {}
|
|
38408
|
+
# HTTP header 'Accept' (if needed)
|
|
38409
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38410
|
+
# HTTP header 'Content-Type'
|
|
38411
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38412
|
+
if !content_type.nil?
|
|
38413
|
+
header_params['Content-Type'] = content_type
|
|
38414
|
+
end
|
|
38415
|
+
|
|
38416
|
+
# form parameters
|
|
38417
|
+
form_params = opts[:form_params] || {}
|
|
38418
|
+
|
|
38419
|
+
# http body (model)
|
|
38420
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_auth_code)
|
|
38421
|
+
|
|
38422
|
+
# return_type
|
|
38423
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38424
|
+
|
|
38425
|
+
# auth_names
|
|
38426
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38427
|
+
|
|
38428
|
+
new_options = opts.merge(
|
|
38429
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_auth_code",
|
|
38430
|
+
:header_params => header_params,
|
|
38431
|
+
:query_params => query_params,
|
|
38432
|
+
:form_params => form_params,
|
|
38433
|
+
:body => post_body,
|
|
38434
|
+
:auth_names => auth_names,
|
|
38435
|
+
:return_type => return_type
|
|
38436
|
+
)
|
|
38437
|
+
|
|
38438
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38439
|
+
if @api_client.config.debugging
|
|
38440
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_auth_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38441
|
+
end
|
|
38442
|
+
return data, status_code, headers
|
|
38443
|
+
end
|
|
38444
|
+
|
|
38445
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38446
|
+
# @param [Hash] opts the optional parameters
|
|
38447
|
+
# @return [UpdateSecretValOutput]
|
|
38448
|
+
def update_mcp_secret_o_auth_client_creds(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38449
|
+
data, _status_code, _headers = update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts)
|
|
38450
|
+
data
|
|
38451
|
+
end
|
|
38452
|
+
|
|
38453
|
+
# @param update_mcp_secret_o_auth_client_creds [UpdateMcpSecretOAuthClientCreds]
|
|
38454
|
+
# @param [Hash] opts the optional parameters
|
|
38455
|
+
# @return [Array<(UpdateSecretValOutput, Integer, Hash)>] UpdateSecretValOutput data, response status code and response headers
|
|
38456
|
+
def update_mcp_secret_o_auth_client_creds_with_http_info(update_mcp_secret_o_auth_client_creds, opts = {})
|
|
38457
|
+
if @api_client.config.debugging
|
|
38458
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_mcp_secret_o_auth_client_creds ...'
|
|
38459
|
+
end
|
|
38460
|
+
# verify the required parameter 'update_mcp_secret_o_auth_client_creds' is set
|
|
38461
|
+
if @api_client.config.client_side_validation && update_mcp_secret_o_auth_client_creds.nil?
|
|
38462
|
+
fail ArgumentError, "Missing the required parameter 'update_mcp_secret_o_auth_client_creds' when calling V2Api.update_mcp_secret_o_auth_client_creds"
|
|
38463
|
+
end
|
|
38464
|
+
# resource path
|
|
38465
|
+
local_var_path = '/update-mcp-secret-oauth-client-credentials'
|
|
38466
|
+
|
|
38467
|
+
# query parameters
|
|
38468
|
+
query_params = opts[:query_params] || {}
|
|
38469
|
+
|
|
38470
|
+
# header parameters
|
|
38471
|
+
header_params = opts[:header_params] || {}
|
|
38472
|
+
# HTTP header 'Accept' (if needed)
|
|
38473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
38474
|
+
# HTTP header 'Content-Type'
|
|
38475
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
38476
|
+
if !content_type.nil?
|
|
38477
|
+
header_params['Content-Type'] = content_type
|
|
38478
|
+
end
|
|
38479
|
+
|
|
38480
|
+
# form parameters
|
|
38481
|
+
form_params = opts[:form_params] || {}
|
|
38482
|
+
|
|
38483
|
+
# http body (model)
|
|
38484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_mcp_secret_o_auth_client_creds)
|
|
38485
|
+
|
|
38486
|
+
# return_type
|
|
38487
|
+
return_type = opts[:debug_return_type] || 'UpdateSecretValOutput'
|
|
38488
|
+
|
|
38489
|
+
# auth_names
|
|
38490
|
+
auth_names = opts[:debug_auth_names] || []
|
|
38491
|
+
|
|
38492
|
+
new_options = opts.merge(
|
|
38493
|
+
:operation => :"V2Api.update_mcp_secret_o_auth_client_creds",
|
|
38494
|
+
:header_params => header_params,
|
|
38495
|
+
:query_params => query_params,
|
|
38496
|
+
:form_params => form_params,
|
|
38497
|
+
:body => post_body,
|
|
38498
|
+
:auth_names => auth_names,
|
|
38499
|
+
:return_type => return_type
|
|
38500
|
+
)
|
|
38501
|
+
|
|
38502
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
38503
|
+
if @api_client.config.debugging
|
|
38504
|
+
@api_client.config.logger.debug "API called: V2Api#update_mcp_secret_o_auth_client_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
38505
|
+
end
|
|
38506
|
+
return data, status_code, headers
|
|
38507
|
+
end
|
|
38508
|
+
|
|
37037
38509
|
# @param update_native_k8_s_target [UpdateNativeK8STarget]
|
|
37038
38510
|
# @param [Hash] opts the optional parameters
|
|
37039
38511
|
# @return [UpdateNativeK8STargetOutput]
|