strongdm 1.0.1 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -7
  3. data/doc/LICENSE.html +1 -11
  4. data/doc/Object.html +1 -356
  5. data/doc/README_md.html +31 -20
  6. data/doc/SDM.html +1 -1
  7. data/doc/SDM/AKS.html +40 -4
  8. data/doc/SDM/AKSBasicAuth.html +40 -4
  9. data/doc/SDM/AKSServiceAccount.html +40 -4
  10. data/doc/SDM/AccountAttachment.html +3 -3
  11. data/doc/SDM/AccountAttachmentCreateResponse.html +3 -3
  12. data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -3
  13. data/doc/SDM/AccountAttachmentGetResponse.html +3 -3
  14. data/doc/SDM/AccountAttachments.html +22 -24
  15. data/doc/SDM/AccountCreateResponse.html +3 -3
  16. data/doc/SDM/AccountDeleteResponse.html +3 -3
  17. data/doc/SDM/AccountGetResponse.html +3 -3
  18. data/doc/SDM/AccountGrant.html +3 -3
  19. data/doc/SDM/AccountGrantCreateResponse.html +3 -3
  20. data/doc/SDM/AccountGrantDeleteResponse.html +3 -3
  21. data/doc/SDM/AccountGrantGetResponse.html +3 -3
  22. data/doc/SDM/AccountGrants.html +24 -24
  23. data/doc/SDM/AccountUpdateResponse.html +3 -3
  24. data/doc/SDM/Accounts.html +30 -30
  25. data/doc/SDM/AlreadyExistsError.html +1 -1
  26. data/doc/SDM/AmazonEKS.html +58 -4
  27. data/doc/SDM/AmazonES.html +22 -4
  28. data/doc/SDM/Athena.html +22 -4
  29. data/doc/SDM/AuroraMysql.html +22 -4
  30. data/doc/SDM/AuroraPostgres.html +22 -4
  31. data/doc/SDM/AuthenticationError.html +1 -1
  32. data/doc/SDM/BadRequestError.html +1 -1
  33. data/doc/SDM/BigQuery.html +22 -4
  34. data/doc/SDM/Cassandra.html +22 -4
  35. data/doc/SDM/Citus.html +409 -0
  36. data/doc/SDM/Client.html +2 -2
  37. data/doc/SDM/Clustrix.html +22 -4
  38. data/doc/SDM/Cockroach.html +22 -4
  39. data/doc/SDM/CreateResponseMetadata.html +1 -1
  40. data/doc/SDM/DB2.html +391 -0
  41. data/doc/SDM/DB2LUW.html +391 -0
  42. data/doc/SDM/DB2i.html +391 -0
  43. data/doc/SDM/DeadlineExceededError.html +1 -1
  44. data/doc/SDM/DeleteResponseMetadata.html +1 -1
  45. data/doc/SDM/Druid.html +22 -4
  46. data/doc/SDM/DynamoDB.html +22 -4
  47. data/doc/SDM/Elastic.html +22 -4
  48. data/doc/SDM/ElasticacheRedis.html +22 -4
  49. data/doc/SDM/Gateway.html +22 -4
  50. data/doc/SDM/GetResponseMetadata.html +1 -1
  51. data/doc/SDM/GoogleGKE.html +40 -4
  52. data/doc/SDM/Greenplum.html +22 -4
  53. data/doc/SDM/HTTPAuth.html +22 -4
  54. data/doc/SDM/HTTPBasicAuth.html +22 -4
  55. data/doc/SDM/HTTPNoAuth.html +22 -4
  56. data/doc/SDM/InternalError.html +1 -1
  57. data/doc/SDM/Kubernetes.html +40 -4
  58. data/doc/SDM/KubernetesBasicAuth.html +40 -4
  59. data/doc/SDM/KubernetesServiceAccount.html +40 -4
  60. data/doc/SDM/Maria.html +22 -4
  61. data/doc/SDM/Memcached.html +22 -4
  62. data/doc/SDM/Memsql.html +22 -4
  63. data/doc/SDM/MongoHost.html +22 -4
  64. data/doc/SDM/MongoLegacyHost.html +22 -4
  65. data/doc/SDM/MongoLegacyReplicaset.html +22 -4
  66. data/doc/SDM/MongoReplicaSet.html +22 -4
  67. data/doc/SDM/Mysql.html +22 -4
  68. data/doc/SDM/NodeCreateResponse.html +3 -3
  69. data/doc/SDM/NodeDeleteResponse.html +3 -3
  70. data/doc/SDM/NodeGetResponse.html +3 -3
  71. data/doc/SDM/NodeUpdateResponse.html +3 -3
  72. data/doc/SDM/Nodes.html +30 -30
  73. data/doc/SDM/NotFoundError.html +1 -1
  74. data/doc/SDM/Oracle.html +22 -4
  75. data/doc/SDM/PermissionError.html +1 -1
  76. data/doc/SDM/Plumbing.html +4355 -3574
  77. data/doc/SDM/Postgres.html +22 -4
  78. data/doc/SDM/Presto.html +22 -4
  79. data/doc/SDM/RDP.html +22 -4
  80. data/doc/SDM/RPCError.html +1 -1
  81. data/doc/SDM/RateLimitError.html +1 -1
  82. data/doc/SDM/RateLimitMetadata.html +1 -1
  83. data/doc/SDM/Redis.html +22 -4
  84. data/doc/SDM/Redshift.html +22 -4
  85. data/doc/SDM/Relay.html +23 -5
  86. data/doc/SDM/ResourceCreateResponse.html +3 -3
  87. data/doc/SDM/ResourceDeleteResponse.html +3 -3
  88. data/doc/SDM/ResourceGetResponse.html +3 -3
  89. data/doc/SDM/ResourceUpdateResponse.html +3 -3
  90. data/doc/SDM/Resources.html +29 -29
  91. data/doc/SDM/Role.html +22 -4
  92. data/doc/SDM/RoleAttachment.html +3 -3
  93. data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
  94. data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
  95. data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
  96. data/doc/SDM/RoleAttachments.html +23 -23
  97. data/doc/SDM/RoleCreateResponse.html +3 -3
  98. data/doc/SDM/RoleDeleteResponse.html +3 -3
  99. data/doc/SDM/RoleGetResponse.html +3 -3
  100. data/doc/SDM/RoleGrant.html +3 -3
  101. data/doc/SDM/RoleGrantCreateResponse.html +3 -3
  102. data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
  103. data/doc/SDM/RoleGrantGetResponse.html +3 -3
  104. data/doc/SDM/RoleGrants.html +23 -23
  105. data/doc/SDM/RoleUpdateResponse.html +3 -3
  106. data/doc/SDM/Roles.html +29 -29
  107. data/doc/SDM/SQLServer.html +22 -4
  108. data/doc/SDM/SSH.html +40 -4
  109. data/doc/SDM/SSHCert.html +373 -0
  110. data/doc/SDM/Service.html +22 -4
  111. data/doc/SDM/Snowflake.html +22 -4
  112. data/doc/SDM/Sybase.html +22 -4
  113. data/doc/SDM/SybaseIQ.html +22 -4
  114. data/doc/SDM/Teradata.html +22 -4
  115. data/doc/SDM/UpdateResponseMetadata.html +1 -1
  116. data/doc/SDM/User.html +22 -4
  117. data/doc/V1.html +31 -6
  118. data/doc/V1/AccountAttachments.html +1 -1
  119. data/doc/V1/AccountAttachments/Service.html +1 -1
  120. data/doc/V1/AccountGrants.html +1 -1
  121. data/doc/V1/AccountGrants/Service.html +2 -2
  122. data/doc/V1/Accounts.html +1 -1
  123. data/doc/V1/Accounts/Service.html +1 -1
  124. data/doc/V1/Nodes.html +1 -1
  125. data/doc/V1/Nodes/Service.html +1 -1
  126. data/doc/V1/Resources.html +1 -1
  127. data/doc/V1/Resources/Service.html +1 -1
  128. data/doc/V1/RoleAttachments.html +1 -1
  129. data/doc/V1/RoleAttachments/Service.html +1 -1
  130. data/doc/V1/RoleGrants.html +1 -1
  131. data/doc/V1/RoleGrants/Service.html +1 -1
  132. data/doc/V1/Roles.html +1 -1
  133. data/doc/V1/Roles/Service.html +1 -1
  134. data/doc/V1/Tags.html +113 -0
  135. data/doc/created.rid +35 -41
  136. data/doc/css/rdoc.css +13 -5
  137. data/doc/examples/Gemfile.html +1 -11
  138. data/doc/index.html +11 -13
  139. data/doc/js/navigation.js.gz +0 -0
  140. data/doc/js/search_index.js +1 -1
  141. data/doc/js/search_index.js.gz +0 -0
  142. data/doc/js/searcher.js.gz +0 -0
  143. data/doc/lib/version.html +3 -13
  144. data/doc/table_of_contents.html +1028 -933
  145. data/lib/grpc/account_attachments_pb.rb +0 -5
  146. data/lib/grpc/account_grants_services_pb.rb +1 -1
  147. data/lib/grpc/accounts_pb.rb +3 -0
  148. data/lib/grpc/drivers_pb.rb +111 -0
  149. data/lib/grpc/nodes_pb.rb +3 -0
  150. data/lib/grpc/options_pb.rb +11 -0
  151. data/lib/grpc/plumbing.rb +2024 -1682
  152. data/lib/grpc/roles_pb.rb +2 -0
  153. data/lib/grpc/spec_pb.rb +0 -1
  154. data/lib/grpc/tags_pb.rb +36 -0
  155. data/lib/models/porcelain.rb +670 -38
  156. data/lib/strongdm.rb +1 -1
  157. data/lib/svc.rb +159 -161
  158. data/lib/version +16 -2
  159. data/lib/version.rb +1 -1
  160. metadata +23 -24
  161. data/examples/Gemfile +0 -3
  162. data/examples/Gemfile.lock +0 -14
  163. data/examples/README.md +0 -5
  164. data/examples/listUsers.rb +0 -21
  165. data/examples/okta-sync/Gemfile +0 -4
  166. data/examples/okta-sync/Gemfile.lock +0 -38
  167. data/examples/okta-sync/matchers.yml +0 -11
  168. data/examples/okta-sync/oktaSync.rb +0 -173
  169. data/examples/panicButton.rb +0 -138
@@ -21,6 +21,7 @@ require "google/api/annotations_pb"
21
21
  require "protoc-gen-swagger/options/annotations_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
+ require "tags_pb"
24
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
26
  add_file("roles.proto", :syntax => :proto3) do
26
27
  add_message "v1.RoleCreateRequest" do
@@ -72,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
72
73
  optional :id, :string, 1
73
74
  optional :name, :string, 2
74
75
  optional :composite, :bool, 3
76
+ optional :tags, :message, 4, "v1.Tags"
75
77
  end
76
78
  end
77
79
  end
@@ -18,7 +18,6 @@
18
18
  require "google/protobuf"
19
19
 
20
20
  require "options_pb"
21
- require "protoc-gen-swagger/options/annotations_pb"
22
21
  require "google/protobuf/timestamp_pb"
23
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
24
23
  add_file("spec.proto", :syntax => :proto3) do
@@ -0,0 +1,36 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: tags.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ Google::Protobuf::DescriptorPool.generated_pool.build do
22
+ add_file("tags.proto", :syntax => :proto3) do
23
+ add_message "v1.Tags" do
24
+ repeated :pairs, :message, 1, "v1.Tags.Pair"
25
+ end
26
+ add_message "v1.Tags.Pair" do
27
+ optional :name, :string, 1
28
+ optional :value, :string, 2
29
+ end
30
+ end
31
+ end
32
+
33
+ module V1
34
+ Tags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags").msgclass
35
+ Tags::Pair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags.Pair").msgclass
36
+ end
@@ -115,29 +115,6 @@ module SDM
115
115
  end
116
116
  end
117
117
 
118
- # AccountAttachmentCreateOptions specifies extra options for creating an
119
- # AccountAttachment.
120
- class AccountAttachmentCreateOptions
121
- # Overwrite clears all account grants before the attachment.
122
- attr_accessor :overwrite
123
-
124
- def initialize(
125
- overwrite: nil
126
- )
127
- if overwrite != nil
128
- @overwrite = overwrite
129
- end
130
- end
131
-
132
- def to_json(options = {})
133
- hash = {}
134
- self.instance_variables.each do |var|
135
- hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
136
- end
137
- hash.to_json
138
- end
139
- end
140
-
141
118
  # AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
142
119
  class AccountAttachmentCreateResponse
143
120
  # Reserved for future use.
@@ -563,13 +540,16 @@ module SDM
563
540
  attr_accessor :last_name
564
541
  # The User's suspended state.
565
542
  attr_accessor :suspended
543
+ # Tags is a map of key, value pairs.
544
+ attr_accessor :tags
566
545
 
567
546
  def initialize(
568
547
  id: nil,
569
548
  email: nil,
570
549
  first_name: nil,
571
550
  last_name: nil,
572
- suspended: nil
551
+ suspended: nil,
552
+ tags: nil
573
553
  )
574
554
  if id != nil
575
555
  @id = id
@@ -586,6 +566,9 @@ module SDM
586
566
  if suspended != nil
587
567
  @suspended = suspended
588
568
  end
569
+ if tags != nil
570
+ @tags = tags
571
+ end
589
572
  end
590
573
 
591
574
  def to_json(options = {})
@@ -606,11 +589,14 @@ module SDM
606
589
  attr_accessor :name
607
590
  # The Service's suspended state.
608
591
  attr_accessor :suspended
592
+ # Tags is a map of key, value pairs.
593
+ attr_accessor :tags
609
594
 
610
595
  def initialize(
611
596
  id: nil,
612
597
  name: nil,
613
- suspended: nil
598
+ suspended: nil,
599
+ tags: nil
614
600
  )
615
601
  if id != nil
616
602
  @id = id
@@ -621,6 +607,9 @@ module SDM
621
607
  if suspended != nil
622
608
  @suspended = suspended
623
609
  end
610
+ if tags != nil
611
+ @tags = tags
612
+ end
624
613
  end
625
614
 
626
615
  def to_json(options = {})
@@ -639,6 +628,8 @@ module SDM
639
628
  attr_accessor :name
640
629
  # True if the datasource is reachable and the credentials are valid.
641
630
  attr_accessor :healthy
631
+ # Tags is a map of key, value pairs.
632
+ attr_accessor :tags
642
633
 
643
634
  attr_accessor :access_key
644
635
 
@@ -654,6 +645,7 @@ module SDM
654
645
  id: nil,
655
646
  name: nil,
656
647
  healthy: nil,
648
+ tags: nil,
657
649
  access_key: nil,
658
650
  secret_access_key: nil,
659
651
  output: nil,
@@ -669,6 +661,9 @@ module SDM
669
661
  if healthy != nil
670
662
  @healthy = healthy
671
663
  end
664
+ if tags != nil
665
+ @tags = tags
666
+ end
672
667
  if access_key != nil
673
668
  @access_key = access_key
674
669
  end
@@ -702,6 +697,8 @@ module SDM
702
697
  attr_accessor :name
703
698
  # True if the datasource is reachable and the credentials are valid.
704
699
  attr_accessor :healthy
700
+ # Tags is a map of key, value pairs.
701
+ attr_accessor :tags
705
702
 
706
703
  attr_accessor :private_key
707
704
 
@@ -717,6 +714,7 @@ module SDM
717
714
  id: nil,
718
715
  name: nil,
719
716
  healthy: nil,
717
+ tags: nil,
720
718
  private_key: nil,
721
719
  project: nil,
722
720
  port_override: nil,
@@ -732,6 +730,9 @@ module SDM
732
730
  if healthy != nil
733
731
  @healthy = healthy
734
732
  end
733
+ if tags != nil
734
+ @tags = tags
735
+ end
735
736
  if private_key != nil
736
737
  @private_key = private_key
737
738
  end
@@ -765,6 +766,8 @@ module SDM
765
766
  attr_accessor :name
766
767
  # True if the datasource is reachable and the credentials are valid.
767
768
  attr_accessor :healthy
769
+ # Tags is a map of key, value pairs.
770
+ attr_accessor :tags
768
771
 
769
772
  attr_accessor :hostname
770
773
 
@@ -782,6 +785,7 @@ module SDM
782
785
  id: nil,
783
786
  name: nil,
784
787
  healthy: nil,
788
+ tags: nil,
785
789
  hostname: nil,
786
790
  username: nil,
787
791
  password: nil,
@@ -798,6 +802,9 @@ module SDM
798
802
  if healthy != nil
799
803
  @healthy = healthy
800
804
  end
805
+ if tags != nil
806
+ @tags = tags
807
+ end
801
808
  if hostname != nil
802
809
  @hostname = hostname
803
810
  end
@@ -827,6 +834,156 @@ module SDM
827
834
  end
828
835
  end
829
836
 
837
+ class DB2I
838
+ # Unique identifier of the Resource.
839
+ attr_accessor :id
840
+ # Unique human-readable name of the Resource.
841
+ attr_accessor :name
842
+ # True if the datasource is reachable and the credentials are valid.
843
+ attr_accessor :healthy
844
+ # Tags is a map of key, value pairs.
845
+ attr_accessor :tags
846
+
847
+ attr_accessor :hostname
848
+
849
+ attr_accessor :username
850
+
851
+ attr_accessor :password
852
+
853
+ attr_accessor :port_override
854
+
855
+ attr_accessor :port
856
+
857
+ attr_accessor :tls_required
858
+
859
+ def initialize(
860
+ id: nil,
861
+ name: nil,
862
+ healthy: nil,
863
+ tags: nil,
864
+ hostname: nil,
865
+ username: nil,
866
+ password: nil,
867
+ port_override: nil,
868
+ port: nil,
869
+ tls_required: nil
870
+ )
871
+ if id != nil
872
+ @id = id
873
+ end
874
+ if name != nil
875
+ @name = name
876
+ end
877
+ if healthy != nil
878
+ @healthy = healthy
879
+ end
880
+ if tags != nil
881
+ @tags = tags
882
+ end
883
+ if hostname != nil
884
+ @hostname = hostname
885
+ end
886
+ if username != nil
887
+ @username = username
888
+ end
889
+ if password != nil
890
+ @password = password
891
+ end
892
+ if port_override != nil
893
+ @port_override = port_override
894
+ end
895
+ if port != nil
896
+ @port = port
897
+ end
898
+ if tls_required != nil
899
+ @tls_required = tls_required
900
+ end
901
+ end
902
+
903
+ def to_json(options = {})
904
+ hash = {}
905
+ self.instance_variables.each do |var|
906
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
907
+ end
908
+ hash.to_json
909
+ end
910
+ end
911
+
912
+ class DB2LUW
913
+ # Unique identifier of the Resource.
914
+ attr_accessor :id
915
+ # Unique human-readable name of the Resource.
916
+ attr_accessor :name
917
+ # True if the datasource is reachable and the credentials are valid.
918
+ attr_accessor :healthy
919
+ # Tags is a map of key, value pairs.
920
+ attr_accessor :tags
921
+
922
+ attr_accessor :hostname
923
+
924
+ attr_accessor :username
925
+
926
+ attr_accessor :password
927
+
928
+ attr_accessor :database
929
+
930
+ attr_accessor :port_override
931
+
932
+ attr_accessor :port
933
+
934
+ def initialize(
935
+ id: nil,
936
+ name: nil,
937
+ healthy: nil,
938
+ tags: nil,
939
+ hostname: nil,
940
+ username: nil,
941
+ password: nil,
942
+ database: nil,
943
+ port_override: nil,
944
+ port: nil
945
+ )
946
+ if id != nil
947
+ @id = id
948
+ end
949
+ if name != nil
950
+ @name = name
951
+ end
952
+ if healthy != nil
953
+ @healthy = healthy
954
+ end
955
+ if tags != nil
956
+ @tags = tags
957
+ end
958
+ if hostname != nil
959
+ @hostname = hostname
960
+ end
961
+ if username != nil
962
+ @username = username
963
+ end
964
+ if password != nil
965
+ @password = password
966
+ end
967
+ if database != nil
968
+ @database = database
969
+ end
970
+ if port_override != nil
971
+ @port_override = port_override
972
+ end
973
+ if port != nil
974
+ @port = port
975
+ end
976
+ end
977
+
978
+ def to_json(options = {})
979
+ hash = {}
980
+ self.instance_variables.each do |var|
981
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
982
+ end
983
+ hash.to_json
984
+ end
985
+ end
986
+
830
987
  class Druid
831
988
  # Unique identifier of the Resource.
832
989
  attr_accessor :id
@@ -834,6 +991,8 @@ module SDM
834
991
  attr_accessor :name
835
992
  # True if the datasource is reachable and the credentials are valid.
836
993
  attr_accessor :healthy
994
+ # Tags is a map of key, value pairs.
995
+ attr_accessor :tags
837
996
 
838
997
  attr_accessor :hostname
839
998
 
@@ -849,6 +1008,7 @@ module SDM
849
1008
  id: nil,
850
1009
  name: nil,
851
1010
  healthy: nil,
1011
+ tags: nil,
852
1012
  hostname: nil,
853
1013
  port_override: nil,
854
1014
  username: nil,
@@ -864,6 +1024,9 @@ module SDM
864
1024
  if healthy != nil
865
1025
  @healthy = healthy
866
1026
  end
1027
+ if tags != nil
1028
+ @tags = tags
1029
+ end
867
1030
  if hostname != nil
868
1031
  @hostname = hostname
869
1032
  end
@@ -897,6 +1060,8 @@ module SDM
897
1060
  attr_accessor :name
898
1061
  # True if the datasource is reachable and the credentials are valid.
899
1062
  attr_accessor :healthy
1063
+ # Tags is a map of key, value pairs.
1064
+ attr_accessor :tags
900
1065
 
901
1066
  attr_accessor :access_key
902
1067
 
@@ -912,6 +1077,7 @@ module SDM
912
1077
  id: nil,
913
1078
  name: nil,
914
1079
  healthy: nil,
1080
+ tags: nil,
915
1081
  access_key: nil,
916
1082
  secret_access_key: nil,
917
1083
  region: nil,
@@ -927,6 +1093,9 @@ module SDM
927
1093
  if healthy != nil
928
1094
  @healthy = healthy
929
1095
  end
1096
+ if tags != nil
1097
+ @tags = tags
1098
+ end
930
1099
  if access_key != nil
931
1100
  @access_key = access_key
932
1101
  end
@@ -960,6 +1129,8 @@ module SDM
960
1129
  attr_accessor :name
961
1130
  # True if the datasource is reachable and the credentials are valid.
962
1131
  attr_accessor :healthy
1132
+ # Tags is a map of key, value pairs.
1133
+ attr_accessor :tags
963
1134
 
964
1135
  attr_accessor :region
965
1136
 
@@ -975,6 +1146,7 @@ module SDM
975
1146
  id: nil,
976
1147
  name: nil,
977
1148
  healthy: nil,
1149
+ tags: nil,
978
1150
  region: nil,
979
1151
  secret_access_key: nil,
980
1152
  endpoint: nil,
@@ -990,6 +1162,9 @@ module SDM
990
1162
  if healthy != nil
991
1163
  @healthy = healthy
992
1164
  end
1165
+ if tags != nil
1166
+ @tags = tags
1167
+ end
993
1168
  if region != nil
994
1169
  @region = region
995
1170
  end
@@ -1023,6 +1198,8 @@ module SDM
1023
1198
  attr_accessor :name
1024
1199
  # True if the datasource is reachable and the credentials are valid.
1025
1200
  attr_accessor :healthy
1201
+ # Tags is a map of key, value pairs.
1202
+ attr_accessor :tags
1026
1203
 
1027
1204
  attr_accessor :hostname
1028
1205
 
@@ -1040,6 +1217,7 @@ module SDM
1040
1217
  id: nil,
1041
1218
  name: nil,
1042
1219
  healthy: nil,
1220
+ tags: nil,
1043
1221
  hostname: nil,
1044
1222
  username: nil,
1045
1223
  password: nil,
@@ -1056,6 +1234,9 @@ module SDM
1056
1234
  if healthy != nil
1057
1235
  @healthy = healthy
1058
1236
  end
1237
+ if tags != nil
1238
+ @tags = tags
1239
+ end
1059
1240
  if hostname != nil
1060
1241
  @hostname = hostname
1061
1242
  end
@@ -1092,6 +1273,8 @@ module SDM
1092
1273
  attr_accessor :name
1093
1274
  # True if the datasource is reachable and the credentials are valid.
1094
1275
  attr_accessor :healthy
1276
+ # Tags is a map of key, value pairs.
1277
+ attr_accessor :tags
1095
1278
 
1096
1279
  attr_accessor :url
1097
1280
 
@@ -1111,6 +1294,7 @@ module SDM
1111
1294
  id: nil,
1112
1295
  name: nil,
1113
1296
  healthy: nil,
1297
+ tags: nil,
1114
1298
  url: nil,
1115
1299
  healthcheck_path: nil,
1116
1300
  username: nil,
@@ -1128,6 +1312,9 @@ module SDM
1128
1312
  if healthy != nil
1129
1313
  @healthy = healthy
1130
1314
  end
1315
+ if tags != nil
1316
+ @tags = tags
1317
+ end
1131
1318
  if url != nil
1132
1319
  @url = url
1133
1320
  end
@@ -1167,6 +1354,8 @@ module SDM
1167
1354
  attr_accessor :name
1168
1355
  # True if the datasource is reachable and the credentials are valid.
1169
1356
  attr_accessor :healthy
1357
+ # Tags is a map of key, value pairs.
1358
+ attr_accessor :tags
1170
1359
 
1171
1360
  attr_accessor :url
1172
1361
 
@@ -1182,6 +1371,7 @@ module SDM
1182
1371
  id: nil,
1183
1372
  name: nil,
1184
1373
  healthy: nil,
1374
+ tags: nil,
1185
1375
  url: nil,
1186
1376
  healthcheck_path: nil,
1187
1377
  headers_blacklist: nil,
@@ -1197,6 +1387,9 @@ module SDM
1197
1387
  if healthy != nil
1198
1388
  @healthy = healthy
1199
1389
  end
1390
+ if tags != nil
1391
+ @tags = tags
1392
+ end
1200
1393
  if url != nil
1201
1394
  @url = url
1202
1395
  end
@@ -1230,6 +1423,8 @@ module SDM
1230
1423
  attr_accessor :name
1231
1424
  # True if the datasource is reachable and the credentials are valid.
1232
1425
  attr_accessor :healthy
1426
+ # Tags is a map of key, value pairs.
1427
+ attr_accessor :tags
1233
1428
 
1234
1429
  attr_accessor :url
1235
1430
 
@@ -1247,6 +1442,7 @@ module SDM
1247
1442
  id: nil,
1248
1443
  name: nil,
1249
1444
  healthy: nil,
1445
+ tags: nil,
1250
1446
  url: nil,
1251
1447
  healthcheck_path: nil,
1252
1448
  auth_header: nil,
@@ -1263,6 +1459,9 @@ module SDM
1263
1459
  if healthy != nil
1264
1460
  @healthy = healthy
1265
1461
  end
1462
+ if tags != nil
1463
+ @tags = tags
1464
+ end
1266
1465
  if url != nil
1267
1466
  @url = url
1268
1467
  end
@@ -1299,6 +1498,8 @@ module SDM
1299
1498
  attr_accessor :name
1300
1499
  # True if the datasource is reachable and the credentials are valid.
1301
1500
  attr_accessor :healthy
1501
+ # Tags is a map of key, value pairs.
1502
+ attr_accessor :tags
1302
1503
 
1303
1504
  attr_accessor :hostname
1304
1505
 
@@ -1316,10 +1517,13 @@ module SDM
1316
1517
 
1317
1518
  attr_accessor :client_key_filename
1318
1519
 
1520
+ attr_accessor :healthcheck_namespace
1521
+
1319
1522
  def initialize(
1320
1523
  id: nil,
1321
1524
  name: nil,
1322
1525
  healthy: nil,
1526
+ tags: nil,
1323
1527
  hostname: nil,
1324
1528
  port: nil,
1325
1529
  certificate_authority: nil,
@@ -1327,7 +1531,8 @@ module SDM
1327
1531
  client_certificate: nil,
1328
1532
  client_certificate_filename: nil,
1329
1533
  client_key: nil,
1330
- client_key_filename: nil
1534
+ client_key_filename: nil,
1535
+ healthcheck_namespace: nil
1331
1536
  )
1332
1537
  if id != nil
1333
1538
  @id = id
@@ -1338,6 +1543,9 @@ module SDM
1338
1543
  if healthy != nil
1339
1544
  @healthy = healthy
1340
1545
  end
1546
+ if tags != nil
1547
+ @tags = tags
1548
+ end
1341
1549
  if hostname != nil
1342
1550
  @hostname = hostname
1343
1551
  end
@@ -1362,6 +1570,9 @@ module SDM
1362
1570
  if client_key_filename != nil
1363
1571
  @client_key_filename = client_key_filename
1364
1572
  end
1573
+ if healthcheck_namespace != nil
1574
+ @healthcheck_namespace = healthcheck_namespace
1575
+ end
1365
1576
  end
1366
1577
 
1367
1578
  def to_json(options = {})
@@ -1380,6 +1591,8 @@ module SDM
1380
1591
  attr_accessor :name
1381
1592
  # True if the datasource is reachable and the credentials are valid.
1382
1593
  attr_accessor :healthy
1594
+ # Tags is a map of key, value pairs.
1595
+ attr_accessor :tags
1383
1596
 
1384
1597
  attr_accessor :hostname
1385
1598
 
@@ -1389,14 +1602,18 @@ module SDM
1389
1602
 
1390
1603
  attr_accessor :password
1391
1604
 
1605
+ attr_accessor :healthcheck_namespace
1606
+
1392
1607
  def initialize(
1393
1608
  id: nil,
1394
1609
  name: nil,
1395
1610
  healthy: nil,
1611
+ tags: nil,
1396
1612
  hostname: nil,
1397
1613
  port: nil,
1398
1614
  username: nil,
1399
- password: nil
1615
+ password: nil,
1616
+ healthcheck_namespace: nil
1400
1617
  )
1401
1618
  if id != nil
1402
1619
  @id = id
@@ -1407,6 +1624,9 @@ module SDM
1407
1624
  if healthy != nil
1408
1625
  @healthy = healthy
1409
1626
  end
1627
+ if tags != nil
1628
+ @tags = tags
1629
+ end
1410
1630
  if hostname != nil
1411
1631
  @hostname = hostname
1412
1632
  end
@@ -1419,6 +1639,9 @@ module SDM
1419
1639
  if password != nil
1420
1640
  @password = password
1421
1641
  end
1642
+ if healthcheck_namespace != nil
1643
+ @healthcheck_namespace = healthcheck_namespace
1644
+ end
1422
1645
  end
1423
1646
 
1424
1647
  def to_json(options = {})
@@ -1437,6 +1660,8 @@ module SDM
1437
1660
  attr_accessor :name
1438
1661
  # True if the datasource is reachable and the credentials are valid.
1439
1662
  attr_accessor :healthy
1663
+ # Tags is a map of key, value pairs.
1664
+ attr_accessor :tags
1440
1665
 
1441
1666
  attr_accessor :hostname
1442
1667
 
@@ -1444,13 +1669,17 @@ module SDM
1444
1669
 
1445
1670
  attr_accessor :token
1446
1671
 
1672
+ attr_accessor :healthcheck_namespace
1673
+
1447
1674
  def initialize(
1448
1675
  id: nil,
1449
1676
  name: nil,
1450
1677
  healthy: nil,
1678
+ tags: nil,
1451
1679
  hostname: nil,
1452
1680
  port: nil,
1453
- token: nil
1681
+ token: nil,
1682
+ healthcheck_namespace: nil
1454
1683
  )
1455
1684
  if id != nil
1456
1685
  @id = id
@@ -1461,6 +1690,9 @@ module SDM
1461
1690
  if healthy != nil
1462
1691
  @healthy = healthy
1463
1692
  end
1693
+ if tags != nil
1694
+ @tags = tags
1695
+ end
1464
1696
  if hostname != nil
1465
1697
  @hostname = hostname
1466
1698
  end
@@ -1470,6 +1702,9 @@ module SDM
1470
1702
  if token != nil
1471
1703
  @token = token
1472
1704
  end
1705
+ if healthcheck_namespace != nil
1706
+ @healthcheck_namespace = healthcheck_namespace
1707
+ end
1473
1708
  end
1474
1709
 
1475
1710
  def to_json(options = {})
@@ -1488,6 +1723,8 @@ module SDM
1488
1723
  attr_accessor :name
1489
1724
  # True if the datasource is reachable and the credentials are valid.
1490
1725
  attr_accessor :healthy
1726
+ # Tags is a map of key, value pairs.
1727
+ attr_accessor :tags
1491
1728
 
1492
1729
  attr_accessor :endpoint
1493
1730
 
@@ -1503,17 +1740,24 @@ module SDM
1503
1740
 
1504
1741
  attr_accessor :cluster_name
1505
1742
 
1743
+ attr_accessor :role_arn
1744
+
1745
+ attr_accessor :healthcheck_namespace
1746
+
1506
1747
  def initialize(
1507
1748
  id: nil,
1508
1749
  name: nil,
1509
1750
  healthy: nil,
1751
+ tags: nil,
1510
1752
  endpoint: nil,
1511
1753
  access_key: nil,
1512
1754
  secret_access_key: nil,
1513
1755
  certificate_authority: nil,
1514
1756
  certificate_authority_filename: nil,
1515
1757
  region: nil,
1516
- cluster_name: nil
1758
+ cluster_name: nil,
1759
+ role_arn: nil,
1760
+ healthcheck_namespace: nil
1517
1761
  )
1518
1762
  if id != nil
1519
1763
  @id = id
@@ -1524,6 +1768,9 @@ module SDM
1524
1768
  if healthy != nil
1525
1769
  @healthy = healthy
1526
1770
  end
1771
+ if tags != nil
1772
+ @tags = tags
1773
+ end
1527
1774
  if endpoint != nil
1528
1775
  @endpoint = endpoint
1529
1776
  end
@@ -1545,6 +1792,12 @@ module SDM
1545
1792
  if cluster_name != nil
1546
1793
  @cluster_name = cluster_name
1547
1794
  end
1795
+ if role_arn != nil
1796
+ @role_arn = role_arn
1797
+ end
1798
+ if healthcheck_namespace != nil
1799
+ @healthcheck_namespace = healthcheck_namespace
1800
+ end
1548
1801
  end
1549
1802
 
1550
1803
  def to_json(options = {})
@@ -1563,6 +1816,8 @@ module SDM
1563
1816
  attr_accessor :name
1564
1817
  # True if the datasource is reachable and the credentials are valid.
1565
1818
  attr_accessor :healthy
1819
+ # Tags is a map of key, value pairs.
1820
+ attr_accessor :tags
1566
1821
 
1567
1822
  attr_accessor :endpoint
1568
1823
 
@@ -1574,15 +1829,19 @@ module SDM
1574
1829
 
1575
1830
  attr_accessor :service_account_key_filename
1576
1831
 
1832
+ attr_accessor :healthcheck_namespace
1833
+
1577
1834
  def initialize(
1578
1835
  id: nil,
1579
1836
  name: nil,
1580
1837
  healthy: nil,
1838
+ tags: nil,
1581
1839
  endpoint: nil,
1582
1840
  certificate_authority: nil,
1583
1841
  certificate_authority_filename: nil,
1584
1842
  service_account_key: nil,
1585
- service_account_key_filename: nil
1843
+ service_account_key_filename: nil,
1844
+ healthcheck_namespace: nil
1586
1845
  )
1587
1846
  if id != nil
1588
1847
  @id = id
@@ -1593,6 +1852,9 @@ module SDM
1593
1852
  if healthy != nil
1594
1853
  @healthy = healthy
1595
1854
  end
1855
+ if tags != nil
1856
+ @tags = tags
1857
+ end
1596
1858
  if endpoint != nil
1597
1859
  @endpoint = endpoint
1598
1860
  end
@@ -1608,6 +1870,9 @@ module SDM
1608
1870
  if service_account_key_filename != nil
1609
1871
  @service_account_key_filename = service_account_key_filename
1610
1872
  end
1873
+ if healthcheck_namespace != nil
1874
+ @healthcheck_namespace = healthcheck_namespace
1875
+ end
1611
1876
  end
1612
1877
 
1613
1878
  def to_json(options = {})
@@ -1626,6 +1891,8 @@ module SDM
1626
1891
  attr_accessor :name
1627
1892
  # True if the datasource is reachable and the credentials are valid.
1628
1893
  attr_accessor :healthy
1894
+ # Tags is a map of key, value pairs.
1895
+ attr_accessor :tags
1629
1896
 
1630
1897
  attr_accessor :hostname
1631
1898
 
@@ -1643,10 +1910,13 @@ module SDM
1643
1910
 
1644
1911
  attr_accessor :client_key_filename
1645
1912
 
1913
+ attr_accessor :healthcheck_namespace
1914
+
1646
1915
  def initialize(
1647
1916
  id: nil,
1648
1917
  name: nil,
1649
1918
  healthy: nil,
1919
+ tags: nil,
1650
1920
  hostname: nil,
1651
1921
  port: nil,
1652
1922
  certificate_authority: nil,
@@ -1654,7 +1924,8 @@ module SDM
1654
1924
  client_certificate: nil,
1655
1925
  client_certificate_filename: nil,
1656
1926
  client_key: nil,
1657
- client_key_filename: nil
1927
+ client_key_filename: nil,
1928
+ healthcheck_namespace: nil
1658
1929
  )
1659
1930
  if id != nil
1660
1931
  @id = id
@@ -1665,6 +1936,9 @@ module SDM
1665
1936
  if healthy != nil
1666
1937
  @healthy = healthy
1667
1938
  end
1939
+ if tags != nil
1940
+ @tags = tags
1941
+ end
1668
1942
  if hostname != nil
1669
1943
  @hostname = hostname
1670
1944
  end
@@ -1689,6 +1963,9 @@ module SDM
1689
1963
  if client_key_filename != nil
1690
1964
  @client_key_filename = client_key_filename
1691
1965
  end
1966
+ if healthcheck_namespace != nil
1967
+ @healthcheck_namespace = healthcheck_namespace
1968
+ end
1692
1969
  end
1693
1970
 
1694
1971
  def to_json(options = {})
@@ -1707,6 +1984,8 @@ module SDM
1707
1984
  attr_accessor :name
1708
1985
  # True if the datasource is reachable and the credentials are valid.
1709
1986
  attr_accessor :healthy
1987
+ # Tags is a map of key, value pairs.
1988
+ attr_accessor :tags
1710
1989
 
1711
1990
  attr_accessor :hostname
1712
1991
 
@@ -1716,14 +1995,18 @@ module SDM
1716
1995
 
1717
1996
  attr_accessor :password
1718
1997
 
1998
+ attr_accessor :healthcheck_namespace
1999
+
1719
2000
  def initialize(
1720
2001
  id: nil,
1721
2002
  name: nil,
1722
2003
  healthy: nil,
2004
+ tags: nil,
1723
2005
  hostname: nil,
1724
2006
  port: nil,
1725
2007
  username: nil,
1726
- password: nil
2008
+ password: nil,
2009
+ healthcheck_namespace: nil
1727
2010
  )
1728
2011
  if id != nil
1729
2012
  @id = id
@@ -1734,6 +2017,9 @@ module SDM
1734
2017
  if healthy != nil
1735
2018
  @healthy = healthy
1736
2019
  end
2020
+ if tags != nil
2021
+ @tags = tags
2022
+ end
1737
2023
  if hostname != nil
1738
2024
  @hostname = hostname
1739
2025
  end
@@ -1746,6 +2032,9 @@ module SDM
1746
2032
  if password != nil
1747
2033
  @password = password
1748
2034
  end
2035
+ if healthcheck_namespace != nil
2036
+ @healthcheck_namespace = healthcheck_namespace
2037
+ end
1749
2038
  end
1750
2039
 
1751
2040
  def to_json(options = {})
@@ -1764,6 +2053,8 @@ module SDM
1764
2053
  attr_accessor :name
1765
2054
  # True if the datasource is reachable and the credentials are valid.
1766
2055
  attr_accessor :healthy
2056
+ # Tags is a map of key, value pairs.
2057
+ attr_accessor :tags
1767
2058
 
1768
2059
  attr_accessor :hostname
1769
2060
 
@@ -1771,13 +2062,17 @@ module SDM
1771
2062
 
1772
2063
  attr_accessor :token
1773
2064
 
2065
+ attr_accessor :healthcheck_namespace
2066
+
1774
2067
  def initialize(
1775
2068
  id: nil,
1776
2069
  name: nil,
1777
2070
  healthy: nil,
2071
+ tags: nil,
1778
2072
  hostname: nil,
1779
2073
  port: nil,
1780
- token: nil
2074
+ token: nil,
2075
+ healthcheck_namespace: nil
1781
2076
  )
1782
2077
  if id != nil
1783
2078
  @id = id
@@ -1788,6 +2083,9 @@ module SDM
1788
2083
  if healthy != nil
1789
2084
  @healthy = healthy
1790
2085
  end
2086
+ if tags != nil
2087
+ @tags = tags
2088
+ end
1791
2089
  if hostname != nil
1792
2090
  @hostname = hostname
1793
2091
  end
@@ -1797,6 +2095,9 @@ module SDM
1797
2095
  if token != nil
1798
2096
  @token = token
1799
2097
  end
2098
+ if healthcheck_namespace != nil
2099
+ @healthcheck_namespace = healthcheck_namespace
2100
+ end
1800
2101
  end
1801
2102
 
1802
2103
  def to_json(options = {})
@@ -1815,6 +2116,8 @@ module SDM
1815
2116
  attr_accessor :name
1816
2117
  # True if the datasource is reachable and the credentials are valid.
1817
2118
  attr_accessor :healthy
2119
+ # Tags is a map of key, value pairs.
2120
+ attr_accessor :tags
1818
2121
 
1819
2122
  attr_accessor :hostname
1820
2123
 
@@ -1826,6 +2129,7 @@ module SDM
1826
2129
  id: nil,
1827
2130
  name: nil,
1828
2131
  healthy: nil,
2132
+ tags: nil,
1829
2133
  hostname: nil,
1830
2134
  port_override: nil,
1831
2135
  port: nil
@@ -1839,6 +2143,9 @@ module SDM
1839
2143
  if healthy != nil
1840
2144
  @healthy = healthy
1841
2145
  end
2146
+ if tags != nil
2147
+ @tags = tags
2148
+ end
1842
2149
  if hostname != nil
1843
2150
  @hostname = hostname
1844
2151
  end
@@ -1866,6 +2173,8 @@ module SDM
1866
2173
  attr_accessor :name
1867
2174
  # True if the datasource is reachable and the credentials are valid.
1868
2175
  attr_accessor :healthy
2176
+ # Tags is a map of key, value pairs.
2177
+ attr_accessor :tags
1869
2178
 
1870
2179
  attr_accessor :hostname
1871
2180
 
@@ -1887,6 +2196,7 @@ module SDM
1887
2196
  id: nil,
1888
2197
  name: nil,
1889
2198
  healthy: nil,
2199
+ tags: nil,
1890
2200
  hostname: nil,
1891
2201
  auth_database: nil,
1892
2202
  port_override: nil,
@@ -1905,6 +2215,9 @@ module SDM
1905
2215
  if healthy != nil
1906
2216
  @healthy = healthy
1907
2217
  end
2218
+ if tags != nil
2219
+ @tags = tags
2220
+ end
1908
2221
  if hostname != nil
1909
2222
  @hostname = hostname
1910
2223
  end
@@ -1947,6 +2260,8 @@ module SDM
1947
2260
  attr_accessor :name
1948
2261
  # True if the datasource is reachable and the credentials are valid.
1949
2262
  attr_accessor :healthy
2263
+ # Tags is a map of key, value pairs.
2264
+ attr_accessor :tags
1950
2265
 
1951
2266
  attr_accessor :hostname
1952
2267
 
@@ -1970,6 +2285,7 @@ module SDM
1970
2285
  id: nil,
1971
2286
  name: nil,
1972
2287
  healthy: nil,
2288
+ tags: nil,
1973
2289
  hostname: nil,
1974
2290
  auth_database: nil,
1975
2291
  port_override: nil,
@@ -1989,6 +2305,9 @@ module SDM
1989
2305
  if healthy != nil
1990
2306
  @healthy = healthy
1991
2307
  end
2308
+ if tags != nil
2309
+ @tags = tags
2310
+ end
1992
2311
  if hostname != nil
1993
2312
  @hostname = hostname
1994
2313
  end
@@ -2034,6 +2353,8 @@ module SDM
2034
2353
  attr_accessor :name
2035
2354
  # True if the datasource is reachable and the credentials are valid.
2036
2355
  attr_accessor :healthy
2356
+ # Tags is a map of key, value pairs.
2357
+ attr_accessor :tags
2037
2358
 
2038
2359
  attr_accessor :hostname
2039
2360
 
@@ -2053,6 +2374,7 @@ module SDM
2053
2374
  id: nil,
2054
2375
  name: nil,
2055
2376
  healthy: nil,
2377
+ tags: nil,
2056
2378
  hostname: nil,
2057
2379
  auth_database: nil,
2058
2380
  port_override: nil,
@@ -2070,6 +2392,9 @@ module SDM
2070
2392
  if healthy != nil
2071
2393
  @healthy = healthy
2072
2394
  end
2395
+ if tags != nil
2396
+ @tags = tags
2397
+ end
2073
2398
  if hostname != nil
2074
2399
  @hostname = hostname
2075
2400
  end
@@ -2109,6 +2434,8 @@ module SDM
2109
2434
  attr_accessor :name
2110
2435
  # True if the datasource is reachable and the credentials are valid.
2111
2436
  attr_accessor :healthy
2437
+ # Tags is a map of key, value pairs.
2438
+ attr_accessor :tags
2112
2439
 
2113
2440
  attr_accessor :hostname
2114
2441
 
@@ -2132,6 +2459,7 @@ module SDM
2132
2459
  id: nil,
2133
2460
  name: nil,
2134
2461
  healthy: nil,
2462
+ tags: nil,
2135
2463
  hostname: nil,
2136
2464
  auth_database: nil,
2137
2465
  port_override: nil,
@@ -2151,6 +2479,9 @@ module SDM
2151
2479
  if healthy != nil
2152
2480
  @healthy = healthy
2153
2481
  end
2482
+ if tags != nil
2483
+ @tags = tags
2484
+ end
2154
2485
  if hostname != nil
2155
2486
  @hostname = hostname
2156
2487
  end
@@ -2196,6 +2527,8 @@ module SDM
2196
2527
  attr_accessor :name
2197
2528
  # True if the datasource is reachable and the credentials are valid.
2198
2529
  attr_accessor :healthy
2530
+ # Tags is a map of key, value pairs.
2531
+ attr_accessor :tags
2199
2532
 
2200
2533
  attr_accessor :hostname
2201
2534
 
@@ -2213,6 +2546,7 @@ module SDM
2213
2546
  id: nil,
2214
2547
  name: nil,
2215
2548
  healthy: nil,
2549
+ tags: nil,
2216
2550
  hostname: nil,
2217
2551
  username: nil,
2218
2552
  password: nil,
@@ -2229,6 +2563,9 @@ module SDM
2229
2563
  if healthy != nil
2230
2564
  @healthy = healthy
2231
2565
  end
2566
+ if tags != nil
2567
+ @tags = tags
2568
+ end
2232
2569
  if hostname != nil
2233
2570
  @hostname = hostname
2234
2571
  end
@@ -2265,6 +2602,8 @@ module SDM
2265
2602
  attr_accessor :name
2266
2603
  # True if the datasource is reachable and the credentials are valid.
2267
2604
  attr_accessor :healthy
2605
+ # Tags is a map of key, value pairs.
2606
+ attr_accessor :tags
2268
2607
 
2269
2608
  attr_accessor :hostname
2270
2609
 
@@ -2282,6 +2621,7 @@ module SDM
2282
2621
  id: nil,
2283
2622
  name: nil,
2284
2623
  healthy: nil,
2624
+ tags: nil,
2285
2625
  hostname: nil,
2286
2626
  username: nil,
2287
2627
  password: nil,
@@ -2298,6 +2638,9 @@ module SDM
2298
2638
  if healthy != nil
2299
2639
  @healthy = healthy
2300
2640
  end
2641
+ if tags != nil
2642
+ @tags = tags
2643
+ end
2301
2644
  if hostname != nil
2302
2645
  @hostname = hostname
2303
2646
  end
@@ -2334,6 +2677,8 @@ module SDM
2334
2677
  attr_accessor :name
2335
2678
  # True if the datasource is reachable and the credentials are valid.
2336
2679
  attr_accessor :healthy
2680
+ # Tags is a map of key, value pairs.
2681
+ attr_accessor :tags
2337
2682
 
2338
2683
  attr_accessor :hostname
2339
2684
 
@@ -2351,6 +2696,7 @@ module SDM
2351
2696
  id: nil,
2352
2697
  name: nil,
2353
2698
  healthy: nil,
2699
+ tags: nil,
2354
2700
  hostname: nil,
2355
2701
  username: nil,
2356
2702
  password: nil,
@@ -2367,6 +2713,9 @@ module SDM
2367
2713
  if healthy != nil
2368
2714
  @healthy = healthy
2369
2715
  end
2716
+ if tags != nil
2717
+ @tags = tags
2718
+ end
2370
2719
  if hostname != nil
2371
2720
  @hostname = hostname
2372
2721
  end
@@ -2403,6 +2752,8 @@ module SDM
2403
2752
  attr_accessor :name
2404
2753
  # True if the datasource is reachable and the credentials are valid.
2405
2754
  attr_accessor :healthy
2755
+ # Tags is a map of key, value pairs.
2756
+ attr_accessor :tags
2406
2757
 
2407
2758
  attr_accessor :hostname
2408
2759
 
@@ -2420,6 +2771,7 @@ module SDM
2420
2771
  id: nil,
2421
2772
  name: nil,
2422
2773
  healthy: nil,
2774
+ tags: nil,
2423
2775
  hostname: nil,
2424
2776
  username: nil,
2425
2777
  password: nil,
@@ -2436,6 +2788,9 @@ module SDM
2436
2788
  if healthy != nil
2437
2789
  @healthy = healthy
2438
2790
  end
2791
+ if tags != nil
2792
+ @tags = tags
2793
+ end
2439
2794
  if hostname != nil
2440
2795
  @hostname = hostname
2441
2796
  end
@@ -2472,6 +2827,8 @@ module SDM
2472
2827
  attr_accessor :name
2473
2828
  # True if the datasource is reachable and the credentials are valid.
2474
2829
  attr_accessor :healthy
2830
+ # Tags is a map of key, value pairs.
2831
+ attr_accessor :tags
2475
2832
 
2476
2833
  attr_accessor :hostname
2477
2834
 
@@ -2489,6 +2846,7 @@ module SDM
2489
2846
  id: nil,
2490
2847
  name: nil,
2491
2848
  healthy: nil,
2849
+ tags: nil,
2492
2850
  hostname: nil,
2493
2851
  username: nil,
2494
2852
  password: nil,
@@ -2505,6 +2863,9 @@ module SDM
2505
2863
  if healthy != nil
2506
2864
  @healthy = healthy
2507
2865
  end
2866
+ if tags != nil
2867
+ @tags = tags
2868
+ end
2508
2869
  if hostname != nil
2509
2870
  @hostname = hostname
2510
2871
  end
@@ -2541,6 +2902,8 @@ module SDM
2541
2902
  attr_accessor :name
2542
2903
  # True if the datasource is reachable and the credentials are valid.
2543
2904
  attr_accessor :healthy
2905
+ # Tags is a map of key, value pairs.
2906
+ attr_accessor :tags
2544
2907
 
2545
2908
  attr_accessor :hostname
2546
2909
 
@@ -2560,6 +2923,7 @@ module SDM
2560
2923
  id: nil,
2561
2924
  name: nil,
2562
2925
  healthy: nil,
2926
+ tags: nil,
2563
2927
  hostname: nil,
2564
2928
  username: nil,
2565
2929
  password: nil,
@@ -2577,6 +2941,9 @@ module SDM
2577
2941
  if healthy != nil
2578
2942
  @healthy = healthy
2579
2943
  end
2944
+ if tags != nil
2945
+ @tags = tags
2946
+ end
2580
2947
  if hostname != nil
2581
2948
  @hostname = hostname
2582
2949
  end
@@ -2616,6 +2983,8 @@ module SDM
2616
2983
  attr_accessor :name
2617
2984
  # True if the datasource is reachable and the credentials are valid.
2618
2985
  attr_accessor :healthy
2986
+ # Tags is a map of key, value pairs.
2987
+ attr_accessor :tags
2619
2988
 
2620
2989
  attr_accessor :hostname
2621
2990
 
@@ -2635,6 +3004,7 @@ module SDM
2635
3004
  id: nil,
2636
3005
  name: nil,
2637
3006
  healthy: nil,
3007
+ tags: nil,
2638
3008
  hostname: nil,
2639
3009
  username: nil,
2640
3010
  password: nil,
@@ -2652,6 +3022,9 @@ module SDM
2652
3022
  if healthy != nil
2653
3023
  @healthy = healthy
2654
3024
  end
3025
+ if tags != nil
3026
+ @tags = tags
3027
+ end
2655
3028
  if hostname != nil
2656
3029
  @hostname = hostname
2657
3030
  end
@@ -2691,6 +3064,8 @@ module SDM
2691
3064
  attr_accessor :name
2692
3065
  # True if the datasource is reachable and the credentials are valid.
2693
3066
  attr_accessor :healthy
3067
+ # Tags is a map of key, value pairs.
3068
+ attr_accessor :tags
2694
3069
 
2695
3070
  attr_accessor :hostname
2696
3071
 
@@ -2710,6 +3085,7 @@ module SDM
2710
3085
  id: nil,
2711
3086
  name: nil,
2712
3087
  healthy: nil,
3088
+ tags: nil,
2713
3089
  hostname: nil,
2714
3090
  username: nil,
2715
3091
  password: nil,
@@ -2727,6 +3103,9 @@ module SDM
2727
3103
  if healthy != nil
2728
3104
  @healthy = healthy
2729
3105
  end
3106
+ if tags != nil
3107
+ @tags = tags
3108
+ end
2730
3109
  if hostname != nil
2731
3110
  @hostname = hostname
2732
3111
  end
@@ -2766,6 +3145,8 @@ module SDM
2766
3145
  attr_accessor :name
2767
3146
  # True if the datasource is reachable and the credentials are valid.
2768
3147
  attr_accessor :healthy
3148
+ # Tags is a map of key, value pairs.
3149
+ attr_accessor :tags
2769
3150
 
2770
3151
  attr_accessor :hostname
2771
3152
 
@@ -2785,6 +3166,7 @@ module SDM
2785
3166
  id: nil,
2786
3167
  name: nil,
2787
3168
  healthy: nil,
3169
+ tags: nil,
2788
3170
  hostname: nil,
2789
3171
  username: nil,
2790
3172
  password: nil,
@@ -2802,6 +3184,9 @@ module SDM
2802
3184
  if healthy != nil
2803
3185
  @healthy = healthy
2804
3186
  end
3187
+ if tags != nil
3188
+ @tags = tags
3189
+ end
2805
3190
  if hostname != nil
2806
3191
  @hostname = hostname
2807
3192
  end
@@ -2841,6 +3226,8 @@ module SDM
2841
3226
  attr_accessor :name
2842
3227
  # True if the datasource is reachable and the credentials are valid.
2843
3228
  attr_accessor :healthy
3229
+ # Tags is a map of key, value pairs.
3230
+ attr_accessor :tags
2844
3231
 
2845
3232
  attr_accessor :hostname
2846
3233
 
@@ -2860,6 +3247,7 @@ module SDM
2860
3247
  id: nil,
2861
3248
  name: nil,
2862
3249
  healthy: nil,
3250
+ tags: nil,
2863
3251
  hostname: nil,
2864
3252
  username: nil,
2865
3253
  password: nil,
@@ -2877,6 +3265,9 @@ module SDM
2877
3265
  if healthy != nil
2878
3266
  @healthy = healthy
2879
3267
  end
3268
+ if tags != nil
3269
+ @tags = tags
3270
+ end
2880
3271
  if hostname != nil
2881
3272
  @hostname = hostname
2882
3273
  end
@@ -2916,6 +3307,8 @@ module SDM
2916
3307
  attr_accessor :name
2917
3308
  # True if the datasource is reachable and the credentials are valid.
2918
3309
  attr_accessor :healthy
3310
+ # Tags is a map of key, value pairs.
3311
+ attr_accessor :tags
2919
3312
 
2920
3313
  attr_accessor :hostname
2921
3314
 
@@ -2935,6 +3328,7 @@ module SDM
2935
3328
  id: nil,
2936
3329
  name: nil,
2937
3330
  healthy: nil,
3331
+ tags: nil,
2938
3332
  hostname: nil,
2939
3333
  username: nil,
2940
3334
  password: nil,
@@ -2952,6 +3346,90 @@ module SDM
2952
3346
  if healthy != nil
2953
3347
  @healthy = healthy
2954
3348
  end
3349
+ if tags != nil
3350
+ @tags = tags
3351
+ end
3352
+ if hostname != nil
3353
+ @hostname = hostname
3354
+ end
3355
+ if username != nil
3356
+ @username = username
3357
+ end
3358
+ if password != nil
3359
+ @password = password
3360
+ end
3361
+ if database != nil
3362
+ @database = database
3363
+ end
3364
+ if port_override != nil
3365
+ @port_override = port_override
3366
+ end
3367
+ if port != nil
3368
+ @port = port
3369
+ end
3370
+ if override_database != nil
3371
+ @override_database = override_database
3372
+ end
3373
+ end
3374
+
3375
+ def to_json(options = {})
3376
+ hash = {}
3377
+ self.instance_variables.each do |var|
3378
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
3379
+ end
3380
+ hash.to_json
3381
+ end
3382
+ end
3383
+
3384
+ class Citus
3385
+ # Unique identifier of the Resource.
3386
+ attr_accessor :id
3387
+ # Unique human-readable name of the Resource.
3388
+ attr_accessor :name
3389
+ # True if the datasource is reachable and the credentials are valid.
3390
+ attr_accessor :healthy
3391
+ # Tags is a map of key, value pairs.
3392
+ attr_accessor :tags
3393
+
3394
+ attr_accessor :hostname
3395
+
3396
+ attr_accessor :username
3397
+
3398
+ attr_accessor :password
3399
+
3400
+ attr_accessor :database
3401
+
3402
+ attr_accessor :port_override
3403
+
3404
+ attr_accessor :port
3405
+
3406
+ attr_accessor :override_database
3407
+
3408
+ def initialize(
3409
+ id: nil,
3410
+ name: nil,
3411
+ healthy: nil,
3412
+ tags: nil,
3413
+ hostname: nil,
3414
+ username: nil,
3415
+ password: nil,
3416
+ database: nil,
3417
+ port_override: nil,
3418
+ port: nil,
3419
+ override_database: nil
3420
+ )
3421
+ if id != nil
3422
+ @id = id
3423
+ end
3424
+ if name != nil
3425
+ @name = name
3426
+ end
3427
+ if healthy != nil
3428
+ @healthy = healthy
3429
+ end
3430
+ if tags != nil
3431
+ @tags = tags
3432
+ end
2955
3433
  if hostname != nil
2956
3434
  @hostname = hostname
2957
3435
  end
@@ -2991,6 +3469,8 @@ module SDM
2991
3469
  attr_accessor :name
2992
3470
  # True if the datasource is reachable and the credentials are valid.
2993
3471
  attr_accessor :healthy
3472
+ # Tags is a map of key, value pairs.
3473
+ attr_accessor :tags
2994
3474
 
2995
3475
  attr_accessor :hostname
2996
3476
 
@@ -3010,6 +3490,7 @@ module SDM
3010
3490
  id: nil,
3011
3491
  name: nil,
3012
3492
  healthy: nil,
3493
+ tags: nil,
3013
3494
  hostname: nil,
3014
3495
  password: nil,
3015
3496
  database: nil,
@@ -3027,6 +3508,9 @@ module SDM
3027
3508
  if healthy != nil
3028
3509
  @healthy = healthy
3029
3510
  end
3511
+ if tags != nil
3512
+ @tags = tags
3513
+ end
3030
3514
  if hostname != nil
3031
3515
  @hostname = hostname
3032
3516
  end
@@ -3066,6 +3550,8 @@ module SDM
3066
3550
  attr_accessor :name
3067
3551
  # True if the datasource is reachable and the credentials are valid.
3068
3552
  attr_accessor :healthy
3553
+ # Tags is a map of key, value pairs.
3554
+ attr_accessor :tags
3069
3555
 
3070
3556
  attr_accessor :hostname
3071
3557
 
@@ -3081,6 +3567,7 @@ module SDM
3081
3567
  id: nil,
3082
3568
  name: nil,
3083
3569
  healthy: nil,
3570
+ tags: nil,
3084
3571
  hostname: nil,
3085
3572
  username: nil,
3086
3573
  password: nil,
@@ -3096,6 +3583,9 @@ module SDM
3096
3583
  if healthy != nil
3097
3584
  @healthy = healthy
3098
3585
  end
3586
+ if tags != nil
3587
+ @tags = tags
3588
+ end
3099
3589
  if hostname != nil
3100
3590
  @hostname = hostname
3101
3591
  end
@@ -3129,6 +3619,8 @@ module SDM
3129
3619
  attr_accessor :name
3130
3620
  # True if the datasource is reachable and the credentials are valid.
3131
3621
  attr_accessor :healthy
3622
+ # Tags is a map of key, value pairs.
3623
+ attr_accessor :tags
3132
3624
 
3133
3625
  attr_accessor :hostname
3134
3626
 
@@ -3142,6 +3634,7 @@ module SDM
3142
3634
  id: nil,
3143
3635
  name: nil,
3144
3636
  healthy: nil,
3637
+ tags: nil,
3145
3638
  hostname: nil,
3146
3639
  port_override: nil,
3147
3640
  password: nil,
@@ -3156,6 +3649,9 @@ module SDM
3156
3649
  if healthy != nil
3157
3650
  @healthy = healthy
3158
3651
  end
3652
+ if tags != nil
3653
+ @tags = tags
3654
+ end
3159
3655
  if hostname != nil
3160
3656
  @hostname = hostname
3161
3657
  end
@@ -3186,6 +3682,8 @@ module SDM
3186
3682
  attr_accessor :name
3187
3683
  # True if the datasource is reachable and the credentials are valid.
3188
3684
  attr_accessor :healthy
3685
+ # Tags is a map of key, value pairs.
3686
+ attr_accessor :tags
3189
3687
 
3190
3688
  attr_accessor :hostname
3191
3689
 
@@ -3201,6 +3699,7 @@ module SDM
3201
3699
  id: nil,
3202
3700
  name: nil,
3203
3701
  healthy: nil,
3702
+ tags: nil,
3204
3703
  hostname: nil,
3205
3704
  port_override: nil,
3206
3705
  password: nil,
@@ -3216,6 +3715,9 @@ module SDM
3216
3715
  if healthy != nil
3217
3716
  @healthy = healthy
3218
3717
  end
3718
+ if tags != nil
3719
+ @tags = tags
3720
+ end
3219
3721
  if hostname != nil
3220
3722
  @hostname = hostname
3221
3723
  end
@@ -3249,6 +3751,8 @@ module SDM
3249
3751
  attr_accessor :name
3250
3752
  # True if the datasource is reachable and the credentials are valid.
3251
3753
  attr_accessor :healthy
3754
+ # Tags is a map of key, value pairs.
3755
+ attr_accessor :tags
3252
3756
 
3253
3757
  attr_accessor :hostname
3254
3758
 
@@ -3266,6 +3770,7 @@ module SDM
3266
3770
  id: nil,
3267
3771
  name: nil,
3268
3772
  healthy: nil,
3773
+ tags: nil,
3269
3774
  hostname: nil,
3270
3775
  username: nil,
3271
3776
  password: nil,
@@ -3282,6 +3787,9 @@ module SDM
3282
3787
  if healthy != nil
3283
3788
  @healthy = healthy
3284
3789
  end
3790
+ if tags != nil
3791
+ @tags = tags
3792
+ end
3285
3793
  if hostname != nil
3286
3794
  @hostname = hostname
3287
3795
  end
@@ -3318,6 +3826,8 @@ module SDM
3318
3826
  attr_accessor :name
3319
3827
  # True if the datasource is reachable and the credentials are valid.
3320
3828
  attr_accessor :healthy
3829
+ # Tags is a map of key, value pairs.
3830
+ attr_accessor :tags
3321
3831
 
3322
3832
  attr_accessor :hostname
3323
3833
 
@@ -3339,6 +3849,7 @@ module SDM
3339
3849
  id: nil,
3340
3850
  name: nil,
3341
3851
  healthy: nil,
3852
+ tags: nil,
3342
3853
  hostname: nil,
3343
3854
  username: nil,
3344
3855
  password: nil,
@@ -3357,6 +3868,9 @@ module SDM
3357
3868
  if healthy != nil
3358
3869
  @healthy = healthy
3359
3870
  end
3871
+ if tags != nil
3872
+ @tags = tags
3873
+ end
3360
3874
  if hostname != nil
3361
3875
  @hostname = hostname
3362
3876
  end
@@ -3399,6 +3913,8 @@ module SDM
3399
3913
  attr_accessor :name
3400
3914
  # True if the datasource is reachable and the credentials are valid.
3401
3915
  attr_accessor :healthy
3916
+ # Tags is a map of key, value pairs.
3917
+ attr_accessor :tags
3402
3918
 
3403
3919
  attr_accessor :hostname
3404
3920
 
@@ -3410,15 +3926,19 @@ module SDM
3410
3926
 
3411
3927
  attr_accessor :port_forwarding
3412
3928
 
3929
+ attr_accessor :allow_deprecated_key_exchanges
3930
+
3413
3931
  def initialize(
3414
3932
  id: nil,
3415
3933
  name: nil,
3416
3934
  healthy: nil,
3935
+ tags: nil,
3417
3936
  hostname: nil,
3418
3937
  username: nil,
3419
3938
  port: nil,
3420
3939
  public_key: nil,
3421
- port_forwarding: nil
3940
+ port_forwarding: nil,
3941
+ allow_deprecated_key_exchanges: nil
3422
3942
  )
3423
3943
  if id != nil
3424
3944
  @id = id
@@ -3429,6 +3949,9 @@ module SDM
3429
3949
  if healthy != nil
3430
3950
  @healthy = healthy
3431
3951
  end
3952
+ if tags != nil
3953
+ @tags = tags
3954
+ end
3432
3955
  if hostname != nil
3433
3956
  @hostname = hostname
3434
3957
  end
@@ -3444,6 +3967,78 @@ module SDM
3444
3967
  if port_forwarding != nil
3445
3968
  @port_forwarding = port_forwarding
3446
3969
  end
3970
+ if allow_deprecated_key_exchanges != nil
3971
+ @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
3972
+ end
3973
+ end
3974
+
3975
+ def to_json(options = {})
3976
+ hash = {}
3977
+ self.instance_variables.each do |var|
3978
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
3979
+ end
3980
+ hash.to_json
3981
+ end
3982
+ end
3983
+
3984
+ class SSHCert
3985
+ # Unique identifier of the Resource.
3986
+ attr_accessor :id
3987
+ # Unique human-readable name of the Resource.
3988
+ attr_accessor :name
3989
+ # True if the datasource is reachable and the credentials are valid.
3990
+ attr_accessor :healthy
3991
+ # Tags is a map of key, value pairs.
3992
+ attr_accessor :tags
3993
+
3994
+ attr_accessor :hostname
3995
+
3996
+ attr_accessor :username
3997
+
3998
+ attr_accessor :port
3999
+
4000
+ attr_accessor :port_forwarding
4001
+
4002
+ attr_accessor :allow_deprecated_key_exchanges
4003
+
4004
+ def initialize(
4005
+ id: nil,
4006
+ name: nil,
4007
+ healthy: nil,
4008
+ tags: nil,
4009
+ hostname: nil,
4010
+ username: nil,
4011
+ port: nil,
4012
+ port_forwarding: nil,
4013
+ allow_deprecated_key_exchanges: nil
4014
+ )
4015
+ if id != nil
4016
+ @id = id
4017
+ end
4018
+ if name != nil
4019
+ @name = name
4020
+ end
4021
+ if healthy != nil
4022
+ @healthy = healthy
4023
+ end
4024
+ if tags != nil
4025
+ @tags = tags
4026
+ end
4027
+ if hostname != nil
4028
+ @hostname = hostname
4029
+ end
4030
+ if username != nil
4031
+ @username = username
4032
+ end
4033
+ if port != nil
4034
+ @port = port
4035
+ end
4036
+ if port_forwarding != nil
4037
+ @port_forwarding = port_forwarding
4038
+ end
4039
+ if allow_deprecated_key_exchanges != nil
4040
+ @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
4041
+ end
3447
4042
  end
3448
4043
 
3449
4044
  def to_json(options = {})
@@ -3462,6 +4057,8 @@ module SDM
3462
4057
  attr_accessor :name
3463
4058
  # True if the datasource is reachable and the credentials are valid.
3464
4059
  attr_accessor :healthy
4060
+ # Tags is a map of key, value pairs.
4061
+ attr_accessor :tags
3465
4062
 
3466
4063
  attr_accessor :hostname
3467
4064
 
@@ -3477,6 +4074,7 @@ module SDM
3477
4074
  id: nil,
3478
4075
  name: nil,
3479
4076
  healthy: nil,
4077
+ tags: nil,
3480
4078
  hostname: nil,
3481
4079
  username: nil,
3482
4080
  port_override: nil,
@@ -3492,6 +4090,9 @@ module SDM
3492
4090
  if healthy != nil
3493
4091
  @healthy = healthy
3494
4092
  end
4093
+ if tags != nil
4094
+ @tags = tags
4095
+ end
3495
4096
  if hostname != nil
3496
4097
  @hostname = hostname
3497
4098
  end
@@ -3525,6 +4126,8 @@ module SDM
3525
4126
  attr_accessor :name
3526
4127
  # True if the datasource is reachable and the credentials are valid.
3527
4128
  attr_accessor :healthy
4129
+ # Tags is a map of key, value pairs.
4130
+ attr_accessor :tags
3528
4131
 
3529
4132
  attr_accessor :hostname
3530
4133
 
@@ -3540,6 +4143,7 @@ module SDM
3540
4143
  id: nil,
3541
4144
  name: nil,
3542
4145
  healthy: nil,
4146
+ tags: nil,
3543
4147
  hostname: nil,
3544
4148
  username: nil,
3545
4149
  port_override: nil,
@@ -3555,6 +4159,9 @@ module SDM
3555
4159
  if healthy != nil
3556
4160
  @healthy = healthy
3557
4161
  end
4162
+ if tags != nil
4163
+ @tags = tags
4164
+ end
3558
4165
  if hostname != nil
3559
4166
  @hostname = hostname
3560
4167
  end
@@ -3588,6 +4195,8 @@ module SDM
3588
4195
  attr_accessor :name
3589
4196
  # True if the datasource is reachable and the credentials are valid.
3590
4197
  attr_accessor :healthy
4198
+ # Tags is a map of key, value pairs.
4199
+ attr_accessor :tags
3591
4200
 
3592
4201
  attr_accessor :hostname
3593
4202
 
@@ -3603,6 +4212,7 @@ module SDM
3603
4212
  id: nil,
3604
4213
  name: nil,
3605
4214
  healthy: nil,
4215
+ tags: nil,
3606
4216
  hostname: nil,
3607
4217
  username: nil,
3608
4218
  password: nil,
@@ -3618,6 +4228,9 @@ module SDM
3618
4228
  if healthy != nil
3619
4229
  @healthy = healthy
3620
4230
  end
4231
+ if tags != nil
4232
+ @tags = tags
4233
+ end
3621
4234
  if hostname != nil
3622
4235
  @hostname = hostname
3623
4236
  end
@@ -3789,13 +4402,17 @@ module SDM
3789
4402
  # Unique human-readable name of the Relay. Generated if not provided on create.
3790
4403
  attr_accessor :name
3791
4404
  # The current state of the relay. One of: "new", "verifying_restart",
3792
- # "restarting", "started", "stopped", "dead", "unknown",
4405
+ # "awaiting_restart", "restarting", "started", "stopped", "dead",
4406
+ # "unknown".
3793
4407
  attr_accessor :state
4408
+ # Tags is a map of key, value pairs.
4409
+ attr_accessor :tags
3794
4410
 
3795
4411
  def initialize(
3796
4412
  id: nil,
3797
4413
  name: nil,
3798
- state: nil
4414
+ state: nil,
4415
+ tags: nil
3799
4416
  )
3800
4417
  if id != nil
3801
4418
  @id = id
@@ -3806,6 +4423,9 @@ module SDM
3806
4423
  if state != nil
3807
4424
  @state = state
3808
4425
  end
4426
+ if tags != nil
4427
+ @tags = tags
4428
+ end
3809
4429
  end
3810
4430
 
3811
4431
  def to_json(options = {})
@@ -3831,13 +4451,16 @@ module SDM
3831
4451
  # The hostname/port tuple which the gateway daemon will bind to.
3832
4452
  # If not provided on create, set to "0.0.0.0:<listen_address_port>".
3833
4453
  attr_accessor :bind_address
4454
+ # Tags is a map of key, value pairs.
4455
+ attr_accessor :tags
3834
4456
 
3835
4457
  def initialize(
3836
4458
  id: nil,
3837
4459
  name: nil,
3838
4460
  state: nil,
3839
4461
  listen_address: nil,
3840
- bind_address: nil
4462
+ bind_address: nil,
4463
+ tags: nil
3841
4464
  )
3842
4465
  if id != nil
3843
4466
  @id = id
@@ -3854,6 +4477,9 @@ module SDM
3854
4477
  if bind_address != nil
3855
4478
  @bind_address = bind_address
3856
4479
  end
4480
+ if tags != nil
4481
+ @tags = tags
4482
+ end
3857
4483
  end
3858
4484
 
3859
4485
  def to_json(options = {})
@@ -4397,11 +5023,14 @@ module SDM
4397
5023
  attr_accessor :name
4398
5024
  # True if the Role is a composite role.
4399
5025
  attr_accessor :composite
5026
+ # Tags is a map of key, value pairs.
5027
+ attr_accessor :tags
4400
5028
 
4401
5029
  def initialize(
4402
5030
  id: nil,
4403
5031
  name: nil,
4404
- composite: nil
5032
+ composite: nil,
5033
+ tags: nil
4405
5034
  )
4406
5035
  if id != nil
4407
5036
  @id = id
@@ -4412,6 +5041,9 @@ module SDM
4412
5041
  if composite != nil
4413
5042
  @composite = composite
4414
5043
  end
5044
+ if tags != nil
5045
+ @tags = tags
5046
+ end
4415
5047
  end
4416
5048
 
4417
5049
  def to_json(options = {})