akeyless 5.0.8 → 5.0.9
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 +9 -1
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DynamicSecretCreateOpenAI.md +40 -0
- data/docs/DynamicSecretUpdateOpenAI.md +42 -0
- data/docs/EsmGetSecretOutput.md +2 -0
- data/docs/EventForwarderCreateTeams.md +44 -0
- data/docs/EventForwarderUpdateTeams.md +46 -0
- data/docs/NotiForwarder.md +2 -0
- data/docs/OpenAITargetDetails.md +3 -3
- data/docs/SecretInfo.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscGetSecretOutput.md +2 -0
- data/docs/UscUpdate.md +2 -0
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/ds_producer_details.rb +46 -1
- data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +339 -0
- data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +349 -0
- data/lib/akeyless/models/esm_get_secret_output.rb +10 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +385 -0
- data/lib/akeyless/models/event_forwarder_update_teams.rb +391 -0
- data/lib/akeyless/models/noti_forwarder.rb +10 -1
- data/lib/akeyless/models/open_ai_target_details.rb +13 -13
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/usc_create.rb +11 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +10 -1
- data/lib/akeyless/models/usc_update.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +4 -0
- data/spec/models/dynamic_secret_create_open_ai_spec.rb +102 -0
- data/spec/models/dynamic_secret_update_open_ai_spec.rb +108 -0
- data/spec/models/event_forwarder_create_teams_spec.rb +114 -0
- data/spec/models/event_forwarder_update_teams_spec.rb +120 -0
- metadata +17 -1
data/docs/V2Api.md
CHANGED
|
@@ -145,6 +145,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
145
145
|
| [**dynamic_secret_create_mongo_db**](V2Api.md#dynamic_secret_create_mongo_db) | **POST** /dynamic-secret-create-mongodb | |
|
|
146
146
|
| [**dynamic_secret_create_ms_sql**](V2Api.md#dynamic_secret_create_ms_sql) | **POST** /dynamic-secret-create-mssql | |
|
|
147
147
|
| [**dynamic_secret_create_my_sql**](V2Api.md#dynamic_secret_create_my_sql) | **POST** /dynamic-secret-create-mysql | |
|
|
148
|
+
| [**dynamic_secret_create_open_ai**](V2Api.md#dynamic_secret_create_open_ai) | **POST** /dynamic-secret-create-openai | |
|
|
148
149
|
| [**dynamic_secret_create_oracle_db**](V2Api.md#dynamic_secret_create_oracle_db) | **POST** /dynamic-secret-create-oracle | |
|
|
149
150
|
| [**dynamic_secret_create_ping**](V2Api.md#dynamic_secret_create_ping) | **POST** /dynamic-secret-create-ping | |
|
|
150
151
|
| [**dynamic_secret_create_postgre_sql**](V2Api.md#dynamic_secret_create_postgre_sql) | **POST** /dynamic-secret-create-postgresql | |
|
|
@@ -179,6 +180,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
179
180
|
| [**dynamic_secret_update_mongo_db**](V2Api.md#dynamic_secret_update_mongo_db) | **POST** /dynamic-secret-update-mongo | |
|
|
180
181
|
| [**dynamic_secret_update_ms_sql**](V2Api.md#dynamic_secret_update_ms_sql) | **POST** /dynamic-secret-update-mssql | |
|
|
181
182
|
| [**dynamic_secret_update_my_sql**](V2Api.md#dynamic_secret_update_my_sql) | **POST** /dynamic-secret-update-mysql | |
|
|
183
|
+
| [**dynamic_secret_update_open_ai**](V2Api.md#dynamic_secret_update_open_ai) | **POST** /dynamic-secret-update-openai | |
|
|
182
184
|
| [**dynamic_secret_update_oracle_db**](V2Api.md#dynamic_secret_update_oracle_db) | **POST** /dynamic-secret-update-oracle | |
|
|
183
185
|
| [**dynamic_secret_update_ping**](V2Api.md#dynamic_secret_update_ping) | **POST** /dynamic-secret-update-ping | |
|
|
184
186
|
| [**dynamic_secret_update_postgre_sql**](V2Api.md#dynamic_secret_update_postgre_sql) | **POST** /dynamic-secret-update-postgresql | |
|
|
@@ -201,12 +203,14 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
201
203
|
| [**event_forwarder_create_email**](V2Api.md#event_forwarder_create_email) | **POST** /event-forwarder-create-email | |
|
|
202
204
|
| [**event_forwarder_create_service_now**](V2Api.md#event_forwarder_create_service_now) | **POST** /event-forwarder-create-servicenow | |
|
|
203
205
|
| [**event_forwarder_create_slack**](V2Api.md#event_forwarder_create_slack) | **POST** /event-forwarder-create-slack | |
|
|
206
|
+
| [**event_forwarder_create_teams**](V2Api.md#event_forwarder_create_teams) | **POST** /event-forwarder-create-teams | |
|
|
204
207
|
| [**event_forwarder_create_webhook**](V2Api.md#event_forwarder_create_webhook) | **POST** /event-forwarder-create-webhook | |
|
|
205
208
|
| [**event_forwarder_delete**](V2Api.md#event_forwarder_delete) | **POST** /event-forwarder-delete | |
|
|
206
209
|
| [**event_forwarder_get**](V2Api.md#event_forwarder_get) | **POST** /event-forwarder-get | |
|
|
207
210
|
| [**event_forwarder_update_email**](V2Api.md#event_forwarder_update_email) | **POST** /event-forwarder-update-email | |
|
|
208
211
|
| [**event_forwarder_update_service_now**](V2Api.md#event_forwarder_update_service_now) | **POST** /event-forwarder-update-servicenow | |
|
|
209
212
|
| [**event_forwarder_update_slack**](V2Api.md#event_forwarder_update_slack) | **POST** /event-forwarder-update-slack | |
|
|
213
|
+
| [**event_forwarder_update_teams**](V2Api.md#event_forwarder_update_teams) | **POST** /event-forwarder-update-teams | |
|
|
210
214
|
| [**event_forwarder_update_webhook**](V2Api.md#event_forwarder_update_webhook) | **POST** /event-forwarder-update-webhook | |
|
|
211
215
|
| [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
|
|
212
216
|
| [**gateway_create_allowed_access**](V2Api.md#gateway_create_allowed_access) | **POST** /gateway-create-allowed-access | |
|
|
@@ -9326,6 +9330,68 @@ No authorization required
|
|
|
9326
9330
|
- **Accept**: application/json
|
|
9327
9331
|
|
|
9328
9332
|
|
|
9333
|
+
## dynamic_secret_create_open_ai
|
|
9334
|
+
|
|
9335
|
+
> <DynamicSecretCreateOutput> dynamic_secret_create_open_ai(dynamic_secret_create_open_ai)
|
|
9336
|
+
|
|
9337
|
+
|
|
9338
|
+
|
|
9339
|
+
### Examples
|
|
9340
|
+
|
|
9341
|
+
```ruby
|
|
9342
|
+
require 'time'
|
|
9343
|
+
require 'akeyless'
|
|
9344
|
+
|
|
9345
|
+
api_instance = Akeyless::V2Api.new
|
|
9346
|
+
dynamic_secret_create_open_ai = Akeyless::DynamicSecretCreateOpenAI.new({name: 'name_example'}) # DynamicSecretCreateOpenAI |
|
|
9347
|
+
|
|
9348
|
+
begin
|
|
9349
|
+
|
|
9350
|
+
result = api_instance.dynamic_secret_create_open_ai(dynamic_secret_create_open_ai)
|
|
9351
|
+
p result
|
|
9352
|
+
rescue Akeyless::ApiError => e
|
|
9353
|
+
puts "Error when calling V2Api->dynamic_secret_create_open_ai: #{e}"
|
|
9354
|
+
end
|
|
9355
|
+
```
|
|
9356
|
+
|
|
9357
|
+
#### Using the dynamic_secret_create_open_ai_with_http_info variant
|
|
9358
|
+
|
|
9359
|
+
This returns an Array which contains the response data, status code and headers.
|
|
9360
|
+
|
|
9361
|
+
> <Array(<DynamicSecretCreateOutput>, Integer, Hash)> dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai)
|
|
9362
|
+
|
|
9363
|
+
```ruby
|
|
9364
|
+
begin
|
|
9365
|
+
|
|
9366
|
+
data, status_code, headers = api_instance.dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai)
|
|
9367
|
+
p status_code # => 2xx
|
|
9368
|
+
p headers # => { ... }
|
|
9369
|
+
p data # => <DynamicSecretCreateOutput>
|
|
9370
|
+
rescue Akeyless::ApiError => e
|
|
9371
|
+
puts "Error when calling V2Api->dynamic_secret_create_open_ai_with_http_info: #{e}"
|
|
9372
|
+
end
|
|
9373
|
+
```
|
|
9374
|
+
|
|
9375
|
+
### Parameters
|
|
9376
|
+
|
|
9377
|
+
| Name | Type | Description | Notes |
|
|
9378
|
+
| ---- | ---- | ----------- | ----- |
|
|
9379
|
+
| **dynamic_secret_create_open_ai** | [**DynamicSecretCreateOpenAI**](DynamicSecretCreateOpenAI.md) | | |
|
|
9380
|
+
|
|
9381
|
+
### Return type
|
|
9382
|
+
|
|
9383
|
+
[**DynamicSecretCreateOutput**](DynamicSecretCreateOutput.md)
|
|
9384
|
+
|
|
9385
|
+
### Authorization
|
|
9386
|
+
|
|
9387
|
+
No authorization required
|
|
9388
|
+
|
|
9389
|
+
### HTTP request headers
|
|
9390
|
+
|
|
9391
|
+
- **Content-Type**: application/json
|
|
9392
|
+
- **Accept**: application/json
|
|
9393
|
+
|
|
9394
|
+
|
|
9329
9395
|
## dynamic_secret_create_oracle_db
|
|
9330
9396
|
|
|
9331
9397
|
> <DynamicSecretCreateOutput> dynamic_secret_create_oracle_db(dynamic_secret_create_oracle_db)
|
|
@@ -11434,6 +11500,68 @@ No authorization required
|
|
|
11434
11500
|
- **Accept**: application/json
|
|
11435
11501
|
|
|
11436
11502
|
|
|
11503
|
+
## dynamic_secret_update_open_ai
|
|
11504
|
+
|
|
11505
|
+
> <DynamicSecretUpdateOutput> dynamic_secret_update_open_ai(dynamic_secret_update_open_ai)
|
|
11506
|
+
|
|
11507
|
+
|
|
11508
|
+
|
|
11509
|
+
### Examples
|
|
11510
|
+
|
|
11511
|
+
```ruby
|
|
11512
|
+
require 'time'
|
|
11513
|
+
require 'akeyless'
|
|
11514
|
+
|
|
11515
|
+
api_instance = Akeyless::V2Api.new
|
|
11516
|
+
dynamic_secret_update_open_ai = Akeyless::DynamicSecretUpdateOpenAI.new({name: 'name_example'}) # DynamicSecretUpdateOpenAI |
|
|
11517
|
+
|
|
11518
|
+
begin
|
|
11519
|
+
|
|
11520
|
+
result = api_instance.dynamic_secret_update_open_ai(dynamic_secret_update_open_ai)
|
|
11521
|
+
p result
|
|
11522
|
+
rescue Akeyless::ApiError => e
|
|
11523
|
+
puts "Error when calling V2Api->dynamic_secret_update_open_ai: #{e}"
|
|
11524
|
+
end
|
|
11525
|
+
```
|
|
11526
|
+
|
|
11527
|
+
#### Using the dynamic_secret_update_open_ai_with_http_info variant
|
|
11528
|
+
|
|
11529
|
+
This returns an Array which contains the response data, status code and headers.
|
|
11530
|
+
|
|
11531
|
+
> <Array(<DynamicSecretUpdateOutput>, Integer, Hash)> dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai)
|
|
11532
|
+
|
|
11533
|
+
```ruby
|
|
11534
|
+
begin
|
|
11535
|
+
|
|
11536
|
+
data, status_code, headers = api_instance.dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai)
|
|
11537
|
+
p status_code # => 2xx
|
|
11538
|
+
p headers # => { ... }
|
|
11539
|
+
p data # => <DynamicSecretUpdateOutput>
|
|
11540
|
+
rescue Akeyless::ApiError => e
|
|
11541
|
+
puts "Error when calling V2Api->dynamic_secret_update_open_ai_with_http_info: #{e}"
|
|
11542
|
+
end
|
|
11543
|
+
```
|
|
11544
|
+
|
|
11545
|
+
### Parameters
|
|
11546
|
+
|
|
11547
|
+
| Name | Type | Description | Notes |
|
|
11548
|
+
| ---- | ---- | ----------- | ----- |
|
|
11549
|
+
| **dynamic_secret_update_open_ai** | [**DynamicSecretUpdateOpenAI**](DynamicSecretUpdateOpenAI.md) | | |
|
|
11550
|
+
|
|
11551
|
+
### Return type
|
|
11552
|
+
|
|
11553
|
+
[**DynamicSecretUpdateOutput**](DynamicSecretUpdateOutput.md)
|
|
11554
|
+
|
|
11555
|
+
### Authorization
|
|
11556
|
+
|
|
11557
|
+
No authorization required
|
|
11558
|
+
|
|
11559
|
+
### HTTP request headers
|
|
11560
|
+
|
|
11561
|
+
- **Content-Type**: application/json
|
|
11562
|
+
- **Accept**: application/json
|
|
11563
|
+
|
|
11564
|
+
|
|
11437
11565
|
## dynamic_secret_update_oracle_db
|
|
11438
11566
|
|
|
11439
11567
|
> <DynamicSecretUpdateOutput> dynamic_secret_update_oracle_db(dynamic_secret_update_oracle_db)
|
|
@@ -12798,6 +12926,68 @@ No authorization required
|
|
|
12798
12926
|
- **Accept**: application/json
|
|
12799
12927
|
|
|
12800
12928
|
|
|
12929
|
+
## event_forwarder_create_teams
|
|
12930
|
+
|
|
12931
|
+
> <EventForwarderCreateUpdateOutput> event_forwarder_create_teams(event_forwarder_create_teams)
|
|
12932
|
+
|
|
12933
|
+
|
|
12934
|
+
|
|
12935
|
+
### Examples
|
|
12936
|
+
|
|
12937
|
+
```ruby
|
|
12938
|
+
require 'time'
|
|
12939
|
+
require 'akeyless'
|
|
12940
|
+
|
|
12941
|
+
api_instance = Akeyless::V2Api.new
|
|
12942
|
+
event_forwarder_create_teams = Akeyless::EventForwarderCreateTeams.new({gateways_event_source_locations: ['gateways_event_source_locations_example'], name: 'name_example', runner_type: 'runner_type_example', url: 'url_example'}) # EventForwarderCreateTeams |
|
|
12943
|
+
|
|
12944
|
+
begin
|
|
12945
|
+
|
|
12946
|
+
result = api_instance.event_forwarder_create_teams(event_forwarder_create_teams)
|
|
12947
|
+
p result
|
|
12948
|
+
rescue Akeyless::ApiError => e
|
|
12949
|
+
puts "Error when calling V2Api->event_forwarder_create_teams: #{e}"
|
|
12950
|
+
end
|
|
12951
|
+
```
|
|
12952
|
+
|
|
12953
|
+
#### Using the event_forwarder_create_teams_with_http_info variant
|
|
12954
|
+
|
|
12955
|
+
This returns an Array which contains the response data, status code and headers.
|
|
12956
|
+
|
|
12957
|
+
> <Array(<EventForwarderCreateUpdateOutput>, Integer, Hash)> event_forwarder_create_teams_with_http_info(event_forwarder_create_teams)
|
|
12958
|
+
|
|
12959
|
+
```ruby
|
|
12960
|
+
begin
|
|
12961
|
+
|
|
12962
|
+
data, status_code, headers = api_instance.event_forwarder_create_teams_with_http_info(event_forwarder_create_teams)
|
|
12963
|
+
p status_code # => 2xx
|
|
12964
|
+
p headers # => { ... }
|
|
12965
|
+
p data # => <EventForwarderCreateUpdateOutput>
|
|
12966
|
+
rescue Akeyless::ApiError => e
|
|
12967
|
+
puts "Error when calling V2Api->event_forwarder_create_teams_with_http_info: #{e}"
|
|
12968
|
+
end
|
|
12969
|
+
```
|
|
12970
|
+
|
|
12971
|
+
### Parameters
|
|
12972
|
+
|
|
12973
|
+
| Name | Type | Description | Notes |
|
|
12974
|
+
| ---- | ---- | ----------- | ----- |
|
|
12975
|
+
| **event_forwarder_create_teams** | [**EventForwarderCreateTeams**](EventForwarderCreateTeams.md) | | |
|
|
12976
|
+
|
|
12977
|
+
### Return type
|
|
12978
|
+
|
|
12979
|
+
[**EventForwarderCreateUpdateOutput**](EventForwarderCreateUpdateOutput.md)
|
|
12980
|
+
|
|
12981
|
+
### Authorization
|
|
12982
|
+
|
|
12983
|
+
No authorization required
|
|
12984
|
+
|
|
12985
|
+
### HTTP request headers
|
|
12986
|
+
|
|
12987
|
+
- **Content-Type**: application/json
|
|
12988
|
+
- **Accept**: application/json
|
|
12989
|
+
|
|
12990
|
+
|
|
12801
12991
|
## event_forwarder_create_webhook
|
|
12802
12992
|
|
|
12803
12993
|
> <EventForwarderCreateUpdateOutput> event_forwarder_create_webhook(event_forwarder_create_webhook)
|
|
@@ -13170,6 +13360,68 @@ No authorization required
|
|
|
13170
13360
|
- **Accept**: application/json
|
|
13171
13361
|
|
|
13172
13362
|
|
|
13363
|
+
## event_forwarder_update_teams
|
|
13364
|
+
|
|
13365
|
+
> <EventForwarderCreateUpdateOutput> event_forwarder_update_teams(event_forwarder_update_teams)
|
|
13366
|
+
|
|
13367
|
+
|
|
13368
|
+
|
|
13369
|
+
### Examples
|
|
13370
|
+
|
|
13371
|
+
```ruby
|
|
13372
|
+
require 'time'
|
|
13373
|
+
require 'akeyless'
|
|
13374
|
+
|
|
13375
|
+
api_instance = Akeyless::V2Api.new
|
|
13376
|
+
event_forwarder_update_teams = Akeyless::EventForwarderUpdateTeams.new({gateways_event_source_locations: ['gateways_event_source_locations_example'], name: 'name_example', url: 'url_example'}) # EventForwarderUpdateTeams |
|
|
13377
|
+
|
|
13378
|
+
begin
|
|
13379
|
+
|
|
13380
|
+
result = api_instance.event_forwarder_update_teams(event_forwarder_update_teams)
|
|
13381
|
+
p result
|
|
13382
|
+
rescue Akeyless::ApiError => e
|
|
13383
|
+
puts "Error when calling V2Api->event_forwarder_update_teams: #{e}"
|
|
13384
|
+
end
|
|
13385
|
+
```
|
|
13386
|
+
|
|
13387
|
+
#### Using the event_forwarder_update_teams_with_http_info variant
|
|
13388
|
+
|
|
13389
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13390
|
+
|
|
13391
|
+
> <Array(<EventForwarderCreateUpdateOutput>, Integer, Hash)> event_forwarder_update_teams_with_http_info(event_forwarder_update_teams)
|
|
13392
|
+
|
|
13393
|
+
```ruby
|
|
13394
|
+
begin
|
|
13395
|
+
|
|
13396
|
+
data, status_code, headers = api_instance.event_forwarder_update_teams_with_http_info(event_forwarder_update_teams)
|
|
13397
|
+
p status_code # => 2xx
|
|
13398
|
+
p headers # => { ... }
|
|
13399
|
+
p data # => <EventForwarderCreateUpdateOutput>
|
|
13400
|
+
rescue Akeyless::ApiError => e
|
|
13401
|
+
puts "Error when calling V2Api->event_forwarder_update_teams_with_http_info: #{e}"
|
|
13402
|
+
end
|
|
13403
|
+
```
|
|
13404
|
+
|
|
13405
|
+
### Parameters
|
|
13406
|
+
|
|
13407
|
+
| Name | Type | Description | Notes |
|
|
13408
|
+
| ---- | ---- | ----------- | ----- |
|
|
13409
|
+
| **event_forwarder_update_teams** | [**EventForwarderUpdateTeams**](EventForwarderUpdateTeams.md) | | |
|
|
13410
|
+
|
|
13411
|
+
### Return type
|
|
13412
|
+
|
|
13413
|
+
[**EventForwarderCreateUpdateOutput**](EventForwarderCreateUpdateOutput.md)
|
|
13414
|
+
|
|
13415
|
+
### Authorization
|
|
13416
|
+
|
|
13417
|
+
No authorization required
|
|
13418
|
+
|
|
13419
|
+
### HTTP request headers
|
|
13420
|
+
|
|
13421
|
+
- **Content-Type**: application/json
|
|
13422
|
+
- **Accept**: application/json
|
|
13423
|
+
|
|
13424
|
+
|
|
13173
13425
|
## event_forwarder_update_webhook
|
|
13174
13426
|
|
|
13175
13427
|
> <EventForwarderCreateUpdateOutput> event_forwarder_update_webhook(event_forwarder_update_webhook)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -9039,6 +9039,70 @@ module Akeyless
|
|
|
9039
9039
|
return data, status_code, headers
|
|
9040
9040
|
end
|
|
9041
9041
|
|
|
9042
|
+
# @param dynamic_secret_create_open_ai [DynamicSecretCreateOpenAI]
|
|
9043
|
+
# @param [Hash] opts the optional parameters
|
|
9044
|
+
# @return [DynamicSecretCreateOutput]
|
|
9045
|
+
def dynamic_secret_create_open_ai(dynamic_secret_create_open_ai, opts = {})
|
|
9046
|
+
data, _status_code, _headers = dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai, opts)
|
|
9047
|
+
data
|
|
9048
|
+
end
|
|
9049
|
+
|
|
9050
|
+
# @param dynamic_secret_create_open_ai [DynamicSecretCreateOpenAI]
|
|
9051
|
+
# @param [Hash] opts the optional parameters
|
|
9052
|
+
# @return [Array<(DynamicSecretCreateOutput, Integer, Hash)>] DynamicSecretCreateOutput data, response status code and response headers
|
|
9053
|
+
def dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai, opts = {})
|
|
9054
|
+
if @api_client.config.debugging
|
|
9055
|
+
@api_client.config.logger.debug 'Calling API: V2Api.dynamic_secret_create_open_ai ...'
|
|
9056
|
+
end
|
|
9057
|
+
# verify the required parameter 'dynamic_secret_create_open_ai' is set
|
|
9058
|
+
if @api_client.config.client_side_validation && dynamic_secret_create_open_ai.nil?
|
|
9059
|
+
fail ArgumentError, "Missing the required parameter 'dynamic_secret_create_open_ai' when calling V2Api.dynamic_secret_create_open_ai"
|
|
9060
|
+
end
|
|
9061
|
+
# resource path
|
|
9062
|
+
local_var_path = '/dynamic-secret-create-openai'
|
|
9063
|
+
|
|
9064
|
+
# query parameters
|
|
9065
|
+
query_params = opts[:query_params] || {}
|
|
9066
|
+
|
|
9067
|
+
# header parameters
|
|
9068
|
+
header_params = opts[:header_params] || {}
|
|
9069
|
+
# HTTP header 'Accept' (if needed)
|
|
9070
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
9071
|
+
# HTTP header 'Content-Type'
|
|
9072
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
9073
|
+
if !content_type.nil?
|
|
9074
|
+
header_params['Content-Type'] = content_type
|
|
9075
|
+
end
|
|
9076
|
+
|
|
9077
|
+
# form parameters
|
|
9078
|
+
form_params = opts[:form_params] || {}
|
|
9079
|
+
|
|
9080
|
+
# http body (model)
|
|
9081
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(dynamic_secret_create_open_ai)
|
|
9082
|
+
|
|
9083
|
+
# return_type
|
|
9084
|
+
return_type = opts[:debug_return_type] || 'DynamicSecretCreateOutput'
|
|
9085
|
+
|
|
9086
|
+
# auth_names
|
|
9087
|
+
auth_names = opts[:debug_auth_names] || []
|
|
9088
|
+
|
|
9089
|
+
new_options = opts.merge(
|
|
9090
|
+
:operation => :"V2Api.dynamic_secret_create_open_ai",
|
|
9091
|
+
:header_params => header_params,
|
|
9092
|
+
:query_params => query_params,
|
|
9093
|
+
:form_params => form_params,
|
|
9094
|
+
:body => post_body,
|
|
9095
|
+
:auth_names => auth_names,
|
|
9096
|
+
:return_type => return_type
|
|
9097
|
+
)
|
|
9098
|
+
|
|
9099
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
9100
|
+
if @api_client.config.debugging
|
|
9101
|
+
@api_client.config.logger.debug "API called: V2Api#dynamic_secret_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9102
|
+
end
|
|
9103
|
+
return data, status_code, headers
|
|
9104
|
+
end
|
|
9105
|
+
|
|
9042
9106
|
# @param dynamic_secret_create_oracle_db [DynamicSecretCreateOracleDb]
|
|
9043
9107
|
# @param [Hash] opts the optional parameters
|
|
9044
9108
|
# @return [DynamicSecretCreateOutput]
|
|
@@ -11211,6 +11275,70 @@ module Akeyless
|
|
|
11211
11275
|
return data, status_code, headers
|
|
11212
11276
|
end
|
|
11213
11277
|
|
|
11278
|
+
# @param dynamic_secret_update_open_ai [DynamicSecretUpdateOpenAI]
|
|
11279
|
+
# @param [Hash] opts the optional parameters
|
|
11280
|
+
# @return [DynamicSecretUpdateOutput]
|
|
11281
|
+
def dynamic_secret_update_open_ai(dynamic_secret_update_open_ai, opts = {})
|
|
11282
|
+
data, _status_code, _headers = dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai, opts)
|
|
11283
|
+
data
|
|
11284
|
+
end
|
|
11285
|
+
|
|
11286
|
+
# @param dynamic_secret_update_open_ai [DynamicSecretUpdateOpenAI]
|
|
11287
|
+
# @param [Hash] opts the optional parameters
|
|
11288
|
+
# @return [Array<(DynamicSecretUpdateOutput, Integer, Hash)>] DynamicSecretUpdateOutput data, response status code and response headers
|
|
11289
|
+
def dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai, opts = {})
|
|
11290
|
+
if @api_client.config.debugging
|
|
11291
|
+
@api_client.config.logger.debug 'Calling API: V2Api.dynamic_secret_update_open_ai ...'
|
|
11292
|
+
end
|
|
11293
|
+
# verify the required parameter 'dynamic_secret_update_open_ai' is set
|
|
11294
|
+
if @api_client.config.client_side_validation && dynamic_secret_update_open_ai.nil?
|
|
11295
|
+
fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_open_ai' when calling V2Api.dynamic_secret_update_open_ai"
|
|
11296
|
+
end
|
|
11297
|
+
# resource path
|
|
11298
|
+
local_var_path = '/dynamic-secret-update-openai'
|
|
11299
|
+
|
|
11300
|
+
# query parameters
|
|
11301
|
+
query_params = opts[:query_params] || {}
|
|
11302
|
+
|
|
11303
|
+
# header parameters
|
|
11304
|
+
header_params = opts[:header_params] || {}
|
|
11305
|
+
# HTTP header 'Accept' (if needed)
|
|
11306
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
11307
|
+
# HTTP header 'Content-Type'
|
|
11308
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
11309
|
+
if !content_type.nil?
|
|
11310
|
+
header_params['Content-Type'] = content_type
|
|
11311
|
+
end
|
|
11312
|
+
|
|
11313
|
+
# form parameters
|
|
11314
|
+
form_params = opts[:form_params] || {}
|
|
11315
|
+
|
|
11316
|
+
# http body (model)
|
|
11317
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(dynamic_secret_update_open_ai)
|
|
11318
|
+
|
|
11319
|
+
# return_type
|
|
11320
|
+
return_type = opts[:debug_return_type] || 'DynamicSecretUpdateOutput'
|
|
11321
|
+
|
|
11322
|
+
# auth_names
|
|
11323
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11324
|
+
|
|
11325
|
+
new_options = opts.merge(
|
|
11326
|
+
:operation => :"V2Api.dynamic_secret_update_open_ai",
|
|
11327
|
+
:header_params => header_params,
|
|
11328
|
+
:query_params => query_params,
|
|
11329
|
+
:form_params => form_params,
|
|
11330
|
+
:body => post_body,
|
|
11331
|
+
:auth_names => auth_names,
|
|
11332
|
+
:return_type => return_type
|
|
11333
|
+
)
|
|
11334
|
+
|
|
11335
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
11336
|
+
if @api_client.config.debugging
|
|
11337
|
+
@api_client.config.logger.debug "API called: V2Api#dynamic_secret_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11338
|
+
end
|
|
11339
|
+
return data, status_code, headers
|
|
11340
|
+
end
|
|
11341
|
+
|
|
11214
11342
|
# @param dynamic_secret_update_oracle_db [DynamicSecretUpdateOracleDb]
|
|
11215
11343
|
# @param [Hash] opts the optional parameters
|
|
11216
11344
|
# @return [DynamicSecretUpdateOutput]
|
|
@@ -12619,6 +12747,70 @@ module Akeyless
|
|
|
12619
12747
|
return data, status_code, headers
|
|
12620
12748
|
end
|
|
12621
12749
|
|
|
12750
|
+
# @param event_forwarder_create_teams [EventForwarderCreateTeams]
|
|
12751
|
+
# @param [Hash] opts the optional parameters
|
|
12752
|
+
# @return [EventForwarderCreateUpdateOutput]
|
|
12753
|
+
def event_forwarder_create_teams(event_forwarder_create_teams, opts = {})
|
|
12754
|
+
data, _status_code, _headers = event_forwarder_create_teams_with_http_info(event_forwarder_create_teams, opts)
|
|
12755
|
+
data
|
|
12756
|
+
end
|
|
12757
|
+
|
|
12758
|
+
# @param event_forwarder_create_teams [EventForwarderCreateTeams]
|
|
12759
|
+
# @param [Hash] opts the optional parameters
|
|
12760
|
+
# @return [Array<(EventForwarderCreateUpdateOutput, Integer, Hash)>] EventForwarderCreateUpdateOutput data, response status code and response headers
|
|
12761
|
+
def event_forwarder_create_teams_with_http_info(event_forwarder_create_teams, opts = {})
|
|
12762
|
+
if @api_client.config.debugging
|
|
12763
|
+
@api_client.config.logger.debug 'Calling API: V2Api.event_forwarder_create_teams ...'
|
|
12764
|
+
end
|
|
12765
|
+
# verify the required parameter 'event_forwarder_create_teams' is set
|
|
12766
|
+
if @api_client.config.client_side_validation && event_forwarder_create_teams.nil?
|
|
12767
|
+
fail ArgumentError, "Missing the required parameter 'event_forwarder_create_teams' when calling V2Api.event_forwarder_create_teams"
|
|
12768
|
+
end
|
|
12769
|
+
# resource path
|
|
12770
|
+
local_var_path = '/event-forwarder-create-teams'
|
|
12771
|
+
|
|
12772
|
+
# query parameters
|
|
12773
|
+
query_params = opts[:query_params] || {}
|
|
12774
|
+
|
|
12775
|
+
# header parameters
|
|
12776
|
+
header_params = opts[:header_params] || {}
|
|
12777
|
+
# HTTP header 'Accept' (if needed)
|
|
12778
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
12779
|
+
# HTTP header 'Content-Type'
|
|
12780
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
12781
|
+
if !content_type.nil?
|
|
12782
|
+
header_params['Content-Type'] = content_type
|
|
12783
|
+
end
|
|
12784
|
+
|
|
12785
|
+
# form parameters
|
|
12786
|
+
form_params = opts[:form_params] || {}
|
|
12787
|
+
|
|
12788
|
+
# http body (model)
|
|
12789
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_forwarder_create_teams)
|
|
12790
|
+
|
|
12791
|
+
# return_type
|
|
12792
|
+
return_type = opts[:debug_return_type] || 'EventForwarderCreateUpdateOutput'
|
|
12793
|
+
|
|
12794
|
+
# auth_names
|
|
12795
|
+
auth_names = opts[:debug_auth_names] || []
|
|
12796
|
+
|
|
12797
|
+
new_options = opts.merge(
|
|
12798
|
+
:operation => :"V2Api.event_forwarder_create_teams",
|
|
12799
|
+
:header_params => header_params,
|
|
12800
|
+
:query_params => query_params,
|
|
12801
|
+
:form_params => form_params,
|
|
12802
|
+
:body => post_body,
|
|
12803
|
+
:auth_names => auth_names,
|
|
12804
|
+
:return_type => return_type
|
|
12805
|
+
)
|
|
12806
|
+
|
|
12807
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
12808
|
+
if @api_client.config.debugging
|
|
12809
|
+
@api_client.config.logger.debug "API called: V2Api#event_forwarder_create_teams\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12810
|
+
end
|
|
12811
|
+
return data, status_code, headers
|
|
12812
|
+
end
|
|
12813
|
+
|
|
12622
12814
|
# @param event_forwarder_create_webhook [EventForwarderCreateWebhook]
|
|
12623
12815
|
# @param [Hash] opts the optional parameters
|
|
12624
12816
|
# @return [EventForwarderCreateUpdateOutput]
|
|
@@ -13003,6 +13195,70 @@ module Akeyless
|
|
|
13003
13195
|
return data, status_code, headers
|
|
13004
13196
|
end
|
|
13005
13197
|
|
|
13198
|
+
# @param event_forwarder_update_teams [EventForwarderUpdateTeams]
|
|
13199
|
+
# @param [Hash] opts the optional parameters
|
|
13200
|
+
# @return [EventForwarderCreateUpdateOutput]
|
|
13201
|
+
def event_forwarder_update_teams(event_forwarder_update_teams, opts = {})
|
|
13202
|
+
data, _status_code, _headers = event_forwarder_update_teams_with_http_info(event_forwarder_update_teams, opts)
|
|
13203
|
+
data
|
|
13204
|
+
end
|
|
13205
|
+
|
|
13206
|
+
# @param event_forwarder_update_teams [EventForwarderUpdateTeams]
|
|
13207
|
+
# @param [Hash] opts the optional parameters
|
|
13208
|
+
# @return [Array<(EventForwarderCreateUpdateOutput, Integer, Hash)>] EventForwarderCreateUpdateOutput data, response status code and response headers
|
|
13209
|
+
def event_forwarder_update_teams_with_http_info(event_forwarder_update_teams, opts = {})
|
|
13210
|
+
if @api_client.config.debugging
|
|
13211
|
+
@api_client.config.logger.debug 'Calling API: V2Api.event_forwarder_update_teams ...'
|
|
13212
|
+
end
|
|
13213
|
+
# verify the required parameter 'event_forwarder_update_teams' is set
|
|
13214
|
+
if @api_client.config.client_side_validation && event_forwarder_update_teams.nil?
|
|
13215
|
+
fail ArgumentError, "Missing the required parameter 'event_forwarder_update_teams' when calling V2Api.event_forwarder_update_teams"
|
|
13216
|
+
end
|
|
13217
|
+
# resource path
|
|
13218
|
+
local_var_path = '/event-forwarder-update-teams'
|
|
13219
|
+
|
|
13220
|
+
# query parameters
|
|
13221
|
+
query_params = opts[:query_params] || {}
|
|
13222
|
+
|
|
13223
|
+
# header parameters
|
|
13224
|
+
header_params = opts[:header_params] || {}
|
|
13225
|
+
# HTTP header 'Accept' (if needed)
|
|
13226
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
13227
|
+
# HTTP header 'Content-Type'
|
|
13228
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13229
|
+
if !content_type.nil?
|
|
13230
|
+
header_params['Content-Type'] = content_type
|
|
13231
|
+
end
|
|
13232
|
+
|
|
13233
|
+
# form parameters
|
|
13234
|
+
form_params = opts[:form_params] || {}
|
|
13235
|
+
|
|
13236
|
+
# http body (model)
|
|
13237
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_forwarder_update_teams)
|
|
13238
|
+
|
|
13239
|
+
# return_type
|
|
13240
|
+
return_type = opts[:debug_return_type] || 'EventForwarderCreateUpdateOutput'
|
|
13241
|
+
|
|
13242
|
+
# auth_names
|
|
13243
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13244
|
+
|
|
13245
|
+
new_options = opts.merge(
|
|
13246
|
+
:operation => :"V2Api.event_forwarder_update_teams",
|
|
13247
|
+
:header_params => header_params,
|
|
13248
|
+
:query_params => query_params,
|
|
13249
|
+
:form_params => form_params,
|
|
13250
|
+
:body => post_body,
|
|
13251
|
+
:auth_names => auth_names,
|
|
13252
|
+
:return_type => return_type
|
|
13253
|
+
)
|
|
13254
|
+
|
|
13255
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13256
|
+
if @api_client.config.debugging
|
|
13257
|
+
@api_client.config.logger.debug "API called: V2Api#event_forwarder_update_teams\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13258
|
+
end
|
|
13259
|
+
return data, status_code, headers
|
|
13260
|
+
end
|
|
13261
|
+
|
|
13006
13262
|
# @param event_forwarder_update_webhook [EventForwarderUpdateWebhook]
|
|
13007
13263
|
# @param [Hash] opts the optional parameters
|
|
13008
13264
|
# @return [EventForwarderCreateUpdateOutput]
|