strongdm 1.0.22 → 1.0.23
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 +2 -2
- data/doc/SDM/AKSBasicAuth.html +2 -2
- data/doc/SDM/AKSServiceAccount.html +2 -2
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +2 -2
- data/doc/SDM/AKSUserImpersonation.html +2 -2
- data/doc/SDM/AWS.html +2 -2
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AmazonEKS.html +2 -2
- data/doc/SDM/AmazonEKSUserImpersonation.html +2 -2
- data/doc/SDM/AmazonES.html +2 -2
- data/doc/SDM/AmazonMQAMQP091.html +427 -0
- data/doc/SDM/AmazonMQRabbitMQAMQP091.html +427 -0
- data/doc/SDM/Athena.html +2 -2
- data/doc/SDM/AuroraMysql.html +2 -2
- data/doc/SDM/AuroraPostgres.html +2 -2
- data/doc/SDM/BigQuery.html +2 -2
- data/doc/SDM/Cassandra.html +2 -2
- data/doc/SDM/Citus.html +2 -2
- data/doc/SDM/Clustrix.html +2 -2
- data/doc/SDM/Cockroach.html +2 -2
- data/doc/SDM/DB2LUW.html +2 -2
- data/doc/SDM/DB2i.html +2 -2
- data/doc/SDM/Druid.html +2 -2
- data/doc/SDM/DynamoDB.html +2 -2
- data/doc/SDM/Elastic.html +2 -2
- data/doc/SDM/ElasticacheRedis.html +2 -2
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +2 -2
- data/doc/SDM/GoogleGKEUserImpersonation.html +2 -2
- data/doc/SDM/Greenplum.html +2 -2
- data/doc/SDM/HTTPAuth.html +2 -2
- data/doc/SDM/HTTPBasicAuth.html +2 -2
- data/doc/SDM/HTTPNoAuth.html +2 -2
- data/doc/SDM/Kubernetes.html +2 -2
- data/doc/SDM/KubernetesBasicAuth.html +2 -2
- data/doc/SDM/KubernetesServiceAccount.html +2 -2
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +2 -2
- data/doc/SDM/KubernetesUserImpersonation.html +2 -2
- data/doc/SDM/Maria.html +2 -2
- data/doc/SDM/Memcached.html +2 -2
- data/doc/SDM/Memsql.html +2 -2
- data/doc/SDM/MongoHost.html +2 -2
- data/doc/SDM/MongoLegacyHost.html +2 -2
- data/doc/SDM/MongoLegacyReplicaset.html +2 -2
- data/doc/SDM/MongoReplicaSet.html +2 -2
- data/doc/SDM/Mysql.html +2 -2
- 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 +2 -2
- data/doc/SDM/Plumbing.html +732 -356
- data/doc/SDM/Postgres.html +2 -2
- data/doc/SDM/Presto.html +2 -2
- data/doc/SDM/RDP.html +2 -2
- data/doc/SDM/RabbitMQAMQP091.html +427 -0
- data/doc/SDM/Redis.html +2 -2
- data/doc/SDM/Redshift.html +2 -2
- data/doc/SDM/Relay.html +2 -2
- 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 +2 -2
- data/doc/SDM/SSH.html +2 -2
- data/doc/SDM/SSHCert.html +2 -2
- data/doc/SDM/SSHCustomerKey.html +2 -2
- 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/Snowflake.html +2 -2
- data/doc/SDM/Sybase.html +2 -2
- data/doc/SDM/SybaseIQ.html +2 -2
- data/doc/SDM/Teradata.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +10 -0
- data/doc/created.rid +56 -52
- data/doc/index.html +4 -0
- 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 +351 -281
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +32 -0
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/plumbing.rb +124 -0
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/models/porcelain.rb +174 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -2
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountAttachments"
|
30
30
|
|
31
31
|
# Create registers a new AccountAttachment.
|
32
|
-
rpc :Create, AccountAttachmentCreateRequest, AccountAttachmentCreateResponse
|
32
|
+
rpc :Create, ::V1::AccountAttachmentCreateRequest, ::V1::AccountAttachmentCreateResponse
|
33
33
|
# Get reads one AccountAttachment by ID.
|
34
|
-
rpc :Get, AccountAttachmentGetRequest, AccountAttachmentGetResponse
|
34
|
+
rpc :Get, ::V1::AccountAttachmentGetRequest, ::V1::AccountAttachmentGetResponse
|
35
35
|
# Delete removes a AccountAttachment by ID.
|
36
|
-
rpc :Delete, AccountAttachmentDeleteRequest, AccountAttachmentDeleteResponse
|
36
|
+
rpc :Delete, ::V1::AccountAttachmentDeleteRequest, ::V1::AccountAttachmentDeleteResponse
|
37
37
|
# List gets a list of AccountAttachments matching a given set of criteria.
|
38
|
-
rpc :List, AccountAttachmentListRequest, AccountAttachmentListResponse
|
38
|
+
rpc :List, ::V1::AccountAttachmentListRequest, ::V1::AccountAttachmentListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountGrants"
|
30
30
|
|
31
31
|
# Create registers a new AccountGrant.
|
32
|
-
rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
|
32
|
+
rpc :Create, ::V1::AccountGrantCreateRequest, ::V1::AccountGrantCreateResponse
|
33
33
|
# Get reads one AccountGrant by ID.
|
34
|
-
rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
|
34
|
+
rpc :Get, ::V1::AccountGrantGetRequest, ::V1::AccountGrantGetResponse
|
35
35
|
# Delete removes a AccountGrant by ID.
|
36
|
-
rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
|
36
|
+
rpc :Delete, ::V1::AccountGrantDeleteRequest, ::V1::AccountGrantDeleteResponse
|
37
37
|
# List gets a list of AccountGrants matching a given set of criteria.
|
38
|
-
rpc :List, AccountGrantListRequest, AccountGrantListResponse
|
38
|
+
rpc :List, ::V1::AccountGrantListRequest, ::V1::AccountGrantListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Accounts"
|
32
32
|
|
33
33
|
# Create registers a new Account.
|
34
|
-
rpc :Create, AccountCreateRequest, AccountCreateResponse
|
34
|
+
rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
|
35
35
|
# Get reads one Account by ID.
|
36
|
-
rpc :Get, AccountGetRequest, AccountGetResponse
|
36
|
+
rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
|
37
37
|
# Update patches a Account by ID.
|
38
|
-
rpc :Update, AccountUpdateRequest, AccountUpdateResponse
|
38
|
+
rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
|
39
39
|
# Delete removes a Account by ID.
|
40
|
-
rpc :Delete, AccountDeleteRequest, AccountDeleteResponse
|
40
|
+
rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
|
41
41
|
# List gets a list of Accounts matching a given set of criteria.
|
42
|
-
rpc :List, AccountListRequest, AccountListResponse
|
42
|
+
rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
@@ -29,9 +29,9 @@ module V1
|
|
29
29
|
self.service_name = "v1.ControlPanel"
|
30
30
|
|
31
31
|
# GetSSHCAPublicKey retrieves the SSH CA public key.
|
32
|
-
rpc :GetSSHCAPublicKey, ControlPanelGetSSHCAPublicKeyRequest, ControlPanelGetSSHCAPublicKeyResponse
|
32
|
+
rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
|
33
33
|
# VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
|
34
|
-
rpc :VerifyJWT, ControlPanelVerifyJWTRequest, ControlPanelVerifyJWTResponse
|
34
|
+
rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
|
35
35
|
end
|
36
36
|
|
37
37
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -23,6 +23,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
23
|
add_file("drivers.proto", :syntax => :proto3) do
|
24
24
|
add_message "v1.Resource" do
|
25
25
|
oneof :resource do
|
26
|
+
optional :rabbit_mqamqp_091, :message, 2500, "v1.RabbitMQAMQP091"
|
27
|
+
optional :amazon_mqamqp_091, :message, 2501, "v1.AmazonMQAMQP091"
|
26
28
|
optional :athena, :message, 100, "v1.Athena"
|
27
29
|
optional :aws, :message, 2300, "v1.AWS"
|
28
30
|
optional :big_query, :message, 200, "v1.BigQuery"
|
@@ -81,6 +83,34 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
81
83
|
optional :teradata, :message, 2100, "v1.Teradata"
|
82
84
|
end
|
83
85
|
end
|
86
|
+
add_message "v1.RabbitMQAMQP091" do
|
87
|
+
optional :id, :string, 32768
|
88
|
+
optional :name, :string, 32769
|
89
|
+
optional :healthy, :bool, 32770
|
90
|
+
optional :tags, :message, 32771, "v1.Tags"
|
91
|
+
optional :secret_store_id, :string, 32772
|
92
|
+
optional :egress_filter, :string, 32773
|
93
|
+
optional :hostname, :string, 1
|
94
|
+
optional :port_override, :int32, 2
|
95
|
+
optional :port, :int32, 3
|
96
|
+
optional :username, :string, 4
|
97
|
+
optional :password, :string, 5
|
98
|
+
optional :tls_required, :bool, 8
|
99
|
+
end
|
100
|
+
add_message "v1.AmazonMQAMQP091" do
|
101
|
+
optional :id, :string, 32768
|
102
|
+
optional :name, :string, 32769
|
103
|
+
optional :healthy, :bool, 32770
|
104
|
+
optional :tags, :message, 32771, "v1.Tags"
|
105
|
+
optional :secret_store_id, :string, 32772
|
106
|
+
optional :egress_filter, :string, 32773
|
107
|
+
optional :hostname, :string, 1
|
108
|
+
optional :port_override, :int32, 2
|
109
|
+
optional :port, :int32, 3
|
110
|
+
optional :username, :string, 4
|
111
|
+
optional :password, :string, 5
|
112
|
+
optional :tls_required, :bool, 8
|
113
|
+
end
|
84
114
|
add_message "v1.Athena" do
|
85
115
|
optional :id, :string, 32768
|
86
116
|
optional :name, :string, 32769
|
@@ -870,6 +900,8 @@ end
|
|
870
900
|
|
871
901
|
module V1
|
872
902
|
Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Resource").msgclass
|
903
|
+
RabbitMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RabbitMQAMQP091").msgclass
|
904
|
+
AmazonMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonMQAMQP091").msgclass
|
873
905
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
874
906
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
875
907
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Nodes"
|
32
32
|
|
33
33
|
# Create registers a new Node.
|
34
|
-
rpc :Create, NodeCreateRequest, NodeCreateResponse
|
34
|
+
rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
|
35
35
|
# Get reads one Node by ID.
|
36
|
-
rpc :Get, NodeGetRequest, NodeGetResponse
|
36
|
+
rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
|
37
37
|
# Update patches a Node by ID.
|
38
|
-
rpc :Update, NodeUpdateRequest, NodeUpdateResponse
|
38
|
+
rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
|
39
39
|
# Delete removes a Node by ID.
|
40
|
-
rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
|
40
|
+
rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
|
41
41
|
# List gets a list of Nodes matching a given set of criteria.
|
42
|
-
rpc :List, NodeListRequest, NodeListResponse
|
42
|
+
rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
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
|
@@ -1135,6 +1141,12 @@ module SDM
|
|
1135
1141
|
if plumbing == nil
|
1136
1142
|
return nil
|
1137
1143
|
end
|
1144
|
+
if plumbing.rabbit_mqamqp_091 != nil
|
1145
|
+
return convert_rabbit_mqamqp_091_to_porcelain(plumbing.rabbit_mqamqp_091)
|
1146
|
+
end
|
1147
|
+
if plumbing.amazon_mqamqp_091 != nil
|
1148
|
+
return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
|
1149
|
+
end
|
1138
1150
|
if plumbing.athena != nil
|
1139
1151
|
return convert_athena_to_porcelain(plumbing.athena)
|
1140
1152
|
end
|
@@ -1321,6 +1333,118 @@ module SDM
|
|
1321
1333
|
end
|
1322
1334
|
items
|
1323
1335
|
end
|
1336
|
+
def self.convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1337
|
+
if plumbing == nil
|
1338
|
+
return nil
|
1339
|
+
end
|
1340
|
+
porcelain = RabbitMQAMQP091.new()
|
1341
|
+
porcelain.id = (plumbing.id)
|
1342
|
+
porcelain.name = (plumbing.name)
|
1343
|
+
porcelain.healthy = (plumbing.healthy)
|
1344
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1345
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1346
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1347
|
+
porcelain.hostname = (plumbing.hostname)
|
1348
|
+
porcelain.port_override = (plumbing.port_override)
|
1349
|
+
porcelain.port = (plumbing.port)
|
1350
|
+
porcelain.username = (plumbing.username)
|
1351
|
+
porcelain.password = (plumbing.password)
|
1352
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1353
|
+
porcelain
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
def self.convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1357
|
+
if porcelain == nil
|
1358
|
+
return nil
|
1359
|
+
end
|
1360
|
+
plumbing = V1::RabbitMQAMQP091.new()
|
1361
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1362
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1363
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1364
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1365
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1366
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1367
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1368
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1369
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1370
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1371
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1372
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1373
|
+
plumbing
|
1374
|
+
end
|
1375
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_plumbing(porcelains)
|
1376
|
+
items = Array.new
|
1377
|
+
porcelains.each do |porcelain|
|
1378
|
+
plumbing = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
|
1379
|
+
items.append(plumbing)
|
1380
|
+
end
|
1381
|
+
items
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
def self.convert_repeated_rabbit_mqamqp_091_to_porcelain(plumbings)
|
1385
|
+
items = Array.new
|
1386
|
+
plumbings.each do |plumbing|
|
1387
|
+
porcelain = convert_rabbit_mqamqp_091_to_porcelain(plumbing)
|
1388
|
+
items.append(porcelain)
|
1389
|
+
end
|
1390
|
+
items
|
1391
|
+
end
|
1392
|
+
def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1393
|
+
if plumbing == nil
|
1394
|
+
return nil
|
1395
|
+
end
|
1396
|
+
porcelain = AmazonMQAMQP091.new()
|
1397
|
+
porcelain.id = (plumbing.id)
|
1398
|
+
porcelain.name = (plumbing.name)
|
1399
|
+
porcelain.healthy = (plumbing.healthy)
|
1400
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1401
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1402
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
1403
|
+
porcelain.hostname = (plumbing.hostname)
|
1404
|
+
porcelain.port_override = (plumbing.port_override)
|
1405
|
+
porcelain.port = (plumbing.port)
|
1406
|
+
porcelain.username = (plumbing.username)
|
1407
|
+
porcelain.password = (plumbing.password)
|
1408
|
+
porcelain.tls_required = (plumbing.tls_required)
|
1409
|
+
porcelain
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1413
|
+
if porcelain == nil
|
1414
|
+
return nil
|
1415
|
+
end
|
1416
|
+
plumbing = V1::AmazonMQAMQP091.new()
|
1417
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1418
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1419
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1420
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1421
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1422
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
1423
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1424
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1425
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1426
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1427
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
1428
|
+
plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
|
1429
|
+
plumbing
|
1430
|
+
end
|
1431
|
+
def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
|
1432
|
+
items = Array.new
|
1433
|
+
porcelains.each do |porcelain|
|
1434
|
+
plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
1435
|
+
items.append(plumbing)
|
1436
|
+
end
|
1437
|
+
items
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
|
1441
|
+
items = Array.new
|
1442
|
+
plumbings.each do |plumbing|
|
1443
|
+
porcelain = convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
1444
|
+
items.append(porcelain)
|
1445
|
+
end
|
1446
|
+
items
|
1447
|
+
end
|
1324
1448
|
def self.convert_athena_to_porcelain(plumbing)
|
1325
1449
|
if plumbing == nil
|
1326
1450
|
return nil
|
@@ -28,17 +28,17 @@ module V1
|
|
28
28
|
self.service_name = "v1.Resources"
|
29
29
|
|
30
30
|
# EnumerateTags gets a list of the filter matching tags.
|
31
|
-
rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
|
31
|
+
rpc :EnumerateTags, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
|
32
32
|
# Create registers a new Resource.
|
33
|
-
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
33
|
+
rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
|
34
34
|
# Get reads one Resource by ID.
|
35
|
-
rpc :Get, ResourceGetRequest, ResourceGetResponse
|
35
|
+
rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
|
36
36
|
# Update patches a Resource by ID.
|
37
|
-
rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
|
37
|
+
rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
|
38
38
|
# Delete removes a Resource by ID.
|
39
|
-
rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
|
39
|
+
rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
|
40
40
|
# List gets a list of Resources matching a given set of criteria.
|
41
|
-
rpc :List, ResourceListRequest, ResourceListResponse
|
41
|
+
rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleAttachments"
|
33
33
|
|
34
34
|
# Create registers a new RoleAttachment.
|
35
|
-
rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
|
35
|
+
rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
|
36
36
|
# Get reads one RoleAttachment by ID.
|
37
|
-
rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
|
37
|
+
rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
|
38
38
|
# Delete removes a RoleAttachment by ID.
|
39
|
-
rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
|
39
|
+
rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
|
40
40
|
# List gets a list of RoleAttachments matching a given set of criteria.
|
41
|
-
rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
|
41
|
+
rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleGrants"
|
33
33
|
|
34
34
|
# Create registers a new RoleGrant.
|
35
|
-
rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
|
35
|
+
rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
|
36
36
|
# Get reads one RoleGrant by ID.
|
37
|
-
rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
|
37
|
+
rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
|
38
38
|
# Delete removes a RoleGrant by ID.
|
39
|
-
rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
|
39
|
+
rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
|
40
40
|
# List gets a list of RoleGrants matching a given set of criteria.
|
41
|
-
rpc :List, RoleGrantListRequest, RoleGrantListResponse
|
41
|
+
rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -33,15 +33,15 @@ module V1
|
|
33
33
|
self.service_name = "v1.Roles"
|
34
34
|
|
35
35
|
# Create registers a new Role.
|
36
|
-
rpc :Create, RoleCreateRequest, RoleCreateResponse
|
36
|
+
rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
|
37
37
|
# Get reads one Role by ID.
|
38
|
-
rpc :Get, RoleGetRequest, RoleGetResponse
|
38
|
+
rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
|
39
39
|
# Update patches a Role by ID.
|
40
|
-
rpc :Update, RoleUpdateRequest, RoleUpdateResponse
|
40
|
+
rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
|
41
41
|
# Delete removes a Role by ID.
|
42
|
-
rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
|
42
|
+
rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
|
43
43
|
# List gets a list of Roles matching a given set of criteria.
|
44
|
-
rpc :List, RoleListRequest, RoleListResponse
|
44
|
+
rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
|
45
45
|
end
|
46
46
|
|
47
47
|
Stub = Service.rpc_stub_class
|
@@ -28,15 +28,15 @@ module V1
|
|
28
28
|
self.unmarshal_class_method = :decode
|
29
29
|
self.service_name = "v1.SecretStores"
|
30
30
|
|
31
|
-
rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
|
31
|
+
rpc :Create, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
|
32
32
|
# Get reads one SecretStore by ID.
|
33
|
-
rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
|
33
|
+
rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
|
34
34
|
# Update patches a SecretStore by ID.
|
35
|
-
rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
|
35
|
+
rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
|
36
36
|
# Delete removes a SecretStore by ID.
|
37
|
-
rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
|
37
|
+
rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
|
38
38
|
# List gets a list of SecretStores matching a given set of criteria.
|
39
|
-
rpc :List, SecretStoreListRequest, SecretStoreListResponse
|
39
|
+
rpc :List, ::V1::SecretStoreListRequest, ::V1::SecretStoreListResponse
|
40
40
|
end
|
41
41
|
|
42
42
|
Stub = Service.rpc_stub_class
|
data/lib/models/porcelain.rb
CHANGED
@@ -717,6 +717,180 @@ module SDM
|
|
717
717
|
end
|
718
718
|
end
|
719
719
|
|
720
|
+
class RabbitMQAMQP091
|
721
|
+
# Unique identifier of the Resource.
|
722
|
+
attr_accessor :id
|
723
|
+
# Unique human-readable name of the Resource.
|
724
|
+
attr_accessor :name
|
725
|
+
# True if the datasource is reachable and the credentials are valid.
|
726
|
+
attr_accessor :healthy
|
727
|
+
# Tags is a map of key, value pairs.
|
728
|
+
attr_accessor :tags
|
729
|
+
# ID of the secret store containing credentials for this resource, if any.
|
730
|
+
attr_accessor :secret_store_id
|
731
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
732
|
+
attr_accessor :egress_filter
|
733
|
+
|
734
|
+
attr_accessor :hostname
|
735
|
+
|
736
|
+
attr_accessor :port_override
|
737
|
+
|
738
|
+
attr_accessor :port
|
739
|
+
|
740
|
+
attr_accessor :username
|
741
|
+
|
742
|
+
attr_accessor :password
|
743
|
+
|
744
|
+
attr_accessor :tls_required
|
745
|
+
|
746
|
+
def initialize(
|
747
|
+
id: nil,
|
748
|
+
name: nil,
|
749
|
+
healthy: nil,
|
750
|
+
tags: nil,
|
751
|
+
secret_store_id: nil,
|
752
|
+
egress_filter: nil,
|
753
|
+
hostname: nil,
|
754
|
+
port_override: nil,
|
755
|
+
port: nil,
|
756
|
+
username: nil,
|
757
|
+
password: nil,
|
758
|
+
tls_required: nil
|
759
|
+
)
|
760
|
+
if id != nil
|
761
|
+
@id = id
|
762
|
+
end
|
763
|
+
if name != nil
|
764
|
+
@name = name
|
765
|
+
end
|
766
|
+
if healthy != nil
|
767
|
+
@healthy = healthy
|
768
|
+
end
|
769
|
+
if tags != nil
|
770
|
+
@tags = tags
|
771
|
+
end
|
772
|
+
if secret_store_id != nil
|
773
|
+
@secret_store_id = secret_store_id
|
774
|
+
end
|
775
|
+
if egress_filter != nil
|
776
|
+
@egress_filter = egress_filter
|
777
|
+
end
|
778
|
+
if hostname != nil
|
779
|
+
@hostname = hostname
|
780
|
+
end
|
781
|
+
if port_override != nil
|
782
|
+
@port_override = port_override
|
783
|
+
end
|
784
|
+
if port != nil
|
785
|
+
@port = port
|
786
|
+
end
|
787
|
+
if username != nil
|
788
|
+
@username = username
|
789
|
+
end
|
790
|
+
if password != nil
|
791
|
+
@password = password
|
792
|
+
end
|
793
|
+
if tls_required != nil
|
794
|
+
@tls_required = tls_required
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
def to_json(options = {})
|
799
|
+
hash = {}
|
800
|
+
self.instance_variables.each do |var|
|
801
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
802
|
+
end
|
803
|
+
hash.to_json
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
807
|
+
class AmazonMQAMQP091
|
808
|
+
# Unique identifier of the Resource.
|
809
|
+
attr_accessor :id
|
810
|
+
# Unique human-readable name of the Resource.
|
811
|
+
attr_accessor :name
|
812
|
+
# True if the datasource is reachable and the credentials are valid.
|
813
|
+
attr_accessor :healthy
|
814
|
+
# Tags is a map of key, value pairs.
|
815
|
+
attr_accessor :tags
|
816
|
+
# ID of the secret store containing credentials for this resource, if any.
|
817
|
+
attr_accessor :secret_store_id
|
818
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
819
|
+
attr_accessor :egress_filter
|
820
|
+
|
821
|
+
attr_accessor :hostname
|
822
|
+
|
823
|
+
attr_accessor :port_override
|
824
|
+
|
825
|
+
attr_accessor :port
|
826
|
+
|
827
|
+
attr_accessor :username
|
828
|
+
|
829
|
+
attr_accessor :password
|
830
|
+
|
831
|
+
attr_accessor :tls_required
|
832
|
+
|
833
|
+
def initialize(
|
834
|
+
id: nil,
|
835
|
+
name: nil,
|
836
|
+
healthy: nil,
|
837
|
+
tags: nil,
|
838
|
+
secret_store_id: nil,
|
839
|
+
egress_filter: nil,
|
840
|
+
hostname: nil,
|
841
|
+
port_override: nil,
|
842
|
+
port: nil,
|
843
|
+
username: nil,
|
844
|
+
password: nil,
|
845
|
+
tls_required: nil
|
846
|
+
)
|
847
|
+
if id != nil
|
848
|
+
@id = id
|
849
|
+
end
|
850
|
+
if name != nil
|
851
|
+
@name = name
|
852
|
+
end
|
853
|
+
if healthy != nil
|
854
|
+
@healthy = healthy
|
855
|
+
end
|
856
|
+
if tags != nil
|
857
|
+
@tags = tags
|
858
|
+
end
|
859
|
+
if secret_store_id != nil
|
860
|
+
@secret_store_id = secret_store_id
|
861
|
+
end
|
862
|
+
if egress_filter != nil
|
863
|
+
@egress_filter = egress_filter
|
864
|
+
end
|
865
|
+
if hostname != nil
|
866
|
+
@hostname = hostname
|
867
|
+
end
|
868
|
+
if port_override != nil
|
869
|
+
@port_override = port_override
|
870
|
+
end
|
871
|
+
if port != nil
|
872
|
+
@port = port
|
873
|
+
end
|
874
|
+
if username != nil
|
875
|
+
@username = username
|
876
|
+
end
|
877
|
+
if password != nil
|
878
|
+
@password = password
|
879
|
+
end
|
880
|
+
if tls_required != nil
|
881
|
+
@tls_required = tls_required
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
def to_json(options = {})
|
886
|
+
hash = {}
|
887
|
+
self.instance_variables.each do |var|
|
888
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
889
|
+
end
|
890
|
+
hash.to_json
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
720
894
|
class Athena
|
721
895
|
# Unique identifier of the Resource.
|
722
896
|
attr_accessor :id
|