strongdm 12.2.0 → 12.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-ef9dc4ce84a064593bf88fefdf54ae14432b0437.idx → pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.idx} +0 -0
- data/.git/objects/pack/{pack-ef9dc4ce84a064593bf88fefdf54ae14432b0437.pack → pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/access_requests_pb.rb +1 -0
- data/lib/grpc/drivers_pb.rb +92 -0
- data/lib/grpc/plumbing.rb +334 -0
- data/lib/models/porcelain.rb +364 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +5 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '07199e1b7bb9b40137b7c9ad89a7746d118c112e6ceca3b5aabd6f70b792bd30'
|
4
|
+
data.tar.gz: 5400e07a163dc5b838d69484706e46d467462049992220f5aa32a5784bd3f590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dd28e7777b35e09904b50fe44c818b6c9661e75efeb1a01fae8e456c04b385c57c139d3fb1eefad53a3332841d454145f3f5999f20eab80aa7814091ff9b097
|
7
|
+
data.tar.gz: 6f4e00dbfdb27a3c11c3429cc9b32d1d90956229234f3431a47c174450048273bb314cbf418cacd84ecc7beb811d418c133e4e2a3a3f5ce86567d1b4ad9d9f2f
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
d2362ed882a935fc6d6a52abace4e581be82507d
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2362ed882a935fc6d6a52abace4e581be82507d d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 checkout: moving from master to master
|
3
|
+
d2362ed882a935fc6d6a52abace4e581be82507d 2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 root <root@5ef11d88e21e.(none)> 1737558914 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2362ed882a935fc6d6a52abace4e581be82507d 2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 root <root@5ef11d88e21e.(none)> 1737558914 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 refs/remotes/origin/development
|
3
|
+
d2362ed882a935fc6d6a52abace4e581be82507d refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -60,6 +60,8 @@ cc3ff44b177b0c33bfbd0b0b9d76dc9679d871fd refs/tags/v11.7.0
|
|
60
60
|
867fdf37a506e4ee5726e06b65a2517413077d23 refs/tags/v11.9.0
|
61
61
|
dea63eda193578749a7430e674f939e5f452a50b refs/tags/v12.0.0
|
62
62
|
62153b27115243969f8f6048b9496f7801efb619 refs/tags/v12.1.0
|
63
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 refs/tags/v12.2.0
|
64
|
+
d2362ed882a935fc6d6a52abace4e581be82507d refs/tags/v12.4.0
|
63
65
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
64
66
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
65
67
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9
|
data/lib/constants.rb
CHANGED
@@ -270,6 +270,7 @@ module SDM
|
|
270
270
|
IDENTITY_ALIAS_PROVISIONING_DISABLED = "identity alias provisioning disabled"
|
271
271
|
ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource"
|
272
272
|
ACCESS_REQUEST_TO_RESOURCE_APPROVAL_ADDED = "access request to resource approval added"
|
273
|
+
ACCESS_REQUEST_TO_RESOURCE_STEP_SKIPPED = "access request to resource step skipped"
|
273
274
|
ACCESS_REQUEST_TO_RESOURCE_CANCELED = "access request to resource canceled"
|
274
275
|
ACCESS_REQUEST_TO_RESOURCE_DENIED = "access request to resource denied"
|
275
276
|
ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out"
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -52,6 +52,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
52
52
|
optional :big_query, :message, 200, "v1.BigQuery"
|
53
53
|
optional :cassandra, :message, 300, "v1.Cassandra"
|
54
54
|
optional :citus, :message, 1305, "v1.Citus"
|
55
|
+
optional :click_house_http, :message, 5, "v1.ClickHouseHTTP"
|
56
|
+
optional :click_house_my_sql, :message, 1108, "v1.ClickHouseMySQL"
|
57
|
+
optional :click_house_tcp, :message, 6, "v1.ClickHouseTCP"
|
55
58
|
optional :clustrix, :message, 1102, "v1.Clustrix"
|
56
59
|
optional :cockroach, :message, 1303, "v1.Cockroach"
|
57
60
|
optional :couchbase_database, :message, 3201, "v1.CouchbaseDatabase"
|
@@ -59,9 +62,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
62
|
optional :db_2_i, :message, 2400, "v1.DB2I"
|
60
63
|
optional :db_2_luw, :message, 2200, "v1.DB2LUW"
|
61
64
|
optional :document_db_host, :message, 1052, "v1.DocumentDBHost"
|
65
|
+
optional :document_db_host_iam, :message, 1055, "v1.DocumentDBHostIAM"
|
62
66
|
optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
|
63
67
|
optional :druid, :message, 400, "v1.Druid"
|
64
68
|
optional :dynamo_db, :message, 500, "v1.DynamoDB"
|
69
|
+
optional :dynamo_dbiam, :message, 501, "v1.DynamoDBIAM"
|
65
70
|
optional :elastic, :message, 601, "v1.Elastic"
|
66
71
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
67
72
|
optional :gcp, :message, 2700, "v1.GCP"
|
@@ -638,6 +643,57 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
638
643
|
optional :port_override, :int32, 5
|
639
644
|
optional :username, :string, 2
|
640
645
|
end
|
646
|
+
add_message "v1.ClickHouseHTTP" do
|
647
|
+
optional :id, :string, 32768
|
648
|
+
optional :name, :string, 32769
|
649
|
+
optional :healthy, :bool, 32770
|
650
|
+
optional :tags, :message, 32771, "v1.Tags"
|
651
|
+
optional :secret_store_id, :string, 32772
|
652
|
+
optional :egress_filter, :string, 32773
|
653
|
+
optional :bind_interface, :string, 32774
|
654
|
+
optional :proxy_cluster_id, :string, 32776
|
655
|
+
optional :database, :string, 5
|
656
|
+
optional :password, :string, 3
|
657
|
+
optional :port_override, :int32, 4
|
658
|
+
optional :url, :string, 1
|
659
|
+
optional :username, :string, 2
|
660
|
+
end
|
661
|
+
add_message "v1.ClickHouseMySQL" do
|
662
|
+
optional :id, :string, 32768
|
663
|
+
optional :name, :string, 32769
|
664
|
+
optional :healthy, :bool, 32770
|
665
|
+
optional :tags, :message, 32771, "v1.Tags"
|
666
|
+
optional :secret_store_id, :string, 32772
|
667
|
+
optional :egress_filter, :string, 32773
|
668
|
+
optional :bind_interface, :string, 32774
|
669
|
+
optional :proxy_cluster_id, :string, 32776
|
670
|
+
optional :subdomain, :string, 32775
|
671
|
+
optional :database, :string, 4
|
672
|
+
optional :hostname, :string, 1
|
673
|
+
optional :password, :string, 3
|
674
|
+
optional :port, :int32, 6
|
675
|
+
optional :port_override, :int32, 5
|
676
|
+
optional :require_native_auth, :bool, 7
|
677
|
+
optional :username, :string, 2
|
678
|
+
end
|
679
|
+
add_message "v1.ClickHouseTCP" do
|
680
|
+
optional :id, :string, 32768
|
681
|
+
optional :name, :string, 32769
|
682
|
+
optional :healthy, :bool, 32770
|
683
|
+
optional :tags, :message, 32771, "v1.Tags"
|
684
|
+
optional :secret_store_id, :string, 32772
|
685
|
+
optional :egress_filter, :string, 32773
|
686
|
+
optional :bind_interface, :string, 32774
|
687
|
+
optional :proxy_cluster_id, :string, 32776
|
688
|
+
optional :subdomain, :string, 32775
|
689
|
+
optional :database, :string, 7
|
690
|
+
optional :hostname, :string, 1
|
691
|
+
optional :password, :string, 3
|
692
|
+
optional :port, :int32, 5
|
693
|
+
optional :port_override, :int32, 4
|
694
|
+
optional :tls_required, :bool, 6
|
695
|
+
optional :username, :string, 2
|
696
|
+
end
|
641
697
|
add_message "v1.Clustrix" do
|
642
698
|
optional :id, :string, 32768
|
643
699
|
optional :name, :string, 32769
|
@@ -759,6 +815,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
759
815
|
optional :port_override, :int32, 3
|
760
816
|
optional :username, :string, 4
|
761
817
|
end
|
818
|
+
add_message "v1.DocumentDBHostIAM" do
|
819
|
+
optional :id, :string, 32768
|
820
|
+
optional :name, :string, 32769
|
821
|
+
optional :healthy, :bool, 32770
|
822
|
+
optional :tags, :message, 32771, "v1.Tags"
|
823
|
+
optional :secret_store_id, :string, 32772
|
824
|
+
optional :egress_filter, :string, 32773
|
825
|
+
optional :bind_interface, :string, 32774
|
826
|
+
optional :proxy_cluster_id, :string, 32776
|
827
|
+
optional :subdomain, :string, 32775
|
828
|
+
optional :hostname, :string, 1
|
829
|
+
optional :port, :int32, 6
|
830
|
+
optional :port_override, :int32, 3
|
831
|
+
optional :region, :string, 9
|
832
|
+
end
|
762
833
|
add_message "v1.DocumentDBReplicaSet" do
|
763
834
|
optional :id, :string, 32768
|
764
835
|
optional :name, :string, 32769
|
@@ -811,6 +882,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
811
882
|
optional :role_external_id, :string, 7
|
812
883
|
optional :secret_access_key, :string, 2
|
813
884
|
end
|
885
|
+
add_message "v1.DynamoDBIAM" do
|
886
|
+
optional :id, :string, 32768
|
887
|
+
optional :name, :string, 32769
|
888
|
+
optional :healthy, :bool, 32770
|
889
|
+
optional :tags, :message, 32771, "v1.Tags"
|
890
|
+
optional :secret_store_id, :string, 32772
|
891
|
+
optional :egress_filter, :string, 32773
|
892
|
+
optional :bind_interface, :string, 32774
|
893
|
+
optional :proxy_cluster_id, :string, 32776
|
894
|
+
optional :subdomain, :string, 32775
|
895
|
+
optional :endpoint, :string, 2
|
896
|
+
optional :port_override, :int32, 3
|
897
|
+
optional :region, :string, 1
|
898
|
+
optional :role_arn, :string, 4
|
899
|
+
optional :role_external_id, :string, 5
|
900
|
+
end
|
814
901
|
add_message "v1.Elastic" do
|
815
902
|
optional :id, :string, 32768
|
816
903
|
optional :name, :string, 32769
|
@@ -1800,6 +1887,9 @@ module V1
|
|
1800
1887
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
1801
1888
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
1802
1889
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
1890
|
+
ClickHouseHTTP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseHTTP").msgclass
|
1891
|
+
ClickHouseMySQL = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseMySQL").msgclass
|
1892
|
+
ClickHouseTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseTCP").msgclass
|
1803
1893
|
Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
|
1804
1894
|
Cockroach = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cockroach").msgclass
|
1805
1895
|
CouchbaseDatabase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CouchbaseDatabase").msgclass
|
@@ -1807,9 +1897,11 @@ module V1
|
|
1807
1897
|
DB2I = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2I").msgclass
|
1808
1898
|
DB2LUW = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2LUW").msgclass
|
1809
1899
|
DocumentDBHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHost").msgclass
|
1900
|
+
DocumentDBHostIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHostIAM").msgclass
|
1810
1901
|
DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
|
1811
1902
|
Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
|
1812
1903
|
DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
|
1904
|
+
DynamoDBIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDBIAM").msgclass
|
1813
1905
|
Elastic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Elastic").msgclass
|
1814
1906
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
1815
1907
|
GCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCP").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -4088,6 +4088,192 @@ module SDM
|
|
4088
4088
|
end
|
4089
4089
|
items
|
4090
4090
|
end
|
4091
|
+
def self.convert_click_house_http_to_porcelain(plumbing)
|
4092
|
+
if plumbing == nil
|
4093
|
+
return nil
|
4094
|
+
end
|
4095
|
+
porcelain = ClickHouseHTTP.new()
|
4096
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
4097
|
+
porcelain.database = (plumbing.database)
|
4098
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4099
|
+
porcelain.healthy = (plumbing.healthy)
|
4100
|
+
porcelain.id = (plumbing.id)
|
4101
|
+
porcelain.name = (plumbing.name)
|
4102
|
+
porcelain.password = (plumbing.password)
|
4103
|
+
porcelain.port_override = (plumbing.port_override)
|
4104
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
4105
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4106
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4107
|
+
porcelain.url = (plumbing.url)
|
4108
|
+
porcelain.username = (plumbing.username)
|
4109
|
+
porcelain
|
4110
|
+
end
|
4111
|
+
|
4112
|
+
def self.convert_click_house_http_to_plumbing(porcelain)
|
4113
|
+
if porcelain == nil
|
4114
|
+
return nil
|
4115
|
+
end
|
4116
|
+
plumbing = V1::ClickHouseHTTP.new()
|
4117
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
4118
|
+
plumbing.database = (porcelain.database)
|
4119
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
4120
|
+
plumbing.healthy = (porcelain.healthy)
|
4121
|
+
plumbing.id = (porcelain.id)
|
4122
|
+
plumbing.name = (porcelain.name)
|
4123
|
+
plumbing.password = (porcelain.password)
|
4124
|
+
plumbing.port_override = (porcelain.port_override)
|
4125
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
4126
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4127
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4128
|
+
plumbing.url = (porcelain.url)
|
4129
|
+
plumbing.username = (porcelain.username)
|
4130
|
+
plumbing
|
4131
|
+
end
|
4132
|
+
def self.convert_repeated_click_house_http_to_plumbing(porcelains)
|
4133
|
+
items = Array.new
|
4134
|
+
porcelains.each do |porcelain|
|
4135
|
+
plumbing = convert_click_house_http_to_plumbing(porcelain)
|
4136
|
+
items.append(plumbing)
|
4137
|
+
end
|
4138
|
+
items
|
4139
|
+
end
|
4140
|
+
|
4141
|
+
def self.convert_repeated_click_house_http_to_porcelain(plumbings)
|
4142
|
+
items = Array.new
|
4143
|
+
plumbings.each do |plumbing|
|
4144
|
+
porcelain = convert_click_house_http_to_porcelain(plumbing)
|
4145
|
+
items.append(porcelain)
|
4146
|
+
end
|
4147
|
+
items
|
4148
|
+
end
|
4149
|
+
def self.convert_click_house_my_sql_to_porcelain(plumbing)
|
4150
|
+
if plumbing == nil
|
4151
|
+
return nil
|
4152
|
+
end
|
4153
|
+
porcelain = ClickHouseMySQL.new()
|
4154
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
4155
|
+
porcelain.database = (plumbing.database)
|
4156
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4157
|
+
porcelain.healthy = (plumbing.healthy)
|
4158
|
+
porcelain.hostname = (plumbing.hostname)
|
4159
|
+
porcelain.id = (plumbing.id)
|
4160
|
+
porcelain.name = (plumbing.name)
|
4161
|
+
porcelain.password = (plumbing.password)
|
4162
|
+
porcelain.port = (plumbing.port)
|
4163
|
+
porcelain.port_override = (plumbing.port_override)
|
4164
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
4165
|
+
porcelain.require_native_auth = (plumbing.require_native_auth)
|
4166
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4167
|
+
porcelain.subdomain = (plumbing.subdomain)
|
4168
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4169
|
+
porcelain.username = (plumbing.username)
|
4170
|
+
porcelain
|
4171
|
+
end
|
4172
|
+
|
4173
|
+
def self.convert_click_house_my_sql_to_plumbing(porcelain)
|
4174
|
+
if porcelain == nil
|
4175
|
+
return nil
|
4176
|
+
end
|
4177
|
+
plumbing = V1::ClickHouseMySQL.new()
|
4178
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
4179
|
+
plumbing.database = (porcelain.database)
|
4180
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
4181
|
+
plumbing.healthy = (porcelain.healthy)
|
4182
|
+
plumbing.hostname = (porcelain.hostname)
|
4183
|
+
plumbing.id = (porcelain.id)
|
4184
|
+
plumbing.name = (porcelain.name)
|
4185
|
+
plumbing.password = (porcelain.password)
|
4186
|
+
plumbing.port = (porcelain.port)
|
4187
|
+
plumbing.port_override = (porcelain.port_override)
|
4188
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
4189
|
+
plumbing.require_native_auth = (porcelain.require_native_auth)
|
4190
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4191
|
+
plumbing.subdomain = (porcelain.subdomain)
|
4192
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4193
|
+
plumbing.username = (porcelain.username)
|
4194
|
+
plumbing
|
4195
|
+
end
|
4196
|
+
def self.convert_repeated_click_house_my_sql_to_plumbing(porcelains)
|
4197
|
+
items = Array.new
|
4198
|
+
porcelains.each do |porcelain|
|
4199
|
+
plumbing = convert_click_house_my_sql_to_plumbing(porcelain)
|
4200
|
+
items.append(plumbing)
|
4201
|
+
end
|
4202
|
+
items
|
4203
|
+
end
|
4204
|
+
|
4205
|
+
def self.convert_repeated_click_house_my_sql_to_porcelain(plumbings)
|
4206
|
+
items = Array.new
|
4207
|
+
plumbings.each do |plumbing|
|
4208
|
+
porcelain = convert_click_house_my_sql_to_porcelain(plumbing)
|
4209
|
+
items.append(porcelain)
|
4210
|
+
end
|
4211
|
+
items
|
4212
|
+
end
|
4213
|
+
def self.convert_click_house_tcp_to_porcelain(plumbing)
|
4214
|
+
if plumbing == nil
|
4215
|
+
return nil
|
4216
|
+
end
|
4217
|
+
porcelain = ClickHouseTCP.new()
|
4218
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
4219
|
+
porcelain.database = (plumbing.database)
|
4220
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
4221
|
+
porcelain.healthy = (plumbing.healthy)
|
4222
|
+
porcelain.hostname = (plumbing.hostname)
|
4223
|
+
porcelain.id = (plumbing.id)
|
4224
|
+
porcelain.name = (plumbing.name)
|
4225
|
+
porcelain.password = (plumbing.password)
|
4226
|
+
porcelain.port = (plumbing.port)
|
4227
|
+
porcelain.port_override = (plumbing.port_override)
|
4228
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
4229
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
4230
|
+
porcelain.subdomain = (plumbing.subdomain)
|
4231
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4232
|
+
porcelain.tls_required = (plumbing.tls_required)
|
4233
|
+
porcelain.username = (plumbing.username)
|
4234
|
+
porcelain
|
4235
|
+
end
|
4236
|
+
|
4237
|
+
def self.convert_click_house_tcp_to_plumbing(porcelain)
|
4238
|
+
if porcelain == nil
|
4239
|
+
return nil
|
4240
|
+
end
|
4241
|
+
plumbing = V1::ClickHouseTCP.new()
|
4242
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
4243
|
+
plumbing.database = (porcelain.database)
|
4244
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
4245
|
+
plumbing.healthy = (porcelain.healthy)
|
4246
|
+
plumbing.hostname = (porcelain.hostname)
|
4247
|
+
plumbing.id = (porcelain.id)
|
4248
|
+
plumbing.name = (porcelain.name)
|
4249
|
+
plumbing.password = (porcelain.password)
|
4250
|
+
plumbing.port = (porcelain.port)
|
4251
|
+
plumbing.port_override = (porcelain.port_override)
|
4252
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
4253
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
4254
|
+
plumbing.subdomain = (porcelain.subdomain)
|
4255
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
4256
|
+
plumbing.tls_required = (porcelain.tls_required)
|
4257
|
+
plumbing.username = (porcelain.username)
|
4258
|
+
plumbing
|
4259
|
+
end
|
4260
|
+
def self.convert_repeated_click_house_tcp_to_plumbing(porcelains)
|
4261
|
+
items = Array.new
|
4262
|
+
porcelains.each do |porcelain|
|
4263
|
+
plumbing = convert_click_house_tcp_to_plumbing(porcelain)
|
4264
|
+
items.append(plumbing)
|
4265
|
+
end
|
4266
|
+
items
|
4267
|
+
end
|
4268
|
+
|
4269
|
+
def self.convert_repeated_click_house_tcp_to_porcelain(plumbings)
|
4270
|
+
items = Array.new
|
4271
|
+
plumbings.each do |plumbing|
|
4272
|
+
porcelain = convert_click_house_tcp_to_porcelain(plumbing)
|
4273
|
+
items.append(porcelain)
|
4274
|
+
end
|
4275
|
+
items
|
4276
|
+
end
|
4091
4277
|
def self.convert_clustrix_to_porcelain(plumbing)
|
4092
4278
|
if plumbing == nil
|
4093
4279
|
return nil
|
@@ -4866,6 +5052,64 @@ module SDM
|
|
4866
5052
|
end
|
4867
5053
|
items
|
4868
5054
|
end
|
5055
|
+
def self.convert_document_db_host_iam_to_porcelain(plumbing)
|
5056
|
+
if plumbing == nil
|
5057
|
+
return nil
|
5058
|
+
end
|
5059
|
+
porcelain = DocumentDBHostIAM.new()
|
5060
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5061
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5062
|
+
porcelain.healthy = (plumbing.healthy)
|
5063
|
+
porcelain.hostname = (plumbing.hostname)
|
5064
|
+
porcelain.id = (plumbing.id)
|
5065
|
+
porcelain.name = (plumbing.name)
|
5066
|
+
porcelain.port = (plumbing.port)
|
5067
|
+
porcelain.port_override = (plumbing.port_override)
|
5068
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5069
|
+
porcelain.region = (plumbing.region)
|
5070
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5071
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5072
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5073
|
+
porcelain
|
5074
|
+
end
|
5075
|
+
|
5076
|
+
def self.convert_document_db_host_iam_to_plumbing(porcelain)
|
5077
|
+
if porcelain == nil
|
5078
|
+
return nil
|
5079
|
+
end
|
5080
|
+
plumbing = V1::DocumentDBHostIAM.new()
|
5081
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5082
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5083
|
+
plumbing.healthy = (porcelain.healthy)
|
5084
|
+
plumbing.hostname = (porcelain.hostname)
|
5085
|
+
plumbing.id = (porcelain.id)
|
5086
|
+
plumbing.name = (porcelain.name)
|
5087
|
+
plumbing.port = (porcelain.port)
|
5088
|
+
plumbing.port_override = (porcelain.port_override)
|
5089
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5090
|
+
plumbing.region = (porcelain.region)
|
5091
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5092
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5093
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5094
|
+
plumbing
|
5095
|
+
end
|
5096
|
+
def self.convert_repeated_document_db_host_iam_to_plumbing(porcelains)
|
5097
|
+
items = Array.new
|
5098
|
+
porcelains.each do |porcelain|
|
5099
|
+
plumbing = convert_document_db_host_iam_to_plumbing(porcelain)
|
5100
|
+
items.append(plumbing)
|
5101
|
+
end
|
5102
|
+
items
|
5103
|
+
end
|
5104
|
+
|
5105
|
+
def self.convert_repeated_document_db_host_iam_to_porcelain(plumbings)
|
5106
|
+
items = Array.new
|
5107
|
+
plumbings.each do |plumbing|
|
5108
|
+
porcelain = convert_document_db_host_iam_to_porcelain(plumbing)
|
5109
|
+
items.append(porcelain)
|
5110
|
+
end
|
5111
|
+
items
|
5112
|
+
end
|
4869
5113
|
def self.convert_document_db_replica_set_to_porcelain(plumbing)
|
4870
5114
|
if plumbing == nil
|
4871
5115
|
return nil
|
@@ -5054,6 +5298,66 @@ module SDM
|
|
5054
5298
|
end
|
5055
5299
|
items
|
5056
5300
|
end
|
5301
|
+
def self.convert_dynamo_dbiam_to_porcelain(plumbing)
|
5302
|
+
if plumbing == nil
|
5303
|
+
return nil
|
5304
|
+
end
|
5305
|
+
porcelain = DynamoDBIAM.new()
|
5306
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5307
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5308
|
+
porcelain.endpoint = (plumbing.endpoint)
|
5309
|
+
porcelain.healthy = (plumbing.healthy)
|
5310
|
+
porcelain.id = (plumbing.id)
|
5311
|
+
porcelain.name = (plumbing.name)
|
5312
|
+
porcelain.port_override = (plumbing.port_override)
|
5313
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5314
|
+
porcelain.region = (plumbing.region)
|
5315
|
+
porcelain.role_arn = (plumbing.role_arn)
|
5316
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
5317
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5318
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5319
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5320
|
+
porcelain
|
5321
|
+
end
|
5322
|
+
|
5323
|
+
def self.convert_dynamo_dbiam_to_plumbing(porcelain)
|
5324
|
+
if porcelain == nil
|
5325
|
+
return nil
|
5326
|
+
end
|
5327
|
+
plumbing = V1::DynamoDBIAM.new()
|
5328
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5329
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5330
|
+
plumbing.endpoint = (porcelain.endpoint)
|
5331
|
+
plumbing.healthy = (porcelain.healthy)
|
5332
|
+
plumbing.id = (porcelain.id)
|
5333
|
+
plumbing.name = (porcelain.name)
|
5334
|
+
plumbing.port_override = (porcelain.port_override)
|
5335
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5336
|
+
plumbing.region = (porcelain.region)
|
5337
|
+
plumbing.role_arn = (porcelain.role_arn)
|
5338
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
5339
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5340
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5341
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5342
|
+
plumbing
|
5343
|
+
end
|
5344
|
+
def self.convert_repeated_dynamo_dbiam_to_plumbing(porcelains)
|
5345
|
+
items = Array.new
|
5346
|
+
porcelains.each do |porcelain|
|
5347
|
+
plumbing = convert_dynamo_dbiam_to_plumbing(porcelain)
|
5348
|
+
items.append(plumbing)
|
5349
|
+
end
|
5350
|
+
items
|
5351
|
+
end
|
5352
|
+
|
5353
|
+
def self.convert_repeated_dynamo_dbiam_to_porcelain(plumbings)
|
5354
|
+
items = Array.new
|
5355
|
+
plumbings.each do |plumbing|
|
5356
|
+
porcelain = convert_dynamo_dbiam_to_porcelain(plumbing)
|
5357
|
+
items.append(porcelain)
|
5358
|
+
end
|
5359
|
+
items
|
5360
|
+
end
|
5057
5361
|
def self.convert_elastic_to_porcelain(plumbing)
|
5058
5362
|
if plumbing == nil
|
5059
5363
|
return nil
|
@@ -10654,6 +10958,15 @@ module SDM
|
|
10654
10958
|
if porcelain.instance_of? Citus
|
10655
10959
|
plumbing.citus = convert_citus_to_plumbing(porcelain)
|
10656
10960
|
end
|
10961
|
+
if porcelain.instance_of? ClickHouseHTTP
|
10962
|
+
plumbing.click_house_http = convert_click_house_http_to_plumbing(porcelain)
|
10963
|
+
end
|
10964
|
+
if porcelain.instance_of? ClickHouseMySQL
|
10965
|
+
plumbing.click_house_my_sql = convert_click_house_my_sql_to_plumbing(porcelain)
|
10966
|
+
end
|
10967
|
+
if porcelain.instance_of? ClickHouseTCP
|
10968
|
+
plumbing.click_house_tcp = convert_click_house_tcp_to_plumbing(porcelain)
|
10969
|
+
end
|
10657
10970
|
if porcelain.instance_of? Clustrix
|
10658
10971
|
plumbing.clustrix = convert_clustrix_to_plumbing(porcelain)
|
10659
10972
|
end
|
@@ -10675,6 +10988,9 @@ module SDM
|
|
10675
10988
|
if porcelain.instance_of? DocumentDBHost
|
10676
10989
|
plumbing.document_db_host = convert_document_db_host_to_plumbing(porcelain)
|
10677
10990
|
end
|
10991
|
+
if porcelain.instance_of? DocumentDBHostIAM
|
10992
|
+
plumbing.document_db_host_iam = convert_document_db_host_iam_to_plumbing(porcelain)
|
10993
|
+
end
|
10678
10994
|
if porcelain.instance_of? DocumentDBReplicaSet
|
10679
10995
|
plumbing.document_db_replica_set = convert_document_db_replica_set_to_plumbing(porcelain)
|
10680
10996
|
end
|
@@ -10684,6 +11000,9 @@ module SDM
|
|
10684
11000
|
if porcelain.instance_of? DynamoDB
|
10685
11001
|
plumbing.dynamo_db = convert_dynamo_db_to_plumbing(porcelain)
|
10686
11002
|
end
|
11003
|
+
if porcelain.instance_of? DynamoDBIAM
|
11004
|
+
plumbing.dynamo_dbiam = convert_dynamo_dbiam_to_plumbing(porcelain)
|
11005
|
+
end
|
10687
11006
|
if porcelain.instance_of? Elastic
|
10688
11007
|
plumbing.elastic = convert_elastic_to_plumbing(porcelain)
|
10689
11008
|
end
|
@@ -10934,6 +11253,15 @@ module SDM
|
|
10934
11253
|
if plumbing.citus != nil
|
10935
11254
|
return convert_citus_to_porcelain(plumbing.citus)
|
10936
11255
|
end
|
11256
|
+
if plumbing.click_house_http != nil
|
11257
|
+
return convert_click_house_http_to_porcelain(plumbing.click_house_http)
|
11258
|
+
end
|
11259
|
+
if plumbing.click_house_my_sql != nil
|
11260
|
+
return convert_click_house_my_sql_to_porcelain(plumbing.click_house_my_sql)
|
11261
|
+
end
|
11262
|
+
if plumbing.click_house_tcp != nil
|
11263
|
+
return convert_click_house_tcp_to_porcelain(plumbing.click_house_tcp)
|
11264
|
+
end
|
10937
11265
|
if plumbing.clustrix != nil
|
10938
11266
|
return convert_clustrix_to_porcelain(plumbing.clustrix)
|
10939
11267
|
end
|
@@ -10955,6 +11283,9 @@ module SDM
|
|
10955
11283
|
if plumbing.document_db_host != nil
|
10956
11284
|
return convert_document_db_host_to_porcelain(plumbing.document_db_host)
|
10957
11285
|
end
|
11286
|
+
if plumbing.document_db_host_iam != nil
|
11287
|
+
return convert_document_db_host_iam_to_porcelain(plumbing.document_db_host_iam)
|
11288
|
+
end
|
10958
11289
|
if plumbing.document_db_replica_set != nil
|
10959
11290
|
return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
|
10960
11291
|
end
|
@@ -10964,6 +11295,9 @@ module SDM
|
|
10964
11295
|
if plumbing.dynamo_db != nil
|
10965
11296
|
return convert_dynamo_db_to_porcelain(plumbing.dynamo_db)
|
10966
11297
|
end
|
11298
|
+
if plumbing.dynamo_dbiam != nil
|
11299
|
+
return convert_dynamo_dbiam_to_porcelain(plumbing.dynamo_dbiam)
|
11300
|
+
end
|
10967
11301
|
if plumbing.elastic != nil
|
10968
11302
|
return convert_elastic_to_porcelain(plumbing.elastic)
|
10969
11303
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -3940,6 +3940,231 @@ module SDM
|
|
3940
3940
|
end
|
3941
3941
|
end
|
3942
3942
|
|
3943
|
+
class ClickHouseHTTP
|
3944
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
3945
|
+
attr_accessor :bind_interface
|
3946
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
3947
|
+
attr_accessor :database
|
3948
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3949
|
+
attr_accessor :egress_filter
|
3950
|
+
# True if the datasource is reachable and the credentials are valid.
|
3951
|
+
attr_accessor :healthy
|
3952
|
+
# Unique identifier of the Resource.
|
3953
|
+
attr_accessor :id
|
3954
|
+
# Unique human-readable name of the Resource.
|
3955
|
+
attr_accessor :name
|
3956
|
+
# The password to authenticate with.
|
3957
|
+
attr_accessor :password
|
3958
|
+
# The local port used by clients to connect to this resource.
|
3959
|
+
attr_accessor :port_override
|
3960
|
+
# ID of the proxy cluster for this resource, if any.
|
3961
|
+
attr_accessor :proxy_cluster_id
|
3962
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3963
|
+
attr_accessor :secret_store_id
|
3964
|
+
# Tags is a map of key, value pairs.
|
3965
|
+
attr_accessor :tags
|
3966
|
+
# The URL to dial to initiate a connection from the egress node to this resource.
|
3967
|
+
attr_accessor :url
|
3968
|
+
# The username to authenticate with.
|
3969
|
+
attr_accessor :username
|
3970
|
+
|
3971
|
+
def initialize(
|
3972
|
+
bind_interface: nil,
|
3973
|
+
database: nil,
|
3974
|
+
egress_filter: nil,
|
3975
|
+
healthy: nil,
|
3976
|
+
id: nil,
|
3977
|
+
name: nil,
|
3978
|
+
password: nil,
|
3979
|
+
port_override: nil,
|
3980
|
+
proxy_cluster_id: nil,
|
3981
|
+
secret_store_id: nil,
|
3982
|
+
tags: nil,
|
3983
|
+
url: nil,
|
3984
|
+
username: nil
|
3985
|
+
)
|
3986
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
3987
|
+
@database = database == nil ? "" : database
|
3988
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3989
|
+
@healthy = healthy == nil ? false : healthy
|
3990
|
+
@id = id == nil ? "" : id
|
3991
|
+
@name = name == nil ? "" : name
|
3992
|
+
@password = password == nil ? "" : password
|
3993
|
+
@port_override = port_override == nil ? 0 : port_override
|
3994
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
3995
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3996
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3997
|
+
@url = url == nil ? "" : url
|
3998
|
+
@username = username == nil ? "" : username
|
3999
|
+
end
|
4000
|
+
|
4001
|
+
def to_json(options = {})
|
4002
|
+
hash = {}
|
4003
|
+
self.instance_variables.each do |var|
|
4004
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4005
|
+
end
|
4006
|
+
hash.to_json
|
4007
|
+
end
|
4008
|
+
end
|
4009
|
+
|
4010
|
+
class ClickHouseMySQL
|
4011
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
4012
|
+
attr_accessor :bind_interface
|
4013
|
+
# The database for healthchecks. Does not affect client requests.
|
4014
|
+
attr_accessor :database
|
4015
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4016
|
+
attr_accessor :egress_filter
|
4017
|
+
# True if the datasource is reachable and the credentials are valid.
|
4018
|
+
attr_accessor :healthy
|
4019
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
4020
|
+
attr_accessor :hostname
|
4021
|
+
# Unique identifier of the Resource.
|
4022
|
+
attr_accessor :id
|
4023
|
+
# Unique human-readable name of the Resource.
|
4024
|
+
attr_accessor :name
|
4025
|
+
# The password to authenticate with.
|
4026
|
+
attr_accessor :password
|
4027
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
4028
|
+
attr_accessor :port
|
4029
|
+
# The local port used by clients to connect to this resource.
|
4030
|
+
attr_accessor :port_override
|
4031
|
+
# ID of the proxy cluster for this resource, if any.
|
4032
|
+
attr_accessor :proxy_cluster_id
|
4033
|
+
# Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
|
4034
|
+
attr_accessor :require_native_auth
|
4035
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4036
|
+
attr_accessor :secret_store_id
|
4037
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
4038
|
+
attr_accessor :subdomain
|
4039
|
+
# Tags is a map of key, value pairs.
|
4040
|
+
attr_accessor :tags
|
4041
|
+
# The username to authenticate with.
|
4042
|
+
attr_accessor :username
|
4043
|
+
|
4044
|
+
def initialize(
|
4045
|
+
bind_interface: nil,
|
4046
|
+
database: nil,
|
4047
|
+
egress_filter: nil,
|
4048
|
+
healthy: nil,
|
4049
|
+
hostname: nil,
|
4050
|
+
id: nil,
|
4051
|
+
name: nil,
|
4052
|
+
password: nil,
|
4053
|
+
port: nil,
|
4054
|
+
port_override: nil,
|
4055
|
+
proxy_cluster_id: nil,
|
4056
|
+
require_native_auth: nil,
|
4057
|
+
secret_store_id: nil,
|
4058
|
+
subdomain: nil,
|
4059
|
+
tags: nil,
|
4060
|
+
username: nil
|
4061
|
+
)
|
4062
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
4063
|
+
@database = database == nil ? "" : database
|
4064
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4065
|
+
@healthy = healthy == nil ? false : healthy
|
4066
|
+
@hostname = hostname == nil ? "" : hostname
|
4067
|
+
@id = id == nil ? "" : id
|
4068
|
+
@name = name == nil ? "" : name
|
4069
|
+
@password = password == nil ? "" : password
|
4070
|
+
@port = port == nil ? 0 : port
|
4071
|
+
@port_override = port_override == nil ? 0 : port_override
|
4072
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
4073
|
+
@require_native_auth = require_native_auth == nil ? false : require_native_auth
|
4074
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4075
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
4076
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4077
|
+
@username = username == nil ? "" : username
|
4078
|
+
end
|
4079
|
+
|
4080
|
+
def to_json(options = {})
|
4081
|
+
hash = {}
|
4082
|
+
self.instance_variables.each do |var|
|
4083
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4084
|
+
end
|
4085
|
+
hash.to_json
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
4089
|
+
class ClickHouseTCP
|
4090
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
4091
|
+
attr_accessor :bind_interface
|
4092
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
4093
|
+
attr_accessor :database
|
4094
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4095
|
+
attr_accessor :egress_filter
|
4096
|
+
# True if the datasource is reachable and the credentials are valid.
|
4097
|
+
attr_accessor :healthy
|
4098
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
4099
|
+
attr_accessor :hostname
|
4100
|
+
# Unique identifier of the Resource.
|
4101
|
+
attr_accessor :id
|
4102
|
+
# Unique human-readable name of the Resource.
|
4103
|
+
attr_accessor :name
|
4104
|
+
# The password to authenticate with.
|
4105
|
+
attr_accessor :password
|
4106
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
4107
|
+
attr_accessor :port
|
4108
|
+
# The local port used by clients to connect to this resource.
|
4109
|
+
attr_accessor :port_override
|
4110
|
+
# ID of the proxy cluster for this resource, if any.
|
4111
|
+
attr_accessor :proxy_cluster_id
|
4112
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4113
|
+
attr_accessor :secret_store_id
|
4114
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
4115
|
+
attr_accessor :subdomain
|
4116
|
+
# Tags is a map of key, value pairs.
|
4117
|
+
attr_accessor :tags
|
4118
|
+
# If set, TLS must be used to connect to this resource.
|
4119
|
+
attr_accessor :tls_required
|
4120
|
+
# The username to authenticate with.
|
4121
|
+
attr_accessor :username
|
4122
|
+
|
4123
|
+
def initialize(
|
4124
|
+
bind_interface: nil,
|
4125
|
+
database: nil,
|
4126
|
+
egress_filter: nil,
|
4127
|
+
healthy: nil,
|
4128
|
+
hostname: nil,
|
4129
|
+
id: nil,
|
4130
|
+
name: nil,
|
4131
|
+
password: nil,
|
4132
|
+
port: nil,
|
4133
|
+
port_override: nil,
|
4134
|
+
proxy_cluster_id: nil,
|
4135
|
+
secret_store_id: nil,
|
4136
|
+
subdomain: nil,
|
4137
|
+
tags: nil,
|
4138
|
+
tls_required: nil,
|
4139
|
+
username: nil
|
4140
|
+
)
|
4141
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
4142
|
+
@database = database == nil ? "" : database
|
4143
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4144
|
+
@healthy = healthy == nil ? false : healthy
|
4145
|
+
@hostname = hostname == nil ? "" : hostname
|
4146
|
+
@id = id == nil ? "" : id
|
4147
|
+
@name = name == nil ? "" : name
|
4148
|
+
@password = password == nil ? "" : password
|
4149
|
+
@port = port == nil ? 0 : port
|
4150
|
+
@port_override = port_override == nil ? 0 : port_override
|
4151
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
4152
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4153
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
4154
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4155
|
+
@tls_required = tls_required == nil ? false : tls_required
|
4156
|
+
@username = username == nil ? "" : username
|
4157
|
+
end
|
4158
|
+
|
4159
|
+
def to_json(options = {})
|
4160
|
+
hash = {}
|
4161
|
+
self.instance_variables.each do |var|
|
4162
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4163
|
+
end
|
4164
|
+
hash.to_json
|
4165
|
+
end
|
4166
|
+
end
|
4167
|
+
|
3943
4168
|
class Clustrix
|
3944
4169
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
3945
4170
|
attr_accessor :bind_interface
|
@@ -4718,6 +4943,73 @@ module SDM
|
|
4718
4943
|
end
|
4719
4944
|
end
|
4720
4945
|
|
4946
|
+
class DocumentDBHostIAM
|
4947
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
4948
|
+
attr_accessor :bind_interface
|
4949
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4950
|
+
attr_accessor :egress_filter
|
4951
|
+
# True if the datasource is reachable and the credentials are valid.
|
4952
|
+
attr_accessor :healthy
|
4953
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
4954
|
+
attr_accessor :hostname
|
4955
|
+
# Unique identifier of the Resource.
|
4956
|
+
attr_accessor :id
|
4957
|
+
# Unique human-readable name of the Resource.
|
4958
|
+
attr_accessor :name
|
4959
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
4960
|
+
attr_accessor :port
|
4961
|
+
# The local port used by clients to connect to this resource.
|
4962
|
+
attr_accessor :port_override
|
4963
|
+
# ID of the proxy cluster for this resource, if any.
|
4964
|
+
attr_accessor :proxy_cluster_id
|
4965
|
+
# The AWS region to connect to.
|
4966
|
+
attr_accessor :region
|
4967
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4968
|
+
attr_accessor :secret_store_id
|
4969
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
4970
|
+
attr_accessor :subdomain
|
4971
|
+
# Tags is a map of key, value pairs.
|
4972
|
+
attr_accessor :tags
|
4973
|
+
|
4974
|
+
def initialize(
|
4975
|
+
bind_interface: nil,
|
4976
|
+
egress_filter: nil,
|
4977
|
+
healthy: nil,
|
4978
|
+
hostname: nil,
|
4979
|
+
id: nil,
|
4980
|
+
name: nil,
|
4981
|
+
port: nil,
|
4982
|
+
port_override: nil,
|
4983
|
+
proxy_cluster_id: nil,
|
4984
|
+
region: nil,
|
4985
|
+
secret_store_id: nil,
|
4986
|
+
subdomain: nil,
|
4987
|
+
tags: nil
|
4988
|
+
)
|
4989
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
4990
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4991
|
+
@healthy = healthy == nil ? false : healthy
|
4992
|
+
@hostname = hostname == nil ? "" : hostname
|
4993
|
+
@id = id == nil ? "" : id
|
4994
|
+
@name = name == nil ? "" : name
|
4995
|
+
@port = port == nil ? 0 : port
|
4996
|
+
@port_override = port_override == nil ? 0 : port_override
|
4997
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
4998
|
+
@region = region == nil ? "" : region
|
4999
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5000
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5001
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5002
|
+
end
|
5003
|
+
|
5004
|
+
def to_json(options = {})
|
5005
|
+
hash = {}
|
5006
|
+
self.instance_variables.each do |var|
|
5007
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5008
|
+
end
|
5009
|
+
hash.to_json
|
5010
|
+
end
|
5011
|
+
end
|
5012
|
+
|
4721
5013
|
class DocumentDBReplicaSet
|
4722
5014
|
# The authentication database to use.
|
4723
5015
|
attr_accessor :auth_database
|
@@ -4947,6 +5239,78 @@ module SDM
|
|
4947
5239
|
end
|
4948
5240
|
end
|
4949
5241
|
|
5242
|
+
# DynamoDBIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5243
|
+
class DynamoDBIAM
|
5244
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
5245
|
+
attr_accessor :bind_interface
|
5246
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5247
|
+
attr_accessor :egress_filter
|
5248
|
+
# The endpoint to dial e.g. dynamodb.region.amazonaws.com
|
5249
|
+
attr_accessor :endpoint
|
5250
|
+
# True if the datasource is reachable and the credentials are valid.
|
5251
|
+
attr_accessor :healthy
|
5252
|
+
# Unique identifier of the Resource.
|
5253
|
+
attr_accessor :id
|
5254
|
+
# Unique human-readable name of the Resource.
|
5255
|
+
attr_accessor :name
|
5256
|
+
# The local port used by clients to connect to this resource.
|
5257
|
+
attr_accessor :port_override
|
5258
|
+
# ID of the proxy cluster for this resource, if any.
|
5259
|
+
attr_accessor :proxy_cluster_id
|
5260
|
+
# The region to authenticate requests against e.g. us-east-1
|
5261
|
+
attr_accessor :region
|
5262
|
+
# The role to assume after logging in.
|
5263
|
+
attr_accessor :role_arn
|
5264
|
+
# The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
|
5265
|
+
attr_accessor :role_external_id
|
5266
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5267
|
+
attr_accessor :secret_store_id
|
5268
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
5269
|
+
attr_accessor :subdomain
|
5270
|
+
# Tags is a map of key, value pairs.
|
5271
|
+
attr_accessor :tags
|
5272
|
+
|
5273
|
+
def initialize(
|
5274
|
+
bind_interface: nil,
|
5275
|
+
egress_filter: nil,
|
5276
|
+
endpoint: nil,
|
5277
|
+
healthy: nil,
|
5278
|
+
id: nil,
|
5279
|
+
name: nil,
|
5280
|
+
port_override: nil,
|
5281
|
+
proxy_cluster_id: nil,
|
5282
|
+
region: nil,
|
5283
|
+
role_arn: nil,
|
5284
|
+
role_external_id: nil,
|
5285
|
+
secret_store_id: nil,
|
5286
|
+
subdomain: nil,
|
5287
|
+
tags: nil
|
5288
|
+
)
|
5289
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5290
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5291
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
5292
|
+
@healthy = healthy == nil ? false : healthy
|
5293
|
+
@id = id == nil ? "" : id
|
5294
|
+
@name = name == nil ? "" : name
|
5295
|
+
@port_override = port_override == nil ? 0 : port_override
|
5296
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5297
|
+
@region = region == nil ? "" : region
|
5298
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
5299
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
5300
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5301
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5302
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5303
|
+
end
|
5304
|
+
|
5305
|
+
def to_json(options = {})
|
5306
|
+
hash = {}
|
5307
|
+
self.instance_variables.each do |var|
|
5308
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5309
|
+
end
|
5310
|
+
hash.to_json
|
5311
|
+
end
|
5312
|
+
end
|
5313
|
+
|
4950
5314
|
class Elastic
|
4951
5315
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
4952
5316
|
attr_accessor :bind_interface
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/12.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/12.5.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
@@ -4660,6 +4660,9 @@ module SDM #:nodoc:
|
|
4660
4660
|
# {BigQuery}
|
4661
4661
|
# {Cassandra}
|
4662
4662
|
# {Citus}
|
4663
|
+
# {ClickHouseHTTP}
|
4664
|
+
# {ClickHouseMySQL}
|
4665
|
+
# {ClickHouseTCP}
|
4663
4666
|
# {Clustrix}
|
4664
4667
|
# {Cockroach}
|
4665
4668
|
# {CouchbaseDatabase}
|
@@ -4667,9 +4670,11 @@ module SDM #:nodoc:
|
|
4667
4670
|
# {DB2I}
|
4668
4671
|
# {DB2LUW}
|
4669
4672
|
# {DocumentDBHost}
|
4673
|
+
# {DocumentDBHostIAM}
|
4670
4674
|
# {DocumentDBReplicaSet}
|
4671
4675
|
# {Druid}
|
4672
4676
|
# {DynamoDB}
|
4677
|
+
# {DynamoDBIAM}
|
4673
4678
|
# {Elastic}
|
4674
4679
|
# {ElasticacheRedis}
|
4675
4680
|
# {GCP}
|
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.idx"
|
85
|
+
- "./.git/objects/pack/pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|