strongdm 8.4.0 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,352 @@ 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
+ # IdentitySetCreateResponse reports how the IdentitySets were created in the system. It can
5450
+ # communicate partial successes or failures.
5451
+ class IdentitySetCreateResponse
5452
+ # The created IdentitySet.
5453
+ attr_accessor :identity_set
5454
+ # Reserved for future use.
5455
+ attr_accessor :meta
5456
+ # Rate limit information.
5457
+ attr_accessor :rate_limit
5458
+
5459
+ def initialize(
5460
+ identity_set: nil,
5461
+ meta: nil,
5462
+ rate_limit: nil
5463
+ )
5464
+ @identity_set = identity_set == nil ? nil : identity_set
5465
+ @meta = meta == nil ? nil : meta
5466
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5467
+ end
5468
+
5469
+ def to_json(options = {})
5470
+ hash = {}
5471
+ self.instance_variables.each do |var|
5472
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5473
+ end
5474
+ hash.to_json
5475
+ end
5476
+ end
5477
+
5478
+ # IdentitySetDeleteResponse returns information about a IdentitySet that was deleted.
5479
+ class IdentitySetDeleteResponse
5480
+ # Reserved for future use.
5481
+ attr_accessor :meta
5482
+ # Rate limit information.
5483
+ attr_accessor :rate_limit
5484
+
5485
+ def initialize(
5486
+ meta: nil,
5487
+ rate_limit: nil
5488
+ )
5489
+ @meta = meta == nil ? nil : meta
5490
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5491
+ end
5492
+
5493
+ def to_json(options = {})
5494
+ hash = {}
5495
+ self.instance_variables.each do |var|
5496
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5497
+ end
5498
+ hash.to_json
5499
+ end
5500
+ end
5501
+
5502
+ # IdentitySetGetResponse returns a requested IdentitySet.
5503
+ class IdentitySetGetResponse
5504
+ # The requested IdentitySet.
5505
+ attr_accessor :identity_set
5506
+ # Reserved for future use.
5507
+ attr_accessor :meta
5508
+ # Rate limit information.
5509
+ attr_accessor :rate_limit
5510
+
5511
+ def initialize(
5512
+ identity_set: nil,
5513
+ meta: nil,
5514
+ rate_limit: nil
5515
+ )
5516
+ @identity_set = identity_set == nil ? nil : identity_set
5517
+ @meta = meta == nil ? nil : meta
5518
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5519
+ end
5520
+
5521
+ def to_json(options = {})
5522
+ hash = {}
5523
+ self.instance_variables.each do |var|
5524
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5525
+ end
5526
+ hash.to_json
5527
+ end
5528
+ end
5529
+
5530
+ # IdentitySetHistory records the state of a IdentitySet at a given point in time,
5531
+ # where every change (create, update and delete) to a IdentitySet produces an
5532
+ # IdentitySetHistory record.
5533
+ class IdentitySetHistory
5534
+ # The unique identifier of the Activity that produced this change to the IdentitySet.
5535
+ # May be empty for some system-initiated updates.
5536
+ attr_accessor :activity_id
5537
+ # If this IdentitySet was deleted, the time it was deleted.
5538
+ attr_accessor :deleted_at
5539
+ # The complete IdentitySet state at this time.
5540
+ attr_accessor :identity_set
5541
+ # The time at which the IdentitySet state was recorded.
5542
+ attr_accessor :timestamp
5543
+
5544
+ def initialize(
5545
+ activity_id: nil,
5546
+ deleted_at: nil,
5547
+ identity_set: nil,
5548
+ timestamp: nil
5549
+ )
5550
+ @activity_id = activity_id == nil ? "" : activity_id
5551
+ @deleted_at = deleted_at == nil ? nil : deleted_at
5552
+ @identity_set = identity_set == nil ? nil : identity_set
5553
+ @timestamp = timestamp == nil ? nil : timestamp
5554
+ end
5555
+
5556
+ def to_json(options = {})
5557
+ hash = {}
5558
+ self.instance_variables.each do |var|
5559
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5560
+ end
5561
+ hash.to_json
5562
+ end
5563
+ end
5564
+
5565
+ # IdentitySetUpdateResponse returns the fields of a IdentitySet after it has been updated by
5566
+ # a IdentitySetUpdateRequest.
5567
+ class IdentitySetUpdateResponse
5568
+ # The updated IdentitySet.
5569
+ attr_accessor :identity_set
5570
+ # Reserved for future use.
5571
+ attr_accessor :meta
5572
+ # Rate limit information.
5573
+ attr_accessor :rate_limit
5574
+
5575
+ def initialize(
5576
+ identity_set: nil,
5577
+ meta: nil,
5578
+ rate_limit: nil
5579
+ )
5580
+ @identity_set = identity_set == nil ? nil : identity_set
5581
+ @meta = meta == nil ? nil : meta
5582
+ @rate_limit = rate_limit == nil ? nil : rate_limit
5583
+ end
5584
+
5585
+ def to_json(options = {})
5586
+ hash = {}
5587
+ self.instance_variables.each do |var|
5588
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
5589
+ end
5590
+ hash.to_json
5591
+ end
5592
+ end
5593
+
5256
5594
  class KeyfactorSSHStore
5257
5595
  # Path to the root CA that signed the certificate passed to the client for HTTPS connection.
5258
5596
  # This is not required if the CA is trusted by the host operating system. This should be a PEM
@@ -5410,16 +5748,16 @@ module SDM
5410
5748
  attr_accessor :hostname
5411
5749
  # Unique identifier of the Resource.
5412
5750
  attr_accessor :id
5751
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
5752
+ attr_accessor :identity_alias_healthcheck_username
5753
+ # The ID of the identity set to use for identity connections.
5754
+ attr_accessor :identity_set_id
5413
5755
  # Unique human-readable name of the Resource.
5414
5756
  attr_accessor :name
5415
5757
  # The port to dial to initiate a connection from the egress node to this resource.
5416
5758
  attr_accessor :port
5417
5759
  # The local port used by clients to connect to this resource.
5418
5760
  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
5761
  # ID of the secret store containing credentials for this resource, if any.
5424
5762
  attr_accessor :secret_store_id
5425
5763
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -5437,11 +5775,11 @@ module SDM
5437
5775
  healthy: nil,
5438
5776
  hostname: nil,
5439
5777
  id: nil,
5778
+ identity_alias_healthcheck_username: nil,
5779
+ identity_set_id: nil,
5440
5780
  name: nil,
5441
5781
  port: nil,
5442
5782
  port_override: nil,
5443
- remote_identity_group_id: nil,
5444
- remote_identity_healthcheck_username: nil,
5445
5783
  secret_store_id: nil,
5446
5784
  subdomain: nil,
5447
5785
  tags: nil
@@ -5455,11 +5793,11 @@ module SDM
5455
5793
  @healthy = healthy == nil ? false : healthy
5456
5794
  @hostname = hostname == nil ? "" : hostname
5457
5795
  @id = id == nil ? "" : id
5796
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
5797
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
5458
5798
  @name = name == nil ? "" : name
5459
5799
  @port = port == nil ? 0 : port
5460
5800
  @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
5801
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5464
5802
  @subdomain = subdomain == nil ? "" : subdomain
5465
5803
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -5558,16 +5896,16 @@ module SDM
5558
5896
  attr_accessor :hostname
5559
5897
  # Unique identifier of the Resource.
5560
5898
  attr_accessor :id
5899
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
5900
+ attr_accessor :identity_alias_healthcheck_username
5901
+ # The ID of the identity set to use for identity connections.
5902
+ attr_accessor :identity_set_id
5561
5903
  # Unique human-readable name of the Resource.
5562
5904
  attr_accessor :name
5563
5905
  # The port to dial to initiate a connection from the egress node to this resource.
5564
5906
  attr_accessor :port
5565
5907
  # The local port used by clients to connect to this resource.
5566
5908
  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
5909
  # ID of the secret store containing credentials for this resource, if any.
5572
5910
  attr_accessor :secret_store_id
5573
5911
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -5584,11 +5922,11 @@ module SDM
5584
5922
  healthy: nil,
5585
5923
  hostname: nil,
5586
5924
  id: nil,
5925
+ identity_alias_healthcheck_username: nil,
5926
+ identity_set_id: nil,
5587
5927
  name: nil,
5588
5928
  port: nil,
5589
5929
  port_override: nil,
5590
- remote_identity_group_id: nil,
5591
- remote_identity_healthcheck_username: nil,
5592
5930
  secret_store_id: nil,
5593
5931
  subdomain: nil,
5594
5932
  tags: nil,
@@ -5600,11 +5938,11 @@ module SDM
5600
5938
  @healthy = healthy == nil ? false : healthy
5601
5939
  @hostname = hostname == nil ? "" : hostname
5602
5940
  @id = id == nil ? "" : id
5941
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
5942
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
5603
5943
  @name = name == nil ? "" : name
5604
5944
  @port = port == nil ? 0 : port
5605
5945
  @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
5946
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5609
5947
  @subdomain = subdomain == nil ? "" : subdomain
5610
5948
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -8039,16 +8377,16 @@ module SDM
8039
8377
  attr_accessor :hostname
8040
8378
  # Unique identifier of the Resource.
8041
8379
  attr_accessor :id
8380
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
8381
+ attr_accessor :identity_alias_healthcheck_username
8382
+ # The ID of the identity set to use for identity connections.
8383
+ attr_accessor :identity_set_id
8042
8384
  # Unique human-readable name of the Resource.
8043
8385
  attr_accessor :name
8044
8386
  # The port to dial to initiate a connection from the egress node to this resource.
8045
8387
  attr_accessor :port
8046
8388
  # The local port used by clients to connect to this resource.
8047
8389
  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
8390
  # ID of the secret store containing credentials for this resource, if any.
8053
8391
  attr_accessor :secret_store_id
8054
8392
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -8064,11 +8402,11 @@ module SDM
8064
8402
  healthy: nil,
8065
8403
  hostname: nil,
8066
8404
  id: nil,
8405
+ identity_alias_healthcheck_username: nil,
8406
+ identity_set_id: nil,
8067
8407
  name: nil,
8068
8408
  port: nil,
8069
8409
  port_override: nil,
8070
- remote_identity_group_id: nil,
8071
- remote_identity_healthcheck_username: nil,
8072
8410
  secret_store_id: nil,
8073
8411
  subdomain: nil,
8074
8412
  tags: nil,
@@ -8079,11 +8417,11 @@ module SDM
8079
8417
  @healthy = healthy == nil ? false : healthy
8080
8418
  @hostname = hostname == nil ? "" : hostname
8081
8419
  @id = id == nil ? "" : id
8420
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
8421
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
8082
8422
  @name = name == nil ? "" : name
8083
8423
  @port = port == nil ? 0 : port
8084
8424
  @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
8425
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
8088
8426
  @subdomain = subdomain == nil ? "" : subdomain
8089
8427
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
@@ -9712,6 +10050,10 @@ module SDM
9712
10050
  attr_accessor :hostname
9713
10051
  # Unique identifier of the Resource.
9714
10052
  attr_accessor :id
10053
+ # The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
10054
+ attr_accessor :identity_alias_healthcheck_username
10055
+ # The ID of the identity set to use for identity connections.
10056
+ attr_accessor :identity_set_id
9715
10057
  # The key type to use e.g. rsa-2048 or ed25519
9716
10058
  attr_accessor :key_type
9717
10059
  # Unique human-readable name of the Resource.
@@ -9722,10 +10064,6 @@ module SDM
9722
10064
  attr_accessor :port_forwarding
9723
10065
  # The local port used by clients to connect to this resource.
9724
10066
  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
10067
  # ID of the secret store containing credentials for this resource, if any.
9730
10068
  attr_accessor :secret_store_id
9731
10069
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -9742,13 +10080,13 @@ module SDM
9742
10080
  healthy: nil,
9743
10081
  hostname: nil,
9744
10082
  id: nil,
10083
+ identity_alias_healthcheck_username: nil,
10084
+ identity_set_id: nil,
9745
10085
  key_type: nil,
9746
10086
  name: nil,
9747
10087
  port: nil,
9748
10088
  port_forwarding: nil,
9749
10089
  port_override: nil,
9750
- remote_identity_group_id: nil,
9751
- remote_identity_healthcheck_username: nil,
9752
10090
  secret_store_id: nil,
9753
10091
  subdomain: nil,
9754
10092
  tags: nil,
@@ -9760,13 +10098,13 @@ module SDM
9760
10098
  @healthy = healthy == nil ? false : healthy
9761
10099
  @hostname = hostname == nil ? "" : hostname
9762
10100
  @id = id == nil ? "" : id
10101
+ @identity_alias_healthcheck_username = identity_alias_healthcheck_username == nil ? "" : identity_alias_healthcheck_username
10102
+ @identity_set_id = identity_set_id == nil ? "" : identity_set_id
9763
10103
  @key_type = key_type == nil ? "" : key_type
9764
10104
  @name = name == nil ? "" : name
9765
10105
  @port = port == nil ? 0 : port
9766
10106
  @port_forwarding = port_forwarding == nil ? false : port_forwarding
9767
10107
  @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
10108
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
9771
10109
  @subdomain = subdomain == nil ? "" : subdomain
9772
10110
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags