strongdm 1.0.32 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/config +0 -3
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -4
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/pack-799dc839a811c2fbe50b5281a9266fcc3a8f5154.idx +0 -0
- data/.git/objects/pack/{pack-760024d2d3e635c44bfe6b54af80a8b21674032d.pack → pack-799dc839a811c2fbe50b5281a9266fcc3a8f5154.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +9 -0
- data/README.md +18 -6
- data/lib/errors/errors.rb +1 -1
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +38 -0
- data/lib/grpc/nodes_services_pb.rb +1 -1
- data/lib/grpc/options_pb.rb +35 -40
- data/lib/grpc/plumbing.rb +1258 -965
- data/lib/grpc/resources_services_pb.rb +3 -1
- data/lib/grpc/role_attachments_services_pb.rb +10 -0
- data/lib/grpc/role_grants_services_pb.rb +10 -0
- data/lib/grpc/roles_services_pb.rb +4 -6
- data/lib/grpc/secret_store_types_pb.rb +25 -0
- data/lib/grpc/secret_stores_services_pb.rb +1 -1
- data/lib/models/porcelain.rb +1243 -2897
- data/lib/strongdm.rb +39 -15
- data/lib/svc.rb +162 -14
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -222
- data/.git/FETCH_HEAD +0 -2
- data/.git/logs/refs/heads/development +0 -1
- data/.git/objects/pack/pack-760024d2d3e635c44bfe6b54af80a8b21674032d.idx +0 -0
- data/.git/refs/heads/development +0 -1
- data/doc/LICENSE.html +0 -187
- data/doc/Object.html +0 -114
- data/doc/README_md.html +0 -146
- data/doc/SDM/AKS.html +0 -352
- data/doc/SDM/AKSBasicAuth.html +0 -337
- data/doc/SDM/AKSServiceAccount.html +0 -322
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/AKSUserImpersonation.html +0 -352
- data/doc/SDM/AWS.html +0 -337
- data/doc/SDM/AWSStore.html +0 -232
- data/doc/SDM/AccountAttachment.html +0 -219
- data/doc/SDM/AccountAttachmentCreateResponse.html +0 -219
- data/doc/SDM/AccountAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/AccountAttachmentGetResponse.html +0 -219
- data/doc/SDM/AccountAttachments.html +0 -354
- data/doc/SDM/AccountCreateResponse.html +0 -234
- data/doc/SDM/AccountDeleteResponse.html +0 -204
- data/doc/SDM/AccountGetResponse.html +0 -219
- data/doc/SDM/AccountGrant.html +0 -249
- data/doc/SDM/AccountGrantCreateResponse.html +0 -219
- data/doc/SDM/AccountGrantDeleteResponse.html +0 -204
- data/doc/SDM/AccountGrantGetResponse.html +0 -219
- data/doc/SDM/AccountGrants.html +0 -354
- data/doc/SDM/AccountUpdateResponse.html +0 -219
- data/doc/SDM/Accounts.html +0 -409
- data/doc/SDM/AlreadyExistsError.html +0 -140
- data/doc/SDM/AmazonEKS.html +0 -397
- data/doc/SDM/AmazonEKSUserImpersonation.html +0 -397
- data/doc/SDM/AmazonES.html +0 -367
- data/doc/SDM/AmazonMQAMQP091.html +0 -352
- data/doc/SDM/Athena.html +0 -367
- data/doc/SDM/AuroraMysql.html +0 -352
- data/doc/SDM/AuroraPostgres.html +0 -367
- data/doc/SDM/AuthenticationError.html +0 -140
- data/doc/SDM/Azure.html +0 -307
- data/doc/SDM/AzureCertificate.html +0 -307
- data/doc/SDM/AzurePostgres.html +0 -367
- data/doc/SDM/BadRequestError.html +0 -140
- data/doc/SDM/BigQuery.html +0 -337
- data/doc/SDM/Cassandra.html +0 -352
- data/doc/SDM/Citus.html +0 -367
- data/doc/SDM/Client.html +0 -443
- data/doc/SDM/Clustrix.html +0 -352
- data/doc/SDM/Cockroach.html +0 -367
- data/doc/SDM/ControlPanel.html +0 -248
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +0 -219
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +0 -219
- data/doc/SDM/CreateResponseMetadata.html +0 -169
- data/doc/SDM/DB2LUW.html +0 -352
- data/doc/SDM/DB2i.html +0 -352
- data/doc/SDM/DeadlineExceededError.html +0 -140
- data/doc/SDM/DeleteResponseMetadata.html +0 -169
- data/doc/SDM/DocumentDBHost.html +0 -352
- data/doc/SDM/DocumentDBReplicaSet.html +0 -367
- data/doc/SDM/Druid.html +0 -337
- data/doc/SDM/DynamoDB.html +0 -367
- data/doc/SDM/Elastic.html +0 -352
- data/doc/SDM/ElasticacheRedis.html +0 -337
- data/doc/SDM/GCP.html +0 -292
- data/doc/SDM/Gateway.html +0 -279
- data/doc/SDM/GetResponseMetadata.html +0 -169
- data/doc/SDM/GoogleGKE.html +0 -322
- data/doc/SDM/GoogleGKEUserImpersonation.html +0 -322
- data/doc/SDM/Greenplum.html +0 -367
- data/doc/SDM/HTTPAuth.html +0 -352
- data/doc/SDM/HTTPBasicAuth.html +0 -367
- data/doc/SDM/HTTPNoAuth.html +0 -337
- data/doc/SDM/InternalError.html +0 -140
- data/doc/SDM/Kubernetes.html +0 -352
- data/doc/SDM/KubernetesBasicAuth.html +0 -337
- data/doc/SDM/KubernetesServiceAccount.html +0 -322
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/KubernetesUserImpersonation.html +0 -352
- data/doc/SDM/Maria.html +0 -352
- data/doc/SDM/Memcached.html +0 -307
- data/doc/SDM/Memsql.html +0 -352
- data/doc/SDM/MongoHost.html +0 -367
- data/doc/SDM/MongoLegacyHost.html +0 -382
- data/doc/SDM/MongoLegacyReplicaset.html +0 -397
- data/doc/SDM/MongoReplicaSet.html +0 -397
- data/doc/SDM/Mysql.html +0 -352
- data/doc/SDM/Neptune.html +0 -307
- data/doc/SDM/NeptuneIAM.html +0 -382
- data/doc/SDM/NodeCreateResponse.html +0 -234
- data/doc/SDM/NodeDeleteResponse.html +0 -204
- data/doc/SDM/NodeGetResponse.html +0 -219
- data/doc/SDM/NodeUpdateResponse.html +0 -219
- data/doc/SDM/Nodes.html +0 -409
- data/doc/SDM/NotFoundError.html +0 -140
- data/doc/SDM/Oracle.html +0 -367
- data/doc/SDM/PermissionError.html +0 -140
- data/doc/SDM/Plumbing.html +0 -15828
- data/doc/SDM/Postgres.html +0 -367
- data/doc/SDM/Presto.html +0 -367
- data/doc/SDM/RDP.html +0 -337
- data/doc/SDM/RPCError.html +0 -157
- data/doc/SDM/RabbitMQAMQP091.html +0 -352
- data/doc/SDM/RateLimitError.html +0 -157
- data/doc/SDM/RateLimitMetadata.html +0 -234
- data/doc/SDM/RawTCP.html +0 -307
- data/doc/SDM/Redis.html +0 -322
- data/doc/SDM/Redshift.html +0 -367
- data/doc/SDM/Relay.html +0 -249
- data/doc/SDM/ResourceCreateResponse.html +0 -219
- data/doc/SDM/ResourceDeleteResponse.html +0 -204
- data/doc/SDM/ResourceGetResponse.html +0 -219
- data/doc/SDM/ResourceUpdateResponse.html +0 -219
- data/doc/SDM/Resources.html +0 -456
- data/doc/SDM/Role.html +0 -249
- data/doc/SDM/RoleAttachment.html +0 -219
- data/doc/SDM/RoleAttachmentCreateResponse.html +0 -219
- data/doc/SDM/RoleAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/RoleAttachmentGetResponse.html +0 -219
- data/doc/SDM/RoleAttachments.html +0 -354
- data/doc/SDM/RoleCreateResponse.html +0 -219
- data/doc/SDM/RoleDeleteResponse.html +0 -204
- data/doc/SDM/RoleGetResponse.html +0 -219
- data/doc/SDM/RoleGrant.html +0 -219
- data/doc/SDM/RoleGrantCreateResponse.html +0 -219
- data/doc/SDM/RoleGrantDeleteResponse.html +0 -204
- data/doc/SDM/RoleGrantGetResponse.html +0 -219
- data/doc/SDM/RoleGrants.html +0 -354
- data/doc/SDM/RoleUpdateResponse.html +0 -219
- data/doc/SDM/Roles.html +0 -403
- data/doc/SDM/SQLServer.html +0 -382
- data/doc/SDM/SSH.html +0 -352
- data/doc/SDM/SSHCert.html +0 -337
- data/doc/SDM/SSHCustomerKey.html +0 -352
- data/doc/SDM/SecretStoreCreateResponse.html +0 -219
- data/doc/SDM/SecretStoreDeleteResponse.html +0 -204
- data/doc/SDM/SecretStoreGetResponse.html +0 -219
- data/doc/SDM/SecretStoreUpdateResponse.html +0 -219
- data/doc/SDM/SecretStores.html +0 -403
- data/doc/SDM/Service.html +0 -234
- data/doc/SDM/SingleStore.html +0 -352
- data/doc/SDM/Snowflake.html +0 -352
- data/doc/SDM/Sybase.html +0 -337
- data/doc/SDM/SybaseIQ.html +0 -337
- data/doc/SDM/Tag.html +0 -202
- data/doc/SDM/Teradata.html +0 -337
- data/doc/SDM/UpdateResponseMetadata.html +0 -169
- data/doc/SDM/User.html +0 -264
- data/doc/SDM/VaultTLSStore.html +0 -292
- data/doc/SDM/VaultTokenStore.html +0 -247
- data/doc/SDM.html +0 -122
- data/doc/V1/AccountAttachments/Service.html +0 -107
- data/doc/V1/AccountAttachments.html +0 -100
- data/doc/V1/AccountGrants/Service.html +0 -107
- data/doc/V1/AccountGrants.html +0 -100
- data/doc/V1/Accounts/Service.html +0 -112
- data/doc/V1/Accounts.html +0 -100
- data/doc/V1/ControlPanel/Service.html +0 -107
- data/doc/V1/ControlPanel.html +0 -100
- data/doc/V1/Nodes/Service.html +0 -112
- data/doc/V1/Nodes.html +0 -100
- data/doc/V1/Resources/Service.html +0 -105
- data/doc/V1/Resources.html +0 -100
- data/doc/V1/RoleAttachments/Service.html +0 -107
- data/doc/V1/RoleAttachments.html +0 -100
- data/doc/V1/RoleGrants/Service.html +0 -107
- data/doc/V1/RoleGrants.html +0 -100
- data/doc/V1/Roles/Service.html +0 -107
- data/doc/V1/Roles.html +0 -100
- data/doc/V1/SecretStores/Service.html +0 -107
- data/doc/V1/SecretStores.html +0 -100
- data/doc/V1/Tags.html +0 -100
- data/doc/V1.html +0 -502
- data/doc/created.rid +0 -37
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -639
- data/doc/examples/Gemfile.html +0 -89
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -255
- data/doc/js/darkfish.js +0 -84
- data/doc/js/navigation.js +0 -105
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -110
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -229
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +0 -92
- data/doc/table_of_contents.html +0 -4614
- data/examples/Gemfile +0 -3
- data/examples/listUsers.rb +0 -21
data/lib/models/porcelain.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
#
|
15
15
|
|
16
|
-
# This file was generated by protogen. DO NOT EDIT.
|
16
|
+
# @internal This file was generated by protogen. DO NOT EDIT.
|
17
17
|
|
18
18
|
module SDM
|
19
19
|
class AKS
|
@@ -55,42 +55,18 @@ module SDM
|
|
55
55
|
secret_store_id: nil,
|
56
56
|
tags: nil
|
57
57
|
)
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
if healthcheck_namespace != nil
|
71
|
-
@healthcheck_namespace = healthcheck_namespace
|
72
|
-
end
|
73
|
-
if healthy != nil
|
74
|
-
@healthy = healthy
|
75
|
-
end
|
76
|
-
if hostname != nil
|
77
|
-
@hostname = hostname
|
78
|
-
end
|
79
|
-
if id != nil
|
80
|
-
@id = id
|
81
|
-
end
|
82
|
-
if name != nil
|
83
|
-
@name = name
|
84
|
-
end
|
85
|
-
if port != nil
|
86
|
-
@port = port
|
87
|
-
end
|
88
|
-
if secret_store_id != nil
|
89
|
-
@secret_store_id = secret_store_id
|
90
|
-
end
|
91
|
-
if tags != nil
|
92
|
-
@tags = tags
|
93
|
-
end
|
58
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
59
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
60
|
+
@client_key = client_key == nil ? "" : client_key
|
61
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
62
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
63
|
+
@healthy = healthy == nil ? false : healthy
|
64
|
+
@hostname = hostname == nil ? "" : hostname
|
65
|
+
@id = id == nil ? "" : id
|
66
|
+
@name = name == nil ? "" : name
|
67
|
+
@port = port == nil ? 0 : port
|
68
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
69
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
94
70
|
end
|
95
71
|
|
96
72
|
def to_json(options = {})
|
@@ -139,39 +115,17 @@ module SDM
|
|
139
115
|
tags: nil,
|
140
116
|
username: nil
|
141
117
|
)
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
end
|
154
|
-
if id != nil
|
155
|
-
@id = id
|
156
|
-
end
|
157
|
-
if name != nil
|
158
|
-
@name = name
|
159
|
-
end
|
160
|
-
if password != nil
|
161
|
-
@password = password
|
162
|
-
end
|
163
|
-
if port != nil
|
164
|
-
@port = port
|
165
|
-
end
|
166
|
-
if secret_store_id != nil
|
167
|
-
@secret_store_id = secret_store_id
|
168
|
-
end
|
169
|
-
if tags != nil
|
170
|
-
@tags = tags
|
171
|
-
end
|
172
|
-
if username != nil
|
173
|
-
@username = username
|
174
|
-
end
|
118
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
119
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
120
|
+
@healthy = healthy == nil ? false : healthy
|
121
|
+
@hostname = hostname == nil ? "" : hostname
|
122
|
+
@id = id == nil ? "" : id
|
123
|
+
@name = name == nil ? "" : name
|
124
|
+
@password = password == nil ? "" : password
|
125
|
+
@port = port == nil ? 0 : port
|
126
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
127
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
128
|
+
@username = username == nil ? "" : username
|
175
129
|
end
|
176
130
|
|
177
131
|
def to_json(options = {})
|
@@ -217,36 +171,16 @@ module SDM
|
|
217
171
|
tags: nil,
|
218
172
|
token: nil
|
219
173
|
)
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
@hostname = hostname
|
231
|
-
end
|
232
|
-
if id != nil
|
233
|
-
@id = id
|
234
|
-
end
|
235
|
-
if name != nil
|
236
|
-
@name = name
|
237
|
-
end
|
238
|
-
if port != nil
|
239
|
-
@port = port
|
240
|
-
end
|
241
|
-
if secret_store_id != nil
|
242
|
-
@secret_store_id = secret_store_id
|
243
|
-
end
|
244
|
-
if tags != nil
|
245
|
-
@tags = tags
|
246
|
-
end
|
247
|
-
if token != nil
|
248
|
-
@token = token
|
249
|
-
end
|
174
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
175
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
176
|
+
@healthy = healthy == nil ? false : healthy
|
177
|
+
@hostname = hostname == nil ? "" : hostname
|
178
|
+
@id = id == nil ? "" : id
|
179
|
+
@name = name == nil ? "" : name
|
180
|
+
@port = port == nil ? 0 : port
|
181
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
182
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
183
|
+
@token = token == nil ? "" : token
|
250
184
|
end
|
251
185
|
|
252
186
|
def to_json(options = {})
|
@@ -292,36 +226,16 @@ module SDM
|
|
292
226
|
tags: nil,
|
293
227
|
token: nil
|
294
228
|
)
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
@hostname = hostname
|
306
|
-
end
|
307
|
-
if id != nil
|
308
|
-
@id = id
|
309
|
-
end
|
310
|
-
if name != nil
|
311
|
-
@name = name
|
312
|
-
end
|
313
|
-
if port != nil
|
314
|
-
@port = port
|
315
|
-
end
|
316
|
-
if secret_store_id != nil
|
317
|
-
@secret_store_id = secret_store_id
|
318
|
-
end
|
319
|
-
if tags != nil
|
320
|
-
@tags = tags
|
321
|
-
end
|
322
|
-
if token != nil
|
323
|
-
@token = token
|
324
|
-
end
|
229
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
230
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
231
|
+
@healthy = healthy == nil ? false : healthy
|
232
|
+
@hostname = hostname == nil ? "" : hostname
|
233
|
+
@id = id == nil ? "" : id
|
234
|
+
@name = name == nil ? "" : name
|
235
|
+
@port = port == nil ? 0 : port
|
236
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
237
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
238
|
+
@token = token == nil ? "" : token
|
325
239
|
end
|
326
240
|
|
327
241
|
def to_json(options = {})
|
@@ -372,42 +286,18 @@ module SDM
|
|
372
286
|
secret_store_id: nil,
|
373
287
|
tags: nil
|
374
288
|
)
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
if healthcheck_namespace != nil
|
388
|
-
@healthcheck_namespace = healthcheck_namespace
|
389
|
-
end
|
390
|
-
if healthy != nil
|
391
|
-
@healthy = healthy
|
392
|
-
end
|
393
|
-
if hostname != nil
|
394
|
-
@hostname = hostname
|
395
|
-
end
|
396
|
-
if id != nil
|
397
|
-
@id = id
|
398
|
-
end
|
399
|
-
if name != nil
|
400
|
-
@name = name
|
401
|
-
end
|
402
|
-
if port != nil
|
403
|
-
@port = port
|
404
|
-
end
|
405
|
-
if secret_store_id != nil
|
406
|
-
@secret_store_id = secret_store_id
|
407
|
-
end
|
408
|
-
if tags != nil
|
409
|
-
@tags = tags
|
410
|
-
end
|
289
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
290
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
291
|
+
@client_key = client_key == nil ? "" : client_key
|
292
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
293
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
294
|
+
@healthy = healthy == nil ? false : healthy
|
295
|
+
@hostname = hostname == nil ? "" : hostname
|
296
|
+
@id = id == nil ? "" : id
|
297
|
+
@name = name == nil ? "" : name
|
298
|
+
@port = port == nil ? 0 : port
|
299
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
300
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
411
301
|
end
|
412
302
|
|
413
303
|
def to_json(options = {})
|
@@ -455,39 +345,17 @@ module SDM
|
|
455
345
|
secret_store_id: nil,
|
456
346
|
tags: nil
|
457
347
|
)
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
end
|
470
|
-
if id != nil
|
471
|
-
@id = id
|
472
|
-
end
|
473
|
-
if name != nil
|
474
|
-
@name = name
|
475
|
-
end
|
476
|
-
if role_arn != nil
|
477
|
-
@role_arn = role_arn
|
478
|
-
end
|
479
|
-
if role_external_id != nil
|
480
|
-
@role_external_id = role_external_id
|
481
|
-
end
|
482
|
-
if secret_access_key != nil
|
483
|
-
@secret_access_key = secret_access_key
|
484
|
-
end
|
485
|
-
if secret_store_id != nil
|
486
|
-
@secret_store_id = secret_store_id
|
487
|
-
end
|
488
|
-
if tags != nil
|
489
|
-
@tags = tags
|
490
|
-
end
|
348
|
+
@access_key = access_key == nil ? "" : access_key
|
349
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
350
|
+
@healthcheck_region = healthcheck_region == nil ? "" : healthcheck_region
|
351
|
+
@healthy = healthy == nil ? false : healthy
|
352
|
+
@id = id == nil ? "" : id
|
353
|
+
@name = name == nil ? "" : name
|
354
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
355
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
356
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
357
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
358
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
491
359
|
end
|
492
360
|
|
493
361
|
def to_json(options = {})
|
@@ -515,18 +383,10 @@ module SDM
|
|
515
383
|
region: nil,
|
516
384
|
tags: nil
|
517
385
|
)
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
@name = name
|
523
|
-
end
|
524
|
-
if region != nil
|
525
|
-
@region = region
|
526
|
-
end
|
527
|
-
if tags != nil
|
528
|
-
@tags = tags
|
529
|
-
end
|
386
|
+
@id = id == nil ? "" : id
|
387
|
+
@name = name == nil ? "" : name
|
388
|
+
@region = region == nil ? "" : region
|
389
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
530
390
|
end
|
531
391
|
|
532
392
|
def to_json(options = {})
|
@@ -538,7 +398,7 @@ module SDM
|
|
538
398
|
end
|
539
399
|
end
|
540
400
|
|
541
|
-
# AccountAttachments assign an account to a role
|
401
|
+
# AccountAttachments assign an account to a role.
|
542
402
|
class AccountAttachment
|
543
403
|
# The id of the account of this AccountAttachment.
|
544
404
|
attr_accessor :account_id
|
@@ -552,15 +412,9 @@ module SDM
|
|
552
412
|
id: nil,
|
553
413
|
role_id: nil
|
554
414
|
)
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
if id != nil
|
559
|
-
@id = id
|
560
|
-
end
|
561
|
-
if role_id != nil
|
562
|
-
@role_id = role_id
|
563
|
-
end
|
415
|
+
@account_id = account_id == nil ? "" : account_id
|
416
|
+
@id = id == nil ? "" : id
|
417
|
+
@role_id = role_id == nil ? "" : role_id
|
564
418
|
end
|
565
419
|
|
566
420
|
def to_json(options = {})
|
@@ -586,15 +440,9 @@ module SDM
|
|
586
440
|
meta: nil,
|
587
441
|
rate_limit: nil
|
588
442
|
)
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
if meta != nil
|
593
|
-
@meta = meta
|
594
|
-
end
|
595
|
-
if rate_limit != nil
|
596
|
-
@rate_limit = rate_limit
|
597
|
-
end
|
443
|
+
@account_attachment = account_attachment == nil ? nil : account_attachment
|
444
|
+
@meta = meta == nil ? nil : meta
|
445
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
598
446
|
end
|
599
447
|
|
600
448
|
def to_json(options = {})
|
@@ -617,12 +465,8 @@ module SDM
|
|
617
465
|
meta: nil,
|
618
466
|
rate_limit: nil
|
619
467
|
)
|
620
|
-
|
621
|
-
|
622
|
-
end
|
623
|
-
if rate_limit != nil
|
624
|
-
@rate_limit = rate_limit
|
625
|
-
end
|
468
|
+
@meta = meta == nil ? nil : meta
|
469
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
626
470
|
end
|
627
471
|
|
628
472
|
def to_json(options = {})
|
@@ -648,15 +492,9 @@ module SDM
|
|
648
492
|
meta: nil,
|
649
493
|
rate_limit: nil
|
650
494
|
)
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
if meta != nil
|
655
|
-
@meta = meta
|
656
|
-
end
|
657
|
-
if rate_limit != nil
|
658
|
-
@rate_limit = rate_limit
|
659
|
-
end
|
495
|
+
@account_attachment = account_attachment == nil ? nil : account_attachment
|
496
|
+
@meta = meta == nil ? nil : meta
|
497
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
660
498
|
end
|
661
499
|
|
662
500
|
def to_json(options = {})
|
@@ -686,18 +524,10 @@ module SDM
|
|
686
524
|
rate_limit: nil,
|
687
525
|
token: nil
|
688
526
|
)
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
@meta = meta
|
694
|
-
end
|
695
|
-
if rate_limit != nil
|
696
|
-
@rate_limit = rate_limit
|
697
|
-
end
|
698
|
-
if token != nil
|
699
|
-
@token = token
|
700
|
-
end
|
527
|
+
@account = account == nil ? nil : account
|
528
|
+
@meta = meta == nil ? nil : meta
|
529
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
530
|
+
@token = token == nil ? "" : token
|
701
531
|
end
|
702
532
|
|
703
533
|
def to_json(options = {})
|
@@ -720,12 +550,8 @@ module SDM
|
|
720
550
|
meta: nil,
|
721
551
|
rate_limit: nil
|
722
552
|
)
|
723
|
-
|
724
|
-
|
725
|
-
end
|
726
|
-
if rate_limit != nil
|
727
|
-
@rate_limit = rate_limit
|
728
|
-
end
|
553
|
+
@meta = meta == nil ? nil : meta
|
554
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
729
555
|
end
|
730
556
|
|
731
557
|
def to_json(options = {})
|
@@ -751,15 +577,9 @@ module SDM
|
|
751
577
|
meta: nil,
|
752
578
|
rate_limit: nil
|
753
579
|
)
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
if meta != nil
|
758
|
-
@meta = meta
|
759
|
-
end
|
760
|
-
if rate_limit != nil
|
761
|
-
@rate_limit = rate_limit
|
762
|
-
end
|
580
|
+
@account = account == nil ? nil : account
|
581
|
+
@meta = meta == nil ? nil : meta
|
582
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
763
583
|
end
|
764
584
|
|
765
585
|
def to_json(options = {})
|
@@ -793,21 +613,11 @@ module SDM
|
|
793
613
|
start_from: nil,
|
794
614
|
valid_until: nil
|
795
615
|
)
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
end
|
802
|
-
if resource_id != nil
|
803
|
-
@resource_id = resource_id
|
804
|
-
end
|
805
|
-
if start_from != nil
|
806
|
-
@start_from = start_from
|
807
|
-
end
|
808
|
-
if valid_until != nil
|
809
|
-
@valid_until = valid_until
|
810
|
-
end
|
616
|
+
@account_id = account_id == nil ? "" : account_id
|
617
|
+
@id = id == nil ? "" : id
|
618
|
+
@resource_id = resource_id == nil ? "" : resource_id
|
619
|
+
@start_from = start_from == nil ? nil : start_from
|
620
|
+
@valid_until = valid_until == nil ? nil : valid_until
|
811
621
|
end
|
812
622
|
|
813
623
|
def to_json(options = {})
|
@@ -833,15 +643,9 @@ module SDM
|
|
833
643
|
meta: nil,
|
834
644
|
rate_limit: nil
|
835
645
|
)
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
if meta != nil
|
840
|
-
@meta = meta
|
841
|
-
end
|
842
|
-
if rate_limit != nil
|
843
|
-
@rate_limit = rate_limit
|
844
|
-
end
|
646
|
+
@account_grant = account_grant == nil ? nil : account_grant
|
647
|
+
@meta = meta == nil ? nil : meta
|
648
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
845
649
|
end
|
846
650
|
|
847
651
|
def to_json(options = {})
|
@@ -864,12 +668,8 @@ module SDM
|
|
864
668
|
meta: nil,
|
865
669
|
rate_limit: nil
|
866
670
|
)
|
867
|
-
|
868
|
-
|
869
|
-
end
|
870
|
-
if rate_limit != nil
|
871
|
-
@rate_limit = rate_limit
|
872
|
-
end
|
671
|
+
@meta = meta == nil ? nil : meta
|
672
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
873
673
|
end
|
874
674
|
|
875
675
|
def to_json(options = {})
|
@@ -895,15 +695,9 @@ module SDM
|
|
895
695
|
meta: nil,
|
896
696
|
rate_limit: nil
|
897
697
|
)
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
if meta != nil
|
902
|
-
@meta = meta
|
903
|
-
end
|
904
|
-
if rate_limit != nil
|
905
|
-
@rate_limit = rate_limit
|
906
|
-
end
|
698
|
+
@account_grant = account_grant == nil ? nil : account_grant
|
699
|
+
@meta = meta == nil ? nil : meta
|
700
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
907
701
|
end
|
908
702
|
|
909
703
|
def to_json(options = {})
|
@@ -930,15 +724,9 @@ module SDM
|
|
930
724
|
meta: nil,
|
931
725
|
rate_limit: nil
|
932
726
|
)
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
if meta != nil
|
937
|
-
@meta = meta
|
938
|
-
end
|
939
|
-
if rate_limit != nil
|
940
|
-
@rate_limit = rate_limit
|
941
|
-
end
|
727
|
+
@account = account == nil ? nil : account
|
728
|
+
@meta = meta == nil ? nil : meta
|
729
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
942
730
|
end
|
943
731
|
|
944
732
|
def to_json(options = {})
|
@@ -998,51 +786,21 @@ module SDM
|
|
998
786
|
secret_store_id: nil,
|
999
787
|
tags: nil
|
1000
788
|
)
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
if healthcheck_namespace != nil
|
1017
|
-
@healthcheck_namespace = healthcheck_namespace
|
1018
|
-
end
|
1019
|
-
if healthy != nil
|
1020
|
-
@healthy = healthy
|
1021
|
-
end
|
1022
|
-
if id != nil
|
1023
|
-
@id = id
|
1024
|
-
end
|
1025
|
-
if name != nil
|
1026
|
-
@name = name
|
1027
|
-
end
|
1028
|
-
if region != nil
|
1029
|
-
@region = region
|
1030
|
-
end
|
1031
|
-
if role_arn != nil
|
1032
|
-
@role_arn = role_arn
|
1033
|
-
end
|
1034
|
-
if role_external_id != nil
|
1035
|
-
@role_external_id = role_external_id
|
1036
|
-
end
|
1037
|
-
if secret_access_key != nil
|
1038
|
-
@secret_access_key = secret_access_key
|
1039
|
-
end
|
1040
|
-
if secret_store_id != nil
|
1041
|
-
@secret_store_id = secret_store_id
|
1042
|
-
end
|
1043
|
-
if tags != nil
|
1044
|
-
@tags = tags
|
1045
|
-
end
|
789
|
+
@access_key = access_key == nil ? "" : access_key
|
790
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
791
|
+
@cluster_name = cluster_name == nil ? "" : cluster_name
|
792
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
793
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
794
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
795
|
+
@healthy = healthy == nil ? false : healthy
|
796
|
+
@id = id == nil ? "" : id
|
797
|
+
@name = name == nil ? "" : name
|
798
|
+
@region = region == nil ? "" : region
|
799
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
800
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
801
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
802
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
803
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1046
804
|
end
|
1047
805
|
|
1048
806
|
def to_json(options = {})
|
@@ -1102,51 +860,21 @@ module SDM
|
|
1102
860
|
secret_store_id: nil,
|
1103
861
|
tags: nil
|
1104
862
|
)
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
if healthcheck_namespace != nil
|
1121
|
-
@healthcheck_namespace = healthcheck_namespace
|
1122
|
-
end
|
1123
|
-
if healthy != nil
|
1124
|
-
@healthy = healthy
|
1125
|
-
end
|
1126
|
-
if id != nil
|
1127
|
-
@id = id
|
1128
|
-
end
|
1129
|
-
if name != nil
|
1130
|
-
@name = name
|
1131
|
-
end
|
1132
|
-
if region != nil
|
1133
|
-
@region = region
|
1134
|
-
end
|
1135
|
-
if role_arn != nil
|
1136
|
-
@role_arn = role_arn
|
1137
|
-
end
|
1138
|
-
if role_external_id != nil
|
1139
|
-
@role_external_id = role_external_id
|
1140
|
-
end
|
1141
|
-
if secret_access_key != nil
|
1142
|
-
@secret_access_key = secret_access_key
|
1143
|
-
end
|
1144
|
-
if secret_store_id != nil
|
1145
|
-
@secret_store_id = secret_store_id
|
1146
|
-
end
|
1147
|
-
if tags != nil
|
1148
|
-
@tags = tags
|
1149
|
-
end
|
863
|
+
@access_key = access_key == nil ? "" : access_key
|
864
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
865
|
+
@cluster_name = cluster_name == nil ? "" : cluster_name
|
866
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
867
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
868
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
869
|
+
@healthy = healthy == nil ? false : healthy
|
870
|
+
@id = id == nil ? "" : id
|
871
|
+
@name = name == nil ? "" : name
|
872
|
+
@region = region == nil ? "" : region
|
873
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
874
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
875
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
876
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
877
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1150
878
|
end
|
1151
879
|
|
1152
880
|
def to_json(options = {})
|
@@ -1200,45 +928,19 @@ module SDM
|
|
1200
928
|
secret_store_id: nil,
|
1201
929
|
tags: nil
|
1202
930
|
)
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
@id = id
|
1217
|
-
end
|
1218
|
-
if name != nil
|
1219
|
-
@name = name
|
1220
|
-
end
|
1221
|
-
if port_override != nil
|
1222
|
-
@port_override = port_override
|
1223
|
-
end
|
1224
|
-
if region != nil
|
1225
|
-
@region = region
|
1226
|
-
end
|
1227
|
-
if role_arn != nil
|
1228
|
-
@role_arn = role_arn
|
1229
|
-
end
|
1230
|
-
if role_external_id != nil
|
1231
|
-
@role_external_id = role_external_id
|
1232
|
-
end
|
1233
|
-
if secret_access_key != nil
|
1234
|
-
@secret_access_key = secret_access_key
|
1235
|
-
end
|
1236
|
-
if secret_store_id != nil
|
1237
|
-
@secret_store_id = secret_store_id
|
1238
|
-
end
|
1239
|
-
if tags != nil
|
1240
|
-
@tags = tags
|
1241
|
-
end
|
931
|
+
@access_key = access_key == nil ? "" : access_key
|
932
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
933
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
934
|
+
@healthy = healthy == nil ? false : healthy
|
935
|
+
@id = id == nil ? "" : id
|
936
|
+
@name = name == nil ? "" : name
|
937
|
+
@port_override = port_override == nil ? 0 : port_override
|
938
|
+
@region = region == nil ? "" : region
|
939
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
940
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
941
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
942
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
943
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1242
944
|
end
|
1243
945
|
|
1244
946
|
def to_json(options = {})
|
@@ -1290,42 +992,18 @@ module SDM
|
|
1290
992
|
tls_required: nil,
|
1291
993
|
username: nil
|
1292
994
|
)
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
if name != nil
|
1306
|
-
@name = name
|
1307
|
-
end
|
1308
|
-
if password != nil
|
1309
|
-
@password = password
|
1310
|
-
end
|
1311
|
-
if port != nil
|
1312
|
-
@port = port
|
1313
|
-
end
|
1314
|
-
if port_override != nil
|
1315
|
-
@port_override = port_override
|
1316
|
-
end
|
1317
|
-
if secret_store_id != nil
|
1318
|
-
@secret_store_id = secret_store_id
|
1319
|
-
end
|
1320
|
-
if tags != nil
|
1321
|
-
@tags = tags
|
1322
|
-
end
|
1323
|
-
if tls_required != nil
|
1324
|
-
@tls_required = tls_required
|
1325
|
-
end
|
1326
|
-
if username != nil
|
1327
|
-
@username = username
|
1328
|
-
end
|
995
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
996
|
+
@healthy = healthy == nil ? false : healthy
|
997
|
+
@hostname = hostname == nil ? "" : hostname
|
998
|
+
@id = id == nil ? "" : id
|
999
|
+
@name = name == nil ? "" : name
|
1000
|
+
@password = password == nil ? "" : password
|
1001
|
+
@port = port == nil ? 0 : port
|
1002
|
+
@port_override = port_override == nil ? 0 : port_override
|
1003
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1004
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1005
|
+
@tls_required = tls_required == nil ? false : tls_required
|
1006
|
+
@username = username == nil ? "" : username
|
1329
1007
|
end
|
1330
1008
|
|
1331
1009
|
def to_json(options = {})
|
@@ -1379,45 +1057,19 @@ module SDM
|
|
1379
1057
|
secret_store_id: nil,
|
1380
1058
|
tags: nil
|
1381
1059
|
)
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
@name = name
|
1396
|
-
end
|
1397
|
-
if output != nil
|
1398
|
-
@output = output
|
1399
|
-
end
|
1400
|
-
if port_override != nil
|
1401
|
-
@port_override = port_override
|
1402
|
-
end
|
1403
|
-
if region != nil
|
1404
|
-
@region = region
|
1405
|
-
end
|
1406
|
-
if role_arn != nil
|
1407
|
-
@role_arn = role_arn
|
1408
|
-
end
|
1409
|
-
if role_external_id != nil
|
1410
|
-
@role_external_id = role_external_id
|
1411
|
-
end
|
1412
|
-
if secret_access_key != nil
|
1413
|
-
@secret_access_key = secret_access_key
|
1414
|
-
end
|
1415
|
-
if secret_store_id != nil
|
1416
|
-
@secret_store_id = secret_store_id
|
1417
|
-
end
|
1418
|
-
if tags != nil
|
1419
|
-
@tags = tags
|
1420
|
-
end
|
1060
|
+
@access_key = access_key == nil ? "" : access_key
|
1061
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1062
|
+
@healthy = healthy == nil ? false : healthy
|
1063
|
+
@id = id == nil ? "" : id
|
1064
|
+
@name = name == nil ? "" : name
|
1065
|
+
@output = output == nil ? "" : output
|
1066
|
+
@port_override = port_override == nil ? 0 : port_override
|
1067
|
+
@region = region == nil ? "" : region
|
1068
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
1069
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
1070
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
1071
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1072
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1421
1073
|
end
|
1422
1074
|
|
1423
1075
|
def to_json(options = {})
|
@@ -1468,42 +1120,18 @@ module SDM
|
|
1468
1120
|
tags: nil,
|
1469
1121
|
username: nil
|
1470
1122
|
)
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
if id != nil
|
1484
|
-
@id = id
|
1485
|
-
end
|
1486
|
-
if name != nil
|
1487
|
-
@name = name
|
1488
|
-
end
|
1489
|
-
if password != nil
|
1490
|
-
@password = password
|
1491
|
-
end
|
1492
|
-
if port != nil
|
1493
|
-
@port = port
|
1494
|
-
end
|
1495
|
-
if port_override != nil
|
1496
|
-
@port_override = port_override
|
1497
|
-
end
|
1498
|
-
if secret_store_id != nil
|
1499
|
-
@secret_store_id = secret_store_id
|
1500
|
-
end
|
1501
|
-
if tags != nil
|
1502
|
-
@tags = tags
|
1503
|
-
end
|
1504
|
-
if username != nil
|
1505
|
-
@username = username
|
1506
|
-
end
|
1123
|
+
@database = database == nil ? "" : database
|
1124
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1125
|
+
@healthy = healthy == nil ? false : healthy
|
1126
|
+
@hostname = hostname == nil ? "" : hostname
|
1127
|
+
@id = id == nil ? "" : id
|
1128
|
+
@name = name == nil ? "" : name
|
1129
|
+
@password = password == nil ? "" : password
|
1130
|
+
@port = port == nil ? 0 : port
|
1131
|
+
@port_override = port_override == nil ? 0 : port_override
|
1132
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1133
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1134
|
+
@username = username == nil ? "" : username
|
1507
1135
|
end
|
1508
1136
|
|
1509
1137
|
def to_json(options = {})
|
@@ -1557,45 +1185,19 @@ module SDM
|
|
1557
1185
|
tags: nil,
|
1558
1186
|
username: nil
|
1559
1187
|
)
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
@id = id
|
1574
|
-
end
|
1575
|
-
if name != nil
|
1576
|
-
@name = name
|
1577
|
-
end
|
1578
|
-
if override_database != nil
|
1579
|
-
@override_database = override_database
|
1580
|
-
end
|
1581
|
-
if password != nil
|
1582
|
-
@password = password
|
1583
|
-
end
|
1584
|
-
if port != nil
|
1585
|
-
@port = port
|
1586
|
-
end
|
1587
|
-
if port_override != nil
|
1588
|
-
@port_override = port_override
|
1589
|
-
end
|
1590
|
-
if secret_store_id != nil
|
1591
|
-
@secret_store_id = secret_store_id
|
1592
|
-
end
|
1593
|
-
if tags != nil
|
1594
|
-
@tags = tags
|
1595
|
-
end
|
1596
|
-
if username != nil
|
1597
|
-
@username = username
|
1598
|
-
end
|
1188
|
+
@database = database == nil ? "" : database
|
1189
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1190
|
+
@healthy = healthy == nil ? false : healthy
|
1191
|
+
@hostname = hostname == nil ? "" : hostname
|
1192
|
+
@id = id == nil ? "" : id
|
1193
|
+
@name = name == nil ? "" : name
|
1194
|
+
@override_database = override_database == nil ? false : override_database
|
1195
|
+
@password = password == nil ? "" : password
|
1196
|
+
@port = port == nil ? 0 : port
|
1197
|
+
@port_override = port_override == nil ? 0 : port_override
|
1198
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1199
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1200
|
+
@username = username == nil ? "" : username
|
1599
1201
|
end
|
1600
1202
|
|
1601
1203
|
def to_json(options = {})
|
@@ -1637,33 +1239,15 @@ module SDM
|
|
1637
1239
|
tags: nil,
|
1638
1240
|
tenant_id: nil
|
1639
1241
|
)
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
if id != nil
|
1650
|
-
@id = id
|
1651
|
-
end
|
1652
|
-
if name != nil
|
1653
|
-
@name = name
|
1654
|
-
end
|
1655
|
-
if password != nil
|
1656
|
-
@password = password
|
1657
|
-
end
|
1658
|
-
if secret_store_id != nil
|
1659
|
-
@secret_store_id = secret_store_id
|
1660
|
-
end
|
1661
|
-
if tags != nil
|
1662
|
-
@tags = tags
|
1663
|
-
end
|
1664
|
-
if tenant_id != nil
|
1665
|
-
@tenant_id = tenant_id
|
1666
|
-
end
|
1242
|
+
@app_id = app_id == nil ? "" : app_id
|
1243
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1244
|
+
@healthy = healthy == nil ? false : healthy
|
1245
|
+
@id = id == nil ? "" : id
|
1246
|
+
@name = name == nil ? "" : name
|
1247
|
+
@password = password == nil ? "" : password
|
1248
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1249
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1250
|
+
@tenant_id = tenant_id == nil ? "" : tenant_id
|
1667
1251
|
end
|
1668
1252
|
|
1669
1253
|
def to_json(options = {})
|
@@ -1705,33 +1289,15 @@ module SDM
|
|
1705
1289
|
tags: nil,
|
1706
1290
|
tenant_id: nil
|
1707
1291
|
)
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
if healthy != nil
|
1718
|
-
@healthy = healthy
|
1719
|
-
end
|
1720
|
-
if id != nil
|
1721
|
-
@id = id
|
1722
|
-
end
|
1723
|
-
if name != nil
|
1724
|
-
@name = name
|
1725
|
-
end
|
1726
|
-
if secret_store_id != nil
|
1727
|
-
@secret_store_id = secret_store_id
|
1728
|
-
end
|
1729
|
-
if tags != nil
|
1730
|
-
@tags = tags
|
1731
|
-
end
|
1732
|
-
if tenant_id != nil
|
1733
|
-
@tenant_id = tenant_id
|
1734
|
-
end
|
1292
|
+
@app_id = app_id == nil ? "" : app_id
|
1293
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
1294
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1295
|
+
@healthy = healthy == nil ? false : healthy
|
1296
|
+
@id = id == nil ? "" : id
|
1297
|
+
@name = name == nil ? "" : name
|
1298
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1299
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1300
|
+
@tenant_id = tenant_id == nil ? "" : tenant_id
|
1735
1301
|
end
|
1736
1302
|
|
1737
1303
|
def to_json(options = {})
|
@@ -1785,45 +1351,50 @@ module SDM
|
|
1785
1351
|
tags: nil,
|
1786
1352
|
username: nil
|
1787
1353
|
)
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
@override_database = override_database
|
1808
|
-
end
|
1809
|
-
if password != nil
|
1810
|
-
@password = password
|
1811
|
-
end
|
1812
|
-
if port != nil
|
1813
|
-
@port = port
|
1814
|
-
end
|
1815
|
-
if port_override != nil
|
1816
|
-
@port_override = port_override
|
1817
|
-
end
|
1818
|
-
if secret_store_id != nil
|
1819
|
-
@secret_store_id = secret_store_id
|
1820
|
-
end
|
1821
|
-
if tags != nil
|
1822
|
-
@tags = tags
|
1823
|
-
end
|
1824
|
-
if username != nil
|
1825
|
-
@username = username
|
1354
|
+
@database = database == nil ? "" : database
|
1355
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1356
|
+
@healthy = healthy == nil ? false : healthy
|
1357
|
+
@hostname = hostname == nil ? "" : hostname
|
1358
|
+
@id = id == nil ? "" : id
|
1359
|
+
@name = name == nil ? "" : name
|
1360
|
+
@override_database = override_database == nil ? false : override_database
|
1361
|
+
@password = password == nil ? "" : password
|
1362
|
+
@port = port == nil ? 0 : port
|
1363
|
+
@port_override = port_override == nil ? 0 : port_override
|
1364
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1365
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1366
|
+
@username = username == nil ? "" : username
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
def to_json(options = {})
|
1370
|
+
hash = {}
|
1371
|
+
self.instance_variables.each do |var|
|
1372
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
1826
1373
|
end
|
1374
|
+
hash.to_json
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
class AzureStore
|
1379
|
+
# Unique identifier of the SecretStore.
|
1380
|
+
attr_accessor :id
|
1381
|
+
# Unique human-readable name of the SecretStore.
|
1382
|
+
attr_accessor :name
|
1383
|
+
# Tags is a map of key, value pairs.
|
1384
|
+
attr_accessor :tags
|
1385
|
+
|
1386
|
+
attr_accessor :vault_uri
|
1387
|
+
|
1388
|
+
def initialize(
|
1389
|
+
id: nil,
|
1390
|
+
name: nil,
|
1391
|
+
tags: nil,
|
1392
|
+
vault_uri: nil
|
1393
|
+
)
|
1394
|
+
@id = id == nil ? "" : id
|
1395
|
+
@name = name == nil ? "" : name
|
1396
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1397
|
+
@vault_uri = vault_uri == nil ? "" : vault_uri
|
1827
1398
|
end
|
1828
1399
|
|
1829
1400
|
def to_json(options = {})
|
@@ -1872,39 +1443,17 @@ module SDM
|
|
1872
1443
|
tags: nil,
|
1873
1444
|
username: nil
|
1874
1445
|
)
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
end
|
1887
|
-
if name != nil
|
1888
|
-
@name = name
|
1889
|
-
end
|
1890
|
-
if port_override != nil
|
1891
|
-
@port_override = port_override
|
1892
|
-
end
|
1893
|
-
if private_key != nil
|
1894
|
-
@private_key = private_key
|
1895
|
-
end
|
1896
|
-
if project != nil
|
1897
|
-
@project = project
|
1898
|
-
end
|
1899
|
-
if secret_store_id != nil
|
1900
|
-
@secret_store_id = secret_store_id
|
1901
|
-
end
|
1902
|
-
if tags != nil
|
1903
|
-
@tags = tags
|
1904
|
-
end
|
1905
|
-
if username != nil
|
1906
|
-
@username = username
|
1907
|
-
end
|
1446
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1447
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
1448
|
+
@healthy = healthy == nil ? false : healthy
|
1449
|
+
@id = id == nil ? "" : id
|
1450
|
+
@name = name == nil ? "" : name
|
1451
|
+
@port_override = port_override == nil ? 0 : port_override
|
1452
|
+
@private_key = private_key == nil ? "" : private_key
|
1453
|
+
@project = project == nil ? "" : project
|
1454
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1455
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1456
|
+
@username = username == nil ? "" : username
|
1908
1457
|
end
|
1909
1458
|
|
1910
1459
|
def to_json(options = {})
|
@@ -1956,42 +1505,18 @@ module SDM
|
|
1956
1505
|
tls_required: nil,
|
1957
1506
|
username: nil
|
1958
1507
|
)
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1964
|
-
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
if name != nil
|
1972
|
-
@name = name
|
1973
|
-
end
|
1974
|
-
if password != nil
|
1975
|
-
@password = password
|
1976
|
-
end
|
1977
|
-
if port != nil
|
1978
|
-
@port = port
|
1979
|
-
end
|
1980
|
-
if port_override != nil
|
1981
|
-
@port_override = port_override
|
1982
|
-
end
|
1983
|
-
if secret_store_id != nil
|
1984
|
-
@secret_store_id = secret_store_id
|
1985
|
-
end
|
1986
|
-
if tags != nil
|
1987
|
-
@tags = tags
|
1988
|
-
end
|
1989
|
-
if tls_required != nil
|
1990
|
-
@tls_required = tls_required
|
1991
|
-
end
|
1992
|
-
if username != nil
|
1993
|
-
@username = username
|
1994
|
-
end
|
1508
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1509
|
+
@healthy = healthy == nil ? false : healthy
|
1510
|
+
@hostname = hostname == nil ? "" : hostname
|
1511
|
+
@id = id == nil ? "" : id
|
1512
|
+
@name = name == nil ? "" : name
|
1513
|
+
@password = password == nil ? "" : password
|
1514
|
+
@port = port == nil ? 0 : port
|
1515
|
+
@port_override = port_override == nil ? 0 : port_override
|
1516
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1517
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1518
|
+
@tls_required = tls_required == nil ? false : tls_required
|
1519
|
+
@username = username == nil ? "" : username
|
1995
1520
|
end
|
1996
1521
|
|
1997
1522
|
def to_json(options = {})
|
@@ -2045,45 +1570,19 @@ module SDM
|
|
2045
1570
|
tags: nil,
|
2046
1571
|
username: nil
|
2047
1572
|
)
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2051
|
-
|
2052
|
-
|
2053
|
-
|
2054
|
-
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
@id = id
|
2062
|
-
end
|
2063
|
-
if name != nil
|
2064
|
-
@name = name
|
2065
|
-
end
|
2066
|
-
if override_database != nil
|
2067
|
-
@override_database = override_database
|
2068
|
-
end
|
2069
|
-
if password != nil
|
2070
|
-
@password = password
|
2071
|
-
end
|
2072
|
-
if port != nil
|
2073
|
-
@port = port
|
2074
|
-
end
|
2075
|
-
if port_override != nil
|
2076
|
-
@port_override = port_override
|
2077
|
-
end
|
2078
|
-
if secret_store_id != nil
|
2079
|
-
@secret_store_id = secret_store_id
|
2080
|
-
end
|
2081
|
-
if tags != nil
|
2082
|
-
@tags = tags
|
2083
|
-
end
|
2084
|
-
if username != nil
|
2085
|
-
@username = username
|
2086
|
-
end
|
1573
|
+
@database = database == nil ? "" : database
|
1574
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1575
|
+
@healthy = healthy == nil ? false : healthy
|
1576
|
+
@hostname = hostname == nil ? "" : hostname
|
1577
|
+
@id = id == nil ? "" : id
|
1578
|
+
@name = name == nil ? "" : name
|
1579
|
+
@override_database = override_database == nil ? false : override_database
|
1580
|
+
@password = password == nil ? "" : password
|
1581
|
+
@port = port == nil ? 0 : port
|
1582
|
+
@port_override = port_override == nil ? 0 : port_override
|
1583
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1584
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1585
|
+
@username = username == nil ? "" : username
|
2087
1586
|
end
|
2088
1587
|
|
2089
1588
|
def to_json(options = {})
|
@@ -2134,42 +1633,18 @@ module SDM
|
|
2134
1633
|
tags: nil,
|
2135
1634
|
username: nil
|
2136
1635
|
)
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
if id != nil
|
2150
|
-
@id = id
|
2151
|
-
end
|
2152
|
-
if name != nil
|
2153
|
-
@name = name
|
2154
|
-
end
|
2155
|
-
if password != nil
|
2156
|
-
@password = password
|
2157
|
-
end
|
2158
|
-
if port != nil
|
2159
|
-
@port = port
|
2160
|
-
end
|
2161
|
-
if port_override != nil
|
2162
|
-
@port_override = port_override
|
2163
|
-
end
|
2164
|
-
if secret_store_id != nil
|
2165
|
-
@secret_store_id = secret_store_id
|
2166
|
-
end
|
2167
|
-
if tags != nil
|
2168
|
-
@tags = tags
|
2169
|
-
end
|
2170
|
-
if username != nil
|
2171
|
-
@username = username
|
2172
|
-
end
|
1636
|
+
@database = database == nil ? "" : database
|
1637
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1638
|
+
@healthy = healthy == nil ? false : healthy
|
1639
|
+
@hostname = hostname == nil ? "" : hostname
|
1640
|
+
@id = id == nil ? "" : id
|
1641
|
+
@name = name == nil ? "" : name
|
1642
|
+
@password = password == nil ? "" : password
|
1643
|
+
@port = port == nil ? 0 : port
|
1644
|
+
@port_override = port_override == nil ? 0 : port_override
|
1645
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1646
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1647
|
+
@username = username == nil ? "" : username
|
2173
1648
|
end
|
2174
1649
|
|
2175
1650
|
def to_json(options = {})
|
@@ -2223,45 +1698,19 @@ module SDM
|
|
2223
1698
|
tags: nil,
|
2224
1699
|
username: nil
|
2225
1700
|
)
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2239
|
-
@id = id
|
2240
|
-
end
|
2241
|
-
if name != nil
|
2242
|
-
@name = name
|
2243
|
-
end
|
2244
|
-
if override_database != nil
|
2245
|
-
@override_database = override_database
|
2246
|
-
end
|
2247
|
-
if password != nil
|
2248
|
-
@password = password
|
2249
|
-
end
|
2250
|
-
if port != nil
|
2251
|
-
@port = port
|
2252
|
-
end
|
2253
|
-
if port_override != nil
|
2254
|
-
@port_override = port_override
|
2255
|
-
end
|
2256
|
-
if secret_store_id != nil
|
2257
|
-
@secret_store_id = secret_store_id
|
2258
|
-
end
|
2259
|
-
if tags != nil
|
2260
|
-
@tags = tags
|
2261
|
-
end
|
2262
|
-
if username != nil
|
2263
|
-
@username = username
|
2264
|
-
end
|
1701
|
+
@database = database == nil ? "" : database
|
1702
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1703
|
+
@healthy = healthy == nil ? false : healthy
|
1704
|
+
@hostname = hostname == nil ? "" : hostname
|
1705
|
+
@id = id == nil ? "" : id
|
1706
|
+
@name = name == nil ? "" : name
|
1707
|
+
@override_database = override_database == nil ? false : override_database
|
1708
|
+
@password = password == nil ? "" : password
|
1709
|
+
@port = port == nil ? 0 : port
|
1710
|
+
@port_override = port_override == nil ? 0 : port_override
|
1711
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1712
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1713
|
+
@username = username == nil ? "" : username
|
2265
1714
|
end
|
2266
1715
|
|
2267
1716
|
def to_json(options = {})
|
@@ -2289,15 +1738,9 @@ module SDM
|
|
2289
1738
|
public_key: nil,
|
2290
1739
|
rate_limit: nil
|
2291
1740
|
)
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
if public_key != nil
|
2296
|
-
@public_key = public_key
|
2297
|
-
end
|
2298
|
-
if rate_limit != nil
|
2299
|
-
@rate_limit = rate_limit
|
2300
|
-
end
|
1741
|
+
@meta = meta == nil ? nil : meta
|
1742
|
+
@public_key = public_key == nil ? "" : public_key
|
1743
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
2301
1744
|
end
|
2302
1745
|
|
2303
1746
|
def to_json(options = {})
|
@@ -2323,15 +1766,9 @@ module SDM
|
|
2323
1766
|
rate_limit: nil,
|
2324
1767
|
valid: nil
|
2325
1768
|
)
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
if rate_limit != nil
|
2330
|
-
@rate_limit = rate_limit
|
2331
|
-
end
|
2332
|
-
if valid != nil
|
2333
|
-
@valid = valid
|
2334
|
-
end
|
1769
|
+
@meta = meta == nil ? nil : meta
|
1770
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
1771
|
+
@valid = valid == nil ? false : valid
|
2335
1772
|
end
|
2336
1773
|
|
2337
1774
|
def to_json(options = {})
|
@@ -2397,42 +1834,18 @@ module SDM
|
|
2397
1834
|
tls_required: nil,
|
2398
1835
|
username: nil
|
2399
1836
|
)
|
2400
|
-
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
if name != nil
|
2413
|
-
@name = name
|
2414
|
-
end
|
2415
|
-
if password != nil
|
2416
|
-
@password = password
|
2417
|
-
end
|
2418
|
-
if port != nil
|
2419
|
-
@port = port
|
2420
|
-
end
|
2421
|
-
if port_override != nil
|
2422
|
-
@port_override = port_override
|
2423
|
-
end
|
2424
|
-
if secret_store_id != nil
|
2425
|
-
@secret_store_id = secret_store_id
|
2426
|
-
end
|
2427
|
-
if tags != nil
|
2428
|
-
@tags = tags
|
2429
|
-
end
|
2430
|
-
if tls_required != nil
|
2431
|
-
@tls_required = tls_required
|
2432
|
-
end
|
2433
|
-
if username != nil
|
2434
|
-
@username = username
|
2435
|
-
end
|
1837
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1838
|
+
@healthy = healthy == nil ? false : healthy
|
1839
|
+
@hostname = hostname == nil ? "" : hostname
|
1840
|
+
@id = id == nil ? "" : id
|
1841
|
+
@name = name == nil ? "" : name
|
1842
|
+
@password = password == nil ? "" : password
|
1843
|
+
@port = port == nil ? 0 : port
|
1844
|
+
@port_override = port_override == nil ? 0 : port_override
|
1845
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1846
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1847
|
+
@tls_required = tls_required == nil ? false : tls_required
|
1848
|
+
@username = username == nil ? "" : username
|
2436
1849
|
end
|
2437
1850
|
|
2438
1851
|
def to_json(options = {})
|
@@ -2483,42 +1896,18 @@ module SDM
|
|
2483
1896
|
tags: nil,
|
2484
1897
|
username: nil
|
2485
1898
|
)
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2494
|
-
|
2495
|
-
|
2496
|
-
|
2497
|
-
|
2498
|
-
if id != nil
|
2499
|
-
@id = id
|
2500
|
-
end
|
2501
|
-
if name != nil
|
2502
|
-
@name = name
|
2503
|
-
end
|
2504
|
-
if password != nil
|
2505
|
-
@password = password
|
2506
|
-
end
|
2507
|
-
if port != nil
|
2508
|
-
@port = port
|
2509
|
-
end
|
2510
|
-
if port_override != nil
|
2511
|
-
@port_override = port_override
|
2512
|
-
end
|
2513
|
-
if secret_store_id != nil
|
2514
|
-
@secret_store_id = secret_store_id
|
2515
|
-
end
|
2516
|
-
if tags != nil
|
2517
|
-
@tags = tags
|
2518
|
-
end
|
2519
|
-
if username != nil
|
2520
|
-
@username = username
|
2521
|
-
end
|
1899
|
+
@database = database == nil ? "" : database
|
1900
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1901
|
+
@healthy = healthy == nil ? false : healthy
|
1902
|
+
@hostname = hostname == nil ? "" : hostname
|
1903
|
+
@id = id == nil ? "" : id
|
1904
|
+
@name = name == nil ? "" : name
|
1905
|
+
@password = password == nil ? "" : password
|
1906
|
+
@port = port == nil ? 0 : port
|
1907
|
+
@port_override = port_override == nil ? 0 : port_override
|
1908
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1909
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1910
|
+
@username = username == nil ? "" : username
|
2522
1911
|
end
|
2523
1912
|
|
2524
1913
|
def to_json(options = {})
|
@@ -2583,42 +1972,18 @@ module SDM
|
|
2583
1972
|
tags: nil,
|
2584
1973
|
username: nil
|
2585
1974
|
)
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2594
|
-
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2598
|
-
if id != nil
|
2599
|
-
@id = id
|
2600
|
-
end
|
2601
|
-
if name != nil
|
2602
|
-
@name = name
|
2603
|
-
end
|
2604
|
-
if password != nil
|
2605
|
-
@password = password
|
2606
|
-
end
|
2607
|
-
if port != nil
|
2608
|
-
@port = port
|
2609
|
-
end
|
2610
|
-
if port_override != nil
|
2611
|
-
@port_override = port_override
|
2612
|
-
end
|
2613
|
-
if secret_store_id != nil
|
2614
|
-
@secret_store_id = secret_store_id
|
2615
|
-
end
|
2616
|
-
if tags != nil
|
2617
|
-
@tags = tags
|
2618
|
-
end
|
2619
|
-
if username != nil
|
2620
|
-
@username = username
|
2621
|
-
end
|
1975
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
1976
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
1977
|
+
@healthy = healthy == nil ? false : healthy
|
1978
|
+
@hostname = hostname == nil ? "" : hostname
|
1979
|
+
@id = id == nil ? "" : id
|
1980
|
+
@name = name == nil ? "" : name
|
1981
|
+
@password = password == nil ? "" : password
|
1982
|
+
@port = port == nil ? 0 : port
|
1983
|
+
@port_override = port_override == nil ? 0 : port_override
|
1984
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
1985
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
1986
|
+
@username = username == nil ? "" : username
|
2622
1987
|
end
|
2623
1988
|
|
2624
1989
|
def to_json(options = {})
|
@@ -2672,45 +2037,19 @@ module SDM
|
|
2672
2037
|
tags: nil,
|
2673
2038
|
username: nil
|
2674
2039
|
)
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2687
|
-
|
2688
|
-
@hostname = hostname
|
2689
|
-
end
|
2690
|
-
if id != nil
|
2691
|
-
@id = id
|
2692
|
-
end
|
2693
|
-
if name != nil
|
2694
|
-
@name = name
|
2695
|
-
end
|
2696
|
-
if password != nil
|
2697
|
-
@password = password
|
2698
|
-
end
|
2699
|
-
if port_override != nil
|
2700
|
-
@port_override = port_override
|
2701
|
-
end
|
2702
|
-
if replica_set != nil
|
2703
|
-
@replica_set = replica_set
|
2704
|
-
end
|
2705
|
-
if secret_store_id != nil
|
2706
|
-
@secret_store_id = secret_store_id
|
2707
|
-
end
|
2708
|
-
if tags != nil
|
2709
|
-
@tags = tags
|
2710
|
-
end
|
2711
|
-
if username != nil
|
2712
|
-
@username = username
|
2713
|
-
end
|
2040
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
2041
|
+
@connect_to_replica = connect_to_replica == nil ? false : connect_to_replica
|
2042
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2043
|
+
@healthy = healthy == nil ? false : healthy
|
2044
|
+
@hostname = hostname == nil ? "" : hostname
|
2045
|
+
@id = id == nil ? "" : id
|
2046
|
+
@name = name == nil ? "" : name
|
2047
|
+
@password = password == nil ? "" : password
|
2048
|
+
@port_override = port_override == nil ? 0 : port_override
|
2049
|
+
@replica_set = replica_set == nil ? "" : replica_set
|
2050
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2051
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2052
|
+
@username = username == nil ? "" : username
|
2714
2053
|
end
|
2715
2054
|
|
2716
2055
|
def to_json(options = {})
|
@@ -2759,39 +2098,17 @@ module SDM
|
|
2759
2098
|
tags: nil,
|
2760
2099
|
username: nil
|
2761
2100
|
)
|
2762
|
-
|
2763
|
-
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
|
2768
|
-
|
2769
|
-
|
2770
|
-
|
2771
|
-
|
2772
|
-
|
2773
|
-
end
|
2774
|
-
if name != nil
|
2775
|
-
@name = name
|
2776
|
-
end
|
2777
|
-
if password != nil
|
2778
|
-
@password = password
|
2779
|
-
end
|
2780
|
-
if port != nil
|
2781
|
-
@port = port
|
2782
|
-
end
|
2783
|
-
if port_override != nil
|
2784
|
-
@port_override = port_override
|
2785
|
-
end
|
2786
|
-
if secret_store_id != nil
|
2787
|
-
@secret_store_id = secret_store_id
|
2788
|
-
end
|
2789
|
-
if tags != nil
|
2790
|
-
@tags = tags
|
2791
|
-
end
|
2792
|
-
if username != nil
|
2793
|
-
@username = username
|
2794
|
-
end
|
2101
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2102
|
+
@healthy = healthy == nil ? false : healthy
|
2103
|
+
@hostname = hostname == nil ? "" : hostname
|
2104
|
+
@id = id == nil ? "" : id
|
2105
|
+
@name = name == nil ? "" : name
|
2106
|
+
@password = password == nil ? "" : password
|
2107
|
+
@port = port == nil ? 0 : port
|
2108
|
+
@port_override = port_override == nil ? 0 : port_override
|
2109
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2110
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2111
|
+
@username = username == nil ? "" : username
|
2795
2112
|
end
|
2796
2113
|
|
2797
2114
|
def to_json(options = {})
|
@@ -2845,45 +2162,19 @@ module SDM
|
|
2845
2162
|
secret_store_id: nil,
|
2846
2163
|
tags: nil
|
2847
2164
|
)
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2854
|
-
|
2855
|
-
|
2856
|
-
|
2857
|
-
|
2858
|
-
|
2859
|
-
|
2860
|
-
|
2861
|
-
@id = id
|
2862
|
-
end
|
2863
|
-
if name != nil
|
2864
|
-
@name = name
|
2865
|
-
end
|
2866
|
-
if port_override != nil
|
2867
|
-
@port_override = port_override
|
2868
|
-
end
|
2869
|
-
if region != nil
|
2870
|
-
@region = region
|
2871
|
-
end
|
2872
|
-
if role_arn != nil
|
2873
|
-
@role_arn = role_arn
|
2874
|
-
end
|
2875
|
-
if role_external_id != nil
|
2876
|
-
@role_external_id = role_external_id
|
2877
|
-
end
|
2878
|
-
if secret_access_key != nil
|
2879
|
-
@secret_access_key = secret_access_key
|
2880
|
-
end
|
2881
|
-
if secret_store_id != nil
|
2882
|
-
@secret_store_id = secret_store_id
|
2883
|
-
end
|
2884
|
-
if tags != nil
|
2885
|
-
@tags = tags
|
2886
|
-
end
|
2165
|
+
@access_key = access_key == nil ? "" : access_key
|
2166
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2167
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
2168
|
+
@healthy = healthy == nil ? false : healthy
|
2169
|
+
@id = id == nil ? "" : id
|
2170
|
+
@name = name == nil ? "" : name
|
2171
|
+
@port_override = port_override == nil ? 0 : port_override
|
2172
|
+
@region = region == nil ? "" : region
|
2173
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
2174
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
2175
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
2176
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2177
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2887
2178
|
end
|
2888
2179
|
|
2889
2180
|
def to_json(options = {})
|
@@ -2935,42 +2226,18 @@ module SDM
|
|
2935
2226
|
tls_required: nil,
|
2936
2227
|
username: nil
|
2937
2228
|
)
|
2938
|
-
|
2939
|
-
|
2940
|
-
|
2941
|
-
|
2942
|
-
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
if name != nil
|
2951
|
-
@name = name
|
2952
|
-
end
|
2953
|
-
if password != nil
|
2954
|
-
@password = password
|
2955
|
-
end
|
2956
|
-
if port != nil
|
2957
|
-
@port = port
|
2958
|
-
end
|
2959
|
-
if port_override != nil
|
2960
|
-
@port_override = port_override
|
2961
|
-
end
|
2962
|
-
if secret_store_id != nil
|
2963
|
-
@secret_store_id = secret_store_id
|
2964
|
-
end
|
2965
|
-
if tags != nil
|
2966
|
-
@tags = tags
|
2967
|
-
end
|
2968
|
-
if tls_required != nil
|
2969
|
-
@tls_required = tls_required
|
2970
|
-
end
|
2971
|
-
if username != nil
|
2972
|
-
@username = username
|
2973
|
-
end
|
2229
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2230
|
+
@healthy = healthy == nil ? false : healthy
|
2231
|
+
@hostname = hostname == nil ? "" : hostname
|
2232
|
+
@id = id == nil ? "" : id
|
2233
|
+
@name = name == nil ? "" : name
|
2234
|
+
@password = password == nil ? "" : password
|
2235
|
+
@port = port == nil ? 0 : port
|
2236
|
+
@port_override = port_override == nil ? 0 : port_override
|
2237
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2238
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2239
|
+
@tls_required = tls_required == nil ? false : tls_required
|
2240
|
+
@username = username == nil ? "" : username
|
2974
2241
|
end
|
2975
2242
|
|
2976
2243
|
def to_json(options = {})
|
@@ -3019,39 +2286,17 @@ module SDM
|
|
3019
2286
|
tags: nil,
|
3020
2287
|
tls_required: nil
|
3021
2288
|
)
|
3022
|
-
|
3023
|
-
|
3024
|
-
|
3025
|
-
|
3026
|
-
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
end
|
3034
|
-
if name != nil
|
3035
|
-
@name = name
|
3036
|
-
end
|
3037
|
-
if password != nil
|
3038
|
-
@password = password
|
3039
|
-
end
|
3040
|
-
if port != nil
|
3041
|
-
@port = port
|
3042
|
-
end
|
3043
|
-
if port_override != nil
|
3044
|
-
@port_override = port_override
|
3045
|
-
end
|
3046
|
-
if secret_store_id != nil
|
3047
|
-
@secret_store_id = secret_store_id
|
3048
|
-
end
|
3049
|
-
if tags != nil
|
3050
|
-
@tags = tags
|
3051
|
-
end
|
3052
|
-
if tls_required != nil
|
3053
|
-
@tls_required = tls_required
|
3054
|
-
end
|
2289
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2290
|
+
@healthy = healthy == nil ? false : healthy
|
2291
|
+
@hostname = hostname == nil ? "" : hostname
|
2292
|
+
@id = id == nil ? "" : id
|
2293
|
+
@name = name == nil ? "" : name
|
2294
|
+
@password = password == nil ? "" : password
|
2295
|
+
@port = port == nil ? 0 : port
|
2296
|
+
@port_override = port_override == nil ? 0 : port_override
|
2297
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2298
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2299
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3055
2300
|
end
|
3056
2301
|
|
3057
2302
|
def to_json(options = {})
|
@@ -3091,30 +2336,45 @@ module SDM
|
|
3091
2336
|
secret_store_id: nil,
|
3092
2337
|
tags: nil
|
3093
2338
|
)
|
3094
|
-
|
3095
|
-
|
3096
|
-
|
3097
|
-
|
3098
|
-
|
3099
|
-
|
3100
|
-
|
3101
|
-
|
3102
|
-
|
3103
|
-
|
3104
|
-
|
3105
|
-
|
3106
|
-
|
3107
|
-
@
|
3108
|
-
end
|
3109
|
-
if scopes != nil
|
3110
|
-
@scopes = scopes
|
3111
|
-
end
|
3112
|
-
if secret_store_id != nil
|
3113
|
-
@secret_store_id = secret_store_id
|
3114
|
-
end
|
3115
|
-
if tags != nil
|
3116
|
-
@tags = tags
|
2339
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2340
|
+
@healthy = healthy == nil ? false : healthy
|
2341
|
+
@id = id == nil ? "" : id
|
2342
|
+
@keyfile = keyfile == nil ? "" : keyfile
|
2343
|
+
@name = name == nil ? "" : name
|
2344
|
+
@scopes = scopes == nil ? "" : scopes
|
2345
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2346
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
def to_json(options = {})
|
2350
|
+
hash = {}
|
2351
|
+
self.instance_variables.each do |var|
|
2352
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
3117
2353
|
end
|
2354
|
+
hash.to_json
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
|
2358
|
+
class GCPStore
|
2359
|
+
# Unique identifier of the SecretStore.
|
2360
|
+
attr_accessor :id
|
2361
|
+
# Unique human-readable name of the SecretStore.
|
2362
|
+
attr_accessor :name
|
2363
|
+
|
2364
|
+
attr_accessor :projectid
|
2365
|
+
# Tags is a map of key, value pairs.
|
2366
|
+
attr_accessor :tags
|
2367
|
+
|
2368
|
+
def initialize(
|
2369
|
+
id: nil,
|
2370
|
+
name: nil,
|
2371
|
+
projectid: nil,
|
2372
|
+
tags: nil
|
2373
|
+
)
|
2374
|
+
@id = id == nil ? "" : id
|
2375
|
+
@name = name == nil ? "" : name
|
2376
|
+
@projectid = projectid == nil ? "" : projectid
|
2377
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3118
2378
|
end
|
3119
2379
|
|
3120
2380
|
def to_json(options = {})
|
@@ -3129,7 +2389,7 @@ module SDM
|
|
3129
2389
|
# Gateway represents a StrongDM CLI installation running in gateway mode.
|
3130
2390
|
class Gateway
|
3131
2391
|
# The hostname/port tuple which the gateway daemon will bind to.
|
3132
|
-
# If not provided on create, set to "0.0.0.0
|
2392
|
+
# If not provided on create, set to "0.0.0.0:listen_address_port".
|
3133
2393
|
attr_accessor :bind_address
|
3134
2394
|
# GatewayFilter can be used to restrict the peering between relays and
|
3135
2395
|
# gateways.
|
@@ -3155,27 +2415,13 @@ module SDM
|
|
3155
2415
|
state: nil,
|
3156
2416
|
tags: nil
|
3157
2417
|
)
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3161
|
-
|
3162
|
-
|
3163
|
-
|
3164
|
-
|
3165
|
-
@id = id
|
3166
|
-
end
|
3167
|
-
if listen_address != nil
|
3168
|
-
@listen_address = listen_address
|
3169
|
-
end
|
3170
|
-
if name != nil
|
3171
|
-
@name = name
|
3172
|
-
end
|
3173
|
-
if state != nil
|
3174
|
-
@state = state
|
3175
|
-
end
|
3176
|
-
if tags != nil
|
3177
|
-
@tags = tags
|
3178
|
-
end
|
2418
|
+
@bind_address = bind_address == nil ? "" : bind_address
|
2419
|
+
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
2420
|
+
@id = id == nil ? "" : id
|
2421
|
+
@listen_address = listen_address == nil ? "" : listen_address
|
2422
|
+
@name = name == nil ? "" : name
|
2423
|
+
@state = state == nil ? "" : state
|
2424
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3179
2425
|
end
|
3180
2426
|
|
3181
2427
|
def to_json(options = {})
|
@@ -3234,36 +2480,16 @@ module SDM
|
|
3234
2480
|
service_account_key: nil,
|
3235
2481
|
tags: nil
|
3236
2482
|
)
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
|
3244
|
-
|
3245
|
-
|
3246
|
-
|
3247
|
-
@healthcheck_namespace = healthcheck_namespace
|
3248
|
-
end
|
3249
|
-
if healthy != nil
|
3250
|
-
@healthy = healthy
|
3251
|
-
end
|
3252
|
-
if id != nil
|
3253
|
-
@id = id
|
3254
|
-
end
|
3255
|
-
if name != nil
|
3256
|
-
@name = name
|
3257
|
-
end
|
3258
|
-
if secret_store_id != nil
|
3259
|
-
@secret_store_id = secret_store_id
|
3260
|
-
end
|
3261
|
-
if service_account_key != nil
|
3262
|
-
@service_account_key = service_account_key
|
3263
|
-
end
|
3264
|
-
if tags != nil
|
3265
|
-
@tags = tags
|
3266
|
-
end
|
2483
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
2484
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2485
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
2486
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
2487
|
+
@healthy = healthy == nil ? false : healthy
|
2488
|
+
@id = id == nil ? "" : id
|
2489
|
+
@name = name == nil ? "" : name
|
2490
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2491
|
+
@service_account_key = service_account_key == nil ? "" : service_account_key
|
2492
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3267
2493
|
end
|
3268
2494
|
|
3269
2495
|
def to_json(options = {})
|
@@ -3308,36 +2534,16 @@ module SDM
|
|
3308
2534
|
service_account_key: nil,
|
3309
2535
|
tags: nil
|
3310
2536
|
)
|
3311
|
-
|
3312
|
-
|
3313
|
-
|
3314
|
-
|
3315
|
-
|
3316
|
-
|
3317
|
-
|
3318
|
-
|
3319
|
-
|
3320
|
-
|
3321
|
-
@healthcheck_namespace = healthcheck_namespace
|
3322
|
-
end
|
3323
|
-
if healthy != nil
|
3324
|
-
@healthy = healthy
|
3325
|
-
end
|
3326
|
-
if id != nil
|
3327
|
-
@id = id
|
3328
|
-
end
|
3329
|
-
if name != nil
|
3330
|
-
@name = name
|
3331
|
-
end
|
3332
|
-
if secret_store_id != nil
|
3333
|
-
@secret_store_id = secret_store_id
|
3334
|
-
end
|
3335
|
-
if service_account_key != nil
|
3336
|
-
@service_account_key = service_account_key
|
3337
|
-
end
|
3338
|
-
if tags != nil
|
3339
|
-
@tags = tags
|
3340
|
-
end
|
2537
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
2538
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2539
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
2540
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
2541
|
+
@healthy = healthy == nil ? false : healthy
|
2542
|
+
@id = id == nil ? "" : id
|
2543
|
+
@name = name == nil ? "" : name
|
2544
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2545
|
+
@service_account_key = service_account_key == nil ? "" : service_account_key
|
2546
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3341
2547
|
end
|
3342
2548
|
|
3343
2549
|
def to_json(options = {})
|
@@ -3391,45 +2597,19 @@ module SDM
|
|
3391
2597
|
tags: nil,
|
3392
2598
|
username: nil
|
3393
2599
|
)
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3400
|
-
|
3401
|
-
|
3402
|
-
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
|
3407
|
-
@id = id
|
3408
|
-
end
|
3409
|
-
if name != nil
|
3410
|
-
@name = name
|
3411
|
-
end
|
3412
|
-
if override_database != nil
|
3413
|
-
@override_database = override_database
|
3414
|
-
end
|
3415
|
-
if password != nil
|
3416
|
-
@password = password
|
3417
|
-
end
|
3418
|
-
if port != nil
|
3419
|
-
@port = port
|
3420
|
-
end
|
3421
|
-
if port_override != nil
|
3422
|
-
@port_override = port_override
|
3423
|
-
end
|
3424
|
-
if secret_store_id != nil
|
3425
|
-
@secret_store_id = secret_store_id
|
3426
|
-
end
|
3427
|
-
if tags != nil
|
3428
|
-
@tags = tags
|
3429
|
-
end
|
3430
|
-
if username != nil
|
3431
|
-
@username = username
|
3432
|
-
end
|
2600
|
+
@database = database == nil ? "" : database
|
2601
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2602
|
+
@healthy = healthy == nil ? false : healthy
|
2603
|
+
@hostname = hostname == nil ? "" : hostname
|
2604
|
+
@id = id == nil ? "" : id
|
2605
|
+
@name = name == nil ? "" : name
|
2606
|
+
@override_database = override_database == nil ? false : override_database
|
2607
|
+
@password = password == nil ? "" : password
|
2608
|
+
@port = port == nil ? 0 : port
|
2609
|
+
@port_override = port_override == nil ? 0 : port_override
|
2610
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2611
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2612
|
+
@username = username == nil ? "" : username
|
3433
2613
|
end
|
3434
2614
|
|
3435
2615
|
def to_json(options = {})
|
@@ -3480,42 +2660,18 @@ module SDM
|
|
3480
2660
|
tags: nil,
|
3481
2661
|
url: nil
|
3482
2662
|
)
|
3483
|
-
|
3484
|
-
|
3485
|
-
|
3486
|
-
|
3487
|
-
|
3488
|
-
|
3489
|
-
|
3490
|
-
|
3491
|
-
|
3492
|
-
|
3493
|
-
|
3494
|
-
|
3495
|
-
if healthcheck_path != nil
|
3496
|
-
@healthcheck_path = healthcheck_path
|
3497
|
-
end
|
3498
|
-
if healthy != nil
|
3499
|
-
@healthy = healthy
|
3500
|
-
end
|
3501
|
-
if id != nil
|
3502
|
-
@id = id
|
3503
|
-
end
|
3504
|
-
if name != nil
|
3505
|
-
@name = name
|
3506
|
-
end
|
3507
|
-
if secret_store_id != nil
|
3508
|
-
@secret_store_id = secret_store_id
|
3509
|
-
end
|
3510
|
-
if subdomain != nil
|
3511
|
-
@subdomain = subdomain
|
3512
|
-
end
|
3513
|
-
if tags != nil
|
3514
|
-
@tags = tags
|
3515
|
-
end
|
3516
|
-
if url != nil
|
3517
|
-
@url = url
|
3518
|
-
end
|
2663
|
+
@auth_header = auth_header == nil ? "" : auth_header
|
2664
|
+
@default_path = default_path == nil ? "" : default_path
|
2665
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2666
|
+
@headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
|
2667
|
+
@healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
|
2668
|
+
@healthy = healthy == nil ? false : healthy
|
2669
|
+
@id = id == nil ? "" : id
|
2670
|
+
@name = name == nil ? "" : name
|
2671
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2672
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2673
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2674
|
+
@url = url == nil ? "" : url
|
3519
2675
|
end
|
3520
2676
|
|
3521
2677
|
def to_json(options = {})
|
@@ -3569,45 +2725,19 @@ module SDM
|
|
3569
2725
|
url: nil,
|
3570
2726
|
username: nil
|
3571
2727
|
)
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3575
|
-
|
3576
|
-
|
3577
|
-
|
3578
|
-
|
3579
|
-
|
3580
|
-
|
3581
|
-
|
3582
|
-
|
3583
|
-
|
3584
|
-
|
3585
|
-
@healthy = healthy
|
3586
|
-
end
|
3587
|
-
if id != nil
|
3588
|
-
@id = id
|
3589
|
-
end
|
3590
|
-
if name != nil
|
3591
|
-
@name = name
|
3592
|
-
end
|
3593
|
-
if password != nil
|
3594
|
-
@password = password
|
3595
|
-
end
|
3596
|
-
if secret_store_id != nil
|
3597
|
-
@secret_store_id = secret_store_id
|
3598
|
-
end
|
3599
|
-
if subdomain != nil
|
3600
|
-
@subdomain = subdomain
|
3601
|
-
end
|
3602
|
-
if tags != nil
|
3603
|
-
@tags = tags
|
3604
|
-
end
|
3605
|
-
if url != nil
|
3606
|
-
@url = url
|
3607
|
-
end
|
3608
|
-
if username != nil
|
3609
|
-
@username = username
|
3610
|
-
end
|
2728
|
+
@default_path = default_path == nil ? "" : default_path
|
2729
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2730
|
+
@headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
|
2731
|
+
@healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
|
2732
|
+
@healthy = healthy == nil ? false : healthy
|
2733
|
+
@id = id == nil ? "" : id
|
2734
|
+
@name = name == nil ? "" : name
|
2735
|
+
@password = password == nil ? "" : password
|
2736
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2737
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2738
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2739
|
+
@url = url == nil ? "" : url
|
2740
|
+
@username = username == nil ? "" : username
|
3611
2741
|
end
|
3612
2742
|
|
3613
2743
|
def to_json(options = {})
|
@@ -3655,39 +2785,17 @@ module SDM
|
|
3655
2785
|
tags: nil,
|
3656
2786
|
url: nil
|
3657
2787
|
)
|
3658
|
-
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3668
|
-
|
3669
|
-
end
|
3670
|
-
if healthy != nil
|
3671
|
-
@healthy = healthy
|
3672
|
-
end
|
3673
|
-
if id != nil
|
3674
|
-
@id = id
|
3675
|
-
end
|
3676
|
-
if name != nil
|
3677
|
-
@name = name
|
3678
|
-
end
|
3679
|
-
if secret_store_id != nil
|
3680
|
-
@secret_store_id = secret_store_id
|
3681
|
-
end
|
3682
|
-
if subdomain != nil
|
3683
|
-
@subdomain = subdomain
|
3684
|
-
end
|
3685
|
-
if tags != nil
|
3686
|
-
@tags = tags
|
3687
|
-
end
|
3688
|
-
if url != nil
|
3689
|
-
@url = url
|
3690
|
-
end
|
2788
|
+
@default_path = default_path == nil ? "" : default_path
|
2789
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2790
|
+
@headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
|
2791
|
+
@healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
|
2792
|
+
@healthy = healthy == nil ? false : healthy
|
2793
|
+
@id = id == nil ? "" : id
|
2794
|
+
@name = name == nil ? "" : name
|
2795
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2796
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2797
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2798
|
+
@url = url == nil ? "" : url
|
3691
2799
|
end
|
3692
2800
|
|
3693
2801
|
def to_json(options = {})
|
@@ -3738,42 +2846,18 @@ module SDM
|
|
3738
2846
|
secret_store_id: nil,
|
3739
2847
|
tags: nil
|
3740
2848
|
)
|
3741
|
-
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
|
3751
|
-
|
3752
|
-
|
3753
|
-
if healthcheck_namespace != nil
|
3754
|
-
@healthcheck_namespace = healthcheck_namespace
|
3755
|
-
end
|
3756
|
-
if healthy != nil
|
3757
|
-
@healthy = healthy
|
3758
|
-
end
|
3759
|
-
if hostname != nil
|
3760
|
-
@hostname = hostname
|
3761
|
-
end
|
3762
|
-
if id != nil
|
3763
|
-
@id = id
|
3764
|
-
end
|
3765
|
-
if name != nil
|
3766
|
-
@name = name
|
3767
|
-
end
|
3768
|
-
if port != nil
|
3769
|
-
@port = port
|
3770
|
-
end
|
3771
|
-
if secret_store_id != nil
|
3772
|
-
@secret_store_id = secret_store_id
|
3773
|
-
end
|
3774
|
-
if tags != nil
|
3775
|
-
@tags = tags
|
3776
|
-
end
|
2849
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
2850
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
2851
|
+
@client_key = client_key == nil ? "" : client_key
|
2852
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2853
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
2854
|
+
@healthy = healthy == nil ? false : healthy
|
2855
|
+
@hostname = hostname == nil ? "" : hostname
|
2856
|
+
@id = id == nil ? "" : id
|
2857
|
+
@name = name == nil ? "" : name
|
2858
|
+
@port = port == nil ? 0 : port
|
2859
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2860
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3777
2861
|
end
|
3778
2862
|
|
3779
2863
|
def to_json(options = {})
|
@@ -3822,39 +2906,17 @@ module SDM
|
|
3822
2906
|
tags: nil,
|
3823
2907
|
username: nil
|
3824
2908
|
)
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
end
|
3837
|
-
if id != nil
|
3838
|
-
@id = id
|
3839
|
-
end
|
3840
|
-
if name != nil
|
3841
|
-
@name = name
|
3842
|
-
end
|
3843
|
-
if password != nil
|
3844
|
-
@password = password
|
3845
|
-
end
|
3846
|
-
if port != nil
|
3847
|
-
@port = port
|
3848
|
-
end
|
3849
|
-
if secret_store_id != nil
|
3850
|
-
@secret_store_id = secret_store_id
|
3851
|
-
end
|
3852
|
-
if tags != nil
|
3853
|
-
@tags = tags
|
3854
|
-
end
|
3855
|
-
if username != nil
|
3856
|
-
@username = username
|
3857
|
-
end
|
2909
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2910
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
2911
|
+
@healthy = healthy == nil ? false : healthy
|
2912
|
+
@hostname = hostname == nil ? "" : hostname
|
2913
|
+
@id = id == nil ? "" : id
|
2914
|
+
@name = name == nil ? "" : name
|
2915
|
+
@password = password == nil ? "" : password
|
2916
|
+
@port = port == nil ? 0 : port
|
2917
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2918
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2919
|
+
@username = username == nil ? "" : username
|
3858
2920
|
end
|
3859
2921
|
|
3860
2922
|
def to_json(options = {})
|
@@ -3900,36 +2962,16 @@ module SDM
|
|
3900
2962
|
tags: nil,
|
3901
2963
|
token: nil
|
3902
2964
|
)
|
3903
|
-
|
3904
|
-
|
3905
|
-
|
3906
|
-
|
3907
|
-
|
3908
|
-
|
3909
|
-
|
3910
|
-
|
3911
|
-
|
3912
|
-
|
3913
|
-
@hostname = hostname
|
3914
|
-
end
|
3915
|
-
if id != nil
|
3916
|
-
@id = id
|
3917
|
-
end
|
3918
|
-
if name != nil
|
3919
|
-
@name = name
|
3920
|
-
end
|
3921
|
-
if port != nil
|
3922
|
-
@port = port
|
3923
|
-
end
|
3924
|
-
if secret_store_id != nil
|
3925
|
-
@secret_store_id = secret_store_id
|
3926
|
-
end
|
3927
|
-
if tags != nil
|
3928
|
-
@tags = tags
|
3929
|
-
end
|
3930
|
-
if token != nil
|
3931
|
-
@token = token
|
3932
|
-
end
|
2965
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2966
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
2967
|
+
@healthy = healthy == nil ? false : healthy
|
2968
|
+
@hostname = hostname == nil ? "" : hostname
|
2969
|
+
@id = id == nil ? "" : id
|
2970
|
+
@name = name == nil ? "" : name
|
2971
|
+
@port = port == nil ? 0 : port
|
2972
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2973
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2974
|
+
@token = token == nil ? "" : token
|
3933
2975
|
end
|
3934
2976
|
|
3935
2977
|
def to_json(options = {})
|
@@ -3975,36 +3017,16 @@ module SDM
|
|
3975
3017
|
tags: nil,
|
3976
3018
|
token: nil
|
3977
3019
|
)
|
3978
|
-
|
3979
|
-
|
3980
|
-
|
3981
|
-
|
3982
|
-
|
3983
|
-
|
3984
|
-
|
3985
|
-
|
3986
|
-
|
3987
|
-
|
3988
|
-
@hostname = hostname
|
3989
|
-
end
|
3990
|
-
if id != nil
|
3991
|
-
@id = id
|
3992
|
-
end
|
3993
|
-
if name != nil
|
3994
|
-
@name = name
|
3995
|
-
end
|
3996
|
-
if port != nil
|
3997
|
-
@port = port
|
3998
|
-
end
|
3999
|
-
if secret_store_id != nil
|
4000
|
-
@secret_store_id = secret_store_id
|
4001
|
-
end
|
4002
|
-
if tags != nil
|
4003
|
-
@tags = tags
|
4004
|
-
end
|
4005
|
-
if token != nil
|
4006
|
-
@token = token
|
4007
|
-
end
|
3020
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3021
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
3022
|
+
@healthy = healthy == nil ? false : healthy
|
3023
|
+
@hostname = hostname == nil ? "" : hostname
|
3024
|
+
@id = id == nil ? "" : id
|
3025
|
+
@name = name == nil ? "" : name
|
3026
|
+
@port = port == nil ? 0 : port
|
3027
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3028
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3029
|
+
@token = token == nil ? "" : token
|
4008
3030
|
end
|
4009
3031
|
|
4010
3032
|
def to_json(options = {})
|
@@ -4055,42 +3077,100 @@ module SDM
|
|
4055
3077
|
secret_store_id: nil,
|
4056
3078
|
tags: nil
|
4057
3079
|
)
|
4058
|
-
|
4059
|
-
|
4060
|
-
|
4061
|
-
|
4062
|
-
|
4063
|
-
|
4064
|
-
|
4065
|
-
|
4066
|
-
|
4067
|
-
|
4068
|
-
|
4069
|
-
|
4070
|
-
|
4071
|
-
|
4072
|
-
|
4073
|
-
|
4074
|
-
|
4075
|
-
|
4076
|
-
if hostname != nil
|
4077
|
-
@hostname = hostname
|
4078
|
-
end
|
4079
|
-
if id != nil
|
4080
|
-
@id = id
|
4081
|
-
end
|
4082
|
-
if name != nil
|
4083
|
-
@name = name
|
4084
|
-
end
|
4085
|
-
if port != nil
|
4086
|
-
@port = port
|
4087
|
-
end
|
4088
|
-
if secret_store_id != nil
|
4089
|
-
@secret_store_id = secret_store_id
|
4090
|
-
end
|
4091
|
-
if tags != nil
|
4092
|
-
@tags = tags
|
3080
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
3081
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
3082
|
+
@client_key = client_key == nil ? "" : client_key
|
3083
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3084
|
+
@healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
|
3085
|
+
@healthy = healthy == nil ? false : healthy
|
3086
|
+
@hostname = hostname == nil ? "" : hostname
|
3087
|
+
@id = id == nil ? "" : id
|
3088
|
+
@name = name == nil ? "" : name
|
3089
|
+
@port = port == nil ? 0 : port
|
3090
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3091
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3092
|
+
end
|
3093
|
+
|
3094
|
+
def to_json(options = {})
|
3095
|
+
hash = {}
|
3096
|
+
self.instance_variables.each do |var|
|
3097
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4093
3098
|
end
|
3099
|
+
hash.to_json
|
3100
|
+
end
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
class MTLSPostgres
|
3104
|
+
attr_accessor :certificate_authority
|
3105
|
+
|
3106
|
+
attr_accessor :client_certificate
|
3107
|
+
|
3108
|
+
attr_accessor :client_key
|
3109
|
+
|
3110
|
+
attr_accessor :database
|
3111
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3112
|
+
attr_accessor :egress_filter
|
3113
|
+
# True if the datasource is reachable and the credentials are valid.
|
3114
|
+
attr_accessor :healthy
|
3115
|
+
|
3116
|
+
attr_accessor :hostname
|
3117
|
+
# Unique identifier of the Resource.
|
3118
|
+
attr_accessor :id
|
3119
|
+
# Unique human-readable name of the Resource.
|
3120
|
+
attr_accessor :name
|
3121
|
+
|
3122
|
+
attr_accessor :override_database
|
3123
|
+
|
3124
|
+
attr_accessor :password
|
3125
|
+
|
3126
|
+
attr_accessor :port
|
3127
|
+
|
3128
|
+
attr_accessor :port_override
|
3129
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3130
|
+
attr_accessor :secret_store_id
|
3131
|
+
|
3132
|
+
attr_accessor :server_name
|
3133
|
+
# Tags is a map of key, value pairs.
|
3134
|
+
attr_accessor :tags
|
3135
|
+
|
3136
|
+
attr_accessor :username
|
3137
|
+
|
3138
|
+
def initialize(
|
3139
|
+
certificate_authority: nil,
|
3140
|
+
client_certificate: nil,
|
3141
|
+
client_key: nil,
|
3142
|
+
database: nil,
|
3143
|
+
egress_filter: nil,
|
3144
|
+
healthy: nil,
|
3145
|
+
hostname: nil,
|
3146
|
+
id: nil,
|
3147
|
+
name: nil,
|
3148
|
+
override_database: nil,
|
3149
|
+
password: nil,
|
3150
|
+
port: nil,
|
3151
|
+
port_override: nil,
|
3152
|
+
secret_store_id: nil,
|
3153
|
+
server_name: nil,
|
3154
|
+
tags: nil,
|
3155
|
+
username: nil
|
3156
|
+
)
|
3157
|
+
@certificate_authority = certificate_authority == nil ? "" : certificate_authority
|
3158
|
+
@client_certificate = client_certificate == nil ? "" : client_certificate
|
3159
|
+
@client_key = client_key == nil ? "" : client_key
|
3160
|
+
@database = database == nil ? "" : database
|
3161
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3162
|
+
@healthy = healthy == nil ? false : healthy
|
3163
|
+
@hostname = hostname == nil ? "" : hostname
|
3164
|
+
@id = id == nil ? "" : id
|
3165
|
+
@name = name == nil ? "" : name
|
3166
|
+
@override_database = override_database == nil ? false : override_database
|
3167
|
+
@password = password == nil ? "" : password
|
3168
|
+
@port = port == nil ? 0 : port
|
3169
|
+
@port_override = port_override == nil ? 0 : port_override
|
3170
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3171
|
+
@server_name = server_name == nil ? "" : server_name
|
3172
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3173
|
+
@username = username == nil ? "" : username
|
4094
3174
|
end
|
4095
3175
|
|
4096
3176
|
def to_json(options = {})
|
@@ -4141,42 +3221,18 @@ module SDM
|
|
4141
3221
|
tags: nil,
|
4142
3222
|
username: nil
|
4143
3223
|
)
|
4144
|
-
|
4145
|
-
|
4146
|
-
|
4147
|
-
|
4148
|
-
|
4149
|
-
|
4150
|
-
|
4151
|
-
|
4152
|
-
|
4153
|
-
|
4154
|
-
|
4155
|
-
|
4156
|
-
if id != nil
|
4157
|
-
@id = id
|
4158
|
-
end
|
4159
|
-
if name != nil
|
4160
|
-
@name = name
|
4161
|
-
end
|
4162
|
-
if password != nil
|
4163
|
-
@password = password
|
4164
|
-
end
|
4165
|
-
if port != nil
|
4166
|
-
@port = port
|
4167
|
-
end
|
4168
|
-
if port_override != nil
|
4169
|
-
@port_override = port_override
|
4170
|
-
end
|
4171
|
-
if secret_store_id != nil
|
4172
|
-
@secret_store_id = secret_store_id
|
4173
|
-
end
|
4174
|
-
if tags != nil
|
4175
|
-
@tags = tags
|
4176
|
-
end
|
4177
|
-
if username != nil
|
4178
|
-
@username = username
|
4179
|
-
end
|
3224
|
+
@database = database == nil ? "" : database
|
3225
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3226
|
+
@healthy = healthy == nil ? false : healthy
|
3227
|
+
@hostname = hostname == nil ? "" : hostname
|
3228
|
+
@id = id == nil ? "" : id
|
3229
|
+
@name = name == nil ? "" : name
|
3230
|
+
@password = password == nil ? "" : password
|
3231
|
+
@port = port == nil ? 0 : port
|
3232
|
+
@port_override = port_override == nil ? 0 : port_override
|
3233
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3234
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3235
|
+
@username = username == nil ? "" : username
|
4180
3236
|
end
|
4181
3237
|
|
4182
3238
|
def to_json(options = {})
|
@@ -4219,33 +3275,15 @@ module SDM
|
|
4219
3275
|
secret_store_id: nil,
|
4220
3276
|
tags: nil
|
4221
3277
|
)
|
4222
|
-
|
4223
|
-
|
4224
|
-
|
4225
|
-
|
4226
|
-
|
4227
|
-
|
4228
|
-
|
4229
|
-
|
4230
|
-
|
4231
|
-
if id != nil
|
4232
|
-
@id = id
|
4233
|
-
end
|
4234
|
-
if name != nil
|
4235
|
-
@name = name
|
4236
|
-
end
|
4237
|
-
if port != nil
|
4238
|
-
@port = port
|
4239
|
-
end
|
4240
|
-
if port_override != nil
|
4241
|
-
@port_override = port_override
|
4242
|
-
end
|
4243
|
-
if secret_store_id != nil
|
4244
|
-
@secret_store_id = secret_store_id
|
4245
|
-
end
|
4246
|
-
if tags != nil
|
4247
|
-
@tags = tags
|
4248
|
-
end
|
3278
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3279
|
+
@healthy = healthy == nil ? false : healthy
|
3280
|
+
@hostname = hostname == nil ? "" : hostname
|
3281
|
+
@id = id == nil ? "" : id
|
3282
|
+
@name = name == nil ? "" : name
|
3283
|
+
@port = port == nil ? 0 : port
|
3284
|
+
@port_override = port_override == nil ? 0 : port_override
|
3285
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3286
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4249
3287
|
end
|
4250
3288
|
|
4251
3289
|
def to_json(options = {})
|
@@ -4296,42 +3334,18 @@ module SDM
|
|
4296
3334
|
tags: nil,
|
4297
3335
|
username: nil
|
4298
3336
|
)
|
4299
|
-
|
4300
|
-
|
4301
|
-
|
4302
|
-
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4306
|
-
|
4307
|
-
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
if id != nil
|
4312
|
-
@id = id
|
4313
|
-
end
|
4314
|
-
if name != nil
|
4315
|
-
@name = name
|
4316
|
-
end
|
4317
|
-
if password != nil
|
4318
|
-
@password = password
|
4319
|
-
end
|
4320
|
-
if port != nil
|
4321
|
-
@port = port
|
4322
|
-
end
|
4323
|
-
if port_override != nil
|
4324
|
-
@port_override = port_override
|
4325
|
-
end
|
4326
|
-
if secret_store_id != nil
|
4327
|
-
@secret_store_id = secret_store_id
|
4328
|
-
end
|
4329
|
-
if tags != nil
|
4330
|
-
@tags = tags
|
4331
|
-
end
|
4332
|
-
if username != nil
|
4333
|
-
@username = username
|
4334
|
-
end
|
3337
|
+
@database = database == nil ? "" : database
|
3338
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3339
|
+
@healthy = healthy == nil ? false : healthy
|
3340
|
+
@hostname = hostname == nil ? "" : hostname
|
3341
|
+
@id = id == nil ? "" : id
|
3342
|
+
@name = name == nil ? "" : name
|
3343
|
+
@password = password == nil ? "" : password
|
3344
|
+
@port = port == nil ? 0 : port
|
3345
|
+
@port_override = port_override == nil ? 0 : port_override
|
3346
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3347
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3348
|
+
@username = username == nil ? "" : username
|
4335
3349
|
end
|
4336
3350
|
|
4337
3351
|
def to_json(options = {})
|
@@ -4385,45 +3399,19 @@ module SDM
|
|
4385
3399
|
tls_required: nil,
|
4386
3400
|
username: nil
|
4387
3401
|
)
|
4388
|
-
|
4389
|
-
|
4390
|
-
|
4391
|
-
|
4392
|
-
|
4393
|
-
|
4394
|
-
|
4395
|
-
|
4396
|
-
|
4397
|
-
|
4398
|
-
|
4399
|
-
|
4400
|
-
|
4401
|
-
@id = id
|
4402
|
-
end
|
4403
|
-
if name != nil
|
4404
|
-
@name = name
|
4405
|
-
end
|
4406
|
-
if password != nil
|
4407
|
-
@password = password
|
4408
|
-
end
|
4409
|
-
if port != nil
|
4410
|
-
@port = port
|
4411
|
-
end
|
4412
|
-
if port_override != nil
|
4413
|
-
@port_override = port_override
|
4414
|
-
end
|
4415
|
-
if secret_store_id != nil
|
4416
|
-
@secret_store_id = secret_store_id
|
4417
|
-
end
|
4418
|
-
if tags != nil
|
4419
|
-
@tags = tags
|
4420
|
-
end
|
4421
|
-
if tls_required != nil
|
4422
|
-
@tls_required = tls_required
|
4423
|
-
end
|
4424
|
-
if username != nil
|
4425
|
-
@username = username
|
4426
|
-
end
|
3402
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
3403
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3404
|
+
@healthy = healthy == nil ? false : healthy
|
3405
|
+
@hostname = hostname == nil ? "" : hostname
|
3406
|
+
@id = id == nil ? "" : id
|
3407
|
+
@name = name == nil ? "" : name
|
3408
|
+
@password = password == nil ? "" : password
|
3409
|
+
@port = port == nil ? 0 : port
|
3410
|
+
@port_override = port_override == nil ? 0 : port_override
|
3411
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3412
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3413
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3414
|
+
@username = username == nil ? "" : username
|
4427
3415
|
end
|
4428
3416
|
|
4429
3417
|
def to_json(options = {})
|
@@ -4480,48 +3468,20 @@ module SDM
|
|
4480
3468
|
tls_required: nil,
|
4481
3469
|
username: nil
|
4482
3470
|
)
|
4483
|
-
|
4484
|
-
|
4485
|
-
|
4486
|
-
|
4487
|
-
|
4488
|
-
|
4489
|
-
|
4490
|
-
|
4491
|
-
|
4492
|
-
|
4493
|
-
|
4494
|
-
|
4495
|
-
|
4496
|
-
|
4497
|
-
end
|
4498
|
-
if name != nil
|
4499
|
-
@name = name
|
4500
|
-
end
|
4501
|
-
if password != nil
|
4502
|
-
@password = password
|
4503
|
-
end
|
4504
|
-
if port != nil
|
4505
|
-
@port = port
|
4506
|
-
end
|
4507
|
-
if port_override != nil
|
4508
|
-
@port_override = port_override
|
4509
|
-
end
|
4510
|
-
if replica_set != nil
|
4511
|
-
@replica_set = replica_set
|
4512
|
-
end
|
4513
|
-
if secret_store_id != nil
|
4514
|
-
@secret_store_id = secret_store_id
|
4515
|
-
end
|
4516
|
-
if tags != nil
|
4517
|
-
@tags = tags
|
4518
|
-
end
|
4519
|
-
if tls_required != nil
|
4520
|
-
@tls_required = tls_required
|
4521
|
-
end
|
4522
|
-
if username != nil
|
4523
|
-
@username = username
|
4524
|
-
end
|
3471
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
3472
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3473
|
+
@healthy = healthy == nil ? false : healthy
|
3474
|
+
@hostname = hostname == nil ? "" : hostname
|
3475
|
+
@id = id == nil ? "" : id
|
3476
|
+
@name = name == nil ? "" : name
|
3477
|
+
@password = password == nil ? "" : password
|
3478
|
+
@port = port == nil ? 0 : port
|
3479
|
+
@port_override = port_override == nil ? 0 : port_override
|
3480
|
+
@replica_set = replica_set == nil ? "" : replica_set
|
3481
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3482
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3483
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3484
|
+
@username = username == nil ? "" : username
|
4525
3485
|
end
|
4526
3486
|
|
4527
3487
|
def to_json(options = {})
|
@@ -4581,51 +3541,21 @@ module SDM
|
|
4581
3541
|
tls_required: nil,
|
4582
3542
|
username: nil
|
4583
3543
|
)
|
4584
|
-
|
4585
|
-
|
4586
|
-
|
4587
|
-
|
4588
|
-
|
4589
|
-
|
4590
|
-
|
4591
|
-
|
4592
|
-
|
4593
|
-
|
4594
|
-
|
4595
|
-
|
4596
|
-
|
4597
|
-
|
4598
|
-
|
4599
|
-
if id != nil
|
4600
|
-
@id = id
|
4601
|
-
end
|
4602
|
-
if name != nil
|
4603
|
-
@name = name
|
4604
|
-
end
|
4605
|
-
if password != nil
|
4606
|
-
@password = password
|
4607
|
-
end
|
4608
|
-
if port != nil
|
4609
|
-
@port = port
|
4610
|
-
end
|
4611
|
-
if port_override != nil
|
4612
|
-
@port_override = port_override
|
4613
|
-
end
|
4614
|
-
if replica_set != nil
|
4615
|
-
@replica_set = replica_set
|
4616
|
-
end
|
4617
|
-
if secret_store_id != nil
|
4618
|
-
@secret_store_id = secret_store_id
|
4619
|
-
end
|
4620
|
-
if tags != nil
|
4621
|
-
@tags = tags
|
4622
|
-
end
|
4623
|
-
if tls_required != nil
|
4624
|
-
@tls_required = tls_required
|
4625
|
-
end
|
4626
|
-
if username != nil
|
4627
|
-
@username = username
|
4628
|
-
end
|
3544
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
3545
|
+
@connect_to_replica = connect_to_replica == nil ? false : connect_to_replica
|
3546
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3547
|
+
@healthy = healthy == nil ? false : healthy
|
3548
|
+
@hostname = hostname == nil ? "" : hostname
|
3549
|
+
@id = id == nil ? "" : id
|
3550
|
+
@name = name == nil ? "" : name
|
3551
|
+
@password = password == nil ? "" : password
|
3552
|
+
@port = port == nil ? 0 : port
|
3553
|
+
@port_override = port_override == nil ? 0 : port_override
|
3554
|
+
@replica_set = replica_set == nil ? "" : replica_set
|
3555
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3556
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3557
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3558
|
+
@username = username == nil ? "" : username
|
4629
3559
|
end
|
4630
3560
|
|
4631
3561
|
def to_json(options = {})
|
@@ -4685,51 +3615,83 @@ module SDM
|
|
4685
3615
|
tls_required: nil,
|
4686
3616
|
username: nil
|
4687
3617
|
)
|
4688
|
-
|
4689
|
-
|
4690
|
-
|
4691
|
-
|
4692
|
-
|
4693
|
-
|
4694
|
-
|
4695
|
-
|
4696
|
-
|
4697
|
-
|
4698
|
-
|
4699
|
-
|
4700
|
-
|
4701
|
-
|
4702
|
-
|
4703
|
-
|
4704
|
-
|
4705
|
-
|
4706
|
-
|
4707
|
-
|
4708
|
-
|
4709
|
-
if password != nil
|
4710
|
-
@password = password
|
4711
|
-
end
|
4712
|
-
if port != nil
|
4713
|
-
@port = port
|
4714
|
-
end
|
4715
|
-
if port_override != nil
|
4716
|
-
@port_override = port_override
|
4717
|
-
end
|
4718
|
-
if replica_set != nil
|
4719
|
-
@replica_set = replica_set
|
4720
|
-
end
|
4721
|
-
if secret_store_id != nil
|
4722
|
-
@secret_store_id = secret_store_id
|
4723
|
-
end
|
4724
|
-
if tags != nil
|
4725
|
-
@tags = tags
|
4726
|
-
end
|
4727
|
-
if tls_required != nil
|
4728
|
-
@tls_required = tls_required
|
4729
|
-
end
|
4730
|
-
if username != nil
|
4731
|
-
@username = username
|
3618
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
3619
|
+
@connect_to_replica = connect_to_replica == nil ? false : connect_to_replica
|
3620
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3621
|
+
@healthy = healthy == nil ? false : healthy
|
3622
|
+
@hostname = hostname == nil ? "" : hostname
|
3623
|
+
@id = id == nil ? "" : id
|
3624
|
+
@name = name == nil ? "" : name
|
3625
|
+
@password = password == nil ? "" : password
|
3626
|
+
@port = port == nil ? 0 : port
|
3627
|
+
@port_override = port_override == nil ? 0 : port_override
|
3628
|
+
@replica_set = replica_set == nil ? "" : replica_set
|
3629
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3630
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3631
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3632
|
+
@username = username == nil ? "" : username
|
3633
|
+
end
|
3634
|
+
|
3635
|
+
def to_json(options = {})
|
3636
|
+
hash = {}
|
3637
|
+
self.instance_variables.each do |var|
|
3638
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4732
3639
|
end
|
3640
|
+
hash.to_json
|
3641
|
+
end
|
3642
|
+
end
|
3643
|
+
|
3644
|
+
class MongoShardedCluster
|
3645
|
+
attr_accessor :auth_database
|
3646
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
3647
|
+
attr_accessor :egress_filter
|
3648
|
+
# True if the datasource is reachable and the credentials are valid.
|
3649
|
+
attr_accessor :healthy
|
3650
|
+
|
3651
|
+
attr_accessor :hostname
|
3652
|
+
# Unique identifier of the Resource.
|
3653
|
+
attr_accessor :id
|
3654
|
+
# Unique human-readable name of the Resource.
|
3655
|
+
attr_accessor :name
|
3656
|
+
|
3657
|
+
attr_accessor :password
|
3658
|
+
|
3659
|
+
attr_accessor :port_override
|
3660
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3661
|
+
attr_accessor :secret_store_id
|
3662
|
+
# Tags is a map of key, value pairs.
|
3663
|
+
attr_accessor :tags
|
3664
|
+
|
3665
|
+
attr_accessor :tls_required
|
3666
|
+
|
3667
|
+
attr_accessor :username
|
3668
|
+
|
3669
|
+
def initialize(
|
3670
|
+
auth_database: nil,
|
3671
|
+
egress_filter: nil,
|
3672
|
+
healthy: nil,
|
3673
|
+
hostname: nil,
|
3674
|
+
id: nil,
|
3675
|
+
name: nil,
|
3676
|
+
password: nil,
|
3677
|
+
port_override: nil,
|
3678
|
+
secret_store_id: nil,
|
3679
|
+
tags: nil,
|
3680
|
+
tls_required: nil,
|
3681
|
+
username: nil
|
3682
|
+
)
|
3683
|
+
@auth_database = auth_database == nil ? "" : auth_database
|
3684
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3685
|
+
@healthy = healthy == nil ? false : healthy
|
3686
|
+
@hostname = hostname == nil ? "" : hostname
|
3687
|
+
@id = id == nil ? "" : id
|
3688
|
+
@name = name == nil ? "" : name
|
3689
|
+
@password = password == nil ? "" : password
|
3690
|
+
@port_override = port_override == nil ? 0 : port_override
|
3691
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3692
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3693
|
+
@tls_required = tls_required == nil ? false : tls_required
|
3694
|
+
@username = username == nil ? "" : username
|
4733
3695
|
end
|
4734
3696
|
|
4735
3697
|
def to_json(options = {})
|
@@ -4780,42 +3742,18 @@ module SDM
|
|
4780
3742
|
tags: nil,
|
4781
3743
|
username: nil
|
4782
3744
|
)
|
4783
|
-
|
4784
|
-
|
4785
|
-
|
4786
|
-
|
4787
|
-
|
4788
|
-
|
4789
|
-
|
4790
|
-
|
4791
|
-
|
4792
|
-
|
4793
|
-
|
4794
|
-
|
4795
|
-
if id != nil
|
4796
|
-
@id = id
|
4797
|
-
end
|
4798
|
-
if name != nil
|
4799
|
-
@name = name
|
4800
|
-
end
|
4801
|
-
if password != nil
|
4802
|
-
@password = password
|
4803
|
-
end
|
4804
|
-
if port != nil
|
4805
|
-
@port = port
|
4806
|
-
end
|
4807
|
-
if port_override != nil
|
4808
|
-
@port_override = port_override
|
4809
|
-
end
|
4810
|
-
if secret_store_id != nil
|
4811
|
-
@secret_store_id = secret_store_id
|
4812
|
-
end
|
4813
|
-
if tags != nil
|
4814
|
-
@tags = tags
|
4815
|
-
end
|
4816
|
-
if username != nil
|
4817
|
-
@username = username
|
4818
|
-
end
|
3745
|
+
@database = database == nil ? "" : database
|
3746
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3747
|
+
@healthy = healthy == nil ? false : healthy
|
3748
|
+
@hostname = hostname == nil ? "" : hostname
|
3749
|
+
@id = id == nil ? "" : id
|
3750
|
+
@name = name == nil ? "" : name
|
3751
|
+
@password = password == nil ? "" : password
|
3752
|
+
@port = port == nil ? 0 : port
|
3753
|
+
@port_override = port_override == nil ? 0 : port_override
|
3754
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3755
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
3756
|
+
@username = username == nil ? "" : username
|
4819
3757
|
end
|
4820
3758
|
|
4821
3759
|
def to_json(options = {})
|
@@ -4858,33 +3796,15 @@ module SDM
|
|
4858
3796
|
secret_store_id: nil,
|
4859
3797
|
tags: nil
|
4860
3798
|
)
|
4861
|
-
|
4862
|
-
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4868
|
-
|
4869
|
-
|
4870
|
-
if id != nil
|
4871
|
-
@id = id
|
4872
|
-
end
|
4873
|
-
if name != nil
|
4874
|
-
@name = name
|
4875
|
-
end
|
4876
|
-
if port != nil
|
4877
|
-
@port = port
|
4878
|
-
end
|
4879
|
-
if port_override != nil
|
4880
|
-
@port_override = port_override
|
4881
|
-
end
|
4882
|
-
if secret_store_id != nil
|
4883
|
-
@secret_store_id = secret_store_id
|
4884
|
-
end
|
4885
|
-
if tags != nil
|
4886
|
-
@tags = tags
|
4887
|
-
end
|
3799
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3800
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
3801
|
+
@healthy = healthy == nil ? false : healthy
|
3802
|
+
@id = id == nil ? "" : id
|
3803
|
+
@name = name == nil ? "" : name
|
3804
|
+
@port = port == nil ? 0 : port
|
3805
|
+
@port_override = port_override == nil ? 0 : port_override
|
3806
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3807
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4888
3808
|
end
|
4889
3809
|
|
4890
3810
|
def to_json(options = {})
|
@@ -4941,48 +3861,20 @@ module SDM
|
|
4941
3861
|
secret_store_id: nil,
|
4942
3862
|
tags: nil
|
4943
3863
|
)
|
4944
|
-
|
4945
|
-
|
4946
|
-
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4955
|
-
|
4956
|
-
|
4957
|
-
|
4958
|
-
end
|
4959
|
-
if name != nil
|
4960
|
-
@name = name
|
4961
|
-
end
|
4962
|
-
if port != nil
|
4963
|
-
@port = port
|
4964
|
-
end
|
4965
|
-
if port_override != nil
|
4966
|
-
@port_override = port_override
|
4967
|
-
end
|
4968
|
-
if region != nil
|
4969
|
-
@region = region
|
4970
|
-
end
|
4971
|
-
if role_arn != nil
|
4972
|
-
@role_arn = role_arn
|
4973
|
-
end
|
4974
|
-
if role_external_id != nil
|
4975
|
-
@role_external_id = role_external_id
|
4976
|
-
end
|
4977
|
-
if secret_access_key != nil
|
4978
|
-
@secret_access_key = secret_access_key
|
4979
|
-
end
|
4980
|
-
if secret_store_id != nil
|
4981
|
-
@secret_store_id = secret_store_id
|
4982
|
-
end
|
4983
|
-
if tags != nil
|
4984
|
-
@tags = tags
|
4985
|
-
end
|
3864
|
+
@access_key = access_key == nil ? "" : access_key
|
3865
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
3866
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
3867
|
+
@healthy = healthy == nil ? false : healthy
|
3868
|
+
@id = id == nil ? "" : id
|
3869
|
+
@name = name == nil ? "" : name
|
3870
|
+
@port = port == nil ? 0 : port
|
3871
|
+
@port_override = port_override == nil ? 0 : port_override
|
3872
|
+
@region = region == nil ? "" : region
|
3873
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
3874
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
3875
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
3876
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
3877
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4986
3878
|
end
|
4987
3879
|
|
4988
3880
|
def to_json(options = {})
|
@@ -5012,18 +3904,10 @@ module SDM
|
|
5012
3904
|
rate_limit: nil,
|
5013
3905
|
token: nil
|
5014
3906
|
)
|
5015
|
-
|
5016
|
-
|
5017
|
-
|
5018
|
-
|
5019
|
-
@node = node
|
5020
|
-
end
|
5021
|
-
if rate_limit != nil
|
5022
|
-
@rate_limit = rate_limit
|
5023
|
-
end
|
5024
|
-
if token != nil
|
5025
|
-
@token = token
|
5026
|
-
end
|
3907
|
+
@meta = meta == nil ? nil : meta
|
3908
|
+
@node = node == nil ? nil : node
|
3909
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
3910
|
+
@token = token == nil ? "" : token
|
5027
3911
|
end
|
5028
3912
|
|
5029
3913
|
def to_json(options = {})
|
@@ -5046,12 +3930,8 @@ module SDM
|
|
5046
3930
|
meta: nil,
|
5047
3931
|
rate_limit: nil
|
5048
3932
|
)
|
5049
|
-
|
5050
|
-
|
5051
|
-
end
|
5052
|
-
if rate_limit != nil
|
5053
|
-
@rate_limit = rate_limit
|
5054
|
-
end
|
3933
|
+
@meta = meta == nil ? nil : meta
|
3934
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5055
3935
|
end
|
5056
3936
|
|
5057
3937
|
def to_json(options = {})
|
@@ -5077,15 +3957,9 @@ module SDM
|
|
5077
3957
|
node: nil,
|
5078
3958
|
rate_limit: nil
|
5079
3959
|
)
|
5080
|
-
|
5081
|
-
|
5082
|
-
|
5083
|
-
if node != nil
|
5084
|
-
@node = node
|
5085
|
-
end
|
5086
|
-
if rate_limit != nil
|
5087
|
-
@rate_limit = rate_limit
|
5088
|
-
end
|
3960
|
+
@meta = meta == nil ? nil : meta
|
3961
|
+
@node = node == nil ? nil : node
|
3962
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5089
3963
|
end
|
5090
3964
|
|
5091
3965
|
def to_json(options = {})
|
@@ -5112,15 +3986,9 @@ module SDM
|
|
5112
3986
|
node: nil,
|
5113
3987
|
rate_limit: nil
|
5114
3988
|
)
|
5115
|
-
|
5116
|
-
|
5117
|
-
|
5118
|
-
if node != nil
|
5119
|
-
@node = node
|
5120
|
-
end
|
5121
|
-
if rate_limit != nil
|
5122
|
-
@rate_limit = rate_limit
|
5123
|
-
end
|
3989
|
+
@meta = meta == nil ? nil : meta
|
3990
|
+
@node = node == nil ? nil : node
|
3991
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5124
3992
|
end
|
5125
3993
|
|
5126
3994
|
def to_json(options = {})
|
@@ -5174,45 +4042,19 @@ module SDM
|
|
5174
4042
|
tls_required: nil,
|
5175
4043
|
username: nil
|
5176
4044
|
)
|
5177
|
-
|
5178
|
-
|
5179
|
-
|
5180
|
-
|
5181
|
-
|
5182
|
-
|
5183
|
-
|
5184
|
-
|
5185
|
-
|
5186
|
-
|
5187
|
-
|
5188
|
-
|
5189
|
-
|
5190
|
-
@id = id
|
5191
|
-
end
|
5192
|
-
if name != nil
|
5193
|
-
@name = name
|
5194
|
-
end
|
5195
|
-
if password != nil
|
5196
|
-
@password = password
|
5197
|
-
end
|
5198
|
-
if port != nil
|
5199
|
-
@port = port
|
5200
|
-
end
|
5201
|
-
if port_override != nil
|
5202
|
-
@port_override = port_override
|
5203
|
-
end
|
5204
|
-
if secret_store_id != nil
|
5205
|
-
@secret_store_id = secret_store_id
|
5206
|
-
end
|
5207
|
-
if tags != nil
|
5208
|
-
@tags = tags
|
5209
|
-
end
|
5210
|
-
if tls_required != nil
|
5211
|
-
@tls_required = tls_required
|
5212
|
-
end
|
5213
|
-
if username != nil
|
5214
|
-
@username = username
|
5215
|
-
end
|
4045
|
+
@database = database == nil ? "" : database
|
4046
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4047
|
+
@healthy = healthy == nil ? false : healthy
|
4048
|
+
@hostname = hostname == nil ? "" : hostname
|
4049
|
+
@id = id == nil ? "" : id
|
4050
|
+
@name = name == nil ? "" : name
|
4051
|
+
@password = password == nil ? "" : password
|
4052
|
+
@port = port == nil ? 0 : port
|
4053
|
+
@port_override = port_override == nil ? 0 : port_override
|
4054
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4055
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4056
|
+
@tls_required = tls_required == nil ? false : tls_required
|
4057
|
+
@username = username == nil ? "" : username
|
5216
4058
|
end
|
5217
4059
|
|
5218
4060
|
def to_json(options = {})
|
@@ -5266,45 +4108,19 @@ module SDM
|
|
5266
4108
|
tags: nil,
|
5267
4109
|
username: nil
|
5268
4110
|
)
|
5269
|
-
|
5270
|
-
|
5271
|
-
|
5272
|
-
|
5273
|
-
|
5274
|
-
|
5275
|
-
|
5276
|
-
|
5277
|
-
|
5278
|
-
|
5279
|
-
|
5280
|
-
|
5281
|
-
|
5282
|
-
@id = id
|
5283
|
-
end
|
5284
|
-
if name != nil
|
5285
|
-
@name = name
|
5286
|
-
end
|
5287
|
-
if override_database != nil
|
5288
|
-
@override_database = override_database
|
5289
|
-
end
|
5290
|
-
if password != nil
|
5291
|
-
@password = password
|
5292
|
-
end
|
5293
|
-
if port != nil
|
5294
|
-
@port = port
|
5295
|
-
end
|
5296
|
-
if port_override != nil
|
5297
|
-
@port_override = port_override
|
5298
|
-
end
|
5299
|
-
if secret_store_id != nil
|
5300
|
-
@secret_store_id = secret_store_id
|
5301
|
-
end
|
5302
|
-
if tags != nil
|
5303
|
-
@tags = tags
|
5304
|
-
end
|
5305
|
-
if username != nil
|
5306
|
-
@username = username
|
5307
|
-
end
|
4111
|
+
@database = database == nil ? "" : database
|
4112
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4113
|
+
@healthy = healthy == nil ? false : healthy
|
4114
|
+
@hostname = hostname == nil ? "" : hostname
|
4115
|
+
@id = id == nil ? "" : id
|
4116
|
+
@name = name == nil ? "" : name
|
4117
|
+
@override_database = override_database == nil ? false : override_database
|
4118
|
+
@password = password == nil ? "" : password
|
4119
|
+
@port = port == nil ? 0 : port
|
4120
|
+
@port_override = port_override == nil ? 0 : port_override
|
4121
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4122
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4123
|
+
@username = username == nil ? "" : username
|
5308
4124
|
end
|
5309
4125
|
|
5310
4126
|
def to_json(options = {})
|
@@ -5358,45 +4174,19 @@ module SDM
|
|
5358
4174
|
tls_required: nil,
|
5359
4175
|
username: nil
|
5360
4176
|
)
|
5361
|
-
|
5362
|
-
|
5363
|
-
|
5364
|
-
|
5365
|
-
|
5366
|
-
|
5367
|
-
|
5368
|
-
|
5369
|
-
|
5370
|
-
|
5371
|
-
|
5372
|
-
|
5373
|
-
|
5374
|
-
@id = id
|
5375
|
-
end
|
5376
|
-
if name != nil
|
5377
|
-
@name = name
|
5378
|
-
end
|
5379
|
-
if password != nil
|
5380
|
-
@password = password
|
5381
|
-
end
|
5382
|
-
if port != nil
|
5383
|
-
@port = port
|
5384
|
-
end
|
5385
|
-
if port_override != nil
|
5386
|
-
@port_override = port_override
|
5387
|
-
end
|
5388
|
-
if secret_store_id != nil
|
5389
|
-
@secret_store_id = secret_store_id
|
5390
|
-
end
|
5391
|
-
if tags != nil
|
5392
|
-
@tags = tags
|
5393
|
-
end
|
5394
|
-
if tls_required != nil
|
5395
|
-
@tls_required = tls_required
|
5396
|
-
end
|
5397
|
-
if username != nil
|
5398
|
-
@username = username
|
5399
|
-
end
|
4177
|
+
@database = database == nil ? "" : database
|
4178
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4179
|
+
@healthy = healthy == nil ? false : healthy
|
4180
|
+
@hostname = hostname == nil ? "" : hostname
|
4181
|
+
@id = id == nil ? "" : id
|
4182
|
+
@name = name == nil ? "" : name
|
4183
|
+
@password = password == nil ? "" : password
|
4184
|
+
@port = port == nil ? 0 : port
|
4185
|
+
@port_override = port_override == nil ? 0 : port_override
|
4186
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4187
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4188
|
+
@tls_required = tls_required == nil ? false : tls_required
|
4189
|
+
@username = username == nil ? "" : username
|
5400
4190
|
end
|
5401
4191
|
|
5402
4192
|
def to_json(options = {})
|
@@ -5409,6 +4199,7 @@ module SDM
|
|
5409
4199
|
end
|
5410
4200
|
|
5411
4201
|
class RDP
|
4202
|
+
attr_accessor :downgrade_nla_connections
|
5412
4203
|
# A filter applied to the routing logic to pin datasource to nodes.
|
5413
4204
|
attr_accessor :egress_filter
|
5414
4205
|
# True if the datasource is reachable and the credentials are valid.
|
@@ -5433,6 +4224,7 @@ module SDM
|
|
5433
4224
|
attr_accessor :username
|
5434
4225
|
|
5435
4226
|
def initialize(
|
4227
|
+
downgrade_nla_connections: nil,
|
5436
4228
|
egress_filter: nil,
|
5437
4229
|
healthy: nil,
|
5438
4230
|
hostname: nil,
|
@@ -5445,39 +4237,18 @@ module SDM
|
|
5445
4237
|
tags: nil,
|
5446
4238
|
username: nil
|
5447
4239
|
)
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
5451
|
-
|
5452
|
-
|
5453
|
-
|
5454
|
-
|
5455
|
-
|
5456
|
-
|
5457
|
-
|
5458
|
-
|
5459
|
-
|
5460
|
-
if name != nil
|
5461
|
-
@name = name
|
5462
|
-
end
|
5463
|
-
if password != nil
|
5464
|
-
@password = password
|
5465
|
-
end
|
5466
|
-
if port != nil
|
5467
|
-
@port = port
|
5468
|
-
end
|
5469
|
-
if port_override != nil
|
5470
|
-
@port_override = port_override
|
5471
|
-
end
|
5472
|
-
if secret_store_id != nil
|
5473
|
-
@secret_store_id = secret_store_id
|
5474
|
-
end
|
5475
|
-
if tags != nil
|
5476
|
-
@tags = tags
|
5477
|
-
end
|
5478
|
-
if username != nil
|
5479
|
-
@username = username
|
5480
|
-
end
|
4240
|
+
@downgrade_nla_connections = downgrade_nla_connections == nil ? false : downgrade_nla_connections
|
4241
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4242
|
+
@healthy = healthy == nil ? false : healthy
|
4243
|
+
@hostname = hostname == nil ? "" : hostname
|
4244
|
+
@id = id == nil ? "" : id
|
4245
|
+
@name = name == nil ? "" : name
|
4246
|
+
@password = password == nil ? "" : password
|
4247
|
+
@port = port == nil ? 0 : port
|
4248
|
+
@port_override = port_override == nil ? 0 : port_override
|
4249
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4250
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4251
|
+
@username = username == nil ? "" : username
|
5481
4252
|
end
|
5482
4253
|
|
5483
4254
|
def to_json(options = {})
|
@@ -5529,42 +4300,18 @@ module SDM
|
|
5529
4300
|
tls_required: nil,
|
5530
4301
|
username: nil
|
5531
4302
|
)
|
5532
|
-
|
5533
|
-
|
5534
|
-
|
5535
|
-
|
5536
|
-
|
5537
|
-
|
5538
|
-
|
5539
|
-
|
5540
|
-
|
5541
|
-
|
5542
|
-
|
5543
|
-
|
5544
|
-
if name != nil
|
5545
|
-
@name = name
|
5546
|
-
end
|
5547
|
-
if password != nil
|
5548
|
-
@password = password
|
5549
|
-
end
|
5550
|
-
if port != nil
|
5551
|
-
@port = port
|
5552
|
-
end
|
5553
|
-
if port_override != nil
|
5554
|
-
@port_override = port_override
|
5555
|
-
end
|
5556
|
-
if secret_store_id != nil
|
5557
|
-
@secret_store_id = secret_store_id
|
5558
|
-
end
|
5559
|
-
if tags != nil
|
5560
|
-
@tags = tags
|
5561
|
-
end
|
5562
|
-
if tls_required != nil
|
5563
|
-
@tls_required = tls_required
|
5564
|
-
end
|
5565
|
-
if username != nil
|
5566
|
-
@username = username
|
5567
|
-
end
|
4303
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4304
|
+
@healthy = healthy == nil ? false : healthy
|
4305
|
+
@hostname = hostname == nil ? "" : hostname
|
4306
|
+
@id = id == nil ? "" : id
|
4307
|
+
@name = name == nil ? "" : name
|
4308
|
+
@password = password == nil ? "" : password
|
4309
|
+
@port = port == nil ? 0 : port
|
4310
|
+
@port_override = port_override == nil ? 0 : port_override
|
4311
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4312
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4313
|
+
@tls_required = tls_required == nil ? false : tls_required
|
4314
|
+
@username = username == nil ? "" : username
|
5568
4315
|
end
|
5569
4316
|
|
5570
4317
|
def to_json(options = {})
|
@@ -5596,18 +4343,10 @@ module SDM
|
|
5596
4343
|
remaining: nil,
|
5597
4344
|
reset_at: nil
|
5598
4345
|
)
|
5599
|
-
|
5600
|
-
|
5601
|
-
|
5602
|
-
|
5603
|
-
@limit = limit
|
5604
|
-
end
|
5605
|
-
if remaining != nil
|
5606
|
-
@remaining = remaining
|
5607
|
-
end
|
5608
|
-
if reset_at != nil
|
5609
|
-
@reset_at = reset_at
|
5610
|
-
end
|
4346
|
+
@bucket = bucket == nil ? "" : bucket
|
4347
|
+
@limit = limit == nil ? 0 : limit
|
4348
|
+
@remaining = remaining == nil ? 0 : remaining
|
4349
|
+
@reset_at = reset_at == nil ? nil : reset_at
|
5611
4350
|
end
|
5612
4351
|
|
5613
4352
|
def to_json(options = {})
|
@@ -5643,40 +4382,22 @@ module SDM
|
|
5643
4382
|
egress_filter: nil,
|
5644
4383
|
healthy: nil,
|
5645
4384
|
hostname: nil,
|
5646
|
-
id: nil,
|
5647
|
-
name: nil,
|
5648
|
-
port: nil,
|
5649
|
-
port_override: nil,
|
5650
|
-
secret_store_id: nil,
|
5651
|
-
tags: nil
|
5652
|
-
)
|
5653
|
-
|
5654
|
-
|
5655
|
-
|
5656
|
-
|
5657
|
-
|
5658
|
-
|
5659
|
-
|
5660
|
-
|
5661
|
-
|
5662
|
-
if id != nil
|
5663
|
-
@id = id
|
5664
|
-
end
|
5665
|
-
if name != nil
|
5666
|
-
@name = name
|
5667
|
-
end
|
5668
|
-
if port != nil
|
5669
|
-
@port = port
|
5670
|
-
end
|
5671
|
-
if port_override != nil
|
5672
|
-
@port_override = port_override
|
5673
|
-
end
|
5674
|
-
if secret_store_id != nil
|
5675
|
-
@secret_store_id = secret_store_id
|
5676
|
-
end
|
5677
|
-
if tags != nil
|
5678
|
-
@tags = tags
|
5679
|
-
end
|
4385
|
+
id: nil,
|
4386
|
+
name: nil,
|
4387
|
+
port: nil,
|
4388
|
+
port_override: nil,
|
4389
|
+
secret_store_id: nil,
|
4390
|
+
tags: nil
|
4391
|
+
)
|
4392
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4393
|
+
@healthy = healthy == nil ? false : healthy
|
4394
|
+
@hostname = hostname == nil ? "" : hostname
|
4395
|
+
@id = id == nil ? "" : id
|
4396
|
+
@name = name == nil ? "" : name
|
4397
|
+
@port = port == nil ? 0 : port
|
4398
|
+
@port_override = port_override == nil ? 0 : port_override
|
4399
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4400
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5680
4401
|
end
|
5681
4402
|
|
5682
4403
|
def to_json(options = {})
|
@@ -5722,36 +4443,16 @@ module SDM
|
|
5722
4443
|
secret_store_id: nil,
|
5723
4444
|
tags: nil
|
5724
4445
|
)
|
5725
|
-
|
5726
|
-
|
5727
|
-
|
5728
|
-
|
5729
|
-
|
5730
|
-
|
5731
|
-
|
5732
|
-
|
5733
|
-
|
5734
|
-
|
5735
|
-
@id = id
|
5736
|
-
end
|
5737
|
-
if name != nil
|
5738
|
-
@name = name
|
5739
|
-
end
|
5740
|
-
if password != nil
|
5741
|
-
@password = password
|
5742
|
-
end
|
5743
|
-
if port != nil
|
5744
|
-
@port = port
|
5745
|
-
end
|
5746
|
-
if port_override != nil
|
5747
|
-
@port_override = port_override
|
5748
|
-
end
|
5749
|
-
if secret_store_id != nil
|
5750
|
-
@secret_store_id = secret_store_id
|
5751
|
-
end
|
5752
|
-
if tags != nil
|
5753
|
-
@tags = tags
|
5754
|
-
end
|
4446
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4447
|
+
@healthy = healthy == nil ? false : healthy
|
4448
|
+
@hostname = hostname == nil ? "" : hostname
|
4449
|
+
@id = id == nil ? "" : id
|
4450
|
+
@name = name == nil ? "" : name
|
4451
|
+
@password = password == nil ? "" : password
|
4452
|
+
@port = port == nil ? 0 : port
|
4453
|
+
@port_override = port_override == nil ? 0 : port_override
|
4454
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4455
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5755
4456
|
end
|
5756
4457
|
|
5757
4458
|
def to_json(options = {})
|
@@ -5805,45 +4506,19 @@ module SDM
|
|
5805
4506
|
tags: nil,
|
5806
4507
|
username: nil
|
5807
4508
|
)
|
5808
|
-
|
5809
|
-
|
5810
|
-
|
5811
|
-
|
5812
|
-
|
5813
|
-
|
5814
|
-
|
5815
|
-
|
5816
|
-
|
5817
|
-
|
5818
|
-
|
5819
|
-
|
5820
|
-
|
5821
|
-
@id = id
|
5822
|
-
end
|
5823
|
-
if name != nil
|
5824
|
-
@name = name
|
5825
|
-
end
|
5826
|
-
if override_database != nil
|
5827
|
-
@override_database = override_database
|
5828
|
-
end
|
5829
|
-
if password != nil
|
5830
|
-
@password = password
|
5831
|
-
end
|
5832
|
-
if port != nil
|
5833
|
-
@port = port
|
5834
|
-
end
|
5835
|
-
if port_override != nil
|
5836
|
-
@port_override = port_override
|
5837
|
-
end
|
5838
|
-
if secret_store_id != nil
|
5839
|
-
@secret_store_id = secret_store_id
|
5840
|
-
end
|
5841
|
-
if tags != nil
|
5842
|
-
@tags = tags
|
5843
|
-
end
|
5844
|
-
if username != nil
|
5845
|
-
@username = username
|
5846
|
-
end
|
4509
|
+
@database = database == nil ? "" : database
|
4510
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4511
|
+
@healthy = healthy == nil ? false : healthy
|
4512
|
+
@hostname = hostname == nil ? "" : hostname
|
4513
|
+
@id = id == nil ? "" : id
|
4514
|
+
@name = name == nil ? "" : name
|
4515
|
+
@override_database = override_database == nil ? false : override_database
|
4516
|
+
@password = password == nil ? "" : password
|
4517
|
+
@port = port == nil ? 0 : port
|
4518
|
+
@port_override = port_override == nil ? 0 : port_override
|
4519
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
4520
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
4521
|
+
@username = username == nil ? "" : username
|
5847
4522
|
end
|
5848
4523
|
|
5849
4524
|
def to_json(options = {})
|
@@ -5878,21 +4553,11 @@ module SDM
|
|
5878
4553
|
state: nil,
|
5879
4554
|
tags: nil
|
5880
4555
|
)
|
5881
|
-
|
5882
|
-
|
5883
|
-
|
5884
|
-
|
5885
|
-
|
5886
|
-
end
|
5887
|
-
if name != nil
|
5888
|
-
@name = name
|
5889
|
-
end
|
5890
|
-
if state != nil
|
5891
|
-
@state = state
|
5892
|
-
end
|
5893
|
-
if tags != nil
|
5894
|
-
@tags = tags
|
5895
|
-
end
|
4556
|
+
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
4557
|
+
@id = id == nil ? "" : id
|
4558
|
+
@name = name == nil ? "" : name
|
4559
|
+
@state = state == nil ? "" : state
|
4560
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5896
4561
|
end
|
5897
4562
|
|
5898
4563
|
def to_json(options = {})
|
@@ -5918,15 +4583,9 @@ module SDM
|
|
5918
4583
|
rate_limit: nil,
|
5919
4584
|
resource: nil
|
5920
4585
|
)
|
5921
|
-
|
5922
|
-
|
5923
|
-
|
5924
|
-
if rate_limit != nil
|
5925
|
-
@rate_limit = rate_limit
|
5926
|
-
end
|
5927
|
-
if resource != nil
|
5928
|
-
@resource = resource
|
5929
|
-
end
|
4586
|
+
@meta = meta == nil ? nil : meta
|
4587
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4588
|
+
@resource = resource == nil ? nil : resource
|
5930
4589
|
end
|
5931
4590
|
|
5932
4591
|
def to_json(options = {})
|
@@ -5949,12 +4608,8 @@ module SDM
|
|
5949
4608
|
meta: nil,
|
5950
4609
|
rate_limit: nil
|
5951
4610
|
)
|
5952
|
-
|
5953
|
-
|
5954
|
-
end
|
5955
|
-
if rate_limit != nil
|
5956
|
-
@rate_limit = rate_limit
|
5957
|
-
end
|
4611
|
+
@meta = meta == nil ? nil : meta
|
4612
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5958
4613
|
end
|
5959
4614
|
|
5960
4615
|
def to_json(options = {})
|
@@ -5980,15 +4635,9 @@ module SDM
|
|
5980
4635
|
rate_limit: nil,
|
5981
4636
|
resource: nil
|
5982
4637
|
)
|
5983
|
-
|
5984
|
-
|
5985
|
-
|
5986
|
-
if rate_limit != nil
|
5987
|
-
@rate_limit = rate_limit
|
5988
|
-
end
|
5989
|
-
if resource != nil
|
5990
|
-
@resource = resource
|
5991
|
-
end
|
4638
|
+
@meta = meta == nil ? nil : meta
|
4639
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4640
|
+
@resource = resource == nil ? nil : resource
|
5992
4641
|
end
|
5993
4642
|
|
5994
4643
|
def to_json(options = {})
|
@@ -6015,15 +4664,9 @@ module SDM
|
|
6015
4664
|
rate_limit: nil,
|
6016
4665
|
resource: nil
|
6017
4666
|
)
|
6018
|
-
|
6019
|
-
|
6020
|
-
|
6021
|
-
if rate_limit != nil
|
6022
|
-
@rate_limit = rate_limit
|
6023
|
-
end
|
6024
|
-
if resource != nil
|
6025
|
-
@resource = resource
|
6026
|
-
end
|
4667
|
+
@meta = meta == nil ? nil : meta
|
4668
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4669
|
+
@resource = resource == nil ? nil : resource
|
6027
4670
|
end
|
6028
4671
|
|
6029
4672
|
def to_json(options = {})
|
@@ -6035,11 +4678,16 @@ module SDM
|
|
6035
4678
|
end
|
6036
4679
|
end
|
6037
4680
|
|
6038
|
-
# A Role
|
4681
|
+
# A Role has a list of access rules which determine which Resources the members
|
4682
|
+
# of the Role have access to. An Account can be a member of multiple Roles via
|
4683
|
+
# AccountAttachments.
|
6039
4684
|
class Role
|
6040
|
-
# AccessRules
|
4685
|
+
# AccessRules is a list of access rules defining the resources this Role has access to.
|
6041
4686
|
attr_accessor :access_rules
|
6042
|
-
#
|
4687
|
+
# Composite is true if the Role is a composite role.
|
4688
|
+
#
|
4689
|
+
# Deprecated: composite roles are deprecated, use multi-role via
|
4690
|
+
# AccountAttachments instead.
|
6043
4691
|
attr_accessor :composite
|
6044
4692
|
# Unique identifier of the Role.
|
6045
4693
|
attr_accessor :id
|
@@ -6055,21 +4703,11 @@ module SDM
|
|
6055
4703
|
name: nil,
|
6056
4704
|
tags: nil
|
6057
4705
|
)
|
6058
|
-
|
6059
|
-
|
6060
|
-
|
6061
|
-
|
6062
|
-
|
6063
|
-
end
|
6064
|
-
if id != nil
|
6065
|
-
@id = id
|
6066
|
-
end
|
6067
|
-
if name != nil
|
6068
|
-
@name = name
|
6069
|
-
end
|
6070
|
-
if tags != nil
|
6071
|
-
@tags = tags
|
6072
|
-
end
|
4706
|
+
@access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
|
4707
|
+
@composite = composite == nil ? false : composite
|
4708
|
+
@id = id == nil ? "" : id
|
4709
|
+
@name = name == nil ? "" : name
|
4710
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
6073
4711
|
end
|
6074
4712
|
|
6075
4713
|
def to_json(options = {})
|
@@ -6082,6 +4720,8 @@ module SDM
|
|
6082
4720
|
end
|
6083
4721
|
|
6084
4722
|
# A RoleAttachment assigns a role to a composite role.
|
4723
|
+
#
|
4724
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
6085
4725
|
class RoleAttachment
|
6086
4726
|
# The id of the attached role of this RoleAttachment.
|
6087
4727
|
attr_accessor :attached_role_id
|
@@ -6095,15 +4735,9 @@ module SDM
|
|
6095
4735
|
composite_role_id: nil,
|
6096
4736
|
id: nil
|
6097
4737
|
)
|
6098
|
-
|
6099
|
-
|
6100
|
-
|
6101
|
-
if composite_role_id != nil
|
6102
|
-
@composite_role_id = composite_role_id
|
6103
|
-
end
|
6104
|
-
if id != nil
|
6105
|
-
@id = id
|
6106
|
-
end
|
4738
|
+
@attached_role_id = attached_role_id == nil ? "" : attached_role_id
|
4739
|
+
@composite_role_id = composite_role_id == nil ? "" : composite_role_id
|
4740
|
+
@id = id == nil ? "" : id
|
6107
4741
|
end
|
6108
4742
|
|
6109
4743
|
def to_json(options = {})
|
@@ -6116,6 +4750,8 @@ module SDM
|
|
6116
4750
|
end
|
6117
4751
|
|
6118
4752
|
# RoleAttachmentCreateResponse reports how the RoleAttachments were created in the system.
|
4753
|
+
#
|
4754
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
6119
4755
|
class RoleAttachmentCreateResponse
|
6120
4756
|
# Reserved for future use.
|
6121
4757
|
attr_accessor :meta
|
@@ -6129,15 +4765,9 @@ module SDM
|
|
6129
4765
|
rate_limit: nil,
|
6130
4766
|
role_attachment: nil
|
6131
4767
|
)
|
6132
|
-
|
6133
|
-
|
6134
|
-
|
6135
|
-
if rate_limit != nil
|
6136
|
-
@rate_limit = rate_limit
|
6137
|
-
end
|
6138
|
-
if role_attachment != nil
|
6139
|
-
@role_attachment = role_attachment
|
6140
|
-
end
|
4768
|
+
@meta = meta == nil ? nil : meta
|
4769
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4770
|
+
@role_attachment = role_attachment == nil ? nil : role_attachment
|
6141
4771
|
end
|
6142
4772
|
|
6143
4773
|
def to_json(options = {})
|
@@ -6150,6 +4780,8 @@ module SDM
|
|
6150
4780
|
end
|
6151
4781
|
|
6152
4782
|
# RoleAttachmentDeleteResponse returns information about a RoleAttachment that was deleted.
|
4783
|
+
#
|
4784
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
6153
4785
|
class RoleAttachmentDeleteResponse
|
6154
4786
|
# Reserved for future use.
|
6155
4787
|
attr_accessor :meta
|
@@ -6160,12 +4792,8 @@ module SDM
|
|
6160
4792
|
meta: nil,
|
6161
4793
|
rate_limit: nil
|
6162
4794
|
)
|
6163
|
-
|
6164
|
-
|
6165
|
-
end
|
6166
|
-
if rate_limit != nil
|
6167
|
-
@rate_limit = rate_limit
|
6168
|
-
end
|
4795
|
+
@meta = meta == nil ? nil : meta
|
4796
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
6169
4797
|
end
|
6170
4798
|
|
6171
4799
|
def to_json(options = {})
|
@@ -6178,6 +4806,8 @@ module SDM
|
|
6178
4806
|
end
|
6179
4807
|
|
6180
4808
|
# RoleAttachmentGetResponse returns a requested RoleAttachment.
|
4809
|
+
#
|
4810
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
6181
4811
|
class RoleAttachmentGetResponse
|
6182
4812
|
# Reserved for future use.
|
6183
4813
|
attr_accessor :meta
|
@@ -6191,15 +4821,9 @@ module SDM
|
|
6191
4821
|
rate_limit: nil,
|
6192
4822
|
role_attachment: nil
|
6193
4823
|
)
|
6194
|
-
|
6195
|
-
|
6196
|
-
|
6197
|
-
if rate_limit != nil
|
6198
|
-
@rate_limit = rate_limit
|
6199
|
-
end
|
6200
|
-
if role_attachment != nil
|
6201
|
-
@role_attachment = role_attachment
|
6202
|
-
end
|
4824
|
+
@meta = meta == nil ? nil : meta
|
4825
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4826
|
+
@role_attachment = role_attachment == nil ? nil : role_attachment
|
6203
4827
|
end
|
6204
4828
|
|
6205
4829
|
def to_json(options = {})
|
@@ -6226,15 +4850,9 @@ module SDM
|
|
6226
4850
|
rate_limit: nil,
|
6227
4851
|
role: nil
|
6228
4852
|
)
|
6229
|
-
|
6230
|
-
|
6231
|
-
|
6232
|
-
if rate_limit != nil
|
6233
|
-
@rate_limit = rate_limit
|
6234
|
-
end
|
6235
|
-
if role != nil
|
6236
|
-
@role = role
|
6237
|
-
end
|
4853
|
+
@meta = meta == nil ? nil : meta
|
4854
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4855
|
+
@role = role == nil ? nil : role
|
6238
4856
|
end
|
6239
4857
|
|
6240
4858
|
def to_json(options = {})
|
@@ -6257,12 +4875,8 @@ module SDM
|
|
6257
4875
|
meta: nil,
|
6258
4876
|
rate_limit: nil
|
6259
4877
|
)
|
6260
|
-
|
6261
|
-
|
6262
|
-
end
|
6263
|
-
if rate_limit != nil
|
6264
|
-
@rate_limit = rate_limit
|
6265
|
-
end
|
4878
|
+
@meta = meta == nil ? nil : meta
|
4879
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
6266
4880
|
end
|
6267
4881
|
|
6268
4882
|
def to_json(options = {})
|
@@ -6288,15 +4902,9 @@ module SDM
|
|
6288
4902
|
rate_limit: nil,
|
6289
4903
|
role: nil
|
6290
4904
|
)
|
6291
|
-
|
6292
|
-
|
6293
|
-
|
6294
|
-
if rate_limit != nil
|
6295
|
-
@rate_limit = rate_limit
|
6296
|
-
end
|
6297
|
-
if role != nil
|
6298
|
-
@role = role
|
6299
|
-
end
|
4905
|
+
@meta = meta == nil ? nil : meta
|
4906
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4907
|
+
@role = role == nil ? nil : role
|
6300
4908
|
end
|
6301
4909
|
|
6302
4910
|
def to_json(options = {})
|
@@ -6309,6 +4917,8 @@ module SDM
|
|
6309
4917
|
end
|
6310
4918
|
|
6311
4919
|
# A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
4920
|
+
#
|
4921
|
+
# Deprecated: use Role access rules instead.
|
6312
4922
|
class RoleGrant
|
6313
4923
|
# Unique identifier of the RoleGrant.
|
6314
4924
|
attr_accessor :id
|
@@ -6322,15 +4932,9 @@ module SDM
|
|
6322
4932
|
resource_id: nil,
|
6323
4933
|
role_id: nil
|
6324
4934
|
)
|
6325
|
-
|
6326
|
-
|
6327
|
-
|
6328
|
-
if resource_id != nil
|
6329
|
-
@resource_id = resource_id
|
6330
|
-
end
|
6331
|
-
if role_id != nil
|
6332
|
-
@role_id = role_id
|
6333
|
-
end
|
4935
|
+
@id = id == nil ? "" : id
|
4936
|
+
@resource_id = resource_id == nil ? "" : resource_id
|
4937
|
+
@role_id = role_id == nil ? "" : role_id
|
6334
4938
|
end
|
6335
4939
|
|
6336
4940
|
def to_json(options = {})
|
@@ -6343,6 +4947,8 @@ module SDM
|
|
6343
4947
|
end
|
6344
4948
|
|
6345
4949
|
# RoleGrantCreateResponse reports how the RoleGrants were created in the system.
|
4950
|
+
#
|
4951
|
+
# Deprecated: use Role access rules instead.
|
6346
4952
|
class RoleGrantCreateResponse
|
6347
4953
|
# Reserved for future use.
|
6348
4954
|
attr_accessor :meta
|
@@ -6356,15 +4962,9 @@ module SDM
|
|
6356
4962
|
rate_limit: nil,
|
6357
4963
|
role_grant: nil
|
6358
4964
|
)
|
6359
|
-
|
6360
|
-
|
6361
|
-
|
6362
|
-
if rate_limit != nil
|
6363
|
-
@rate_limit = rate_limit
|
6364
|
-
end
|
6365
|
-
if role_grant != nil
|
6366
|
-
@role_grant = role_grant
|
6367
|
-
end
|
4965
|
+
@meta = meta == nil ? nil : meta
|
4966
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
4967
|
+
@role_grant = role_grant == nil ? nil : role_grant
|
6368
4968
|
end
|
6369
4969
|
|
6370
4970
|
def to_json(options = {})
|
@@ -6377,6 +4977,8 @@ module SDM
|
|
6377
4977
|
end
|
6378
4978
|
|
6379
4979
|
# RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
|
4980
|
+
#
|
4981
|
+
# Deprecated: use Role access rules instead.
|
6380
4982
|
class RoleGrantDeleteResponse
|
6381
4983
|
# Reserved for future use.
|
6382
4984
|
attr_accessor :meta
|
@@ -6387,12 +4989,8 @@ module SDM
|
|
6387
4989
|
meta: nil,
|
6388
4990
|
rate_limit: nil
|
6389
4991
|
)
|
6390
|
-
|
6391
|
-
|
6392
|
-
end
|
6393
|
-
if rate_limit != nil
|
6394
|
-
@rate_limit = rate_limit
|
6395
|
-
end
|
4992
|
+
@meta = meta == nil ? nil : meta
|
4993
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
6396
4994
|
end
|
6397
4995
|
|
6398
4996
|
def to_json(options = {})
|
@@ -6405,6 +5003,8 @@ module SDM
|
|
6405
5003
|
end
|
6406
5004
|
|
6407
5005
|
# RoleGrantGetResponse returns a requested RoleGrant.
|
5006
|
+
#
|
5007
|
+
# Deprecated: use Role access rules instead.
|
6408
5008
|
class RoleGrantGetResponse
|
6409
5009
|
# Reserved for future use.
|
6410
5010
|
attr_accessor :meta
|
@@ -6418,15 +5018,9 @@ module SDM
|
|
6418
5018
|
rate_limit: nil,
|
6419
5019
|
role_grant: nil
|
6420
5020
|
)
|
6421
|
-
|
6422
|
-
|
6423
|
-
|
6424
|
-
if rate_limit != nil
|
6425
|
-
@rate_limit = rate_limit
|
6426
|
-
end
|
6427
|
-
if role_grant != nil
|
6428
|
-
@role_grant = role_grant
|
6429
|
-
end
|
5021
|
+
@meta = meta == nil ? nil : meta
|
5022
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5023
|
+
@role_grant = role_grant == nil ? nil : role_grant
|
6430
5024
|
end
|
6431
5025
|
|
6432
5026
|
def to_json(options = {})
|
@@ -6453,15 +5047,9 @@ module SDM
|
|
6453
5047
|
rate_limit: nil,
|
6454
5048
|
role: nil
|
6455
5049
|
)
|
6456
|
-
|
6457
|
-
|
6458
|
-
|
6459
|
-
if rate_limit != nil
|
6460
|
-
@rate_limit = rate_limit
|
6461
|
-
end
|
6462
|
-
if role != nil
|
6463
|
-
@role = role
|
6464
|
-
end
|
5050
|
+
@meta = meta == nil ? nil : meta
|
5051
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5052
|
+
@role = role == nil ? nil : role
|
6465
5053
|
end
|
6466
5054
|
|
6467
5055
|
def to_json(options = {})
|
@@ -6518,48 +5106,20 @@ module SDM
|
|
6518
5106
|
tags: nil,
|
6519
5107
|
username: nil
|
6520
5108
|
)
|
6521
|
-
|
6522
|
-
|
6523
|
-
|
6524
|
-
|
6525
|
-
|
6526
|
-
|
6527
|
-
|
6528
|
-
|
6529
|
-
|
6530
|
-
|
6531
|
-
|
6532
|
-
|
6533
|
-
|
6534
|
-
|
6535
|
-
end
|
6536
|
-
if name != nil
|
6537
|
-
@name = name
|
6538
|
-
end
|
6539
|
-
if override_database != nil
|
6540
|
-
@override_database = override_database
|
6541
|
-
end
|
6542
|
-
if password != nil
|
6543
|
-
@password = password
|
6544
|
-
end
|
6545
|
-
if port != nil
|
6546
|
-
@port = port
|
6547
|
-
end
|
6548
|
-
if port_override != nil
|
6549
|
-
@port_override = port_override
|
6550
|
-
end
|
6551
|
-
if schema != nil
|
6552
|
-
@schema = schema
|
6553
|
-
end
|
6554
|
-
if secret_store_id != nil
|
6555
|
-
@secret_store_id = secret_store_id
|
6556
|
-
end
|
6557
|
-
if tags != nil
|
6558
|
-
@tags = tags
|
6559
|
-
end
|
6560
|
-
if username != nil
|
6561
|
-
@username = username
|
6562
|
-
end
|
5109
|
+
@database = database == nil ? "" : database
|
5110
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5111
|
+
@healthy = healthy == nil ? false : healthy
|
5112
|
+
@hostname = hostname == nil ? "" : hostname
|
5113
|
+
@id = id == nil ? "" : id
|
5114
|
+
@name = name == nil ? "" : name
|
5115
|
+
@override_database = override_database == nil ? false : override_database
|
5116
|
+
@password = password == nil ? "" : password
|
5117
|
+
@port = port == nil ? 0 : port
|
5118
|
+
@port_override = port_override == nil ? 0 : port_override
|
5119
|
+
@schema = schema == nil ? "" : schema
|
5120
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5121
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5122
|
+
@username = username == nil ? "" : username
|
6563
5123
|
end
|
6564
5124
|
|
6565
5125
|
def to_json(options = {})
|
@@ -6610,42 +5170,18 @@ module SDM
|
|
6610
5170
|
tags: nil,
|
6611
5171
|
username: nil
|
6612
5172
|
)
|
6613
|
-
|
6614
|
-
|
6615
|
-
|
6616
|
-
|
6617
|
-
|
6618
|
-
|
6619
|
-
|
6620
|
-
|
6621
|
-
|
6622
|
-
|
6623
|
-
|
6624
|
-
|
6625
|
-
if id != nil
|
6626
|
-
@id = id
|
6627
|
-
end
|
6628
|
-
if name != nil
|
6629
|
-
@name = name
|
6630
|
-
end
|
6631
|
-
if port != nil
|
6632
|
-
@port = port
|
6633
|
-
end
|
6634
|
-
if port_forwarding != nil
|
6635
|
-
@port_forwarding = port_forwarding
|
6636
|
-
end
|
6637
|
-
if public_key != nil
|
6638
|
-
@public_key = public_key
|
6639
|
-
end
|
6640
|
-
if secret_store_id != nil
|
6641
|
-
@secret_store_id = secret_store_id
|
6642
|
-
end
|
6643
|
-
if tags != nil
|
6644
|
-
@tags = tags
|
6645
|
-
end
|
6646
|
-
if username != nil
|
6647
|
-
@username = username
|
6648
|
-
end
|
5173
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges == nil ? false : allow_deprecated_key_exchanges
|
5174
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5175
|
+
@healthy = healthy == nil ? false : healthy
|
5176
|
+
@hostname = hostname == nil ? "" : hostname
|
5177
|
+
@id = id == nil ? "" : id
|
5178
|
+
@name = name == nil ? "" : name
|
5179
|
+
@port = port == nil ? 0 : port
|
5180
|
+
@port_forwarding = port_forwarding == nil ? false : port_forwarding
|
5181
|
+
@public_key = public_key == nil ? "" : public_key
|
5182
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5183
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5184
|
+
@username = username == nil ? "" : username
|
6649
5185
|
end
|
6650
5186
|
|
6651
5187
|
def to_json(options = {})
|
@@ -6693,39 +5229,17 @@ module SDM
|
|
6693
5229
|
tags: nil,
|
6694
5230
|
username: nil
|
6695
5231
|
)
|
6696
|
-
|
6697
|
-
|
6698
|
-
|
6699
|
-
|
6700
|
-
|
6701
|
-
|
6702
|
-
|
6703
|
-
|
6704
|
-
|
6705
|
-
|
6706
|
-
|
6707
|
-
end
|
6708
|
-
if id != nil
|
6709
|
-
@id = id
|
6710
|
-
end
|
6711
|
-
if name != nil
|
6712
|
-
@name = name
|
6713
|
-
end
|
6714
|
-
if port != nil
|
6715
|
-
@port = port
|
6716
|
-
end
|
6717
|
-
if port_forwarding != nil
|
6718
|
-
@port_forwarding = port_forwarding
|
6719
|
-
end
|
6720
|
-
if secret_store_id != nil
|
6721
|
-
@secret_store_id = secret_store_id
|
6722
|
-
end
|
6723
|
-
if tags != nil
|
6724
|
-
@tags = tags
|
6725
|
-
end
|
6726
|
-
if username != nil
|
6727
|
-
@username = username
|
6728
|
-
end
|
5232
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges == nil ? false : allow_deprecated_key_exchanges
|
5233
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5234
|
+
@healthy = healthy == nil ? false : healthy
|
5235
|
+
@hostname = hostname == nil ? "" : hostname
|
5236
|
+
@id = id == nil ? "" : id
|
5237
|
+
@name = name == nil ? "" : name
|
5238
|
+
@port = port == nil ? 0 : port
|
5239
|
+
@port_forwarding = port_forwarding == nil ? false : port_forwarding
|
5240
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5241
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5242
|
+
@username = username == nil ? "" : username
|
6729
5243
|
end
|
6730
5244
|
|
6731
5245
|
def to_json(options = {})
|
@@ -6776,42 +5290,18 @@ module SDM
|
|
6776
5290
|
tags: nil,
|
6777
5291
|
username: nil
|
6778
5292
|
)
|
6779
|
-
|
6780
|
-
|
6781
|
-
|
6782
|
-
|
6783
|
-
|
6784
|
-
|
6785
|
-
|
6786
|
-
|
6787
|
-
|
6788
|
-
|
6789
|
-
|
6790
|
-
|
6791
|
-
if id != nil
|
6792
|
-
@id = id
|
6793
|
-
end
|
6794
|
-
if name != nil
|
6795
|
-
@name = name
|
6796
|
-
end
|
6797
|
-
if port != nil
|
6798
|
-
@port = port
|
6799
|
-
end
|
6800
|
-
if port_forwarding != nil
|
6801
|
-
@port_forwarding = port_forwarding
|
6802
|
-
end
|
6803
|
-
if private_key != nil
|
6804
|
-
@private_key = private_key
|
6805
|
-
end
|
6806
|
-
if secret_store_id != nil
|
6807
|
-
@secret_store_id = secret_store_id
|
6808
|
-
end
|
6809
|
-
if tags != nil
|
6810
|
-
@tags = tags
|
6811
|
-
end
|
6812
|
-
if username != nil
|
6813
|
-
@username = username
|
6814
|
-
end
|
5293
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges == nil ? false : allow_deprecated_key_exchanges
|
5294
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5295
|
+
@healthy = healthy == nil ? false : healthy
|
5296
|
+
@hostname = hostname == nil ? "" : hostname
|
5297
|
+
@id = id == nil ? "" : id
|
5298
|
+
@name = name == nil ? "" : name
|
5299
|
+
@port = port == nil ? 0 : port
|
5300
|
+
@port_forwarding = port_forwarding == nil ? false : port_forwarding
|
5301
|
+
@private_key = private_key == nil ? "" : private_key
|
5302
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5303
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5304
|
+
@username = username == nil ? "" : username
|
6815
5305
|
end
|
6816
5306
|
|
6817
5307
|
def to_json(options = {})
|
@@ -6837,15 +5327,9 @@ module SDM
|
|
6837
5327
|
rate_limit: nil,
|
6838
5328
|
secret_store: nil
|
6839
5329
|
)
|
6840
|
-
|
6841
|
-
|
6842
|
-
|
6843
|
-
if rate_limit != nil
|
6844
|
-
@rate_limit = rate_limit
|
6845
|
-
end
|
6846
|
-
if secret_store != nil
|
6847
|
-
@secret_store = secret_store
|
6848
|
-
end
|
5330
|
+
@meta = meta == nil ? nil : meta
|
5331
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5332
|
+
@secret_store = secret_store == nil ? nil : secret_store
|
6849
5333
|
end
|
6850
5334
|
|
6851
5335
|
def to_json(options = {})
|
@@ -6868,12 +5352,8 @@ module SDM
|
|
6868
5352
|
meta: nil,
|
6869
5353
|
rate_limit: nil
|
6870
5354
|
)
|
6871
|
-
|
6872
|
-
|
6873
|
-
end
|
6874
|
-
if rate_limit != nil
|
6875
|
-
@rate_limit = rate_limit
|
6876
|
-
end
|
5355
|
+
@meta = meta == nil ? nil : meta
|
5356
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
6877
5357
|
end
|
6878
5358
|
|
6879
5359
|
def to_json(options = {})
|
@@ -6899,15 +5379,9 @@ module SDM
|
|
6899
5379
|
rate_limit: nil,
|
6900
5380
|
secret_store: nil
|
6901
5381
|
)
|
6902
|
-
|
6903
|
-
|
6904
|
-
|
6905
|
-
if rate_limit != nil
|
6906
|
-
@rate_limit = rate_limit
|
6907
|
-
end
|
6908
|
-
if secret_store != nil
|
6909
|
-
@secret_store = secret_store
|
6910
|
-
end
|
5382
|
+
@meta = meta == nil ? nil : meta
|
5383
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5384
|
+
@secret_store = secret_store == nil ? nil : secret_store
|
6911
5385
|
end
|
6912
5386
|
|
6913
5387
|
def to_json(options = {})
|
@@ -6934,15 +5408,9 @@ module SDM
|
|
6934
5408
|
rate_limit: nil,
|
6935
5409
|
secret_store: nil
|
6936
5410
|
)
|
6937
|
-
|
6938
|
-
|
6939
|
-
|
6940
|
-
if rate_limit != nil
|
6941
|
-
@rate_limit = rate_limit
|
6942
|
-
end
|
6943
|
-
if secret_store != nil
|
6944
|
-
@secret_store = secret_store
|
6945
|
-
end
|
5411
|
+
@meta = meta == nil ? nil : meta
|
5412
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
5413
|
+
@secret_store = secret_store == nil ? nil : secret_store
|
6946
5414
|
end
|
6947
5415
|
|
6948
5416
|
def to_json(options = {})
|
@@ -6972,18 +5440,10 @@ module SDM
|
|
6972
5440
|
suspended: nil,
|
6973
5441
|
tags: nil
|
6974
5442
|
)
|
6975
|
-
|
6976
|
-
|
6977
|
-
|
6978
|
-
|
6979
|
-
@name = name
|
6980
|
-
end
|
6981
|
-
if suspended != nil
|
6982
|
-
@suspended = suspended
|
6983
|
-
end
|
6984
|
-
if tags != nil
|
6985
|
-
@tags = tags
|
6986
|
-
end
|
5443
|
+
@id = id == nil ? "" : id
|
5444
|
+
@name = name == nil ? "" : name
|
5445
|
+
@suspended = suspended == nil ? false : suspended
|
5446
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
6987
5447
|
end
|
6988
5448
|
|
6989
5449
|
def to_json(options = {})
|
@@ -7034,42 +5494,18 @@ module SDM
|
|
7034
5494
|
tags: nil,
|
7035
5495
|
username: nil
|
7036
5496
|
)
|
7037
|
-
|
7038
|
-
|
7039
|
-
|
7040
|
-
|
7041
|
-
|
7042
|
-
|
7043
|
-
|
7044
|
-
|
7045
|
-
|
7046
|
-
|
7047
|
-
|
7048
|
-
|
7049
|
-
if id != nil
|
7050
|
-
@id = id
|
7051
|
-
end
|
7052
|
-
if name != nil
|
7053
|
-
@name = name
|
7054
|
-
end
|
7055
|
-
if password != nil
|
7056
|
-
@password = password
|
7057
|
-
end
|
7058
|
-
if port != nil
|
7059
|
-
@port = port
|
7060
|
-
end
|
7061
|
-
if port_override != nil
|
7062
|
-
@port_override = port_override
|
7063
|
-
end
|
7064
|
-
if secret_store_id != nil
|
7065
|
-
@secret_store_id = secret_store_id
|
7066
|
-
end
|
7067
|
-
if tags != nil
|
7068
|
-
@tags = tags
|
7069
|
-
end
|
7070
|
-
if username != nil
|
7071
|
-
@username = username
|
7072
|
-
end
|
5497
|
+
@database = database == nil ? "" : database
|
5498
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5499
|
+
@healthy = healthy == nil ? false : healthy
|
5500
|
+
@hostname = hostname == nil ? "" : hostname
|
5501
|
+
@id = id == nil ? "" : id
|
5502
|
+
@name = name == nil ? "" : name
|
5503
|
+
@password = password == nil ? "" : password
|
5504
|
+
@port = port == nil ? 0 : port
|
5505
|
+
@port_override = port_override == nil ? 0 : port_override
|
5506
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5507
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5508
|
+
@username = username == nil ? "" : username
|
7073
5509
|
end
|
7074
5510
|
|
7075
5511
|
def to_json(options = {})
|
@@ -7120,42 +5556,18 @@ module SDM
|
|
7120
5556
|
tags: nil,
|
7121
5557
|
username: nil
|
7122
5558
|
)
|
7123
|
-
|
7124
|
-
|
7125
|
-
|
7126
|
-
|
7127
|
-
|
7128
|
-
|
7129
|
-
|
7130
|
-
|
7131
|
-
|
7132
|
-
|
7133
|
-
|
7134
|
-
|
7135
|
-
if id != nil
|
7136
|
-
@id = id
|
7137
|
-
end
|
7138
|
-
if name != nil
|
7139
|
-
@name = name
|
7140
|
-
end
|
7141
|
-
if password != nil
|
7142
|
-
@password = password
|
7143
|
-
end
|
7144
|
-
if port_override != nil
|
7145
|
-
@port_override = port_override
|
7146
|
-
end
|
7147
|
-
if schema != nil
|
7148
|
-
@schema = schema
|
7149
|
-
end
|
7150
|
-
if secret_store_id != nil
|
7151
|
-
@secret_store_id = secret_store_id
|
7152
|
-
end
|
7153
|
-
if tags != nil
|
7154
|
-
@tags = tags
|
7155
|
-
end
|
7156
|
-
if username != nil
|
7157
|
-
@username = username
|
7158
|
-
end
|
5559
|
+
@database = database == nil ? "" : database
|
5560
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5561
|
+
@healthy = healthy == nil ? false : healthy
|
5562
|
+
@hostname = hostname == nil ? "" : hostname
|
5563
|
+
@id = id == nil ? "" : id
|
5564
|
+
@name = name == nil ? "" : name
|
5565
|
+
@password = password == nil ? "" : password
|
5566
|
+
@port_override = port_override == nil ? 0 : port_override
|
5567
|
+
@schema = schema == nil ? "" : schema
|
5568
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5569
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5570
|
+
@username = username == nil ? "" : username
|
7159
5571
|
end
|
7160
5572
|
|
7161
5573
|
def to_json(options = {})
|
@@ -7204,39 +5616,17 @@ module SDM
|
|
7204
5616
|
tags: nil,
|
7205
5617
|
username: nil
|
7206
5618
|
)
|
7207
|
-
|
7208
|
-
|
7209
|
-
|
7210
|
-
|
7211
|
-
|
7212
|
-
|
7213
|
-
|
7214
|
-
|
7215
|
-
|
7216
|
-
|
7217
|
-
|
7218
|
-
end
|
7219
|
-
if name != nil
|
7220
|
-
@name = name
|
7221
|
-
end
|
7222
|
-
if password != nil
|
7223
|
-
@password = password
|
7224
|
-
end
|
7225
|
-
if port != nil
|
7226
|
-
@port = port
|
7227
|
-
end
|
7228
|
-
if port_override != nil
|
7229
|
-
@port_override = port_override
|
7230
|
-
end
|
7231
|
-
if secret_store_id != nil
|
7232
|
-
@secret_store_id = secret_store_id
|
7233
|
-
end
|
7234
|
-
if tags != nil
|
7235
|
-
@tags = tags
|
7236
|
-
end
|
7237
|
-
if username != nil
|
7238
|
-
@username = username
|
7239
|
-
end
|
5619
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5620
|
+
@healthy = healthy == nil ? false : healthy
|
5621
|
+
@hostname = hostname == nil ? "" : hostname
|
5622
|
+
@id = id == nil ? "" : id
|
5623
|
+
@name = name == nil ? "" : name
|
5624
|
+
@password = password == nil ? "" : password
|
5625
|
+
@port = port == nil ? 0 : port
|
5626
|
+
@port_override = port_override == nil ? 0 : port_override
|
5627
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5628
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5629
|
+
@username = username == nil ? "" : username
|
7240
5630
|
end
|
7241
5631
|
|
7242
5632
|
def to_json(options = {})
|
@@ -7285,39 +5675,17 @@ module SDM
|
|
7285
5675
|
tags: nil,
|
7286
5676
|
username: nil
|
7287
5677
|
)
|
7288
|
-
|
7289
|
-
|
7290
|
-
|
7291
|
-
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7295
|
-
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7299
|
-
end
|
7300
|
-
if name != nil
|
7301
|
-
@name = name
|
7302
|
-
end
|
7303
|
-
if password != nil
|
7304
|
-
@password = password
|
7305
|
-
end
|
7306
|
-
if port != nil
|
7307
|
-
@port = port
|
7308
|
-
end
|
7309
|
-
if port_override != nil
|
7310
|
-
@port_override = port_override
|
7311
|
-
end
|
7312
|
-
if secret_store_id != nil
|
7313
|
-
@secret_store_id = secret_store_id
|
7314
|
-
end
|
7315
|
-
if tags != nil
|
7316
|
-
@tags = tags
|
7317
|
-
end
|
7318
|
-
if username != nil
|
7319
|
-
@username = username
|
7320
|
-
end
|
5678
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5679
|
+
@healthy = healthy == nil ? false : healthy
|
5680
|
+
@hostname = hostname == nil ? "" : hostname
|
5681
|
+
@id = id == nil ? "" : id
|
5682
|
+
@name = name == nil ? "" : name
|
5683
|
+
@password = password == nil ? "" : password
|
5684
|
+
@port = port == nil ? 0 : port
|
5685
|
+
@port_override = port_override == nil ? 0 : port_override
|
5686
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5687
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5688
|
+
@username = username == nil ? "" : username
|
7321
5689
|
end
|
7322
5690
|
|
7323
5691
|
def to_json(options = {})
|
@@ -7338,12 +5706,8 @@ module SDM
|
|
7338
5706
|
name: nil,
|
7339
5707
|
value: nil
|
7340
5708
|
)
|
7341
|
-
|
7342
|
-
|
7343
|
-
end
|
7344
|
-
if value != nil
|
7345
|
-
@value = value
|
7346
|
-
end
|
5709
|
+
@name = name == nil ? "" : name
|
5710
|
+
@value = value == nil ? "" : value
|
7347
5711
|
end
|
7348
5712
|
|
7349
5713
|
def to_json(options = {})
|
@@ -7392,39 +5756,17 @@ module SDM
|
|
7392
5756
|
tags: nil,
|
7393
5757
|
username: nil
|
7394
5758
|
)
|
7395
|
-
|
7396
|
-
|
7397
|
-
|
7398
|
-
|
7399
|
-
|
7400
|
-
|
7401
|
-
|
7402
|
-
|
7403
|
-
|
7404
|
-
|
7405
|
-
|
7406
|
-
end
|
7407
|
-
if name != nil
|
7408
|
-
@name = name
|
7409
|
-
end
|
7410
|
-
if password != nil
|
7411
|
-
@password = password
|
7412
|
-
end
|
7413
|
-
if port != nil
|
7414
|
-
@port = port
|
7415
|
-
end
|
7416
|
-
if port_override != nil
|
7417
|
-
@port_override = port_override
|
7418
|
-
end
|
7419
|
-
if secret_store_id != nil
|
7420
|
-
@secret_store_id = secret_store_id
|
7421
|
-
end
|
7422
|
-
if tags != nil
|
7423
|
-
@tags = tags
|
7424
|
-
end
|
7425
|
-
if username != nil
|
7426
|
-
@username = username
|
7427
|
-
end
|
5759
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5760
|
+
@healthy = healthy == nil ? false : healthy
|
5761
|
+
@hostname = hostname == nil ? "" : hostname
|
5762
|
+
@id = id == nil ? "" : id
|
5763
|
+
@name = name == nil ? "" : name
|
5764
|
+
@password = password == nil ? "" : password
|
5765
|
+
@port = port == nil ? 0 : port
|
5766
|
+
@port_override = port_override == nil ? 0 : port_override
|
5767
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5768
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5769
|
+
@username = username == nil ? "" : username
|
7428
5770
|
end
|
7429
5771
|
|
7430
5772
|
def to_json(options = {})
|
@@ -7474,24 +5816,47 @@ module SDM
|
|
7474
5816
|
suspended: nil,
|
7475
5817
|
tags: nil
|
7476
5818
|
)
|
7477
|
-
|
7478
|
-
|
7479
|
-
|
7480
|
-
|
7481
|
-
|
7482
|
-
|
7483
|
-
|
7484
|
-
|
7485
|
-
|
7486
|
-
|
7487
|
-
|
7488
|
-
|
7489
|
-
if suspended != nil
|
7490
|
-
@suspended = suspended
|
7491
|
-
end
|
7492
|
-
if tags != nil
|
7493
|
-
@tags = tags
|
5819
|
+
@email = email == nil ? "" : email
|
5820
|
+
@first_name = first_name == nil ? "" : first_name
|
5821
|
+
@id = id == nil ? "" : id
|
5822
|
+
@last_name = last_name == nil ? "" : last_name
|
5823
|
+
@suspended = suspended == nil ? false : suspended
|
5824
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5825
|
+
end
|
5826
|
+
|
5827
|
+
def to_json(options = {})
|
5828
|
+
hash = {}
|
5829
|
+
self.instance_variables.each do |var|
|
5830
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7494
5831
|
end
|
5832
|
+
hash.to_json
|
5833
|
+
end
|
5834
|
+
end
|
5835
|
+
|
5836
|
+
class VaultAppRoleStore
|
5837
|
+
# Unique identifier of the SecretStore.
|
5838
|
+
attr_accessor :id
|
5839
|
+
# Unique human-readable name of the SecretStore.
|
5840
|
+
attr_accessor :name
|
5841
|
+
|
5842
|
+
attr_accessor :namespace
|
5843
|
+
|
5844
|
+
attr_accessor :server_address
|
5845
|
+
# Tags is a map of key, value pairs.
|
5846
|
+
attr_accessor :tags
|
5847
|
+
|
5848
|
+
def initialize(
|
5849
|
+
id: nil,
|
5850
|
+
name: nil,
|
5851
|
+
namespace: nil,
|
5852
|
+
server_address: nil,
|
5853
|
+
tags: nil
|
5854
|
+
)
|
5855
|
+
@id = id == nil ? "" : id
|
5856
|
+
@name = name == nil ? "" : name
|
5857
|
+
@namespace = namespace == nil ? "" : namespace
|
5858
|
+
@server_address = server_address == nil ? "" : server_address
|
5859
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7495
5860
|
end
|
7496
5861
|
|
7497
5862
|
def to_json(options = {})
|
@@ -7530,30 +5895,14 @@ module SDM
|
|
7530
5895
|
server_address: nil,
|
7531
5896
|
tags: nil
|
7532
5897
|
)
|
7533
|
-
|
7534
|
-
|
7535
|
-
|
7536
|
-
|
7537
|
-
|
7538
|
-
|
7539
|
-
|
7540
|
-
|
7541
|
-
end
|
7542
|
-
if id != nil
|
7543
|
-
@id = id
|
7544
|
-
end
|
7545
|
-
if name != nil
|
7546
|
-
@name = name
|
7547
|
-
end
|
7548
|
-
if namespace != nil
|
7549
|
-
@namespace = namespace
|
7550
|
-
end
|
7551
|
-
if server_address != nil
|
7552
|
-
@server_address = server_address
|
7553
|
-
end
|
7554
|
-
if tags != nil
|
7555
|
-
@tags = tags
|
7556
|
-
end
|
5898
|
+
@ca_cert_path = ca_cert_path == nil ? "" : ca_cert_path
|
5899
|
+
@client_cert_path = client_cert_path == nil ? "" : client_cert_path
|
5900
|
+
@client_key_path = client_key_path == nil ? "" : client_key_path
|
5901
|
+
@id = id == nil ? "" : id
|
5902
|
+
@name = name == nil ? "" : name
|
5903
|
+
@namespace = namespace == nil ? "" : namespace
|
5904
|
+
@server_address = server_address == nil ? "" : server_address
|
5905
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7557
5906
|
end
|
7558
5907
|
|
7559
5908
|
def to_json(options = {})
|
@@ -7584,21 +5933,11 @@ module SDM
|
|
7584
5933
|
server_address: nil,
|
7585
5934
|
tags: nil
|
7586
5935
|
)
|
7587
|
-
|
7588
|
-
|
7589
|
-
|
7590
|
-
|
7591
|
-
|
7592
|
-
end
|
7593
|
-
if namespace != nil
|
7594
|
-
@namespace = namespace
|
7595
|
-
end
|
7596
|
-
if server_address != nil
|
7597
|
-
@server_address = server_address
|
7598
|
-
end
|
7599
|
-
if tags != nil
|
7600
|
-
@tags = tags
|
7601
|
-
end
|
5936
|
+
@id = id == nil ? "" : id
|
5937
|
+
@name = name == nil ? "" : name
|
5938
|
+
@namespace = namespace == nil ? "" : namespace
|
5939
|
+
@server_address = server_address == nil ? "" : server_address
|
5940
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7602
5941
|
end
|
7603
5942
|
|
7604
5943
|
def to_json(options = {})
|
@@ -7609,4 +5948,11 @@ module SDM
|
|
7609
5948
|
hash.to_json
|
7610
5949
|
end
|
7611
5950
|
end
|
5951
|
+
|
5952
|
+
def self._porcelain_zero_value_tags()
|
5953
|
+
{}
|
5954
|
+
end
|
5955
|
+
def self._porcelain_zero_value_access_rules()
|
5956
|
+
[]
|
5957
|
+
end
|
7612
5958
|
end
|