strongdm 8.4.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,16 +35,16 @@ module SDM
35
35
  attr_accessor :hostname
36
36
  # Unique identifier of the Resource.
37
37
  attr_accessor :id
38
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
39
+ attr_accessor :identity_alias_healthcheck_username
40
+ # The ID of the identity set to use for identity connections.
41
+ attr_accessor :identity_set_id
38
42
  # Unique human-readable name of the Resource.
39
43
  attr_accessor :name
40
44
  # The port to dial to initiate a connection from the egress node to this resource.
41
45
  attr_accessor :port
42
46
  # The local port used by clients to connect to this resource.
43
47
  attr_accessor :port_override
44
- # The ID of the remote identity group to use for remote identity connections.
45
- attr_accessor :remote_identity_group_id
46
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
47
- attr_accessor :remote_identity_healthcheck_username
48
48
  # ID of the secret store containing credentials for this resource, if any.
49
49
  attr_accessor :secret_store_id
50
50
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -62,11 +62,11 @@ module SDM
62
62
  healthy: nil,
63
63
  hostname: nil,
64
64
  id: nil,
65
+ identity_alias_healthcheck_username: nil,
66
+ identity_set_id: nil,
65
67
  name: nil,
66
68
  port: nil,
67
69
  port_override: nil,
68
- remote_identity_group_id: nil,
69
- remote_identity_healthcheck_username: nil,
70
70
  secret_store_id: nil,
71
71
  subdomain: nil,
72
72
  tags: nil
@@ -80,11 +80,11 @@ module SDM
80
80
  @healthy = healthy == nil ? false : healthy
81
81
  @hostname = hostname == nil ? "" : hostname
82
82
  @id = id == nil ? "" : id
83
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
84
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
83
85
  @name = name == nil ? "" : name
84
86
  @port = port == nil ? 0 : port
85
87
  @port_override = port_override == nil ? 0 : port_override
86
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
87
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
88
88
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
89
89
  @subdomain = subdomain == nil ? "" : subdomain
90
90
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -183,16 +183,16 @@ module SDM
183
183
  attr_accessor :hostname
184
184
  # Unique identifier of the Resource.
185
185
  attr_accessor :id
186
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
187
+ attr_accessor :identity_alias_healthcheck_username
188
+ # The ID of the identity set to use for identity connections.
189
+ attr_accessor :identity_set_id
186
190
  # Unique human-readable name of the Resource.
187
191
  attr_accessor :name
188
192
  # The port to dial to initiate a connection from the egress node to this resource.
189
193
  attr_accessor :port
190
194
  # The local port used by clients to connect to this resource.
191
195
  attr_accessor :port_override
192
- # The ID of the remote identity group to use for remote identity connections.
193
- attr_accessor :remote_identity_group_id
194
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
195
- attr_accessor :remote_identity_healthcheck_username
196
196
  # ID of the secret store containing credentials for this resource, if any.
197
197
  attr_accessor :secret_store_id
198
198
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -209,11 +209,11 @@ module SDM
209
209
  healthy: nil,
210
210
  hostname: nil,
211
211
  id: nil,
212
+ identity_alias_healthcheck_username: nil,
213
+ identity_set_id: nil,
212
214
  name: nil,
213
215
  port: nil,
214
216
  port_override: nil,
215
- remote_identity_group_id: nil,
216
- remote_identity_healthcheck_username: nil,
217
217
  secret_store_id: nil,
218
218
  subdomain: nil,
219
219
  tags: nil,
@@ -225,11 +225,11 @@ module SDM
225
225
  @healthy = healthy == nil ? false : healthy
226
226
  @hostname = hostname == nil ? "" : hostname
227
227
  @id = id == nil ? "" : id
228
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
229
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
228
230
  @name = name == nil ? "" : name
229
231
  @port = port == nil ? 0 : port
230
232
  @port_override = port_override == nil ? 0 : port_override
231
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
232
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
233
233
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
234
234
  @subdomain = subdomain == nil ? "" : subdomain
235
235
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -516,16 +516,16 @@ module SDM
516
516
  attr_accessor :healthy
517
517
  # Unique identifier of the Resource.
518
518
  attr_accessor :id
519
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
520
+ attr_accessor :identity_alias_healthcheck_username
521
+ # The ID of the identity set to use for identity connections.
522
+ attr_accessor :identity_set_id
519
523
  # Unique human-readable name of the Resource.
520
524
  attr_accessor :name
521
525
  # The local port used by clients to connect to this resource.
522
526
  attr_accessor :port_override
523
527
  # The AWS region to connect to.
524
528
  attr_accessor :region
525
- # The ID of the remote identity group to use for remote identity connections.
526
- attr_accessor :remote_identity_group_id
527
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
528
- attr_accessor :remote_identity_healthcheck_username
529
529
  # The role to assume after logging in.
530
530
  attr_accessor :role_arn
531
531
  # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
@@ -545,11 +545,11 @@ module SDM
545
545
  enable_env_variables: nil,
546
546
  healthy: nil,
547
547
  id: nil,
548
+ identity_alias_healthcheck_username: nil,
549
+ identity_set_id: nil,
548
550
  name: nil,
549
551
  port_override: nil,
550
552
  region: nil,
551
- remote_identity_group_id: nil,
552
- remote_identity_healthcheck_username: nil,
553
553
  role_arn: nil,
554
554
  role_external_id: nil,
555
555
  secret_store_id: nil,
@@ -562,11 +562,11 @@ module SDM
562
562
  @enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
563
563
  @healthy = healthy == nil ? false : healthy
564
564
  @id = id == nil ? "" : id
565
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
566
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
565
567
  @name = name == nil ? "" : name
566
568
  @port_override = port_override == nil ? 0 : port_override
567
569
  @region = region == nil ? "" : region
568
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
569
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
570
570
  @role_arn = role_arn == nil ? "" : role_arn
571
571
  @role_external_id = role_external_id == nil ? "" : role_external_id
572
572
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
@@ -595,16 +595,16 @@ module SDM
595
595
  attr_accessor :healthy
596
596
  # Unique identifier of the Resource.
597
597
  attr_accessor :id
598
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
599
+ attr_accessor :identity_alias_healthcheck_username
600
+ # The ID of the identity set to use for identity connections.
601
+ attr_accessor :identity_set_id
598
602
  # Unique human-readable name of the Resource.
599
603
  attr_accessor :name
600
604
  # The local port used by clients to connect to this resource.
601
605
  attr_accessor :port_override
602
606
  # The AWS region to connect to.
603
607
  attr_accessor :region
604
- # The ID of the remote identity group to use for remote identity connections.
605
- attr_accessor :remote_identity_group_id
606
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
607
- attr_accessor :remote_identity_healthcheck_username
608
608
  # The role to assume after logging in.
609
609
  attr_accessor :role_arn
610
610
  # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
@@ -626,11 +626,11 @@ module SDM
626
626
  egress_filter: nil,
627
627
  healthy: nil,
628
628
  id: nil,
629
+ identity_alias_healthcheck_username: nil,
630
+ identity_set_id: nil,
629
631
  name: nil,
630
632
  port_override: nil,
631
633
  region: nil,
632
- remote_identity_group_id: nil,
633
- remote_identity_healthcheck_username: nil,
634
634
  role_arn: nil,
635
635
  role_external_id: nil,
636
636
  secret_access_key: nil,
@@ -644,11 +644,11 @@ module SDM
644
644
  @egress_filter = egress_filter == nil ? "" : egress_filter
645
645
  @healthy = healthy == nil ? false : healthy
646
646
  @id = id == nil ? "" : id
647
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
648
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
647
649
  @name = name == nil ? "" : name
648
650
  @port_override = port_override == nil ? 0 : port_override
649
651
  @region = region == nil ? "" : region
650
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
651
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
652
652
  @role_arn = role_arn == nil ? "" : role_arn
653
653
  @role_external_id = role_external_id == nil ? "" : role_external_id
654
654
  @secret_access_key = secret_access_key == nil ? "" : secret_access_key
@@ -1716,16 +1716,16 @@ module SDM
1716
1716
  attr_accessor :healthy
1717
1717
  # Unique identifier of the Resource.
1718
1718
  attr_accessor :id
1719
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
1720
+ attr_accessor :identity_alias_healthcheck_username
1721
+ # The ID of the identity set to use for identity connections.
1722
+ attr_accessor :identity_set_id
1719
1723
  # Unique human-readable name of the Resource.
1720
1724
  attr_accessor :name
1721
1725
  # The local port used by clients to connect to this resource.
1722
1726
  attr_accessor :port_override
1723
1727
  # The AWS region to connect to e.g. us-east-1.
1724
1728
  attr_accessor :region
1725
- # The ID of the remote identity group to use for remote identity connections.
1726
- attr_accessor :remote_identity_group_id
1727
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
1728
- attr_accessor :remote_identity_healthcheck_username
1729
1729
  # The role to assume after logging in.
1730
1730
  attr_accessor :role_arn
1731
1731
  # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
@@ -1749,11 +1749,11 @@ module SDM
1749
1749
  healthcheck_namespace: nil,
1750
1750
  healthy: nil,
1751
1751
  id: nil,
1752
+ identity_alias_healthcheck_username: nil,
1753
+ identity_set_id: nil,
1752
1754
  name: nil,
1753
1755
  port_override: nil,
1754
1756
  region: nil,
1755
- remote_identity_group_id: nil,
1756
- remote_identity_healthcheck_username: nil,
1757
1757
  role_arn: nil,
1758
1758
  role_external_id: nil,
1759
1759
  secret_access_key: nil,
@@ -1770,11 +1770,11 @@ module SDM
1770
1770
  @healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
1771
1771
  @healthy = healthy == nil ? false : healthy
1772
1772
  @id = id == nil ? "" : id
1773
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
1774
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
1773
1775
  @name = name == nil ? "" : name
1774
1776
  @port_override = port_override == nil ? 0 : port_override
1775
1777
  @region = region == nil ? "" : region
1776
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
1777
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
1778
1778
  @role_arn = role_arn == nil ? "" : role_arn
1779
1779
  @role_external_id = role_external_id == nil ? "" : role_external_id
1780
1780
  @secret_access_key = secret_access_key == nil ? "" : secret_access_key
@@ -1809,16 +1809,16 @@ module SDM
1809
1809
  attr_accessor :healthy
1810
1810
  # Unique identifier of the Resource.
1811
1811
  attr_accessor :id
1812
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
1813
+ attr_accessor :identity_alias_healthcheck_username
1814
+ # The ID of the identity set to use for identity connections.
1815
+ attr_accessor :identity_set_id
1812
1816
  # Unique human-readable name of the Resource.
1813
1817
  attr_accessor :name
1814
1818
  # The local port used by clients to connect to this resource.
1815
1819
  attr_accessor :port_override
1816
1820
  # The AWS region to connect to e.g. us-east-1.
1817
1821
  attr_accessor :region
1818
- # The ID of the remote identity group to use for remote identity connections.
1819
- attr_accessor :remote_identity_group_id
1820
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
1821
- attr_accessor :remote_identity_healthcheck_username
1822
1822
  # The role to assume after logging in.
1823
1823
  attr_accessor :role_arn
1824
1824
  # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
@@ -1839,11 +1839,11 @@ module SDM
1839
1839
  healthcheck_namespace: nil,
1840
1840
  healthy: nil,
1841
1841
  id: nil,
1842
+ identity_alias_healthcheck_username: nil,
1843
+ identity_set_id: nil,
1842
1844
  name: nil,
1843
1845
  port_override: nil,
1844
1846
  region: nil,
1845
- remote_identity_group_id: nil,
1846
- remote_identity_healthcheck_username: nil,
1847
1847
  role_arn: nil,
1848
1848
  role_external_id: nil,
1849
1849
  secret_store_id: nil,
@@ -1858,11 +1858,11 @@ module SDM
1858
1858
  @healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
1859
1859
  @healthy = healthy == nil ? false : healthy
1860
1860
  @id = id == nil ? "" : id
1861
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
1862
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
1861
1863
  @name = name == nil ? "" : name
1862
1864
  @port_override = port_override == nil ? 0 : port_override
1863
1865
  @region = region == nil ? "" : region
1864
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
1865
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
1866
1866
  @role_arn = role_arn == nil ? "" : role_arn
1867
1867
  @role_external_id = role_external_id == nil ? "" : role_external_id
1868
1868
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
@@ -1902,10 +1902,6 @@ module SDM
1902
1902
  attr_accessor :port_override
1903
1903
  # The AWS region to connect to e.g. us-east-1.
1904
1904
  attr_accessor :region
1905
- # The ID of the remote identity group to use for remote identity connections.
1906
- attr_accessor :remote_identity_group_id
1907
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
1908
- attr_accessor :remote_identity_healthcheck_username
1909
1905
  # The role to assume after logging in.
1910
1906
  attr_accessor :role_arn
1911
1907
  # The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
@@ -1929,8 +1925,6 @@ module SDM
1929
1925
  name: nil,
1930
1926
  port_override: nil,
1931
1927
  region: nil,
1932
- remote_identity_group_id: nil,
1933
- remote_identity_healthcheck_username: nil,
1934
1928
  role_arn: nil,
1935
1929
  role_external_id: nil,
1936
1930
  secret_store_id: nil,
@@ -1948,8 +1942,6 @@ module SDM
1948
1942
  @name = name == nil ? "" : name
1949
1943
  @port_override = port_override == nil ? 0 : port_override
1950
1944
  @region = region == nil ? "" : region
1951
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
1952
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
1953
1945
  @role_arn = role_arn == nil ? "" : role_arn
1954
1946
  @role_external_id = role_external_id == nil ? "" : role_external_id
1955
1947
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
@@ -4838,14 +4830,14 @@ module SDM
4838
4830
  attr_accessor :healthy
4839
4831
  # Unique identifier of the Resource.
4840
4832
  attr_accessor :id
4833
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
4834
+ attr_accessor :identity_alias_healthcheck_username
4835
+ # The ID of the identity set to use for identity connections.
4836
+ attr_accessor :identity_set_id
4841
4837
  # Unique human-readable name of the Resource.
4842
4838
  attr_accessor :name
4843
4839
  # The local port used by clients to connect to this resource.
4844
4840
  attr_accessor :port_override
4845
- # The ID of the remote identity group to use for remote identity connections.
4846
- attr_accessor :remote_identity_group_id
4847
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
4848
- attr_accessor :remote_identity_healthcheck_username
4849
4841
  # ID of the secret store containing credentials for this resource, if any.
4850
4842
  attr_accessor :secret_store_id
4851
4843
  # The service account key to authenticate with.
@@ -4863,10 +4855,10 @@ module SDM
4863
4855
  healthcheck_namespace: nil,
4864
4856
  healthy: nil,
4865
4857
  id: nil,
4858
+ identity_alias_healthcheck_username: nil,
4859
+ identity_set_id: nil,
4866
4860
  name: nil,
4867
4861
  port_override: nil,
4868
- remote_identity_group_id: nil,
4869
- remote_identity_healthcheck_username: nil,
4870
4862
  secret_store_id: nil,
4871
4863
  service_account_key: nil,
4872
4864
  subdomain: nil,
@@ -4879,10 +4871,10 @@ module SDM
4879
4871
  @healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace
4880
4872
  @healthy = healthy == nil ? false : healthy
4881
4873
  @id = id == nil ? "" : id
4874
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
4875
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
4882
4876
  @name = name == nil ? "" : name
4883
4877
  @port_override = port_override == nil ? 0 : port_override
4884
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
4885
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
4886
4878
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
4887
4879
  @service_account_key = service_account_key == nil ? "" : service_account_key
4888
4880
  @subdomain = subdomain == nil ? "" : subdomain
@@ -5253,6 +5245,270 @@ module SDM
5253
5245
  end
5254
5246
  end
5255
5247
 
5248
+ # IdentityAliases define the username to be used for a specific account
5249
+ # when connecting to a remote resource using that identity set.
5250
+ class IdentityAlias
5251
+ # The account for this identity alias.
5252
+ attr_accessor :account_id
5253
+ # Unique identifier of the IdentityAlias.
5254
+ attr_accessor :id
5255
+ # The identity set.
5256
+ attr_accessor :identity_set_id
5257
+ # The username to be used as the identity alias for this account.
5258
+ attr_accessor :username
5259
+
5260
+ def initialize(
5261
+ account_id: nil,
5262
+ id: nil,
5263
+ identity_set_id: nil,
5264
+ username: nil
5265
+ )
5266
+ @account_id = account_id == nil ? "" : account_id
5267
+ @id = id == nil ? "" : id
5268
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
5269
+ @username = username == nil ? "" : username
5270
+ end
5271
+
5272
+ def to_json(options = {})
5273
+ hash = {}
5274
+ self.instance_variables.each do |var|
5275
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5276
+ end
5277
+ hash.to_json
5278
+ end
5279
+ end
5280
+
5281
+ # IdentityAliasCreateResponse reports how the IdentityAliases were created in the system.
5282
+ class IdentityAliasCreateResponse
5283
+ # The created IdentityAlias.
5284
+ attr_accessor :identity_alias
5285
+ # Reserved for future use.
5286
+ attr_accessor :meta
5287
+ # Rate limit information.
5288
+ attr_accessor :rate_limit
5289
+
5290
+ def initialize(
5291
+ identity_alias: nil,
5292
+ meta: nil,
5293
+ rate_limit: nil
5294
+ )
5295
+ @identity_alias = identity_alias == nil ? nil : identity_alias
5296
+ @meta = meta == nil ? nil : meta
5297
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5298
+ end
5299
+
5300
+ def to_json(options = {})
5301
+ hash = {}
5302
+ self.instance_variables.each do |var|
5303
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5304
+ end
5305
+ hash.to_json
5306
+ end
5307
+ end
5308
+
5309
+ # IdentityAliasDeleteResponse returns information about a IdentityAlias that was deleted.
5310
+ class IdentityAliasDeleteResponse
5311
+ # Reserved for future use.
5312
+ attr_accessor :meta
5313
+ # Rate limit information.
5314
+ attr_accessor :rate_limit
5315
+
5316
+ def initialize(
5317
+ meta: nil,
5318
+ rate_limit: nil
5319
+ )
5320
+ @meta = meta == nil ? nil : meta
5321
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5322
+ end
5323
+
5324
+ def to_json(options = {})
5325
+ hash = {}
5326
+ self.instance_variables.each do |var|
5327
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5328
+ end
5329
+ hash.to_json
5330
+ end
5331
+ end
5332
+
5333
+ # IdentityAliasGetResponse returns a requested IdentityAlias.
5334
+ class IdentityAliasGetResponse
5335
+ # The requested IdentityAlias.
5336
+ attr_accessor :identity_alias
5337
+ # Reserved for future use.
5338
+ attr_accessor :meta
5339
+ # Rate limit information.
5340
+ attr_accessor :rate_limit
5341
+
5342
+ def initialize(
5343
+ identity_alias: nil,
5344
+ meta: nil,
5345
+ rate_limit: nil
5346
+ )
5347
+ @identity_alias = identity_alias == nil ? nil : identity_alias
5348
+ @meta = meta == nil ? nil : meta
5349
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5350
+ end
5351
+
5352
+ def to_json(options = {})
5353
+ hash = {}
5354
+ self.instance_variables.each do |var|
5355
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5356
+ end
5357
+ hash.to_json
5358
+ end
5359
+ end
5360
+
5361
+ # IdentityAliasHistory records the state of a IdentityAlias at a given point in time,
5362
+ # where every change (create, update and delete) to a IdentityAlias produces an
5363
+ # IdentityAliasHistory record.
5364
+ class IdentityAliasHistory
5365
+ # The unique identifier of the Activity that produced this change to the IdentityAlias.
5366
+ # May be empty for some system-initiated updates.
5367
+ attr_accessor :activity_id
5368
+ # If this IdentityAlias was deleted, the time it was deleted.
5369
+ attr_accessor :deleted_at
5370
+ # The complete IdentityAlias state at this time.
5371
+ attr_accessor :identity_alias
5372
+ # The time at which the IdentityAlias state was recorded.
5373
+ attr_accessor :timestamp
5374
+
5375
+ def initialize(
5376
+ activity_id: nil,
5377
+ deleted_at: nil,
5378
+ identity_alias: nil,
5379
+ timestamp: nil
5380
+ )
5381
+ @activity_id = activity_id == nil ? "" : activity_id
5382
+ @deleted_at = deleted_at == nil ? nil : deleted_at
5383
+ @identity_alias = identity_alias == nil ? nil : identity_alias
5384
+ @timestamp = timestamp == nil ? nil : timestamp
5385
+ end
5386
+
5387
+ def to_json(options = {})
5388
+ hash = {}
5389
+ self.instance_variables.each do |var|
5390
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5391
+ end
5392
+ hash.to_json
5393
+ end
5394
+ end
5395
+
5396
+ # IdentityAliasUpdateResponse returns the fields of a IdentityAlias after it has been updated by
5397
+ # a IdentityAliasUpdateRequest.
5398
+ class IdentityAliasUpdateResponse
5399
+ # The updated IdentityAlias.
5400
+ attr_accessor :identity_alias
5401
+ # Reserved for future use.
5402
+ attr_accessor :meta
5403
+ # Rate limit information.
5404
+ attr_accessor :rate_limit
5405
+
5406
+ def initialize(
5407
+ identity_alias: nil,
5408
+ meta: nil,
5409
+ rate_limit: nil
5410
+ )
5411
+ @identity_alias = identity_alias == nil ? nil : identity_alias
5412
+ @meta = meta == nil ? nil : meta
5413
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5414
+ end
5415
+
5416
+ def to_json(options = {})
5417
+ hash = {}
5418
+ self.instance_variables.each do |var|
5419
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5420
+ end
5421
+ hash.to_json
5422
+ end
5423
+ end
5424
+
5425
+ # A IdentitySet defines a group of identity aliases.
5426
+ class IdentitySet
5427
+ # Unique identifier of the IdentitySet.
5428
+ attr_accessor :id
5429
+ # Unique human-readable name of the IdentitySet.
5430
+ attr_accessor :name
5431
+
5432
+ def initialize(
5433
+ id: nil,
5434
+ name: nil
5435
+ )
5436
+ @id = id == nil ? "" : id
5437
+ @name = name == nil ? "" : name
5438
+ end
5439
+
5440
+ def to_json(options = {})
5441
+ hash = {}
5442
+ self.instance_variables.each do |var|
5443
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5444
+ end
5445
+ hash.to_json
5446
+ end
5447
+ end
5448
+
5449
+ # IdentitySetGetResponse returns a requested IdentitySet.
5450
+ class IdentitySetGetResponse
5451
+ # The requested IdentitySet.
5452
+ attr_accessor :identity_set
5453
+ # Reserved for future use.
5454
+ attr_accessor :meta
5455
+ # Rate limit information.
5456
+ attr_accessor :rate_limit
5457
+
5458
+ def initialize(
5459
+ identity_set: nil,
5460
+ meta: nil,
5461
+ rate_limit: nil
5462
+ )
5463
+ @identity_set = identity_set == nil ? nil : identity_set
5464
+ @meta = meta == nil ? nil : meta
5465
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5466
+ end
5467
+
5468
+ def to_json(options = {})
5469
+ hash = {}
5470
+ self.instance_variables.each do |var|
5471
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5472
+ end
5473
+ hash.to_json
5474
+ end
5475
+ end
5476
+
5477
+ # IdentitySetHistory records the state of a IdentitySet at a given point in time,
5478
+ # where every change (create, update and delete) to a IdentitySet produces an
5479
+ # IdentitySetHistory record.
5480
+ class IdentitySetHistory
5481
+ # The unique identifier of the Activity that produced this change to the IdentitySet.
5482
+ # May be empty for some system-initiated updates.
5483
+ attr_accessor :activity_id
5484
+ # If this IdentitySet was deleted, the time it was deleted.
5485
+ attr_accessor :deleted_at
5486
+ # The complete IdentitySet state at this time.
5487
+ attr_accessor :identity_set
5488
+ # The time at which the IdentitySet state was recorded.
5489
+ attr_accessor :timestamp
5490
+
5491
+ def initialize(
5492
+ activity_id: nil,
5493
+ deleted_at: nil,
5494
+ identity_set: nil,
5495
+ timestamp: nil
5496
+ )
5497
+ @activity_id = activity_id == nil ? "" : activity_id
5498
+ @deleted_at = deleted_at == nil ? nil : deleted_at
5499
+ @identity_set = identity_set == nil ? nil : identity_set
5500
+ @timestamp = timestamp == nil ? nil : timestamp
5501
+ end
5502
+
5503
+ def to_json(options = {})
5504
+ hash = {}
5505
+ self.instance_variables.each do |var|
5506
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5507
+ end
5508
+ hash.to_json
5509
+ end
5510
+ end
5511
+
5256
5512
  class KeyfactorSSHStore
5257
5513
  # Path to the root CA that signed the certificate passed to the client for HTTPS connection.
5258
5514
  # This is not required if the CA is trusted by the host operating system. This should be a PEM
@@ -5410,16 +5666,16 @@ module SDM
5410
5666
  attr_accessor :hostname
5411
5667
  # Unique identifier of the Resource.
5412
5668
  attr_accessor :id
5669
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
5670
+ attr_accessor :identity_alias_healthcheck_username
5671
+ # The ID of the identity set to use for identity connections.
5672
+ attr_accessor :identity_set_id
5413
5673
  # Unique human-readable name of the Resource.
5414
5674
  attr_accessor :name
5415
5675
  # The port to dial to initiate a connection from the egress node to this resource.
5416
5676
  attr_accessor :port
5417
5677
  # The local port used by clients to connect to this resource.
5418
5678
  attr_accessor :port_override
5419
- # The ID of the remote identity group to use for remote identity connections.
5420
- attr_accessor :remote_identity_group_id
5421
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
5422
- attr_accessor :remote_identity_healthcheck_username
5423
5679
  # ID of the secret store containing credentials for this resource, if any.
5424
5680
  attr_accessor :secret_store_id
5425
5681
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -5437,11 +5693,11 @@ module SDM
5437
5693
  healthy: nil,
5438
5694
  hostname: nil,
5439
5695
  id: nil,
5696
+ identity_alias_healthcheck_username: nil,
5697
+ identity_set_id: nil,
5440
5698
  name: nil,
5441
5699
  port: nil,
5442
5700
  port_override: nil,
5443
- remote_identity_group_id: nil,
5444
- remote_identity_healthcheck_username: nil,
5445
5701
  secret_store_id: nil,
5446
5702
  subdomain: nil,
5447
5703
  tags: nil
@@ -5455,11 +5711,11 @@ module SDM
5455
5711
  @healthy = healthy == nil ? false : healthy
5456
5712
  @hostname = hostname == nil ? "" : hostname
5457
5713
  @id = id == nil ? "" : id
5714
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
5715
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
5458
5716
  @name = name == nil ? "" : name
5459
5717
  @port = port == nil ? 0 : port
5460
5718
  @port_override = port_override == nil ? 0 : port_override
5461
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
5462
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
5463
5719
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5464
5720
  @subdomain = subdomain == nil ? "" : subdomain
5465
5721
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -5558,16 +5814,16 @@ module SDM
5558
5814
  attr_accessor :hostname
5559
5815
  # Unique identifier of the Resource.
5560
5816
  attr_accessor :id
5817
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
5818
+ attr_accessor :identity_alias_healthcheck_username
5819
+ # The ID of the identity set to use for identity connections.
5820
+ attr_accessor :identity_set_id
5561
5821
  # Unique human-readable name of the Resource.
5562
5822
  attr_accessor :name
5563
5823
  # The port to dial to initiate a connection from the egress node to this resource.
5564
5824
  attr_accessor :port
5565
5825
  # The local port used by clients to connect to this resource.
5566
5826
  attr_accessor :port_override
5567
- # The ID of the remote identity group to use for remote identity connections.
5568
- attr_accessor :remote_identity_group_id
5569
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
5570
- attr_accessor :remote_identity_healthcheck_username
5571
5827
  # ID of the secret store containing credentials for this resource, if any.
5572
5828
  attr_accessor :secret_store_id
5573
5829
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -5584,11 +5840,11 @@ module SDM
5584
5840
  healthy: nil,
5585
5841
  hostname: nil,
5586
5842
  id: nil,
5843
+ identity_alias_healthcheck_username: nil,
5844
+ identity_set_id: nil,
5587
5845
  name: nil,
5588
5846
  port: nil,
5589
5847
  port_override: nil,
5590
- remote_identity_group_id: nil,
5591
- remote_identity_healthcheck_username: nil,
5592
5848
  secret_store_id: nil,
5593
5849
  subdomain: nil,
5594
5850
  tags: nil,
@@ -5600,11 +5856,11 @@ module SDM
5600
5856
  @healthy = healthy == nil ? false : healthy
5601
5857
  @hostname = hostname == nil ? "" : hostname
5602
5858
  @id = id == nil ? "" : id
5859
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
5860
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
5603
5861
  @name = name == nil ? "" : name
5604
5862
  @port = port == nil ? 0 : port
5605
5863
  @port_override = port_override == nil ? 0 : port_override
5606
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
5607
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
5608
5864
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5609
5865
  @subdomain = subdomain == nil ? "" : subdomain
5610
5866
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -8039,16 +8295,16 @@ module SDM
8039
8295
  attr_accessor :hostname
8040
8296
  # Unique identifier of the Resource.
8041
8297
  attr_accessor :id
8298
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
8299
+ attr_accessor :identity_alias_healthcheck_username
8300
+ # The ID of the identity set to use for identity connections.
8301
+ attr_accessor :identity_set_id
8042
8302
  # Unique human-readable name of the Resource.
8043
8303
  attr_accessor :name
8044
8304
  # The port to dial to initiate a connection from the egress node to this resource.
8045
8305
  attr_accessor :port
8046
8306
  # The local port used by clients to connect to this resource.
8047
8307
  attr_accessor :port_override
8048
- # The ID of the remote identity group to use for remote identity connections.
8049
- attr_accessor :remote_identity_group_id
8050
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
8051
- attr_accessor :remote_identity_healthcheck_username
8052
8308
  # ID of the secret store containing credentials for this resource, if any.
8053
8309
  attr_accessor :secret_store_id
8054
8310
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -8064,11 +8320,11 @@ module SDM
8064
8320
  healthy: nil,
8065
8321
  hostname: nil,
8066
8322
  id: nil,
8323
+ identity_alias_healthcheck_username: nil,
8324
+ identity_set_id: nil,
8067
8325
  name: nil,
8068
8326
  port: nil,
8069
8327
  port_override: nil,
8070
- remote_identity_group_id: nil,
8071
- remote_identity_healthcheck_username: nil,
8072
8328
  secret_store_id: nil,
8073
8329
  subdomain: nil,
8074
8330
  tags: nil,
@@ -8079,11 +8335,11 @@ module SDM
8079
8335
  @healthy = healthy == nil ? false : healthy
8080
8336
  @hostname = hostname == nil ? "" : hostname
8081
8337
  @id = id == nil ? "" : id
8338
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
8339
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
8082
8340
  @name = name == nil ? "" : name
8083
8341
  @port = port == nil ? 0 : port
8084
8342
  @port_override = port_override == nil ? 0 : port_override
8085
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
8086
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
8087
8343
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
8088
8344
  @subdomain = subdomain == nil ? "" : subdomain
8089
8345
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -9712,6 +9968,10 @@ module SDM
9712
9968
  attr_accessor :hostname
9713
9969
  # Unique identifier of the Resource.
9714
9970
  attr_accessor :id
9971
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
9972
+ attr_accessor :identity_alias_healthcheck_username
9973
+ # The ID of the identity set to use for identity connections.
9974
+ attr_accessor :identity_set_id
9715
9975
  # The key type to use e.g. rsa-2048 or ed25519
9716
9976
  attr_accessor :key_type
9717
9977
  # Unique human-readable name of the Resource.
@@ -9722,10 +9982,6 @@ module SDM
9722
9982
  attr_accessor :port_forwarding
9723
9983
  # The local port used by clients to connect to this resource.
9724
9984
  attr_accessor :port_override
9725
- # The ID of the remote identity group to use for remote identity connections.
9726
- attr_accessor :remote_identity_group_id
9727
- # The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
9728
- attr_accessor :remote_identity_healthcheck_username
9729
9985
  # ID of the secret store containing credentials for this resource, if any.
9730
9986
  attr_accessor :secret_store_id
9731
9987
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -9742,13 +9998,13 @@ module SDM
9742
9998
  healthy: nil,
9743
9999
  hostname: nil,
9744
10000
  id: nil,
10001
+ identity_alias_healthcheck_username: nil,
10002
+ identity_set_id: nil,
9745
10003
  key_type: nil,
9746
10004
  name: nil,
9747
10005
  port: nil,
9748
10006
  port_forwarding: nil,
9749
10007
  port_override: nil,
9750
- remote_identity_group_id: nil,
9751
- remote_identity_healthcheck_username: nil,
9752
10008
  secret_store_id: nil,
9753
10009
  subdomain: nil,
9754
10010
  tags: nil,
@@ -9760,13 +10016,13 @@ module SDM
9760
10016
  @healthy = healthy == nil ? false : healthy
9761
10017
  @hostname = hostname == nil ? "" : hostname
9762
10018
  @id = id == nil ? "" : id
10019
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
10020
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
9763
10021
  @key_type = key_type == nil ? "" : key_type
9764
10022
  @name = name == nil ? "" : name
9765
10023
  @port = port == nil ? 0 : port
9766
10024
  @port_forwarding = port_forwarding == nil ? false : port_forwarding
9767
10025
  @port_override = port_override == nil ? 0 : port_override
9768
- @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
9769
- @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
9770
10026
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
9771
10027
  @subdomain = subdomain == nil ? "" : subdomain
9772
10028
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags