akeyless 2.16.8 → 2.16.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 +5 -1
- data/docs/Configure.md +5 -1
- data/docs/GatewayCreateMigration.md +22 -22
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +2 -0
- data/docs/GatewayCreateProducerAzure.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerCustom.md +2 -0
- data/docs/GatewayCreateProducerDockerhub.md +2 -0
- data/docs/GatewayCreateProducerEks.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerGithub.md +2 -0
- data/docs/GatewayCreateProducerGke.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +2 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayCreateProducerMySQL.md +2 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +2 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +2 -0
- data/docs/GatewayDeleteMigration.md +1 -1
- data/docs/GatewayGetMigration.md +1 -1
- data/docs/GatewayStatusMigration.md +24 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +25 -25
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +2 -0
- data/docs/GatewayUpdateProducerAzure.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerCustom.md +2 -0
- data/docs/GatewayUpdateProducerDockerhub.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerGithub.md +2 -0
- data/docs/GatewayUpdateProducerGke.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +2 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateProducerMySQL.md +2 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +2 -0
- data/docs/GetKubeExecCreds.md +4 -0
- data/docs/GetPKICertificate.md +4 -0
- data/docs/GetSSHCertificate.md +4 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/MigrationGeneral.md +2 -0
- data/docs/MigrationItems.md +24 -0
- data/docs/MigrationStatusReplyObj.md +36 -0
- data/docs/TargetTypeDetailsInput.md +2 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +64 -1
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/models/configure.rb +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +22 -22
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/gateway_delete_migration.rb +1 -1
- data/lib/akeyless/models/gateway_get_migration.rb +1 -0
- data/lib/akeyless/models/gateway_status_migration.rb +251 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +33 -38
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +21 -1
- data/lib/akeyless/models/get_pki_certificate.rb +21 -1
- data/lib/akeyless/models/get_ssh_certificate.rb +21 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/migration_general.rb +10 -1
- data/lib/akeyless/models/migration_items.rb +246 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +300 -0
- data/lib/akeyless/models/target_type_details_input.rb +10 -1
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/models/upload_rsa.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -0
- data/spec/models/gateway_status_migration_spec.rb +52 -0
- data/spec/models/migration_items_spec.rb +52 -0
- data/spec/models/migration_status_reply_obj_spec.rb +88 -0
- metadata +511 -499
|
@@ -31,6 +31,9 @@ module Akeyless
|
|
|
31
31
|
# Cassandra superuser username
|
|
32
32
|
attr_accessor :cassandra_username
|
|
33
33
|
|
|
34
|
+
# Protection from accidental deletion of this item
|
|
35
|
+
attr_accessor :delete_protection
|
|
36
|
+
|
|
34
37
|
# Producer name
|
|
35
38
|
attr_accessor :name
|
|
36
39
|
|
|
@@ -63,6 +66,7 @@ module Akeyless
|
|
|
63
66
|
:'cassandra_password' => :'cassandra-password',
|
|
64
67
|
:'cassandra_port' => :'cassandra-port',
|
|
65
68
|
:'cassandra_username' => :'cassandra-username',
|
|
69
|
+
:'delete_protection' => :'delete_protection',
|
|
66
70
|
:'name' => :'name',
|
|
67
71
|
:'new_name' => :'new-name',
|
|
68
72
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
:'cassandra_password' => :'String',
|
|
88
92
|
:'cassandra_port' => :'String',
|
|
89
93
|
:'cassandra_username' => :'String',
|
|
94
|
+
:'delete_protection' => :'String',
|
|
90
95
|
:'name' => :'String',
|
|
91
96
|
:'new_name' => :'String',
|
|
92
97
|
:'producer_encryption_key_name' => :'String',
|
|
@@ -141,6 +146,10 @@ module Akeyless
|
|
|
141
146
|
self.cassandra_username = attributes[:'cassandra_username']
|
|
142
147
|
end
|
|
143
148
|
|
|
149
|
+
if attributes.key?(:'delete_protection')
|
|
150
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
151
|
+
end
|
|
152
|
+
|
|
144
153
|
if attributes.key?(:'name')
|
|
145
154
|
self.name = attributes[:'name']
|
|
146
155
|
end
|
|
@@ -206,6 +215,7 @@ module Akeyless
|
|
|
206
215
|
cassandra_password == o.cassandra_password &&
|
|
207
216
|
cassandra_port == o.cassandra_port &&
|
|
208
217
|
cassandra_username == o.cassandra_username &&
|
|
218
|
+
delete_protection == o.delete_protection &&
|
|
209
219
|
name == o.name &&
|
|
210
220
|
new_name == o.new_name &&
|
|
211
221
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
@@ -225,7 +235,7 @@ module Akeyless
|
|
|
225
235
|
# Calculates hash code according to all attributes.
|
|
226
236
|
# @return [Integer] Hash code
|
|
227
237
|
def hash
|
|
228
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
238
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
229
239
|
end
|
|
230
240
|
|
|
231
241
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# Auto generated folder
|
|
29
29
|
attr_accessor :auto_generated_folder
|
|
30
30
|
|
|
31
|
+
# Protection from accidental deletion of this item
|
|
32
|
+
attr_accessor :delete_protection
|
|
33
|
+
|
|
31
34
|
# Automatic admin credentials rotation
|
|
32
35
|
attr_accessor :enable_admin_rotation
|
|
33
36
|
|
|
@@ -92,6 +95,7 @@ module Akeyless
|
|
|
92
95
|
:'allow_subdomains' => :'allow-subdomains',
|
|
93
96
|
:'allowed_domains' => :'allowed-domains',
|
|
94
97
|
:'auto_generated_folder' => :'auto-generated-folder',
|
|
98
|
+
:'delete_protection' => :'delete_protection',
|
|
95
99
|
:'enable_admin_rotation' => :'enable-admin-rotation',
|
|
96
100
|
:'name' => :'name',
|
|
97
101
|
:'new_name' => :'new-name',
|
|
@@ -126,6 +130,7 @@ module Akeyless
|
|
|
126
130
|
:'allow_subdomains' => :'Boolean',
|
|
127
131
|
:'allowed_domains' => :'Array<String>',
|
|
128
132
|
:'auto_generated_folder' => :'String',
|
|
133
|
+
:'delete_protection' => :'String',
|
|
129
134
|
:'enable_admin_rotation' => :'Boolean',
|
|
130
135
|
:'name' => :'String',
|
|
131
136
|
:'new_name' => :'String',
|
|
@@ -189,6 +194,10 @@ module Akeyless
|
|
|
189
194
|
self.auto_generated_folder = attributes[:'auto_generated_folder']
|
|
190
195
|
end
|
|
191
196
|
|
|
197
|
+
if attributes.key?(:'delete_protection')
|
|
198
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
199
|
+
end
|
|
200
|
+
|
|
192
201
|
if attributes.key?(:'enable_admin_rotation')
|
|
193
202
|
self.enable_admin_rotation = attributes[:'enable_admin_rotation']
|
|
194
203
|
else
|
|
@@ -297,6 +306,7 @@ module Akeyless
|
|
|
297
306
|
allow_subdomains == o.allow_subdomains &&
|
|
298
307
|
allowed_domains == o.allowed_domains &&
|
|
299
308
|
auto_generated_folder == o.auto_generated_folder &&
|
|
309
|
+
delete_protection == o.delete_protection &&
|
|
300
310
|
enable_admin_rotation == o.enable_admin_rotation &&
|
|
301
311
|
name == o.name &&
|
|
302
312
|
new_name == o.new_name &&
|
|
@@ -327,7 +337,7 @@ module Akeyless
|
|
|
327
337
|
# Calculates hash code according to all attributes.
|
|
328
338
|
# @return [Integer] Hash code
|
|
329
339
|
def hash
|
|
330
|
-
[admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, enable_admin_rotation, name, new_name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_api_key, venafi_baseurl, venafi_password, venafi_use_tpp, venafi_username, venafi_zone].hash
|
|
340
|
+
[admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, delete_protection, enable_admin_rotation, name, new_name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_api_key, venafi_baseurl, venafi_password, venafi_use_tpp, venafi_username, venafi_zone].hash
|
|
331
341
|
end
|
|
332
342
|
|
|
333
343
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# Server username
|
|
29
29
|
attr_accessor :chef_server_username
|
|
30
30
|
|
|
31
|
+
# Protection from accidental deletion of this item
|
|
32
|
+
attr_accessor :delete_protection
|
|
33
|
+
|
|
31
34
|
# Producer name
|
|
32
35
|
attr_accessor :name
|
|
33
36
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
:'chef_server_key' => :'chef-server-key',
|
|
63
66
|
:'chef_server_url' => :'chef-server-url',
|
|
64
67
|
:'chef_server_username' => :'chef-server-username',
|
|
68
|
+
:'delete_protection' => :'delete_protection',
|
|
65
69
|
:'name' => :'name',
|
|
66
70
|
:'new_name' => :'new-name',
|
|
67
71
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
@@ -86,6 +90,7 @@ module Akeyless
|
|
|
86
90
|
:'chef_server_key' => :'String',
|
|
87
91
|
:'chef_server_url' => :'String',
|
|
88
92
|
:'chef_server_username' => :'String',
|
|
93
|
+
:'delete_protection' => :'String',
|
|
89
94
|
:'name' => :'String',
|
|
90
95
|
:'new_name' => :'String',
|
|
91
96
|
:'producer_encryption_key_name' => :'String',
|
|
@@ -135,6 +140,10 @@ module Akeyless
|
|
|
135
140
|
self.chef_server_username = attributes[:'chef_server_username']
|
|
136
141
|
end
|
|
137
142
|
|
|
143
|
+
if attributes.key?(:'delete_protection')
|
|
144
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
145
|
+
end
|
|
146
|
+
|
|
138
147
|
if attributes.key?(:'name')
|
|
139
148
|
self.name = attributes[:'name']
|
|
140
149
|
end
|
|
@@ -205,6 +214,7 @@ module Akeyless
|
|
|
205
214
|
chef_server_key == o.chef_server_key &&
|
|
206
215
|
chef_server_url == o.chef_server_url &&
|
|
207
216
|
chef_server_username == o.chef_server_username &&
|
|
217
|
+
delete_protection == o.delete_protection &&
|
|
208
218
|
name == o.name &&
|
|
209
219
|
new_name == o.new_name &&
|
|
210
220
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
@@ -225,7 +235,7 @@ module Akeyless
|
|
|
225
235
|
# Calculates hash code according to all attributes.
|
|
226
236
|
# @return [Integer] Hash code
|
|
227
237
|
def hash
|
|
228
|
-
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, name, new_name, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
|
238
|
+
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, delete_protection, name, new_name, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
|
229
239
|
end
|
|
230
240
|
|
|
231
241
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# URL of an endpoint that implements /sync/create method, for example https://webhook.example.com/sync/create
|
|
22
22
|
attr_accessor :create_sync_url
|
|
23
23
|
|
|
24
|
+
# Protection from accidental deletion of this item
|
|
25
|
+
attr_accessor :delete_protection
|
|
26
|
+
|
|
24
27
|
# Should admin credentials be rotated
|
|
25
28
|
attr_accessor :enable_admin_rotation
|
|
26
29
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
{
|
|
63
66
|
:'admin_rotation_interval_days' => :'admin_rotation_interval_days',
|
|
64
67
|
:'create_sync_url' => :'create-sync-url',
|
|
68
|
+
:'delete_protection' => :'delete_protection',
|
|
65
69
|
:'enable_admin_rotation' => :'enable_admin_rotation',
|
|
66
70
|
:'name' => :'name',
|
|
67
71
|
:'new_name' => :'new-name',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
{
|
|
88
92
|
:'admin_rotation_interval_days' => :'Integer',
|
|
89
93
|
:'create_sync_url' => :'String',
|
|
94
|
+
:'delete_protection' => :'String',
|
|
90
95
|
:'enable_admin_rotation' => :'Boolean',
|
|
91
96
|
:'name' => :'String',
|
|
92
97
|
:'new_name' => :'String',
|
|
@@ -131,6 +136,10 @@ module Akeyless
|
|
|
131
136
|
self.create_sync_url = attributes[:'create_sync_url']
|
|
132
137
|
end
|
|
133
138
|
|
|
139
|
+
if attributes.key?(:'delete_protection')
|
|
140
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
141
|
+
end
|
|
142
|
+
|
|
134
143
|
if attributes.key?(:'enable_admin_rotation')
|
|
135
144
|
self.enable_admin_rotation = attributes[:'enable_admin_rotation']
|
|
136
145
|
else
|
|
@@ -223,6 +232,7 @@ module Akeyless
|
|
|
223
232
|
self.class == o.class &&
|
|
224
233
|
admin_rotation_interval_days == o.admin_rotation_interval_days &&
|
|
225
234
|
create_sync_url == o.create_sync_url &&
|
|
235
|
+
delete_protection == o.delete_protection &&
|
|
226
236
|
enable_admin_rotation == o.enable_admin_rotation &&
|
|
227
237
|
name == o.name &&
|
|
228
238
|
new_name == o.new_name &&
|
|
@@ -246,7 +256,7 @@ module Akeyless
|
|
|
246
256
|
# Calculates hash code according to all attributes.
|
|
247
257
|
# @return [Integer] Hash code
|
|
248
258
|
def hash
|
|
249
|
-
[admin_rotation_interval_days, create_sync_url, enable_admin_rotation, name, new_name, payload, producer_encryption_key_name, revoke_sync_url, rotate_sync_url, tags, timeout_sec, token, uid_token, user_ttl].hash
|
|
259
|
+
[admin_rotation_interval_days, create_sync_url, delete_protection, enable_admin_rotation, name, new_name, payload, producer_encryption_key_name, revoke_sync_url, rotate_sync_url, tags, timeout_sec, token, uid_token, user_ttl].hash
|
|
250
260
|
end
|
|
251
261
|
|
|
252
262
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerDockerhub is a command that updates a DOCKERHUB producer
|
|
18
18
|
class GatewayUpdateProducerDockerhub
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# DockerhubPassword is either the user's password access token to manage the repository
|
|
20
23
|
attr_accessor :dockerhub_password
|
|
21
24
|
|
|
@@ -52,6 +55,7 @@ module Akeyless
|
|
|
52
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
56
|
def self.attribute_map
|
|
54
57
|
{
|
|
58
|
+
:'delete_protection' => :'delete_protection',
|
|
55
59
|
:'dockerhub_password' => :'dockerhub-password',
|
|
56
60
|
:'dockerhub_token_scopes' => :'dockerhub-token-scopes',
|
|
57
61
|
:'dockerhub_username' => :'dockerhub-username',
|
|
@@ -74,6 +78,7 @@ module Akeyless
|
|
|
74
78
|
# Attribute type mapping.
|
|
75
79
|
def self.openapi_types
|
|
76
80
|
{
|
|
81
|
+
:'delete_protection' => :'String',
|
|
77
82
|
:'dockerhub_password' => :'String',
|
|
78
83
|
:'dockerhub_token_scopes' => :'String',
|
|
79
84
|
:'dockerhub_username' => :'String',
|
|
@@ -109,6 +114,10 @@ module Akeyless
|
|
|
109
114
|
h[k.to_sym] = v
|
|
110
115
|
}
|
|
111
116
|
|
|
117
|
+
if attributes.key?(:'delete_protection')
|
|
118
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
119
|
+
end
|
|
120
|
+
|
|
112
121
|
if attributes.key?(:'dockerhub_password')
|
|
113
122
|
self.dockerhub_password = attributes[:'dockerhub_password']
|
|
114
123
|
end
|
|
@@ -181,6 +190,7 @@ module Akeyless
|
|
|
181
190
|
def ==(o)
|
|
182
191
|
return true if self.equal?(o)
|
|
183
192
|
self.class == o.class &&
|
|
193
|
+
delete_protection == o.delete_protection &&
|
|
184
194
|
dockerhub_password == o.dockerhub_password &&
|
|
185
195
|
dockerhub_token_scopes == o.dockerhub_token_scopes &&
|
|
186
196
|
dockerhub_username == o.dockerhub_username &&
|
|
@@ -203,7 +213,7 @@ module Akeyless
|
|
|
203
213
|
# Calculates hash code according to all attributes.
|
|
204
214
|
# @return [Integer] Hash code
|
|
205
215
|
def hash
|
|
206
|
-
[dockerhub_password, dockerhub_token_scopes, dockerhub_username, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
216
|
+
[delete_protection, dockerhub_password, dockerhub_token_scopes, dockerhub_username, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
207
217
|
end
|
|
208
218
|
|
|
209
219
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerEks is a command that updates eks producer
|
|
18
18
|
class GatewayUpdateProducerEks
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# Access Key ID
|
|
20
23
|
attr_accessor :eks_access_key_id
|
|
21
24
|
|
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
|
74
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
75
78
|
def self.attribute_map
|
|
76
79
|
{
|
|
80
|
+
:'delete_protection' => :'delete_protection',
|
|
77
81
|
:'eks_access_key_id' => :'eks-access-key-id',
|
|
78
82
|
:'eks_assume_role' => :'eks-assume-role',
|
|
79
83
|
:'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
|
|
@@ -105,6 +109,7 @@ module Akeyless
|
|
|
105
109
|
# Attribute type mapping.
|
|
106
110
|
def self.openapi_types
|
|
107
111
|
{
|
|
112
|
+
:'delete_protection' => :'String',
|
|
108
113
|
:'eks_access_key_id' => :'String',
|
|
109
114
|
:'eks_assume_role' => :'String',
|
|
110
115
|
:'eks_cluster_ca_cert' => :'String',
|
|
@@ -149,6 +154,10 @@ module Akeyless
|
|
|
149
154
|
h[k.to_sym] = v
|
|
150
155
|
}
|
|
151
156
|
|
|
157
|
+
if attributes.key?(:'delete_protection')
|
|
158
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
159
|
+
end
|
|
160
|
+
|
|
152
161
|
if attributes.key?(:'eks_access_key_id')
|
|
153
162
|
self.eks_access_key_id = attributes[:'eks_access_key_id']
|
|
154
163
|
end
|
|
@@ -259,6 +268,7 @@ module Akeyless
|
|
|
259
268
|
def ==(o)
|
|
260
269
|
return true if self.equal?(o)
|
|
261
270
|
self.class == o.class &&
|
|
271
|
+
delete_protection == o.delete_protection &&
|
|
262
272
|
eks_access_key_id == o.eks_access_key_id &&
|
|
263
273
|
eks_assume_role == o.eks_assume_role &&
|
|
264
274
|
eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
|
|
@@ -290,7 +300,7 @@ module Akeyless
|
|
|
290
300
|
# Calculates hash code according to all attributes.
|
|
291
301
|
# @return [Integer] Hash code
|
|
292
302
|
def hash
|
|
293
|
-
[eks_access_key_id, eks_assume_role, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_enable, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
303
|
+
[delete_protection, eks_access_key_id, eks_assume_role, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_enable, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
294
304
|
end
|
|
295
305
|
|
|
296
306
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerGcp is a command that updates a GCP producer
|
|
18
18
|
class GatewayUpdateProducerGcp
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
attr_accessor :gcp_cred_type
|
|
20
23
|
|
|
21
24
|
# Base64-encoded service account private key text
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
58
61
|
def self.attribute_map
|
|
59
62
|
{
|
|
63
|
+
:'delete_protection' => :'delete_protection',
|
|
60
64
|
:'gcp_cred_type' => :'gcp-cred-type',
|
|
61
65
|
:'gcp_key' => :'gcp-key',
|
|
62
66
|
:'gcp_key_algo' => :'gcp-key-algo',
|
|
@@ -81,6 +85,7 @@ module Akeyless
|
|
|
81
85
|
# Attribute type mapping.
|
|
82
86
|
def self.openapi_types
|
|
83
87
|
{
|
|
88
|
+
:'delete_protection' => :'String',
|
|
84
89
|
:'gcp_cred_type' => :'String',
|
|
85
90
|
:'gcp_key' => :'String',
|
|
86
91
|
:'gcp_key_algo' => :'String',
|
|
@@ -118,6 +123,10 @@ module Akeyless
|
|
|
118
123
|
h[k.to_sym] = v
|
|
119
124
|
}
|
|
120
125
|
|
|
126
|
+
if attributes.key?(:'delete_protection')
|
|
127
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
128
|
+
end
|
|
129
|
+
|
|
121
130
|
if attributes.key?(:'gcp_cred_type')
|
|
122
131
|
self.gcp_cred_type = attributes[:'gcp_cred_type']
|
|
123
132
|
end
|
|
@@ -198,6 +207,7 @@ module Akeyless
|
|
|
198
207
|
def ==(o)
|
|
199
208
|
return true if self.equal?(o)
|
|
200
209
|
self.class == o.class &&
|
|
210
|
+
delete_protection == o.delete_protection &&
|
|
201
211
|
gcp_cred_type == o.gcp_cred_type &&
|
|
202
212
|
gcp_key == o.gcp_key &&
|
|
203
213
|
gcp_key_algo == o.gcp_key_algo &&
|
|
@@ -222,7 +232,7 @@ module Akeyless
|
|
|
222
232
|
# Calculates hash code according to all attributes.
|
|
223
233
|
# @return [Integer] Hash code
|
|
224
234
|
def hash
|
|
225
|
-
[gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
235
|
+
[delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
226
236
|
end
|
|
227
237
|
|
|
228
238
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerGithub is a command that updates github producer
|
|
18
18
|
class GatewayUpdateProducerGithub
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# Github app id
|
|
20
23
|
attr_accessor :github_app_id
|
|
21
24
|
|
|
@@ -55,6 +58,7 @@ module Akeyless
|
|
|
55
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
59
|
def self.attribute_map
|
|
57
60
|
{
|
|
61
|
+
:'delete_protection' => :'delete_protection',
|
|
58
62
|
:'github_app_id' => :'github-app-id',
|
|
59
63
|
:'github_app_private_key' => :'github-app-private-key',
|
|
60
64
|
:'github_base_url' => :'github-base-url',
|
|
@@ -78,6 +82,7 @@ module Akeyless
|
|
|
78
82
|
# Attribute type mapping.
|
|
79
83
|
def self.openapi_types
|
|
80
84
|
{
|
|
85
|
+
:'delete_protection' => :'String',
|
|
81
86
|
:'github_app_id' => :'Integer',
|
|
82
87
|
:'github_app_private_key' => :'String',
|
|
83
88
|
:'github_base_url' => :'String',
|
|
@@ -114,6 +119,10 @@ module Akeyless
|
|
|
114
119
|
h[k.to_sym] = v
|
|
115
120
|
}
|
|
116
121
|
|
|
122
|
+
if attributes.key?(:'delete_protection')
|
|
123
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
124
|
+
end
|
|
125
|
+
|
|
117
126
|
if attributes.key?(:'github_app_id')
|
|
118
127
|
self.github_app_id = attributes[:'github_app_id']
|
|
119
128
|
end
|
|
@@ -190,6 +199,7 @@ module Akeyless
|
|
|
190
199
|
def ==(o)
|
|
191
200
|
return true if self.equal?(o)
|
|
192
201
|
self.class == o.class &&
|
|
202
|
+
delete_protection == o.delete_protection &&
|
|
193
203
|
github_app_id == o.github_app_id &&
|
|
194
204
|
github_app_private_key == o.github_app_private_key &&
|
|
195
205
|
github_base_url == o.github_base_url &&
|
|
@@ -213,7 +223,7 @@ module Akeyless
|
|
|
213
223
|
# Calculates hash code according to all attributes.
|
|
214
224
|
# @return [Integer] Hash code
|
|
215
225
|
def hash
|
|
216
|
-
[github_app_id, github_app_private_key, github_base_url, installation_id, installation_repository, name, new_name, target_name, token, token_permissions, token_repositories, uid_token].hash
|
|
226
|
+
[delete_protection, github_app_id, github_app_private_key, github_base_url, installation_id, installation_repository, name, new_name, target_name, token, token_permissions, token_repositories, uid_token].hash
|
|
217
227
|
end
|
|
218
228
|
|
|
219
229
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerGke is a command that updates gke producer
|
|
18
18
|
class GatewayUpdateProducerGke
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# GKE Service Account key file path
|
|
20
23
|
attr_accessor :gke_account_key
|
|
21
24
|
|
|
@@ -68,6 +71,7 @@ module Akeyless
|
|
|
68
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
72
|
def self.attribute_map
|
|
70
73
|
{
|
|
74
|
+
:'delete_protection' => :'delete_protection',
|
|
71
75
|
:'gke_account_key' => :'gke-account-key',
|
|
72
76
|
:'gke_cluster_cert' => :'gke-cluster-cert',
|
|
73
77
|
:'gke_cluster_endpoint' => :'gke-cluster-endpoint',
|
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
|
97
101
|
# Attribute type mapping.
|
|
98
102
|
def self.openapi_types
|
|
99
103
|
{
|
|
104
|
+
:'delete_protection' => :'String',
|
|
100
105
|
:'gke_account_key' => :'String',
|
|
101
106
|
:'gke_cluster_cert' => :'String',
|
|
102
107
|
:'gke_cluster_endpoint' => :'String',
|
|
@@ -139,6 +144,10 @@ module Akeyless
|
|
|
139
144
|
h[k.to_sym] = v
|
|
140
145
|
}
|
|
141
146
|
|
|
147
|
+
if attributes.key?(:'delete_protection')
|
|
148
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
149
|
+
end
|
|
150
|
+
|
|
142
151
|
if attributes.key?(:'gke_account_key')
|
|
143
152
|
self.gke_account_key = attributes[:'gke_account_key']
|
|
144
153
|
end
|
|
@@ -239,6 +248,7 @@ module Akeyless
|
|
|
239
248
|
def ==(o)
|
|
240
249
|
return true if self.equal?(o)
|
|
241
250
|
self.class == o.class &&
|
|
251
|
+
delete_protection == o.delete_protection &&
|
|
242
252
|
gke_account_key == o.gke_account_key &&
|
|
243
253
|
gke_cluster_cert == o.gke_cluster_cert &&
|
|
244
254
|
gke_cluster_endpoint == o.gke_cluster_endpoint &&
|
|
@@ -268,7 +278,7 @@ module Akeyless
|
|
|
268
278
|
# Calculates hash code according to all attributes.
|
|
269
279
|
# @return [Integer] Hash code
|
|
270
280
|
def hash
|
|
271
|
-
[gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_enable, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
281
|
+
[delete_protection, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_enable, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
272
282
|
end
|
|
273
283
|
|
|
274
284
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerHanaDb is a command that updates hanadb producer
|
|
18
18
|
class GatewayUpdateProducerHanaDb
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# HanaDb Name
|
|
20
23
|
attr_accessor :hana_dbname
|
|
21
24
|
|
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
|
74
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
75
78
|
def self.attribute_map
|
|
76
79
|
{
|
|
80
|
+
:'delete_protection' => :'delete_protection',
|
|
77
81
|
:'hana_dbname' => :'hana-dbname',
|
|
78
82
|
:'hanadb_create_statements' => :'hanadb-create-statements',
|
|
79
83
|
:'hanadb_host' => :'hanadb-host',
|
|
@@ -105,6 +109,7 @@ module Akeyless
|
|
|
105
109
|
# Attribute type mapping.
|
|
106
110
|
def self.openapi_types
|
|
107
111
|
{
|
|
112
|
+
:'delete_protection' => :'String',
|
|
108
113
|
:'hana_dbname' => :'String',
|
|
109
114
|
:'hanadb_create_statements' => :'String',
|
|
110
115
|
:'hanadb_host' => :'String',
|
|
@@ -149,6 +154,10 @@ module Akeyless
|
|
|
149
154
|
h[k.to_sym] = v
|
|
150
155
|
}
|
|
151
156
|
|
|
157
|
+
if attributes.key?(:'delete_protection')
|
|
158
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
159
|
+
end
|
|
160
|
+
|
|
152
161
|
if attributes.key?(:'hana_dbname')
|
|
153
162
|
self.hana_dbname = attributes[:'hana_dbname']
|
|
154
163
|
end
|
|
@@ -263,6 +272,7 @@ module Akeyless
|
|
|
263
272
|
def ==(o)
|
|
264
273
|
return true if self.equal?(o)
|
|
265
274
|
self.class == o.class &&
|
|
275
|
+
delete_protection == o.delete_protection &&
|
|
266
276
|
hana_dbname == o.hana_dbname &&
|
|
267
277
|
hanadb_create_statements == o.hanadb_create_statements &&
|
|
268
278
|
hanadb_host == o.hanadb_host &&
|
|
@@ -294,7 +304,7 @@ module Akeyless
|
|
|
294
304
|
# Calculates hash code according to all attributes.
|
|
295
305
|
# @return [Integer] Hash code
|
|
296
306
|
def hash
|
|
297
|
-
[hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
307
|
+
[delete_protection, hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
298
308
|
end
|
|
299
309
|
|
|
300
310
|
# Builds the object from hash
|
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# Bind DN Password
|
|
23
23
|
attr_accessor :bind_dn_password
|
|
24
24
|
|
|
25
|
+
# Protection from accidental deletion of this item
|
|
26
|
+
attr_accessor :delete_protection
|
|
27
|
+
|
|
25
28
|
# Fixed user
|
|
26
29
|
attr_accessor :external_username
|
|
27
30
|
|
|
@@ -69,6 +72,7 @@ module Akeyless
|
|
|
69
72
|
{
|
|
70
73
|
:'bind_dn' => :'bind-dn',
|
|
71
74
|
:'bind_dn_password' => :'bind-dn-password',
|
|
75
|
+
:'delete_protection' => :'delete_protection',
|
|
72
76
|
:'external_username' => :'external-username',
|
|
73
77
|
:'ldap_ca_cert' => :'ldap-ca-cert',
|
|
74
78
|
:'ldap_url' => :'ldap-url',
|
|
@@ -96,6 +100,7 @@ module Akeyless
|
|
|
96
100
|
{
|
|
97
101
|
:'bind_dn' => :'String',
|
|
98
102
|
:'bind_dn_password' => :'String',
|
|
103
|
+
:'delete_protection' => :'String',
|
|
99
104
|
:'external_username' => :'String',
|
|
100
105
|
:'ldap_ca_cert' => :'String',
|
|
101
106
|
:'ldap_url' => :'String',
|
|
@@ -142,6 +147,10 @@ module Akeyless
|
|
|
142
147
|
self.bind_dn_password = attributes[:'bind_dn_password']
|
|
143
148
|
end
|
|
144
149
|
|
|
150
|
+
if attributes.key?(:'delete_protection')
|
|
151
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
152
|
+
end
|
|
153
|
+
|
|
145
154
|
if attributes.key?(:'external_username')
|
|
146
155
|
self.external_username = attributes[:'external_username']
|
|
147
156
|
else
|
|
@@ -230,6 +239,7 @@ module Akeyless
|
|
|
230
239
|
self.class == o.class &&
|
|
231
240
|
bind_dn == o.bind_dn &&
|
|
232
241
|
bind_dn_password == o.bind_dn_password &&
|
|
242
|
+
delete_protection == o.delete_protection &&
|
|
233
243
|
external_username == o.external_username &&
|
|
234
244
|
ldap_ca_cert == o.ldap_ca_cert &&
|
|
235
245
|
ldap_url == o.ldap_url &&
|
|
@@ -255,7 +265,7 @@ module Akeyless
|
|
|
255
265
|
# Calculates hash code according to all attributes.
|
|
256
266
|
# @return [Integer] Hash code
|
|
257
267
|
def hash
|
|
258
|
-
[bind_dn, bind_dn_password, external_username, ldap_ca_cert, ldap_url, name, new_name, producer_encryption_key_name, tags, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
|
|
268
|
+
[bind_dn, bind_dn_password, delete_protection, external_username, ldap_ca_cert, ldap_url, name, new_name, producer_encryption_key_name, tags, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
|
|
259
269
|
end
|
|
260
270
|
|
|
261
271
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayUpdateProducerMongo is a command that updates either mongodb producer or mongodb atlas producer
|
|
18
18
|
class GatewayUpdateProducerMongo
|
|
19
|
+
# Protection from accidental deletion of this item
|
|
20
|
+
attr_accessor :delete_protection
|
|
21
|
+
|
|
19
22
|
# MongoDB Atlas private key
|
|
20
23
|
attr_accessor :mongodb_atlas_api_private_key
|
|
21
24
|
|
|
@@ -87,6 +90,7 @@ module Akeyless
|
|
|
87
90
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
88
91
|
def self.attribute_map
|
|
89
92
|
{
|
|
93
|
+
:'delete_protection' => :'delete_protection',
|
|
90
94
|
:'mongodb_atlas_api_private_key' => :'mongodb-atlas-api-private-key',
|
|
91
95
|
:'mongodb_atlas_api_public_key' => :'mongodb-atlas-api-public-key',
|
|
92
96
|
:'mongodb_atlas_project_id' => :'mongodb-atlas-project-id',
|
|
@@ -122,6 +126,7 @@ module Akeyless
|
|
|
122
126
|
# Attribute type mapping.
|
|
123
127
|
def self.openapi_types
|
|
124
128
|
{
|
|
129
|
+
:'delete_protection' => :'String',
|
|
125
130
|
:'mongodb_atlas_api_private_key' => :'String',
|
|
126
131
|
:'mongodb_atlas_api_public_key' => :'String',
|
|
127
132
|
:'mongodb_atlas_project_id' => :'String',
|
|
@@ -170,6 +175,10 @@ module Akeyless
|
|
|
170
175
|
h[k.to_sym] = v
|
|
171
176
|
}
|
|
172
177
|
|
|
178
|
+
if attributes.key?(:'delete_protection')
|
|
179
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
180
|
+
end
|
|
181
|
+
|
|
173
182
|
if attributes.key?(:'mongodb_atlas_api_private_key')
|
|
174
183
|
self.mongodb_atlas_api_private_key = attributes[:'mongodb_atlas_api_private_key']
|
|
175
184
|
end
|
|
@@ -298,6 +307,7 @@ module Akeyless
|
|
|
298
307
|
def ==(o)
|
|
299
308
|
return true if self.equal?(o)
|
|
300
309
|
self.class == o.class &&
|
|
310
|
+
delete_protection == o.delete_protection &&
|
|
301
311
|
mongodb_atlas_api_private_key == o.mongodb_atlas_api_private_key &&
|
|
302
312
|
mongodb_atlas_api_public_key == o.mongodb_atlas_api_public_key &&
|
|
303
313
|
mongodb_atlas_project_id == o.mongodb_atlas_project_id &&
|
|
@@ -333,7 +343,7 @@ module Akeyless
|
|
|
333
343
|
# Calculates hash code according to all attributes.
|
|
334
344
|
# @return [Integer] Hash code
|
|
335
345
|
def hash
|
|
336
|
-
[mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
346
|
+
[delete_protection, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
337
347
|
end
|
|
338
348
|
|
|
339
349
|
# Builds the object from hash
|