strongdm 1.0.18 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/SDM/AKS.html +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/AKSUserImpersonation.html +427 -0
- data/doc/SDM/AWS.html +21 -3
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AmazonEKS.html +21 -3
- data/doc/SDM/AmazonEKSUserImpersonation.html +481 -0
- data/doc/SDM/AmazonES.html +21 -3
- data/doc/SDM/AmazonMQAMQP091.html +427 -0
- data/doc/SDM/AmazonMQRabbitMQAMQP091.html +427 -0
- data/doc/SDM/Athena.html +21 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/DB2LUW.html +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +21 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +21 -3
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/GoogleGKEUserImpersonation.html +391 -0
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/KubernetesUserImpersonation.html +427 -0
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +3770 -1794
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/RabbitMQAMQP091.html +427 -0
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- data/doc/SDM/Relay.html +21 -3
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/SQLServer.html +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SSHCustomerKey.html +427 -0
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SingleStore.html +427 -0
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +48 -53
- data/doc/created.rid +50 -50
- data/doc/index.html +20 -8
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/table_of_contents.html +851 -521
- data/lib/grpc/accounts_pb.rb +1 -0
- data/lib/grpc/drivers_pb.rb +206 -0
- data/lib/grpc/nodes_pb.rb +2 -0
- data/lib/grpc/options_pb.rb +2 -0
- data/lib/grpc/plumbing.rb +716 -0
- data/lib/models/porcelain.rb +1235 -75
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +14 -5
- data/doc/V1/PermissionGrants.html +0 -113
- data/doc/V1/PermissionGrants/Service.html +0 -119
data/lib/grpc/nodes_pb.rb
CHANGED
@@ -79,6 +79,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
79
79
|
optional :name, :string, 2
|
80
80
|
optional :state, :string, 3
|
81
81
|
optional :tags, :message, 4, "v1.Tags"
|
82
|
+
optional :gateway_filter, :string, 5
|
82
83
|
end
|
83
84
|
add_message "v1.Gateway" do
|
84
85
|
optional :id, :string, 1
|
@@ -87,6 +88,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
87
88
|
optional :listen_address, :string, 4
|
88
89
|
optional :bind_address, :string, 5
|
89
90
|
optional :tags, :message, 6, "v1.Tags"
|
91
|
+
optional :gateway_filter, :string, 7
|
90
92
|
end
|
91
93
|
end
|
92
94
|
end
|
data/lib/grpc/options_pb.rb
CHANGED
@@ -45,6 +45,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
45
45
|
optional :read_only, :bool, 1941315
|
46
46
|
optional :is_credential, :bool, 1941316
|
47
47
|
optional :sql_type, :string, 1941317
|
48
|
+
optional :private_sdk, :bool, 1941318
|
48
49
|
end
|
49
50
|
add_message "v1.MessageOptions" do
|
50
51
|
optional :model_name, :string, 1941300
|
@@ -58,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
59
|
optional :cli_json_name, :string, 1941308
|
59
60
|
optional :json_gateway_name, :string, 1941309
|
60
61
|
optional :hide_from_json_gateway, :bool, 1941310
|
62
|
+
optional :terraform_provider_name, :string, 1941311
|
61
63
|
end
|
62
64
|
add_message "v1.CustomPorcelainMessageOptions" do
|
63
65
|
optional :converter, :string, 1941309
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -960,6 +960,12 @@ module SDM
|
|
960
960
|
return nil
|
961
961
|
end
|
962
962
|
plumbing = V1::Resource.new()
|
963
|
+
if porcelain.instance_of? RabbitMQAMQP091
|
964
|
+
plumbing.rabbit_mqamqp_091 = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
965
|
+
end
|
966
|
+
if porcelain.instance_of? AmazonMQAMQP091
|
967
|
+
plumbing.amazon_mqamqp_091 = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
968
|
+
end
|
963
969
|
if porcelain.instance_of? Athena
|
964
970
|
plumbing.athena = convert_athena_to_plumbing(porcelain)
|
965
971
|
end
|
@@ -1002,27 +1008,45 @@ module SDM
|
|
1002
1008
|
if porcelain.instance_of? Kubernetes
|
1003
1009
|
plumbing.kubernetes = convert_kubernetes_to_plumbing(porcelain)
|
1004
1010
|
end
|
1011
|
+
if porcelain.instance_of? KubernetesUserImpersonation
|
1012
|
+
plumbing.kubernetes_user_impersonation = convert_kubernetes_user_impersonation_to_plumbing(porcelain)
|
1013
|
+
end
|
1005
1014
|
if porcelain.instance_of? KubernetesBasicAuth
|
1006
1015
|
plumbing.kubernetes_basic_auth = convert_kubernetes_basic_auth_to_plumbing(porcelain)
|
1007
1016
|
end
|
1008
1017
|
if porcelain.instance_of? KubernetesServiceAccount
|
1009
1018
|
plumbing.kubernetes_service_account = convert_kubernetes_service_account_to_plumbing(porcelain)
|
1010
1019
|
end
|
1020
|
+
if porcelain.instance_of? KubernetesServiceAccountUserImpersonation
|
1021
|
+
plumbing.kubernetes_service_account_user_impersonation = convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
|
1022
|
+
end
|
1011
1023
|
if porcelain.instance_of? AmazonEKS
|
1012
1024
|
plumbing.amazon_eks = convert_amazon_eks_to_plumbing(porcelain)
|
1013
1025
|
end
|
1026
|
+
if porcelain.instance_of? AmazonEKSUserImpersonation
|
1027
|
+
plumbing.amazon_eks_user_impersonation = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
|
1028
|
+
end
|
1014
1029
|
if porcelain.instance_of? GoogleGKE
|
1015
1030
|
plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
|
1016
1031
|
end
|
1032
|
+
if porcelain.instance_of? GoogleGKEUserImpersonation
|
1033
|
+
plumbing.google_gke_user_impersonation = convert_google_gke_user_impersonation_to_plumbing(porcelain)
|
1034
|
+
end
|
1017
1035
|
if porcelain.instance_of? AKS
|
1018
1036
|
plumbing.aks = convert_aks_to_plumbing(porcelain)
|
1019
1037
|
end
|
1038
|
+
if porcelain.instance_of? AKSUserImpersonation
|
1039
|
+
plumbing.aks_user_impersonation = convert_aks_user_impersonation_to_plumbing(porcelain)
|
1040
|
+
end
|
1020
1041
|
if porcelain.instance_of? AKSBasicAuth
|
1021
1042
|
plumbing.aks_basic_auth = convert_aks_basic_auth_to_plumbing(porcelain)
|
1022
1043
|
end
|
1023
1044
|
if porcelain.instance_of? AKSServiceAccount
|
1024
1045
|
plumbing.aks_service_account = convert_aks_service_account_to_plumbing(porcelain)
|
1025
1046
|
end
|
1047
|
+
if porcelain.instance_of? AKSServiceAccountUserImpersonation
|
1048
|
+
plumbing.aks_service_account_user_impersonation = convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
|
1049
|
+
end
|
1026
1050
|
if porcelain.instance_of? Memcached
|
1027
1051
|
plumbing.memcached = convert_memcached_to_plumbing(porcelain)
|
1028
1052
|
end
|
@@ -1053,6 +1077,9 @@ module SDM
|
|
1053
1077
|
if porcelain.instance_of? Memsql
|
1054
1078
|
plumbing.memsql = convert_memsql_to_plumbing(porcelain)
|
1055
1079
|
end
|
1080
|
+
if porcelain.instance_of? SingleStore
|
1081
|
+
plumbing.single_store = convert_single_store_to_plumbing(porcelain)
|
1082
|
+
end
|
1056
1083
|
if porcelain.instance_of? Oracle
|
1057
1084
|
plumbing.oracle = convert_oracle_to_plumbing(porcelain)
|
1058
1085
|
end
|
@@ -1098,6 +1125,9 @@ module SDM
|
|
1098
1125
|
if porcelain.instance_of? SSHCert
|
1099
1126
|
plumbing.ssh_cert = convert_ssh_cert_to_plumbing(porcelain)
|
1100
1127
|
end
|
1128
|
+
if porcelain.instance_of? SSHCustomerKey
|
1129
|
+
plumbing.ssh_customer_key = convert_ssh_customer_key_to_plumbing(porcelain)
|
1130
|
+
end
|
1101
1131
|
if porcelain.instance_of? Sybase
|
1102
1132
|
plumbing.sybase = convert_sybase_to_plumbing(porcelain)
|
1103
1133
|
end
|
@@ -1114,6 +1144,12 @@ module SDM
|
|
1114
1144
|
if plumbing == nil
|
1115
1145
|
return nil
|
1116
1146
|
end
|
1147
|
+
if plumbing.rabbit_mqamqp_091 != nil
|
1148
|
+
return convert_rabbit_mqamqp_091_to_porcelain(plumbing.rabbit_mqamqp_091)
|
1149
|
+
end
|
1150
|
+
if plumbing.amazon_mqamqp_091 != nil
|
1151
|
+
return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
|
1152
|
+
end
|
1117
1153
|
if plumbing.athena != nil
|
1118
1154
|
return convert_athena_to_porcelain(plumbing.athena)
|
1119
1155
|
end
|
@@ -1156,27 +1192,45 @@ module SDM
|
|
1156
1192
|
if plumbing.kubernetes != nil
|
1157
1193
|
return convert_kubernetes_to_porcelain(plumbing.kubernetes)
|
1158
1194
|
end
|
1195
|
+
if plumbing.kubernetes_user_impersonation != nil
|
1196
|
+
return convert_kubernetes_user_impersonation_to_porcelain(plumbing.kubernetes_user_impersonation)
|
1197
|
+
end
|
1159
1198
|
if plumbing.kubernetes_basic_auth != nil
|
1160
1199
|
return convert_kubernetes_basic_auth_to_porcelain(plumbing.kubernetes_basic_auth)
|
1161
1200
|
end
|
1162
1201
|
if plumbing.kubernetes_service_account != nil
|
1163
1202
|
return convert_kubernetes_service_account_to_porcelain(plumbing.kubernetes_service_account)
|
1164
1203
|
end
|
1204
|
+
if plumbing.kubernetes_service_account_user_impersonation != nil
|
1205
|
+
return convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing.kubernetes_service_account_user_impersonation)
|
1206
|
+
end
|
1165
1207
|
if plumbing.amazon_eks != nil
|
1166
1208
|
return convert_amazon_eks_to_porcelain(plumbing.amazon_eks)
|
1167
1209
|
end
|
1210
|
+
if plumbing.amazon_eks_user_impersonation != nil
|
1211
|
+
return convert_amazon_eks_user_impersonation_to_porcelain(plumbing.amazon_eks_user_impersonation)
|
1212
|
+
end
|
1168
1213
|
if plumbing.google_gke != nil
|
1169
1214
|
return convert_google_gke_to_porcelain(plumbing.google_gke)
|
1170
1215
|
end
|
1216
|
+
if plumbing.google_gke_user_impersonation != nil
|
1217
|
+
return convert_google_gke_user_impersonation_to_porcelain(plumbing.google_gke_user_impersonation)
|
1218
|
+
end
|
1171
1219
|
if plumbing.aks != nil
|
1172
1220
|
return convert_aks_to_porcelain(plumbing.aks)
|
1173
1221
|
end
|
1222
|
+
if plumbing.aks_user_impersonation != nil
|
1223
|
+
return convert_aks_user_impersonation_to_porcelain(plumbing.aks_user_impersonation)
|
1224
|
+
end
|
1174
1225
|
if plumbing.aks_basic_auth != nil
|
1175
1226
|
return convert_aks_basic_auth_to_porcelain(plumbing.aks_basic_auth)
|
1176
1227
|
end
|
1177
1228
|
if plumbing.aks_service_account != nil
|
1178
1229
|
return convert_aks_service_account_to_porcelain(plumbing.aks_service_account)
|
1179
1230
|
end
|
1231
|
+
if plumbing.aks_service_account_user_impersonation != nil
|
1232
|
+
return convert_aks_service_account_user_impersonation_to_porcelain(plumbing.aks_service_account_user_impersonation)
|
1233
|
+
end
|
1180
1234
|
if plumbing.memcached != nil
|
1181
1235
|
return convert_memcached_to_porcelain(plumbing.memcached)
|
1182
1236
|
end
|
@@ -1207,6 +1261,9 @@ module SDM
|
|
1207
1261
|
if plumbing.memsql != nil
|
1208
1262
|
return convert_memsql_to_porcelain(plumbing.memsql)
|
1209
1263
|
end
|
1264
|
+
if plumbing.single_store != nil
|
1265
|
+
return convert_single_store_to_porcelain(plumbing.single_store)
|
1266
|
+
end
|
1210
1267
|
if plumbing.oracle != nil
|
1211
1268
|
return convert_oracle_to_porcelain(plumbing.oracle)
|
1212
1269
|
end
|
@@ -1252,6 +1309,9 @@ module SDM
|
|
1252
1309
|
if plumbing.ssh_cert != nil
|
1253
1310
|
return convert_ssh_cert_to_porcelain(plumbing.ssh_cert)
|
1254
1311
|
end
|
1312
|
+
if plumbing.ssh_customer_key != nil
|
1313
|
+
return convert_ssh_customer_key_to_porcelain(plumbing.ssh_customer_key)
|
1314
|
+
end
|
1255
1315
|
if plumbing.sybase != nil
|
1256
1316
|
return convert_sybase_to_porcelain(plumbing.sybase)
|
1257
1317
|
end
|
@@ -1279,6 +1339,118 @@ module SDM
|
|
1279
1339
|
end
|
1280
1340
|
items
|
1281
1341
|
end
|
1342
|
+
def self.convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1343
|
+
if plumbing == nil
|
1344
|
+
return nil
|
1345
|
+
end
|
1346
|
+
porcelain = RabbitMQAMQP091.new()
|
1347
|
+
porcelain.id = (plumbing.id)
|
1348
|
+
porcelain.name = (plumbing.name)
|
1349
|
+
porcelain.healthy = (plumbing.healthy)
|
1350
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1351
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1352
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1353
|
+
porcelain.hostname = (plumbing.hostname)
|
1354
|
+
porcelain.port_override = (plumbing.port_override)
|
1355
|
+
porcelain.port = (plumbing.port)
|
1356
|
+
porcelain.username = (plumbing.username)
|
1357
|
+
porcelain.password = (plumbing.password)
|
1358
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1359
|
+
porcelain
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def self.convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1363
|
+
if porcelain == nil
|
1364
|
+
return nil
|
1365
|
+
end
|
1366
|
+
plumbing = V1::RabbitMQAMQP091.new()
|
1367
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1368
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1369
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1370
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1371
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1372
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1373
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1374
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1375
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1376
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1377
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1378
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1379
|
+
plumbing
|
1380
|
+
end
|
1381
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_plumbing(porcelains)
|
1382
|
+
items = Array.new
|
1383
|
+
porcelains.each do |porcelain|
|
1384
|
+
plumbing = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1385
|
+
items.append(plumbing)
|
1386
|
+
end
|
1387
|
+
items
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_porcelain(plumbings)
|
1391
|
+
items = Array.new
|
1392
|
+
plumbings.each do |plumbing|
|
1393
|
+
porcelain = convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1394
|
+
items.append(porcelain)
|
1395
|
+
end
|
1396
|
+
items
|
1397
|
+
end
|
1398
|
+
def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1399
|
+
if plumbing == nil
|
1400
|
+
return nil
|
1401
|
+
end
|
1402
|
+
porcelain = AmazonMQAMQP091.new()
|
1403
|
+
porcelain.id = (plumbing.id)
|
1404
|
+
porcelain.name = (plumbing.name)
|
1405
|
+
porcelain.healthy = (plumbing.healthy)
|
1406
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1407
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1408
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1409
|
+
porcelain.hostname = (plumbing.hostname)
|
1410
|
+
porcelain.port_override = (plumbing.port_override)
|
1411
|
+
porcelain.port = (plumbing.port)
|
1412
|
+
porcelain.username = (plumbing.username)
|
1413
|
+
porcelain.password = (plumbing.password)
|
1414
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1415
|
+
porcelain
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1419
|
+
if porcelain == nil
|
1420
|
+
return nil
|
1421
|
+
end
|
1422
|
+
plumbing = V1::AmazonMQAMQP091.new()
|
1423
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1424
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1425
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1426
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1427
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1428
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1429
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1430
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1431
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1432
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1433
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1434
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1435
|
+
plumbing
|
1436
|
+
end
|
1437
|
+
def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
|
1438
|
+
items = Array.new
|
1439
|
+
porcelains.each do |porcelain|
|
1440
|
+
plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1441
|
+
items.append(plumbing)
|
1442
|
+
end
|
1443
|
+
items
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
|
1447
|
+
items = Array.new
|
1448
|
+
plumbings.each do |plumbing|
|
1449
|
+
porcelain = convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1450
|
+
items.append(porcelain)
|
1451
|
+
end
|
1452
|
+
items
|
1453
|
+
end
|
1282
1454
|
def self.convert_athena_to_porcelain(plumbing)
|
1283
1455
|
if plumbing == nil
|
1284
1456
|
return nil
|
@@ -1289,6 +1461,7 @@ module SDM
|
|
1289
1461
|
porcelain.healthy = (plumbing.healthy)
|
1290
1462
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1291
1463
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1464
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1292
1465
|
porcelain.access_key = (plumbing.access_key)
|
1293
1466
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1294
1467
|
porcelain.output = (plumbing.output)
|
@@ -1309,6 +1482,7 @@ module SDM
|
|
1309
1482
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1310
1483
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1311
1484
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1485
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1312
1486
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1313
1487
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1314
1488
|
plumbing.output = (porcelain.output) unless porcelain.output == nil
|
@@ -1345,6 +1519,7 @@ module SDM
|
|
1345
1519
|
porcelain.healthy = (plumbing.healthy)
|
1346
1520
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1347
1521
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1522
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1348
1523
|
porcelain.access_key = (plumbing.access_key)
|
1349
1524
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1350
1525
|
porcelain.healthcheck_region = (plumbing.healthcheck_region)
|
@@ -1363,6 +1538,7 @@ module SDM
|
|
1363
1538
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1364
1539
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1365
1540
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1541
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1366
1542
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1367
1543
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1368
1544
|
plumbing.healthcheck_region = (porcelain.healthcheck_region) unless porcelain.healthcheck_region == nil
|
@@ -1397,6 +1573,7 @@ module SDM
|
|
1397
1573
|
porcelain.healthy = (plumbing.healthy)
|
1398
1574
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1399
1575
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1576
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1400
1577
|
porcelain.private_key = (plumbing.private_key)
|
1401
1578
|
porcelain.project = (plumbing.project)
|
1402
1579
|
porcelain.port_override = (plumbing.port_override)
|
@@ -1415,6 +1592,7 @@ module SDM
|
|
1415
1592
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1416
1593
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1417
1594
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1595
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1418
1596
|
plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
|
1419
1597
|
plumbing.project = (porcelain.project) unless porcelain.project == nil
|
1420
1598
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -1449,6 +1627,7 @@ module SDM
|
|
1449
1627
|
porcelain.healthy = (plumbing.healthy)
|
1450
1628
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1451
1629
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1630
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1452
1631
|
porcelain.hostname = (plumbing.hostname)
|
1453
1632
|
porcelain.username = (plumbing.username)
|
1454
1633
|
porcelain.password = (plumbing.password)
|
@@ -1468,6 +1647,7 @@ module SDM
|
|
1468
1647
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1469
1648
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1470
1649
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1650
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1471
1651
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1472
1652
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1473
1653
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1503,6 +1683,7 @@ module SDM
|
|
1503
1683
|
porcelain.healthy = (plumbing.healthy)
|
1504
1684
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1505
1685
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1686
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1506
1687
|
porcelain.hostname = (plumbing.hostname)
|
1507
1688
|
porcelain.username = (plumbing.username)
|
1508
1689
|
porcelain.password = (plumbing.password)
|
@@ -1522,6 +1703,7 @@ module SDM
|
|
1522
1703
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1523
1704
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1524
1705
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1706
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1525
1707
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1526
1708
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1527
1709
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1557,6 +1739,7 @@ module SDM
|
|
1557
1739
|
porcelain.healthy = (plumbing.healthy)
|
1558
1740
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1559
1741
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1742
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1560
1743
|
porcelain.hostname = (plumbing.hostname)
|
1561
1744
|
porcelain.username = (plumbing.username)
|
1562
1745
|
porcelain.password = (plumbing.password)
|
@@ -1576,6 +1759,7 @@ module SDM
|
|
1576
1759
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1577
1760
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1578
1761
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1762
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1579
1763
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1580
1764
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1581
1765
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1611,6 +1795,7 @@ module SDM
|
|
1611
1795
|
porcelain.healthy = (plumbing.healthy)
|
1612
1796
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1613
1797
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1798
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1614
1799
|
porcelain.hostname = (plumbing.hostname)
|
1615
1800
|
porcelain.port_override = (plumbing.port_override)
|
1616
1801
|
porcelain.username = (plumbing.username)
|
@@ -1629,6 +1814,7 @@ module SDM
|
|
1629
1814
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1630
1815
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1631
1816
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1817
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1632
1818
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1633
1819
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1634
1820
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -1663,6 +1849,7 @@ module SDM
|
|
1663
1849
|
porcelain.healthy = (plumbing.healthy)
|
1664
1850
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1665
1851
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1852
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1666
1853
|
porcelain.access_key = (plumbing.access_key)
|
1667
1854
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1668
1855
|
porcelain.region = (plumbing.region)
|
@@ -1683,6 +1870,7 @@ module SDM
|
|
1683
1870
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1684
1871
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1685
1872
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1873
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1686
1874
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1687
1875
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1688
1876
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
@@ -1719,6 +1907,7 @@ module SDM
|
|
1719
1907
|
porcelain.healthy = (plumbing.healthy)
|
1720
1908
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1721
1909
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1910
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1722
1911
|
porcelain.region = (plumbing.region)
|
1723
1912
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1724
1913
|
porcelain.endpoint = (plumbing.endpoint)
|
@@ -1739,6 +1928,7 @@ module SDM
|
|
1739
1928
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1740
1929
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1741
1930
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1931
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1742
1932
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1743
1933
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1744
1934
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
@@ -1775,6 +1965,7 @@ module SDM
|
|
1775
1965
|
porcelain.healthy = (plumbing.healthy)
|
1776
1966
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1777
1967
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1968
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1778
1969
|
porcelain.hostname = (plumbing.hostname)
|
1779
1970
|
porcelain.username = (plumbing.username)
|
1780
1971
|
porcelain.password = (plumbing.password)
|
@@ -1794,6 +1985,7 @@ module SDM
|
|
1794
1985
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1795
1986
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1796
1987
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1988
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1797
1989
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1798
1990
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1799
1991
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1829,6 +2021,7 @@ module SDM
|
|
1829
2021
|
porcelain.healthy = (plumbing.healthy)
|
1830
2022
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1831
2023
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2024
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1832
2025
|
porcelain.url = (plumbing.url)
|
1833
2026
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1834
2027
|
porcelain.username = (plumbing.username)
|
@@ -1849,6 +2042,7 @@ module SDM
|
|
1849
2042
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1850
2043
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1851
2044
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2045
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1852
2046
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1853
2047
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1854
2048
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -1885,6 +2079,7 @@ module SDM
|
|
1885
2079
|
porcelain.healthy = (plumbing.healthy)
|
1886
2080
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1887
2081
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2082
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1888
2083
|
porcelain.url = (plumbing.url)
|
1889
2084
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1890
2085
|
porcelain.headers_blacklist = (plumbing.headers_blacklist)
|
@@ -1903,6 +2098,7 @@ module SDM
|
|
1903
2098
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1904
2099
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1905
2100
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2101
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1906
2102
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1907
2103
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1908
2104
|
plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
|
@@ -1937,6 +2133,7 @@ module SDM
|
|
1937
2133
|
porcelain.healthy = (plumbing.healthy)
|
1938
2134
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1939
2135
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2136
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1940
2137
|
porcelain.url = (plumbing.url)
|
1941
2138
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1942
2139
|
porcelain.auth_header = (plumbing.auth_header)
|
@@ -1956,6 +2153,7 @@ module SDM
|
|
1956
2153
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1957
2154
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1958
2155
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2156
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1959
2157
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1960
2158
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1961
2159
|
plumbing.auth_header = (porcelain.auth_header) unless porcelain.auth_header == nil
|
@@ -1991,6 +2189,7 @@ module SDM
|
|
1991
2189
|
porcelain.healthy = (plumbing.healthy)
|
1992
2190
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1993
2191
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2192
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1994
2193
|
porcelain.hostname = (plumbing.hostname)
|
1995
2194
|
porcelain.port = (plumbing.port)
|
1996
2195
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
@@ -2010,6 +2209,7 @@ module SDM
|
|
2010
2209
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2011
2210
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2012
2211
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2212
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2013
2213
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2014
2214
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2015
2215
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
@@ -2035,6 +2235,62 @@ module SDM
|
|
2035
2235
|
end
|
2036
2236
|
items
|
2037
2237
|
end
|
2238
|
+
def self.convert_kubernetes_user_impersonation_to_porcelain(plumbing)
|
2239
|
+
if plumbing == nil
|
2240
|
+
return nil
|
2241
|
+
end
|
2242
|
+
porcelain = KubernetesUserImpersonation.new()
|
2243
|
+
porcelain.id = (plumbing.id)
|
2244
|
+
porcelain.name = (plumbing.name)
|
2245
|
+
porcelain.healthy = (plumbing.healthy)
|
2246
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2247
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2248
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2249
|
+
porcelain.hostname = (plumbing.hostname)
|
2250
|
+
porcelain.port = (plumbing.port)
|
2251
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2252
|
+
porcelain.client_certificate = (plumbing.client_certificate)
|
2253
|
+
porcelain.client_key = (plumbing.client_key)
|
2254
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2255
|
+
porcelain
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
def self.convert_kubernetes_user_impersonation_to_plumbing(porcelain)
|
2259
|
+
if porcelain == nil
|
2260
|
+
return nil
|
2261
|
+
end
|
2262
|
+
plumbing = V1::KubernetesUserImpersonation.new()
|
2263
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2264
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2265
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2266
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2267
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2268
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2269
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2270
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2271
|
+
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2272
|
+
plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
|
2273
|
+
plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
|
2274
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2275
|
+
plumbing
|
2276
|
+
end
|
2277
|
+
def self.convert_repeated_kubernetes_user_impersonation_to_plumbing(porcelains)
|
2278
|
+
items = Array.new
|
2279
|
+
porcelains.each do |porcelain|
|
2280
|
+
plumbing = convert_kubernetes_user_impersonation_to_plumbing(porcelain)
|
2281
|
+
items.append(plumbing)
|
2282
|
+
end
|
2283
|
+
items
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
def self.convert_repeated_kubernetes_user_impersonation_to_porcelain(plumbings)
|
2287
|
+
items = Array.new
|
2288
|
+
plumbings.each do |plumbing|
|
2289
|
+
porcelain = convert_kubernetes_user_impersonation_to_porcelain(plumbing)
|
2290
|
+
items.append(porcelain)
|
2291
|
+
end
|
2292
|
+
items
|
2293
|
+
end
|
2038
2294
|
def self.convert_kubernetes_basic_auth_to_porcelain(plumbing)
|
2039
2295
|
if plumbing == nil
|
2040
2296
|
return nil
|
@@ -2045,6 +2301,7 @@ module SDM
|
|
2045
2301
|
porcelain.healthy = (plumbing.healthy)
|
2046
2302
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2047
2303
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2304
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2048
2305
|
porcelain.hostname = (plumbing.hostname)
|
2049
2306
|
porcelain.port = (plumbing.port)
|
2050
2307
|
porcelain.username = (plumbing.username)
|
@@ -2063,6 +2320,7 @@ module SDM
|
|
2063
2320
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2064
2321
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2065
2322
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2323
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2066
2324
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2067
2325
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2068
2326
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -2097,6 +2355,7 @@ module SDM
|
|
2097
2355
|
porcelain.healthy = (plumbing.healthy)
|
2098
2356
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2099
2357
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2358
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2100
2359
|
porcelain.hostname = (plumbing.hostname)
|
2101
2360
|
porcelain.port = (plumbing.port)
|
2102
2361
|
porcelain.token = (plumbing.token)
|
@@ -2114,6 +2373,7 @@ module SDM
|
|
2114
2373
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2115
2374
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2116
2375
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2376
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2117
2377
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2118
2378
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2119
2379
|
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
@@ -2137,6 +2397,58 @@ module SDM
|
|
2137
2397
|
end
|
2138
2398
|
items
|
2139
2399
|
end
|
2400
|
+
def self.convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing)
|
2401
|
+
if plumbing == nil
|
2402
|
+
return nil
|
2403
|
+
end
|
2404
|
+
porcelain = KubernetesServiceAccountUserImpersonation.new()
|
2405
|
+
porcelain.id = (plumbing.id)
|
2406
|
+
porcelain.name = (plumbing.name)
|
2407
|
+
porcelain.healthy = (plumbing.healthy)
|
2408
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2409
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2410
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2411
|
+
porcelain.hostname = (plumbing.hostname)
|
2412
|
+
porcelain.port = (plumbing.port)
|
2413
|
+
porcelain.token = (plumbing.token)
|
2414
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2415
|
+
porcelain
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
def self.convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
|
2419
|
+
if porcelain == nil
|
2420
|
+
return nil
|
2421
|
+
end
|
2422
|
+
plumbing = V1::KubernetesServiceAccountUserImpersonation.new()
|
2423
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2424
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2425
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2426
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2427
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2428
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2429
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2430
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2431
|
+
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
2432
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2433
|
+
plumbing
|
2434
|
+
end
|
2435
|
+
def self.convert_repeated_kubernetes_service_account_user_impersonation_to_plumbing(porcelains)
|
2436
|
+
items = Array.new
|
2437
|
+
porcelains.each do |porcelain|
|
2438
|
+
plumbing = convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
|
2439
|
+
items.append(plumbing)
|
2440
|
+
end
|
2441
|
+
items
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
def self.convert_repeated_kubernetes_service_account_user_impersonation_to_porcelain(plumbings)
|
2445
|
+
items = Array.new
|
2446
|
+
plumbings.each do |plumbing|
|
2447
|
+
porcelain = convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing)
|
2448
|
+
items.append(porcelain)
|
2449
|
+
end
|
2450
|
+
items
|
2451
|
+
end
|
2140
2452
|
def self.convert_amazon_eks_to_porcelain(plumbing)
|
2141
2453
|
if plumbing == nil
|
2142
2454
|
return nil
|
@@ -2147,6 +2459,7 @@ module SDM
|
|
2147
2459
|
porcelain.healthy = (plumbing.healthy)
|
2148
2460
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2149
2461
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2462
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2150
2463
|
porcelain.endpoint = (plumbing.endpoint)
|
2151
2464
|
porcelain.access_key = (plumbing.access_key)
|
2152
2465
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
@@ -2169,6 +2482,7 @@ module SDM
|
|
2169
2482
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2170
2483
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2171
2484
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2485
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2172
2486
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
2173
2487
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
2174
2488
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
@@ -2197,6 +2511,68 @@ module SDM
|
|
2197
2511
|
end
|
2198
2512
|
items
|
2199
2513
|
end
|
2514
|
+
def self.convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
|
2515
|
+
if plumbing == nil
|
2516
|
+
return nil
|
2517
|
+
end
|
2518
|
+
porcelain = AmazonEKSUserImpersonation.new()
|
2519
|
+
porcelain.id = (plumbing.id)
|
2520
|
+
porcelain.name = (plumbing.name)
|
2521
|
+
porcelain.healthy = (plumbing.healthy)
|
2522
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2523
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2524
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2525
|
+
porcelain.endpoint = (plumbing.endpoint)
|
2526
|
+
porcelain.access_key = (plumbing.access_key)
|
2527
|
+
porcelain.secret_access_key = (plumbing.secret_access_key)
|
2528
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2529
|
+
porcelain.region = (plumbing.region)
|
2530
|
+
porcelain.cluster_name = (plumbing.cluster_name)
|
2531
|
+
porcelain.role_arn = (plumbing.role_arn)
|
2532
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
2533
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2534
|
+
porcelain
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
def self.convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
|
2538
|
+
if porcelain == nil
|
2539
|
+
return nil
|
2540
|
+
end
|
2541
|
+
plumbing = V1::AmazonEKSUserImpersonation.new()
|
2542
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2543
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2544
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2545
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2546
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2547
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2548
|
+
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
2549
|
+
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
2550
|
+
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
2551
|
+
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2552
|
+
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
2553
|
+
plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
|
2554
|
+
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
2555
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
2556
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2557
|
+
plumbing
|
2558
|
+
end
|
2559
|
+
def self.convert_repeated_amazon_eks_user_impersonation_to_plumbing(porcelains)
|
2560
|
+
items = Array.new
|
2561
|
+
porcelains.each do |porcelain|
|
2562
|
+
plumbing = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
|
2563
|
+
items.append(plumbing)
|
2564
|
+
end
|
2565
|
+
items
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
def self.convert_repeated_amazon_eks_user_impersonation_to_porcelain(plumbings)
|
2569
|
+
items = Array.new
|
2570
|
+
plumbings.each do |plumbing|
|
2571
|
+
porcelain = convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
|
2572
|
+
items.append(porcelain)
|
2573
|
+
end
|
2574
|
+
items
|
2575
|
+
end
|
2200
2576
|
def self.convert_google_gke_to_porcelain(plumbing)
|
2201
2577
|
if plumbing == nil
|
2202
2578
|
return nil
|
@@ -2207,6 +2583,7 @@ module SDM
|
|
2207
2583
|
porcelain.healthy = (plumbing.healthy)
|
2208
2584
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2209
2585
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2586
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2210
2587
|
porcelain.endpoint = (plumbing.endpoint)
|
2211
2588
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2212
2589
|
porcelain.service_account_key = (plumbing.service_account_key)
|
@@ -2224,6 +2601,7 @@ module SDM
|
|
2224
2601
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2225
2602
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2226
2603
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2604
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2227
2605
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
2228
2606
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2229
2607
|
plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
|
@@ -2247,6 +2625,58 @@ module SDM
|
|
2247
2625
|
end
|
2248
2626
|
items
|
2249
2627
|
end
|
2628
|
+
def self.convert_google_gke_user_impersonation_to_porcelain(plumbing)
|
2629
|
+
if plumbing == nil
|
2630
|
+
return nil
|
2631
|
+
end
|
2632
|
+
porcelain = GoogleGKEUserImpersonation.new()
|
2633
|
+
porcelain.id = (plumbing.id)
|
2634
|
+
porcelain.name = (plumbing.name)
|
2635
|
+
porcelain.healthy = (plumbing.healthy)
|
2636
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2637
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2638
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2639
|
+
porcelain.endpoint = (plumbing.endpoint)
|
2640
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2641
|
+
porcelain.service_account_key = (plumbing.service_account_key)
|
2642
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2643
|
+
porcelain
|
2644
|
+
end
|
2645
|
+
|
2646
|
+
def self.convert_google_gke_user_impersonation_to_plumbing(porcelain)
|
2647
|
+
if porcelain == nil
|
2648
|
+
return nil
|
2649
|
+
end
|
2650
|
+
plumbing = V1::GoogleGKEUserImpersonation.new()
|
2651
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2652
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2653
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2654
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2655
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2656
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2657
|
+
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
2658
|
+
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2659
|
+
plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
|
2660
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2661
|
+
plumbing
|
2662
|
+
end
|
2663
|
+
def self.convert_repeated_google_gke_user_impersonation_to_plumbing(porcelains)
|
2664
|
+
items = Array.new
|
2665
|
+
porcelains.each do |porcelain|
|
2666
|
+
plumbing = convert_google_gke_user_impersonation_to_plumbing(porcelain)
|
2667
|
+
items.append(plumbing)
|
2668
|
+
end
|
2669
|
+
items
|
2670
|
+
end
|
2671
|
+
|
2672
|
+
def self.convert_repeated_google_gke_user_impersonation_to_porcelain(plumbings)
|
2673
|
+
items = Array.new
|
2674
|
+
plumbings.each do |plumbing|
|
2675
|
+
porcelain = convert_google_gke_user_impersonation_to_porcelain(plumbing)
|
2676
|
+
items.append(porcelain)
|
2677
|
+
end
|
2678
|
+
items
|
2679
|
+
end
|
2250
2680
|
def self.convert_aks_to_porcelain(plumbing)
|
2251
2681
|
if plumbing == nil
|
2252
2682
|
return nil
|
@@ -2257,6 +2687,7 @@ module SDM
|
|
2257
2687
|
porcelain.healthy = (plumbing.healthy)
|
2258
2688
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2259
2689
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2690
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2260
2691
|
porcelain.hostname = (plumbing.hostname)
|
2261
2692
|
porcelain.port = (plumbing.port)
|
2262
2693
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
@@ -2276,6 +2707,7 @@ module SDM
|
|
2276
2707
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2277
2708
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2278
2709
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2710
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2279
2711
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2280
2712
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2281
2713
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
@@ -2301,6 +2733,62 @@ module SDM
|
|
2301
2733
|
end
|
2302
2734
|
items
|
2303
2735
|
end
|
2736
|
+
def self.convert_aks_user_impersonation_to_porcelain(plumbing)
|
2737
|
+
if plumbing == nil
|
2738
|
+
return nil
|
2739
|
+
end
|
2740
|
+
porcelain = AKSUserImpersonation.new()
|
2741
|
+
porcelain.id = (plumbing.id)
|
2742
|
+
porcelain.name = (plumbing.name)
|
2743
|
+
porcelain.healthy = (plumbing.healthy)
|
2744
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2745
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2746
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2747
|
+
porcelain.hostname = (plumbing.hostname)
|
2748
|
+
porcelain.port = (plumbing.port)
|
2749
|
+
porcelain.certificate_authority = (plumbing.certificate_authority)
|
2750
|
+
porcelain.client_certificate = (plumbing.client_certificate)
|
2751
|
+
porcelain.client_key = (plumbing.client_key)
|
2752
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2753
|
+
porcelain
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
def self.convert_aks_user_impersonation_to_plumbing(porcelain)
|
2757
|
+
if porcelain == nil
|
2758
|
+
return nil
|
2759
|
+
end
|
2760
|
+
plumbing = V1::AKSUserImpersonation.new()
|
2761
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2762
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2763
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2764
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2765
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2766
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2767
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2768
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2769
|
+
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2770
|
+
plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
|
2771
|
+
plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
|
2772
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2773
|
+
plumbing
|
2774
|
+
end
|
2775
|
+
def self.convert_repeated_aks_user_impersonation_to_plumbing(porcelains)
|
2776
|
+
items = Array.new
|
2777
|
+
porcelains.each do |porcelain|
|
2778
|
+
plumbing = convert_aks_user_impersonation_to_plumbing(porcelain)
|
2779
|
+
items.append(plumbing)
|
2780
|
+
end
|
2781
|
+
items
|
2782
|
+
end
|
2783
|
+
|
2784
|
+
def self.convert_repeated_aks_user_impersonation_to_porcelain(plumbings)
|
2785
|
+
items = Array.new
|
2786
|
+
plumbings.each do |plumbing|
|
2787
|
+
porcelain = convert_aks_user_impersonation_to_porcelain(plumbing)
|
2788
|
+
items.append(porcelain)
|
2789
|
+
end
|
2790
|
+
items
|
2791
|
+
end
|
2304
2792
|
def self.convert_aks_basic_auth_to_porcelain(plumbing)
|
2305
2793
|
if plumbing == nil
|
2306
2794
|
return nil
|
@@ -2311,6 +2799,7 @@ module SDM
|
|
2311
2799
|
porcelain.healthy = (plumbing.healthy)
|
2312
2800
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2313
2801
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2802
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2314
2803
|
porcelain.hostname = (plumbing.hostname)
|
2315
2804
|
porcelain.port = (plumbing.port)
|
2316
2805
|
porcelain.username = (plumbing.username)
|
@@ -2329,6 +2818,7 @@ module SDM
|
|
2329
2818
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2330
2819
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2331
2820
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2821
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2332
2822
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2333
2823
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2334
2824
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -2363,6 +2853,7 @@ module SDM
|
|
2363
2853
|
porcelain.healthy = (plumbing.healthy)
|
2364
2854
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2365
2855
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2856
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2366
2857
|
porcelain.hostname = (plumbing.hostname)
|
2367
2858
|
porcelain.port = (plumbing.port)
|
2368
2859
|
porcelain.token = (plumbing.token)
|
@@ -2380,6 +2871,7 @@ module SDM
|
|
2380
2871
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2381
2872
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2382
2873
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2874
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2383
2875
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2384
2876
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2385
2877
|
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
@@ -2403,6 +2895,58 @@ module SDM
|
|
2403
2895
|
end
|
2404
2896
|
items
|
2405
2897
|
end
|
2898
|
+
def self.convert_aks_service_account_user_impersonation_to_porcelain(plumbing)
|
2899
|
+
if plumbing == nil
|
2900
|
+
return nil
|
2901
|
+
end
|
2902
|
+
porcelain = AKSServiceAccountUserImpersonation.new()
|
2903
|
+
porcelain.id = (plumbing.id)
|
2904
|
+
porcelain.name = (plumbing.name)
|
2905
|
+
porcelain.healthy = (plumbing.healthy)
|
2906
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2907
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2908
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2909
|
+
porcelain.hostname = (plumbing.hostname)
|
2910
|
+
porcelain.port = (plumbing.port)
|
2911
|
+
porcelain.token = (plumbing.token)
|
2912
|
+
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
2913
|
+
porcelain
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
def self.convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
|
2917
|
+
if porcelain == nil
|
2918
|
+
return nil
|
2919
|
+
end
|
2920
|
+
plumbing = V1::AKSServiceAccountUserImpersonation.new()
|
2921
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
2922
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2923
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2924
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2925
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2926
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2927
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2928
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2929
|
+
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
2930
|
+
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
2931
|
+
plumbing
|
2932
|
+
end
|
2933
|
+
def self.convert_repeated_aks_service_account_user_impersonation_to_plumbing(porcelains)
|
2934
|
+
items = Array.new
|
2935
|
+
porcelains.each do |porcelain|
|
2936
|
+
plumbing = convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
|
2937
|
+
items.append(plumbing)
|
2938
|
+
end
|
2939
|
+
items
|
2940
|
+
end
|
2941
|
+
|
2942
|
+
def self.convert_repeated_aks_service_account_user_impersonation_to_porcelain(plumbings)
|
2943
|
+
items = Array.new
|
2944
|
+
plumbings.each do |plumbing|
|
2945
|
+
porcelain = convert_aks_service_account_user_impersonation_to_porcelain(plumbing)
|
2946
|
+
items.append(porcelain)
|
2947
|
+
end
|
2948
|
+
items
|
2949
|
+
end
|
2406
2950
|
def self.convert_memcached_to_porcelain(plumbing)
|
2407
2951
|
if plumbing == nil
|
2408
2952
|
return nil
|
@@ -2413,6 +2957,7 @@ module SDM
|
|
2413
2957
|
porcelain.healthy = (plumbing.healthy)
|
2414
2958
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2415
2959
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2960
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2416
2961
|
porcelain.hostname = (plumbing.hostname)
|
2417
2962
|
porcelain.port_override = (plumbing.port_override)
|
2418
2963
|
porcelain.port = (plumbing.port)
|
@@ -2429,6 +2974,7 @@ module SDM
|
|
2429
2974
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2430
2975
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2431
2976
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2977
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2432
2978
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2433
2979
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
2434
2980
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -2461,6 +3007,7 @@ module SDM
|
|
2461
3007
|
porcelain.healthy = (plumbing.healthy)
|
2462
3008
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2463
3009
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3010
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2464
3011
|
porcelain.hostname = (plumbing.hostname)
|
2465
3012
|
porcelain.auth_database = (plumbing.auth_database)
|
2466
3013
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2482,6 +3029,7 @@ module SDM
|
|
2482
3029
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2483
3030
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2484
3031
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3032
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2485
3033
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2486
3034
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2487
3035
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2519,6 +3067,7 @@ module SDM
|
|
2519
3067
|
porcelain.healthy = (plumbing.healthy)
|
2520
3068
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2521
3069
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3070
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2522
3071
|
porcelain.hostname = (plumbing.hostname)
|
2523
3072
|
porcelain.auth_database = (plumbing.auth_database)
|
2524
3073
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2541,6 +3090,7 @@ module SDM
|
|
2541
3090
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2542
3091
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2543
3092
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3093
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2544
3094
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2545
3095
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2546
3096
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2579,6 +3129,7 @@ module SDM
|
|
2579
3129
|
porcelain.healthy = (plumbing.healthy)
|
2580
3130
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2581
3131
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3132
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2582
3133
|
porcelain.hostname = (plumbing.hostname)
|
2583
3134
|
porcelain.auth_database = (plumbing.auth_database)
|
2584
3135
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2599,6 +3150,7 @@ module SDM
|
|
2599
3150
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2600
3151
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2601
3152
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3153
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2602
3154
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2603
3155
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2604
3156
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2635,6 +3187,7 @@ module SDM
|
|
2635
3187
|
porcelain.healthy = (plumbing.healthy)
|
2636
3188
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2637
3189
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3190
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2638
3191
|
porcelain.hostname = (plumbing.hostname)
|
2639
3192
|
porcelain.auth_database = (plumbing.auth_database)
|
2640
3193
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2657,6 +3210,7 @@ module SDM
|
|
2657
3210
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2658
3211
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2659
3212
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3213
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2660
3214
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2661
3215
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2662
3216
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2695,6 +3249,7 @@ module SDM
|
|
2695
3249
|
porcelain.healthy = (plumbing.healthy)
|
2696
3250
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2697
3251
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3252
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2698
3253
|
porcelain.hostname = (plumbing.hostname)
|
2699
3254
|
porcelain.username = (plumbing.username)
|
2700
3255
|
porcelain.password = (plumbing.password)
|
@@ -2714,6 +3269,7 @@ module SDM
|
|
2714
3269
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2715
3270
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2716
3271
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3272
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2717
3273
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2718
3274
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2719
3275
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2749,6 +3305,7 @@ module SDM
|
|
2749
3305
|
porcelain.healthy = (plumbing.healthy)
|
2750
3306
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2751
3307
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3308
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2752
3309
|
porcelain.hostname = (plumbing.hostname)
|
2753
3310
|
porcelain.username = (plumbing.username)
|
2754
3311
|
porcelain.password = (plumbing.password)
|
@@ -2768,6 +3325,7 @@ module SDM
|
|
2768
3325
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2769
3326
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2770
3327
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3328
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2771
3329
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2772
3330
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2773
3331
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2803,6 +3361,7 @@ module SDM
|
|
2803
3361
|
porcelain.healthy = (plumbing.healthy)
|
2804
3362
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2805
3363
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3364
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2806
3365
|
porcelain.hostname = (plumbing.hostname)
|
2807
3366
|
porcelain.username = (plumbing.username)
|
2808
3367
|
porcelain.password = (plumbing.password)
|
@@ -2822,6 +3381,7 @@ module SDM
|
|
2822
3381
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2823
3382
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2824
3383
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3384
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2825
3385
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2826
3386
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2827
3387
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2857,6 +3417,7 @@ module SDM
|
|
2857
3417
|
porcelain.healthy = (plumbing.healthy)
|
2858
3418
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2859
3419
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3420
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2860
3421
|
porcelain.hostname = (plumbing.hostname)
|
2861
3422
|
porcelain.username = (plumbing.username)
|
2862
3423
|
porcelain.password = (plumbing.password)
|
@@ -2876,6 +3437,7 @@ module SDM
|
|
2876
3437
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2877
3438
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2878
3439
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3440
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2879
3441
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2880
3442
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2881
3443
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2911,6 +3473,7 @@ module SDM
|
|
2911
3473
|
porcelain.healthy = (plumbing.healthy)
|
2912
3474
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2913
3475
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3476
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2914
3477
|
porcelain.hostname = (plumbing.hostname)
|
2915
3478
|
porcelain.username = (plumbing.username)
|
2916
3479
|
porcelain.password = (plumbing.password)
|
@@ -2930,6 +3493,7 @@ module SDM
|
|
2930
3493
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2931
3494
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2932
3495
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3496
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2933
3497
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2934
3498
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2935
3499
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2955,6 +3519,62 @@ module SDM
|
|
2955
3519
|
end
|
2956
3520
|
items
|
2957
3521
|
end
|
3522
|
+
def self.convert_single_store_to_porcelain(plumbing)
|
3523
|
+
if plumbing == nil
|
3524
|
+
return nil
|
3525
|
+
end
|
3526
|
+
porcelain = SingleStore.new()
|
3527
|
+
porcelain.id = (plumbing.id)
|
3528
|
+
porcelain.name = (plumbing.name)
|
3529
|
+
porcelain.healthy = (plumbing.healthy)
|
3530
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3531
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3532
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3533
|
+
porcelain.hostname = (plumbing.hostname)
|
3534
|
+
porcelain.username = (plumbing.username)
|
3535
|
+
porcelain.password = (plumbing.password)
|
3536
|
+
porcelain.database = (plumbing.database)
|
3537
|
+
porcelain.port_override = (plumbing.port_override)
|
3538
|
+
porcelain.port = (plumbing.port)
|
3539
|
+
porcelain
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
def self.convert_single_store_to_plumbing(porcelain)
|
3543
|
+
if porcelain == nil
|
3544
|
+
return nil
|
3545
|
+
end
|
3546
|
+
plumbing = V1::SingleStore.new()
|
3547
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
3548
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3549
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3550
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3551
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3552
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3553
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3554
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3555
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
3556
|
+
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
3557
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3558
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
3559
|
+
plumbing
|
3560
|
+
end
|
3561
|
+
def self.convert_repeated_single_store_to_plumbing(porcelains)
|
3562
|
+
items = Array.new
|
3563
|
+
porcelains.each do |porcelain|
|
3564
|
+
plumbing = convert_single_store_to_plumbing(porcelain)
|
3565
|
+
items.append(plumbing)
|
3566
|
+
end
|
3567
|
+
items
|
3568
|
+
end
|
3569
|
+
|
3570
|
+
def self.convert_repeated_single_store_to_porcelain(plumbings)
|
3571
|
+
items = Array.new
|
3572
|
+
plumbings.each do |plumbing|
|
3573
|
+
porcelain = convert_single_store_to_porcelain(plumbing)
|
3574
|
+
items.append(porcelain)
|
3575
|
+
end
|
3576
|
+
items
|
3577
|
+
end
|
2958
3578
|
def self.convert_oracle_to_porcelain(plumbing)
|
2959
3579
|
if plumbing == nil
|
2960
3580
|
return nil
|
@@ -2965,6 +3585,7 @@ module SDM
|
|
2965
3585
|
porcelain.healthy = (plumbing.healthy)
|
2966
3586
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2967
3587
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3588
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2968
3589
|
porcelain.hostname = (plumbing.hostname)
|
2969
3590
|
porcelain.username = (plumbing.username)
|
2970
3591
|
porcelain.password = (plumbing.password)
|
@@ -2985,6 +3606,7 @@ module SDM
|
|
2985
3606
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2986
3607
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2987
3608
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3609
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
2988
3610
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2989
3611
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2990
3612
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3021,6 +3643,7 @@ module SDM
|
|
3021
3643
|
porcelain.healthy = (plumbing.healthy)
|
3022
3644
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3023
3645
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3646
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3024
3647
|
porcelain.hostname = (plumbing.hostname)
|
3025
3648
|
porcelain.username = (plumbing.username)
|
3026
3649
|
porcelain.password = (plumbing.password)
|
@@ -3041,6 +3664,7 @@ module SDM
|
|
3041
3664
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3042
3665
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3043
3666
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3667
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3044
3668
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3045
3669
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3046
3670
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3077,6 +3701,7 @@ module SDM
|
|
3077
3701
|
porcelain.healthy = (plumbing.healthy)
|
3078
3702
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3079
3703
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3704
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3080
3705
|
porcelain.hostname = (plumbing.hostname)
|
3081
3706
|
porcelain.username = (plumbing.username)
|
3082
3707
|
porcelain.password = (plumbing.password)
|
@@ -3097,6 +3722,7 @@ module SDM
|
|
3097
3722
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3098
3723
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3099
3724
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3725
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3100
3726
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3101
3727
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3102
3728
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3133,6 +3759,7 @@ module SDM
|
|
3133
3759
|
porcelain.healthy = (plumbing.healthy)
|
3134
3760
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3135
3761
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3762
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3136
3763
|
porcelain.hostname = (plumbing.hostname)
|
3137
3764
|
porcelain.username = (plumbing.username)
|
3138
3765
|
porcelain.password = (plumbing.password)
|
@@ -3153,6 +3780,7 @@ module SDM
|
|
3153
3780
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3154
3781
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3155
3782
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3783
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3156
3784
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3157
3785
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3158
3786
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3189,6 +3817,7 @@ module SDM
|
|
3189
3817
|
porcelain.healthy = (plumbing.healthy)
|
3190
3818
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3191
3819
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3820
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3192
3821
|
porcelain.hostname = (plumbing.hostname)
|
3193
3822
|
porcelain.username = (plumbing.username)
|
3194
3823
|
porcelain.password = (plumbing.password)
|
@@ -3209,6 +3838,7 @@ module SDM
|
|
3209
3838
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3210
3839
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3211
3840
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3841
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3212
3842
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3213
3843
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3214
3844
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3245,6 +3875,7 @@ module SDM
|
|
3245
3875
|
porcelain.healthy = (plumbing.healthy)
|
3246
3876
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3247
3877
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3878
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3248
3879
|
porcelain.hostname = (plumbing.hostname)
|
3249
3880
|
porcelain.username = (plumbing.username)
|
3250
3881
|
porcelain.password = (plumbing.password)
|
@@ -3265,6 +3896,7 @@ module SDM
|
|
3265
3896
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3266
3897
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3267
3898
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3899
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3268
3900
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3269
3901
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3270
3902
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3301,6 +3933,7 @@ module SDM
|
|
3301
3933
|
porcelain.healthy = (plumbing.healthy)
|
3302
3934
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3303
3935
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3936
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3304
3937
|
porcelain.hostname = (plumbing.hostname)
|
3305
3938
|
porcelain.username = (plumbing.username)
|
3306
3939
|
porcelain.password = (plumbing.password)
|
@@ -3321,6 +3954,7 @@ module SDM
|
|
3321
3954
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3322
3955
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3323
3956
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3957
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3324
3958
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3325
3959
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3326
3960
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3357,6 +3991,7 @@ module SDM
|
|
3357
3991
|
porcelain.healthy = (plumbing.healthy)
|
3358
3992
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3359
3993
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3994
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3360
3995
|
porcelain.hostname = (plumbing.hostname)
|
3361
3996
|
porcelain.password = (plumbing.password)
|
3362
3997
|
porcelain.database = (plumbing.database)
|
@@ -3377,6 +4012,7 @@ module SDM
|
|
3377
4012
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3378
4013
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3379
4014
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4015
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3380
4016
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3381
4017
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
3382
4018
|
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
@@ -3413,6 +4049,7 @@ module SDM
|
|
3413
4049
|
porcelain.healthy = (plumbing.healthy)
|
3414
4050
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3415
4051
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4052
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3416
4053
|
porcelain.hostname = (plumbing.hostname)
|
3417
4054
|
porcelain.username = (plumbing.username)
|
3418
4055
|
porcelain.password = (plumbing.password)
|
@@ -3431,6 +4068,7 @@ module SDM
|
|
3431
4068
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3432
4069
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3433
4070
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4071
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3434
4072
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3435
4073
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3436
4074
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3465,6 +4103,7 @@ module SDM
|
|
3465
4103
|
porcelain.healthy = (plumbing.healthy)
|
3466
4104
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3467
4105
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4106
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3468
4107
|
porcelain.hostname = (plumbing.hostname)
|
3469
4108
|
porcelain.port_override = (plumbing.port_override)
|
3470
4109
|
porcelain.password = (plumbing.password)
|
@@ -3482,6 +4121,7 @@ module SDM
|
|
3482
4121
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3483
4122
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3484
4123
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4124
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3485
4125
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3486
4126
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3487
4127
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3515,6 +4155,7 @@ module SDM
|
|
3515
4155
|
porcelain.healthy = (plumbing.healthy)
|
3516
4156
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3517
4157
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4158
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3518
4159
|
porcelain.hostname = (plumbing.hostname)
|
3519
4160
|
porcelain.port_override = (plumbing.port_override)
|
3520
4161
|
porcelain.password = (plumbing.password)
|
@@ -3533,6 +4174,7 @@ module SDM
|
|
3533
4174
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3534
4175
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3535
4176
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4177
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3536
4178
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3537
4179
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3538
4180
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3567,6 +4209,7 @@ module SDM
|
|
3567
4209
|
porcelain.healthy = (plumbing.healthy)
|
3568
4210
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3569
4211
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4212
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3570
4213
|
porcelain.hostname = (plumbing.hostname)
|
3571
4214
|
porcelain.username = (plumbing.username)
|
3572
4215
|
porcelain.password = (plumbing.password)
|
@@ -3586,6 +4229,7 @@ module SDM
|
|
3586
4229
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3587
4230
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3588
4231
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4232
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3589
4233
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3590
4234
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3591
4235
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3621,6 +4265,7 @@ module SDM
|
|
3621
4265
|
porcelain.healthy = (plumbing.healthy)
|
3622
4266
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3623
4267
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4268
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3624
4269
|
porcelain.hostname = (plumbing.hostname)
|
3625
4270
|
porcelain.username = (plumbing.username)
|
3626
4271
|
porcelain.password = (plumbing.password)
|
@@ -3642,6 +4287,7 @@ module SDM
|
|
3642
4287
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3643
4288
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3644
4289
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4290
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3645
4291
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3646
4292
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3647
4293
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3679,6 +4325,7 @@ module SDM
|
|
3679
4325
|
porcelain.healthy = (plumbing.healthy)
|
3680
4326
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3681
4327
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4328
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3682
4329
|
porcelain.hostname = (plumbing.hostname)
|
3683
4330
|
porcelain.username = (plumbing.username)
|
3684
4331
|
porcelain.port = (plumbing.port)
|
@@ -3698,6 +4345,7 @@ module SDM
|
|
3698
4345
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3699
4346
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3700
4347
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4348
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3701
4349
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3702
4350
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3703
4351
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -3733,6 +4381,7 @@ module SDM
|
|
3733
4381
|
porcelain.healthy = (plumbing.healthy)
|
3734
4382
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3735
4383
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4384
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3736
4385
|
porcelain.hostname = (plumbing.hostname)
|
3737
4386
|
porcelain.username = (plumbing.username)
|
3738
4387
|
porcelain.port = (plumbing.port)
|
@@ -3751,6 +4400,7 @@ module SDM
|
|
3751
4400
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3752
4401
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3753
4402
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4403
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3754
4404
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3755
4405
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3756
4406
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -3775,6 +4425,62 @@ module SDM
|
|
3775
4425
|
end
|
3776
4426
|
items
|
3777
4427
|
end
|
4428
|
+
def self.convert_ssh_customer_key_to_porcelain(plumbing)
|
4429
|
+
if plumbing == nil
|
4430
|
+
return nil
|
4431
|
+
end
|
4432
|
+
porcelain = SSHCustomerKey.new()
|
4433
|
+
porcelain.id = (plumbing.id)
|
4434
|
+
porcelain.name = (plumbing.name)
|
4435
|
+
porcelain.healthy = (plumbing.healthy)
|
4436
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4437
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4438
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4439
|
+
porcelain.hostname = (plumbing.hostname)
|
4440
|
+
porcelain.username = (plumbing.username)
|
4441
|
+
porcelain.port = (plumbing.port)
|
4442
|
+
porcelain.private_key = (plumbing.private_key)
|
4443
|
+
porcelain.port_forwarding = (plumbing.port_forwarding)
|
4444
|
+
porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
|
4445
|
+
porcelain
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
def self.convert_ssh_customer_key_to_plumbing(porcelain)
|
4449
|
+
if porcelain == nil
|
4450
|
+
return nil
|
4451
|
+
end
|
4452
|
+
plumbing = V1::SSHCustomerKey.new()
|
4453
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
4454
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4455
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
4456
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4457
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4458
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
4459
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
4460
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
4461
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
4462
|
+
plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
|
4463
|
+
plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
|
4464
|
+
plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
|
4465
|
+
plumbing
|
4466
|
+
end
|
4467
|
+
def self.convert_repeated_ssh_customer_key_to_plumbing(porcelains)
|
4468
|
+
items = Array.new
|
4469
|
+
porcelains.each do |porcelain|
|
4470
|
+
plumbing = convert_ssh_customer_key_to_plumbing(porcelain)
|
4471
|
+
items.append(plumbing)
|
4472
|
+
end
|
4473
|
+
items
|
4474
|
+
end
|
4475
|
+
|
4476
|
+
def self.convert_repeated_ssh_customer_key_to_porcelain(plumbings)
|
4477
|
+
items = Array.new
|
4478
|
+
plumbings.each do |plumbing|
|
4479
|
+
porcelain = convert_ssh_customer_key_to_porcelain(plumbing)
|
4480
|
+
items.append(porcelain)
|
4481
|
+
end
|
4482
|
+
items
|
4483
|
+
end
|
3778
4484
|
def self.convert_sybase_to_porcelain(plumbing)
|
3779
4485
|
if plumbing == nil
|
3780
4486
|
return nil
|
@@ -3785,6 +4491,7 @@ module SDM
|
|
3785
4491
|
porcelain.healthy = (plumbing.healthy)
|
3786
4492
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3787
4493
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4494
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3788
4495
|
porcelain.hostname = (plumbing.hostname)
|
3789
4496
|
porcelain.username = (plumbing.username)
|
3790
4497
|
porcelain.port_override = (plumbing.port_override)
|
@@ -3803,6 +4510,7 @@ module SDM
|
|
3803
4510
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3804
4511
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3805
4512
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4513
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3806
4514
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3807
4515
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3808
4516
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -3837,6 +4545,7 @@ module SDM
|
|
3837
4545
|
porcelain.healthy = (plumbing.healthy)
|
3838
4546
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3839
4547
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4548
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3840
4549
|
porcelain.hostname = (plumbing.hostname)
|
3841
4550
|
porcelain.username = (plumbing.username)
|
3842
4551
|
porcelain.port_override = (plumbing.port_override)
|
@@ -3855,6 +4564,7 @@ module SDM
|
|
3855
4564
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3856
4565
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3857
4566
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4567
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3858
4568
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3859
4569
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3860
4570
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -3889,6 +4599,7 @@ module SDM
|
|
3889
4599
|
porcelain.healthy = (plumbing.healthy)
|
3890
4600
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3891
4601
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4602
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3892
4603
|
porcelain.hostname = (plumbing.hostname)
|
3893
4604
|
porcelain.username = (plumbing.username)
|
3894
4605
|
porcelain.password = (plumbing.password)
|
@@ -3907,6 +4618,7 @@ module SDM
|
|
3907
4618
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3908
4619
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3909
4620
|
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
4621
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3910
4622
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3911
4623
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3912
4624
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -4134,6 +4846,7 @@ module SDM
|
|
4134
4846
|
porcelain.name = (plumbing.name)
|
4135
4847
|
porcelain.state = (plumbing.state)
|
4136
4848
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4849
|
+
porcelain.gateway_filter = (plumbing.gateway_filter)
|
4137
4850
|
porcelain
|
4138
4851
|
end
|
4139
4852
|
|
@@ -4146,6 +4859,7 @@ module SDM
|
|
4146
4859
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4147
4860
|
plumbing.state = (porcelain.state) unless porcelain.state == nil
|
4148
4861
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4862
|
+
plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
|
4149
4863
|
plumbing
|
4150
4864
|
end
|
4151
4865
|
def self.convert_repeated_relay_to_plumbing(porcelains)
|
@@ -4176,6 +4890,7 @@ module SDM
|
|
4176
4890
|
porcelain.listen_address = (plumbing.listen_address)
|
4177
4891
|
porcelain.bind_address = (plumbing.bind_address)
|
4178
4892
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4893
|
+
porcelain.gateway_filter = (plumbing.gateway_filter)
|
4179
4894
|
porcelain
|
4180
4895
|
end
|
4181
4896
|
|
@@ -4190,6 +4905,7 @@ module SDM
|
|
4190
4905
|
plumbing.listen_address = (porcelain.listen_address) unless porcelain.listen_address == nil
|
4191
4906
|
plumbing.bind_address = (porcelain.bind_address) unless porcelain.bind_address == nil
|
4192
4907
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4908
|
+
plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
|
4193
4909
|
plumbing
|
4194
4910
|
end
|
4195
4911
|
def self.convert_repeated_gateway_to_plumbing(porcelains)
|