strongdm 12.2.0 → 12.4.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-1c92771f0f53485130580cf88687c2cc0df52839.idx} +0 -0
- data/.git/objects/pack/{pack-ef9dc4ce84a064593bf88fefdf54ae14432b0437.pack → pack-1c92771f0f53485130580cf88687c2cc0df52839.pack} +0 -0
- data/.git/packed-refs +3 -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 +75 -0
- data/lib/grpc/plumbing.rb +270 -0
- data/lib/models/porcelain.rb +297 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +4 -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: ba37073b32a548737ad220b4e063e64bd0313f97ae66f61612aa54667c8ee3a8
|
4
|
+
data.tar.gz: 836483a214f626a6e1c76c6bcd205a30e2f004e7f7c3df4218c0ed81e55204cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68e56dbef0033d939e511423cfcf63f442071bd939b8bae1de3ccf0431ab607a0ee1a4682c4f567b89c358a19e164c06384683f62db7c286bc58a3bf0421b65d
|
7
|
+
data.tar.gz: b67b914a7b94e4bdc9813f91a7d7fcb836c49252995c2281554523402693b19025fe4a90eba4bd9aadf77128368cf6381f3a7a7da36c0babdf5d37205ea1f5d3
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@58f98b1dc125.(none)> 1737095170 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@58f98b1dc125.(none)> 1737095170 +0000 checkout: moving from master to master
|
3
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 d2362ed882a935fc6d6a52abace4e581be82507d root <root@58f98b1dc125.(none)> 1737095170 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@58f98b1dc125.(none)> 1737095170 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 d2362ed882a935fc6d6a52abace4e581be82507d root <root@58f98b1dc125.(none)> 1737095170 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 root <root@58f98b1dc125.(none)> 1737095170 +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
|
+
d2362ed882a935fc6d6a52abace4e581be82507d refs/remotes/origin/development
|
3
|
+
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 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,7 @@ 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
|
63
64
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
64
65
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
65
66
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
d2362ed882a935fc6d6a52abace4e581be82507d
|
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"
|
@@ -62,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
65
|
optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
|
63
66
|
optional :druid, :message, 400, "v1.Druid"
|
64
67
|
optional :dynamo_db, :message, 500, "v1.DynamoDB"
|
68
|
+
optional :dynamo_dbiam, :message, 501, "v1.DynamoDBIAM"
|
65
69
|
optional :elastic, :message, 601, "v1.Elastic"
|
66
70
|
optional :elasticache_redis, :message, 1601, "v1.ElasticacheRedis"
|
67
71
|
optional :gcp, :message, 2700, "v1.GCP"
|
@@ -638,6 +642,57 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
638
642
|
optional :port_override, :int32, 5
|
639
643
|
optional :username, :string, 2
|
640
644
|
end
|
645
|
+
add_message "v1.ClickHouseHTTP" do
|
646
|
+
optional :id, :string, 32768
|
647
|
+
optional :name, :string, 32769
|
648
|
+
optional :healthy, :bool, 32770
|
649
|
+
optional :tags, :message, 32771, "v1.Tags"
|
650
|
+
optional :secret_store_id, :string, 32772
|
651
|
+
optional :egress_filter, :string, 32773
|
652
|
+
optional :bind_interface, :string, 32774
|
653
|
+
optional :proxy_cluster_id, :string, 32776
|
654
|
+
optional :database, :string, 5
|
655
|
+
optional :password, :string, 3
|
656
|
+
optional :port_override, :int32, 4
|
657
|
+
optional :url, :string, 1
|
658
|
+
optional :username, :string, 2
|
659
|
+
end
|
660
|
+
add_message "v1.ClickHouseMySQL" do
|
661
|
+
optional :id, :string, 32768
|
662
|
+
optional :name, :string, 32769
|
663
|
+
optional :healthy, :bool, 32770
|
664
|
+
optional :tags, :message, 32771, "v1.Tags"
|
665
|
+
optional :secret_store_id, :string, 32772
|
666
|
+
optional :egress_filter, :string, 32773
|
667
|
+
optional :bind_interface, :string, 32774
|
668
|
+
optional :proxy_cluster_id, :string, 32776
|
669
|
+
optional :subdomain, :string, 32775
|
670
|
+
optional :database, :string, 4
|
671
|
+
optional :hostname, :string, 1
|
672
|
+
optional :password, :string, 3
|
673
|
+
optional :port, :int32, 6
|
674
|
+
optional :port_override, :int32, 5
|
675
|
+
optional :require_native_auth, :bool, 7
|
676
|
+
optional :username, :string, 2
|
677
|
+
end
|
678
|
+
add_message "v1.ClickHouseTCP" do
|
679
|
+
optional :id, :string, 32768
|
680
|
+
optional :name, :string, 32769
|
681
|
+
optional :healthy, :bool, 32770
|
682
|
+
optional :tags, :message, 32771, "v1.Tags"
|
683
|
+
optional :secret_store_id, :string, 32772
|
684
|
+
optional :egress_filter, :string, 32773
|
685
|
+
optional :bind_interface, :string, 32774
|
686
|
+
optional :proxy_cluster_id, :string, 32776
|
687
|
+
optional :subdomain, :string, 32775
|
688
|
+
optional :database, :string, 7
|
689
|
+
optional :hostname, :string, 1
|
690
|
+
optional :password, :string, 3
|
691
|
+
optional :port, :int32, 5
|
692
|
+
optional :port_override, :int32, 4
|
693
|
+
optional :tls_required, :bool, 6
|
694
|
+
optional :username, :string, 2
|
695
|
+
end
|
641
696
|
add_message "v1.Clustrix" do
|
642
697
|
optional :id, :string, 32768
|
643
698
|
optional :name, :string, 32769
|
@@ -811,6 +866,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
811
866
|
optional :role_external_id, :string, 7
|
812
867
|
optional :secret_access_key, :string, 2
|
813
868
|
end
|
869
|
+
add_message "v1.DynamoDBIAM" do
|
870
|
+
optional :id, :string, 32768
|
871
|
+
optional :name, :string, 32769
|
872
|
+
optional :healthy, :bool, 32770
|
873
|
+
optional :tags, :message, 32771, "v1.Tags"
|
874
|
+
optional :secret_store_id, :string, 32772
|
875
|
+
optional :egress_filter, :string, 32773
|
876
|
+
optional :bind_interface, :string, 32774
|
877
|
+
optional :proxy_cluster_id, :string, 32776
|
878
|
+
optional :subdomain, :string, 32775
|
879
|
+
optional :endpoint, :string, 2
|
880
|
+
optional :port_override, :int32, 3
|
881
|
+
optional :region, :string, 1
|
882
|
+
optional :role_arn, :string, 4
|
883
|
+
optional :role_external_id, :string, 5
|
884
|
+
end
|
814
885
|
add_message "v1.Elastic" do
|
815
886
|
optional :id, :string, 32768
|
816
887
|
optional :name, :string, 32769
|
@@ -1800,6 +1871,9 @@ module V1
|
|
1800
1871
|
BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BigQuery").msgclass
|
1801
1872
|
Cassandra = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cassandra").msgclass
|
1802
1873
|
Citus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Citus").msgclass
|
1874
|
+
ClickHouseHTTP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseHTTP").msgclass
|
1875
|
+
ClickHouseMySQL = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseMySQL").msgclass
|
1876
|
+
ClickHouseTCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ClickHouseTCP").msgclass
|
1803
1877
|
Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
|
1804
1878
|
Cockroach = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cockroach").msgclass
|
1805
1879
|
CouchbaseDatabase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CouchbaseDatabase").msgclass
|
@@ -1810,6 +1884,7 @@ module V1
|
|
1810
1884
|
DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
|
1811
1885
|
Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
|
1812
1886
|
DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
|
1887
|
+
DynamoDBIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDBIAM").msgclass
|
1813
1888
|
Elastic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Elastic").msgclass
|
1814
1889
|
ElasticacheRedis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ElasticacheRedis").msgclass
|
1815
1890
|
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
|
@@ -5054,6 +5240,66 @@ module SDM
|
|
5054
5240
|
end
|
5055
5241
|
items
|
5056
5242
|
end
|
5243
|
+
def self.convert_dynamo_dbiam_to_porcelain(plumbing)
|
5244
|
+
if plumbing == nil
|
5245
|
+
return nil
|
5246
|
+
end
|
5247
|
+
porcelain = DynamoDBIAM.new()
|
5248
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5249
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5250
|
+
porcelain.endpoint = (plumbing.endpoint)
|
5251
|
+
porcelain.healthy = (plumbing.healthy)
|
5252
|
+
porcelain.id = (plumbing.id)
|
5253
|
+
porcelain.name = (plumbing.name)
|
5254
|
+
porcelain.port_override = (plumbing.port_override)
|
5255
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5256
|
+
porcelain.region = (plumbing.region)
|
5257
|
+
porcelain.role_arn = (plumbing.role_arn)
|
5258
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
5259
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5260
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5261
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5262
|
+
porcelain
|
5263
|
+
end
|
5264
|
+
|
5265
|
+
def self.convert_dynamo_dbiam_to_plumbing(porcelain)
|
5266
|
+
if porcelain == nil
|
5267
|
+
return nil
|
5268
|
+
end
|
5269
|
+
plumbing = V1::DynamoDBIAM.new()
|
5270
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5271
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5272
|
+
plumbing.endpoint = (porcelain.endpoint)
|
5273
|
+
plumbing.healthy = (porcelain.healthy)
|
5274
|
+
plumbing.id = (porcelain.id)
|
5275
|
+
plumbing.name = (porcelain.name)
|
5276
|
+
plumbing.port_override = (porcelain.port_override)
|
5277
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5278
|
+
plumbing.region = (porcelain.region)
|
5279
|
+
plumbing.role_arn = (porcelain.role_arn)
|
5280
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
5281
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5282
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5283
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5284
|
+
plumbing
|
5285
|
+
end
|
5286
|
+
def self.convert_repeated_dynamo_dbiam_to_plumbing(porcelains)
|
5287
|
+
items = Array.new
|
5288
|
+
porcelains.each do |porcelain|
|
5289
|
+
plumbing = convert_dynamo_dbiam_to_plumbing(porcelain)
|
5290
|
+
items.append(plumbing)
|
5291
|
+
end
|
5292
|
+
items
|
5293
|
+
end
|
5294
|
+
|
5295
|
+
def self.convert_repeated_dynamo_dbiam_to_porcelain(plumbings)
|
5296
|
+
items = Array.new
|
5297
|
+
plumbings.each do |plumbing|
|
5298
|
+
porcelain = convert_dynamo_dbiam_to_porcelain(plumbing)
|
5299
|
+
items.append(porcelain)
|
5300
|
+
end
|
5301
|
+
items
|
5302
|
+
end
|
5057
5303
|
def self.convert_elastic_to_porcelain(plumbing)
|
5058
5304
|
if plumbing == nil
|
5059
5305
|
return nil
|
@@ -10654,6 +10900,15 @@ module SDM
|
|
10654
10900
|
if porcelain.instance_of? Citus
|
10655
10901
|
plumbing.citus = convert_citus_to_plumbing(porcelain)
|
10656
10902
|
end
|
10903
|
+
if porcelain.instance_of? ClickHouseHTTP
|
10904
|
+
plumbing.click_house_http = convert_click_house_http_to_plumbing(porcelain)
|
10905
|
+
end
|
10906
|
+
if porcelain.instance_of? ClickHouseMySQL
|
10907
|
+
plumbing.click_house_my_sql = convert_click_house_my_sql_to_plumbing(porcelain)
|
10908
|
+
end
|
10909
|
+
if porcelain.instance_of? ClickHouseTCP
|
10910
|
+
plumbing.click_house_tcp = convert_click_house_tcp_to_plumbing(porcelain)
|
10911
|
+
end
|
10657
10912
|
if porcelain.instance_of? Clustrix
|
10658
10913
|
plumbing.clustrix = convert_clustrix_to_plumbing(porcelain)
|
10659
10914
|
end
|
@@ -10684,6 +10939,9 @@ module SDM
|
|
10684
10939
|
if porcelain.instance_of? DynamoDB
|
10685
10940
|
plumbing.dynamo_db = convert_dynamo_db_to_plumbing(porcelain)
|
10686
10941
|
end
|
10942
|
+
if porcelain.instance_of? DynamoDBIAM
|
10943
|
+
plumbing.dynamo_dbiam = convert_dynamo_dbiam_to_plumbing(porcelain)
|
10944
|
+
end
|
10687
10945
|
if porcelain.instance_of? Elastic
|
10688
10946
|
plumbing.elastic = convert_elastic_to_plumbing(porcelain)
|
10689
10947
|
end
|
@@ -10934,6 +11192,15 @@ module SDM
|
|
10934
11192
|
if plumbing.citus != nil
|
10935
11193
|
return convert_citus_to_porcelain(plumbing.citus)
|
10936
11194
|
end
|
11195
|
+
if plumbing.click_house_http != nil
|
11196
|
+
return convert_click_house_http_to_porcelain(plumbing.click_house_http)
|
11197
|
+
end
|
11198
|
+
if plumbing.click_house_my_sql != nil
|
11199
|
+
return convert_click_house_my_sql_to_porcelain(plumbing.click_house_my_sql)
|
11200
|
+
end
|
11201
|
+
if plumbing.click_house_tcp != nil
|
11202
|
+
return convert_click_house_tcp_to_porcelain(plumbing.click_house_tcp)
|
11203
|
+
end
|
10937
11204
|
if plumbing.clustrix != nil
|
10938
11205
|
return convert_clustrix_to_porcelain(plumbing.clustrix)
|
10939
11206
|
end
|
@@ -10964,6 +11231,9 @@ module SDM
|
|
10964
11231
|
if plumbing.dynamo_db != nil
|
10965
11232
|
return convert_dynamo_db_to_porcelain(plumbing.dynamo_db)
|
10966
11233
|
end
|
11234
|
+
if plumbing.dynamo_dbiam != nil
|
11235
|
+
return convert_dynamo_dbiam_to_porcelain(plumbing.dynamo_dbiam)
|
11236
|
+
end
|
10967
11237
|
if plumbing.elastic != nil
|
10968
11238
|
return convert_elastic_to_porcelain(plumbing.elastic)
|
10969
11239
|
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
|
@@ -4947,6 +5172,78 @@ module SDM
|
|
4947
5172
|
end
|
4948
5173
|
end
|
4949
5174
|
|
5175
|
+
# DynamoDBIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5176
|
+
class DynamoDBIAM
|
5177
|
+
# 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.
|
5178
|
+
attr_accessor :bind_interface
|
5179
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5180
|
+
attr_accessor :egress_filter
|
5181
|
+
# The endpoint to dial e.g. dynamodb.region.amazonaws.com
|
5182
|
+
attr_accessor :endpoint
|
5183
|
+
# True if the datasource is reachable and the credentials are valid.
|
5184
|
+
attr_accessor :healthy
|
5185
|
+
# Unique identifier of the Resource.
|
5186
|
+
attr_accessor :id
|
5187
|
+
# Unique human-readable name of the Resource.
|
5188
|
+
attr_accessor :name
|
5189
|
+
# The local port used by clients to connect to this resource.
|
5190
|
+
attr_accessor :port_override
|
5191
|
+
# ID of the proxy cluster for this resource, if any.
|
5192
|
+
attr_accessor :proxy_cluster_id
|
5193
|
+
# The region to authenticate requests against e.g. us-east-1
|
5194
|
+
attr_accessor :region
|
5195
|
+
# The role to assume after logging in.
|
5196
|
+
attr_accessor :role_arn
|
5197
|
+
# The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
|
5198
|
+
attr_accessor :role_external_id
|
5199
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5200
|
+
attr_accessor :secret_store_id
|
5201
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
5202
|
+
attr_accessor :subdomain
|
5203
|
+
# Tags is a map of key, value pairs.
|
5204
|
+
attr_accessor :tags
|
5205
|
+
|
5206
|
+
def initialize(
|
5207
|
+
bind_interface: nil,
|
5208
|
+
egress_filter: nil,
|
5209
|
+
endpoint: nil,
|
5210
|
+
healthy: nil,
|
5211
|
+
id: nil,
|
5212
|
+
name: nil,
|
5213
|
+
port_override: nil,
|
5214
|
+
proxy_cluster_id: nil,
|
5215
|
+
region: nil,
|
5216
|
+
role_arn: nil,
|
5217
|
+
role_external_id: nil,
|
5218
|
+
secret_store_id: nil,
|
5219
|
+
subdomain: nil,
|
5220
|
+
tags: nil
|
5221
|
+
)
|
5222
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5223
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5224
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
5225
|
+
@healthy = healthy == nil ? false : healthy
|
5226
|
+
@id = id == nil ? "" : id
|
5227
|
+
@name = name == nil ? "" : name
|
5228
|
+
@port_override = port_override == nil ? 0 : port_override
|
5229
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5230
|
+
@region = region == nil ? "" : region
|
5231
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
5232
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
5233
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5234
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5235
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5236
|
+
end
|
5237
|
+
|
5238
|
+
def to_json(options = {})
|
5239
|
+
hash = {}
|
5240
|
+
self.instance_variables.each do |var|
|
5241
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5242
|
+
end
|
5243
|
+
hash.to_json
|
5244
|
+
end
|
5245
|
+
end
|
5246
|
+
|
4950
5247
|
class Elastic
|
4951
5248
|
# 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
5249
|
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.4.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}
|
@@ -4670,6 +4673,7 @@ module SDM #:nodoc:
|
|
4670
4673
|
# {DocumentDBReplicaSet}
|
4671
4674
|
# {Druid}
|
4672
4675
|
# {DynamoDB}
|
4676
|
+
# {DynamoDBIAM}
|
4673
4677
|
# {Elastic}
|
4674
4678
|
# {ElasticacheRedis}
|
4675
4679
|
# {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.4.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-17 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-1c92771f0f53485130580cf88687c2cc0df52839.idx"
|
85
|
+
- "./.git/objects/pack/pack-1c92771f0f53485130580cf88687c2cc0df52839.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|