strongdm 1.0.15 → 1.0.21
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/doc/SDM/AKS.html +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/AKSUserImpersonation.html +427 -0
- data/doc/SDM/AWS.html +39 -3
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +2 -2
- data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/AccountAttachmentGetResponse.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +2 -2
- data/doc/SDM/AccountDeleteResponse.html +2 -2
- data/doc/SDM/AccountGetResponse.html +2 -2
- data/doc/SDM/AccountGrant.html +2 -2
- data/doc/SDM/AccountGrantCreateResponse.html +2 -2
- data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
- data/doc/SDM/AccountGrantGetResponse.html +2 -2
- data/doc/SDM/AccountUpdateResponse.html +2 -2
- data/doc/SDM/AmazonEKS.html +39 -3
- data/doc/SDM/AmazonEKSUserImpersonation.html +481 -0
- data/doc/SDM/AmazonES.html +57 -3
- data/doc/SDM/Athena.html +57 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Client.html +9 -6
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/ControlPanel.html +62 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +57 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/GoogleGKEUserImpersonation.html +391 -0
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/KubernetesUserImpersonation.html +427 -0
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Nodes.html +6 -6
- data/doc/SDM/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +2575 -825
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- 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/Resources.html +74 -6
- 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/RoleAttachments.html +5 -5
- 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/RoleGrants.html +5 -5
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/Roles.html +6 -6
- data/doc/SDM/SQLServer.html +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SSHCustomerKey.html +427 -0
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SecretStores.html +6 -6
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +120 -0
- data/doc/V1/BuildsPrivate.html +113 -0
- data/doc/V1/BuildsPrivate/Service.html +119 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/created.rid +51 -47
- data/doc/index.html +22 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +556 -221
- data/lib/grpc/control_panel_pb.rb +11 -0
- data/lib/grpc/control_panel_services_pb.rb +2 -0
- data/lib/grpc/drivers_pb.rb +166 -0
- data/lib/grpc/options_pb.rb +5 -1
- data/lib/grpc/plumbing.rb +616 -4
- data/lib/grpc/resources_pb.rb +12 -0
- data/lib/grpc/resources_services_pb.rb +2 -0
- data/lib/grpc/spec_pb.rb +7 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +1074 -81
- data/lib/strongdm.rb +5 -2
- data/lib/svc.rb +67 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +14 -10
- data/lib/grpc/access_rules_pb.rb +0 -115
- data/lib/grpc/access_rules_services_pb.rb +0 -50
- data/lib/grpc/audits_pb.rb +0 -40
- data/lib/grpc/audits_services_pb.rb +0 -37
- data/lib/grpc/demo_provisioning_requests_pb.rb +0 -93
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +0 -49
- data/lib/grpc/secret_store_healths_pb.rb +0 -61
- data/lib/grpc/secret_store_healths_services_pb.rb +0 -39
data/lib/grpc/resources_pb.rb
CHANGED
@@ -20,6 +20,7 @@ require "google/protobuf"
|
|
20
20
|
require "options_pb"
|
21
21
|
require "spec_pb"
|
22
22
|
require "drivers_pb"
|
23
|
+
require "tags_pb"
|
23
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
25
|
add_file("resources.proto", :syntax => :proto3) do
|
25
26
|
add_message "v1.ResourceCreateRequest" do
|
@@ -67,6 +68,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
68
|
repeated :resources, :message, 2, "v1.Resource"
|
68
69
|
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
69
70
|
end
|
71
|
+
add_message "v1.EnumerateTagsRequest" do
|
72
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
73
|
+
optional :filter, :string, 2
|
74
|
+
end
|
75
|
+
add_message "v1.EnumerateTagsResponse" do
|
76
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
77
|
+
repeated :matches, :message, 2, "v1.Tag"
|
78
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
79
|
+
end
|
70
80
|
end
|
71
81
|
end
|
72
82
|
|
@@ -81,4 +91,6 @@ module V1
|
|
81
91
|
ResourceDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceDeleteResponse").msgclass
|
82
92
|
ResourceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceListRequest").msgclass
|
83
93
|
ResourceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceListResponse").msgclass
|
94
|
+
EnumerateTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.EnumerateTagsRequest").msgclass
|
95
|
+
EnumerateTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.EnumerateTagsResponse").msgclass
|
84
96
|
end
|
@@ -27,6 +27,8 @@ module V1
|
|
27
27
|
self.unmarshal_class_method = :decode
|
28
28
|
self.service_name = "v1.Resources"
|
29
29
|
|
30
|
+
# EnumerateTags gets a list of the filter matching tags.
|
31
|
+
rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
|
30
32
|
# Create registers a new Resource.
|
31
33
|
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
32
34
|
# Get reads one Resource by ID.
|
data/lib/grpc/spec_pb.rb
CHANGED
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
58
|
optional :cursor, :string, 1
|
59
59
|
optional :page, :int32, 2
|
60
60
|
optional :limit, :int32, 3
|
61
|
+
optional :order_by, :string, 4
|
61
62
|
end
|
62
63
|
add_message "v1.ListResponseMetadata" do
|
63
64
|
optional :next_cursor, :string, 1
|
@@ -69,6 +70,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
69
70
|
optional :reset_at, :message, 3, "google.protobuf.Timestamp"
|
70
71
|
optional :bucket, :string, 4
|
71
72
|
end
|
73
|
+
add_message "v1.GenericRequestMetadata" do
|
74
|
+
end
|
75
|
+
add_message "v1.GenericResponseMetadata" do
|
76
|
+
end
|
72
77
|
end
|
73
78
|
end
|
74
79
|
|
@@ -91,4 +96,6 @@ module V1
|
|
91
96
|
ListRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListRequestMetadata").msgclass
|
92
97
|
ListResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListResponseMetadata").msgclass
|
93
98
|
RateLimitMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RateLimitMetadata").msgclass
|
99
|
+
GenericRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericRequestMetadata").msgclass
|
100
|
+
GenericResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericResponseMetadata").msgclass
|
94
101
|
end
|
data/lib/grpc/tags_pb.rb
CHANGED
@@ -27,10 +27,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
optional :name, :string, 1
|
28
28
|
optional :value, :string, 2
|
29
29
|
end
|
30
|
+
add_message "v1.Tag" do
|
31
|
+
optional :name, :string, 1
|
32
|
+
optional :value, :string, 2
|
33
|
+
end
|
30
34
|
end
|
31
35
|
end
|
32
36
|
|
33
37
|
module V1
|
34
38
|
Tags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags").msgclass
|
35
39
|
Tags::Pair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags.Pair").msgclass
|
40
|
+
Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tag").msgclass
|
36
41
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -115,6 +115,32 @@ module SDM
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
+
class Tag
|
119
|
+
attr_accessor :name
|
120
|
+
|
121
|
+
attr_accessor :value
|
122
|
+
|
123
|
+
def initialize(
|
124
|
+
name: nil,
|
125
|
+
value: nil
|
126
|
+
)
|
127
|
+
if name != nil
|
128
|
+
@name = name
|
129
|
+
end
|
130
|
+
if value != nil
|
131
|
+
@value = value
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
def to_json(options = {})
|
136
|
+
hash = {}
|
137
|
+
self.instance_variables.each do |var|
|
138
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
139
|
+
end
|
140
|
+
hash.to_json
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
118
144
|
# AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
|
119
145
|
class AccountAttachmentCreateResponse
|
120
146
|
# Reserved for future use.
|
@@ -657,6 +683,40 @@ module SDM
|
|
657
683
|
end
|
658
684
|
end
|
659
685
|
|
686
|
+
# ControlPanelVerifyJWTResponse reports whether x-sdm-token is valid.
|
687
|
+
class ControlPanelVerifyJWTResponse
|
688
|
+
# Reserved for future use.
|
689
|
+
attr_accessor :meta
|
690
|
+
# Reports if the given token is valid.
|
691
|
+
attr_accessor :valid
|
692
|
+
# Rate limit information.
|
693
|
+
attr_accessor :rate_limit
|
694
|
+
|
695
|
+
def initialize(
|
696
|
+
meta: nil,
|
697
|
+
valid: nil,
|
698
|
+
rate_limit: nil
|
699
|
+
)
|
700
|
+
if meta != nil
|
701
|
+
@meta = meta
|
702
|
+
end
|
703
|
+
if valid != nil
|
704
|
+
@valid = valid
|
705
|
+
end
|
706
|
+
if rate_limit != nil
|
707
|
+
@rate_limit = rate_limit
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
def to_json(options = {})
|
712
|
+
hash = {}
|
713
|
+
self.instance_variables.each do |var|
|
714
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
715
|
+
end
|
716
|
+
hash.to_json
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
660
720
|
class Athena
|
661
721
|
# Unique identifier of the Resource.
|
662
722
|
attr_accessor :id
|
@@ -668,6 +728,8 @@ module SDM
|
|
668
728
|
attr_accessor :tags
|
669
729
|
# ID of the secret store containing credentials for this resource, if any.
|
670
730
|
attr_accessor :secret_store_id
|
731
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
732
|
+
attr_accessor :egress_filter
|
671
733
|
|
672
734
|
attr_accessor :access_key
|
673
735
|
|
@@ -679,17 +741,24 @@ module SDM
|
|
679
741
|
|
680
742
|
attr_accessor :region
|
681
743
|
|
744
|
+
attr_accessor :role_arn
|
745
|
+
|
746
|
+
attr_accessor :role_external_id
|
747
|
+
|
682
748
|
def initialize(
|
683
749
|
id: nil,
|
684
750
|
name: nil,
|
685
751
|
healthy: nil,
|
686
752
|
tags: nil,
|
687
753
|
secret_store_id: nil,
|
754
|
+
egress_filter: nil,
|
688
755
|
access_key: nil,
|
689
756
|
secret_access_key: nil,
|
690
757
|
output: nil,
|
691
758
|
port_override: nil,
|
692
|
-
region: nil
|
759
|
+
region: nil,
|
760
|
+
role_arn: nil,
|
761
|
+
role_external_id: nil
|
693
762
|
)
|
694
763
|
if id != nil
|
695
764
|
@id = id
|
@@ -706,6 +775,9 @@ module SDM
|
|
706
775
|
if secret_store_id != nil
|
707
776
|
@secret_store_id = secret_store_id
|
708
777
|
end
|
778
|
+
if egress_filter != nil
|
779
|
+
@egress_filter = egress_filter
|
780
|
+
end
|
709
781
|
if access_key != nil
|
710
782
|
@access_key = access_key
|
711
783
|
end
|
@@ -721,6 +793,12 @@ module SDM
|
|
721
793
|
if region != nil
|
722
794
|
@region = region
|
723
795
|
end
|
796
|
+
if role_arn != nil
|
797
|
+
@role_arn = role_arn
|
798
|
+
end
|
799
|
+
if role_external_id != nil
|
800
|
+
@role_external_id = role_external_id
|
801
|
+
end
|
724
802
|
end
|
725
803
|
|
726
804
|
def to_json(options = {})
|
@@ -743,6 +821,8 @@ module SDM
|
|
743
821
|
attr_accessor :tags
|
744
822
|
# ID of the secret store containing credentials for this resource, if any.
|
745
823
|
attr_accessor :secret_store_id
|
824
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
825
|
+
attr_accessor :egress_filter
|
746
826
|
|
747
827
|
attr_accessor :access_key
|
748
828
|
|
@@ -752,16 +832,20 @@ module SDM
|
|
752
832
|
|
753
833
|
attr_accessor :role_arn
|
754
834
|
|
835
|
+
attr_accessor :role_external_id
|
836
|
+
|
755
837
|
def initialize(
|
756
838
|
id: nil,
|
757
839
|
name: nil,
|
758
840
|
healthy: nil,
|
759
841
|
tags: nil,
|
760
842
|
secret_store_id: nil,
|
843
|
+
egress_filter: nil,
|
761
844
|
access_key: nil,
|
762
845
|
secret_access_key: nil,
|
763
846
|
healthcheck_region: nil,
|
764
|
-
role_arn: nil
|
847
|
+
role_arn: nil,
|
848
|
+
role_external_id: nil
|
765
849
|
)
|
766
850
|
if id != nil
|
767
851
|
@id = id
|
@@ -778,6 +862,9 @@ module SDM
|
|
778
862
|
if secret_store_id != nil
|
779
863
|
@secret_store_id = secret_store_id
|
780
864
|
end
|
865
|
+
if egress_filter != nil
|
866
|
+
@egress_filter = egress_filter
|
867
|
+
end
|
781
868
|
if access_key != nil
|
782
869
|
@access_key = access_key
|
783
870
|
end
|
@@ -790,6 +877,9 @@ module SDM
|
|
790
877
|
if role_arn != nil
|
791
878
|
@role_arn = role_arn
|
792
879
|
end
|
880
|
+
if role_external_id != nil
|
881
|
+
@role_external_id = role_external_id
|
882
|
+
end
|
793
883
|
end
|
794
884
|
|
795
885
|
def to_json(options = {})
|
@@ -812,6 +902,8 @@ module SDM
|
|
812
902
|
attr_accessor :tags
|
813
903
|
# ID of the secret store containing credentials for this resource, if any.
|
814
904
|
attr_accessor :secret_store_id
|
905
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
906
|
+
attr_accessor :egress_filter
|
815
907
|
|
816
908
|
attr_accessor :private_key
|
817
909
|
|
@@ -829,6 +921,7 @@ module SDM
|
|
829
921
|
healthy: nil,
|
830
922
|
tags: nil,
|
831
923
|
secret_store_id: nil,
|
924
|
+
egress_filter: nil,
|
832
925
|
private_key: nil,
|
833
926
|
project: nil,
|
834
927
|
port_override: nil,
|
@@ -850,6 +943,9 @@ module SDM
|
|
850
943
|
if secret_store_id != nil
|
851
944
|
@secret_store_id = secret_store_id
|
852
945
|
end
|
946
|
+
if egress_filter != nil
|
947
|
+
@egress_filter = egress_filter
|
948
|
+
end
|
853
949
|
if private_key != nil
|
854
950
|
@private_key = private_key
|
855
951
|
end
|
@@ -887,6 +983,8 @@ module SDM
|
|
887
983
|
attr_accessor :tags
|
888
984
|
# ID of the secret store containing credentials for this resource, if any.
|
889
985
|
attr_accessor :secret_store_id
|
986
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
987
|
+
attr_accessor :egress_filter
|
890
988
|
|
891
989
|
attr_accessor :hostname
|
892
990
|
|
@@ -906,6 +1004,7 @@ module SDM
|
|
906
1004
|
healthy: nil,
|
907
1005
|
tags: nil,
|
908
1006
|
secret_store_id: nil,
|
1007
|
+
egress_filter: nil,
|
909
1008
|
hostname: nil,
|
910
1009
|
username: nil,
|
911
1010
|
password: nil,
|
@@ -928,6 +1027,9 @@ module SDM
|
|
928
1027
|
if secret_store_id != nil
|
929
1028
|
@secret_store_id = secret_store_id
|
930
1029
|
end
|
1030
|
+
if egress_filter != nil
|
1031
|
+
@egress_filter = egress_filter
|
1032
|
+
end
|
931
1033
|
if hostname != nil
|
932
1034
|
@hostname = hostname
|
933
1035
|
end
|
@@ -968,6 +1070,8 @@ module SDM
|
|
968
1070
|
attr_accessor :tags
|
969
1071
|
# ID of the secret store containing credentials for this resource, if any.
|
970
1072
|
attr_accessor :secret_store_id
|
1073
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1074
|
+
attr_accessor :egress_filter
|
971
1075
|
|
972
1076
|
attr_accessor :hostname
|
973
1077
|
|
@@ -987,6 +1091,7 @@ module SDM
|
|
987
1091
|
healthy: nil,
|
988
1092
|
tags: nil,
|
989
1093
|
secret_store_id: nil,
|
1094
|
+
egress_filter: nil,
|
990
1095
|
hostname: nil,
|
991
1096
|
username: nil,
|
992
1097
|
password: nil,
|
@@ -1009,6 +1114,9 @@ module SDM
|
|
1009
1114
|
if secret_store_id != nil
|
1010
1115
|
@secret_store_id = secret_store_id
|
1011
1116
|
end
|
1117
|
+
if egress_filter != nil
|
1118
|
+
@egress_filter = egress_filter
|
1119
|
+
end
|
1012
1120
|
if hostname != nil
|
1013
1121
|
@hostname = hostname
|
1014
1122
|
end
|
@@ -1049,6 +1157,8 @@ module SDM
|
|
1049
1157
|
attr_accessor :tags
|
1050
1158
|
# ID of the secret store containing credentials for this resource, if any.
|
1051
1159
|
attr_accessor :secret_store_id
|
1160
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1161
|
+
attr_accessor :egress_filter
|
1052
1162
|
|
1053
1163
|
attr_accessor :hostname
|
1054
1164
|
|
@@ -1068,6 +1178,7 @@ module SDM
|
|
1068
1178
|
healthy: nil,
|
1069
1179
|
tags: nil,
|
1070
1180
|
secret_store_id: nil,
|
1181
|
+
egress_filter: nil,
|
1071
1182
|
hostname: nil,
|
1072
1183
|
username: nil,
|
1073
1184
|
password: nil,
|
@@ -1090,6 +1201,9 @@ module SDM
|
|
1090
1201
|
if secret_store_id != nil
|
1091
1202
|
@secret_store_id = secret_store_id
|
1092
1203
|
end
|
1204
|
+
if egress_filter != nil
|
1205
|
+
@egress_filter = egress_filter
|
1206
|
+
end
|
1093
1207
|
if hostname != nil
|
1094
1208
|
@hostname = hostname
|
1095
1209
|
end
|
@@ -1130,6 +1244,8 @@ module SDM
|
|
1130
1244
|
attr_accessor :tags
|
1131
1245
|
# ID of the secret store containing credentials for this resource, if any.
|
1132
1246
|
attr_accessor :secret_store_id
|
1247
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1248
|
+
attr_accessor :egress_filter
|
1133
1249
|
|
1134
1250
|
attr_accessor :hostname
|
1135
1251
|
|
@@ -1147,6 +1263,7 @@ module SDM
|
|
1147
1263
|
healthy: nil,
|
1148
1264
|
tags: nil,
|
1149
1265
|
secret_store_id: nil,
|
1266
|
+
egress_filter: nil,
|
1150
1267
|
hostname: nil,
|
1151
1268
|
port_override: nil,
|
1152
1269
|
username: nil,
|
@@ -1168,6 +1285,9 @@ module SDM
|
|
1168
1285
|
if secret_store_id != nil
|
1169
1286
|
@secret_store_id = secret_store_id
|
1170
1287
|
end
|
1288
|
+
if egress_filter != nil
|
1289
|
+
@egress_filter = egress_filter
|
1290
|
+
end
|
1171
1291
|
if hostname != nil
|
1172
1292
|
@hostname = hostname
|
1173
1293
|
end
|
@@ -1205,6 +1325,8 @@ module SDM
|
|
1205
1325
|
attr_accessor :tags
|
1206
1326
|
# ID of the secret store containing credentials for this resource, if any.
|
1207
1327
|
attr_accessor :secret_store_id
|
1328
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1329
|
+
attr_accessor :egress_filter
|
1208
1330
|
|
1209
1331
|
attr_accessor :access_key
|
1210
1332
|
|
@@ -1216,17 +1338,24 @@ module SDM
|
|
1216
1338
|
|
1217
1339
|
attr_accessor :port_override
|
1218
1340
|
|
1341
|
+
attr_accessor :role_arn
|
1342
|
+
|
1343
|
+
attr_accessor :role_external_id
|
1344
|
+
|
1219
1345
|
def initialize(
|
1220
1346
|
id: nil,
|
1221
1347
|
name: nil,
|
1222
1348
|
healthy: nil,
|
1223
1349
|
tags: nil,
|
1224
1350
|
secret_store_id: nil,
|
1351
|
+
egress_filter: nil,
|
1225
1352
|
access_key: nil,
|
1226
1353
|
secret_access_key: nil,
|
1227
1354
|
region: nil,
|
1228
1355
|
endpoint: nil,
|
1229
|
-
port_override: nil
|
1356
|
+
port_override: nil,
|
1357
|
+
role_arn: nil,
|
1358
|
+
role_external_id: nil
|
1230
1359
|
)
|
1231
1360
|
if id != nil
|
1232
1361
|
@id = id
|
@@ -1243,6 +1372,9 @@ module SDM
|
|
1243
1372
|
if secret_store_id != nil
|
1244
1373
|
@secret_store_id = secret_store_id
|
1245
1374
|
end
|
1375
|
+
if egress_filter != nil
|
1376
|
+
@egress_filter = egress_filter
|
1377
|
+
end
|
1246
1378
|
if access_key != nil
|
1247
1379
|
@access_key = access_key
|
1248
1380
|
end
|
@@ -1258,6 +1390,12 @@ module SDM
|
|
1258
1390
|
if port_override != nil
|
1259
1391
|
@port_override = port_override
|
1260
1392
|
end
|
1393
|
+
if role_arn != nil
|
1394
|
+
@role_arn = role_arn
|
1395
|
+
end
|
1396
|
+
if role_external_id != nil
|
1397
|
+
@role_external_id = role_external_id
|
1398
|
+
end
|
1261
1399
|
end
|
1262
1400
|
|
1263
1401
|
def to_json(options = {})
|
@@ -1280,6 +1418,8 @@ module SDM
|
|
1280
1418
|
attr_accessor :tags
|
1281
1419
|
# ID of the secret store containing credentials for this resource, if any.
|
1282
1420
|
attr_accessor :secret_store_id
|
1421
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1422
|
+
attr_accessor :egress_filter
|
1283
1423
|
|
1284
1424
|
attr_accessor :region
|
1285
1425
|
|
@@ -1291,17 +1431,24 @@ module SDM
|
|
1291
1431
|
|
1292
1432
|
attr_accessor :port_override
|
1293
1433
|
|
1434
|
+
attr_accessor :role_arn
|
1435
|
+
|
1436
|
+
attr_accessor :role_external_id
|
1437
|
+
|
1294
1438
|
def initialize(
|
1295
1439
|
id: nil,
|
1296
1440
|
name: nil,
|
1297
1441
|
healthy: nil,
|
1298
1442
|
tags: nil,
|
1299
1443
|
secret_store_id: nil,
|
1444
|
+
egress_filter: nil,
|
1300
1445
|
region: nil,
|
1301
1446
|
secret_access_key: nil,
|
1302
1447
|
endpoint: nil,
|
1303
1448
|
access_key: nil,
|
1304
|
-
port_override: nil
|
1449
|
+
port_override: nil,
|
1450
|
+
role_arn: nil,
|
1451
|
+
role_external_id: nil
|
1305
1452
|
)
|
1306
1453
|
if id != nil
|
1307
1454
|
@id = id
|
@@ -1318,6 +1465,9 @@ module SDM
|
|
1318
1465
|
if secret_store_id != nil
|
1319
1466
|
@secret_store_id = secret_store_id
|
1320
1467
|
end
|
1468
|
+
if egress_filter != nil
|
1469
|
+
@egress_filter = egress_filter
|
1470
|
+
end
|
1321
1471
|
if region != nil
|
1322
1472
|
@region = region
|
1323
1473
|
end
|
@@ -1333,6 +1483,12 @@ module SDM
|
|
1333
1483
|
if port_override != nil
|
1334
1484
|
@port_override = port_override
|
1335
1485
|
end
|
1486
|
+
if role_arn != nil
|
1487
|
+
@role_arn = role_arn
|
1488
|
+
end
|
1489
|
+
if role_external_id != nil
|
1490
|
+
@role_external_id = role_external_id
|
1491
|
+
end
|
1336
1492
|
end
|
1337
1493
|
|
1338
1494
|
def to_json(options = {})
|
@@ -1355,6 +1511,8 @@ module SDM
|
|
1355
1511
|
attr_accessor :tags
|
1356
1512
|
# ID of the secret store containing credentials for this resource, if any.
|
1357
1513
|
attr_accessor :secret_store_id
|
1514
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1515
|
+
attr_accessor :egress_filter
|
1358
1516
|
|
1359
1517
|
attr_accessor :hostname
|
1360
1518
|
|
@@ -1374,6 +1532,7 @@ module SDM
|
|
1374
1532
|
healthy: nil,
|
1375
1533
|
tags: nil,
|
1376
1534
|
secret_store_id: nil,
|
1535
|
+
egress_filter: nil,
|
1377
1536
|
hostname: nil,
|
1378
1537
|
username: nil,
|
1379
1538
|
password: nil,
|
@@ -1396,6 +1555,9 @@ module SDM
|
|
1396
1555
|
if secret_store_id != nil
|
1397
1556
|
@secret_store_id = secret_store_id
|
1398
1557
|
end
|
1558
|
+
if egress_filter != nil
|
1559
|
+
@egress_filter = egress_filter
|
1560
|
+
end
|
1399
1561
|
if hostname != nil
|
1400
1562
|
@hostname = hostname
|
1401
1563
|
end
|
@@ -1436,6 +1598,8 @@ module SDM
|
|
1436
1598
|
attr_accessor :tags
|
1437
1599
|
# ID of the secret store containing credentials for this resource, if any.
|
1438
1600
|
attr_accessor :secret_store_id
|
1601
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1602
|
+
attr_accessor :egress_filter
|
1439
1603
|
|
1440
1604
|
attr_accessor :url
|
1441
1605
|
|
@@ -1457,6 +1621,7 @@ module SDM
|
|
1457
1621
|
healthy: nil,
|
1458
1622
|
tags: nil,
|
1459
1623
|
secret_store_id: nil,
|
1624
|
+
egress_filter: nil,
|
1460
1625
|
url: nil,
|
1461
1626
|
healthcheck_path: nil,
|
1462
1627
|
username: nil,
|
@@ -1480,6 +1645,9 @@ module SDM
|
|
1480
1645
|
if secret_store_id != nil
|
1481
1646
|
@secret_store_id = secret_store_id
|
1482
1647
|
end
|
1648
|
+
if egress_filter != nil
|
1649
|
+
@egress_filter = egress_filter
|
1650
|
+
end
|
1483
1651
|
if url != nil
|
1484
1652
|
@url = url
|
1485
1653
|
end
|
@@ -1523,6 +1691,8 @@ module SDM
|
|
1523
1691
|
attr_accessor :tags
|
1524
1692
|
# ID of the secret store containing credentials for this resource, if any.
|
1525
1693
|
attr_accessor :secret_store_id
|
1694
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1695
|
+
attr_accessor :egress_filter
|
1526
1696
|
|
1527
1697
|
attr_accessor :url
|
1528
1698
|
|
@@ -1540,6 +1710,7 @@ module SDM
|
|
1540
1710
|
healthy: nil,
|
1541
1711
|
tags: nil,
|
1542
1712
|
secret_store_id: nil,
|
1713
|
+
egress_filter: nil,
|
1543
1714
|
url: nil,
|
1544
1715
|
healthcheck_path: nil,
|
1545
1716
|
headers_blacklist: nil,
|
@@ -1561,6 +1732,9 @@ module SDM
|
|
1561
1732
|
if secret_store_id != nil
|
1562
1733
|
@secret_store_id = secret_store_id
|
1563
1734
|
end
|
1735
|
+
if egress_filter != nil
|
1736
|
+
@egress_filter = egress_filter
|
1737
|
+
end
|
1564
1738
|
if url != nil
|
1565
1739
|
@url = url
|
1566
1740
|
end
|
@@ -1598,6 +1772,8 @@ module SDM
|
|
1598
1772
|
attr_accessor :tags
|
1599
1773
|
# ID of the secret store containing credentials for this resource, if any.
|
1600
1774
|
attr_accessor :secret_store_id
|
1775
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1776
|
+
attr_accessor :egress_filter
|
1601
1777
|
|
1602
1778
|
attr_accessor :url
|
1603
1779
|
|
@@ -1617,6 +1793,7 @@ module SDM
|
|
1617
1793
|
healthy: nil,
|
1618
1794
|
tags: nil,
|
1619
1795
|
secret_store_id: nil,
|
1796
|
+
egress_filter: nil,
|
1620
1797
|
url: nil,
|
1621
1798
|
healthcheck_path: nil,
|
1622
1799
|
auth_header: nil,
|
@@ -1639,6 +1816,9 @@ module SDM
|
|
1639
1816
|
if secret_store_id != nil
|
1640
1817
|
@secret_store_id = secret_store_id
|
1641
1818
|
end
|
1819
|
+
if egress_filter != nil
|
1820
|
+
@egress_filter = egress_filter
|
1821
|
+
end
|
1642
1822
|
if url != nil
|
1643
1823
|
@url = url
|
1644
1824
|
end
|
@@ -1679,6 +1859,95 @@ module SDM
|
|
1679
1859
|
attr_accessor :tags
|
1680
1860
|
# ID of the secret store containing credentials for this resource, if any.
|
1681
1861
|
attr_accessor :secret_store_id
|
1862
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1863
|
+
attr_accessor :egress_filter
|
1864
|
+
|
1865
|
+
attr_accessor :hostname
|
1866
|
+
|
1867
|
+
attr_accessor :port
|
1868
|
+
|
1869
|
+
attr_accessor :certificate_authority
|
1870
|
+
|
1871
|
+
attr_accessor :client_certificate
|
1872
|
+
|
1873
|
+
attr_accessor :client_key
|
1874
|
+
|
1875
|
+
attr_accessor :healthcheck_namespace
|
1876
|
+
|
1877
|
+
def initialize(
|
1878
|
+
id: nil,
|
1879
|
+
name: nil,
|
1880
|
+
healthy: nil,
|
1881
|
+
tags: nil,
|
1882
|
+
secret_store_id: nil,
|
1883
|
+
egress_filter: nil,
|
1884
|
+
hostname: nil,
|
1885
|
+
port: nil,
|
1886
|
+
certificate_authority: nil,
|
1887
|
+
client_certificate: nil,
|
1888
|
+
client_key: nil,
|
1889
|
+
healthcheck_namespace: nil
|
1890
|
+
)
|
1891
|
+
if id != nil
|
1892
|
+
@id = id
|
1893
|
+
end
|
1894
|
+
if name != nil
|
1895
|
+
@name = name
|
1896
|
+
end
|
1897
|
+
if healthy != nil
|
1898
|
+
@healthy = healthy
|
1899
|
+
end
|
1900
|
+
if tags != nil
|
1901
|
+
@tags = tags
|
1902
|
+
end
|
1903
|
+
if secret_store_id != nil
|
1904
|
+
@secret_store_id = secret_store_id
|
1905
|
+
end
|
1906
|
+
if egress_filter != nil
|
1907
|
+
@egress_filter = egress_filter
|
1908
|
+
end
|
1909
|
+
if hostname != nil
|
1910
|
+
@hostname = hostname
|
1911
|
+
end
|
1912
|
+
if port != nil
|
1913
|
+
@port = port
|
1914
|
+
end
|
1915
|
+
if certificate_authority != nil
|
1916
|
+
@certificate_authority = certificate_authority
|
1917
|
+
end
|
1918
|
+
if client_certificate != nil
|
1919
|
+
@client_certificate = client_certificate
|
1920
|
+
end
|
1921
|
+
if client_key != nil
|
1922
|
+
@client_key = client_key
|
1923
|
+
end
|
1924
|
+
if healthcheck_namespace != nil
|
1925
|
+
@healthcheck_namespace = healthcheck_namespace
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
def to_json(options = {})
|
1930
|
+
hash = {}
|
1931
|
+
self.instance_variables.each do |var|
|
1932
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
1933
|
+
end
|
1934
|
+
hash.to_json
|
1935
|
+
end
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
class KubernetesUserImpersonation
|
1939
|
+
# Unique identifier of the Resource.
|
1940
|
+
attr_accessor :id
|
1941
|
+
# Unique human-readable name of the Resource.
|
1942
|
+
attr_accessor :name
|
1943
|
+
# True if the datasource is reachable and the credentials are valid.
|
1944
|
+
attr_accessor :healthy
|
1945
|
+
# Tags is a map of key, value pairs.
|
1946
|
+
attr_accessor :tags
|
1947
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1948
|
+
attr_accessor :secret_store_id
|
1949
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1950
|
+
attr_accessor :egress_filter
|
1682
1951
|
|
1683
1952
|
attr_accessor :hostname
|
1684
1953
|
|
@@ -1698,6 +1967,7 @@ module SDM
|
|
1698
1967
|
healthy: nil,
|
1699
1968
|
tags: nil,
|
1700
1969
|
secret_store_id: nil,
|
1970
|
+
egress_filter: nil,
|
1701
1971
|
hostname: nil,
|
1702
1972
|
port: nil,
|
1703
1973
|
certificate_authority: nil,
|
@@ -1720,6 +1990,9 @@ module SDM
|
|
1720
1990
|
if secret_store_id != nil
|
1721
1991
|
@secret_store_id = secret_store_id
|
1722
1992
|
end
|
1993
|
+
if egress_filter != nil
|
1994
|
+
@egress_filter = egress_filter
|
1995
|
+
end
|
1723
1996
|
if hostname != nil
|
1724
1997
|
@hostname = hostname
|
1725
1998
|
end
|
@@ -1760,6 +2033,8 @@ module SDM
|
|
1760
2033
|
attr_accessor :tags
|
1761
2034
|
# ID of the secret store containing credentials for this resource, if any.
|
1762
2035
|
attr_accessor :secret_store_id
|
2036
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2037
|
+
attr_accessor :egress_filter
|
1763
2038
|
|
1764
2039
|
attr_accessor :hostname
|
1765
2040
|
|
@@ -1777,6 +2052,7 @@ module SDM
|
|
1777
2052
|
healthy: nil,
|
1778
2053
|
tags: nil,
|
1779
2054
|
secret_store_id: nil,
|
2055
|
+
egress_filter: nil,
|
1780
2056
|
hostname: nil,
|
1781
2057
|
port: nil,
|
1782
2058
|
username: nil,
|
@@ -1798,6 +2074,9 @@ module SDM
|
|
1798
2074
|
if secret_store_id != nil
|
1799
2075
|
@secret_store_id = secret_store_id
|
1800
2076
|
end
|
2077
|
+
if egress_filter != nil
|
2078
|
+
@egress_filter = egress_filter
|
2079
|
+
end
|
1801
2080
|
if hostname != nil
|
1802
2081
|
@hostname = hostname
|
1803
2082
|
end
|
@@ -1824,7 +2103,442 @@ module SDM
|
|
1824
2103
|
end
|
1825
2104
|
end
|
1826
2105
|
|
1827
|
-
class KubernetesServiceAccount
|
2106
|
+
class KubernetesServiceAccount
|
2107
|
+
# Unique identifier of the Resource.
|
2108
|
+
attr_accessor :id
|
2109
|
+
# Unique human-readable name of the Resource.
|
2110
|
+
attr_accessor :name
|
2111
|
+
# True if the datasource is reachable and the credentials are valid.
|
2112
|
+
attr_accessor :healthy
|
2113
|
+
# Tags is a map of key, value pairs.
|
2114
|
+
attr_accessor :tags
|
2115
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2116
|
+
attr_accessor :secret_store_id
|
2117
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2118
|
+
attr_accessor :egress_filter
|
2119
|
+
|
2120
|
+
attr_accessor :hostname
|
2121
|
+
|
2122
|
+
attr_accessor :port
|
2123
|
+
|
2124
|
+
attr_accessor :token
|
2125
|
+
|
2126
|
+
attr_accessor :healthcheck_namespace
|
2127
|
+
|
2128
|
+
def initialize(
|
2129
|
+
id: nil,
|
2130
|
+
name: nil,
|
2131
|
+
healthy: nil,
|
2132
|
+
tags: nil,
|
2133
|
+
secret_store_id: nil,
|
2134
|
+
egress_filter: nil,
|
2135
|
+
hostname: nil,
|
2136
|
+
port: nil,
|
2137
|
+
token: nil,
|
2138
|
+
healthcheck_namespace: nil
|
2139
|
+
)
|
2140
|
+
if id != nil
|
2141
|
+
@id = id
|
2142
|
+
end
|
2143
|
+
if name != nil
|
2144
|
+
@name = name
|
2145
|
+
end
|
2146
|
+
if healthy != nil
|
2147
|
+
@healthy = healthy
|
2148
|
+
end
|
2149
|
+
if tags != nil
|
2150
|
+
@tags = tags
|
2151
|
+
end
|
2152
|
+
if secret_store_id != nil
|
2153
|
+
@secret_store_id = secret_store_id
|
2154
|
+
end
|
2155
|
+
if egress_filter != nil
|
2156
|
+
@egress_filter = egress_filter
|
2157
|
+
end
|
2158
|
+
if hostname != nil
|
2159
|
+
@hostname = hostname
|
2160
|
+
end
|
2161
|
+
if port != nil
|
2162
|
+
@port = port
|
2163
|
+
end
|
2164
|
+
if token != nil
|
2165
|
+
@token = token
|
2166
|
+
end
|
2167
|
+
if healthcheck_namespace != nil
|
2168
|
+
@healthcheck_namespace = healthcheck_namespace
|
2169
|
+
end
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
def to_json(options = {})
|
2173
|
+
hash = {}
|
2174
|
+
self.instance_variables.each do |var|
|
2175
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2176
|
+
end
|
2177
|
+
hash.to_json
|
2178
|
+
end
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
class KubernetesServiceAccountUserImpersonation
|
2182
|
+
# Unique identifier of the Resource.
|
2183
|
+
attr_accessor :id
|
2184
|
+
# Unique human-readable name of the Resource.
|
2185
|
+
attr_accessor :name
|
2186
|
+
# True if the datasource is reachable and the credentials are valid.
|
2187
|
+
attr_accessor :healthy
|
2188
|
+
# Tags is a map of key, value pairs.
|
2189
|
+
attr_accessor :tags
|
2190
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2191
|
+
attr_accessor :secret_store_id
|
2192
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2193
|
+
attr_accessor :egress_filter
|
2194
|
+
|
2195
|
+
attr_accessor :hostname
|
2196
|
+
|
2197
|
+
attr_accessor :port
|
2198
|
+
|
2199
|
+
attr_accessor :token
|
2200
|
+
|
2201
|
+
attr_accessor :healthcheck_namespace
|
2202
|
+
|
2203
|
+
def initialize(
|
2204
|
+
id: nil,
|
2205
|
+
name: nil,
|
2206
|
+
healthy: nil,
|
2207
|
+
tags: nil,
|
2208
|
+
secret_store_id: nil,
|
2209
|
+
egress_filter: nil,
|
2210
|
+
hostname: nil,
|
2211
|
+
port: nil,
|
2212
|
+
token: nil,
|
2213
|
+
healthcheck_namespace: nil
|
2214
|
+
)
|
2215
|
+
if id != nil
|
2216
|
+
@id = id
|
2217
|
+
end
|
2218
|
+
if name != nil
|
2219
|
+
@name = name
|
2220
|
+
end
|
2221
|
+
if healthy != nil
|
2222
|
+
@healthy = healthy
|
2223
|
+
end
|
2224
|
+
if tags != nil
|
2225
|
+
@tags = tags
|
2226
|
+
end
|
2227
|
+
if secret_store_id != nil
|
2228
|
+
@secret_store_id = secret_store_id
|
2229
|
+
end
|
2230
|
+
if egress_filter != nil
|
2231
|
+
@egress_filter = egress_filter
|
2232
|
+
end
|
2233
|
+
if hostname != nil
|
2234
|
+
@hostname = hostname
|
2235
|
+
end
|
2236
|
+
if port != nil
|
2237
|
+
@port = port
|
2238
|
+
end
|
2239
|
+
if token != nil
|
2240
|
+
@token = token
|
2241
|
+
end
|
2242
|
+
if healthcheck_namespace != nil
|
2243
|
+
@healthcheck_namespace = healthcheck_namespace
|
2244
|
+
end
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
def to_json(options = {})
|
2248
|
+
hash = {}
|
2249
|
+
self.instance_variables.each do |var|
|
2250
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2251
|
+
end
|
2252
|
+
hash.to_json
|
2253
|
+
end
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
class AmazonEKS
|
2257
|
+
# Unique identifier of the Resource.
|
2258
|
+
attr_accessor :id
|
2259
|
+
# Unique human-readable name of the Resource.
|
2260
|
+
attr_accessor :name
|
2261
|
+
# True if the datasource is reachable and the credentials are valid.
|
2262
|
+
attr_accessor :healthy
|
2263
|
+
# Tags is a map of key, value pairs.
|
2264
|
+
attr_accessor :tags
|
2265
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2266
|
+
attr_accessor :secret_store_id
|
2267
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2268
|
+
attr_accessor :egress_filter
|
2269
|
+
|
2270
|
+
attr_accessor :endpoint
|
2271
|
+
|
2272
|
+
attr_accessor :access_key
|
2273
|
+
|
2274
|
+
attr_accessor :secret_access_key
|
2275
|
+
|
2276
|
+
attr_accessor :certificate_authority
|
2277
|
+
|
2278
|
+
attr_accessor :region
|
2279
|
+
|
2280
|
+
attr_accessor :cluster_name
|
2281
|
+
|
2282
|
+
attr_accessor :role_arn
|
2283
|
+
|
2284
|
+
attr_accessor :role_external_id
|
2285
|
+
|
2286
|
+
attr_accessor :healthcheck_namespace
|
2287
|
+
|
2288
|
+
def initialize(
|
2289
|
+
id: nil,
|
2290
|
+
name: nil,
|
2291
|
+
healthy: nil,
|
2292
|
+
tags: nil,
|
2293
|
+
secret_store_id: nil,
|
2294
|
+
egress_filter: nil,
|
2295
|
+
endpoint: nil,
|
2296
|
+
access_key: nil,
|
2297
|
+
secret_access_key: nil,
|
2298
|
+
certificate_authority: nil,
|
2299
|
+
region: nil,
|
2300
|
+
cluster_name: nil,
|
2301
|
+
role_arn: nil,
|
2302
|
+
role_external_id: nil,
|
2303
|
+
healthcheck_namespace: nil
|
2304
|
+
)
|
2305
|
+
if id != nil
|
2306
|
+
@id = id
|
2307
|
+
end
|
2308
|
+
if name != nil
|
2309
|
+
@name = name
|
2310
|
+
end
|
2311
|
+
if healthy != nil
|
2312
|
+
@healthy = healthy
|
2313
|
+
end
|
2314
|
+
if tags != nil
|
2315
|
+
@tags = tags
|
2316
|
+
end
|
2317
|
+
if secret_store_id != nil
|
2318
|
+
@secret_store_id = secret_store_id
|
2319
|
+
end
|
2320
|
+
if egress_filter != nil
|
2321
|
+
@egress_filter = egress_filter
|
2322
|
+
end
|
2323
|
+
if endpoint != nil
|
2324
|
+
@endpoint = endpoint
|
2325
|
+
end
|
2326
|
+
if access_key != nil
|
2327
|
+
@access_key = access_key
|
2328
|
+
end
|
2329
|
+
if secret_access_key != nil
|
2330
|
+
@secret_access_key = secret_access_key
|
2331
|
+
end
|
2332
|
+
if certificate_authority != nil
|
2333
|
+
@certificate_authority = certificate_authority
|
2334
|
+
end
|
2335
|
+
if region != nil
|
2336
|
+
@region = region
|
2337
|
+
end
|
2338
|
+
if cluster_name != nil
|
2339
|
+
@cluster_name = cluster_name
|
2340
|
+
end
|
2341
|
+
if role_arn != nil
|
2342
|
+
@role_arn = role_arn
|
2343
|
+
end
|
2344
|
+
if role_external_id != nil
|
2345
|
+
@role_external_id = role_external_id
|
2346
|
+
end
|
2347
|
+
if healthcheck_namespace != nil
|
2348
|
+
@healthcheck_namespace = healthcheck_namespace
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
|
2352
|
+
def to_json(options = {})
|
2353
|
+
hash = {}
|
2354
|
+
self.instance_variables.each do |var|
|
2355
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2356
|
+
end
|
2357
|
+
hash.to_json
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class AmazonEKSUserImpersonation
|
2362
|
+
# Unique identifier of the Resource.
|
2363
|
+
attr_accessor :id
|
2364
|
+
# Unique human-readable name of the Resource.
|
2365
|
+
attr_accessor :name
|
2366
|
+
# True if the datasource is reachable and the credentials are valid.
|
2367
|
+
attr_accessor :healthy
|
2368
|
+
# Tags is a map of key, value pairs.
|
2369
|
+
attr_accessor :tags
|
2370
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2371
|
+
attr_accessor :secret_store_id
|
2372
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2373
|
+
attr_accessor :egress_filter
|
2374
|
+
|
2375
|
+
attr_accessor :endpoint
|
2376
|
+
|
2377
|
+
attr_accessor :access_key
|
2378
|
+
|
2379
|
+
attr_accessor :secret_access_key
|
2380
|
+
|
2381
|
+
attr_accessor :certificate_authority
|
2382
|
+
|
2383
|
+
attr_accessor :region
|
2384
|
+
|
2385
|
+
attr_accessor :cluster_name
|
2386
|
+
|
2387
|
+
attr_accessor :role_arn
|
2388
|
+
|
2389
|
+
attr_accessor :role_external_id
|
2390
|
+
|
2391
|
+
attr_accessor :healthcheck_namespace
|
2392
|
+
|
2393
|
+
def initialize(
|
2394
|
+
id: nil,
|
2395
|
+
name: nil,
|
2396
|
+
healthy: nil,
|
2397
|
+
tags: nil,
|
2398
|
+
secret_store_id: nil,
|
2399
|
+
egress_filter: nil,
|
2400
|
+
endpoint: nil,
|
2401
|
+
access_key: nil,
|
2402
|
+
secret_access_key: nil,
|
2403
|
+
certificate_authority: nil,
|
2404
|
+
region: nil,
|
2405
|
+
cluster_name: nil,
|
2406
|
+
role_arn: nil,
|
2407
|
+
role_external_id: nil,
|
2408
|
+
healthcheck_namespace: nil
|
2409
|
+
)
|
2410
|
+
if id != nil
|
2411
|
+
@id = id
|
2412
|
+
end
|
2413
|
+
if name != nil
|
2414
|
+
@name = name
|
2415
|
+
end
|
2416
|
+
if healthy != nil
|
2417
|
+
@healthy = healthy
|
2418
|
+
end
|
2419
|
+
if tags != nil
|
2420
|
+
@tags = tags
|
2421
|
+
end
|
2422
|
+
if secret_store_id != nil
|
2423
|
+
@secret_store_id = secret_store_id
|
2424
|
+
end
|
2425
|
+
if egress_filter != nil
|
2426
|
+
@egress_filter = egress_filter
|
2427
|
+
end
|
2428
|
+
if endpoint != nil
|
2429
|
+
@endpoint = endpoint
|
2430
|
+
end
|
2431
|
+
if access_key != nil
|
2432
|
+
@access_key = access_key
|
2433
|
+
end
|
2434
|
+
if secret_access_key != nil
|
2435
|
+
@secret_access_key = secret_access_key
|
2436
|
+
end
|
2437
|
+
if certificate_authority != nil
|
2438
|
+
@certificate_authority = certificate_authority
|
2439
|
+
end
|
2440
|
+
if region != nil
|
2441
|
+
@region = region
|
2442
|
+
end
|
2443
|
+
if cluster_name != nil
|
2444
|
+
@cluster_name = cluster_name
|
2445
|
+
end
|
2446
|
+
if role_arn != nil
|
2447
|
+
@role_arn = role_arn
|
2448
|
+
end
|
2449
|
+
if role_external_id != nil
|
2450
|
+
@role_external_id = role_external_id
|
2451
|
+
end
|
2452
|
+
if healthcheck_namespace != nil
|
2453
|
+
@healthcheck_namespace = healthcheck_namespace
|
2454
|
+
end
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
def to_json(options = {})
|
2458
|
+
hash = {}
|
2459
|
+
self.instance_variables.each do |var|
|
2460
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2461
|
+
end
|
2462
|
+
hash.to_json
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
|
2466
|
+
class GoogleGKE
|
2467
|
+
# Unique identifier of the Resource.
|
2468
|
+
attr_accessor :id
|
2469
|
+
# Unique human-readable name of the Resource.
|
2470
|
+
attr_accessor :name
|
2471
|
+
# True if the datasource is reachable and the credentials are valid.
|
2472
|
+
attr_accessor :healthy
|
2473
|
+
# Tags is a map of key, value pairs.
|
2474
|
+
attr_accessor :tags
|
2475
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2476
|
+
attr_accessor :secret_store_id
|
2477
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2478
|
+
attr_accessor :egress_filter
|
2479
|
+
|
2480
|
+
attr_accessor :endpoint
|
2481
|
+
|
2482
|
+
attr_accessor :certificate_authority
|
2483
|
+
|
2484
|
+
attr_accessor :service_account_key
|
2485
|
+
|
2486
|
+
attr_accessor :healthcheck_namespace
|
2487
|
+
|
2488
|
+
def initialize(
|
2489
|
+
id: nil,
|
2490
|
+
name: nil,
|
2491
|
+
healthy: nil,
|
2492
|
+
tags: nil,
|
2493
|
+
secret_store_id: nil,
|
2494
|
+
egress_filter: nil,
|
2495
|
+
endpoint: nil,
|
2496
|
+
certificate_authority: nil,
|
2497
|
+
service_account_key: nil,
|
2498
|
+
healthcheck_namespace: nil
|
2499
|
+
)
|
2500
|
+
if id != nil
|
2501
|
+
@id = id
|
2502
|
+
end
|
2503
|
+
if name != nil
|
2504
|
+
@name = name
|
2505
|
+
end
|
2506
|
+
if healthy != nil
|
2507
|
+
@healthy = healthy
|
2508
|
+
end
|
2509
|
+
if tags != nil
|
2510
|
+
@tags = tags
|
2511
|
+
end
|
2512
|
+
if secret_store_id != nil
|
2513
|
+
@secret_store_id = secret_store_id
|
2514
|
+
end
|
2515
|
+
if egress_filter != nil
|
2516
|
+
@egress_filter = egress_filter
|
2517
|
+
end
|
2518
|
+
if endpoint != nil
|
2519
|
+
@endpoint = endpoint
|
2520
|
+
end
|
2521
|
+
if certificate_authority != nil
|
2522
|
+
@certificate_authority = certificate_authority
|
2523
|
+
end
|
2524
|
+
if service_account_key != nil
|
2525
|
+
@service_account_key = service_account_key
|
2526
|
+
end
|
2527
|
+
if healthcheck_namespace != nil
|
2528
|
+
@healthcheck_namespace = healthcheck_namespace
|
2529
|
+
end
|
2530
|
+
end
|
2531
|
+
|
2532
|
+
def to_json(options = {})
|
2533
|
+
hash = {}
|
2534
|
+
self.instance_variables.each do |var|
|
2535
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2536
|
+
end
|
2537
|
+
hash.to_json
|
2538
|
+
end
|
2539
|
+
end
|
2540
|
+
|
2541
|
+
class GoogleGKEUserImpersonation
|
1828
2542
|
# Unique identifier of the Resource.
|
1829
2543
|
attr_accessor :id
|
1830
2544
|
# Unique human-readable name of the Resource.
|
@@ -1835,12 +2549,14 @@ module SDM
|
|
1835
2549
|
attr_accessor :tags
|
1836
2550
|
# ID of the secret store containing credentials for this resource, if any.
|
1837
2551
|
attr_accessor :secret_store_id
|
2552
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2553
|
+
attr_accessor :egress_filter
|
1838
2554
|
|
1839
|
-
attr_accessor :
|
2555
|
+
attr_accessor :endpoint
|
1840
2556
|
|
1841
|
-
attr_accessor :
|
2557
|
+
attr_accessor :certificate_authority
|
1842
2558
|
|
1843
|
-
attr_accessor :
|
2559
|
+
attr_accessor :service_account_key
|
1844
2560
|
|
1845
2561
|
attr_accessor :healthcheck_namespace
|
1846
2562
|
|
@@ -1850,9 +2566,10 @@ module SDM
|
|
1850
2566
|
healthy: nil,
|
1851
2567
|
tags: nil,
|
1852
2568
|
secret_store_id: nil,
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
2569
|
+
egress_filter: nil,
|
2570
|
+
endpoint: nil,
|
2571
|
+
certificate_authority: nil,
|
2572
|
+
service_account_key: nil,
|
1856
2573
|
healthcheck_namespace: nil
|
1857
2574
|
)
|
1858
2575
|
if id != nil
|
@@ -1870,14 +2587,17 @@ module SDM
|
|
1870
2587
|
if secret_store_id != nil
|
1871
2588
|
@secret_store_id = secret_store_id
|
1872
2589
|
end
|
1873
|
-
if
|
1874
|
-
@
|
2590
|
+
if egress_filter != nil
|
2591
|
+
@egress_filter = egress_filter
|
1875
2592
|
end
|
1876
|
-
if
|
1877
|
-
@
|
2593
|
+
if endpoint != nil
|
2594
|
+
@endpoint = endpoint
|
1878
2595
|
end
|
1879
|
-
if
|
1880
|
-
@
|
2596
|
+
if certificate_authority != nil
|
2597
|
+
@certificate_authority = certificate_authority
|
2598
|
+
end
|
2599
|
+
if service_account_key != nil
|
2600
|
+
@service_account_key = service_account_key
|
1881
2601
|
end
|
1882
2602
|
if healthcheck_namespace != nil
|
1883
2603
|
@healthcheck_namespace = healthcheck_namespace
|
@@ -1893,7 +2613,7 @@ module SDM
|
|
1893
2613
|
end
|
1894
2614
|
end
|
1895
2615
|
|
1896
|
-
class
|
2616
|
+
class AKS
|
1897
2617
|
# Unique identifier of the Resource.
|
1898
2618
|
attr_accessor :id
|
1899
2619
|
# Unique human-readable name of the Resource.
|
@@ -1904,20 +2624,18 @@ module SDM
|
|
1904
2624
|
attr_accessor :tags
|
1905
2625
|
# ID of the secret store containing credentials for this resource, if any.
|
1906
2626
|
attr_accessor :secret_store_id
|
2627
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2628
|
+
attr_accessor :egress_filter
|
1907
2629
|
|
1908
|
-
attr_accessor :
|
1909
|
-
|
1910
|
-
attr_accessor :access_key
|
2630
|
+
attr_accessor :hostname
|
1911
2631
|
|
1912
|
-
attr_accessor :
|
2632
|
+
attr_accessor :port
|
1913
2633
|
|
1914
2634
|
attr_accessor :certificate_authority
|
1915
2635
|
|
1916
|
-
attr_accessor :
|
1917
|
-
|
1918
|
-
attr_accessor :cluster_name
|
2636
|
+
attr_accessor :client_certificate
|
1919
2637
|
|
1920
|
-
attr_accessor :
|
2638
|
+
attr_accessor :client_key
|
1921
2639
|
|
1922
2640
|
attr_accessor :healthcheck_namespace
|
1923
2641
|
|
@@ -1927,13 +2645,12 @@ module SDM
|
|
1927
2645
|
healthy: nil,
|
1928
2646
|
tags: nil,
|
1929
2647
|
secret_store_id: nil,
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
2648
|
+
egress_filter: nil,
|
2649
|
+
hostname: nil,
|
2650
|
+
port: nil,
|
1933
2651
|
certificate_authority: nil,
|
1934
|
-
|
1935
|
-
|
1936
|
-
role_arn: nil,
|
2652
|
+
client_certificate: nil,
|
2653
|
+
client_key: nil,
|
1937
2654
|
healthcheck_namespace: nil
|
1938
2655
|
)
|
1939
2656
|
if id != nil
|
@@ -1951,26 +2668,23 @@ module SDM
|
|
1951
2668
|
if secret_store_id != nil
|
1952
2669
|
@secret_store_id = secret_store_id
|
1953
2670
|
end
|
1954
|
-
if
|
1955
|
-
@
|
2671
|
+
if egress_filter != nil
|
2672
|
+
@egress_filter = egress_filter
|
1956
2673
|
end
|
1957
|
-
if
|
1958
|
-
@
|
2674
|
+
if hostname != nil
|
2675
|
+
@hostname = hostname
|
1959
2676
|
end
|
1960
|
-
if
|
1961
|
-
@
|
2677
|
+
if port != nil
|
2678
|
+
@port = port
|
1962
2679
|
end
|
1963
2680
|
if certificate_authority != nil
|
1964
2681
|
@certificate_authority = certificate_authority
|
1965
2682
|
end
|
1966
|
-
if
|
1967
|
-
@
|
1968
|
-
end
|
1969
|
-
if cluster_name != nil
|
1970
|
-
@cluster_name = cluster_name
|
2683
|
+
if client_certificate != nil
|
2684
|
+
@client_certificate = client_certificate
|
1971
2685
|
end
|
1972
|
-
if
|
1973
|
-
@
|
2686
|
+
if client_key != nil
|
2687
|
+
@client_key = client_key
|
1974
2688
|
end
|
1975
2689
|
if healthcheck_namespace != nil
|
1976
2690
|
@healthcheck_namespace = healthcheck_namespace
|
@@ -1986,7 +2700,7 @@ module SDM
|
|
1986
2700
|
end
|
1987
2701
|
end
|
1988
2702
|
|
1989
|
-
class
|
2703
|
+
class AKSUserImpersonation
|
1990
2704
|
# Unique identifier of the Resource.
|
1991
2705
|
attr_accessor :id
|
1992
2706
|
# Unique human-readable name of the Resource.
|
@@ -1997,12 +2711,18 @@ module SDM
|
|
1997
2711
|
attr_accessor :tags
|
1998
2712
|
# ID of the secret store containing credentials for this resource, if any.
|
1999
2713
|
attr_accessor :secret_store_id
|
2714
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2715
|
+
attr_accessor :egress_filter
|
2000
2716
|
|
2001
|
-
attr_accessor :
|
2717
|
+
attr_accessor :hostname
|
2718
|
+
|
2719
|
+
attr_accessor :port
|
2002
2720
|
|
2003
2721
|
attr_accessor :certificate_authority
|
2004
2722
|
|
2005
|
-
attr_accessor :
|
2723
|
+
attr_accessor :client_certificate
|
2724
|
+
|
2725
|
+
attr_accessor :client_key
|
2006
2726
|
|
2007
2727
|
attr_accessor :healthcheck_namespace
|
2008
2728
|
|
@@ -2012,9 +2732,12 @@ module SDM
|
|
2012
2732
|
healthy: nil,
|
2013
2733
|
tags: nil,
|
2014
2734
|
secret_store_id: nil,
|
2015
|
-
|
2735
|
+
egress_filter: nil,
|
2736
|
+
hostname: nil,
|
2737
|
+
port: nil,
|
2016
2738
|
certificate_authority: nil,
|
2017
|
-
|
2739
|
+
client_certificate: nil,
|
2740
|
+
client_key: nil,
|
2018
2741
|
healthcheck_namespace: nil
|
2019
2742
|
)
|
2020
2743
|
if id != nil
|
@@ -2032,14 +2755,23 @@ module SDM
|
|
2032
2755
|
if secret_store_id != nil
|
2033
2756
|
@secret_store_id = secret_store_id
|
2034
2757
|
end
|
2035
|
-
if
|
2036
|
-
@
|
2758
|
+
if egress_filter != nil
|
2759
|
+
@egress_filter = egress_filter
|
2760
|
+
end
|
2761
|
+
if hostname != nil
|
2762
|
+
@hostname = hostname
|
2763
|
+
end
|
2764
|
+
if port != nil
|
2765
|
+
@port = port
|
2037
2766
|
end
|
2038
2767
|
if certificate_authority != nil
|
2039
2768
|
@certificate_authority = certificate_authority
|
2040
2769
|
end
|
2041
|
-
if
|
2042
|
-
@
|
2770
|
+
if client_certificate != nil
|
2771
|
+
@client_certificate = client_certificate
|
2772
|
+
end
|
2773
|
+
if client_key != nil
|
2774
|
+
@client_key = client_key
|
2043
2775
|
end
|
2044
2776
|
if healthcheck_namespace != nil
|
2045
2777
|
@healthcheck_namespace = healthcheck_namespace
|
@@ -2055,7 +2787,7 @@ module SDM
|
|
2055
2787
|
end
|
2056
2788
|
end
|
2057
2789
|
|
2058
|
-
class
|
2790
|
+
class AKSBasicAuth
|
2059
2791
|
# Unique identifier of the Resource.
|
2060
2792
|
attr_accessor :id
|
2061
2793
|
# Unique human-readable name of the Resource.
|
@@ -2066,16 +2798,16 @@ module SDM
|
|
2066
2798
|
attr_accessor :tags
|
2067
2799
|
# ID of the secret store containing credentials for this resource, if any.
|
2068
2800
|
attr_accessor :secret_store_id
|
2801
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2802
|
+
attr_accessor :egress_filter
|
2069
2803
|
|
2070
2804
|
attr_accessor :hostname
|
2071
2805
|
|
2072
2806
|
attr_accessor :port
|
2073
2807
|
|
2074
|
-
attr_accessor :
|
2075
|
-
|
2076
|
-
attr_accessor :client_certificate
|
2808
|
+
attr_accessor :username
|
2077
2809
|
|
2078
|
-
attr_accessor :
|
2810
|
+
attr_accessor :password
|
2079
2811
|
|
2080
2812
|
attr_accessor :healthcheck_namespace
|
2081
2813
|
|
@@ -2085,11 +2817,11 @@ module SDM
|
|
2085
2817
|
healthy: nil,
|
2086
2818
|
tags: nil,
|
2087
2819
|
secret_store_id: nil,
|
2820
|
+
egress_filter: nil,
|
2088
2821
|
hostname: nil,
|
2089
2822
|
port: nil,
|
2090
|
-
|
2091
|
-
|
2092
|
-
client_key: nil,
|
2823
|
+
username: nil,
|
2824
|
+
password: nil,
|
2093
2825
|
healthcheck_namespace: nil
|
2094
2826
|
)
|
2095
2827
|
if id != nil
|
@@ -2107,20 +2839,20 @@ module SDM
|
|
2107
2839
|
if secret_store_id != nil
|
2108
2840
|
@secret_store_id = secret_store_id
|
2109
2841
|
end
|
2842
|
+
if egress_filter != nil
|
2843
|
+
@egress_filter = egress_filter
|
2844
|
+
end
|
2110
2845
|
if hostname != nil
|
2111
2846
|
@hostname = hostname
|
2112
2847
|
end
|
2113
2848
|
if port != nil
|
2114
2849
|
@port = port
|
2115
2850
|
end
|
2116
|
-
if
|
2117
|
-
@
|
2118
|
-
end
|
2119
|
-
if client_certificate != nil
|
2120
|
-
@client_certificate = client_certificate
|
2851
|
+
if username != nil
|
2852
|
+
@username = username
|
2121
2853
|
end
|
2122
|
-
if
|
2123
|
-
@
|
2854
|
+
if password != nil
|
2855
|
+
@password = password
|
2124
2856
|
end
|
2125
2857
|
if healthcheck_namespace != nil
|
2126
2858
|
@healthcheck_namespace = healthcheck_namespace
|
@@ -2136,7 +2868,7 @@ module SDM
|
|
2136
2868
|
end
|
2137
2869
|
end
|
2138
2870
|
|
2139
|
-
class
|
2871
|
+
class AKSServiceAccount
|
2140
2872
|
# Unique identifier of the Resource.
|
2141
2873
|
attr_accessor :id
|
2142
2874
|
# Unique human-readable name of the Resource.
|
@@ -2147,14 +2879,14 @@ module SDM
|
|
2147
2879
|
attr_accessor :tags
|
2148
2880
|
# ID of the secret store containing credentials for this resource, if any.
|
2149
2881
|
attr_accessor :secret_store_id
|
2882
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2883
|
+
attr_accessor :egress_filter
|
2150
2884
|
|
2151
2885
|
attr_accessor :hostname
|
2152
2886
|
|
2153
2887
|
attr_accessor :port
|
2154
2888
|
|
2155
|
-
attr_accessor :
|
2156
|
-
|
2157
|
-
attr_accessor :password
|
2889
|
+
attr_accessor :token
|
2158
2890
|
|
2159
2891
|
attr_accessor :healthcheck_namespace
|
2160
2892
|
|
@@ -2164,10 +2896,10 @@ module SDM
|
|
2164
2896
|
healthy: nil,
|
2165
2897
|
tags: nil,
|
2166
2898
|
secret_store_id: nil,
|
2899
|
+
egress_filter: nil,
|
2167
2900
|
hostname: nil,
|
2168
2901
|
port: nil,
|
2169
|
-
|
2170
|
-
password: nil,
|
2902
|
+
token: nil,
|
2171
2903
|
healthcheck_namespace: nil
|
2172
2904
|
)
|
2173
2905
|
if id != nil
|
@@ -2185,17 +2917,17 @@ module SDM
|
|
2185
2917
|
if secret_store_id != nil
|
2186
2918
|
@secret_store_id = secret_store_id
|
2187
2919
|
end
|
2920
|
+
if egress_filter != nil
|
2921
|
+
@egress_filter = egress_filter
|
2922
|
+
end
|
2188
2923
|
if hostname != nil
|
2189
2924
|
@hostname = hostname
|
2190
2925
|
end
|
2191
2926
|
if port != nil
|
2192
2927
|
@port = port
|
2193
2928
|
end
|
2194
|
-
if
|
2195
|
-
@
|
2196
|
-
end
|
2197
|
-
if password != nil
|
2198
|
-
@password = password
|
2929
|
+
if token != nil
|
2930
|
+
@token = token
|
2199
2931
|
end
|
2200
2932
|
if healthcheck_namespace != nil
|
2201
2933
|
@healthcheck_namespace = healthcheck_namespace
|
@@ -2211,7 +2943,7 @@ module SDM
|
|
2211
2943
|
end
|
2212
2944
|
end
|
2213
2945
|
|
2214
|
-
class
|
2946
|
+
class AKSServiceAccountUserImpersonation
|
2215
2947
|
# Unique identifier of the Resource.
|
2216
2948
|
attr_accessor :id
|
2217
2949
|
# Unique human-readable name of the Resource.
|
@@ -2222,6 +2954,8 @@ module SDM
|
|
2222
2954
|
attr_accessor :tags
|
2223
2955
|
# ID of the secret store containing credentials for this resource, if any.
|
2224
2956
|
attr_accessor :secret_store_id
|
2957
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2958
|
+
attr_accessor :egress_filter
|
2225
2959
|
|
2226
2960
|
attr_accessor :hostname
|
2227
2961
|
|
@@ -2237,6 +2971,7 @@ module SDM
|
|
2237
2971
|
healthy: nil,
|
2238
2972
|
tags: nil,
|
2239
2973
|
secret_store_id: nil,
|
2974
|
+
egress_filter: nil,
|
2240
2975
|
hostname: nil,
|
2241
2976
|
port: nil,
|
2242
2977
|
token: nil,
|
@@ -2257,6 +2992,9 @@ module SDM
|
|
2257
2992
|
if secret_store_id != nil
|
2258
2993
|
@secret_store_id = secret_store_id
|
2259
2994
|
end
|
2995
|
+
if egress_filter != nil
|
2996
|
+
@egress_filter = egress_filter
|
2997
|
+
end
|
2260
2998
|
if hostname != nil
|
2261
2999
|
@hostname = hostname
|
2262
3000
|
end
|
@@ -2291,6 +3029,8 @@ module SDM
|
|
2291
3029
|
attr_accessor :tags
|
2292
3030
|
# ID of the secret store containing credentials for this resource, if any.
|
2293
3031
|
attr_accessor :secret_store_id
|
3032
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3033
|
+
attr_accessor :egress_filter
|
2294
3034
|
|
2295
3035
|
attr_accessor :hostname
|
2296
3036
|
|
@@ -2304,6 +3044,7 @@ module SDM
|
|
2304
3044
|
healthy: nil,
|
2305
3045
|
tags: nil,
|
2306
3046
|
secret_store_id: nil,
|
3047
|
+
egress_filter: nil,
|
2307
3048
|
hostname: nil,
|
2308
3049
|
port_override: nil,
|
2309
3050
|
port: nil
|
@@ -2323,6 +3064,9 @@ module SDM
|
|
2323
3064
|
if secret_store_id != nil
|
2324
3065
|
@secret_store_id = secret_store_id
|
2325
3066
|
end
|
3067
|
+
if egress_filter != nil
|
3068
|
+
@egress_filter = egress_filter
|
3069
|
+
end
|
2326
3070
|
if hostname != nil
|
2327
3071
|
@hostname = hostname
|
2328
3072
|
end
|
@@ -2354,6 +3098,8 @@ module SDM
|
|
2354
3098
|
attr_accessor :tags
|
2355
3099
|
# ID of the secret store containing credentials for this resource, if any.
|
2356
3100
|
attr_accessor :secret_store_id
|
3101
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3102
|
+
attr_accessor :egress_filter
|
2357
3103
|
|
2358
3104
|
attr_accessor :hostname
|
2359
3105
|
|
@@ -2377,6 +3123,7 @@ module SDM
|
|
2377
3123
|
healthy: nil,
|
2378
3124
|
tags: nil,
|
2379
3125
|
secret_store_id: nil,
|
3126
|
+
egress_filter: nil,
|
2380
3127
|
hostname: nil,
|
2381
3128
|
auth_database: nil,
|
2382
3129
|
port_override: nil,
|
@@ -2401,6 +3148,9 @@ module SDM
|
|
2401
3148
|
if secret_store_id != nil
|
2402
3149
|
@secret_store_id = secret_store_id
|
2403
3150
|
end
|
3151
|
+
if egress_filter != nil
|
3152
|
+
@egress_filter = egress_filter
|
3153
|
+
end
|
2404
3154
|
if hostname != nil
|
2405
3155
|
@hostname = hostname
|
2406
3156
|
end
|
@@ -2447,6 +3197,8 @@ module SDM
|
|
2447
3197
|
attr_accessor :tags
|
2448
3198
|
# ID of the secret store containing credentials for this resource, if any.
|
2449
3199
|
attr_accessor :secret_store_id
|
3200
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3201
|
+
attr_accessor :egress_filter
|
2450
3202
|
|
2451
3203
|
attr_accessor :hostname
|
2452
3204
|
|
@@ -2472,6 +3224,7 @@ module SDM
|
|
2472
3224
|
healthy: nil,
|
2473
3225
|
tags: nil,
|
2474
3226
|
secret_store_id: nil,
|
3227
|
+
egress_filter: nil,
|
2475
3228
|
hostname: nil,
|
2476
3229
|
auth_database: nil,
|
2477
3230
|
port_override: nil,
|
@@ -2497,6 +3250,9 @@ module SDM
|
|
2497
3250
|
if secret_store_id != nil
|
2498
3251
|
@secret_store_id = secret_store_id
|
2499
3252
|
end
|
3253
|
+
if egress_filter != nil
|
3254
|
+
@egress_filter = egress_filter
|
3255
|
+
end
|
2500
3256
|
if hostname != nil
|
2501
3257
|
@hostname = hostname
|
2502
3258
|
end
|
@@ -2546,6 +3302,8 @@ module SDM
|
|
2546
3302
|
attr_accessor :tags
|
2547
3303
|
# ID of the secret store containing credentials for this resource, if any.
|
2548
3304
|
attr_accessor :secret_store_id
|
3305
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3306
|
+
attr_accessor :egress_filter
|
2549
3307
|
|
2550
3308
|
attr_accessor :hostname
|
2551
3309
|
|
@@ -2567,6 +3325,7 @@ module SDM
|
|
2567
3325
|
healthy: nil,
|
2568
3326
|
tags: nil,
|
2569
3327
|
secret_store_id: nil,
|
3328
|
+
egress_filter: nil,
|
2570
3329
|
hostname: nil,
|
2571
3330
|
auth_database: nil,
|
2572
3331
|
port_override: nil,
|
@@ -2590,6 +3349,9 @@ module SDM
|
|
2590
3349
|
if secret_store_id != nil
|
2591
3350
|
@secret_store_id = secret_store_id
|
2592
3351
|
end
|
3352
|
+
if egress_filter != nil
|
3353
|
+
@egress_filter = egress_filter
|
3354
|
+
end
|
2593
3355
|
if hostname != nil
|
2594
3356
|
@hostname = hostname
|
2595
3357
|
end
|
@@ -2633,6 +3395,8 @@ module SDM
|
|
2633
3395
|
attr_accessor :tags
|
2634
3396
|
# ID of the secret store containing credentials for this resource, if any.
|
2635
3397
|
attr_accessor :secret_store_id
|
3398
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3399
|
+
attr_accessor :egress_filter
|
2636
3400
|
|
2637
3401
|
attr_accessor :hostname
|
2638
3402
|
|
@@ -2658,6 +3422,7 @@ module SDM
|
|
2658
3422
|
healthy: nil,
|
2659
3423
|
tags: nil,
|
2660
3424
|
secret_store_id: nil,
|
3425
|
+
egress_filter: nil,
|
2661
3426
|
hostname: nil,
|
2662
3427
|
auth_database: nil,
|
2663
3428
|
port_override: nil,
|
@@ -2683,6 +3448,9 @@ module SDM
|
|
2683
3448
|
if secret_store_id != nil
|
2684
3449
|
@secret_store_id = secret_store_id
|
2685
3450
|
end
|
3451
|
+
if egress_filter != nil
|
3452
|
+
@egress_filter = egress_filter
|
3453
|
+
end
|
2686
3454
|
if hostname != nil
|
2687
3455
|
@hostname = hostname
|
2688
3456
|
end
|
@@ -2732,6 +3500,8 @@ module SDM
|
|
2732
3500
|
attr_accessor :tags
|
2733
3501
|
# ID of the secret store containing credentials for this resource, if any.
|
2734
3502
|
attr_accessor :secret_store_id
|
3503
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3504
|
+
attr_accessor :egress_filter
|
2735
3505
|
|
2736
3506
|
attr_accessor :hostname
|
2737
3507
|
|
@@ -2751,6 +3521,7 @@ module SDM
|
|
2751
3521
|
healthy: nil,
|
2752
3522
|
tags: nil,
|
2753
3523
|
secret_store_id: nil,
|
3524
|
+
egress_filter: nil,
|
2754
3525
|
hostname: nil,
|
2755
3526
|
username: nil,
|
2756
3527
|
password: nil,
|
@@ -2773,6 +3544,9 @@ module SDM
|
|
2773
3544
|
if secret_store_id != nil
|
2774
3545
|
@secret_store_id = secret_store_id
|
2775
3546
|
end
|
3547
|
+
if egress_filter != nil
|
3548
|
+
@egress_filter = egress_filter
|
3549
|
+
end
|
2776
3550
|
if hostname != nil
|
2777
3551
|
@hostname = hostname
|
2778
3552
|
end
|
@@ -2813,6 +3587,8 @@ module SDM
|
|
2813
3587
|
attr_accessor :tags
|
2814
3588
|
# ID of the secret store containing credentials for this resource, if any.
|
2815
3589
|
attr_accessor :secret_store_id
|
3590
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3591
|
+
attr_accessor :egress_filter
|
2816
3592
|
|
2817
3593
|
attr_accessor :hostname
|
2818
3594
|
|
@@ -2832,6 +3608,7 @@ module SDM
|
|
2832
3608
|
healthy: nil,
|
2833
3609
|
tags: nil,
|
2834
3610
|
secret_store_id: nil,
|
3611
|
+
egress_filter: nil,
|
2835
3612
|
hostname: nil,
|
2836
3613
|
username: nil,
|
2837
3614
|
password: nil,
|
@@ -2854,6 +3631,9 @@ module SDM
|
|
2854
3631
|
if secret_store_id != nil
|
2855
3632
|
@secret_store_id = secret_store_id
|
2856
3633
|
end
|
3634
|
+
if egress_filter != nil
|
3635
|
+
@egress_filter = egress_filter
|
3636
|
+
end
|
2857
3637
|
if hostname != nil
|
2858
3638
|
@hostname = hostname
|
2859
3639
|
end
|
@@ -2894,6 +3674,8 @@ module SDM
|
|
2894
3674
|
attr_accessor :tags
|
2895
3675
|
# ID of the secret store containing credentials for this resource, if any.
|
2896
3676
|
attr_accessor :secret_store_id
|
3677
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3678
|
+
attr_accessor :egress_filter
|
2897
3679
|
|
2898
3680
|
attr_accessor :hostname
|
2899
3681
|
|
@@ -2913,6 +3695,7 @@ module SDM
|
|
2913
3695
|
healthy: nil,
|
2914
3696
|
tags: nil,
|
2915
3697
|
secret_store_id: nil,
|
3698
|
+
egress_filter: nil,
|
2916
3699
|
hostname: nil,
|
2917
3700
|
username: nil,
|
2918
3701
|
password: nil,
|
@@ -2935,6 +3718,9 @@ module SDM
|
|
2935
3718
|
if secret_store_id != nil
|
2936
3719
|
@secret_store_id = secret_store_id
|
2937
3720
|
end
|
3721
|
+
if egress_filter != nil
|
3722
|
+
@egress_filter = egress_filter
|
3723
|
+
end
|
2938
3724
|
if hostname != nil
|
2939
3725
|
@hostname = hostname
|
2940
3726
|
end
|
@@ -2975,6 +3761,8 @@ module SDM
|
|
2975
3761
|
attr_accessor :tags
|
2976
3762
|
# ID of the secret store containing credentials for this resource, if any.
|
2977
3763
|
attr_accessor :secret_store_id
|
3764
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3765
|
+
attr_accessor :egress_filter
|
2978
3766
|
|
2979
3767
|
attr_accessor :hostname
|
2980
3768
|
|
@@ -2994,6 +3782,7 @@ module SDM
|
|
2994
3782
|
healthy: nil,
|
2995
3783
|
tags: nil,
|
2996
3784
|
secret_store_id: nil,
|
3785
|
+
egress_filter: nil,
|
2997
3786
|
hostname: nil,
|
2998
3787
|
username: nil,
|
2999
3788
|
password: nil,
|
@@ -3016,6 +3805,9 @@ module SDM
|
|
3016
3805
|
if secret_store_id != nil
|
3017
3806
|
@secret_store_id = secret_store_id
|
3018
3807
|
end
|
3808
|
+
if egress_filter != nil
|
3809
|
+
@egress_filter = egress_filter
|
3810
|
+
end
|
3019
3811
|
if hostname != nil
|
3020
3812
|
@hostname = hostname
|
3021
3813
|
end
|
@@ -3056,6 +3848,8 @@ module SDM
|
|
3056
3848
|
attr_accessor :tags
|
3057
3849
|
# ID of the secret store containing credentials for this resource, if any.
|
3058
3850
|
attr_accessor :secret_store_id
|
3851
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3852
|
+
attr_accessor :egress_filter
|
3059
3853
|
|
3060
3854
|
attr_accessor :hostname
|
3061
3855
|
|
@@ -3075,6 +3869,7 @@ module SDM
|
|
3075
3869
|
healthy: nil,
|
3076
3870
|
tags: nil,
|
3077
3871
|
secret_store_id: nil,
|
3872
|
+
egress_filter: nil,
|
3078
3873
|
hostname: nil,
|
3079
3874
|
username: nil,
|
3080
3875
|
password: nil,
|
@@ -3097,6 +3892,9 @@ module SDM
|
|
3097
3892
|
if secret_store_id != nil
|
3098
3893
|
@secret_store_id = secret_store_id
|
3099
3894
|
end
|
3895
|
+
if egress_filter != nil
|
3896
|
+
@egress_filter = egress_filter
|
3897
|
+
end
|
3100
3898
|
if hostname != nil
|
3101
3899
|
@hostname = hostname
|
3102
3900
|
end
|
@@ -3137,6 +3935,8 @@ module SDM
|
|
3137
3935
|
attr_accessor :tags
|
3138
3936
|
# ID of the secret store containing credentials for this resource, if any.
|
3139
3937
|
attr_accessor :secret_store_id
|
3938
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3939
|
+
attr_accessor :egress_filter
|
3140
3940
|
|
3141
3941
|
attr_accessor :hostname
|
3142
3942
|
|
@@ -3158,6 +3958,7 @@ module SDM
|
|
3158
3958
|
healthy: nil,
|
3159
3959
|
tags: nil,
|
3160
3960
|
secret_store_id: nil,
|
3961
|
+
egress_filter: nil,
|
3161
3962
|
hostname: nil,
|
3162
3963
|
username: nil,
|
3163
3964
|
password: nil,
|
@@ -3181,6 +3982,9 @@ module SDM
|
|
3181
3982
|
if secret_store_id != nil
|
3182
3983
|
@secret_store_id = secret_store_id
|
3183
3984
|
end
|
3985
|
+
if egress_filter != nil
|
3986
|
+
@egress_filter = egress_filter
|
3987
|
+
end
|
3184
3988
|
if hostname != nil
|
3185
3989
|
@hostname = hostname
|
3186
3990
|
end
|
@@ -3224,6 +4028,8 @@ module SDM
|
|
3224
4028
|
attr_accessor :tags
|
3225
4029
|
# ID of the secret store containing credentials for this resource, if any.
|
3226
4030
|
attr_accessor :secret_store_id
|
4031
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4032
|
+
attr_accessor :egress_filter
|
3227
4033
|
|
3228
4034
|
attr_accessor :hostname
|
3229
4035
|
|
@@ -3245,6 +4051,7 @@ module SDM
|
|
3245
4051
|
healthy: nil,
|
3246
4052
|
tags: nil,
|
3247
4053
|
secret_store_id: nil,
|
4054
|
+
egress_filter: nil,
|
3248
4055
|
hostname: nil,
|
3249
4056
|
username: nil,
|
3250
4057
|
password: nil,
|
@@ -3268,6 +4075,9 @@ module SDM
|
|
3268
4075
|
if secret_store_id != nil
|
3269
4076
|
@secret_store_id = secret_store_id
|
3270
4077
|
end
|
4078
|
+
if egress_filter != nil
|
4079
|
+
@egress_filter = egress_filter
|
4080
|
+
end
|
3271
4081
|
if hostname != nil
|
3272
4082
|
@hostname = hostname
|
3273
4083
|
end
|
@@ -3311,6 +4121,8 @@ module SDM
|
|
3311
4121
|
attr_accessor :tags
|
3312
4122
|
# ID of the secret store containing credentials for this resource, if any.
|
3313
4123
|
attr_accessor :secret_store_id
|
4124
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4125
|
+
attr_accessor :egress_filter
|
3314
4126
|
|
3315
4127
|
attr_accessor :hostname
|
3316
4128
|
|
@@ -3332,6 +4144,7 @@ module SDM
|
|
3332
4144
|
healthy: nil,
|
3333
4145
|
tags: nil,
|
3334
4146
|
secret_store_id: nil,
|
4147
|
+
egress_filter: nil,
|
3335
4148
|
hostname: nil,
|
3336
4149
|
username: nil,
|
3337
4150
|
password: nil,
|
@@ -3355,6 +4168,9 @@ module SDM
|
|
3355
4168
|
if secret_store_id != nil
|
3356
4169
|
@secret_store_id = secret_store_id
|
3357
4170
|
end
|
4171
|
+
if egress_filter != nil
|
4172
|
+
@egress_filter = egress_filter
|
4173
|
+
end
|
3358
4174
|
if hostname != nil
|
3359
4175
|
@hostname = hostname
|
3360
4176
|
end
|
@@ -3398,6 +4214,8 @@ module SDM
|
|
3398
4214
|
attr_accessor :tags
|
3399
4215
|
# ID of the secret store containing credentials for this resource, if any.
|
3400
4216
|
attr_accessor :secret_store_id
|
4217
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4218
|
+
attr_accessor :egress_filter
|
3401
4219
|
|
3402
4220
|
attr_accessor :hostname
|
3403
4221
|
|
@@ -3419,6 +4237,7 @@ module SDM
|
|
3419
4237
|
healthy: nil,
|
3420
4238
|
tags: nil,
|
3421
4239
|
secret_store_id: nil,
|
4240
|
+
egress_filter: nil,
|
3422
4241
|
hostname: nil,
|
3423
4242
|
username: nil,
|
3424
4243
|
password: nil,
|
@@ -3442,6 +4261,9 @@ module SDM
|
|
3442
4261
|
if secret_store_id != nil
|
3443
4262
|
@secret_store_id = secret_store_id
|
3444
4263
|
end
|
4264
|
+
if egress_filter != nil
|
4265
|
+
@egress_filter = egress_filter
|
4266
|
+
end
|
3445
4267
|
if hostname != nil
|
3446
4268
|
@hostname = hostname
|
3447
4269
|
end
|
@@ -3485,6 +4307,8 @@ module SDM
|
|
3485
4307
|
attr_accessor :tags
|
3486
4308
|
# ID of the secret store containing credentials for this resource, if any.
|
3487
4309
|
attr_accessor :secret_store_id
|
4310
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4311
|
+
attr_accessor :egress_filter
|
3488
4312
|
|
3489
4313
|
attr_accessor :hostname
|
3490
4314
|
|
@@ -3506,6 +4330,7 @@ module SDM
|
|
3506
4330
|
healthy: nil,
|
3507
4331
|
tags: nil,
|
3508
4332
|
secret_store_id: nil,
|
4333
|
+
egress_filter: nil,
|
3509
4334
|
hostname: nil,
|
3510
4335
|
username: nil,
|
3511
4336
|
password: nil,
|
@@ -3529,6 +4354,9 @@ module SDM
|
|
3529
4354
|
if secret_store_id != nil
|
3530
4355
|
@secret_store_id = secret_store_id
|
3531
4356
|
end
|
4357
|
+
if egress_filter != nil
|
4358
|
+
@egress_filter = egress_filter
|
4359
|
+
end
|
3532
4360
|
if hostname != nil
|
3533
4361
|
@hostname = hostname
|
3534
4362
|
end
|
@@ -3572,6 +4400,8 @@ module SDM
|
|
3572
4400
|
attr_accessor :tags
|
3573
4401
|
# ID of the secret store containing credentials for this resource, if any.
|
3574
4402
|
attr_accessor :secret_store_id
|
4403
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4404
|
+
attr_accessor :egress_filter
|
3575
4405
|
|
3576
4406
|
attr_accessor :hostname
|
3577
4407
|
|
@@ -3593,6 +4423,7 @@ module SDM
|
|
3593
4423
|
healthy: nil,
|
3594
4424
|
tags: nil,
|
3595
4425
|
secret_store_id: nil,
|
4426
|
+
egress_filter: nil,
|
3596
4427
|
hostname: nil,
|
3597
4428
|
username: nil,
|
3598
4429
|
password: nil,
|
@@ -3616,6 +4447,9 @@ module SDM
|
|
3616
4447
|
if secret_store_id != nil
|
3617
4448
|
@secret_store_id = secret_store_id
|
3618
4449
|
end
|
4450
|
+
if egress_filter != nil
|
4451
|
+
@egress_filter = egress_filter
|
4452
|
+
end
|
3619
4453
|
if hostname != nil
|
3620
4454
|
@hostname = hostname
|
3621
4455
|
end
|
@@ -3659,6 +4493,8 @@ module SDM
|
|
3659
4493
|
attr_accessor :tags
|
3660
4494
|
# ID of the secret store containing credentials for this resource, if any.
|
3661
4495
|
attr_accessor :secret_store_id
|
4496
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4497
|
+
attr_accessor :egress_filter
|
3662
4498
|
|
3663
4499
|
attr_accessor :hostname
|
3664
4500
|
|
@@ -3680,6 +4516,7 @@ module SDM
|
|
3680
4516
|
healthy: nil,
|
3681
4517
|
tags: nil,
|
3682
4518
|
secret_store_id: nil,
|
4519
|
+
egress_filter: nil,
|
3683
4520
|
hostname: nil,
|
3684
4521
|
username: nil,
|
3685
4522
|
password: nil,
|
@@ -3703,6 +4540,9 @@ module SDM
|
|
3703
4540
|
if secret_store_id != nil
|
3704
4541
|
@secret_store_id = secret_store_id
|
3705
4542
|
end
|
4543
|
+
if egress_filter != nil
|
4544
|
+
@egress_filter = egress_filter
|
4545
|
+
end
|
3706
4546
|
if hostname != nil
|
3707
4547
|
@hostname = hostname
|
3708
4548
|
end
|
@@ -3746,6 +4586,8 @@ module SDM
|
|
3746
4586
|
attr_accessor :tags
|
3747
4587
|
# ID of the secret store containing credentials for this resource, if any.
|
3748
4588
|
attr_accessor :secret_store_id
|
4589
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4590
|
+
attr_accessor :egress_filter
|
3749
4591
|
|
3750
4592
|
attr_accessor :hostname
|
3751
4593
|
|
@@ -3767,6 +4609,7 @@ module SDM
|
|
3767
4609
|
healthy: nil,
|
3768
4610
|
tags: nil,
|
3769
4611
|
secret_store_id: nil,
|
4612
|
+
egress_filter: nil,
|
3770
4613
|
hostname: nil,
|
3771
4614
|
password: nil,
|
3772
4615
|
database: nil,
|
@@ -3790,6 +4633,9 @@ module SDM
|
|
3790
4633
|
if secret_store_id != nil
|
3791
4634
|
@secret_store_id = secret_store_id
|
3792
4635
|
end
|
4636
|
+
if egress_filter != nil
|
4637
|
+
@egress_filter = egress_filter
|
4638
|
+
end
|
3793
4639
|
if hostname != nil
|
3794
4640
|
@hostname = hostname
|
3795
4641
|
end
|
@@ -3833,6 +4679,8 @@ module SDM
|
|
3833
4679
|
attr_accessor :tags
|
3834
4680
|
# ID of the secret store containing credentials for this resource, if any.
|
3835
4681
|
attr_accessor :secret_store_id
|
4682
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4683
|
+
attr_accessor :egress_filter
|
3836
4684
|
|
3837
4685
|
attr_accessor :hostname
|
3838
4686
|
|
@@ -3850,6 +4698,7 @@ module SDM
|
|
3850
4698
|
healthy: nil,
|
3851
4699
|
tags: nil,
|
3852
4700
|
secret_store_id: nil,
|
4701
|
+
egress_filter: nil,
|
3853
4702
|
hostname: nil,
|
3854
4703
|
username: nil,
|
3855
4704
|
password: nil,
|
@@ -3871,6 +4720,9 @@ module SDM
|
|
3871
4720
|
if secret_store_id != nil
|
3872
4721
|
@secret_store_id = secret_store_id
|
3873
4722
|
end
|
4723
|
+
if egress_filter != nil
|
4724
|
+
@egress_filter = egress_filter
|
4725
|
+
end
|
3874
4726
|
if hostname != nil
|
3875
4727
|
@hostname = hostname
|
3876
4728
|
end
|
@@ -3908,6 +4760,8 @@ module SDM
|
|
3908
4760
|
attr_accessor :tags
|
3909
4761
|
# ID of the secret store containing credentials for this resource, if any.
|
3910
4762
|
attr_accessor :secret_store_id
|
4763
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4764
|
+
attr_accessor :egress_filter
|
3911
4765
|
|
3912
4766
|
attr_accessor :hostname
|
3913
4767
|
|
@@ -3923,6 +4777,7 @@ module SDM
|
|
3923
4777
|
healthy: nil,
|
3924
4778
|
tags: nil,
|
3925
4779
|
secret_store_id: nil,
|
4780
|
+
egress_filter: nil,
|
3926
4781
|
hostname: nil,
|
3927
4782
|
port_override: nil,
|
3928
4783
|
password: nil,
|
@@ -3943,6 +4798,9 @@ module SDM
|
|
3943
4798
|
if secret_store_id != nil
|
3944
4799
|
@secret_store_id = secret_store_id
|
3945
4800
|
end
|
4801
|
+
if egress_filter != nil
|
4802
|
+
@egress_filter = egress_filter
|
4803
|
+
end
|
3946
4804
|
if hostname != nil
|
3947
4805
|
@hostname = hostname
|
3948
4806
|
end
|
@@ -3977,6 +4835,8 @@ module SDM
|
|
3977
4835
|
attr_accessor :tags
|
3978
4836
|
# ID of the secret store containing credentials for this resource, if any.
|
3979
4837
|
attr_accessor :secret_store_id
|
4838
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4839
|
+
attr_accessor :egress_filter
|
3980
4840
|
|
3981
4841
|
attr_accessor :hostname
|
3982
4842
|
|
@@ -3994,6 +4854,7 @@ module SDM
|
|
3994
4854
|
healthy: nil,
|
3995
4855
|
tags: nil,
|
3996
4856
|
secret_store_id: nil,
|
4857
|
+
egress_filter: nil,
|
3997
4858
|
hostname: nil,
|
3998
4859
|
port_override: nil,
|
3999
4860
|
password: nil,
|
@@ -4015,6 +4876,9 @@ module SDM
|
|
4015
4876
|
if secret_store_id != nil
|
4016
4877
|
@secret_store_id = secret_store_id
|
4017
4878
|
end
|
4879
|
+
if egress_filter != nil
|
4880
|
+
@egress_filter = egress_filter
|
4881
|
+
end
|
4018
4882
|
if hostname != nil
|
4019
4883
|
@hostname = hostname
|
4020
4884
|
end
|
@@ -4052,6 +4916,8 @@ module SDM
|
|
4052
4916
|
attr_accessor :tags
|
4053
4917
|
# ID of the secret store containing credentials for this resource, if any.
|
4054
4918
|
attr_accessor :secret_store_id
|
4919
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4920
|
+
attr_accessor :egress_filter
|
4055
4921
|
|
4056
4922
|
attr_accessor :hostname
|
4057
4923
|
|
@@ -4071,6 +4937,7 @@ module SDM
|
|
4071
4937
|
healthy: nil,
|
4072
4938
|
tags: nil,
|
4073
4939
|
secret_store_id: nil,
|
4940
|
+
egress_filter: nil,
|
4074
4941
|
hostname: nil,
|
4075
4942
|
username: nil,
|
4076
4943
|
password: nil,
|
@@ -4093,6 +4960,9 @@ module SDM
|
|
4093
4960
|
if secret_store_id != nil
|
4094
4961
|
@secret_store_id = secret_store_id
|
4095
4962
|
end
|
4963
|
+
if egress_filter != nil
|
4964
|
+
@egress_filter = egress_filter
|
4965
|
+
end
|
4096
4966
|
if hostname != nil
|
4097
4967
|
@hostname = hostname
|
4098
4968
|
end
|
@@ -4133,6 +5003,8 @@ module SDM
|
|
4133
5003
|
attr_accessor :tags
|
4134
5004
|
# ID of the secret store containing credentials for this resource, if any.
|
4135
5005
|
attr_accessor :secret_store_id
|
5006
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5007
|
+
attr_accessor :egress_filter
|
4136
5008
|
|
4137
5009
|
attr_accessor :hostname
|
4138
5010
|
|
@@ -4156,6 +5028,7 @@ module SDM
|
|
4156
5028
|
healthy: nil,
|
4157
5029
|
tags: nil,
|
4158
5030
|
secret_store_id: nil,
|
5031
|
+
egress_filter: nil,
|
4159
5032
|
hostname: nil,
|
4160
5033
|
username: nil,
|
4161
5034
|
password: nil,
|
@@ -4180,6 +5053,9 @@ module SDM
|
|
4180
5053
|
if secret_store_id != nil
|
4181
5054
|
@secret_store_id = secret_store_id
|
4182
5055
|
end
|
5056
|
+
if egress_filter != nil
|
5057
|
+
@egress_filter = egress_filter
|
5058
|
+
end
|
4183
5059
|
if hostname != nil
|
4184
5060
|
@hostname = hostname
|
4185
5061
|
end
|
@@ -4226,6 +5102,8 @@ module SDM
|
|
4226
5102
|
attr_accessor :tags
|
4227
5103
|
# ID of the secret store containing credentials for this resource, if any.
|
4228
5104
|
attr_accessor :secret_store_id
|
5105
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5106
|
+
attr_accessor :egress_filter
|
4229
5107
|
|
4230
5108
|
attr_accessor :hostname
|
4231
5109
|
|
@@ -4245,6 +5123,7 @@ module SDM
|
|
4245
5123
|
healthy: nil,
|
4246
5124
|
tags: nil,
|
4247
5125
|
secret_store_id: nil,
|
5126
|
+
egress_filter: nil,
|
4248
5127
|
hostname: nil,
|
4249
5128
|
username: nil,
|
4250
5129
|
port: nil,
|
@@ -4267,6 +5146,9 @@ module SDM
|
|
4267
5146
|
if secret_store_id != nil
|
4268
5147
|
@secret_store_id = secret_store_id
|
4269
5148
|
end
|
5149
|
+
if egress_filter != nil
|
5150
|
+
@egress_filter = egress_filter
|
5151
|
+
end
|
4270
5152
|
if hostname != nil
|
4271
5153
|
@hostname = hostname
|
4272
5154
|
end
|
@@ -4307,6 +5189,89 @@ module SDM
|
|
4307
5189
|
attr_accessor :tags
|
4308
5190
|
# ID of the secret store containing credentials for this resource, if any.
|
4309
5191
|
attr_accessor :secret_store_id
|
5192
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5193
|
+
attr_accessor :egress_filter
|
5194
|
+
|
5195
|
+
attr_accessor :hostname
|
5196
|
+
|
5197
|
+
attr_accessor :username
|
5198
|
+
|
5199
|
+
attr_accessor :port
|
5200
|
+
|
5201
|
+
attr_accessor :port_forwarding
|
5202
|
+
|
5203
|
+
attr_accessor :allow_deprecated_key_exchanges
|
5204
|
+
|
5205
|
+
def initialize(
|
5206
|
+
id: nil,
|
5207
|
+
name: nil,
|
5208
|
+
healthy: nil,
|
5209
|
+
tags: nil,
|
5210
|
+
secret_store_id: nil,
|
5211
|
+
egress_filter: nil,
|
5212
|
+
hostname: nil,
|
5213
|
+
username: nil,
|
5214
|
+
port: nil,
|
5215
|
+
port_forwarding: nil,
|
5216
|
+
allow_deprecated_key_exchanges: nil
|
5217
|
+
)
|
5218
|
+
if id != nil
|
5219
|
+
@id = id
|
5220
|
+
end
|
5221
|
+
if name != nil
|
5222
|
+
@name = name
|
5223
|
+
end
|
5224
|
+
if healthy != nil
|
5225
|
+
@healthy = healthy
|
5226
|
+
end
|
5227
|
+
if tags != nil
|
5228
|
+
@tags = tags
|
5229
|
+
end
|
5230
|
+
if secret_store_id != nil
|
5231
|
+
@secret_store_id = secret_store_id
|
5232
|
+
end
|
5233
|
+
if egress_filter != nil
|
5234
|
+
@egress_filter = egress_filter
|
5235
|
+
end
|
5236
|
+
if hostname != nil
|
5237
|
+
@hostname = hostname
|
5238
|
+
end
|
5239
|
+
if username != nil
|
5240
|
+
@username = username
|
5241
|
+
end
|
5242
|
+
if port != nil
|
5243
|
+
@port = port
|
5244
|
+
end
|
5245
|
+
if port_forwarding != nil
|
5246
|
+
@port_forwarding = port_forwarding
|
5247
|
+
end
|
5248
|
+
if allow_deprecated_key_exchanges != nil
|
5249
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
|
5250
|
+
end
|
5251
|
+
end
|
5252
|
+
|
5253
|
+
def to_json(options = {})
|
5254
|
+
hash = {}
|
5255
|
+
self.instance_variables.each do |var|
|
5256
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5257
|
+
end
|
5258
|
+
hash.to_json
|
5259
|
+
end
|
5260
|
+
end
|
5261
|
+
|
5262
|
+
class SSHCustomerKey
|
5263
|
+
# Unique identifier of the Resource.
|
5264
|
+
attr_accessor :id
|
5265
|
+
# Unique human-readable name of the Resource.
|
5266
|
+
attr_accessor :name
|
5267
|
+
# True if the datasource is reachable and the credentials are valid.
|
5268
|
+
attr_accessor :healthy
|
5269
|
+
# Tags is a map of key, value pairs.
|
5270
|
+
attr_accessor :tags
|
5271
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5272
|
+
attr_accessor :secret_store_id
|
5273
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5274
|
+
attr_accessor :egress_filter
|
4310
5275
|
|
4311
5276
|
attr_accessor :hostname
|
4312
5277
|
|
@@ -4314,6 +5279,8 @@ module SDM
|
|
4314
5279
|
|
4315
5280
|
attr_accessor :port
|
4316
5281
|
|
5282
|
+
attr_accessor :private_key
|
5283
|
+
|
4317
5284
|
attr_accessor :port_forwarding
|
4318
5285
|
|
4319
5286
|
attr_accessor :allow_deprecated_key_exchanges
|
@@ -4324,9 +5291,11 @@ module SDM
|
|
4324
5291
|
healthy: nil,
|
4325
5292
|
tags: nil,
|
4326
5293
|
secret_store_id: nil,
|
5294
|
+
egress_filter: nil,
|
4327
5295
|
hostname: nil,
|
4328
5296
|
username: nil,
|
4329
5297
|
port: nil,
|
5298
|
+
private_key: nil,
|
4330
5299
|
port_forwarding: nil,
|
4331
5300
|
allow_deprecated_key_exchanges: nil
|
4332
5301
|
)
|
@@ -4345,6 +5314,9 @@ module SDM
|
|
4345
5314
|
if secret_store_id != nil
|
4346
5315
|
@secret_store_id = secret_store_id
|
4347
5316
|
end
|
5317
|
+
if egress_filter != nil
|
5318
|
+
@egress_filter = egress_filter
|
5319
|
+
end
|
4348
5320
|
if hostname != nil
|
4349
5321
|
@hostname = hostname
|
4350
5322
|
end
|
@@ -4354,6 +5326,9 @@ module SDM
|
|
4354
5326
|
if port != nil
|
4355
5327
|
@port = port
|
4356
5328
|
end
|
5329
|
+
if private_key != nil
|
5330
|
+
@private_key = private_key
|
5331
|
+
end
|
4357
5332
|
if port_forwarding != nil
|
4358
5333
|
@port_forwarding = port_forwarding
|
4359
5334
|
end
|
@@ -4382,6 +5357,8 @@ module SDM
|
|
4382
5357
|
attr_accessor :tags
|
4383
5358
|
# ID of the secret store containing credentials for this resource, if any.
|
4384
5359
|
attr_accessor :secret_store_id
|
5360
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5361
|
+
attr_accessor :egress_filter
|
4385
5362
|
|
4386
5363
|
attr_accessor :hostname
|
4387
5364
|
|
@@ -4399,6 +5376,7 @@ module SDM
|
|
4399
5376
|
healthy: nil,
|
4400
5377
|
tags: nil,
|
4401
5378
|
secret_store_id: nil,
|
5379
|
+
egress_filter: nil,
|
4402
5380
|
hostname: nil,
|
4403
5381
|
username: nil,
|
4404
5382
|
port_override: nil,
|
@@ -4420,6 +5398,9 @@ module SDM
|
|
4420
5398
|
if secret_store_id != nil
|
4421
5399
|
@secret_store_id = secret_store_id
|
4422
5400
|
end
|
5401
|
+
if egress_filter != nil
|
5402
|
+
@egress_filter = egress_filter
|
5403
|
+
end
|
4423
5404
|
if hostname != nil
|
4424
5405
|
@hostname = hostname
|
4425
5406
|
end
|
@@ -4457,6 +5438,8 @@ module SDM
|
|
4457
5438
|
attr_accessor :tags
|
4458
5439
|
# ID of the secret store containing credentials for this resource, if any.
|
4459
5440
|
attr_accessor :secret_store_id
|
5441
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5442
|
+
attr_accessor :egress_filter
|
4460
5443
|
|
4461
5444
|
attr_accessor :hostname
|
4462
5445
|
|
@@ -4474,6 +5457,7 @@ module SDM
|
|
4474
5457
|
healthy: nil,
|
4475
5458
|
tags: nil,
|
4476
5459
|
secret_store_id: nil,
|
5460
|
+
egress_filter: nil,
|
4477
5461
|
hostname: nil,
|
4478
5462
|
username: nil,
|
4479
5463
|
port_override: nil,
|
@@ -4495,6 +5479,9 @@ module SDM
|
|
4495
5479
|
if secret_store_id != nil
|
4496
5480
|
@secret_store_id = secret_store_id
|
4497
5481
|
end
|
5482
|
+
if egress_filter != nil
|
5483
|
+
@egress_filter = egress_filter
|
5484
|
+
end
|
4498
5485
|
if hostname != nil
|
4499
5486
|
@hostname = hostname
|
4500
5487
|
end
|
@@ -4532,6 +5519,8 @@ module SDM
|
|
4532
5519
|
attr_accessor :tags
|
4533
5520
|
# ID of the secret store containing credentials for this resource, if any.
|
4534
5521
|
attr_accessor :secret_store_id
|
5522
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5523
|
+
attr_accessor :egress_filter
|
4535
5524
|
|
4536
5525
|
attr_accessor :hostname
|
4537
5526
|
|
@@ -4549,6 +5538,7 @@ module SDM
|
|
4549
5538
|
healthy: nil,
|
4550
5539
|
tags: nil,
|
4551
5540
|
secret_store_id: nil,
|
5541
|
+
egress_filter: nil,
|
4552
5542
|
hostname: nil,
|
4553
5543
|
username: nil,
|
4554
5544
|
password: nil,
|
@@ -4570,6 +5560,9 @@ module SDM
|
|
4570
5560
|
if secret_store_id != nil
|
4571
5561
|
@secret_store_id = secret_store_id
|
4572
5562
|
end
|
5563
|
+
if egress_filter != nil
|
5564
|
+
@egress_filter = egress_filter
|
5565
|
+
end
|
4573
5566
|
if hostname != nil
|
4574
5567
|
@hostname = hostname
|
4575
5568
|
end
|