akeyless 4.2.3 → 4.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +54 -2
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AcmeAccount.md +22 -0
- data/docs/AuthMethodRoleAssociation.md +2 -0
- data/docs/AwsStorage.md +28 -0
- data/docs/AzureStorage.md +28 -0
- data/docs/BastionConfigReplyObj.md +28 -0
- data/docs/BastionGlobalConf.md +24 -0
- data/docs/ChangeAdminAccountPassword.md +26 -0
- data/docs/Configure.md +8 -0
- data/docs/Connect.md +2 -2
- data/docs/CreateClassicKey.md +8 -0
- data/docs/CreateDFCKey.md +8 -0
- data/docs/CreatePKICertIssuer.md +5 -1
- data/docs/DeactivateAcmeAccount.md +28 -0
- data/docs/DynamicSecretUpdateArtifactory.md +1 -1
- data/docs/DynamicSecretUpdateAws.md +1 -1
- data/docs/DynamicSecretUpdateAzure.md +1 -1
- data/docs/DynamicSecretUpdateCassandra.md +1 -1
- data/docs/DynamicSecretUpdateChef.md +1 -1
- data/docs/DynamicSecretUpdateCustom.md +1 -1
- data/docs/DynamicSecretUpdateDockerhub.md +1 -1
- data/docs/DynamicSecretUpdateEks.md +1 -1
- data/docs/DynamicSecretUpdateGcp.md +1 -1
- data/docs/DynamicSecretUpdateGithub.md +1 -1
- data/docs/DynamicSecretUpdateGitlab.md +1 -1
- data/docs/DynamicSecretUpdateGke.md +1 -1
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
- data/docs/DynamicSecretUpdateHanaDb.md +1 -1
- data/docs/DynamicSecretUpdateK8s.md +1 -1
- data/docs/DynamicSecretUpdateLdap.md +1 -1
- data/docs/DynamicSecretUpdateMongoDb.md +1 -1
- data/docs/DynamicSecretUpdateMsSql.md +1 -1
- data/docs/DynamicSecretUpdateMySql.md +1 -1
- data/docs/DynamicSecretUpdateOracleDb.md +1 -1
- data/docs/DynamicSecretUpdatePing.md +1 -1
- data/docs/DynamicSecretUpdateVenafi.md +1 -1
- data/docs/EmailPassAccessRules.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayGetRemoteAccess.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +36 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
- data/docs/GenerateAcmeEab.md +24 -0
- data/docs/GenerateAcmeEabOutput.md +22 -0
- data/docs/GetGroupOutput.md +2 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/Group.md +2 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
- data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
- data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
- data/docs/ItemGeneralInfo.md +4 -0
- data/docs/ListAcmeAccounts.md +24 -0
- data/docs/ListAcmeAccountsOutput.md +18 -0
- data/docs/NextAutoRotationEvent.md +18 -0
- data/docs/PKICertificateIssueDetails.md +4 -0
- data/docs/PasswordExpirationInfo.md +24 -0
- data/docs/ResetAccessKey.md +24 -0
- data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
- data/docs/RoleAssociationDetails.md +2 -0
- data/docs/RoleAuthMethodAssociation.md +2 -0
- data/docs/RollbackSecret.md +2 -0
- data/docs/RotatedSecretCreateAws.md +2 -0
- data/docs/RotatedSecretCreateAzure.md +2 -0
- data/docs/RotatedSecretCreateCassandra.md +2 -0
- data/docs/RotatedSecretCreateCustom.md +2 -0
- data/docs/RotatedSecretCreateDockerhub.md +2 -0
- data/docs/RotatedSecretCreateGcp.md +2 -0
- data/docs/RotatedSecretCreateHanadb.md +2 -0
- data/docs/RotatedSecretCreateLdap.md +2 -0
- data/docs/RotatedSecretCreateMongodb.md +2 -0
- data/docs/RotatedSecretCreateMssql.md +2 -0
- data/docs/RotatedSecretCreateMysql.md +2 -0
- data/docs/RotatedSecretCreateOracledb.md +2 -0
- data/docs/RotatedSecretCreatePostgresql.md +2 -0
- data/docs/RotatedSecretCreateRedis.md +2 -0
- data/docs/RotatedSecretCreateRedshift.md +2 -0
- data/docs/RotatedSecretCreateSnowflake.md +2 -0
- data/docs/RotatedSecretCreateSsh.md +2 -0
- data/docs/RotatedSecretCreateWindows.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +2 -0
- data/docs/RotatedSecretUpdateAzure.md +2 -0
- data/docs/RotatedSecretUpdateCassandra.md +2 -0
- data/docs/RotatedSecretUpdateCustom.md +2 -0
- data/docs/RotatedSecretUpdateDockerhub.md +2 -0
- data/docs/RotatedSecretUpdateGcp.md +2 -0
- data/docs/RotatedSecretUpdateHanadb.md +2 -0
- data/docs/RotatedSecretUpdateLdap.md +2 -0
- data/docs/RotatedSecretUpdateMongodb.md +2 -0
- data/docs/RotatedSecretUpdateMssql.md +2 -0
- data/docs/RotatedSecretUpdateMysql.md +2 -0
- data/docs/RotatedSecretUpdateOracledb.md +2 -0
- data/docs/RotatedSecretUpdatePostgresql.md +2 -0
- data/docs/RotatedSecretUpdateRedis.md +2 -0
- data/docs/RotatedSecretUpdateRedshift.md +2 -0
- data/docs/RotatedSecretUpdateSnowflake.md +2 -0
- data/docs/RotatedSecretUpdateSsh.md +2 -0
- data/docs/RotatedSecretUpdateWindows.md +2 -0
- data/docs/SshBastionConf.md +24 -0
- data/docs/SshBastionSessionTermination.md +26 -0
- data/docs/UpdateAccountSettings.md +6 -0
- data/docs/UpdateClassicKeyCertificate.md +2 -0
- data/docs/UpdateItem.md +4 -0
- data/docs/UpdatePKICertIssuer.md +5 -1
- data/docs/UpdateRotationSettings.md +2 -0
- data/docs/UpdateTarget.md +1 -1
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +1356 -225
- data/docs/WebBastionConf.md +20 -0
- data/docs/WebBastionGuacamole.md +18 -0
- data/docs/WebBastionRdpRecord.md +22 -0
- data/lib/akeyless/api/v2_api.rb +1360 -219
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/acme_account.rb +234 -0
- data/lib/akeyless/models/auth_method_role_association.rb +10 -1
- data/lib/akeyless/models/aws_storage.rb +260 -0
- data/lib/akeyless/models/azure_storage.rb +260 -0
- data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
- data/lib/akeyless/models/bastion_global_conf.rb +243 -0
- data/lib/akeyless/models/change_admin_account_password.rb +271 -0
- data/lib/akeyless/models/configure.rb +41 -1
- data/lib/akeyless/models/connect.rb +11 -11
- data/lib/akeyless/models/create_classic_key.rb +45 -1
- data/lib/akeyless/models/create_dfc_key.rb +45 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +24 -2
- data/lib/akeyless/models/deactivate_acme_account.rb +282 -0
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
- data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
- data/lib/akeyless/models/gateway_update_item.rb +13 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
- data/lib/akeyless/models/generate_acme_eab.rb +254 -0
- data/lib/akeyless/models/generate_acme_eab_output.rb +232 -0
- data/lib/akeyless/models/get_group_output.rb +10 -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/group.rb +10 -1
- data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
- data/lib/akeyless/models/item_general_info.rb +23 -1
- data/lib/akeyless/models/list_acme_accounts.rb +255 -0
- data/lib/akeyless/models/list_acme_accounts_output.rb +216 -0
- data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
- data/lib/akeyless/models/password_expiration_info.rb +242 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
- data/lib/akeyless/models/reset_access_key.rb +255 -0
- data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
- data/lib/akeyless/models/role_association_details.rb +10 -1
- data/lib/akeyless/models/role_auth_method_association.rb +10 -1
- data/lib/akeyless/models/rollback_secret.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
- data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
- data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
- data/lib/akeyless/models/update_account_settings.rb +31 -1
- data/lib/akeyless/models/update_classic_key_certificate.rb +10 -1
- data/lib/akeyless/models/update_item.rb +22 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +24 -2
- data/lib/akeyless/models/update_rotation_settings.rb +13 -1
- data/lib/akeyless/models/update_target.rb +1 -1
- data/lib/akeyless/models/upload_rsa.rb +13 -1
- data/lib/akeyless/models/web_bastion_conf.rb +223 -0
- data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
- data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +34 -0
- data/spec/models/acme_account_spec.rb +48 -0
- data/spec/models/aws_storage_spec.rb +66 -0
- data/spec/models/azure_storage_spec.rb +66 -0
- data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
- data/spec/models/bastion_global_conf_spec.rb +54 -0
- data/spec/models/change_admin_account_password_spec.rb +60 -0
- data/spec/models/deactivate_acme_account_spec.rb +66 -0
- data/spec/models/gateway_get_remote_access_spec.rb +48 -0
- data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
- data/spec/models/gateway_update_remote_access_spec.rb +90 -0
- data/spec/models/generate_acme_eab_output_spec.rb +48 -0
- data/spec/models/generate_acme_eab_spec.rb +54 -0
- data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
- data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
- data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
- data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
- data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
- data/spec/models/list_acme_accounts_output_spec.rb +36 -0
- data/spec/models/list_acme_accounts_spec.rb +54 -0
- data/spec/models/next_auto_rotation_event_spec.rb +36 -0
- data/spec/models/password_expiration_info_spec.rb +54 -0
- data/spec/models/reset_access_key_spec.rb +54 -0
- data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
- data/spec/models/ssh_bastion_conf_spec.rb +54 -0
- data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
- data/spec/models/web_bastion_conf_spec.rb +42 -0
- data/spec/models/web_bastion_guacamole_spec.rb +36 -0
- data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
- metadata +1117 -981
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -76,7 +76,7 @@ module Akeyless
|
|
|
76
76
|
:return_type => return_type
|
|
77
77
|
)
|
|
78
78
|
|
|
79
|
-
data, status_code, headers = @api_client.call_api(:
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
80
|
if @api_client.config.debugging
|
|
81
81
|
@api_client.config.logger.debug "API called: V2Api#alias_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
82
|
end
|
|
@@ -2131,6 +2131,70 @@ module Akeyless
|
|
|
2131
2131
|
return data, status_code, headers
|
|
2132
2132
|
end
|
|
2133
2133
|
|
|
2134
|
+
# @param body [ChangeAdminAccountPassword]
|
|
2135
|
+
# @param [Hash] opts the optional parameters
|
|
2136
|
+
# @return [Object]
|
|
2137
|
+
def change_admin_account_password(body, opts = {})
|
|
2138
|
+
data, _status_code, _headers = change_admin_account_password_with_http_info(body, opts)
|
|
2139
|
+
data
|
|
2140
|
+
end
|
|
2141
|
+
|
|
2142
|
+
# @param body [ChangeAdminAccountPassword]
|
|
2143
|
+
# @param [Hash] opts the optional parameters
|
|
2144
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
2145
|
+
def change_admin_account_password_with_http_info(body, opts = {})
|
|
2146
|
+
if @api_client.config.debugging
|
|
2147
|
+
@api_client.config.logger.debug 'Calling API: V2Api.change_admin_account_password ...'
|
|
2148
|
+
end
|
|
2149
|
+
# verify the required parameter 'body' is set
|
|
2150
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
2151
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.change_admin_account_password"
|
|
2152
|
+
end
|
|
2153
|
+
# resource path
|
|
2154
|
+
local_var_path = '/change-admin-account-password'
|
|
2155
|
+
|
|
2156
|
+
# query parameters
|
|
2157
|
+
query_params = opts[:query_params] || {}
|
|
2158
|
+
|
|
2159
|
+
# header parameters
|
|
2160
|
+
header_params = opts[:header_params] || {}
|
|
2161
|
+
# HTTP header 'Accept' (if needed)
|
|
2162
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2163
|
+
# HTTP header 'Content-Type'
|
|
2164
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2165
|
+
if !content_type.nil?
|
|
2166
|
+
header_params['Content-Type'] = content_type
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
# form parameters
|
|
2170
|
+
form_params = opts[:form_params] || {}
|
|
2171
|
+
|
|
2172
|
+
# http body (model)
|
|
2173
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
2174
|
+
|
|
2175
|
+
# return_type
|
|
2176
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
2177
|
+
|
|
2178
|
+
# auth_names
|
|
2179
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2180
|
+
|
|
2181
|
+
new_options = opts.merge(
|
|
2182
|
+
:operation => :"V2Api.change_admin_account_password",
|
|
2183
|
+
:header_params => header_params,
|
|
2184
|
+
:query_params => query_params,
|
|
2185
|
+
:form_params => form_params,
|
|
2186
|
+
:body => post_body,
|
|
2187
|
+
:auth_names => auth_names,
|
|
2188
|
+
:return_type => return_type
|
|
2189
|
+
)
|
|
2190
|
+
|
|
2191
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2192
|
+
if @api_client.config.debugging
|
|
2193
|
+
@api_client.config.logger.debug "API called: V2Api#change_admin_account_password\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2194
|
+
end
|
|
2195
|
+
return data, status_code, headers
|
|
2196
|
+
end
|
|
2197
|
+
|
|
2134
2198
|
# @param body [Configure]
|
|
2135
2199
|
# @param [Hash] opts the optional parameters
|
|
2136
2200
|
# @return [ConfigureOutput]
|
|
@@ -5779,6 +5843,70 @@ module Akeyless
|
|
|
5779
5843
|
return data, status_code, headers
|
|
5780
5844
|
end
|
|
5781
5845
|
|
|
5846
|
+
# @param body [DeactivateAcmeAccount]
|
|
5847
|
+
# @param [Hash] opts the optional parameters
|
|
5848
|
+
# @return [Object]
|
|
5849
|
+
def deactivate_acme_account(body, opts = {})
|
|
5850
|
+
data, _status_code, _headers = deactivate_acme_account_with_http_info(body, opts)
|
|
5851
|
+
data
|
|
5852
|
+
end
|
|
5853
|
+
|
|
5854
|
+
# @param body [DeactivateAcmeAccount]
|
|
5855
|
+
# @param [Hash] opts the optional parameters
|
|
5856
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
5857
|
+
def deactivate_acme_account_with_http_info(body, opts = {})
|
|
5858
|
+
if @api_client.config.debugging
|
|
5859
|
+
@api_client.config.logger.debug 'Calling API: V2Api.deactivate_acme_account ...'
|
|
5860
|
+
end
|
|
5861
|
+
# verify the required parameter 'body' is set
|
|
5862
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
5863
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.deactivate_acme_account"
|
|
5864
|
+
end
|
|
5865
|
+
# resource path
|
|
5866
|
+
local_var_path = '/deactivate-acme-account'
|
|
5867
|
+
|
|
5868
|
+
# query parameters
|
|
5869
|
+
query_params = opts[:query_params] || {}
|
|
5870
|
+
|
|
5871
|
+
# header parameters
|
|
5872
|
+
header_params = opts[:header_params] || {}
|
|
5873
|
+
# HTTP header 'Accept' (if needed)
|
|
5874
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5875
|
+
# HTTP header 'Content-Type'
|
|
5876
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5877
|
+
if !content_type.nil?
|
|
5878
|
+
header_params['Content-Type'] = content_type
|
|
5879
|
+
end
|
|
5880
|
+
|
|
5881
|
+
# form parameters
|
|
5882
|
+
form_params = opts[:form_params] || {}
|
|
5883
|
+
|
|
5884
|
+
# http body (model)
|
|
5885
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
5886
|
+
|
|
5887
|
+
# return_type
|
|
5888
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
5889
|
+
|
|
5890
|
+
# auth_names
|
|
5891
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5892
|
+
|
|
5893
|
+
new_options = opts.merge(
|
|
5894
|
+
:operation => :"V2Api.deactivate_acme_account",
|
|
5895
|
+
:header_params => header_params,
|
|
5896
|
+
:query_params => query_params,
|
|
5897
|
+
:form_params => form_params,
|
|
5898
|
+
:body => post_body,
|
|
5899
|
+
:auth_names => auth_names,
|
|
5900
|
+
:return_type => return_type
|
|
5901
|
+
)
|
|
5902
|
+
|
|
5903
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5904
|
+
if @api_client.config.debugging
|
|
5905
|
+
@api_client.config.logger.debug "API called: V2Api#deactivate_acme_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5906
|
+
end
|
|
5907
|
+
return data, status_code, headers
|
|
5908
|
+
end
|
|
5909
|
+
|
|
5782
5910
|
# @param body [Decrypt]
|
|
5783
5911
|
# @param [Hash] opts the optional parameters
|
|
5784
5912
|
# @return [DecryptOutput]
|
|
@@ -15495,6 +15623,70 @@ module Akeyless
|
|
|
15495
15623
|
return data, status_code, headers
|
|
15496
15624
|
end
|
|
15497
15625
|
|
|
15626
|
+
# @param body [GatewayGetRemoteAccess]
|
|
15627
|
+
# @param [Hash] opts the optional parameters
|
|
15628
|
+
# @return [BastionConfigReplyObj]
|
|
15629
|
+
def gateway_get_remote_access(body, opts = {})
|
|
15630
|
+
data, _status_code, _headers = gateway_get_remote_access_with_http_info(body, opts)
|
|
15631
|
+
data
|
|
15632
|
+
end
|
|
15633
|
+
|
|
15634
|
+
# @param body [GatewayGetRemoteAccess]
|
|
15635
|
+
# @param [Hash] opts the optional parameters
|
|
15636
|
+
# @return [Array<(BastionConfigReplyObj, Integer, Hash)>] BastionConfigReplyObj data, response status code and response headers
|
|
15637
|
+
def gateway_get_remote_access_with_http_info(body, opts = {})
|
|
15638
|
+
if @api_client.config.debugging
|
|
15639
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_remote_access ...'
|
|
15640
|
+
end
|
|
15641
|
+
# verify the required parameter 'body' is set
|
|
15642
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
15643
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_remote_access"
|
|
15644
|
+
end
|
|
15645
|
+
# resource path
|
|
15646
|
+
local_var_path = '/gateway-get-remote-access'
|
|
15647
|
+
|
|
15648
|
+
# query parameters
|
|
15649
|
+
query_params = opts[:query_params] || {}
|
|
15650
|
+
|
|
15651
|
+
# header parameters
|
|
15652
|
+
header_params = opts[:header_params] || {}
|
|
15653
|
+
# HTTP header 'Accept' (if needed)
|
|
15654
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
15655
|
+
# HTTP header 'Content-Type'
|
|
15656
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
15657
|
+
if !content_type.nil?
|
|
15658
|
+
header_params['Content-Type'] = content_type
|
|
15659
|
+
end
|
|
15660
|
+
|
|
15661
|
+
# form parameters
|
|
15662
|
+
form_params = opts[:form_params] || {}
|
|
15663
|
+
|
|
15664
|
+
# http body (model)
|
|
15665
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
15666
|
+
|
|
15667
|
+
# return_type
|
|
15668
|
+
return_type = opts[:debug_return_type] || 'BastionConfigReplyObj'
|
|
15669
|
+
|
|
15670
|
+
# auth_names
|
|
15671
|
+
auth_names = opts[:debug_auth_names] || []
|
|
15672
|
+
|
|
15673
|
+
new_options = opts.merge(
|
|
15674
|
+
:operation => :"V2Api.gateway_get_remote_access",
|
|
15675
|
+
:header_params => header_params,
|
|
15676
|
+
:query_params => query_params,
|
|
15677
|
+
:form_params => form_params,
|
|
15678
|
+
:body => post_body,
|
|
15679
|
+
:auth_names => auth_names,
|
|
15680
|
+
:return_type => return_type
|
|
15681
|
+
)
|
|
15682
|
+
|
|
15683
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15684
|
+
if @api_client.config.debugging
|
|
15685
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_remote_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15686
|
+
end
|
|
15687
|
+
return data, status_code, headers
|
|
15688
|
+
end
|
|
15689
|
+
|
|
15498
15690
|
# @param body [GatewayGetTmpUsers]
|
|
15499
15691
|
# @param [Hash] opts the optional parameters
|
|
15500
15692
|
# @return [Array<TmpUserData>]
|
|
@@ -19007,27 +19199,21 @@ module Akeyless
|
|
|
19007
19199
|
return data, status_code, headers
|
|
19008
19200
|
end
|
|
19009
19201
|
|
|
19010
|
-
# @param body [GatewayUpdateTlsCert]
|
|
19011
19202
|
# @param [Hash] opts the optional parameters
|
|
19012
|
-
# @return [
|
|
19013
|
-
def
|
|
19014
|
-
data, _status_code, _headers =
|
|
19203
|
+
# @return [Object]
|
|
19204
|
+
def gateway_update_remote_access(opts = {})
|
|
19205
|
+
data, _status_code, _headers = gateway_update_remote_access_with_http_info(opts)
|
|
19015
19206
|
data
|
|
19016
19207
|
end
|
|
19017
19208
|
|
|
19018
|
-
# @param body [GatewayUpdateTlsCert]
|
|
19019
19209
|
# @param [Hash] opts the optional parameters
|
|
19020
|
-
# @return [Array<(
|
|
19021
|
-
def
|
|
19210
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
19211
|
+
def gateway_update_remote_access_with_http_info(opts = {})
|
|
19022
19212
|
if @api_client.config.debugging
|
|
19023
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
19024
|
-
end
|
|
19025
|
-
# verify the required parameter 'body' is set
|
|
19026
|
-
if @api_client.config.client_side_validation && body.nil?
|
|
19027
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_tls_cert"
|
|
19213
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_remote_access ...'
|
|
19028
19214
|
end
|
|
19029
19215
|
# resource path
|
|
19030
|
-
local_var_path = '/gateway-update-
|
|
19216
|
+
local_var_path = '/gateway-update-remote-access'
|
|
19031
19217
|
|
|
19032
19218
|
# query parameters
|
|
19033
19219
|
query_params = opts[:query_params] || {}
|
|
@@ -19036,26 +19222,21 @@ module Akeyless
|
|
|
19036
19222
|
header_params = opts[:header_params] || {}
|
|
19037
19223
|
# HTTP header 'Accept' (if needed)
|
|
19038
19224
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19039
|
-
# HTTP header 'Content-Type'
|
|
19040
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
19041
|
-
if !content_type.nil?
|
|
19042
|
-
header_params['Content-Type'] = content_type
|
|
19043
|
-
end
|
|
19044
19225
|
|
|
19045
19226
|
# form parameters
|
|
19046
19227
|
form_params = opts[:form_params] || {}
|
|
19047
19228
|
|
|
19048
19229
|
# http body (model)
|
|
19049
|
-
post_body = opts[:debug_body]
|
|
19230
|
+
post_body = opts[:debug_body]
|
|
19050
19231
|
|
|
19051
19232
|
# return_type
|
|
19052
|
-
return_type = opts[:debug_return_type] || '
|
|
19233
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
19053
19234
|
|
|
19054
19235
|
# auth_names
|
|
19055
19236
|
auth_names = opts[:debug_auth_names] || []
|
|
19056
19237
|
|
|
19057
19238
|
new_options = opts.merge(
|
|
19058
|
-
:operation => :"V2Api.
|
|
19239
|
+
:operation => :"V2Api.gateway_update_remote_access",
|
|
19059
19240
|
:header_params => header_params,
|
|
19060
19241
|
:query_params => query_params,
|
|
19061
19242
|
:form_params => form_params,
|
|
@@ -19066,32 +19247,32 @@ module Akeyless
|
|
|
19066
19247
|
|
|
19067
19248
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19068
19249
|
if @api_client.config.debugging
|
|
19069
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
19250
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_remote_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19070
19251
|
end
|
|
19071
19252
|
return data, status_code, headers
|
|
19072
19253
|
end
|
|
19073
19254
|
|
|
19074
|
-
# @param body [
|
|
19255
|
+
# @param body [GatewayUpdateRemoteAccessRdpRecordings]
|
|
19075
19256
|
# @param [Hash] opts the optional parameters
|
|
19076
|
-
# @return [
|
|
19077
|
-
def
|
|
19078
|
-
|
|
19079
|
-
|
|
19257
|
+
# @return [Object]
|
|
19258
|
+
def gateway_update_remote_access_rdp_recordings(body, opts = {})
|
|
19259
|
+
data, _status_code, _headers = gateway_update_remote_access_rdp_recordings_with_http_info(body, opts)
|
|
19260
|
+
data
|
|
19080
19261
|
end
|
|
19081
19262
|
|
|
19082
|
-
# @param body [
|
|
19263
|
+
# @param body [GatewayUpdateRemoteAccessRdpRecordings]
|
|
19083
19264
|
# @param [Hash] opts the optional parameters
|
|
19084
|
-
# @return [Array<(
|
|
19085
|
-
def
|
|
19265
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
19266
|
+
def gateway_update_remote_access_rdp_recordings_with_http_info(body, opts = {})
|
|
19086
19267
|
if @api_client.config.debugging
|
|
19087
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
19268
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_remote_access_rdp_recordings ...'
|
|
19088
19269
|
end
|
|
19089
19270
|
# verify the required parameter 'body' is set
|
|
19090
19271
|
if @api_client.config.client_side_validation && body.nil?
|
|
19091
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
19272
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_remote_access_rdp_recordings"
|
|
19092
19273
|
end
|
|
19093
19274
|
# resource path
|
|
19094
|
-
local_var_path = '/gateway-update-
|
|
19275
|
+
local_var_path = '/gateway-update-remote-access-rdp-recording'
|
|
19095
19276
|
|
|
19096
19277
|
# query parameters
|
|
19097
19278
|
query_params = opts[:query_params] || {}
|
|
@@ -19113,13 +19294,13 @@ module Akeyless
|
|
|
19113
19294
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19114
19295
|
|
|
19115
19296
|
# return_type
|
|
19116
|
-
return_type = opts[:debug_return_type]
|
|
19297
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
19117
19298
|
|
|
19118
19299
|
# auth_names
|
|
19119
19300
|
auth_names = opts[:debug_auth_names] || []
|
|
19120
19301
|
|
|
19121
19302
|
new_options = opts.merge(
|
|
19122
|
-
:operation => :"V2Api.
|
|
19303
|
+
:operation => :"V2Api.gateway_update_remote_access_rdp_recordings",
|
|
19123
19304
|
:header_params => header_params,
|
|
19124
19305
|
:query_params => query_params,
|
|
19125
19306
|
:form_params => form_params,
|
|
@@ -19130,32 +19311,32 @@ module Akeyless
|
|
|
19130
19311
|
|
|
19131
19312
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19132
19313
|
if @api_client.config.debugging
|
|
19133
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
19314
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_remote_access_rdp_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19134
19315
|
end
|
|
19135
19316
|
return data, status_code, headers
|
|
19136
19317
|
end
|
|
19137
19318
|
|
|
19138
|
-
# @param body [
|
|
19319
|
+
# @param body [GatewayUpdateTlsCert]
|
|
19139
19320
|
# @param [Hash] opts the optional parameters
|
|
19140
|
-
# @return [
|
|
19141
|
-
def
|
|
19142
|
-
data, _status_code, _headers =
|
|
19321
|
+
# @return [GatewayUpdateTlsCertOutput]
|
|
19322
|
+
def gateway_update_tls_cert(body, opts = {})
|
|
19323
|
+
data, _status_code, _headers = gateway_update_tls_cert_with_http_info(body, opts)
|
|
19143
19324
|
data
|
|
19144
19325
|
end
|
|
19145
19326
|
|
|
19146
|
-
# @param body [
|
|
19327
|
+
# @param body [GatewayUpdateTlsCert]
|
|
19147
19328
|
# @param [Hash] opts the optional parameters
|
|
19148
|
-
# @return [Array<(
|
|
19149
|
-
def
|
|
19329
|
+
# @return [Array<(GatewayUpdateTlsCertOutput, Integer, Hash)>] GatewayUpdateTlsCertOutput data, response status code and response headers
|
|
19330
|
+
def gateway_update_tls_cert_with_http_info(body, opts = {})
|
|
19150
19331
|
if @api_client.config.debugging
|
|
19151
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
19332
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_tls_cert ...'
|
|
19152
19333
|
end
|
|
19153
19334
|
# verify the required parameter 'body' is set
|
|
19154
19335
|
if @api_client.config.client_side_validation && body.nil?
|
|
19155
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
19336
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_tls_cert"
|
|
19156
19337
|
end
|
|
19157
19338
|
# resource path
|
|
19158
|
-
local_var_path = '/
|
|
19339
|
+
local_var_path = '/gateway-update-tls-cert'
|
|
19159
19340
|
|
|
19160
19341
|
# query parameters
|
|
19161
19342
|
query_params = opts[:query_params] || {}
|
|
@@ -19177,13 +19358,13 @@ module Akeyless
|
|
|
19177
19358
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19178
19359
|
|
|
19179
19360
|
# return_type
|
|
19180
|
-
return_type = opts[:debug_return_type] || '
|
|
19361
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateTlsCertOutput'
|
|
19181
19362
|
|
|
19182
19363
|
# auth_names
|
|
19183
19364
|
auth_names = opts[:debug_auth_names] || []
|
|
19184
19365
|
|
|
19185
19366
|
new_options = opts.merge(
|
|
19186
|
-
:operation => :"V2Api.
|
|
19367
|
+
:operation => :"V2Api.gateway_update_tls_cert",
|
|
19187
19368
|
:header_params => header_params,
|
|
19188
19369
|
:query_params => query_params,
|
|
19189
19370
|
:form_params => form_params,
|
|
@@ -19194,26 +19375,32 @@ module Akeyless
|
|
|
19194
19375
|
|
|
19195
19376
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19196
19377
|
if @api_client.config.debugging
|
|
19197
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
19378
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_tls_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19198
19379
|
end
|
|
19199
19380
|
return data, status_code, headers
|
|
19200
19381
|
end
|
|
19201
19382
|
|
|
19383
|
+
# @param body [GatewayUpdateTmpUsers]
|
|
19202
19384
|
# @param [Hash] opts the optional parameters
|
|
19203
|
-
# @return [
|
|
19204
|
-
def
|
|
19205
|
-
|
|
19206
|
-
|
|
19385
|
+
# @return [nil]
|
|
19386
|
+
def gateway_update_tmp_users(body, opts = {})
|
|
19387
|
+
gateway_update_tmp_users_with_http_info(body, opts)
|
|
19388
|
+
nil
|
|
19207
19389
|
end
|
|
19208
19390
|
|
|
19391
|
+
# @param body [GatewayUpdateTmpUsers]
|
|
19209
19392
|
# @param [Hash] opts the optional parameters
|
|
19210
|
-
# @return [Array<(
|
|
19211
|
-
def
|
|
19393
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
19394
|
+
def gateway_update_tmp_users_with_http_info(body, opts = {})
|
|
19212
19395
|
if @api_client.config.debugging
|
|
19213
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
19396
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_tmp_users ...'
|
|
19397
|
+
end
|
|
19398
|
+
# verify the required parameter 'body' is set
|
|
19399
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
19400
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_tmp_users"
|
|
19214
19401
|
end
|
|
19215
19402
|
# resource path
|
|
19216
|
-
local_var_path = '/
|
|
19403
|
+
local_var_path = '/gateway-update-producer-tmp-creds'
|
|
19217
19404
|
|
|
19218
19405
|
# query parameters
|
|
19219
19406
|
query_params = opts[:query_params] || {}
|
|
@@ -19222,10 +19409,196 @@ module Akeyless
|
|
|
19222
19409
|
header_params = opts[:header_params] || {}
|
|
19223
19410
|
# HTTP header 'Accept' (if needed)
|
|
19224
19411
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19412
|
+
# HTTP header 'Content-Type'
|
|
19413
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
19414
|
+
if !content_type.nil?
|
|
19415
|
+
header_params['Content-Type'] = content_type
|
|
19416
|
+
end
|
|
19417
|
+
|
|
19418
|
+
# form parameters
|
|
19419
|
+
form_params = opts[:form_params] || {}
|
|
19420
|
+
|
|
19421
|
+
# http body (model)
|
|
19422
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19423
|
+
|
|
19424
|
+
# return_type
|
|
19425
|
+
return_type = opts[:debug_return_type]
|
|
19426
|
+
|
|
19427
|
+
# auth_names
|
|
19428
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19429
|
+
|
|
19430
|
+
new_options = opts.merge(
|
|
19431
|
+
:operation => :"V2Api.gateway_update_tmp_users",
|
|
19432
|
+
:header_params => header_params,
|
|
19433
|
+
:query_params => query_params,
|
|
19434
|
+
:form_params => form_params,
|
|
19435
|
+
:body => post_body,
|
|
19436
|
+
:auth_names => auth_names,
|
|
19437
|
+
:return_type => return_type
|
|
19438
|
+
)
|
|
19439
|
+
|
|
19440
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19441
|
+
if @api_client.config.debugging
|
|
19442
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_tmp_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19443
|
+
end
|
|
19444
|
+
return data, status_code, headers
|
|
19445
|
+
end
|
|
19446
|
+
|
|
19447
|
+
# @param body [GenerateAcmeEab]
|
|
19448
|
+
# @param [Hash] opts the optional parameters
|
|
19449
|
+
# @return [GenerateAcmeEabOutput]
|
|
19450
|
+
def generate_acme_eab(body, opts = {})
|
|
19451
|
+
data, _status_code, _headers = generate_acme_eab_with_http_info(body, opts)
|
|
19452
|
+
data
|
|
19453
|
+
end
|
|
19454
|
+
|
|
19455
|
+
# @param body [GenerateAcmeEab]
|
|
19456
|
+
# @param [Hash] opts the optional parameters
|
|
19457
|
+
# @return [Array<(GenerateAcmeEabOutput, Integer, Hash)>] GenerateAcmeEabOutput data, response status code and response headers
|
|
19458
|
+
def generate_acme_eab_with_http_info(body, opts = {})
|
|
19459
|
+
if @api_client.config.debugging
|
|
19460
|
+
@api_client.config.logger.debug 'Calling API: V2Api.generate_acme_eab ...'
|
|
19461
|
+
end
|
|
19462
|
+
# verify the required parameter 'body' is set
|
|
19463
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
19464
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.generate_acme_eab"
|
|
19465
|
+
end
|
|
19466
|
+
# resource path
|
|
19467
|
+
local_var_path = '/generate-acme-eab'
|
|
19468
|
+
|
|
19469
|
+
# query parameters
|
|
19470
|
+
query_params = opts[:query_params] || {}
|
|
19471
|
+
|
|
19472
|
+
# header parameters
|
|
19473
|
+
header_params = opts[:header_params] || {}
|
|
19474
|
+
# HTTP header 'Accept' (if needed)
|
|
19475
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19476
|
+
# HTTP header 'Content-Type'
|
|
19477
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
19478
|
+
if !content_type.nil?
|
|
19479
|
+
header_params['Content-Type'] = content_type
|
|
19480
|
+
end
|
|
19481
|
+
|
|
19482
|
+
# form parameters
|
|
19483
|
+
form_params = opts[:form_params] || {}
|
|
19484
|
+
|
|
19485
|
+
# http body (model)
|
|
19486
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19487
|
+
|
|
19488
|
+
# return_type
|
|
19489
|
+
return_type = opts[:debug_return_type] || 'GenerateAcmeEabOutput'
|
|
19490
|
+
|
|
19491
|
+
# auth_names
|
|
19492
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19493
|
+
|
|
19494
|
+
new_options = opts.merge(
|
|
19495
|
+
:operation => :"V2Api.generate_acme_eab",
|
|
19496
|
+
:header_params => header_params,
|
|
19497
|
+
:query_params => query_params,
|
|
19498
|
+
:form_params => form_params,
|
|
19499
|
+
:body => post_body,
|
|
19500
|
+
:auth_names => auth_names,
|
|
19501
|
+
:return_type => return_type
|
|
19502
|
+
)
|
|
19503
|
+
|
|
19504
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19505
|
+
if @api_client.config.debugging
|
|
19506
|
+
@api_client.config.logger.debug "API called: V2Api#generate_acme_eab\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19507
|
+
end
|
|
19508
|
+
return data, status_code, headers
|
|
19509
|
+
end
|
|
19510
|
+
|
|
19511
|
+
# @param body [GenerateCsr]
|
|
19512
|
+
# @param [Hash] opts the optional parameters
|
|
19513
|
+
# @return [GenerateCsrOutput]
|
|
19514
|
+
def generate_csr(body, opts = {})
|
|
19515
|
+
data, _status_code, _headers = generate_csr_with_http_info(body, opts)
|
|
19516
|
+
data
|
|
19517
|
+
end
|
|
19518
|
+
|
|
19519
|
+
# @param body [GenerateCsr]
|
|
19520
|
+
# @param [Hash] opts the optional parameters
|
|
19521
|
+
# @return [Array<(GenerateCsrOutput, Integer, Hash)>] GenerateCsrOutput data, response status code and response headers
|
|
19522
|
+
def generate_csr_with_http_info(body, opts = {})
|
|
19523
|
+
if @api_client.config.debugging
|
|
19524
|
+
@api_client.config.logger.debug 'Calling API: V2Api.generate_csr ...'
|
|
19525
|
+
end
|
|
19526
|
+
# verify the required parameter 'body' is set
|
|
19527
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
19528
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.generate_csr"
|
|
19529
|
+
end
|
|
19530
|
+
# resource path
|
|
19531
|
+
local_var_path = '/generate-csr'
|
|
19532
|
+
|
|
19533
|
+
# query parameters
|
|
19534
|
+
query_params = opts[:query_params] || {}
|
|
19535
|
+
|
|
19536
|
+
# header parameters
|
|
19537
|
+
header_params = opts[:header_params] || {}
|
|
19538
|
+
# HTTP header 'Accept' (if needed)
|
|
19539
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19540
|
+
# HTTP header 'Content-Type'
|
|
19541
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
19542
|
+
if !content_type.nil?
|
|
19543
|
+
header_params['Content-Type'] = content_type
|
|
19544
|
+
end
|
|
19545
|
+
|
|
19546
|
+
# form parameters
|
|
19547
|
+
form_params = opts[:form_params] || {}
|
|
19548
|
+
|
|
19549
|
+
# http body (model)
|
|
19550
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19551
|
+
|
|
19552
|
+
# return_type
|
|
19553
|
+
return_type = opts[:debug_return_type] || 'GenerateCsrOutput'
|
|
19554
|
+
|
|
19555
|
+
# auth_names
|
|
19556
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19557
|
+
|
|
19558
|
+
new_options = opts.merge(
|
|
19559
|
+
:operation => :"V2Api.generate_csr",
|
|
19560
|
+
:header_params => header_params,
|
|
19561
|
+
:query_params => query_params,
|
|
19562
|
+
:form_params => form_params,
|
|
19563
|
+
:body => post_body,
|
|
19564
|
+
:auth_names => auth_names,
|
|
19565
|
+
:return_type => return_type
|
|
19566
|
+
)
|
|
19567
|
+
|
|
19568
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19569
|
+
if @api_client.config.debugging
|
|
19570
|
+
@api_client.config.logger.debug "API called: V2Api#generate_csr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19571
|
+
end
|
|
19572
|
+
return data, status_code, headers
|
|
19573
|
+
end
|
|
19574
|
+
|
|
19575
|
+
# @param [Hash] opts the optional parameters
|
|
19576
|
+
# @return [Hash<String, String>]
|
|
19577
|
+
def get_account_logo(opts = {})
|
|
19578
|
+
data, _status_code, _headers = get_account_logo_with_http_info(opts)
|
|
19579
|
+
data
|
|
19580
|
+
end
|
|
19581
|
+
|
|
19582
|
+
# @param [Hash] opts the optional parameters
|
|
19583
|
+
# @return [Array<(Hash<String, String>, Integer, Hash)>] Hash<String, String> data, response status code and response headers
|
|
19584
|
+
def get_account_logo_with_http_info(opts = {})
|
|
19585
|
+
if @api_client.config.debugging
|
|
19586
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_account_logo ...'
|
|
19587
|
+
end
|
|
19588
|
+
# resource path
|
|
19589
|
+
local_var_path = '/get-account-logo'
|
|
19590
|
+
|
|
19591
|
+
# query parameters
|
|
19592
|
+
query_params = opts[:query_params] || {}
|
|
19593
|
+
|
|
19594
|
+
# header parameters
|
|
19595
|
+
header_params = opts[:header_params] || {}
|
|
19596
|
+
# HTTP header 'Accept' (if needed)
|
|
19597
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19598
|
+
|
|
19599
|
+
# form parameters
|
|
19600
|
+
form_params = opts[:form_params] || {}
|
|
19601
|
+
|
|
19229
19602
|
# http body (model)
|
|
19230
19603
|
post_body = opts[:debug_body]
|
|
19231
19604
|
|
|
@@ -19631,32 +20004,736 @@ module Akeyless
|
|
|
19631
20004
|
|
|
19632
20005
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19633
20006
|
if @api_client.config.debugging
|
|
19634
|
-
@api_client.config.logger.debug "API called: V2Api#get_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20007
|
+
@api_client.config.logger.debug "API called: V2Api#get_event_forwarder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20008
|
+
end
|
|
20009
|
+
return data, status_code, headers
|
|
20010
|
+
end
|
|
20011
|
+
|
|
20012
|
+
# @param body [GetGroup]
|
|
20013
|
+
# @param [Hash] opts the optional parameters
|
|
20014
|
+
# @return [GetGroupOutput]
|
|
20015
|
+
def get_group(body, opts = {})
|
|
20016
|
+
data, _status_code, _headers = get_group_with_http_info(body, opts)
|
|
20017
|
+
data
|
|
20018
|
+
end
|
|
20019
|
+
|
|
20020
|
+
# @param body [GetGroup]
|
|
20021
|
+
# @param [Hash] opts the optional parameters
|
|
20022
|
+
# @return [Array<(GetGroupOutput, Integer, Hash)>] GetGroupOutput data, response status code and response headers
|
|
20023
|
+
def get_group_with_http_info(body, opts = {})
|
|
20024
|
+
if @api_client.config.debugging
|
|
20025
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_group ...'
|
|
20026
|
+
end
|
|
20027
|
+
# verify the required parameter 'body' is set
|
|
20028
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20029
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_group"
|
|
20030
|
+
end
|
|
20031
|
+
# resource path
|
|
20032
|
+
local_var_path = '/get-group'
|
|
20033
|
+
|
|
20034
|
+
# query parameters
|
|
20035
|
+
query_params = opts[:query_params] || {}
|
|
20036
|
+
|
|
20037
|
+
# header parameters
|
|
20038
|
+
header_params = opts[:header_params] || {}
|
|
20039
|
+
# HTTP header 'Accept' (if needed)
|
|
20040
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20041
|
+
# HTTP header 'Content-Type'
|
|
20042
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20043
|
+
if !content_type.nil?
|
|
20044
|
+
header_params['Content-Type'] = content_type
|
|
20045
|
+
end
|
|
20046
|
+
|
|
20047
|
+
# form parameters
|
|
20048
|
+
form_params = opts[:form_params] || {}
|
|
20049
|
+
|
|
20050
|
+
# http body (model)
|
|
20051
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20052
|
+
|
|
20053
|
+
# return_type
|
|
20054
|
+
return_type = opts[:debug_return_type] || 'GetGroupOutput'
|
|
20055
|
+
|
|
20056
|
+
# auth_names
|
|
20057
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20058
|
+
|
|
20059
|
+
new_options = opts.merge(
|
|
20060
|
+
:operation => :"V2Api.get_group",
|
|
20061
|
+
:header_params => header_params,
|
|
20062
|
+
:query_params => query_params,
|
|
20063
|
+
:form_params => form_params,
|
|
20064
|
+
:body => post_body,
|
|
20065
|
+
:auth_names => auth_names,
|
|
20066
|
+
:return_type => return_type
|
|
20067
|
+
)
|
|
20068
|
+
|
|
20069
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20070
|
+
if @api_client.config.debugging
|
|
20071
|
+
@api_client.config.logger.debug "API called: V2Api#get_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20072
|
+
end
|
|
20073
|
+
return data, status_code, headers
|
|
20074
|
+
end
|
|
20075
|
+
|
|
20076
|
+
# @param body [GetKubeExecCreds]
|
|
20077
|
+
# @param [Hash] opts the optional parameters
|
|
20078
|
+
# @return [GetKubeExecCredsOutput]
|
|
20079
|
+
def get_kube_exec_creds(body, opts = {})
|
|
20080
|
+
data, _status_code, _headers = get_kube_exec_creds_with_http_info(body, opts)
|
|
20081
|
+
data
|
|
20082
|
+
end
|
|
20083
|
+
|
|
20084
|
+
# @param body [GetKubeExecCreds]
|
|
20085
|
+
# @param [Hash] opts the optional parameters
|
|
20086
|
+
# @return [Array<(GetKubeExecCredsOutput, Integer, Hash)>] GetKubeExecCredsOutput data, response status code and response headers
|
|
20087
|
+
def get_kube_exec_creds_with_http_info(body, opts = {})
|
|
20088
|
+
if @api_client.config.debugging
|
|
20089
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_kube_exec_creds ...'
|
|
20090
|
+
end
|
|
20091
|
+
# verify the required parameter 'body' is set
|
|
20092
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20093
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_kube_exec_creds"
|
|
20094
|
+
end
|
|
20095
|
+
# resource path
|
|
20096
|
+
local_var_path = '/get-kube-exec-creds'
|
|
20097
|
+
|
|
20098
|
+
# query parameters
|
|
20099
|
+
query_params = opts[:query_params] || {}
|
|
20100
|
+
|
|
20101
|
+
# header parameters
|
|
20102
|
+
header_params = opts[:header_params] || {}
|
|
20103
|
+
# HTTP header 'Accept' (if needed)
|
|
20104
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20105
|
+
# HTTP header 'Content-Type'
|
|
20106
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20107
|
+
if !content_type.nil?
|
|
20108
|
+
header_params['Content-Type'] = content_type
|
|
20109
|
+
end
|
|
20110
|
+
|
|
20111
|
+
# form parameters
|
|
20112
|
+
form_params = opts[:form_params] || {}
|
|
20113
|
+
|
|
20114
|
+
# http body (model)
|
|
20115
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20116
|
+
|
|
20117
|
+
# return_type
|
|
20118
|
+
return_type = opts[:debug_return_type] || 'GetKubeExecCredsOutput'
|
|
20119
|
+
|
|
20120
|
+
# auth_names
|
|
20121
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20122
|
+
|
|
20123
|
+
new_options = opts.merge(
|
|
20124
|
+
:operation => :"V2Api.get_kube_exec_creds",
|
|
20125
|
+
:header_params => header_params,
|
|
20126
|
+
:query_params => query_params,
|
|
20127
|
+
:form_params => form_params,
|
|
20128
|
+
:body => post_body,
|
|
20129
|
+
:auth_names => auth_names,
|
|
20130
|
+
:return_type => return_type
|
|
20131
|
+
)
|
|
20132
|
+
|
|
20133
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20134
|
+
if @api_client.config.debugging
|
|
20135
|
+
@api_client.config.logger.debug "API called: V2Api#get_kube_exec_creds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20136
|
+
end
|
|
20137
|
+
return data, status_code, headers
|
|
20138
|
+
end
|
|
20139
|
+
|
|
20140
|
+
# @param body [GetLastUserEventStatus]
|
|
20141
|
+
# @param [Hash] opts the optional parameters
|
|
20142
|
+
# @return [GetUserEventStatusOutput]
|
|
20143
|
+
def get_last_user_event_status(body, opts = {})
|
|
20144
|
+
data, _status_code, _headers = get_last_user_event_status_with_http_info(body, opts)
|
|
20145
|
+
data
|
|
20146
|
+
end
|
|
20147
|
+
|
|
20148
|
+
# @param body [GetLastUserEventStatus]
|
|
20149
|
+
# @param [Hash] opts the optional parameters
|
|
20150
|
+
# @return [Array<(GetUserEventStatusOutput, Integer, Hash)>] GetUserEventStatusOutput data, response status code and response headers
|
|
20151
|
+
def get_last_user_event_status_with_http_info(body, opts = {})
|
|
20152
|
+
if @api_client.config.debugging
|
|
20153
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_last_user_event_status ...'
|
|
20154
|
+
end
|
|
20155
|
+
# verify the required parameter 'body' is set
|
|
20156
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20157
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_last_user_event_status"
|
|
20158
|
+
end
|
|
20159
|
+
# resource path
|
|
20160
|
+
local_var_path = '/user-event-last-status'
|
|
20161
|
+
|
|
20162
|
+
# query parameters
|
|
20163
|
+
query_params = opts[:query_params] || {}
|
|
20164
|
+
|
|
20165
|
+
# header parameters
|
|
20166
|
+
header_params = opts[:header_params] || {}
|
|
20167
|
+
# HTTP header 'Accept' (if needed)
|
|
20168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20169
|
+
# HTTP header 'Content-Type'
|
|
20170
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20171
|
+
if !content_type.nil?
|
|
20172
|
+
header_params['Content-Type'] = content_type
|
|
20173
|
+
end
|
|
20174
|
+
|
|
20175
|
+
# form parameters
|
|
20176
|
+
form_params = opts[:form_params] || {}
|
|
20177
|
+
|
|
20178
|
+
# http body (model)
|
|
20179
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20180
|
+
|
|
20181
|
+
# return_type
|
|
20182
|
+
return_type = opts[:debug_return_type] || 'GetUserEventStatusOutput'
|
|
20183
|
+
|
|
20184
|
+
# auth_names
|
|
20185
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20186
|
+
|
|
20187
|
+
new_options = opts.merge(
|
|
20188
|
+
:operation => :"V2Api.get_last_user_event_status",
|
|
20189
|
+
:header_params => header_params,
|
|
20190
|
+
:query_params => query_params,
|
|
20191
|
+
:form_params => form_params,
|
|
20192
|
+
:body => post_body,
|
|
20193
|
+
:auth_names => auth_names,
|
|
20194
|
+
:return_type => return_type
|
|
20195
|
+
)
|
|
20196
|
+
|
|
20197
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20198
|
+
if @api_client.config.debugging
|
|
20199
|
+
@api_client.config.logger.debug "API called: V2Api#get_last_user_event_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20200
|
+
end
|
|
20201
|
+
return data, status_code, headers
|
|
20202
|
+
end
|
|
20203
|
+
|
|
20204
|
+
# @param body [GetPKICertificate]
|
|
20205
|
+
# @param [Hash] opts the optional parameters
|
|
20206
|
+
# @return [GetPKICertificateOutput]
|
|
20207
|
+
def get_pki_certificate(body, opts = {})
|
|
20208
|
+
data, _status_code, _headers = get_pki_certificate_with_http_info(body, opts)
|
|
20209
|
+
data
|
|
20210
|
+
end
|
|
20211
|
+
|
|
20212
|
+
# @param body [GetPKICertificate]
|
|
20213
|
+
# @param [Hash] opts the optional parameters
|
|
20214
|
+
# @return [Array<(GetPKICertificateOutput, Integer, Hash)>] GetPKICertificateOutput data, response status code and response headers
|
|
20215
|
+
def get_pki_certificate_with_http_info(body, opts = {})
|
|
20216
|
+
if @api_client.config.debugging
|
|
20217
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_pki_certificate ...'
|
|
20218
|
+
end
|
|
20219
|
+
# verify the required parameter 'body' is set
|
|
20220
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20221
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_pki_certificate"
|
|
20222
|
+
end
|
|
20223
|
+
# resource path
|
|
20224
|
+
local_var_path = '/get-pki-certificate'
|
|
20225
|
+
|
|
20226
|
+
# query parameters
|
|
20227
|
+
query_params = opts[:query_params] || {}
|
|
20228
|
+
|
|
20229
|
+
# header parameters
|
|
20230
|
+
header_params = opts[:header_params] || {}
|
|
20231
|
+
# HTTP header 'Accept' (if needed)
|
|
20232
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20233
|
+
# HTTP header 'Content-Type'
|
|
20234
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20235
|
+
if !content_type.nil?
|
|
20236
|
+
header_params['Content-Type'] = content_type
|
|
20237
|
+
end
|
|
20238
|
+
|
|
20239
|
+
# form parameters
|
|
20240
|
+
form_params = opts[:form_params] || {}
|
|
20241
|
+
|
|
20242
|
+
# http body (model)
|
|
20243
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20244
|
+
|
|
20245
|
+
# return_type
|
|
20246
|
+
return_type = opts[:debug_return_type] || 'GetPKICertificateOutput'
|
|
20247
|
+
|
|
20248
|
+
# auth_names
|
|
20249
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20250
|
+
|
|
20251
|
+
new_options = opts.merge(
|
|
20252
|
+
:operation => :"V2Api.get_pki_certificate",
|
|
20253
|
+
:header_params => header_params,
|
|
20254
|
+
:query_params => query_params,
|
|
20255
|
+
:form_params => form_params,
|
|
20256
|
+
:body => post_body,
|
|
20257
|
+
:auth_names => auth_names,
|
|
20258
|
+
:return_type => return_type
|
|
20259
|
+
)
|
|
20260
|
+
|
|
20261
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20262
|
+
if @api_client.config.debugging
|
|
20263
|
+
@api_client.config.logger.debug "API called: V2Api#get_pki_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20264
|
+
end
|
|
20265
|
+
return data, status_code, headers
|
|
20266
|
+
end
|
|
20267
|
+
|
|
20268
|
+
# @param body [GetRole]
|
|
20269
|
+
# @param [Hash] opts the optional parameters
|
|
20270
|
+
# @return [Role]
|
|
20271
|
+
def get_role(body, opts = {})
|
|
20272
|
+
data, _status_code, _headers = get_role_with_http_info(body, opts)
|
|
20273
|
+
data
|
|
20274
|
+
end
|
|
20275
|
+
|
|
20276
|
+
# @param body [GetRole]
|
|
20277
|
+
# @param [Hash] opts the optional parameters
|
|
20278
|
+
# @return [Array<(Role, Integer, Hash)>] Role data, response status code and response headers
|
|
20279
|
+
def get_role_with_http_info(body, opts = {})
|
|
20280
|
+
if @api_client.config.debugging
|
|
20281
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_role ...'
|
|
20282
|
+
end
|
|
20283
|
+
# verify the required parameter 'body' is set
|
|
20284
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20285
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_role"
|
|
20286
|
+
end
|
|
20287
|
+
# resource path
|
|
20288
|
+
local_var_path = '/get-role'
|
|
20289
|
+
|
|
20290
|
+
# query parameters
|
|
20291
|
+
query_params = opts[:query_params] || {}
|
|
20292
|
+
|
|
20293
|
+
# header parameters
|
|
20294
|
+
header_params = opts[:header_params] || {}
|
|
20295
|
+
# HTTP header 'Accept' (if needed)
|
|
20296
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20297
|
+
# HTTP header 'Content-Type'
|
|
20298
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20299
|
+
if !content_type.nil?
|
|
20300
|
+
header_params['Content-Type'] = content_type
|
|
20301
|
+
end
|
|
20302
|
+
|
|
20303
|
+
# form parameters
|
|
20304
|
+
form_params = opts[:form_params] || {}
|
|
20305
|
+
|
|
20306
|
+
# http body (model)
|
|
20307
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20308
|
+
|
|
20309
|
+
# return_type
|
|
20310
|
+
return_type = opts[:debug_return_type] || 'Role'
|
|
20311
|
+
|
|
20312
|
+
# auth_names
|
|
20313
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20314
|
+
|
|
20315
|
+
new_options = opts.merge(
|
|
20316
|
+
:operation => :"V2Api.get_role",
|
|
20317
|
+
:header_params => header_params,
|
|
20318
|
+
:query_params => query_params,
|
|
20319
|
+
:form_params => form_params,
|
|
20320
|
+
:body => post_body,
|
|
20321
|
+
:auth_names => auth_names,
|
|
20322
|
+
:return_type => return_type
|
|
20323
|
+
)
|
|
20324
|
+
|
|
20325
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20326
|
+
if @api_client.config.debugging
|
|
20327
|
+
@api_client.config.logger.debug "API called: V2Api#get_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20328
|
+
end
|
|
20329
|
+
return data, status_code, headers
|
|
20330
|
+
end
|
|
20331
|
+
|
|
20332
|
+
# @param body [GetRotatedSecretValue]
|
|
20333
|
+
# @param [Hash] opts the optional parameters
|
|
20334
|
+
# @return [Hash<String, Object>]
|
|
20335
|
+
def get_rotated_secret_value(body, opts = {})
|
|
20336
|
+
data, _status_code, _headers = get_rotated_secret_value_with_http_info(body, opts)
|
|
20337
|
+
data
|
|
20338
|
+
end
|
|
20339
|
+
|
|
20340
|
+
# @param body [GetRotatedSecretValue]
|
|
20341
|
+
# @param [Hash] opts the optional parameters
|
|
20342
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
20343
|
+
def get_rotated_secret_value_with_http_info(body, opts = {})
|
|
20344
|
+
if @api_client.config.debugging
|
|
20345
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_rotated_secret_value ...'
|
|
20346
|
+
end
|
|
20347
|
+
# verify the required parameter 'body' is set
|
|
20348
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20349
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_rotated_secret_value"
|
|
20350
|
+
end
|
|
20351
|
+
# resource path
|
|
20352
|
+
local_var_path = '/get-rotated-secret-value'
|
|
20353
|
+
|
|
20354
|
+
# query parameters
|
|
20355
|
+
query_params = opts[:query_params] || {}
|
|
20356
|
+
|
|
20357
|
+
# header parameters
|
|
20358
|
+
header_params = opts[:header_params] || {}
|
|
20359
|
+
# HTTP header 'Accept' (if needed)
|
|
20360
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20361
|
+
# HTTP header 'Content-Type'
|
|
20362
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20363
|
+
if !content_type.nil?
|
|
20364
|
+
header_params['Content-Type'] = content_type
|
|
20365
|
+
end
|
|
20366
|
+
|
|
20367
|
+
# form parameters
|
|
20368
|
+
form_params = opts[:form_params] || {}
|
|
20369
|
+
|
|
20370
|
+
# http body (model)
|
|
20371
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20372
|
+
|
|
20373
|
+
# return_type
|
|
20374
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
20375
|
+
|
|
20376
|
+
# auth_names
|
|
20377
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20378
|
+
|
|
20379
|
+
new_options = opts.merge(
|
|
20380
|
+
:operation => :"V2Api.get_rotated_secret_value",
|
|
20381
|
+
:header_params => header_params,
|
|
20382
|
+
:query_params => query_params,
|
|
20383
|
+
:form_params => form_params,
|
|
20384
|
+
:body => post_body,
|
|
20385
|
+
:auth_names => auth_names,
|
|
20386
|
+
:return_type => return_type
|
|
20387
|
+
)
|
|
20388
|
+
|
|
20389
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20390
|
+
if @api_client.config.debugging
|
|
20391
|
+
@api_client.config.logger.debug "API called: V2Api#get_rotated_secret_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20392
|
+
end
|
|
20393
|
+
return data, status_code, headers
|
|
20394
|
+
end
|
|
20395
|
+
|
|
20396
|
+
# @param body [GetRSAPublic]
|
|
20397
|
+
# @param [Hash] opts the optional parameters
|
|
20398
|
+
# @return [GetRSAPublicOutput]
|
|
20399
|
+
def get_rsa_public(body, opts = {})
|
|
20400
|
+
data, _status_code, _headers = get_rsa_public_with_http_info(body, opts)
|
|
20401
|
+
data
|
|
20402
|
+
end
|
|
20403
|
+
|
|
20404
|
+
# @param body [GetRSAPublic]
|
|
20405
|
+
# @param [Hash] opts the optional parameters
|
|
20406
|
+
# @return [Array<(GetRSAPublicOutput, Integer, Hash)>] GetRSAPublicOutput data, response status code and response headers
|
|
20407
|
+
def get_rsa_public_with_http_info(body, opts = {})
|
|
20408
|
+
if @api_client.config.debugging
|
|
20409
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_rsa_public ...'
|
|
20410
|
+
end
|
|
20411
|
+
# verify the required parameter 'body' is set
|
|
20412
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20413
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_rsa_public"
|
|
20414
|
+
end
|
|
20415
|
+
# resource path
|
|
20416
|
+
local_var_path = '/get-rsa-public'
|
|
20417
|
+
|
|
20418
|
+
# query parameters
|
|
20419
|
+
query_params = opts[:query_params] || {}
|
|
20420
|
+
|
|
20421
|
+
# header parameters
|
|
20422
|
+
header_params = opts[:header_params] || {}
|
|
20423
|
+
# HTTP header 'Accept' (if needed)
|
|
20424
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20425
|
+
# HTTP header 'Content-Type'
|
|
20426
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20427
|
+
if !content_type.nil?
|
|
20428
|
+
header_params['Content-Type'] = content_type
|
|
20429
|
+
end
|
|
20430
|
+
|
|
20431
|
+
# form parameters
|
|
20432
|
+
form_params = opts[:form_params] || {}
|
|
20433
|
+
|
|
20434
|
+
# http body (model)
|
|
20435
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20436
|
+
|
|
20437
|
+
# return_type
|
|
20438
|
+
return_type = opts[:debug_return_type] || 'GetRSAPublicOutput'
|
|
20439
|
+
|
|
20440
|
+
# auth_names
|
|
20441
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20442
|
+
|
|
20443
|
+
new_options = opts.merge(
|
|
20444
|
+
:operation => :"V2Api.get_rsa_public",
|
|
20445
|
+
:header_params => header_params,
|
|
20446
|
+
:query_params => query_params,
|
|
20447
|
+
:form_params => form_params,
|
|
20448
|
+
:body => post_body,
|
|
20449
|
+
:auth_names => auth_names,
|
|
20450
|
+
:return_type => return_type
|
|
20451
|
+
)
|
|
20452
|
+
|
|
20453
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20454
|
+
if @api_client.config.debugging
|
|
20455
|
+
@api_client.config.logger.debug "API called: V2Api#get_rsa_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20456
|
+
end
|
|
20457
|
+
return data, status_code, headers
|
|
20458
|
+
end
|
|
20459
|
+
|
|
20460
|
+
# @param body [GetSecretValue]
|
|
20461
|
+
# @param [Hash] opts the optional parameters
|
|
20462
|
+
# @return [Hash<String, Object>]
|
|
20463
|
+
def get_secret_value(body, opts = {})
|
|
20464
|
+
data, _status_code, _headers = get_secret_value_with_http_info(body, opts)
|
|
20465
|
+
data
|
|
20466
|
+
end
|
|
20467
|
+
|
|
20468
|
+
# @param body [GetSecretValue]
|
|
20469
|
+
# @param [Hash] opts the optional parameters
|
|
20470
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
20471
|
+
def get_secret_value_with_http_info(body, opts = {})
|
|
20472
|
+
if @api_client.config.debugging
|
|
20473
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_secret_value ...'
|
|
20474
|
+
end
|
|
20475
|
+
# verify the required parameter 'body' is set
|
|
20476
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20477
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_secret_value"
|
|
20478
|
+
end
|
|
20479
|
+
# resource path
|
|
20480
|
+
local_var_path = '/get-secret-value'
|
|
20481
|
+
|
|
20482
|
+
# query parameters
|
|
20483
|
+
query_params = opts[:query_params] || {}
|
|
20484
|
+
|
|
20485
|
+
# header parameters
|
|
20486
|
+
header_params = opts[:header_params] || {}
|
|
20487
|
+
# HTTP header 'Accept' (if needed)
|
|
20488
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20489
|
+
# HTTP header 'Content-Type'
|
|
20490
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20491
|
+
if !content_type.nil?
|
|
20492
|
+
header_params['Content-Type'] = content_type
|
|
20493
|
+
end
|
|
20494
|
+
|
|
20495
|
+
# form parameters
|
|
20496
|
+
form_params = opts[:form_params] || {}
|
|
20497
|
+
|
|
20498
|
+
# http body (model)
|
|
20499
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20500
|
+
|
|
20501
|
+
# return_type
|
|
20502
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
20503
|
+
|
|
20504
|
+
# auth_names
|
|
20505
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20506
|
+
|
|
20507
|
+
new_options = opts.merge(
|
|
20508
|
+
:operation => :"V2Api.get_secret_value",
|
|
20509
|
+
:header_params => header_params,
|
|
20510
|
+
:query_params => query_params,
|
|
20511
|
+
:form_params => form_params,
|
|
20512
|
+
:body => post_body,
|
|
20513
|
+
:auth_names => auth_names,
|
|
20514
|
+
:return_type => return_type
|
|
20515
|
+
)
|
|
20516
|
+
|
|
20517
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20518
|
+
if @api_client.config.debugging
|
|
20519
|
+
@api_client.config.logger.debug "API called: V2Api#get_secret_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20520
|
+
end
|
|
20521
|
+
return data, status_code, headers
|
|
20522
|
+
end
|
|
20523
|
+
|
|
20524
|
+
# @param body [GetSSHCertificate]
|
|
20525
|
+
# @param [Hash] opts the optional parameters
|
|
20526
|
+
# @return [GetSSHCertificateOutput]
|
|
20527
|
+
def get_ssh_certificate(body, opts = {})
|
|
20528
|
+
data, _status_code, _headers = get_ssh_certificate_with_http_info(body, opts)
|
|
20529
|
+
data
|
|
20530
|
+
end
|
|
20531
|
+
|
|
20532
|
+
# @param body [GetSSHCertificate]
|
|
20533
|
+
# @param [Hash] opts the optional parameters
|
|
20534
|
+
# @return [Array<(GetSSHCertificateOutput, Integer, Hash)>] GetSSHCertificateOutput data, response status code and response headers
|
|
20535
|
+
def get_ssh_certificate_with_http_info(body, opts = {})
|
|
20536
|
+
if @api_client.config.debugging
|
|
20537
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_ssh_certificate ...'
|
|
20538
|
+
end
|
|
20539
|
+
# verify the required parameter 'body' is set
|
|
20540
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20541
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_ssh_certificate"
|
|
20542
|
+
end
|
|
20543
|
+
# resource path
|
|
20544
|
+
local_var_path = '/get-ssh-certificate'
|
|
20545
|
+
|
|
20546
|
+
# query parameters
|
|
20547
|
+
query_params = opts[:query_params] || {}
|
|
20548
|
+
|
|
20549
|
+
# header parameters
|
|
20550
|
+
header_params = opts[:header_params] || {}
|
|
20551
|
+
# HTTP header 'Accept' (if needed)
|
|
20552
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20553
|
+
# HTTP header 'Content-Type'
|
|
20554
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20555
|
+
if !content_type.nil?
|
|
20556
|
+
header_params['Content-Type'] = content_type
|
|
20557
|
+
end
|
|
20558
|
+
|
|
20559
|
+
# form parameters
|
|
20560
|
+
form_params = opts[:form_params] || {}
|
|
20561
|
+
|
|
20562
|
+
# http body (model)
|
|
20563
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20564
|
+
|
|
20565
|
+
# return_type
|
|
20566
|
+
return_type = opts[:debug_return_type] || 'GetSSHCertificateOutput'
|
|
20567
|
+
|
|
20568
|
+
# auth_names
|
|
20569
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20570
|
+
|
|
20571
|
+
new_options = opts.merge(
|
|
20572
|
+
:operation => :"V2Api.get_ssh_certificate",
|
|
20573
|
+
:header_params => header_params,
|
|
20574
|
+
:query_params => query_params,
|
|
20575
|
+
:form_params => form_params,
|
|
20576
|
+
:body => post_body,
|
|
20577
|
+
:auth_names => auth_names,
|
|
20578
|
+
:return_type => return_type
|
|
20579
|
+
)
|
|
20580
|
+
|
|
20581
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20582
|
+
if @api_client.config.debugging
|
|
20583
|
+
@api_client.config.logger.debug "API called: V2Api#get_ssh_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20584
|
+
end
|
|
20585
|
+
return data, status_code, headers
|
|
20586
|
+
end
|
|
20587
|
+
|
|
20588
|
+
# @param body [GetTags]
|
|
20589
|
+
# @param [Hash] opts the optional parameters
|
|
20590
|
+
# @return [Array<String>]
|
|
20591
|
+
def get_tags(body, opts = {})
|
|
20592
|
+
data, _status_code, _headers = get_tags_with_http_info(body, opts)
|
|
20593
|
+
data
|
|
20594
|
+
end
|
|
20595
|
+
|
|
20596
|
+
# @param body [GetTags]
|
|
20597
|
+
# @param [Hash] opts the optional parameters
|
|
20598
|
+
# @return [Array<(Array<String>, Integer, Hash)>] Array<String> data, response status code and response headers
|
|
20599
|
+
def get_tags_with_http_info(body, opts = {})
|
|
20600
|
+
if @api_client.config.debugging
|
|
20601
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_tags ...'
|
|
20602
|
+
end
|
|
20603
|
+
# verify the required parameter 'body' is set
|
|
20604
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20605
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_tags"
|
|
20606
|
+
end
|
|
20607
|
+
# resource path
|
|
20608
|
+
local_var_path = '/get-tags'
|
|
20609
|
+
|
|
20610
|
+
# query parameters
|
|
20611
|
+
query_params = opts[:query_params] || {}
|
|
20612
|
+
|
|
20613
|
+
# header parameters
|
|
20614
|
+
header_params = opts[:header_params] || {}
|
|
20615
|
+
# HTTP header 'Accept' (if needed)
|
|
20616
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20617
|
+
# HTTP header 'Content-Type'
|
|
20618
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20619
|
+
if !content_type.nil?
|
|
20620
|
+
header_params['Content-Type'] = content_type
|
|
20621
|
+
end
|
|
20622
|
+
|
|
20623
|
+
# form parameters
|
|
20624
|
+
form_params = opts[:form_params] || {}
|
|
20625
|
+
|
|
20626
|
+
# http body (model)
|
|
20627
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20628
|
+
|
|
20629
|
+
# return_type
|
|
20630
|
+
return_type = opts[:debug_return_type] || 'Array<String>'
|
|
20631
|
+
|
|
20632
|
+
# auth_names
|
|
20633
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20634
|
+
|
|
20635
|
+
new_options = opts.merge(
|
|
20636
|
+
:operation => :"V2Api.get_tags",
|
|
20637
|
+
:header_params => header_params,
|
|
20638
|
+
:query_params => query_params,
|
|
20639
|
+
:form_params => form_params,
|
|
20640
|
+
:body => post_body,
|
|
20641
|
+
:auth_names => auth_names,
|
|
20642
|
+
:return_type => return_type
|
|
20643
|
+
)
|
|
20644
|
+
|
|
20645
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20646
|
+
if @api_client.config.debugging
|
|
20647
|
+
@api_client.config.logger.debug "API called: V2Api#get_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20648
|
+
end
|
|
20649
|
+
return data, status_code, headers
|
|
20650
|
+
end
|
|
20651
|
+
|
|
20652
|
+
# @param body [GetTarget]
|
|
20653
|
+
# @param [Hash] opts the optional parameters
|
|
20654
|
+
# @return [Target]
|
|
20655
|
+
def get_target(body, opts = {})
|
|
20656
|
+
data, _status_code, _headers = get_target_with_http_info(body, opts)
|
|
20657
|
+
data
|
|
20658
|
+
end
|
|
20659
|
+
|
|
20660
|
+
# @param body [GetTarget]
|
|
20661
|
+
# @param [Hash] opts the optional parameters
|
|
20662
|
+
# @return [Array<(Target, Integer, Hash)>] Target data, response status code and response headers
|
|
20663
|
+
def get_target_with_http_info(body, opts = {})
|
|
20664
|
+
if @api_client.config.debugging
|
|
20665
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_target ...'
|
|
20666
|
+
end
|
|
20667
|
+
# verify the required parameter 'body' is set
|
|
20668
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20669
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_target"
|
|
20670
|
+
end
|
|
20671
|
+
# resource path
|
|
20672
|
+
local_var_path = '/get-target'
|
|
20673
|
+
|
|
20674
|
+
# query parameters
|
|
20675
|
+
query_params = opts[:query_params] || {}
|
|
20676
|
+
|
|
20677
|
+
# header parameters
|
|
20678
|
+
header_params = opts[:header_params] || {}
|
|
20679
|
+
# HTTP header 'Accept' (if needed)
|
|
20680
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20681
|
+
# HTTP header 'Content-Type'
|
|
20682
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20683
|
+
if !content_type.nil?
|
|
20684
|
+
header_params['Content-Type'] = content_type
|
|
20685
|
+
end
|
|
20686
|
+
|
|
20687
|
+
# form parameters
|
|
20688
|
+
form_params = opts[:form_params] || {}
|
|
20689
|
+
|
|
20690
|
+
# http body (model)
|
|
20691
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20692
|
+
|
|
20693
|
+
# return_type
|
|
20694
|
+
return_type = opts[:debug_return_type] || 'Target'
|
|
20695
|
+
|
|
20696
|
+
# auth_names
|
|
20697
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20698
|
+
|
|
20699
|
+
new_options = opts.merge(
|
|
20700
|
+
:operation => :"V2Api.get_target",
|
|
20701
|
+
:header_params => header_params,
|
|
20702
|
+
:query_params => query_params,
|
|
20703
|
+
:form_params => form_params,
|
|
20704
|
+
:body => post_body,
|
|
20705
|
+
:auth_names => auth_names,
|
|
20706
|
+
:return_type => return_type
|
|
20707
|
+
)
|
|
20708
|
+
|
|
20709
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20710
|
+
if @api_client.config.debugging
|
|
20711
|
+
@api_client.config.logger.debug "API called: V2Api#get_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19635
20712
|
end
|
|
19636
20713
|
return data, status_code, headers
|
|
19637
20714
|
end
|
|
19638
20715
|
|
|
19639
|
-
# @param body [
|
|
20716
|
+
# @param body [GetTargetDetails]
|
|
19640
20717
|
# @param [Hash] opts the optional parameters
|
|
19641
|
-
# @return [
|
|
19642
|
-
def
|
|
19643
|
-
data, _status_code, _headers =
|
|
20718
|
+
# @return [GetTargetDetailsOutput]
|
|
20719
|
+
def get_target_details(body, opts = {})
|
|
20720
|
+
data, _status_code, _headers = get_target_details_with_http_info(body, opts)
|
|
19644
20721
|
data
|
|
19645
20722
|
end
|
|
19646
20723
|
|
|
19647
|
-
# @param body [
|
|
20724
|
+
# @param body [GetTargetDetails]
|
|
19648
20725
|
# @param [Hash] opts the optional parameters
|
|
19649
|
-
# @return [Array<(
|
|
19650
|
-
def
|
|
20726
|
+
# @return [Array<(GetTargetDetailsOutput, Integer, Hash)>] GetTargetDetailsOutput data, response status code and response headers
|
|
20727
|
+
def get_target_details_with_http_info(body, opts = {})
|
|
19651
20728
|
if @api_client.config.debugging
|
|
19652
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
20729
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_target_details ...'
|
|
19653
20730
|
end
|
|
19654
20731
|
# verify the required parameter 'body' is set
|
|
19655
20732
|
if @api_client.config.client_side_validation && body.nil?
|
|
19656
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
20733
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_target_details"
|
|
19657
20734
|
end
|
|
19658
20735
|
# resource path
|
|
19659
|
-
local_var_path = '/get-
|
|
20736
|
+
local_var_path = '/get-target-details'
|
|
19660
20737
|
|
|
19661
20738
|
# query parameters
|
|
19662
20739
|
query_params = opts[:query_params] || {}
|
|
@@ -19678,13 +20755,13 @@ module Akeyless
|
|
|
19678
20755
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19679
20756
|
|
|
19680
20757
|
# return_type
|
|
19681
|
-
return_type = opts[:debug_return_type] || '
|
|
20758
|
+
return_type = opts[:debug_return_type] || 'GetTargetDetailsOutput'
|
|
19682
20759
|
|
|
19683
20760
|
# auth_names
|
|
19684
20761
|
auth_names = opts[:debug_auth_names] || []
|
|
19685
20762
|
|
|
19686
20763
|
new_options = opts.merge(
|
|
19687
|
-
:operation => :"V2Api.
|
|
20764
|
+
:operation => :"V2Api.get_target_details",
|
|
19688
20765
|
:header_params => header_params,
|
|
19689
20766
|
:query_params => query_params,
|
|
19690
20767
|
:form_params => form_params,
|
|
@@ -19695,32 +20772,32 @@ module Akeyless
|
|
|
19695
20772
|
|
|
19696
20773
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19697
20774
|
if @api_client.config.debugging
|
|
19698
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
20775
|
+
@api_client.config.logger.debug "API called: V2Api#get_target_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19699
20776
|
end
|
|
19700
20777
|
return data, status_code, headers
|
|
19701
20778
|
end
|
|
19702
20779
|
|
|
19703
|
-
# @param body [
|
|
20780
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAwsS3]
|
|
19704
20781
|
# @param [Hash] opts the optional parameters
|
|
19705
|
-
# @return [
|
|
19706
|
-
def
|
|
19707
|
-
data, _status_code, _headers =
|
|
20782
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20783
|
+
def gw_update_remote_access_session_logs_aws_s3(body, opts = {})
|
|
20784
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_aws_s3_with_http_info(body, opts)
|
|
19708
20785
|
data
|
|
19709
20786
|
end
|
|
19710
20787
|
|
|
19711
|
-
# @param body [
|
|
20788
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAwsS3]
|
|
19712
20789
|
# @param [Hash] opts the optional parameters
|
|
19713
|
-
# @return [Array<(
|
|
19714
|
-
def
|
|
20790
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20791
|
+
def gw_update_remote_access_session_logs_aws_s3_with_http_info(body, opts = {})
|
|
19715
20792
|
if @api_client.config.debugging
|
|
19716
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
20793
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_aws_s3 ...'
|
|
19717
20794
|
end
|
|
19718
20795
|
# verify the required parameter 'body' is set
|
|
19719
20796
|
if @api_client.config.client_side_validation && body.nil?
|
|
19720
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
20797
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_aws_s3"
|
|
19721
20798
|
end
|
|
19722
20799
|
# resource path
|
|
19723
|
-
local_var_path = '/
|
|
20800
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-aws-s3'
|
|
19724
20801
|
|
|
19725
20802
|
# query parameters
|
|
19726
20803
|
query_params = opts[:query_params] || {}
|
|
@@ -19742,13 +20819,13 @@ module Akeyless
|
|
|
19742
20819
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19743
20820
|
|
|
19744
20821
|
# return_type
|
|
19745
|
-
return_type = opts[:debug_return_type] || '
|
|
20822
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
19746
20823
|
|
|
19747
20824
|
# auth_names
|
|
19748
20825
|
auth_names = opts[:debug_auth_names] || []
|
|
19749
20826
|
|
|
19750
20827
|
new_options = opts.merge(
|
|
19751
|
-
:operation => :"V2Api.
|
|
20828
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_aws_s3",
|
|
19752
20829
|
:header_params => header_params,
|
|
19753
20830
|
:query_params => query_params,
|
|
19754
20831
|
:form_params => form_params,
|
|
@@ -19759,32 +20836,32 @@ module Akeyless
|
|
|
19759
20836
|
|
|
19760
20837
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19761
20838
|
if @api_client.config.debugging
|
|
19762
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
20839
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_aws_s3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19763
20840
|
end
|
|
19764
20841
|
return data, status_code, headers
|
|
19765
20842
|
end
|
|
19766
20843
|
|
|
19767
|
-
# @param body [
|
|
20844
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAzureAnalytics]
|
|
19768
20845
|
# @param [Hash] opts the optional parameters
|
|
19769
|
-
# @return [
|
|
19770
|
-
def
|
|
19771
|
-
data, _status_code, _headers =
|
|
20846
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20847
|
+
def gw_update_remote_access_session_logs_azure_analytics(body, opts = {})
|
|
20848
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_azure_analytics_with_http_info(body, opts)
|
|
19772
20849
|
data
|
|
19773
20850
|
end
|
|
19774
20851
|
|
|
19775
|
-
# @param body [
|
|
20852
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAzureAnalytics]
|
|
19776
20853
|
# @param [Hash] opts the optional parameters
|
|
19777
|
-
# @return [Array<(
|
|
19778
|
-
def
|
|
20854
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20855
|
+
def gw_update_remote_access_session_logs_azure_analytics_with_http_info(body, opts = {})
|
|
19779
20856
|
if @api_client.config.debugging
|
|
19780
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
20857
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_azure_analytics ...'
|
|
19781
20858
|
end
|
|
19782
20859
|
# verify the required parameter 'body' is set
|
|
19783
20860
|
if @api_client.config.client_side_validation && body.nil?
|
|
19784
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
20861
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_azure_analytics"
|
|
19785
20862
|
end
|
|
19786
20863
|
# resource path
|
|
19787
|
-
local_var_path = '/
|
|
20864
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-azure-analytics'
|
|
19788
20865
|
|
|
19789
20866
|
# query parameters
|
|
19790
20867
|
query_params = opts[:query_params] || {}
|
|
@@ -19806,13 +20883,13 @@ module Akeyless
|
|
|
19806
20883
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19807
20884
|
|
|
19808
20885
|
# return_type
|
|
19809
|
-
return_type = opts[:debug_return_type] || '
|
|
20886
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
19810
20887
|
|
|
19811
20888
|
# auth_names
|
|
19812
20889
|
auth_names = opts[:debug_auth_names] || []
|
|
19813
20890
|
|
|
19814
20891
|
new_options = opts.merge(
|
|
19815
|
-
:operation => :"V2Api.
|
|
20892
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_azure_analytics",
|
|
19816
20893
|
:header_params => header_params,
|
|
19817
20894
|
:query_params => query_params,
|
|
19818
20895
|
:form_params => form_params,
|
|
@@ -19823,32 +20900,32 @@ module Akeyless
|
|
|
19823
20900
|
|
|
19824
20901
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19825
20902
|
if @api_client.config.debugging
|
|
19826
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
20903
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_azure_analytics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19827
20904
|
end
|
|
19828
20905
|
return data, status_code, headers
|
|
19829
20906
|
end
|
|
19830
20907
|
|
|
19831
|
-
# @param body [
|
|
20908
|
+
# @param body [GwUpdateRemoteAccessSessionLogsDatadog]
|
|
19832
20909
|
# @param [Hash] opts the optional parameters
|
|
19833
|
-
# @return [
|
|
19834
|
-
def
|
|
19835
|
-
data, _status_code, _headers =
|
|
20910
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20911
|
+
def gw_update_remote_access_session_logs_datadog(body, opts = {})
|
|
20912
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_datadog_with_http_info(body, opts)
|
|
19836
20913
|
data
|
|
19837
20914
|
end
|
|
19838
20915
|
|
|
19839
|
-
# @param body [
|
|
20916
|
+
# @param body [GwUpdateRemoteAccessSessionLogsDatadog]
|
|
19840
20917
|
# @param [Hash] opts the optional parameters
|
|
19841
|
-
# @return [Array<(
|
|
19842
|
-
def
|
|
20918
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20919
|
+
def gw_update_remote_access_session_logs_datadog_with_http_info(body, opts = {})
|
|
19843
20920
|
if @api_client.config.debugging
|
|
19844
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
20921
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_datadog ...'
|
|
19845
20922
|
end
|
|
19846
20923
|
# verify the required parameter 'body' is set
|
|
19847
20924
|
if @api_client.config.client_side_validation && body.nil?
|
|
19848
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
20925
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_datadog"
|
|
19849
20926
|
end
|
|
19850
20927
|
# resource path
|
|
19851
|
-
local_var_path = '/
|
|
20928
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-datadog'
|
|
19852
20929
|
|
|
19853
20930
|
# query parameters
|
|
19854
20931
|
query_params = opts[:query_params] || {}
|
|
@@ -19870,13 +20947,13 @@ module Akeyless
|
|
|
19870
20947
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19871
20948
|
|
|
19872
20949
|
# return_type
|
|
19873
|
-
return_type = opts[:debug_return_type] || '
|
|
20950
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
19874
20951
|
|
|
19875
20952
|
# auth_names
|
|
19876
20953
|
auth_names = opts[:debug_auth_names] || []
|
|
19877
20954
|
|
|
19878
20955
|
new_options = opts.merge(
|
|
19879
|
-
:operation => :"V2Api.
|
|
20956
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_datadog",
|
|
19880
20957
|
:header_params => header_params,
|
|
19881
20958
|
:query_params => query_params,
|
|
19882
20959
|
:form_params => form_params,
|
|
@@ -19887,32 +20964,32 @@ module Akeyless
|
|
|
19887
20964
|
|
|
19888
20965
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19889
20966
|
if @api_client.config.debugging
|
|
19890
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
20967
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_datadog\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19891
20968
|
end
|
|
19892
20969
|
return data, status_code, headers
|
|
19893
20970
|
end
|
|
19894
20971
|
|
|
19895
|
-
# @param body [
|
|
20972
|
+
# @param body [GwUpdateRemoteAccessSessionLogsElasticsearch]
|
|
19896
20973
|
# @param [Hash] opts the optional parameters
|
|
19897
|
-
# @return [
|
|
19898
|
-
def
|
|
19899
|
-
data, _status_code, _headers =
|
|
20974
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20975
|
+
def gw_update_remote_access_session_logs_elasticsearch(body, opts = {})
|
|
20976
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_elasticsearch_with_http_info(body, opts)
|
|
19900
20977
|
data
|
|
19901
20978
|
end
|
|
19902
20979
|
|
|
19903
|
-
# @param body [
|
|
20980
|
+
# @param body [GwUpdateRemoteAccessSessionLogsElasticsearch]
|
|
19904
20981
|
# @param [Hash] opts the optional parameters
|
|
19905
|
-
# @return [Array<(
|
|
19906
|
-
def
|
|
20982
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20983
|
+
def gw_update_remote_access_session_logs_elasticsearch_with_http_info(body, opts = {})
|
|
19907
20984
|
if @api_client.config.debugging
|
|
19908
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
20985
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_elasticsearch ...'
|
|
19909
20986
|
end
|
|
19910
20987
|
# verify the required parameter 'body' is set
|
|
19911
20988
|
if @api_client.config.client_side_validation && body.nil?
|
|
19912
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
20989
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_elasticsearch"
|
|
19913
20990
|
end
|
|
19914
20991
|
# resource path
|
|
19915
|
-
local_var_path = '/
|
|
20992
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-elasticsearch'
|
|
19916
20993
|
|
|
19917
20994
|
# query parameters
|
|
19918
20995
|
query_params = opts[:query_params] || {}
|
|
@@ -19934,13 +21011,13 @@ module Akeyless
|
|
|
19934
21011
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19935
21012
|
|
|
19936
21013
|
# return_type
|
|
19937
|
-
return_type = opts[:debug_return_type] || '
|
|
21014
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
19938
21015
|
|
|
19939
21016
|
# auth_names
|
|
19940
21017
|
auth_names = opts[:debug_auth_names] || []
|
|
19941
21018
|
|
|
19942
21019
|
new_options = opts.merge(
|
|
19943
|
-
:operation => :"V2Api.
|
|
21020
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_elasticsearch",
|
|
19944
21021
|
:header_params => header_params,
|
|
19945
21022
|
:query_params => query_params,
|
|
19946
21023
|
:form_params => form_params,
|
|
@@ -19951,32 +21028,32 @@ module Akeyless
|
|
|
19951
21028
|
|
|
19952
21029
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19953
21030
|
if @api_client.config.debugging
|
|
19954
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21031
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_elasticsearch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19955
21032
|
end
|
|
19956
21033
|
return data, status_code, headers
|
|
19957
21034
|
end
|
|
19958
21035
|
|
|
19959
|
-
# @param body [
|
|
21036
|
+
# @param body [GwUpdateRemoteAccessSessionLogsGoogleChronicle]
|
|
19960
21037
|
# @param [Hash] opts the optional parameters
|
|
19961
|
-
# @return [
|
|
19962
|
-
def
|
|
19963
|
-
data, _status_code, _headers =
|
|
21038
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21039
|
+
def gw_update_remote_access_session_logs_google_chronicle(body, opts = {})
|
|
21040
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_google_chronicle_with_http_info(body, opts)
|
|
19964
21041
|
data
|
|
19965
21042
|
end
|
|
19966
21043
|
|
|
19967
|
-
# @param body [
|
|
21044
|
+
# @param body [GwUpdateRemoteAccessSessionLogsGoogleChronicle]
|
|
19968
21045
|
# @param [Hash] opts the optional parameters
|
|
19969
|
-
# @return [Array<(
|
|
19970
|
-
def
|
|
21046
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21047
|
+
def gw_update_remote_access_session_logs_google_chronicle_with_http_info(body, opts = {})
|
|
19971
21048
|
if @api_client.config.debugging
|
|
19972
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21049
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_google_chronicle ...'
|
|
19973
21050
|
end
|
|
19974
21051
|
# verify the required parameter 'body' is set
|
|
19975
21052
|
if @api_client.config.client_side_validation && body.nil?
|
|
19976
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21053
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_google_chronicle"
|
|
19977
21054
|
end
|
|
19978
21055
|
# resource path
|
|
19979
|
-
local_var_path = '/
|
|
21056
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-google-chronicle'
|
|
19980
21057
|
|
|
19981
21058
|
# query parameters
|
|
19982
21059
|
query_params = opts[:query_params] || {}
|
|
@@ -19998,13 +21075,13 @@ module Akeyless
|
|
|
19998
21075
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19999
21076
|
|
|
20000
21077
|
# return_type
|
|
20001
|
-
return_type = opts[:debug_return_type] || '
|
|
21078
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20002
21079
|
|
|
20003
21080
|
# auth_names
|
|
20004
21081
|
auth_names = opts[:debug_auth_names] || []
|
|
20005
21082
|
|
|
20006
21083
|
new_options = opts.merge(
|
|
20007
|
-
:operation => :"V2Api.
|
|
21084
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_google_chronicle",
|
|
20008
21085
|
:header_params => header_params,
|
|
20009
21086
|
:query_params => query_params,
|
|
20010
21087
|
:form_params => form_params,
|
|
@@ -20015,32 +21092,32 @@ module Akeyless
|
|
|
20015
21092
|
|
|
20016
21093
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20017
21094
|
if @api_client.config.debugging
|
|
20018
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21095
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_google_chronicle\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20019
21096
|
end
|
|
20020
21097
|
return data, status_code, headers
|
|
20021
21098
|
end
|
|
20022
21099
|
|
|
20023
|
-
# @param body [
|
|
21100
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogstash]
|
|
20024
21101
|
# @param [Hash] opts the optional parameters
|
|
20025
|
-
# @return [
|
|
20026
|
-
def
|
|
20027
|
-
data, _status_code, _headers =
|
|
21102
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21103
|
+
def gw_update_remote_access_session_logs_logstash(body, opts = {})
|
|
21104
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_logstash_with_http_info(body, opts)
|
|
20028
21105
|
data
|
|
20029
21106
|
end
|
|
20030
21107
|
|
|
20031
|
-
# @param body [
|
|
21108
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogstash]
|
|
20032
21109
|
# @param [Hash] opts the optional parameters
|
|
20033
|
-
# @return [Array<(
|
|
20034
|
-
def
|
|
21110
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21111
|
+
def gw_update_remote_access_session_logs_logstash_with_http_info(body, opts = {})
|
|
20035
21112
|
if @api_client.config.debugging
|
|
20036
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21113
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_logstash ...'
|
|
20037
21114
|
end
|
|
20038
21115
|
# verify the required parameter 'body' is set
|
|
20039
21116
|
if @api_client.config.client_side_validation && body.nil?
|
|
20040
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21117
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_logstash"
|
|
20041
21118
|
end
|
|
20042
21119
|
# resource path
|
|
20043
|
-
local_var_path = '/
|
|
21120
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-logstash'
|
|
20044
21121
|
|
|
20045
21122
|
# query parameters
|
|
20046
21123
|
query_params = opts[:query_params] || {}
|
|
@@ -20062,13 +21139,13 @@ module Akeyless
|
|
|
20062
21139
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20063
21140
|
|
|
20064
21141
|
# return_type
|
|
20065
|
-
return_type = opts[:debug_return_type] || '
|
|
21142
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20066
21143
|
|
|
20067
21144
|
# auth_names
|
|
20068
21145
|
auth_names = opts[:debug_auth_names] || []
|
|
20069
21146
|
|
|
20070
21147
|
new_options = opts.merge(
|
|
20071
|
-
:operation => :"V2Api.
|
|
21148
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_logstash",
|
|
20072
21149
|
:header_params => header_params,
|
|
20073
21150
|
:query_params => query_params,
|
|
20074
21151
|
:form_params => form_params,
|
|
@@ -20079,32 +21156,32 @@ module Akeyless
|
|
|
20079
21156
|
|
|
20080
21157
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20081
21158
|
if @api_client.config.debugging
|
|
20082
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21159
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_logstash\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20083
21160
|
end
|
|
20084
21161
|
return data, status_code, headers
|
|
20085
21162
|
end
|
|
20086
21163
|
|
|
20087
|
-
# @param body [
|
|
21164
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogzIo]
|
|
20088
21165
|
# @param [Hash] opts the optional parameters
|
|
20089
|
-
# @return [
|
|
20090
|
-
def
|
|
20091
|
-
data, _status_code, _headers =
|
|
21166
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21167
|
+
def gw_update_remote_access_session_logs_logz_io(body, opts = {})
|
|
21168
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_logz_io_with_http_info(body, opts)
|
|
20092
21169
|
data
|
|
20093
21170
|
end
|
|
20094
21171
|
|
|
20095
|
-
# @param body [
|
|
21172
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogzIo]
|
|
20096
21173
|
# @param [Hash] opts the optional parameters
|
|
20097
|
-
# @return [Array<(
|
|
20098
|
-
def
|
|
21174
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21175
|
+
def gw_update_remote_access_session_logs_logz_io_with_http_info(body, opts = {})
|
|
20099
21176
|
if @api_client.config.debugging
|
|
20100
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21177
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_logz_io ...'
|
|
20101
21178
|
end
|
|
20102
21179
|
# verify the required parameter 'body' is set
|
|
20103
21180
|
if @api_client.config.client_side_validation && body.nil?
|
|
20104
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21181
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_logz_io"
|
|
20105
21182
|
end
|
|
20106
21183
|
# resource path
|
|
20107
|
-
local_var_path = '/
|
|
21184
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-logz-io'
|
|
20108
21185
|
|
|
20109
21186
|
# query parameters
|
|
20110
21187
|
query_params = opts[:query_params] || {}
|
|
@@ -20126,13 +21203,13 @@ module Akeyless
|
|
|
20126
21203
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20127
21204
|
|
|
20128
21205
|
# return_type
|
|
20129
|
-
return_type = opts[:debug_return_type] || '
|
|
21206
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20130
21207
|
|
|
20131
21208
|
# auth_names
|
|
20132
21209
|
auth_names = opts[:debug_auth_names] || []
|
|
20133
21210
|
|
|
20134
21211
|
new_options = opts.merge(
|
|
20135
|
-
:operation => :"V2Api.
|
|
21212
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_logz_io",
|
|
20136
21213
|
:header_params => header_params,
|
|
20137
21214
|
:query_params => query_params,
|
|
20138
21215
|
:form_params => form_params,
|
|
@@ -20143,32 +21220,32 @@ module Akeyless
|
|
|
20143
21220
|
|
|
20144
21221
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20145
21222
|
if @api_client.config.debugging
|
|
20146
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21223
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_logz_io\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20147
21224
|
end
|
|
20148
21225
|
return data, status_code, headers
|
|
20149
21226
|
end
|
|
20150
21227
|
|
|
20151
|
-
# @param body [
|
|
21228
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSplunk]
|
|
20152
21229
|
# @param [Hash] opts the optional parameters
|
|
20153
|
-
# @return [
|
|
20154
|
-
def
|
|
20155
|
-
data, _status_code, _headers =
|
|
21230
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21231
|
+
def gw_update_remote_access_session_logs_splunk(body, opts = {})
|
|
21232
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_splunk_with_http_info(body, opts)
|
|
20156
21233
|
data
|
|
20157
21234
|
end
|
|
20158
21235
|
|
|
20159
|
-
# @param body [
|
|
21236
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSplunk]
|
|
20160
21237
|
# @param [Hash] opts the optional parameters
|
|
20161
|
-
# @return [Array<(
|
|
20162
|
-
def
|
|
21238
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21239
|
+
def gw_update_remote_access_session_logs_splunk_with_http_info(body, opts = {})
|
|
20163
21240
|
if @api_client.config.debugging
|
|
20164
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21241
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_splunk ...'
|
|
20165
21242
|
end
|
|
20166
21243
|
# verify the required parameter 'body' is set
|
|
20167
21244
|
if @api_client.config.client_side_validation && body.nil?
|
|
20168
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21245
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_splunk"
|
|
20169
21246
|
end
|
|
20170
21247
|
# resource path
|
|
20171
|
-
local_var_path = '/
|
|
21248
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-splunk'
|
|
20172
21249
|
|
|
20173
21250
|
# query parameters
|
|
20174
21251
|
query_params = opts[:query_params] || {}
|
|
@@ -20190,13 +21267,13 @@ module Akeyless
|
|
|
20190
21267
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20191
21268
|
|
|
20192
21269
|
# return_type
|
|
20193
|
-
return_type = opts[:debug_return_type] || '
|
|
21270
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20194
21271
|
|
|
20195
21272
|
# auth_names
|
|
20196
21273
|
auth_names = opts[:debug_auth_names] || []
|
|
20197
21274
|
|
|
20198
21275
|
new_options = opts.merge(
|
|
20199
|
-
:operation => :"V2Api.
|
|
21276
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_splunk",
|
|
20200
21277
|
:header_params => header_params,
|
|
20201
21278
|
:query_params => query_params,
|
|
20202
21279
|
:form_params => form_params,
|
|
@@ -20207,32 +21284,32 @@ module Akeyless
|
|
|
20207
21284
|
|
|
20208
21285
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20209
21286
|
if @api_client.config.debugging
|
|
20210
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21287
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_splunk\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20211
21288
|
end
|
|
20212
21289
|
return data, status_code, headers
|
|
20213
21290
|
end
|
|
20214
21291
|
|
|
20215
|
-
# @param body [
|
|
21292
|
+
# @param body [GwUpdateRemoteAccessSessionLogsStdout]
|
|
20216
21293
|
# @param [Hash] opts the optional parameters
|
|
20217
|
-
# @return [
|
|
20218
|
-
def
|
|
20219
|
-
data, _status_code, _headers =
|
|
21294
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21295
|
+
def gw_update_remote_access_session_logs_stdout(body, opts = {})
|
|
21296
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_stdout_with_http_info(body, opts)
|
|
20220
21297
|
data
|
|
20221
21298
|
end
|
|
20222
21299
|
|
|
20223
|
-
# @param body [
|
|
21300
|
+
# @param body [GwUpdateRemoteAccessSessionLogsStdout]
|
|
20224
21301
|
# @param [Hash] opts the optional parameters
|
|
20225
|
-
# @return [Array<(
|
|
20226
|
-
def
|
|
21302
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21303
|
+
def gw_update_remote_access_session_logs_stdout_with_http_info(body, opts = {})
|
|
20227
21304
|
if @api_client.config.debugging
|
|
20228
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21305
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_stdout ...'
|
|
20229
21306
|
end
|
|
20230
21307
|
# verify the required parameter 'body' is set
|
|
20231
21308
|
if @api_client.config.client_side_validation && body.nil?
|
|
20232
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21309
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_stdout"
|
|
20233
21310
|
end
|
|
20234
21311
|
# resource path
|
|
20235
|
-
local_var_path = '/
|
|
21312
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-stdout'
|
|
20236
21313
|
|
|
20237
21314
|
# query parameters
|
|
20238
21315
|
query_params = opts[:query_params] || {}
|
|
@@ -20254,13 +21331,13 @@ module Akeyless
|
|
|
20254
21331
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20255
21332
|
|
|
20256
21333
|
# return_type
|
|
20257
|
-
return_type = opts[:debug_return_type] || '
|
|
21334
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20258
21335
|
|
|
20259
21336
|
# auth_names
|
|
20260
21337
|
auth_names = opts[:debug_auth_names] || []
|
|
20261
21338
|
|
|
20262
21339
|
new_options = opts.merge(
|
|
20263
|
-
:operation => :"V2Api.
|
|
21340
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_stdout",
|
|
20264
21341
|
:header_params => header_params,
|
|
20265
21342
|
:query_params => query_params,
|
|
20266
21343
|
:form_params => form_params,
|
|
@@ -20271,32 +21348,32 @@ module Akeyless
|
|
|
20271
21348
|
|
|
20272
21349
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20273
21350
|
if @api_client.config.debugging
|
|
20274
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21351
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_stdout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20275
21352
|
end
|
|
20276
21353
|
return data, status_code, headers
|
|
20277
21354
|
end
|
|
20278
21355
|
|
|
20279
|
-
# @param body [
|
|
21356
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSumologic]
|
|
20280
21357
|
# @param [Hash] opts the optional parameters
|
|
20281
|
-
# @return [
|
|
20282
|
-
def
|
|
20283
|
-
data, _status_code, _headers =
|
|
21358
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21359
|
+
def gw_update_remote_access_session_logs_sumologic(body, opts = {})
|
|
21360
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_sumologic_with_http_info(body, opts)
|
|
20284
21361
|
data
|
|
20285
21362
|
end
|
|
20286
21363
|
|
|
20287
|
-
# @param body [
|
|
21364
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSumologic]
|
|
20288
21365
|
# @param [Hash] opts the optional parameters
|
|
20289
|
-
# @return [Array<(
|
|
20290
|
-
def
|
|
21366
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21367
|
+
def gw_update_remote_access_session_logs_sumologic_with_http_info(body, opts = {})
|
|
20291
21368
|
if @api_client.config.debugging
|
|
20292
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21369
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_sumologic ...'
|
|
20293
21370
|
end
|
|
20294
21371
|
# verify the required parameter 'body' is set
|
|
20295
21372
|
if @api_client.config.client_side_validation && body.nil?
|
|
20296
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21373
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_sumologic"
|
|
20297
21374
|
end
|
|
20298
21375
|
# resource path
|
|
20299
|
-
local_var_path = '/
|
|
21376
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-sumologic'
|
|
20300
21377
|
|
|
20301
21378
|
# query parameters
|
|
20302
21379
|
query_params = opts[:query_params] || {}
|
|
@@ -20318,13 +21395,13 @@ module Akeyless
|
|
|
20318
21395
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20319
21396
|
|
|
20320
21397
|
# return_type
|
|
20321
|
-
return_type = opts[:debug_return_type] || '
|
|
21398
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20322
21399
|
|
|
20323
21400
|
# auth_names
|
|
20324
21401
|
auth_names = opts[:debug_auth_names] || []
|
|
20325
21402
|
|
|
20326
21403
|
new_options = opts.merge(
|
|
20327
|
-
:operation => :"V2Api.
|
|
21404
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_sumologic",
|
|
20328
21405
|
:header_params => header_params,
|
|
20329
21406
|
:query_params => query_params,
|
|
20330
21407
|
:form_params => form_params,
|
|
@@ -20335,32 +21412,32 @@ module Akeyless
|
|
|
20335
21412
|
|
|
20336
21413
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20337
21414
|
if @api_client.config.debugging
|
|
20338
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21415
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_sumologic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20339
21416
|
end
|
|
20340
21417
|
return data, status_code, headers
|
|
20341
21418
|
end
|
|
20342
21419
|
|
|
20343
|
-
# @param body [
|
|
21420
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSyslog]
|
|
20344
21421
|
# @param [Hash] opts the optional parameters
|
|
20345
|
-
# @return [
|
|
20346
|
-
def
|
|
20347
|
-
data, _status_code, _headers =
|
|
21422
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21423
|
+
def gw_update_remote_access_session_logs_syslog(body, opts = {})
|
|
21424
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_syslog_with_http_info(body, opts)
|
|
20348
21425
|
data
|
|
20349
21426
|
end
|
|
20350
21427
|
|
|
20351
|
-
# @param body [
|
|
21428
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSyslog]
|
|
20352
21429
|
# @param [Hash] opts the optional parameters
|
|
20353
|
-
# @return [Array<(
|
|
20354
|
-
def
|
|
21430
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21431
|
+
def gw_update_remote_access_session_logs_syslog_with_http_info(body, opts = {})
|
|
20355
21432
|
if @api_client.config.debugging
|
|
20356
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
|
21433
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_syslog ...'
|
|
20357
21434
|
end
|
|
20358
21435
|
# verify the required parameter 'body' is set
|
|
20359
21436
|
if @api_client.config.client_side_validation && body.nil?
|
|
20360
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
|
21437
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_syslog"
|
|
20361
21438
|
end
|
|
20362
21439
|
# resource path
|
|
20363
|
-
local_var_path = '/
|
|
21440
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-syslog'
|
|
20364
21441
|
|
|
20365
21442
|
# query parameters
|
|
20366
21443
|
query_params = opts[:query_params] || {}
|
|
@@ -20382,13 +21459,13 @@ module Akeyless
|
|
|
20382
21459
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20383
21460
|
|
|
20384
21461
|
# return_type
|
|
20385
|
-
return_type = opts[:debug_return_type] || '
|
|
21462
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20386
21463
|
|
|
20387
21464
|
# auth_names
|
|
20388
21465
|
auth_names = opts[:debug_auth_names] || []
|
|
20389
21466
|
|
|
20390
21467
|
new_options = opts.merge(
|
|
20391
|
-
:operation => :"V2Api.
|
|
21468
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_syslog",
|
|
20392
21469
|
:header_params => header_params,
|
|
20393
21470
|
:query_params => query_params,
|
|
20394
21471
|
:form_params => form_params,
|
|
@@ -20399,7 +21476,7 @@ module Akeyless
|
|
|
20399
21476
|
|
|
20400
21477
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20401
21478
|
if @api_client.config.debugging
|
|
20402
|
-
@api_client.config.logger.debug "API called: V2Api#
|
|
21479
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_syslog\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20403
21480
|
end
|
|
20404
21481
|
return data, status_code, headers
|
|
20405
21482
|
end
|
|
@@ -21312,6 +22389,70 @@ module Akeyless
|
|
|
21312
22389
|
return data, status_code, headers
|
|
21313
22390
|
end
|
|
21314
22391
|
|
|
22392
|
+
# @param body [ListAcmeAccounts]
|
|
22393
|
+
# @param [Hash] opts the optional parameters
|
|
22394
|
+
# @return [ListAcmeAccountsOutput]
|
|
22395
|
+
def list_acme_accounts(body, opts = {})
|
|
22396
|
+
data, _status_code, _headers = list_acme_accounts_with_http_info(body, opts)
|
|
22397
|
+
data
|
|
22398
|
+
end
|
|
22399
|
+
|
|
22400
|
+
# @param body [ListAcmeAccounts]
|
|
22401
|
+
# @param [Hash] opts the optional parameters
|
|
22402
|
+
# @return [Array<(ListAcmeAccountsOutput, Integer, Hash)>] ListAcmeAccountsOutput data, response status code and response headers
|
|
22403
|
+
def list_acme_accounts_with_http_info(body, opts = {})
|
|
22404
|
+
if @api_client.config.debugging
|
|
22405
|
+
@api_client.config.logger.debug 'Calling API: V2Api.list_acme_accounts ...'
|
|
22406
|
+
end
|
|
22407
|
+
# verify the required parameter 'body' is set
|
|
22408
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
22409
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_acme_accounts"
|
|
22410
|
+
end
|
|
22411
|
+
# resource path
|
|
22412
|
+
local_var_path = '/list-acme-accounts'
|
|
22413
|
+
|
|
22414
|
+
# query parameters
|
|
22415
|
+
query_params = opts[:query_params] || {}
|
|
22416
|
+
|
|
22417
|
+
# header parameters
|
|
22418
|
+
header_params = opts[:header_params] || {}
|
|
22419
|
+
# HTTP header 'Accept' (if needed)
|
|
22420
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
22421
|
+
# HTTP header 'Content-Type'
|
|
22422
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
22423
|
+
if !content_type.nil?
|
|
22424
|
+
header_params['Content-Type'] = content_type
|
|
22425
|
+
end
|
|
22426
|
+
|
|
22427
|
+
# form parameters
|
|
22428
|
+
form_params = opts[:form_params] || {}
|
|
22429
|
+
|
|
22430
|
+
# http body (model)
|
|
22431
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
22432
|
+
|
|
22433
|
+
# return_type
|
|
22434
|
+
return_type = opts[:debug_return_type] || 'ListAcmeAccountsOutput'
|
|
22435
|
+
|
|
22436
|
+
# auth_names
|
|
22437
|
+
auth_names = opts[:debug_auth_names] || []
|
|
22438
|
+
|
|
22439
|
+
new_options = opts.merge(
|
|
22440
|
+
:operation => :"V2Api.list_acme_accounts",
|
|
22441
|
+
:header_params => header_params,
|
|
22442
|
+
:query_params => query_params,
|
|
22443
|
+
:form_params => form_params,
|
|
22444
|
+
:body => post_body,
|
|
22445
|
+
:auth_names => auth_names,
|
|
22446
|
+
:return_type => return_type
|
|
22447
|
+
)
|
|
22448
|
+
|
|
22449
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
22450
|
+
if @api_client.config.debugging
|
|
22451
|
+
@api_client.config.logger.debug "API called: V2Api#list_acme_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
22452
|
+
end
|
|
22453
|
+
return data, status_code, headers
|
|
22454
|
+
end
|
|
22455
|
+
|
|
21315
22456
|
# @param body [ListAuthMethods]
|
|
21316
22457
|
# @param [Hash] opts the optional parameters
|
|
21317
22458
|
# @return [ListAuthMethodsOutput]
|