akeyless 2.16.8 → 2.16.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/docs/Configure.md +5 -1
  4. data/docs/GatewayCreateMigration.md +22 -22
  5. data/docs/GatewayCreateProducerArtifactory.md +2 -0
  6. data/docs/GatewayCreateProducerAws.md +2 -0
  7. data/docs/GatewayCreateProducerAzure.md +2 -0
  8. data/docs/GatewayCreateProducerCassandra.md +2 -0
  9. data/docs/GatewayCreateProducerCertificateAutomation.md +2 -0
  10. data/docs/GatewayCreateProducerChef.md +2 -0
  11. data/docs/GatewayCreateProducerCustom.md +2 -0
  12. data/docs/GatewayCreateProducerDockerhub.md +2 -0
  13. data/docs/GatewayCreateProducerEks.md +2 -0
  14. data/docs/GatewayCreateProducerGcp.md +2 -0
  15. data/docs/GatewayCreateProducerGithub.md +2 -0
  16. data/docs/GatewayCreateProducerGke.md +2 -0
  17. data/docs/GatewayCreateProducerHanaDb.md +2 -0
  18. data/docs/GatewayCreateProducerLdap.md +2 -0
  19. data/docs/GatewayCreateProducerMSSQL.md +2 -0
  20. data/docs/GatewayCreateProducerMongo.md +2 -0
  21. data/docs/GatewayCreateProducerMySQL.md +2 -0
  22. data/docs/GatewayCreateProducerNativeK8S.md +2 -0
  23. data/docs/GatewayCreateProducerOracleDb.md +2 -0
  24. data/docs/GatewayCreateProducerPostgreSQL.md +2 -0
  25. data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
  26. data/docs/GatewayCreateProducerRdp.md +2 -0
  27. data/docs/GatewayCreateProducerRedshift.md +2 -0
  28. data/docs/GatewayCreateProducerSnowflake.md +2 -0
  29. data/docs/GatewayDeleteMigration.md +1 -1
  30. data/docs/GatewayGetMigration.md +1 -1
  31. data/docs/GatewayStatusMigration.md +24 -0
  32. data/docs/GatewayUpdateItem.md +2 -0
  33. data/docs/GatewayUpdateMigration.md +25 -25
  34. data/docs/GatewayUpdateProducerArtifactory.md +2 -0
  35. data/docs/GatewayUpdateProducerAws.md +2 -0
  36. data/docs/GatewayUpdateProducerAzure.md +2 -0
  37. data/docs/GatewayUpdateProducerCassandra.md +2 -0
  38. data/docs/GatewayUpdateProducerCertificateAutomation.md +2 -0
  39. data/docs/GatewayUpdateProducerChef.md +2 -0
  40. data/docs/GatewayUpdateProducerCustom.md +2 -0
  41. data/docs/GatewayUpdateProducerDockerhub.md +2 -0
  42. data/docs/GatewayUpdateProducerEks.md +2 -0
  43. data/docs/GatewayUpdateProducerGcp.md +2 -0
  44. data/docs/GatewayUpdateProducerGithub.md +2 -0
  45. data/docs/GatewayUpdateProducerGke.md +2 -0
  46. data/docs/GatewayUpdateProducerHanaDb.md +2 -0
  47. data/docs/GatewayUpdateProducerLdap.md +2 -0
  48. data/docs/GatewayUpdateProducerMSSQL.md +2 -0
  49. data/docs/GatewayUpdateProducerMongo.md +2 -0
  50. data/docs/GatewayUpdateProducerMySQL.md +2 -0
  51. data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
  52. data/docs/GatewayUpdateProducerOracleDb.md +2 -0
  53. data/docs/GatewayUpdateProducerPostgreSQL.md +2 -0
  54. data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
  55. data/docs/GatewayUpdateProducerRdp.md +2 -0
  56. data/docs/GatewayUpdateProducerRedshift.md +2 -0
  57. data/docs/GatewayUpdateProducerSnowflake.md +2 -0
  58. data/docs/GetKubeExecCreds.md +4 -0
  59. data/docs/GetPKICertificate.md +4 -0
  60. data/docs/GetSSHCertificate.md +4 -0
  61. data/docs/Item.md +2 -0
  62. data/docs/ItemGeneralInfo.md +2 -0
  63. data/docs/MigrationGeneral.md +2 -0
  64. data/docs/MigrationItems.md +24 -0
  65. data/docs/MigrationStatusReplyObj.md +36 -0
  66. data/docs/TargetTypeDetailsInput.md +2 -0
  67. data/docs/UpdateItem.md +2 -0
  68. data/docs/UploadRSA.md +2 -0
  69. data/docs/V2Api.md +64 -1
  70. data/lib/akeyless/api/v2_api.rb +64 -0
  71. data/lib/akeyless/models/configure.rb +24 -4
  72. data/lib/akeyless/models/gateway_create_migration.rb +22 -22
  73. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
  74. data/lib/akeyless/models/gateway_create_producer_aws.rb +11 -1
  75. data/lib/akeyless/models/gateway_create_producer_azure.rb +11 -1
  76. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
  77. data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +11 -1
  78. data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
  79. data/lib/akeyless/models/gateway_create_producer_custom.rb +11 -1
  80. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +11 -1
  81. data/lib/akeyless/models/gateway_create_producer_eks.rb +11 -1
  82. data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
  83. data/lib/akeyless/models/gateway_create_producer_github.rb +11 -1
  84. data/lib/akeyless/models/gateway_create_producer_gke.rb +11 -1
  85. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +11 -1
  86. data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
  87. data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
  88. data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
  89. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +11 -1
  90. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
  91. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
  92. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +11 -1
  93. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +11 -1
  94. data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
  95. data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
  96. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +11 -1
  97. data/lib/akeyless/models/gateway_delete_migration.rb +1 -1
  98. data/lib/akeyless/models/gateway_get_migration.rb +1 -0
  99. data/lib/akeyless/models/gateway_status_migration.rb +251 -0
  100. data/lib/akeyless/models/gateway_update_item.rb +11 -1
  101. data/lib/akeyless/models/gateway_update_migration.rb +33 -38
  102. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
  103. data/lib/akeyless/models/gateway_update_producer_aws.rb +11 -1
  104. data/lib/akeyless/models/gateway_update_producer_azure.rb +11 -1
  105. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
  106. data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +11 -1
  107. data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
  108. data/lib/akeyless/models/gateway_update_producer_custom.rb +11 -1
  109. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +11 -1
  110. data/lib/akeyless/models/gateway_update_producer_eks.rb +11 -1
  111. data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
  112. data/lib/akeyless/models/gateway_update_producer_github.rb +11 -1
  113. data/lib/akeyless/models/gateway_update_producer_gke.rb +11 -1
  114. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +11 -1
  115. data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
  116. data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
  117. data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
  118. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +11 -1
  119. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
  120. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
  121. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +11 -1
  122. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +11 -1
  123. data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
  124. data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
  125. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +11 -1
  126. data/lib/akeyless/models/get_kube_exec_creds.rb +21 -1
  127. data/lib/akeyless/models/get_pki_certificate.rb +21 -1
  128. data/lib/akeyless/models/get_ssh_certificate.rb +21 -1
  129. data/lib/akeyless/models/item.rb +10 -1
  130. data/lib/akeyless/models/item_general_info.rb +10 -1
  131. data/lib/akeyless/models/migration_general.rb +10 -1
  132. data/lib/akeyless/models/migration_items.rb +246 -0
  133. data/lib/akeyless/models/migration_status_reply_obj.rb +300 -0
  134. data/lib/akeyless/models/target_type_details_input.rb +10 -1
  135. data/lib/akeyless/models/update_item.rb +11 -1
  136. data/lib/akeyless/models/upload_rsa.rb +11 -1
  137. data/lib/akeyless/version.rb +1 -1
  138. data/lib/akeyless.rb +3 -0
  139. data/spec/models/gateway_status_migration_spec.rb +52 -0
  140. data/spec/models/migration_items_spec.rb +52 -0
  141. data/spec/models/migration_status_reply_obj_spec.rb +88 -0
  142. metadata +511 -499
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # (Optional) Server name for certificate verification
23
23
  attr_accessor :db_server_name
24
24
 
25
+ # Protection from accidental deletion of this item
26
+ attr_accessor :delete_protection
27
+
25
28
  # MySQL DB Name
26
29
  attr_accessor :mysql_dbname
27
30
 
@@ -80,6 +83,7 @@ module Akeyless
80
83
  {
81
84
  :'db_server_certificates' => :'db-server-certificates',
82
85
  :'db_server_name' => :'db-server-name',
86
+ :'delete_protection' => :'delete_protection',
83
87
  :'mysql_dbname' => :'mysql-dbname',
84
88
  :'mysql_host' => :'mysql-host',
85
89
  :'mysql_password' => :'mysql-password',
@@ -112,6 +116,7 @@ module Akeyless
112
116
  {
113
117
  :'db_server_certificates' => :'String',
114
118
  :'db_server_name' => :'String',
119
+ :'delete_protection' => :'String',
115
120
  :'mysql_dbname' => :'String',
116
121
  :'mysql_host' => :'String',
117
122
  :'mysql_password' => :'String',
@@ -163,6 +168,10 @@ module Akeyless
163
168
  self.db_server_name = attributes[:'db_server_name']
164
169
  end
165
170
 
171
+ if attributes.key?(:'delete_protection')
172
+ self.delete_protection = attributes[:'delete_protection']
173
+ end
174
+
166
175
  if attributes.key?(:'mysql_dbname')
167
176
  self.mysql_dbname = attributes[:'mysql_dbname']
168
177
  end
@@ -275,6 +284,7 @@ module Akeyless
275
284
  self.class == o.class &&
276
285
  db_server_certificates == o.db_server_certificates &&
277
286
  db_server_name == o.db_server_name &&
287
+ delete_protection == o.delete_protection &&
278
288
  mysql_dbname == o.mysql_dbname &&
279
289
  mysql_host == o.mysql_host &&
280
290
  mysql_password == o.mysql_password &&
@@ -305,7 +315,7 @@ module Akeyless
305
315
  # Calculates hash code according to all attributes.
306
316
  # @return [Integer] Hash code
307
317
  def hash
308
- [db_server_certificates, db_server_name, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_screation_statements, mysql_username, name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
318
+ [db_server_certificates, db_server_name, delete_protection, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_screation_statements, mysql_username, name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
309
319
  end
310
320
 
311
321
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayCreateProducerNativeK8S is a command that creates k8s producer
18
18
  class GatewayCreateProducerNativeK8S
19
+ # Protection from accidental deletion of this item
20
+ attr_accessor :delete_protection
21
+
19
22
  # K8S cluster CA certificate
20
23
  attr_accessor :k8s_cluster_ca_cert
21
24
 
@@ -71,6 +74,7 @@ module Akeyless
71
74
  # Attribute mapping from ruby-style variable name to JSON key.
72
75
  def self.attribute_map
73
76
  {
77
+ :'delete_protection' => :'delete_protection',
74
78
  :'k8s_cluster_ca_cert' => :'k8s-cluster-ca-cert',
75
79
  :'k8s_cluster_endpoint' => :'k8s-cluster-endpoint',
76
80
  :'k8s_cluster_token' => :'k8s-cluster-token',
@@ -102,6 +106,7 @@ module Akeyless
102
106
  # Attribute type mapping.
103
107
  def self.openapi_types
104
108
  {
109
+ :'delete_protection' => :'String',
105
110
  :'k8s_cluster_ca_cert' => :'String',
106
111
  :'k8s_cluster_endpoint' => :'String',
107
112
  :'k8s_cluster_token' => :'String',
@@ -146,6 +151,10 @@ module Akeyless
146
151
  h[k.to_sym] = v
147
152
  }
148
153
 
154
+ if attributes.key?(:'delete_protection')
155
+ self.delete_protection = attributes[:'delete_protection']
156
+ end
157
+
149
158
  if attributes.key?(:'k8s_cluster_ca_cert')
150
159
  self.k8s_cluster_ca_cert = attributes[:'k8s_cluster_ca_cert']
151
160
  end
@@ -254,6 +263,7 @@ module Akeyless
254
263
  def ==(o)
255
264
  return true if self.equal?(o)
256
265
  self.class == o.class &&
266
+ delete_protection == o.delete_protection &&
257
267
  k8s_cluster_ca_cert == o.k8s_cluster_ca_cert &&
258
268
  k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
259
269
  k8s_cluster_token == o.k8s_cluster_token &&
@@ -285,7 +295,7 @@ module Akeyless
285
295
  # Calculates hash code according to all attributes.
286
296
  # @return [Integer] Hash code
287
297
  def hash
288
- [k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, k8s_namespace, k8s_service_account, name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
298
+ [delete_protection, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, k8s_namespace, k8s_service_account, name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
289
299
  end
290
300
 
291
301
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # (Optional) Server name for certificate verification
23
23
  attr_accessor :db_server_name
24
24
 
25
+ # Protection from accidental deletion of this item
26
+ attr_accessor :delete_protection
27
+
25
28
  # Producer name
26
29
  attr_accessor :name
27
30
 
@@ -74,6 +77,7 @@ module Akeyless
74
77
  {
75
78
  :'db_server_certificates' => :'db-server-certificates',
76
79
  :'db_server_name' => :'db-server-name',
80
+ :'delete_protection' => :'delete_protection',
77
81
  :'name' => :'name',
78
82
  :'oracle_host' => :'oracle-host',
79
83
  :'oracle_password' => :'oracle-password',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  {
105
109
  :'db_server_certificates' => :'String',
106
110
  :'db_server_name' => :'String',
111
+ :'delete_protection' => :'String',
107
112
  :'name' => :'String',
108
113
  :'oracle_host' => :'String',
109
114
  :'oracle_password' => :'String',
@@ -153,6 +158,10 @@ module Akeyless
153
158
  self.db_server_name = attributes[:'db_server_name']
154
159
  end
155
160
 
161
+ if attributes.key?(:'delete_protection')
162
+ self.delete_protection = attributes[:'delete_protection']
163
+ end
164
+
156
165
  if attributes.key?(:'name')
157
166
  self.name = attributes[:'name']
158
167
  end
@@ -257,6 +266,7 @@ module Akeyless
257
266
  self.class == o.class &&
258
267
  db_server_certificates == o.db_server_certificates &&
259
268
  db_server_name == o.db_server_name &&
269
+ delete_protection == o.delete_protection &&
260
270
  name == o.name &&
261
271
  oracle_host == o.oracle_host &&
262
272
  oracle_password == o.oracle_password &&
@@ -285,7 +295,7 @@ module Akeyless
285
295
  # Calculates hash code according to all attributes.
286
296
  # @return [Integer] Hash code
287
297
  def hash
288
- [db_server_certificates, db_server_name, name, oracle_host, oracle_password, oracle_port, oracle_screation_statements, oracle_service_name, oracle_username, 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
298
+ [db_server_certificates, db_server_name, delete_protection, name, oracle_host, oracle_password, oracle_port, oracle_screation_statements, oracle_service_name, oracle_username, 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
289
299
  end
290
300
 
291
301
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # PostgreSQL Creation statements
20
20
  attr_accessor :creation_statements
21
21
 
22
+ # Protection from accidental deletion of this item
23
+ attr_accessor :delete_protection
24
+
22
25
  # Producer name
23
26
  attr_accessor :name
24
27
 
@@ -75,6 +78,7 @@ module Akeyless
75
78
  def self.attribute_map
76
79
  {
77
80
  :'creation_statements' => :'creation-statements',
81
+ :'delete_protection' => :'delete_protection',
78
82
  :'name' => :'name',
79
83
  :'postgresql_db_name' => :'postgresql-db-name',
80
84
  :'postgresql_host' => :'postgresql-host',
@@ -106,6 +110,7 @@ module Akeyless
106
110
  def self.openapi_types
107
111
  {
108
112
  :'creation_statements' => :'String',
113
+ :'delete_protection' => :'String',
109
114
  :'name' => :'String',
110
115
  :'postgresql_db_name' => :'String',
111
116
  :'postgresql_host' => :'String',
@@ -153,6 +158,10 @@ module Akeyless
153
158
  self.creation_statements = attributes[:'creation_statements']
154
159
  end
155
160
 
161
+ if attributes.key?(:'delete_protection')
162
+ self.delete_protection = attributes[:'delete_protection']
163
+ end
164
+
156
165
  if attributes.key?(:'name')
157
166
  self.name = attributes[:'name']
158
167
  end
@@ -264,6 +273,7 @@ module Akeyless
264
273
  return true if self.equal?(o)
265
274
  self.class == o.class &&
266
275
  creation_statements == o.creation_statements &&
276
+ delete_protection == o.delete_protection &&
267
277
  name == o.name &&
268
278
  postgresql_db_name == o.postgresql_db_name &&
269
279
  postgresql_host == o.postgresql_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
- [creation_statements, name, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
307
+ [creation_statements, delete_protection, name, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
298
308
  end
299
309
 
300
310
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayCreateProducerRabbitMQ is a command that creates rabbitmq producer
18
18
  class GatewayCreateProducerRabbitMQ
19
+ # Protection from accidental deletion of this item
20
+ attr_accessor :delete_protection
21
+
19
22
  # Producer name
20
23
  attr_accessor :name
21
24
 
@@ -75,6 +78,7 @@ module Akeyless
75
78
  # Attribute mapping from ruby-style variable name to JSON key.
76
79
  def self.attribute_map
77
80
  {
81
+ :'delete_protection' => :'delete_protection',
78
82
  :'name' => :'name',
79
83
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
80
84
  :'rabbitmq_admin_pwd' => :'rabbitmq-admin-pwd',
@@ -106,6 +110,7 @@ module Akeyless
106
110
  # Attribute type mapping.
107
111
  def self.openapi_types
108
112
  {
113
+ :'delete_protection' => :'String',
109
114
  :'name' => :'String',
110
115
  :'producer_encryption_key_name' => :'String',
111
116
  :'rabbitmq_admin_pwd' => :'String',
@@ -150,6 +155,10 @@ module Akeyless
150
155
  h[k.to_sym] = v
151
156
  }
152
157
 
158
+ if attributes.key?(:'delete_protection')
159
+ self.delete_protection = attributes[:'delete_protection']
160
+ end
161
+
153
162
  if attributes.key?(:'name')
154
163
  self.name = attributes[:'name']
155
164
  end
@@ -260,6 +269,7 @@ module Akeyless
260
269
  def ==(o)
261
270
  return true if self.equal?(o)
262
271
  self.class == o.class &&
272
+ delete_protection == o.delete_protection &&
263
273
  name == o.name &&
264
274
  producer_encryption_key_name == o.producer_encryption_key_name &&
265
275
  rabbitmq_admin_pwd == o.rabbitmq_admin_pwd &&
@@ -291,7 +301,7 @@ module Akeyless
291
301
  # Calculates hash code according to all attributes.
292
302
  # @return [Integer] Hash code
293
303
  def hash
294
- [name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
304
+ [delete_protection, name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
295
305
  end
296
306
 
297
307
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # AllowUserExtendSession
20
20
  attr_accessor :allow_user_extend_session
21
21
 
22
+ # Protection from accidental deletion of this item
23
+ attr_accessor :delete_protection
24
+
22
25
  # Fixed user
23
26
  attr_accessor :fixed_user_only
24
27
 
@@ -75,6 +78,7 @@ module Akeyless
75
78
  def self.attribute_map
76
79
  {
77
80
  :'allow_user_extend_session' => :'allow-user-extend-session',
81
+ :'delete_protection' => :'delete_protection',
78
82
  :'fixed_user_only' => :'fixed-user-only',
79
83
  :'name' => :'name',
80
84
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
@@ -106,6 +110,7 @@ module Akeyless
106
110
  def self.openapi_types
107
111
  {
108
112
  :'allow_user_extend_session' => :'Integer',
113
+ :'delete_protection' => :'String',
109
114
  :'fixed_user_only' => :'String',
110
115
  :'name' => :'String',
111
116
  :'producer_encryption_key_name' => :'String',
@@ -153,6 +158,10 @@ module Akeyless
153
158
  self.allow_user_extend_session = attributes[:'allow_user_extend_session']
154
159
  end
155
160
 
161
+ if attributes.key?(:'delete_protection')
162
+ self.delete_protection = attributes[:'delete_protection']
163
+ end
164
+
156
165
  if attributes.key?(:'fixed_user_only')
157
166
  self.fixed_user_only = attributes[:'fixed_user_only']
158
167
  else
@@ -264,6 +273,7 @@ module Akeyless
264
273
  return true if self.equal?(o)
265
274
  self.class == o.class &&
266
275
  allow_user_extend_session == o.allow_user_extend_session &&
276
+ delete_protection == o.delete_protection &&
267
277
  fixed_user_only == o.fixed_user_only &&
268
278
  name == o.name &&
269
279
  producer_encryption_key_name == o.producer_encryption_key_name &&
@@ -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
- [allow_user_extend_session, fixed_user_only, name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
307
+ [allow_user_extend_session, delete_protection, fixed_user_only, name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
298
308
  end
299
309
 
300
310
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Redshift Creation statements
20
20
  attr_accessor :creation_statements
21
21
 
22
+ # Protection from accidental deletion of this item
23
+ attr_accessor :delete_protection
24
+
22
25
  # Producer name
23
26
  attr_accessor :name
24
27
 
@@ -66,6 +69,7 @@ module Akeyless
66
69
  def self.attribute_map
67
70
  {
68
71
  :'creation_statements' => :'creation-statements',
72
+ :'delete_protection' => :'delete_protection',
69
73
  :'name' => :'name',
70
74
  :'producer_encryption_key' => :'producer-encryption-key',
71
75
  :'redshift_db_name' => :'redshift-db-name',
@@ -93,6 +97,7 @@ module Akeyless
93
97
  def self.openapi_types
94
98
  {
95
99
  :'creation_statements' => :'String',
100
+ :'delete_protection' => :'String',
96
101
  :'name' => :'String',
97
102
  :'producer_encryption_key' => :'String',
98
103
  :'redshift_db_name' => :'String',
@@ -136,6 +141,10 @@ module Akeyless
136
141
  self.creation_statements = attributes[:'creation_statements']
137
142
  end
138
143
 
144
+ if attributes.key?(:'delete_protection')
145
+ self.delete_protection = attributes[:'delete_protection']
146
+ end
147
+
139
148
  if attributes.key?(:'name')
140
149
  self.name = attributes[:'name']
141
150
  end
@@ -231,6 +240,7 @@ module Akeyless
231
240
  return true if self.equal?(o)
232
241
  self.class == o.class &&
233
242
  creation_statements == o.creation_statements &&
243
+ delete_protection == o.delete_protection &&
234
244
  name == o.name &&
235
245
  producer_encryption_key == o.producer_encryption_key &&
236
246
  redshift_db_name == o.redshift_db_name &&
@@ -257,7 +267,7 @@ module Akeyless
257
267
  # Calculates hash code according to all attributes.
258
268
  # @return [Integer] Hash code
259
269
  def hash
260
- [creation_statements, name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
270
+ [creation_statements, delete_protection, name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
261
271
  end
262
272
 
263
273
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Akeyless
28
28
  # Database name
29
29
  attr_accessor :db_name
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
 
@@ -59,6 +62,7 @@ module Akeyless
59
62
  :'account_password' => :'account-password',
60
63
  :'account_username' => :'account-username',
61
64
  :'db_name' => :'db-name',
65
+ :'delete_protection' => :'delete_protection',
62
66
  :'name' => :'name',
63
67
  :'role' => :'role',
64
68
  :'tags' => :'tags',
@@ -82,6 +86,7 @@ module Akeyless
82
86
  :'account_password' => :'String',
83
87
  :'account_username' => :'String',
84
88
  :'db_name' => :'String',
89
+ :'delete_protection' => :'String',
85
90
  :'name' => :'String',
86
91
  :'role' => :'String',
87
92
  :'tags' => :'Array<String>',
@@ -130,6 +135,10 @@ module Akeyless
130
135
  self.db_name = attributes[:'db_name']
131
136
  end
132
137
 
138
+ if attributes.key?(:'delete_protection')
139
+ self.delete_protection = attributes[:'delete_protection']
140
+ end
141
+
133
142
  if attributes.key?(:'name')
134
143
  self.name = attributes[:'name']
135
144
  end
@@ -194,6 +203,7 @@ module Akeyless
194
203
  account_password == o.account_password &&
195
204
  account_username == o.account_username &&
196
205
  db_name == o.db_name &&
206
+ delete_protection == o.delete_protection &&
197
207
  name == o.name &&
198
208
  role == o.role &&
199
209
  tags == o.tags &&
@@ -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
- [account, account_password, account_username, db_name, name, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
226
+ [account, account_password, account_username, db_name, delete_protection, name, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
217
227
  end
218
228
 
219
229
  # Builds the object from hash
@@ -16,7 +16,7 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayDeleteMigration is a command that delete migration
18
18
  class GatewayDeleteMigration
19
- # Migration name
19
+ # Migration ID
20
20
  attr_accessor :id
21
21
 
22
22
  # Authentication token (see `/auth` and `/configure`)
@@ -16,6 +16,7 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayGetMigration is a command that get migration
18
18
  class GatewayGetMigration
19
+ # Migration name to display
19
20
  attr_accessor :name
20
21
 
21
22
  # Authentication token (see `/auth` and `/configure`)