strongdm 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AuroraPostgres.html +2 -2
- data/doc/SDM/Citus.html +2 -2
- data/doc/SDM/Cockroach.html +2 -2
- data/doc/SDM/ElasticacheRedis.html +2 -2
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/Greenplum.html +2 -2
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Oracle.html +2 -2
- data/doc/SDM/Plumbing.html +552 -364
- data/doc/SDM/Postgres.html +2 -2
- data/doc/SDM/Presto.html +2 -2
- data/doc/SDM/RDP.html +2 -2
- data/doc/SDM/Redis.html +2 -2
- data/doc/SDM/Redshift.html +2 -2
- data/doc/SDM/Relay.html +2 -2
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/SQLServer.html +2 -2
- data/doc/SDM/SSH.html +2 -2
- data/doc/SDM/SSHCert.html +2 -2
- data/doc/SDM/SSHCustomerKey.html +2 -2
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SingleStore.html +427 -0
- data/doc/SDM/Snowflake.html +2 -2
- data/doc/SDM/Sybase.html +2 -2
- data/doc/SDM/SybaseIQ.html +2 -2
- data/doc/SDM/Teradata.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +5 -10
- data/doc/created.rid +51 -56
- data/doc/index.html +2 -4
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/table_of_contents.html +131 -106
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +16 -0
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +62 -0
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/models/porcelain.rb +87 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -2
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountAttachments"
|
30
30
|
|
31
31
|
# Create registers a new AccountAttachment.
|
32
|
-
rpc :Create,
|
32
|
+
rpc :Create, AccountAttachmentCreateRequest, AccountAttachmentCreateResponse
|
33
33
|
# Get reads one AccountAttachment by ID.
|
34
|
-
rpc :Get,
|
34
|
+
rpc :Get, AccountAttachmentGetRequest, AccountAttachmentGetResponse
|
35
35
|
# Delete removes a AccountAttachment by ID.
|
36
|
-
rpc :Delete,
|
36
|
+
rpc :Delete, AccountAttachmentDeleteRequest, AccountAttachmentDeleteResponse
|
37
37
|
# List gets a list of AccountAttachments matching a given set of criteria.
|
38
|
-
rpc :List,
|
38
|
+
rpc :List, AccountAttachmentListRequest, AccountAttachmentListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -29,13 +29,13 @@ module V1
|
|
29
29
|
self.service_name = "v1.AccountGrants"
|
30
30
|
|
31
31
|
# Create registers a new AccountGrant.
|
32
|
-
rpc :Create,
|
32
|
+
rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
|
33
33
|
# Get reads one AccountGrant by ID.
|
34
|
-
rpc :Get,
|
34
|
+
rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
|
35
35
|
# Delete removes a AccountGrant by ID.
|
36
|
-
rpc :Delete,
|
36
|
+
rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
|
37
37
|
# List gets a list of AccountGrants matching a given set of criteria.
|
38
|
-
rpc :List,
|
38
|
+
rpc :List, AccountGrantListRequest, AccountGrantListResponse
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Accounts"
|
32
32
|
|
33
33
|
# Create registers a new Account.
|
34
|
-
rpc :Create,
|
34
|
+
rpc :Create, AccountCreateRequest, AccountCreateResponse
|
35
35
|
# Get reads one Account by ID.
|
36
|
-
rpc :Get,
|
36
|
+
rpc :Get, AccountGetRequest, AccountGetResponse
|
37
37
|
# Update patches a Account by ID.
|
38
|
-
rpc :Update,
|
38
|
+
rpc :Update, AccountUpdateRequest, AccountUpdateResponse
|
39
39
|
# Delete removes a Account by ID.
|
40
|
-
rpc :Delete,
|
40
|
+
rpc :Delete, AccountDeleteRequest, AccountDeleteResponse
|
41
41
|
# List gets a list of Accounts matching a given set of criteria.
|
42
|
-
rpc :List,
|
42
|
+
rpc :List, AccountListRequest, AccountListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
@@ -29,9 +29,9 @@ module V1
|
|
29
29
|
self.service_name = "v1.ControlPanel"
|
30
30
|
|
31
31
|
# GetSSHCAPublicKey retrieves the SSH CA public key.
|
32
|
-
rpc :GetSSHCAPublicKey,
|
32
|
+
rpc :GetSSHCAPublicKey, ControlPanelGetSSHCAPublicKeyRequest, ControlPanelGetSSHCAPublicKeyResponse
|
33
33
|
# VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
|
34
|
-
rpc :VerifyJWT,
|
34
|
+
rpc :VerifyJWT, ControlPanelVerifyJWTRequest, ControlPanelVerifyJWTResponse
|
35
35
|
end
|
36
36
|
|
37
37
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -62,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
62
|
optional :clustrix, :message, 1102, "v1.Clustrix"
|
63
63
|
optional :maria, :message, 1103, "v1.Maria"
|
64
64
|
optional :memsql, :message, 1104, "v1.Memsql"
|
65
|
+
optional :single_store, :message, 1105, "v1.SingleStore"
|
65
66
|
optional :oracle, :message, 1200, "v1.Oracle"
|
66
67
|
optional :postgres, :message, 1300, "v1.Postgres"
|
67
68
|
optional :aurora_postgres, :message, 1301, "v1.AuroraPostgres"
|
@@ -627,6 +628,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
627
628
|
optional :port_override, :int32, 5
|
628
629
|
optional :port, :int32, 6
|
629
630
|
end
|
631
|
+
add_message "v1.SingleStore" do
|
632
|
+
optional :id, :string, 32768
|
633
|
+
optional :name, :string, 32769
|
634
|
+
optional :healthy, :bool, 32770
|
635
|
+
optional :tags, :message, 32771, "v1.Tags"
|
636
|
+
optional :secret_store_id, :string, 32772
|
637
|
+
optional :egress_filter, :string, 32773
|
638
|
+
optional :hostname, :string, 1
|
639
|
+
optional :username, :string, 2
|
640
|
+
optional :password, :string, 3
|
641
|
+
optional :database, :string, 4
|
642
|
+
optional :port_override, :int32, 5
|
643
|
+
optional :port, :int32, 6
|
644
|
+
end
|
630
645
|
add_message "v1.Oracle" do
|
631
646
|
optional :id, :string, 32768
|
632
647
|
optional :name, :string, 32769
|
@@ -939,6 +954,7 @@ module V1
|
|
939
954
|
Clustrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Clustrix").msgclass
|
940
955
|
Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
|
941
956
|
Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").msgclass
|
957
|
+
SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
|
942
958
|
Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
|
943
959
|
Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
|
944
960
|
AuroraPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuroraPostgres").msgclass
|
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Nodes"
|
32
32
|
|
33
33
|
# Create registers a new Node.
|
34
|
-
rpc :Create,
|
34
|
+
rpc :Create, NodeCreateRequest, NodeCreateResponse
|
35
35
|
# Get reads one Node by ID.
|
36
|
-
rpc :Get,
|
36
|
+
rpc :Get, NodeGetRequest, NodeGetResponse
|
37
37
|
# Update patches a Node by ID.
|
38
|
-
rpc :Update,
|
38
|
+
rpc :Update, NodeUpdateRequest, NodeUpdateResponse
|
39
39
|
# Delete removes a Node by ID.
|
40
|
-
rpc :Delete,
|
40
|
+
rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
|
41
41
|
# List gets a list of Nodes matching a given set of criteria.
|
42
|
-
rpc :List,
|
42
|
+
rpc :List, NodeListRequest, NodeListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/options_pb.rb
CHANGED
@@ -59,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
59
|
optional :cli_json_name, :string, 1941308
|
60
60
|
optional :json_gateway_name, :string, 1941309
|
61
61
|
optional :hide_from_json_gateway, :bool, 1941310
|
62
|
+
optional :terraform_provider_name, :string, 1941311
|
62
63
|
end
|
63
64
|
add_message "v1.CustomPorcelainMessageOptions" do
|
64
65
|
optional :converter, :string, 1941309
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -1077,6 +1077,9 @@ module SDM
|
|
1077
1077
|
if porcelain.instance_of? Memsql
|
1078
1078
|
plumbing.memsql = convert_memsql_to_plumbing(porcelain)
|
1079
1079
|
end
|
1080
|
+
if porcelain.instance_of? SingleStore
|
1081
|
+
plumbing.single_store = convert_single_store_to_plumbing(porcelain)
|
1082
|
+
end
|
1080
1083
|
if porcelain.instance_of? Oracle
|
1081
1084
|
plumbing.oracle = convert_oracle_to_plumbing(porcelain)
|
1082
1085
|
end
|
@@ -1258,6 +1261,9 @@ module SDM
|
|
1258
1261
|
if plumbing.memsql != nil
|
1259
1262
|
return convert_memsql_to_porcelain(plumbing.memsql)
|
1260
1263
|
end
|
1264
|
+
if plumbing.single_store != nil
|
1265
|
+
return convert_single_store_to_porcelain(plumbing.single_store)
|
1266
|
+
end
|
1261
1267
|
if plumbing.oracle != nil
|
1262
1268
|
return convert_oracle_to_porcelain(plumbing.oracle)
|
1263
1269
|
end
|
@@ -3513,6 +3519,62 @@ module SDM
|
|
3513
3519
|
end
|
3514
3520
|
items
|
3515
3521
|
end
|
3522
|
+
def self.convert_single_store_to_porcelain(plumbing)
|
3523
|
+
if plumbing == nil
|
3524
|
+
return nil
|
3525
|
+
end
|
3526
|
+
porcelain = SingleStore.new()
|
3527
|
+
porcelain.id = (plumbing.id)
|
3528
|
+
porcelain.name = (plumbing.name)
|
3529
|
+
porcelain.healthy = (plumbing.healthy)
|
3530
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3531
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3532
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
3533
|
+
porcelain.hostname = (plumbing.hostname)
|
3534
|
+
porcelain.username = (plumbing.username)
|
3535
|
+
porcelain.password = (plumbing.password)
|
3536
|
+
porcelain.database = (plumbing.database)
|
3537
|
+
porcelain.port_override = (plumbing.port_override)
|
3538
|
+
porcelain.port = (plumbing.port)
|
3539
|
+
porcelain
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
def self.convert_single_store_to_plumbing(porcelain)
|
3543
|
+
if porcelain == nil
|
3544
|
+
return nil
|
3545
|
+
end
|
3546
|
+
plumbing = V1::SingleStore.new()
|
3547
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
3548
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3549
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3550
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3551
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3552
|
+
plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
|
3553
|
+
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3554
|
+
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3555
|
+
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
3556
|
+
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
3557
|
+
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3558
|
+
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
3559
|
+
plumbing
|
3560
|
+
end
|
3561
|
+
def self.convert_repeated_single_store_to_plumbing(porcelains)
|
3562
|
+
items = Array.new
|
3563
|
+
porcelains.each do |porcelain|
|
3564
|
+
plumbing = convert_single_store_to_plumbing(porcelain)
|
3565
|
+
items.append(plumbing)
|
3566
|
+
end
|
3567
|
+
items
|
3568
|
+
end
|
3569
|
+
|
3570
|
+
def self.convert_repeated_single_store_to_porcelain(plumbings)
|
3571
|
+
items = Array.new
|
3572
|
+
plumbings.each do |plumbing|
|
3573
|
+
porcelain = convert_single_store_to_porcelain(plumbing)
|
3574
|
+
items.append(porcelain)
|
3575
|
+
end
|
3576
|
+
items
|
3577
|
+
end
|
3516
3578
|
def self.convert_oracle_to_porcelain(plumbing)
|
3517
3579
|
if plumbing == nil
|
3518
3580
|
return nil
|
@@ -28,17 +28,17 @@ module V1
|
|
28
28
|
self.service_name = "v1.Resources"
|
29
29
|
|
30
30
|
# EnumerateTags gets a list of the filter matching tags.
|
31
|
-
rpc :EnumerateTags,
|
31
|
+
rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
|
32
32
|
# Create registers a new Resource.
|
33
|
-
rpc :Create,
|
33
|
+
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
34
34
|
# Get reads one Resource by ID.
|
35
|
-
rpc :Get,
|
35
|
+
rpc :Get, ResourceGetRequest, ResourceGetResponse
|
36
36
|
# Update patches a Resource by ID.
|
37
|
-
rpc :Update,
|
37
|
+
rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
|
38
38
|
# Delete removes a Resource by ID.
|
39
|
-
rpc :Delete,
|
39
|
+
rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
|
40
40
|
# List gets a list of Resources matching a given set of criteria.
|
41
|
-
rpc :List,
|
41
|
+
rpc :List, ResourceListRequest, ResourceListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleAttachments"
|
33
33
|
|
34
34
|
# Create registers a new RoleAttachment.
|
35
|
-
rpc :Create,
|
35
|
+
rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
|
36
36
|
# Get reads one RoleAttachment by ID.
|
37
|
-
rpc :Get,
|
37
|
+
rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
|
38
38
|
# Delete removes a RoleAttachment by ID.
|
39
|
-
rpc :Delete,
|
39
|
+
rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
|
40
40
|
# List gets a list of RoleAttachments matching a given set of criteria.
|
41
|
-
rpc :List,
|
41
|
+
rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleGrants"
|
33
33
|
|
34
34
|
# Create registers a new RoleGrant.
|
35
|
-
rpc :Create,
|
35
|
+
rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
|
36
36
|
# Get reads one RoleGrant by ID.
|
37
|
-
rpc :Get,
|
37
|
+
rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
|
38
38
|
# Delete removes a RoleGrant by ID.
|
39
|
-
rpc :Delete,
|
39
|
+
rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
|
40
40
|
# List gets a list of RoleGrants matching a given set of criteria.
|
41
|
-
rpc :List,
|
41
|
+
rpc :List, RoleGrantListRequest, RoleGrantListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
@@ -33,15 +33,15 @@ module V1
|
|
33
33
|
self.service_name = "v1.Roles"
|
34
34
|
|
35
35
|
# Create registers a new Role.
|
36
|
-
rpc :Create,
|
36
|
+
rpc :Create, RoleCreateRequest, RoleCreateResponse
|
37
37
|
# Get reads one Role by ID.
|
38
|
-
rpc :Get,
|
38
|
+
rpc :Get, RoleGetRequest, RoleGetResponse
|
39
39
|
# Update patches a Role by ID.
|
40
|
-
rpc :Update,
|
40
|
+
rpc :Update, RoleUpdateRequest, RoleUpdateResponse
|
41
41
|
# Delete removes a Role by ID.
|
42
|
-
rpc :Delete,
|
42
|
+
rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
|
43
43
|
# List gets a list of Roles matching a given set of criteria.
|
44
|
-
rpc :List,
|
44
|
+
rpc :List, RoleListRequest, RoleListResponse
|
45
45
|
end
|
46
46
|
|
47
47
|
Stub = Service.rpc_stub_class
|
@@ -28,15 +28,15 @@ module V1
|
|
28
28
|
self.unmarshal_class_method = :decode
|
29
29
|
self.service_name = "v1.SecretStores"
|
30
30
|
|
31
|
-
rpc :Create,
|
31
|
+
rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
|
32
32
|
# Get reads one SecretStore by ID.
|
33
|
-
rpc :Get,
|
33
|
+
rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
|
34
34
|
# Update patches a SecretStore by ID.
|
35
|
-
rpc :Update,
|
35
|
+
rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
|
36
36
|
# Delete removes a SecretStore by ID.
|
37
|
-
rpc :Delete,
|
37
|
+
rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
|
38
38
|
# List gets a list of SecretStores matching a given set of criteria.
|
39
|
-
rpc :List,
|
39
|
+
rpc :List, SecretStoreListRequest, SecretStoreListResponse
|
40
40
|
end
|
41
41
|
|
42
42
|
Stub = Service.rpc_stub_class
|
data/lib/models/porcelain.rb
CHANGED
@@ -4098,6 +4098,93 @@ module SDM
|
|
4098
4098
|
end
|
4099
4099
|
end
|
4100
4100
|
|
4101
|
+
class SingleStore
|
4102
|
+
# Unique identifier of the Resource.
|
4103
|
+
attr_accessor :id
|
4104
|
+
# Unique human-readable name of the Resource.
|
4105
|
+
attr_accessor :name
|
4106
|
+
# True if the datasource is reachable and the credentials are valid.
|
4107
|
+
attr_accessor :healthy
|
4108
|
+
# Tags is a map of key, value pairs.
|
4109
|
+
attr_accessor :tags
|
4110
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4111
|
+
attr_accessor :secret_store_id
|
4112
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4113
|
+
attr_accessor :egress_filter
|
4114
|
+
|
4115
|
+
attr_accessor :hostname
|
4116
|
+
|
4117
|
+
attr_accessor :username
|
4118
|
+
|
4119
|
+
attr_accessor :password
|
4120
|
+
|
4121
|
+
attr_accessor :database
|
4122
|
+
|
4123
|
+
attr_accessor :port_override
|
4124
|
+
|
4125
|
+
attr_accessor :port
|
4126
|
+
|
4127
|
+
def initialize(
|
4128
|
+
id: nil,
|
4129
|
+
name: nil,
|
4130
|
+
healthy: nil,
|
4131
|
+
tags: nil,
|
4132
|
+
secret_store_id: nil,
|
4133
|
+
egress_filter: nil,
|
4134
|
+
hostname: nil,
|
4135
|
+
username: nil,
|
4136
|
+
password: nil,
|
4137
|
+
database: nil,
|
4138
|
+
port_override: nil,
|
4139
|
+
port: nil
|
4140
|
+
)
|
4141
|
+
if id != nil
|
4142
|
+
@id = id
|
4143
|
+
end
|
4144
|
+
if name != nil
|
4145
|
+
@name = name
|
4146
|
+
end
|
4147
|
+
if healthy != nil
|
4148
|
+
@healthy = healthy
|
4149
|
+
end
|
4150
|
+
if tags != nil
|
4151
|
+
@tags = tags
|
4152
|
+
end
|
4153
|
+
if secret_store_id != nil
|
4154
|
+
@secret_store_id = secret_store_id
|
4155
|
+
end
|
4156
|
+
if egress_filter != nil
|
4157
|
+
@egress_filter = egress_filter
|
4158
|
+
end
|
4159
|
+
if hostname != nil
|
4160
|
+
@hostname = hostname
|
4161
|
+
end
|
4162
|
+
if username != nil
|
4163
|
+
@username = username
|
4164
|
+
end
|
4165
|
+
if password != nil
|
4166
|
+
@password = password
|
4167
|
+
end
|
4168
|
+
if database != nil
|
4169
|
+
@database = database
|
4170
|
+
end
|
4171
|
+
if port_override != nil
|
4172
|
+
@port_override = port_override
|
4173
|
+
end
|
4174
|
+
if port != nil
|
4175
|
+
@port = port
|
4176
|
+
end
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
def to_json(options = {})
|
4180
|
+
hash = {}
|
4181
|
+
self.instance_variables.each do |var|
|
4182
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4183
|
+
end
|
4184
|
+
hash.to_json
|
4185
|
+
end
|
4186
|
+
end
|
4187
|
+
|
4101
4188
|
class Oracle
|
4102
4189
|
# Unique identifier of the Resource.
|
4103
4190
|
attr_accessor :id
|
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: 1.0.
|
4
|
+
version: 1.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -213,6 +213,7 @@ files:
|
|
213
213
|
- doc/SDM/SecretStoreUpdateResponse.html
|
214
214
|
- doc/SDM/SecretStores.html
|
215
215
|
- doc/SDM/Service.html
|
216
|
+
- doc/SDM/SingleStore.html
|
216
217
|
- doc/SDM/Snowflake.html
|
217
218
|
- doc/SDM/Sybase.html
|
218
219
|
- doc/SDM/SybaseIQ.html
|