akeyless 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/docs/CreateAWSTarget.md +3 -1
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAzureTarget.md +3 -1
- data/docs/CreateDBTarget.md +3 -1
- data/docs/CreateDockerhubTarget.md +3 -1
- data/docs/CreateEKSTarget.md +3 -1
- data/docs/CreateEventForwarder.md +3 -1
- data/docs/CreateGKETarget.md +3 -1
- data/docs/CreateGcpTarget.md +3 -1
- data/docs/CreateGithubTarget.md +3 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreateNativeK8STarget.md +3 -1
- data/docs/CreatePingTarget.md +40 -0
- data/docs/CreatePingTargetOutput.md +18 -0
- data/docs/CreateRabbitMQTarget.md +3 -1
- data/docs/CreateRole.md +3 -1
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/CreateSSHTarget.md +3 -1
- data/docs/CreateSalesforceTarget.md +3 -1
- data/docs/CreateWebTarget.md +3 -1
- data/docs/DSProducerDetails.md +40 -0
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayCreateProducerPing.md +66 -0
- data/docs/GatewayCreateProducerPingOutput.md +18 -0
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerPing.md +68 -0
- data/docs/GatewayUpdateProducerPingOutput.md +18 -0
- data/docs/GetKubeExecCreds.md +5 -3
- data/docs/GetPKICertificate.md +5 -3
- data/docs/ImporterInfo.md +20 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/RequestAccess.md +3 -1
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/TargetTypeDetailsInput.md +10 -0
- data/docs/UidCreateChildToken.md +3 -1
- data/docs/UpdateAWSTarget.md +3 -1
- data/docs/UpdateArtifactoryTarget.md +3 -1
- data/docs/UpdateAzureTarget.md +3 -1
- data/docs/UpdateDBTarget.md +3 -1
- data/docs/UpdateDockerhubTarget.md +3 -1
- data/docs/UpdateEKSTarget.md +3 -1
- data/docs/UpdateEventForwarder.md +3 -1
- data/docs/UpdateGKETarget.md +3 -1
- data/docs/UpdateGcpTarget.md +3 -1
- data/docs/UpdateGithubTarget.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdateNativeK8STarget.md +3 -1
- data/docs/UpdatePingTarget.md +46 -0
- data/docs/UpdateRabbitMQTarget.md +3 -1
- data/docs/UpdateRole.md +3 -1
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/UpdateSSHTarget.md +3 -1
- data/docs/UpdateSalesforceTarget.md +3 -1
- data/docs/UpdateTarget.md +3 -1
- data/docs/UpdateWebTarget.md +3 -1
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_artifactory_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_azure_target.rb +12 -2
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_event_forwarder.rb +12 -2
- data/lib/akeyless/models/create_gcp_target.rb +12 -2
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_ldap_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_ping_target.rb +339 -0
- data/lib/akeyless/models/create_ping_target_output.rb +219 -0
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +13 -1
- data/lib/akeyless/models/create_salesforce_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/ds_producer_details.rb +196 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
- data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
- data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
- data/lib/akeyless/models/get_pki_certificate.rb +14 -4
- data/lib/akeyless/models/importer_info.rb +228 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/request_access.rb +12 -2
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +46 -1
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +12 -2
- data/lib/akeyless/models/update_db_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_event_forwarder.rb +14 -2
- data/lib/akeyless/models/update_gcp_target.rb +12 -2
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_ldap_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_ping_target.rb +368 -0
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_role.rb +14 -2
- data/lib/akeyless/models/update_rotated_secret.rb +13 -1
- data/lib/akeyless/models/update_salesforce_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_target.rb +14 -2
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -0
- data/spec/models/create_ping_target_output_spec.rb +34 -0
- data/spec/models/create_ping_target_spec.rb +94 -0
- data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
- data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
- data/spec/models/importer_info_spec.rb +40 -0
- data/spec/models/update_ping_target_spec.rb +112 -0
- metadata +594 -562
data/docs/V2Api.md
CHANGED
@@ -37,6 +37,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
37
37
|
| [**create_gke_target**](V2Api.md#create_gke_target) | **POST** /create-gke-target | |
|
38
38
|
| [**create_key**](V2Api.md#create_key) | **POST** /create-key | |
|
39
39
|
| [**create_native_k8_s_target**](V2Api.md#create_native_k8_s_target) | **POST** /create-k8s-target | |
|
40
|
+
| [**create_ping_target**](V2Api.md#create_ping_target) | **POST** /create-ping-target | |
|
40
41
|
| [**create_pki_cert_issuer**](V2Api.md#create_pki_cert_issuer) | **POST** /create-pki-cert-issuer | |
|
41
42
|
| [**create_rabbit_mq_target**](V2Api.md#create_rabbit_mq_target) | **POST** /create-rabbitmq-target | |
|
42
43
|
| [**create_role**](V2Api.md#create_role) | **POST** /create-role | |
|
@@ -92,6 +93,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
92
93
|
| [**gateway_create_producer_my_sql**](V2Api.md#gateway_create_producer_my_sql) | **POST** /gateway-create-producer-mysql | |
|
93
94
|
| [**gateway_create_producer_native_k8_s**](V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s | |
|
94
95
|
| [**gateway_create_producer_oracle_db**](V2Api.md#gateway_create_producer_oracle_db) | **POST** /gateway-create-producer-oracle | |
|
96
|
+
| [**gateway_create_producer_ping**](V2Api.md#gateway_create_producer_ping) | **POST** /gateway-create-producer-ping | |
|
95
97
|
| [**gateway_create_producer_postgre_sql**](V2Api.md#gateway_create_producer_postgre_sql) | **POST** /gateway-create-producer-postgresql | |
|
96
98
|
| [**gateway_create_producer_rabbit_mq**](V2Api.md#gateway_create_producer_rabbit_mq) | **POST** /gateway-create-producer-rabbitmq | |
|
97
99
|
| [**gateway_create_producer_rdp**](V2Api.md#gateway_create_producer_rdp) | **POST** /gateway-create-producer-rdp | |
|
@@ -138,6 +140,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
138
140
|
| [**gateway_update_producer_my_sql**](V2Api.md#gateway_update_producer_my_sql) | **POST** /gateway-update-producer-mysql | |
|
139
141
|
| [**gateway_update_producer_native_k8_s**](V2Api.md#gateway_update_producer_native_k8_s) | **POST** /gateway-update-producer-k8s | |
|
140
142
|
| [**gateway_update_producer_oracle_db**](V2Api.md#gateway_update_producer_oracle_db) | **POST** /gateway-update-producer-oracle | |
|
143
|
+
| [**gateway_update_producer_ping**](V2Api.md#gateway_update_producer_ping) | **POST** /gateway-update-producer-ping | |
|
141
144
|
| [**gateway_update_producer_postgre_sql**](V2Api.md#gateway_update_producer_postgre_sql) | **POST** /gateway-update-producer-postgresql | |
|
142
145
|
| [**gateway_update_producer_rabbit_mq**](V2Api.md#gateway_update_producer_rabbit_mq) | **POST** /gateway-update-producer-rabbitmq | |
|
143
146
|
| [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
|
@@ -234,6 +237,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
234
237
|
| [**update_ldap_target**](V2Api.md#update_ldap_target) | **POST** /update-ldap-target | |
|
235
238
|
| [**update_ldap_target_details**](V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | |
|
236
239
|
| [**update_native_k8_s_target**](V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target | |
|
240
|
+
| [**update_ping_target**](V2Api.md#update_ping_target) | **POST** /update-ping-target | |
|
237
241
|
| [**update_pki_cert_issuer**](V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer | |
|
238
242
|
| [**update_rabbit_mq_target**](V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target | |
|
239
243
|
| [**update_rabbit_mq_target_details**](V2Api.md#update_rabbit_mq_target_details) | **POST** /update-rabbitmq-target-details | |
|
@@ -2304,6 +2308,68 @@ No authorization required
|
|
2304
2308
|
- **Accept**: application/json
|
2305
2309
|
|
2306
2310
|
|
2311
|
+
## create_ping_target
|
2312
|
+
|
2313
|
+
> <CreatePingTargetOutput> create_ping_target(body)
|
2314
|
+
|
2315
|
+
|
2316
|
+
|
2317
|
+
### Examples
|
2318
|
+
|
2319
|
+
```ruby
|
2320
|
+
require 'time'
|
2321
|
+
require 'akeyless'
|
2322
|
+
|
2323
|
+
api_instance = Akeyless::V2Api.new
|
2324
|
+
body = Akeyless::CreatePingTarget.new({name: 'name_example'}) # CreatePingTarget |
|
2325
|
+
|
2326
|
+
begin
|
2327
|
+
|
2328
|
+
result = api_instance.create_ping_target(body)
|
2329
|
+
p result
|
2330
|
+
rescue Akeyless::ApiError => e
|
2331
|
+
puts "Error when calling V2Api->create_ping_target: #{e}"
|
2332
|
+
end
|
2333
|
+
```
|
2334
|
+
|
2335
|
+
#### Using the create_ping_target_with_http_info variant
|
2336
|
+
|
2337
|
+
This returns an Array which contains the response data, status code and headers.
|
2338
|
+
|
2339
|
+
> <Array(<CreatePingTargetOutput>, Integer, Hash)> create_ping_target_with_http_info(body)
|
2340
|
+
|
2341
|
+
```ruby
|
2342
|
+
begin
|
2343
|
+
|
2344
|
+
data, status_code, headers = api_instance.create_ping_target_with_http_info(body)
|
2345
|
+
p status_code # => 2xx
|
2346
|
+
p headers # => { ... }
|
2347
|
+
p data # => <CreatePingTargetOutput>
|
2348
|
+
rescue Akeyless::ApiError => e
|
2349
|
+
puts "Error when calling V2Api->create_ping_target_with_http_info: #{e}"
|
2350
|
+
end
|
2351
|
+
```
|
2352
|
+
|
2353
|
+
### Parameters
|
2354
|
+
|
2355
|
+
| Name | Type | Description | Notes |
|
2356
|
+
| ---- | ---- | ----------- | ----- |
|
2357
|
+
| **body** | [**CreatePingTarget**](CreatePingTarget.md) | | |
|
2358
|
+
|
2359
|
+
### Return type
|
2360
|
+
|
2361
|
+
[**CreatePingTargetOutput**](CreatePingTargetOutput.md)
|
2362
|
+
|
2363
|
+
### Authorization
|
2364
|
+
|
2365
|
+
No authorization required
|
2366
|
+
|
2367
|
+
### HTTP request headers
|
2368
|
+
|
2369
|
+
- **Content-Type**: application/json
|
2370
|
+
- **Accept**: application/json
|
2371
|
+
|
2372
|
+
|
2307
2373
|
## create_pki_cert_issuer
|
2308
2374
|
|
2309
2375
|
> <CreatePKICertIssuerOutput> create_pki_cert_issuer(body)
|
@@ -5716,6 +5782,68 @@ No authorization required
|
|
5716
5782
|
- **Accept**: application/json
|
5717
5783
|
|
5718
5784
|
|
5785
|
+
## gateway_create_producer_ping
|
5786
|
+
|
5787
|
+
> <GatewayCreateProducerPingOutput> gateway_create_producer_ping(body)
|
5788
|
+
|
5789
|
+
|
5790
|
+
|
5791
|
+
### Examples
|
5792
|
+
|
5793
|
+
```ruby
|
5794
|
+
require 'time'
|
5795
|
+
require 'akeyless'
|
5796
|
+
|
5797
|
+
api_instance = Akeyless::V2Api.new
|
5798
|
+
body = Akeyless::GatewayCreateProducerPing.new({name: 'name_example'}) # GatewayCreateProducerPing |
|
5799
|
+
|
5800
|
+
begin
|
5801
|
+
|
5802
|
+
result = api_instance.gateway_create_producer_ping(body)
|
5803
|
+
p result
|
5804
|
+
rescue Akeyless::ApiError => e
|
5805
|
+
puts "Error when calling V2Api->gateway_create_producer_ping: #{e}"
|
5806
|
+
end
|
5807
|
+
```
|
5808
|
+
|
5809
|
+
#### Using the gateway_create_producer_ping_with_http_info variant
|
5810
|
+
|
5811
|
+
This returns an Array which contains the response data, status code and headers.
|
5812
|
+
|
5813
|
+
> <Array(<GatewayCreateProducerPingOutput>, Integer, Hash)> gateway_create_producer_ping_with_http_info(body)
|
5814
|
+
|
5815
|
+
```ruby
|
5816
|
+
begin
|
5817
|
+
|
5818
|
+
data, status_code, headers = api_instance.gateway_create_producer_ping_with_http_info(body)
|
5819
|
+
p status_code # => 2xx
|
5820
|
+
p headers # => { ... }
|
5821
|
+
p data # => <GatewayCreateProducerPingOutput>
|
5822
|
+
rescue Akeyless::ApiError => e
|
5823
|
+
puts "Error when calling V2Api->gateway_create_producer_ping_with_http_info: #{e}"
|
5824
|
+
end
|
5825
|
+
```
|
5826
|
+
|
5827
|
+
### Parameters
|
5828
|
+
|
5829
|
+
| Name | Type | Description | Notes |
|
5830
|
+
| ---- | ---- | ----------- | ----- |
|
5831
|
+
| **body** | [**GatewayCreateProducerPing**](GatewayCreateProducerPing.md) | | |
|
5832
|
+
|
5833
|
+
### Return type
|
5834
|
+
|
5835
|
+
[**GatewayCreateProducerPingOutput**](GatewayCreateProducerPingOutput.md)
|
5836
|
+
|
5837
|
+
### Authorization
|
5838
|
+
|
5839
|
+
No authorization required
|
5840
|
+
|
5841
|
+
### HTTP request headers
|
5842
|
+
|
5843
|
+
- **Content-Type**: application/json
|
5844
|
+
- **Accept**: application/json
|
5845
|
+
|
5846
|
+
|
5719
5847
|
## gateway_create_producer_postgre_sql
|
5720
5848
|
|
5721
5849
|
> <GatewayCreateProducerPostgreSQLOutput> gateway_create_producer_postgre_sql(body)
|
@@ -8571,6 +8699,68 @@ No authorization required
|
|
8571
8699
|
- **Accept**: application/json
|
8572
8700
|
|
8573
8701
|
|
8702
|
+
## gateway_update_producer_ping
|
8703
|
+
|
8704
|
+
> <GatewayUpdateProducerPingOutput> gateway_update_producer_ping(body)
|
8705
|
+
|
8706
|
+
|
8707
|
+
|
8708
|
+
### Examples
|
8709
|
+
|
8710
|
+
```ruby
|
8711
|
+
require 'time'
|
8712
|
+
require 'akeyless'
|
8713
|
+
|
8714
|
+
api_instance = Akeyless::V2Api.new
|
8715
|
+
body = Akeyless::GatewayUpdateProducerPing.new({name: 'name_example'}) # GatewayUpdateProducerPing |
|
8716
|
+
|
8717
|
+
begin
|
8718
|
+
|
8719
|
+
result = api_instance.gateway_update_producer_ping(body)
|
8720
|
+
p result
|
8721
|
+
rescue Akeyless::ApiError => e
|
8722
|
+
puts "Error when calling V2Api->gateway_update_producer_ping: #{e}"
|
8723
|
+
end
|
8724
|
+
```
|
8725
|
+
|
8726
|
+
#### Using the gateway_update_producer_ping_with_http_info variant
|
8727
|
+
|
8728
|
+
This returns an Array which contains the response data, status code and headers.
|
8729
|
+
|
8730
|
+
> <Array(<GatewayUpdateProducerPingOutput>, Integer, Hash)> gateway_update_producer_ping_with_http_info(body)
|
8731
|
+
|
8732
|
+
```ruby
|
8733
|
+
begin
|
8734
|
+
|
8735
|
+
data, status_code, headers = api_instance.gateway_update_producer_ping_with_http_info(body)
|
8736
|
+
p status_code # => 2xx
|
8737
|
+
p headers # => { ... }
|
8738
|
+
p data # => <GatewayUpdateProducerPingOutput>
|
8739
|
+
rescue Akeyless::ApiError => e
|
8740
|
+
puts "Error when calling V2Api->gateway_update_producer_ping_with_http_info: #{e}"
|
8741
|
+
end
|
8742
|
+
```
|
8743
|
+
|
8744
|
+
### Parameters
|
8745
|
+
|
8746
|
+
| Name | Type | Description | Notes |
|
8747
|
+
| ---- | ---- | ----------- | ----- |
|
8748
|
+
| **body** | [**GatewayUpdateProducerPing**](GatewayUpdateProducerPing.md) | | |
|
8749
|
+
|
8750
|
+
### Return type
|
8751
|
+
|
8752
|
+
[**GatewayUpdateProducerPingOutput**](GatewayUpdateProducerPingOutput.md)
|
8753
|
+
|
8754
|
+
### Authorization
|
8755
|
+
|
8756
|
+
No authorization required
|
8757
|
+
|
8758
|
+
### HTTP request headers
|
8759
|
+
|
8760
|
+
- **Content-Type**: application/json
|
8761
|
+
- **Accept**: application/json
|
8762
|
+
|
8763
|
+
|
8574
8764
|
## gateway_update_producer_postgre_sql
|
8575
8765
|
|
8576
8766
|
> <GatewayUpdateProducerPostgreSQLOutput> gateway_update_producer_postgre_sql(body)
|
@@ -14542,6 +14732,68 @@ No authorization required
|
|
14542
14732
|
- **Accept**: application/json
|
14543
14733
|
|
14544
14734
|
|
14735
|
+
## update_ping_target
|
14736
|
+
|
14737
|
+
> Object update_ping_target(body)
|
14738
|
+
|
14739
|
+
|
14740
|
+
|
14741
|
+
### Examples
|
14742
|
+
|
14743
|
+
```ruby
|
14744
|
+
require 'time'
|
14745
|
+
require 'akeyless'
|
14746
|
+
|
14747
|
+
api_instance = Akeyless::V2Api.new
|
14748
|
+
body = Akeyless::UpdatePingTarget.new({name: 'name_example'}) # UpdatePingTarget |
|
14749
|
+
|
14750
|
+
begin
|
14751
|
+
|
14752
|
+
result = api_instance.update_ping_target(body)
|
14753
|
+
p result
|
14754
|
+
rescue Akeyless::ApiError => e
|
14755
|
+
puts "Error when calling V2Api->update_ping_target: #{e}"
|
14756
|
+
end
|
14757
|
+
```
|
14758
|
+
|
14759
|
+
#### Using the update_ping_target_with_http_info variant
|
14760
|
+
|
14761
|
+
This returns an Array which contains the response data, status code and headers.
|
14762
|
+
|
14763
|
+
> <Array(Object, Integer, Hash)> update_ping_target_with_http_info(body)
|
14764
|
+
|
14765
|
+
```ruby
|
14766
|
+
begin
|
14767
|
+
|
14768
|
+
data, status_code, headers = api_instance.update_ping_target_with_http_info(body)
|
14769
|
+
p status_code # => 2xx
|
14770
|
+
p headers # => { ... }
|
14771
|
+
p data # => Object
|
14772
|
+
rescue Akeyless::ApiError => e
|
14773
|
+
puts "Error when calling V2Api->update_ping_target_with_http_info: #{e}"
|
14774
|
+
end
|
14775
|
+
```
|
14776
|
+
|
14777
|
+
### Parameters
|
14778
|
+
|
14779
|
+
| Name | Type | Description | Notes |
|
14780
|
+
| ---- | ---- | ----------- | ----- |
|
14781
|
+
| **body** | [**UpdatePingTarget**](UpdatePingTarget.md) | | |
|
14782
|
+
|
14783
|
+
### Return type
|
14784
|
+
|
14785
|
+
**Object**
|
14786
|
+
|
14787
|
+
### Authorization
|
14788
|
+
|
14789
|
+
No authorization required
|
14790
|
+
|
14791
|
+
### HTTP request headers
|
14792
|
+
|
14793
|
+
- **Content-Type**: application/json
|
14794
|
+
- **Accept**: application/json
|
14795
|
+
|
14796
|
+
|
14545
14797
|
## update_pki_cert_issuer
|
14546
14798
|
|
14547
14799
|
> <UpdatePKICertIssuerOutput> update_pki_cert_issuer(body)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -2131,6 +2131,70 @@ module Akeyless
|
|
2131
2131
|
return data, status_code, headers
|
2132
2132
|
end
|
2133
2133
|
|
2134
|
+
# @param body [CreatePingTarget]
|
2135
|
+
# @param [Hash] opts the optional parameters
|
2136
|
+
# @return [CreatePingTargetOutput]
|
2137
|
+
def create_ping_target(body, opts = {})
|
2138
|
+
data, _status_code, _headers = create_ping_target_with_http_info(body, opts)
|
2139
|
+
data
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
# @param body [CreatePingTarget]
|
2143
|
+
# @param [Hash] opts the optional parameters
|
2144
|
+
# @return [Array<(CreatePingTargetOutput, Integer, Hash)>] CreatePingTargetOutput data, response status code and response headers
|
2145
|
+
def create_ping_target_with_http_info(body, opts = {})
|
2146
|
+
if @api_client.config.debugging
|
2147
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_ping_target ...'
|
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.create_ping_target"
|
2152
|
+
end
|
2153
|
+
# resource path
|
2154
|
+
local_var_path = '/create-ping-target'
|
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'])
|
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] || 'CreatePingTargetOutput'
|
2177
|
+
|
2178
|
+
# auth_names
|
2179
|
+
auth_names = opts[:debug_auth_names] || []
|
2180
|
+
|
2181
|
+
new_options = opts.merge(
|
2182
|
+
:operation => :"V2Api.create_ping_target",
|
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#create_ping_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2194
|
+
end
|
2195
|
+
return data, status_code, headers
|
2196
|
+
end
|
2197
|
+
|
2134
2198
|
# @param body [CreatePKICertIssuer]
|
2135
2199
|
# @param [Hash] opts the optional parameters
|
2136
2200
|
# @return [CreatePKICertIssuerOutput]
|
@@ -5647,6 +5711,70 @@ module Akeyless
|
|
5647
5711
|
return data, status_code, headers
|
5648
5712
|
end
|
5649
5713
|
|
5714
|
+
# @param body [GatewayCreateProducerPing]
|
5715
|
+
# @param [Hash] opts the optional parameters
|
5716
|
+
# @return [GatewayCreateProducerPingOutput]
|
5717
|
+
def gateway_create_producer_ping(body, opts = {})
|
5718
|
+
data, _status_code, _headers = gateway_create_producer_ping_with_http_info(body, opts)
|
5719
|
+
data
|
5720
|
+
end
|
5721
|
+
|
5722
|
+
# @param body [GatewayCreateProducerPing]
|
5723
|
+
# @param [Hash] opts the optional parameters
|
5724
|
+
# @return [Array<(GatewayCreateProducerPingOutput, Integer, Hash)>] GatewayCreateProducerPingOutput data, response status code and response headers
|
5725
|
+
def gateway_create_producer_ping_with_http_info(body, opts = {})
|
5726
|
+
if @api_client.config.debugging
|
5727
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_ping ...'
|
5728
|
+
end
|
5729
|
+
# verify the required parameter 'body' is set
|
5730
|
+
if @api_client.config.client_side_validation && body.nil?
|
5731
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_ping"
|
5732
|
+
end
|
5733
|
+
# resource path
|
5734
|
+
local_var_path = '/gateway-create-producer-ping'
|
5735
|
+
|
5736
|
+
# query parameters
|
5737
|
+
query_params = opts[:query_params] || {}
|
5738
|
+
|
5739
|
+
# header parameters
|
5740
|
+
header_params = opts[:header_params] || {}
|
5741
|
+
# HTTP header 'Accept' (if needed)
|
5742
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5743
|
+
# HTTP header 'Content-Type'
|
5744
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
5745
|
+
if !content_type.nil?
|
5746
|
+
header_params['Content-Type'] = content_type
|
5747
|
+
end
|
5748
|
+
|
5749
|
+
# form parameters
|
5750
|
+
form_params = opts[:form_params] || {}
|
5751
|
+
|
5752
|
+
# http body (model)
|
5753
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5754
|
+
|
5755
|
+
# return_type
|
5756
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateProducerPingOutput'
|
5757
|
+
|
5758
|
+
# auth_names
|
5759
|
+
auth_names = opts[:debug_auth_names] || []
|
5760
|
+
|
5761
|
+
new_options = opts.merge(
|
5762
|
+
:operation => :"V2Api.gateway_create_producer_ping",
|
5763
|
+
:header_params => header_params,
|
5764
|
+
:query_params => query_params,
|
5765
|
+
:form_params => form_params,
|
5766
|
+
:body => post_body,
|
5767
|
+
:auth_names => auth_names,
|
5768
|
+
:return_type => return_type
|
5769
|
+
)
|
5770
|
+
|
5771
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5772
|
+
if @api_client.config.debugging
|
5773
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_producer_ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5774
|
+
end
|
5775
|
+
return data, status_code, headers
|
5776
|
+
end
|
5777
|
+
|
5650
5778
|
# @param body [GatewayCreateProducerPostgreSQL]
|
5651
5779
|
# @param [Hash] opts the optional parameters
|
5652
5780
|
# @return [GatewayCreateProducerPostgreSQLOutput]
|
@@ -8583,6 +8711,70 @@ module Akeyless
|
|
8583
8711
|
return data, status_code, headers
|
8584
8712
|
end
|
8585
8713
|
|
8714
|
+
# @param body [GatewayUpdateProducerPing]
|
8715
|
+
# @param [Hash] opts the optional parameters
|
8716
|
+
# @return [GatewayUpdateProducerPingOutput]
|
8717
|
+
def gateway_update_producer_ping(body, opts = {})
|
8718
|
+
data, _status_code, _headers = gateway_update_producer_ping_with_http_info(body, opts)
|
8719
|
+
data
|
8720
|
+
end
|
8721
|
+
|
8722
|
+
# @param body [GatewayUpdateProducerPing]
|
8723
|
+
# @param [Hash] opts the optional parameters
|
8724
|
+
# @return [Array<(GatewayUpdateProducerPingOutput, Integer, Hash)>] GatewayUpdateProducerPingOutput data, response status code and response headers
|
8725
|
+
def gateway_update_producer_ping_with_http_info(body, opts = {})
|
8726
|
+
if @api_client.config.debugging
|
8727
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_producer_ping ...'
|
8728
|
+
end
|
8729
|
+
# verify the required parameter 'body' is set
|
8730
|
+
if @api_client.config.client_side_validation && body.nil?
|
8731
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_producer_ping"
|
8732
|
+
end
|
8733
|
+
# resource path
|
8734
|
+
local_var_path = '/gateway-update-producer-ping'
|
8735
|
+
|
8736
|
+
# query parameters
|
8737
|
+
query_params = opts[:query_params] || {}
|
8738
|
+
|
8739
|
+
# header parameters
|
8740
|
+
header_params = opts[:header_params] || {}
|
8741
|
+
# HTTP header 'Accept' (if needed)
|
8742
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
8743
|
+
# HTTP header 'Content-Type'
|
8744
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
8745
|
+
if !content_type.nil?
|
8746
|
+
header_params['Content-Type'] = content_type
|
8747
|
+
end
|
8748
|
+
|
8749
|
+
# form parameters
|
8750
|
+
form_params = opts[:form_params] || {}
|
8751
|
+
|
8752
|
+
# http body (model)
|
8753
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
8754
|
+
|
8755
|
+
# return_type
|
8756
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateProducerPingOutput'
|
8757
|
+
|
8758
|
+
# auth_names
|
8759
|
+
auth_names = opts[:debug_auth_names] || []
|
8760
|
+
|
8761
|
+
new_options = opts.merge(
|
8762
|
+
:operation => :"V2Api.gateway_update_producer_ping",
|
8763
|
+
:header_params => header_params,
|
8764
|
+
:query_params => query_params,
|
8765
|
+
:form_params => form_params,
|
8766
|
+
:body => post_body,
|
8767
|
+
:auth_names => auth_names,
|
8768
|
+
:return_type => return_type
|
8769
|
+
)
|
8770
|
+
|
8771
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
8772
|
+
if @api_client.config.debugging
|
8773
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_producer_ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8774
|
+
end
|
8775
|
+
return data, status_code, headers
|
8776
|
+
end
|
8777
|
+
|
8586
8778
|
# @param body [GatewayUpdateProducerPostgreSQL]
|
8587
8779
|
# @param [Hash] opts the optional parameters
|
8588
8780
|
# @return [GatewayUpdateProducerPostgreSQLOutput]
|
@@ -14649,6 +14841,70 @@ module Akeyless
|
|
14649
14841
|
return data, status_code, headers
|
14650
14842
|
end
|
14651
14843
|
|
14844
|
+
# @param body [UpdatePingTarget]
|
14845
|
+
# @param [Hash] opts the optional parameters
|
14846
|
+
# @return [Object]
|
14847
|
+
def update_ping_target(body, opts = {})
|
14848
|
+
data, _status_code, _headers = update_ping_target_with_http_info(body, opts)
|
14849
|
+
data
|
14850
|
+
end
|
14851
|
+
|
14852
|
+
# @param body [UpdatePingTarget]
|
14853
|
+
# @param [Hash] opts the optional parameters
|
14854
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
14855
|
+
def update_ping_target_with_http_info(body, opts = {})
|
14856
|
+
if @api_client.config.debugging
|
14857
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ping_target ...'
|
14858
|
+
end
|
14859
|
+
# verify the required parameter 'body' is set
|
14860
|
+
if @api_client.config.client_side_validation && body.nil?
|
14861
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ping_target"
|
14862
|
+
end
|
14863
|
+
# resource path
|
14864
|
+
local_var_path = '/update-ping-target'
|
14865
|
+
|
14866
|
+
# query parameters
|
14867
|
+
query_params = opts[:query_params] || {}
|
14868
|
+
|
14869
|
+
# header parameters
|
14870
|
+
header_params = opts[:header_params] || {}
|
14871
|
+
# HTTP header 'Accept' (if needed)
|
14872
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
14873
|
+
# HTTP header 'Content-Type'
|
14874
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
14875
|
+
if !content_type.nil?
|
14876
|
+
header_params['Content-Type'] = content_type
|
14877
|
+
end
|
14878
|
+
|
14879
|
+
# form parameters
|
14880
|
+
form_params = opts[:form_params] || {}
|
14881
|
+
|
14882
|
+
# http body (model)
|
14883
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
14884
|
+
|
14885
|
+
# return_type
|
14886
|
+
return_type = opts[:debug_return_type] || 'Object'
|
14887
|
+
|
14888
|
+
# auth_names
|
14889
|
+
auth_names = opts[:debug_auth_names] || []
|
14890
|
+
|
14891
|
+
new_options = opts.merge(
|
14892
|
+
:operation => :"V2Api.update_ping_target",
|
14893
|
+
:header_params => header_params,
|
14894
|
+
:query_params => query_params,
|
14895
|
+
:form_params => form_params,
|
14896
|
+
:body => post_body,
|
14897
|
+
:auth_names => auth_names,
|
14898
|
+
:return_type => return_type
|
14899
|
+
)
|
14900
|
+
|
14901
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
14902
|
+
if @api_client.config.debugging
|
14903
|
+
@api_client.config.logger.debug "API called: V2Api#update_ping_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
14904
|
+
end
|
14905
|
+
return data, status_code, headers
|
14906
|
+
end
|
14907
|
+
|
14652
14908
|
# @param body [UpdatePKICertIssuer]
|
14653
14909
|
# @param [Hash] opts the optional parameters
|
14654
14910
|
# @return [UpdatePKICertIssuerOutput]
|
@@ -24,9 +24,12 @@ module Akeyless
|
|
24
24
|
# Base URL
|
25
25
|
attr_accessor :base_url
|
26
26
|
|
27
|
-
#
|
27
|
+
# Deprecated - use description
|
28
28
|
attr_accessor :comment
|
29
29
|
|
30
|
+
# Description of the object
|
31
|
+
attr_accessor :description
|
32
|
+
|
30
33
|
# Set output format to JSON
|
31
34
|
attr_accessor :json
|
32
35
|
|
@@ -49,6 +52,7 @@ module Akeyless
|
|
49
52
|
:'artifactory_admin_pwd' => :'artifactory-admin-pwd',
|
50
53
|
:'base_url' => :'base-url',
|
51
54
|
:'comment' => :'comment',
|
55
|
+
:'description' => :'description',
|
52
56
|
:'json' => :'json',
|
53
57
|
:'key' => :'key',
|
54
58
|
:'name' => :'name',
|
@@ -69,6 +73,7 @@ module Akeyless
|
|
69
73
|
:'artifactory_admin_pwd' => :'String',
|
70
74
|
:'base_url' => :'String',
|
71
75
|
:'comment' => :'String',
|
76
|
+
:'description' => :'String',
|
72
77
|
:'json' => :'Boolean',
|
73
78
|
:'key' => :'String',
|
74
79
|
:'name' => :'String',
|
@@ -114,6 +119,10 @@ module Akeyless
|
|
114
119
|
self.comment = attributes[:'comment']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.key?(:'description')
|
123
|
+
self.description = attributes[:'description']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.key?(:'json')
|
118
127
|
self.json = attributes[:'json']
|
119
128
|
end
|
@@ -177,6 +186,7 @@ module Akeyless
|
|
177
186
|
artifactory_admin_pwd == o.artifactory_admin_pwd &&
|
178
187
|
base_url == o.base_url &&
|
179
188
|
comment == o.comment &&
|
189
|
+
description == o.description &&
|
180
190
|
json == o.json &&
|
181
191
|
key == o.key &&
|
182
192
|
name == o.name &&
|
@@ -193,7 +203,7 @@ module Akeyless
|
|
193
203
|
# Calculates hash code according to all attributes.
|
194
204
|
# @return [Integer] Hash code
|
195
205
|
def hash
|
196
|
-
[artifactory_admin_name, artifactory_admin_pwd, base_url, comment, json, key, name, token, uid_token].hash
|
206
|
+
[artifactory_admin_name, artifactory_admin_pwd, base_url, comment, description, json, key, name, token, uid_token].hash
|
197
207
|
end
|
198
208
|
|
199
209
|
# Builds the object from hash
|
@@ -19,9 +19,12 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :access_key_id
|
21
21
|
|
22
|
-
#
|
22
|
+
# Deprecated - use description
|
23
23
|
attr_accessor :comment
|
24
24
|
|
25
|
+
# Description of the object
|
26
|
+
attr_accessor :description
|
27
|
+
|
25
28
|
# Set output format to JSON
|
26
29
|
attr_accessor :json
|
27
30
|
|
@@ -49,6 +52,7 @@ module Akeyless
|
|
49
52
|
:'access_key' => :'access-key',
|
50
53
|
:'access_key_id' => :'access-key-id',
|
51
54
|
:'comment' => :'comment',
|
55
|
+
:'description' => :'description',
|
52
56
|
:'json' => :'json',
|
53
57
|
:'key' => :'key',
|
54
58
|
:'name' => :'name',
|
@@ -71,6 +75,7 @@ module Akeyless
|
|
71
75
|
:'access_key' => :'String',
|
72
76
|
:'access_key_id' => :'String',
|
73
77
|
:'comment' => :'String',
|
78
|
+
:'description' => :'String',
|
74
79
|
:'json' => :'Boolean',
|
75
80
|
:'key' => :'String',
|
76
81
|
:'name' => :'String',
|
@@ -115,6 +120,10 @@ module Akeyless
|
|
115
120
|
self.comment = attributes[:'comment']
|
116
121
|
end
|
117
122
|
|
123
|
+
if attributes.key?(:'description')
|
124
|
+
self.description = attributes[:'description']
|
125
|
+
end
|
126
|
+
|
118
127
|
if attributes.key?(:'json')
|
119
128
|
self.json = attributes[:'json']
|
120
129
|
end
|
@@ -174,6 +183,7 @@ module Akeyless
|
|
174
183
|
access_key == o.access_key &&
|
175
184
|
access_key_id == o.access_key_id &&
|
176
185
|
comment == o.comment &&
|
186
|
+
description == o.description &&
|
177
187
|
json == o.json &&
|
178
188
|
key == o.key &&
|
179
189
|
name == o.name &&
|
@@ -193,7 +203,7 @@ module Akeyless
|
|
193
203
|
# Calculates hash code according to all attributes.
|
194
204
|
# @return [Integer] Hash code
|
195
205
|
def hash
|
196
|
-
[access_key, access_key_id, comment, json, key, name, region, session_token, token, uid_token, use_gw_cloud_identity].hash
|
206
|
+
[access_key, access_key_id, comment, description, json, key, name, region, session_token, token, uid_token, use_gw_cloud_identity].hash
|
197
207
|
end
|
198
208
|
|
199
209
|
# Builds the object from hash
|