strongdm 3.14.2 → 3.16.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe1eb3c3aa22616dac5338ef8f34e056a4c2e6aea87a0bf539a10826a7cd94b5
4
- data.tar.gz: deaa92e64ec8bdc16f3f5ccc48c0722a65a9d7f0b7bb68bc1438c43e997e82a7
3
+ metadata.gz: e0f3b1a50649e61fe97ebc70f9ed3044d3d041565479cfabcfd0015ee773c739
4
+ data.tar.gz: 4e08077b68b48ff21c2d44077342aa9a5f6ac9f1672c2ff47151ec0bfa9b24eb
5
5
  SHA512:
6
- metadata.gz: edc9487ce2c96b315e2d567fde08a65624996446e76e71a80a4f1c02a22a039b2c95da5803b6ff986df72f4b6bfd3f83eae4cd18d3147f430c19c09d0599462a
7
- data.tar.gz: fe7875d383db94f5f5536a9835dab38c4b1dc2db7b10f7b936b2a27e069c362169b2236368836dfdfa2a06c1eef241548fa7ce55c4abb550cbe9e06819f4f797
6
+ metadata.gz: 5d65294bae92744c9aad29f619b423e3339047b3d404299358749f68bf913fb3103d004e09e09c49499cea2483be0a2503f711164406d7e60b9a67edc45a4efc
7
+ data.tar.gz: 282e2cedd248a69709093bc8d036e09985dfcdb30f3c1f50645c372a0f300ed0001dffe096b9c4b2185f6627bc9b7698e3bbe883ab09bca53502162936782ad1
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 8192d0d63f6b0357b343ee32a9e436bcaad28ebe
1
+ 6e8ee132772d2663157a4263aa15ddffeac7486f
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 8192d0d63f6b0357b343ee32a9e436bcaad28ebe root <root@bff24e1ba370.(none)> 1683929108 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 8192d0d63f6b0357b343ee32a9e436bcaad28ebe 8192d0d63f6b0357b343ee32a9e436bcaad28ebe root <root@bff24e1ba370.(none)> 1683929108 +0000 checkout: moving from master to master
3
- 8192d0d63f6b0357b343ee32a9e436bcaad28ebe 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@bff24e1ba370.(none)> 1683929108 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@6f7a2746669b.(none)> 1686580773 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 6e8ee132772d2663157a4263aa15ddffeac7486f 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@6f7a2746669b.(none)> 1686580773 +0000 checkout: moving from master to master
3
+ 6e8ee132772d2663157a4263aa15ddffeac7486f a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6f7a2746669b.(none)> 1686580773 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 8192d0d63f6b0357b343ee32a9e436bcaad28ebe root <root@bff24e1ba370.(none)> 1683929108 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 8192d0d63f6b0357b343ee32a9e436bcaad28ebe 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@bff24e1ba370.(none)> 1683929108 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@6f7a2746669b.(none)> 1686580773 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 6e8ee132772d2663157a4263aa15ddffeac7486f a469b2d58875fd54ce9a67154bd8feaa73588449 root <root@6f7a2746669b.(none)> 1686580773 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 8192d0d63f6b0357b343ee32a9e436bcaad28ebe root <root@bff24e1ba370.(none)> 1683929108 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@6f7a2746669b.(none)> 1686580773 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 6cd69f8e98657b0aa1c55786add9519085361ef2 refs/remotes/origin/development
3
- 8192d0d63f6b0357b343ee32a9e436bcaad28ebe refs/remotes/origin/master
2
+ a469b2d58875fd54ce9a67154bd8feaa73588449 refs/remotes/origin/development
3
+ 6e8ee132772d2663157a4263aa15ddffeac7486f refs/remotes/origin/master
4
4
  2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
5
5
  04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
6
6
  6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
@@ -47,6 +47,8 @@ a77792a22449d0029bebb3f66fc23f63e54a8e90 refs/tags/v3.11.0
47
47
  f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
48
48
  9010771bf3315cb08f6421f7fd8290741d029f79 refs/tags/v3.13.0
49
49
  8192d0d63f6b0357b343ee32a9e436bcaad28ebe refs/tags/v3.14.0
50
+ 6cd69f8e98657b0aa1c55786add9519085361ef2 refs/tags/v3.14.2
51
+ 6e8ee132772d2663157a4263aa15ddffeac7486f refs/tags/v3.15.0
50
52
  40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
51
53
  dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
52
54
  09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/tags/v3.2.2
@@ -1 +1 @@
1
- 6cd69f8e98657b0aa1c55786add9519085361ef2
1
+ a469b2d58875fd54ce9a67154bd8feaa73588449
data/lib/constants.rb CHANGED
@@ -242,6 +242,7 @@ module SDM
242
242
  ACCESS_REQUEST_TO_RESOURCE_DENIED = "access request to resource denied"
243
243
  ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out"
244
244
  ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted"
245
+ ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically"
245
246
  WORKFLOW_ADDED = "access workflow added"
246
247
  WORKFLOW_DELETED = "access workflow deleted"
247
248
  WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow"
@@ -249,9 +250,7 @@ module SDM
249
250
  WORKFLOW_RESOURCE_MULTIPLE_ASSIGNED = "multiple resources assigned to workflow"
250
251
  WORKFLOW_RESOURCE_MULTIPLE_UNASSIGNED = "multiple resources unassigned from workflow"
251
252
  WORKFLOW_ROLES_UPDATED = "workflow roles updated"
252
- WORKFLOW_NOTIFICATION_OPTION_ADDED = "workflow notification type added"
253
- WORKFLOW_NOTIFICATION_OPTION_REMOVED = "workflow notification type removed"
254
- WORKFLOW_NOTIFICATION_OPTIONS_UPDATED = "workflow approvers updated"
253
+ WORKFLOW_APPROVERS_UPDATED = "workflow approvers updated"
255
254
  WORKFLOW_NAME_UPDATED = "workflow name updated"
256
255
  WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated"
257
256
  WORKFLOW_AUTO_GRANT_UPDATED = "workflow auto grant updated"
@@ -344,6 +343,7 @@ module SDM
344
343
  GRANT_READ = "grant:read"
345
344
  GRANT_WRITE = "grant:write"
346
345
  REPORT_READ = "report:read"
346
+ BILLING_READ = "billing:read"
347
347
  end
348
348
 
349
349
  # Query Categories, all the categories of resource against which queries are logged.
@@ -17,6 +17,7 @@
17
17
 
18
18
  require "google/protobuf"
19
19
 
20
+ require "google/protobuf/timestamp_pb"
20
21
  require "options_pb"
21
22
  require "spec_pb"
22
23
  require "tags_pb"
@@ -72,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
72
73
  oneof :account do
73
74
  optional :user, :message, 1, "v1.User"
74
75
  optional :service, :message, 2, "v1.Service"
76
+ optional :token, :message, 3, "v1.Token"
75
77
  end
76
78
  end
77
79
  add_message "v1.User" do
@@ -91,6 +93,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
91
93
  optional :suspended, :bool, 3
92
94
  optional :tags, :message, 4, "v1.Tags"
93
95
  end
96
+ add_message "v1.Token" do
97
+ optional :id, :string, 1
98
+ optional :name, :string, 2
99
+ optional :suspended, :bool, 3
100
+ optional :tags, :message, 4, "v1.Tags"
101
+ optional :rekeyed, :message, 5, "google.protobuf.Timestamp"
102
+ optional :deadline, :message, 6, "google.protobuf.Timestamp"
103
+ end
94
104
  end
95
105
  end
96
106
 
@@ -108,4 +118,5 @@ module V1
108
118
  Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Account").msgclass
109
119
  User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.User").msgclass
110
120
  Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Service").msgclass
121
+ Token = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Token").msgclass
111
122
  end
@@ -91,6 +91,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
91
91
  optional :redis, :message, 1600, "v1.Redis"
92
92
  optional :redshift, :message, 1304, "v1.Redshift"
93
93
  optional :sql_server, :message, 1800, "v1.SQLServer"
94
+ optional :sql_server_azure_ad, :message, 1805, "v1.SQLServerAzureAD"
95
+ optional :sql_server_kerberos_ad, :message, 1810, "v1.SQLServerKerberosAD"
94
96
  optional :ssh, :message, 1900, "v1.SSH"
95
97
  optional :ssh_cert, :message, 1901, "v1.SSHCert"
96
98
  optional :ssh_customer_key, :message, 1902, "v1.SSHCustomerKey"
@@ -386,6 +388,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
386
388
  optional :password, :string, 3
387
389
  optional :port, :int32, 6
388
390
  optional :port_override, :int32, 5
391
+ optional :require_native_auth, :bool, 7
392
+ optional :use_azure_single_server_usernames, :bool, 10
389
393
  optional :username, :string, 2
390
394
  end
391
395
  add_message "v1.AuroraPostgres" do
@@ -447,6 +451,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
447
451
  optional :password, :string, 3
448
452
  optional :port, :int32, 6
449
453
  optional :port_override, :int32, 5
454
+ optional :require_native_auth, :bool, 7
455
+ optional :use_azure_single_server_usernames, :bool, 9
450
456
  optional :username, :string, 2
451
457
  end
452
458
  add_message "v1.AzurePostgres" do
@@ -528,6 +534,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
528
534
  optional :password, :string, 3
529
535
  optional :port, :int32, 6
530
536
  optional :port_override, :int32, 5
537
+ optional :require_native_auth, :bool, 7
538
+ optional :use_azure_single_server_usernames, :bool, 9
531
539
  optional :username, :string, 2
532
540
  end
533
541
  add_message "v1.Cockroach" do
@@ -885,7 +893,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
885
893
  optional :password, :string, 3
886
894
  optional :port, :int32, 6
887
895
  optional :port_override, :int32, 5
896
+ optional :require_native_auth, :bool, 14
888
897
  optional :server_name, :string, 13
898
+ optional :use_azure_single_server_usernames, :bool, 16
889
899
  optional :username, :string, 2
890
900
  end
891
901
  add_message "v1.MTLSPostgres" do
@@ -923,6 +933,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
923
933
  optional :password, :string, 3
924
934
  optional :port, :int32, 6
925
935
  optional :port_override, :int32, 5
936
+ optional :require_native_auth, :bool, 7
937
+ optional :use_azure_single_server_usernames, :bool, 9
926
938
  optional :username, :string, 2
927
939
  end
928
940
  add_message "v1.Memcached" do
@@ -952,6 +964,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
952
964
  optional :password, :string, 3
953
965
  optional :port, :int32, 6
954
966
  optional :port_override, :int32, 5
967
+ optional :require_native_auth, :bool, 7
968
+ optional :use_azure_single_server_usernames, :bool, 9
955
969
  optional :username, :string, 2
956
970
  end
957
971
  add_message "v1.MongoHost" do
@@ -1057,6 +1071,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1057
1071
  optional :password, :string, 3
1058
1072
  optional :port, :int32, 6
1059
1073
  optional :port_override, :int32, 5
1074
+ optional :require_native_auth, :bool, 7
1075
+ optional :use_azure_single_server_usernames, :bool, 10
1060
1076
  optional :username, :string, 2
1061
1077
  end
1062
1078
  add_message "v1.Neptune" do
@@ -1237,6 +1253,46 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1237
1253
  optional :schema, :string, 6
1238
1254
  optional :username, :string, 2
1239
1255
  end
1256
+ add_message "v1.SQLServerAzureAD" do
1257
+ optional :id, :string, 32768
1258
+ optional :name, :string, 32769
1259
+ optional :healthy, :bool, 32770
1260
+ optional :tags, :message, 32771, "v1.Tags"
1261
+ optional :secret_store_id, :string, 32772
1262
+ optional :egress_filter, :string, 32773
1263
+ optional :bind_interface, :string, 32774
1264
+ optional :subdomain, :string, 32775
1265
+ optional :client_id, :string, 2
1266
+ optional :database, :string, 4
1267
+ optional :hostname, :string, 1
1268
+ optional :override_database, :bool, 8
1269
+ optional :port, :int32, 7
1270
+ optional :port_override, :int32, 5
1271
+ optional :schema, :string, 6
1272
+ optional :secret, :string, 3
1273
+ optional :tenant_id, :string, 9
1274
+ end
1275
+ add_message "v1.SQLServerKerberosAD" do
1276
+ optional :id, :string, 32768
1277
+ optional :name, :string, 32769
1278
+ optional :healthy, :bool, 32770
1279
+ optional :tags, :message, 32771, "v1.Tags"
1280
+ optional :secret_store_id, :string, 32772
1281
+ optional :egress_filter, :string, 32773
1282
+ optional :bind_interface, :string, 32774
1283
+ optional :subdomain, :string, 32775
1284
+ optional :database, :string, 4
1285
+ optional :hostname, :string, 1
1286
+ optional :keytab, :string, 3
1287
+ optional :krb_config, :string, 9
1288
+ optional :override_database, :bool, 8
1289
+ optional :port, :int32, 7
1290
+ optional :port_override, :int32, 5
1291
+ optional :realm, :string, 11
1292
+ optional :schema, :string, 6
1293
+ optional :server_spn, :string, 10
1294
+ optional :username, :string, 2
1295
+ end
1240
1296
  add_message "v1.SSH" do
1241
1297
  optional :id, :string, 32768
1242
1298
  optional :name, :string, 32769
@@ -1305,6 +1361,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1305
1361
  optional :password, :string, 3
1306
1362
  optional :port, :int32, 6
1307
1363
  optional :port_override, :int32, 5
1364
+ optional :require_native_auth, :bool, 7
1365
+ optional :use_azure_single_server_usernames, :bool, 9
1308
1366
  optional :username, :string, 2
1309
1367
  end
1310
1368
  add_message "v1.Snowflake" do
@@ -1470,6 +1528,8 @@ module V1
1470
1528
  Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
1471
1529
  Redshift = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redshift").msgclass
1472
1530
  SQLServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServer").msgclass
1531
+ SQLServerAzureAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerAzureAD").msgclass
1532
+ SQLServerKerberosAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerKerberosAD").msgclass
1473
1533
  SSH = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSH").msgclass
1474
1534
  SSHCert = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCert").msgclass
1475
1535
  SSHCustomerKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCustomerKey").msgclass
data/lib/grpc/plumbing.rb CHANGED
@@ -2071,9 +2071,11 @@ module SDM
2071
2071
  porcelain.password = (plumbing.password)
2072
2072
  porcelain.port = (plumbing.port)
2073
2073
  porcelain.port_override = (plumbing.port_override)
2074
+ porcelain.require_native_auth = (plumbing.require_native_auth)
2074
2075
  porcelain.secret_store_id = (plumbing.secret_store_id)
2075
2076
  porcelain.subdomain = (plumbing.subdomain)
2076
2077
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2078
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
2077
2079
  porcelain.username = (plumbing.username)
2078
2080
  porcelain
2079
2081
  end
@@ -2093,9 +2095,11 @@ module SDM
2093
2095
  plumbing.password = (porcelain.password)
2094
2096
  plumbing.port = (porcelain.port)
2095
2097
  plumbing.port_override = (porcelain.port_override)
2098
+ plumbing.require_native_auth = (porcelain.require_native_auth)
2096
2099
  plumbing.secret_store_id = (porcelain.secret_store_id)
2097
2100
  plumbing.subdomain = (porcelain.subdomain)
2098
2101
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2102
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
2099
2103
  plumbing.username = (porcelain.username)
2100
2104
  plumbing
2101
2105
  end
@@ -2305,9 +2309,11 @@ module SDM
2305
2309
  porcelain.password = (plumbing.password)
2306
2310
  porcelain.port = (plumbing.port)
2307
2311
  porcelain.port_override = (plumbing.port_override)
2312
+ porcelain.require_native_auth = (plumbing.require_native_auth)
2308
2313
  porcelain.secret_store_id = (plumbing.secret_store_id)
2309
2314
  porcelain.subdomain = (plumbing.subdomain)
2310
2315
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2316
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
2311
2317
  porcelain.username = (plumbing.username)
2312
2318
  porcelain
2313
2319
  end
@@ -2327,9 +2333,11 @@ module SDM
2327
2333
  plumbing.password = (porcelain.password)
2328
2334
  plumbing.port = (porcelain.port)
2329
2335
  plumbing.port_override = (porcelain.port_override)
2336
+ plumbing.require_native_auth = (porcelain.require_native_auth)
2330
2337
  plumbing.secret_store_id = (porcelain.secret_store_id)
2331
2338
  plumbing.subdomain = (porcelain.subdomain)
2332
2339
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2340
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
2333
2341
  plumbing.username = (porcelain.username)
2334
2342
  plumbing
2335
2343
  end
@@ -2647,9 +2655,11 @@ module SDM
2647
2655
  porcelain.password = (plumbing.password)
2648
2656
  porcelain.port = (plumbing.port)
2649
2657
  porcelain.port_override = (plumbing.port_override)
2658
+ porcelain.require_native_auth = (plumbing.require_native_auth)
2650
2659
  porcelain.secret_store_id = (plumbing.secret_store_id)
2651
2660
  porcelain.subdomain = (plumbing.subdomain)
2652
2661
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2662
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
2653
2663
  porcelain.username = (plumbing.username)
2654
2664
  porcelain
2655
2665
  end
@@ -2669,9 +2679,11 @@ module SDM
2669
2679
  plumbing.password = (porcelain.password)
2670
2680
  plumbing.port = (porcelain.port)
2671
2681
  plumbing.port_override = (porcelain.port_override)
2682
+ plumbing.require_native_auth = (porcelain.require_native_auth)
2672
2683
  plumbing.secret_store_id = (porcelain.secret_store_id)
2673
2684
  plumbing.subdomain = (porcelain.subdomain)
2674
2685
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2686
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
2675
2687
  plumbing.username = (porcelain.username)
2676
2688
  plumbing
2677
2689
  end
@@ -4400,10 +4412,12 @@ module SDM
4400
4412
  porcelain.password = (plumbing.password)
4401
4413
  porcelain.port = (plumbing.port)
4402
4414
  porcelain.port_override = (plumbing.port_override)
4415
+ porcelain.require_native_auth = (plumbing.require_native_auth)
4403
4416
  porcelain.secret_store_id = (plumbing.secret_store_id)
4404
4417
  porcelain.server_name = (plumbing.server_name)
4405
4418
  porcelain.subdomain = (plumbing.subdomain)
4406
4419
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
4420
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
4407
4421
  porcelain.username = (plumbing.username)
4408
4422
  porcelain
4409
4423
  end
@@ -4426,10 +4440,12 @@ module SDM
4426
4440
  plumbing.password = (porcelain.password)
4427
4441
  plumbing.port = (porcelain.port)
4428
4442
  plumbing.port_override = (porcelain.port_override)
4443
+ plumbing.require_native_auth = (porcelain.require_native_auth)
4429
4444
  plumbing.secret_store_id = (porcelain.secret_store_id)
4430
4445
  plumbing.server_name = (porcelain.server_name)
4431
4446
  plumbing.subdomain = (porcelain.subdomain)
4432
4447
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
4448
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
4433
4449
  plumbing.username = (porcelain.username)
4434
4450
  plumbing
4435
4451
  end
@@ -4535,9 +4551,11 @@ module SDM
4535
4551
  porcelain.password = (plumbing.password)
4536
4552
  porcelain.port = (plumbing.port)
4537
4553
  porcelain.port_override = (plumbing.port_override)
4554
+ porcelain.require_native_auth = (plumbing.require_native_auth)
4538
4555
  porcelain.secret_store_id = (plumbing.secret_store_id)
4539
4556
  porcelain.subdomain = (plumbing.subdomain)
4540
4557
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
4558
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
4541
4559
  porcelain.username = (plumbing.username)
4542
4560
  porcelain
4543
4561
  end
@@ -4557,9 +4575,11 @@ module SDM
4557
4575
  plumbing.password = (porcelain.password)
4558
4576
  plumbing.port = (porcelain.port)
4559
4577
  plumbing.port_override = (porcelain.port_override)
4578
+ plumbing.require_native_auth = (porcelain.require_native_auth)
4560
4579
  plumbing.secret_store_id = (porcelain.secret_store_id)
4561
4580
  plumbing.subdomain = (porcelain.subdomain)
4562
4581
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
4582
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
4563
4583
  plumbing.username = (porcelain.username)
4564
4584
  plumbing
4565
4585
  end
@@ -4649,9 +4669,11 @@ module SDM
4649
4669
  porcelain.password = (plumbing.password)
4650
4670
  porcelain.port = (plumbing.port)
4651
4671
  porcelain.port_override = (plumbing.port_override)
4672
+ porcelain.require_native_auth = (plumbing.require_native_auth)
4652
4673
  porcelain.secret_store_id = (plumbing.secret_store_id)
4653
4674
  porcelain.subdomain = (plumbing.subdomain)
4654
4675
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
4676
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
4655
4677
  porcelain.username = (plumbing.username)
4656
4678
  porcelain
4657
4679
  end
@@ -4671,9 +4693,11 @@ module SDM
4671
4693
  plumbing.password = (porcelain.password)
4672
4694
  plumbing.port = (porcelain.port)
4673
4695
  plumbing.port_override = (porcelain.port_override)
4696
+ plumbing.require_native_auth = (porcelain.require_native_auth)
4674
4697
  plumbing.secret_store_id = (porcelain.secret_store_id)
4675
4698
  plumbing.subdomain = (porcelain.subdomain)
4676
4699
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
4700
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
4677
4701
  plumbing.username = (porcelain.username)
4678
4702
  plumbing
4679
4703
  end
@@ -5027,9 +5051,11 @@ module SDM
5027
5051
  porcelain.password = (plumbing.password)
5028
5052
  porcelain.port = (plumbing.port)
5029
5053
  porcelain.port_override = (plumbing.port_override)
5054
+ porcelain.require_native_auth = (plumbing.require_native_auth)
5030
5055
  porcelain.secret_store_id = (plumbing.secret_store_id)
5031
5056
  porcelain.subdomain = (plumbing.subdomain)
5032
5057
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
5058
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
5033
5059
  porcelain.username = (plumbing.username)
5034
5060
  porcelain
5035
5061
  end
@@ -5049,9 +5075,11 @@ module SDM
5049
5075
  plumbing.password = (porcelain.password)
5050
5076
  plumbing.port = (porcelain.port)
5051
5077
  plumbing.port_override = (porcelain.port_override)
5078
+ plumbing.require_native_auth = (porcelain.require_native_auth)
5052
5079
  plumbing.secret_store_id = (porcelain.secret_store_id)
5053
5080
  plumbing.subdomain = (porcelain.subdomain)
5054
5081
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
5082
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
5055
5083
  plumbing.username = (porcelain.username)
5056
5084
  plumbing
5057
5085
  end
@@ -6883,6 +6911,12 @@ module SDM
6883
6911
  if porcelain.instance_of? SQLServer
6884
6912
  plumbing.sql_server = convert_sql_server_to_plumbing(porcelain)
6885
6913
  end
6914
+ if porcelain.instance_of? SQLServerAzureAD
6915
+ plumbing.sql_server_azure_ad = convert_sql_server_azure_ad_to_plumbing(porcelain)
6916
+ end
6917
+ if porcelain.instance_of? SQLServerKerberosAD
6918
+ plumbing.sql_server_kerberos_ad = convert_sql_server_kerberos_ad_to_plumbing(porcelain)
6919
+ end
6886
6920
  if porcelain.instance_of? SSH
6887
6921
  plumbing.ssh = convert_ssh_to_plumbing(porcelain)
6888
6922
  end
@@ -7124,6 +7158,12 @@ module SDM
7124
7158
  if plumbing.sql_server != nil
7125
7159
  return convert_sql_server_to_porcelain(plumbing.sql_server)
7126
7160
  end
7161
+ if plumbing.sql_server_azure_ad != nil
7162
+ return convert_sql_server_azure_ad_to_porcelain(plumbing.sql_server_azure_ad)
7163
+ end
7164
+ if plumbing.sql_server_kerberos_ad != nil
7165
+ return convert_sql_server_kerberos_ad_to_porcelain(plumbing.sql_server_kerberos_ad)
7166
+ end
7127
7167
  if plumbing.ssh != nil
7128
7168
  return convert_ssh_to_porcelain(plumbing.ssh)
7129
7169
  end
@@ -7728,6 +7768,142 @@ module SDM
7728
7768
  end
7729
7769
  items
7730
7770
  end
7771
+ def self.convert_sql_server_azure_ad_to_porcelain(plumbing)
7772
+ if plumbing == nil
7773
+ return nil
7774
+ end
7775
+ porcelain = SQLServerAzureAD.new()
7776
+ porcelain.bind_interface = (plumbing.bind_interface)
7777
+ porcelain.client_id = (plumbing.client_id)
7778
+ porcelain.database = (plumbing.database)
7779
+ porcelain.egress_filter = (plumbing.egress_filter)
7780
+ porcelain.healthy = (plumbing.healthy)
7781
+ porcelain.hostname = (plumbing.hostname)
7782
+ porcelain.id = (plumbing.id)
7783
+ porcelain.name = (plumbing.name)
7784
+ porcelain.override_database = (plumbing.override_database)
7785
+ porcelain.port = (plumbing.port)
7786
+ porcelain.port_override = (plumbing.port_override)
7787
+ porcelain.schema = (plumbing.schema)
7788
+ porcelain.secret = (plumbing.secret)
7789
+ porcelain.secret_store_id = (plumbing.secret_store_id)
7790
+ porcelain.subdomain = (plumbing.subdomain)
7791
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
7792
+ porcelain.tenant_id = (plumbing.tenant_id)
7793
+ porcelain
7794
+ end
7795
+
7796
+ def self.convert_sql_server_azure_ad_to_plumbing(porcelain)
7797
+ if porcelain == nil
7798
+ return nil
7799
+ end
7800
+ plumbing = V1::SQLServerAzureAD.new()
7801
+ plumbing.bind_interface = (porcelain.bind_interface)
7802
+ plumbing.client_id = (porcelain.client_id)
7803
+ plumbing.database = (porcelain.database)
7804
+ plumbing.egress_filter = (porcelain.egress_filter)
7805
+ plumbing.healthy = (porcelain.healthy)
7806
+ plumbing.hostname = (porcelain.hostname)
7807
+ plumbing.id = (porcelain.id)
7808
+ plumbing.name = (porcelain.name)
7809
+ plumbing.override_database = (porcelain.override_database)
7810
+ plumbing.port = (porcelain.port)
7811
+ plumbing.port_override = (porcelain.port_override)
7812
+ plumbing.schema = (porcelain.schema)
7813
+ plumbing.secret = (porcelain.secret)
7814
+ plumbing.secret_store_id = (porcelain.secret_store_id)
7815
+ plumbing.subdomain = (porcelain.subdomain)
7816
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
7817
+ plumbing.tenant_id = (porcelain.tenant_id)
7818
+ plumbing
7819
+ end
7820
+ def self.convert_repeated_sql_server_azure_ad_to_plumbing(porcelains)
7821
+ items = Array.new
7822
+ porcelains.each do |porcelain|
7823
+ plumbing = convert_sql_server_azure_ad_to_plumbing(porcelain)
7824
+ items.append(plumbing)
7825
+ end
7826
+ items
7827
+ end
7828
+
7829
+ def self.convert_repeated_sql_server_azure_ad_to_porcelain(plumbings)
7830
+ items = Array.new
7831
+ plumbings.each do |plumbing|
7832
+ porcelain = convert_sql_server_azure_ad_to_porcelain(plumbing)
7833
+ items.append(porcelain)
7834
+ end
7835
+ items
7836
+ end
7837
+ def self.convert_sql_server_kerberos_ad_to_porcelain(plumbing)
7838
+ if plumbing == nil
7839
+ return nil
7840
+ end
7841
+ porcelain = SQLServerKerberosAD.new()
7842
+ porcelain.bind_interface = (plumbing.bind_interface)
7843
+ porcelain.database = (plumbing.database)
7844
+ porcelain.egress_filter = (plumbing.egress_filter)
7845
+ porcelain.healthy = (plumbing.healthy)
7846
+ porcelain.hostname = (plumbing.hostname)
7847
+ porcelain.id = (plumbing.id)
7848
+ porcelain.keytab = (plumbing.keytab)
7849
+ porcelain.krb_config = (plumbing.krb_config)
7850
+ porcelain.name = (plumbing.name)
7851
+ porcelain.override_database = (plumbing.override_database)
7852
+ porcelain.port = (plumbing.port)
7853
+ porcelain.port_override = (plumbing.port_override)
7854
+ porcelain.realm = (plumbing.realm)
7855
+ porcelain.schema = (plumbing.schema)
7856
+ porcelain.secret_store_id = (plumbing.secret_store_id)
7857
+ porcelain.server_spn = (plumbing.server_spn)
7858
+ porcelain.subdomain = (plumbing.subdomain)
7859
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
7860
+ porcelain.username = (plumbing.username)
7861
+ porcelain
7862
+ end
7863
+
7864
+ def self.convert_sql_server_kerberos_ad_to_plumbing(porcelain)
7865
+ if porcelain == nil
7866
+ return nil
7867
+ end
7868
+ plumbing = V1::SQLServerKerberosAD.new()
7869
+ plumbing.bind_interface = (porcelain.bind_interface)
7870
+ plumbing.database = (porcelain.database)
7871
+ plumbing.egress_filter = (porcelain.egress_filter)
7872
+ plumbing.healthy = (porcelain.healthy)
7873
+ plumbing.hostname = (porcelain.hostname)
7874
+ plumbing.id = (porcelain.id)
7875
+ plumbing.keytab = (porcelain.keytab)
7876
+ plumbing.krb_config = (porcelain.krb_config)
7877
+ plumbing.name = (porcelain.name)
7878
+ plumbing.override_database = (porcelain.override_database)
7879
+ plumbing.port = (porcelain.port)
7880
+ plumbing.port_override = (porcelain.port_override)
7881
+ plumbing.realm = (porcelain.realm)
7882
+ plumbing.schema = (porcelain.schema)
7883
+ plumbing.secret_store_id = (porcelain.secret_store_id)
7884
+ plumbing.server_spn = (porcelain.server_spn)
7885
+ plumbing.subdomain = (porcelain.subdomain)
7886
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
7887
+ plumbing.username = (porcelain.username)
7888
+ plumbing
7889
+ end
7890
+ def self.convert_repeated_sql_server_kerberos_ad_to_plumbing(porcelains)
7891
+ items = Array.new
7892
+ porcelains.each do |porcelain|
7893
+ plumbing = convert_sql_server_kerberos_ad_to_plumbing(porcelain)
7894
+ items.append(plumbing)
7895
+ end
7896
+ items
7897
+ end
7898
+
7899
+ def self.convert_repeated_sql_server_kerberos_ad_to_porcelain(plumbings)
7900
+ items = Array.new
7901
+ plumbings.each do |plumbing|
7902
+ porcelain = convert_sql_server_kerberos_ad_to_porcelain(plumbing)
7903
+ items.append(porcelain)
7904
+ end
7905
+ items
7906
+ end
7731
7907
  def self.convert_ssh_to_porcelain(plumbing)
7732
7908
  if plumbing == nil
7733
7909
  return nil
@@ -8256,9 +8432,11 @@ module SDM
8256
8432
  porcelain.password = (plumbing.password)
8257
8433
  porcelain.port = (plumbing.port)
8258
8434
  porcelain.port_override = (plumbing.port_override)
8435
+ porcelain.require_native_auth = (plumbing.require_native_auth)
8259
8436
  porcelain.secret_store_id = (plumbing.secret_store_id)
8260
8437
  porcelain.subdomain = (plumbing.subdomain)
8261
8438
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
8439
+ porcelain.use_azure_single_server_usernames = (plumbing.use_azure_single_server_usernames)
8262
8440
  porcelain.username = (plumbing.username)
8263
8441
  porcelain
8264
8442
  end
@@ -8278,9 +8456,11 @@ module SDM
8278
8456
  plumbing.password = (porcelain.password)
8279
8457
  plumbing.port = (porcelain.port)
8280
8458
  plumbing.port_override = (porcelain.port_override)
8459
+ plumbing.require_native_auth = (porcelain.require_native_auth)
8281
8460
  plumbing.secret_store_id = (porcelain.secret_store_id)
8282
8461
  plumbing.subdomain = (porcelain.subdomain)
8283
8462
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
8463
+ plumbing.use_azure_single_server_usernames = (porcelain.use_azure_single_server_usernames)
8284
8464
  plumbing.username = (porcelain.username)
8285
8465
  plumbing
8286
8466
  end
@@ -1961,6 +1961,8 @@ module SDM
1961
1961
  attr_accessor :port
1962
1962
 
1963
1963
  attr_accessor :port_override
1964
+
1965
+ attr_accessor :require_native_auth
1964
1966
  # ID of the secret store containing credentials for this resource, if any.
1965
1967
  attr_accessor :secret_store_id
1966
1968
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -1968,6 +1970,8 @@ module SDM
1968
1970
  # Tags is a map of key, value pairs.
1969
1971
  attr_accessor :tags
1970
1972
 
1973
+ attr_accessor :use_azure_single_server_usernames
1974
+
1971
1975
  attr_accessor :username
1972
1976
 
1973
1977
  def initialize(
@@ -1981,9 +1985,11 @@ module SDM
1981
1985
  password: nil,
1982
1986
  port: nil,
1983
1987
  port_override: nil,
1988
+ require_native_auth: nil,
1984
1989
  secret_store_id: nil,
1985
1990
  subdomain: nil,
1986
1991
  tags: nil,
1992
+ use_azure_single_server_usernames: nil,
1987
1993
  username: nil
1988
1994
  )
1989
1995
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -1996,9 +2002,11 @@ module SDM
1996
2002
  @password = password == nil ? "" : password
1997
2003
  @port = port == nil ? 0 : port
1998
2004
  @port_override = port_override == nil ? 0 : port_override
2005
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
1999
2006
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
2000
2007
  @subdomain = subdomain == nil ? "" : subdomain
2001
2008
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2009
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
2002
2010
  @username = username == nil ? "" : username
2003
2011
  end
2004
2012
 
@@ -2231,6 +2239,8 @@ module SDM
2231
2239
  attr_accessor :port
2232
2240
 
2233
2241
  attr_accessor :port_override
2242
+
2243
+ attr_accessor :require_native_auth
2234
2244
  # ID of the secret store containing credentials for this resource, if any.
2235
2245
  attr_accessor :secret_store_id
2236
2246
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -2238,6 +2248,8 @@ module SDM
2238
2248
  # Tags is a map of key, value pairs.
2239
2249
  attr_accessor :tags
2240
2250
 
2251
+ attr_accessor :use_azure_single_server_usernames
2252
+
2241
2253
  attr_accessor :username
2242
2254
 
2243
2255
  def initialize(
@@ -2251,9 +2263,11 @@ module SDM
2251
2263
  password: nil,
2252
2264
  port: nil,
2253
2265
  port_override: nil,
2266
+ require_native_auth: nil,
2254
2267
  secret_store_id: nil,
2255
2268
  subdomain: nil,
2256
2269
  tags: nil,
2270
+ use_azure_single_server_usernames: nil,
2257
2271
  username: nil
2258
2272
  )
2259
2273
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -2266,9 +2280,11 @@ module SDM
2266
2280
  @password = password == nil ? "" : password
2267
2281
  @port = port == nil ? 0 : port
2268
2282
  @port_override = port_override == nil ? 0 : port_override
2283
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
2269
2284
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
2270
2285
  @subdomain = subdomain == nil ? "" : subdomain
2271
2286
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2287
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
2272
2288
  @username = username == nil ? "" : username
2273
2289
  end
2274
2290
 
@@ -2621,6 +2637,8 @@ module SDM
2621
2637
  attr_accessor :port
2622
2638
 
2623
2639
  attr_accessor :port_override
2640
+
2641
+ attr_accessor :require_native_auth
2624
2642
  # ID of the secret store containing credentials for this resource, if any.
2625
2643
  attr_accessor :secret_store_id
2626
2644
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -2628,6 +2646,8 @@ module SDM
2628
2646
  # Tags is a map of key, value pairs.
2629
2647
  attr_accessor :tags
2630
2648
 
2649
+ attr_accessor :use_azure_single_server_usernames
2650
+
2631
2651
  attr_accessor :username
2632
2652
 
2633
2653
  def initialize(
@@ -2641,9 +2661,11 @@ module SDM
2641
2661
  password: nil,
2642
2662
  port: nil,
2643
2663
  port_override: nil,
2664
+ require_native_auth: nil,
2644
2665
  secret_store_id: nil,
2645
2666
  subdomain: nil,
2646
2667
  tags: nil,
2668
+ use_azure_single_server_usernames: nil,
2647
2669
  username: nil
2648
2670
  )
2649
2671
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -2656,9 +2678,11 @@ module SDM
2656
2678
  @password = password == nil ? "" : password
2657
2679
  @port = port == nil ? 0 : port
2658
2680
  @port_override = port_override == nil ? 0 : port_override
2681
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
2659
2682
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
2660
2683
  @subdomain = subdomain == nil ? "" : subdomain
2661
2684
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2685
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
2662
2686
  @username = username == nil ? "" : username
2663
2687
  end
2664
2688
 
@@ -4513,6 +4537,8 @@ module SDM
4513
4537
  attr_accessor :port
4514
4538
 
4515
4539
  attr_accessor :port_override
4540
+
4541
+ attr_accessor :require_native_auth
4516
4542
  # ID of the secret store containing credentials for this resource, if any.
4517
4543
  attr_accessor :secret_store_id
4518
4544
 
@@ -4522,6 +4548,8 @@ module SDM
4522
4548
  # Tags is a map of key, value pairs.
4523
4549
  attr_accessor :tags
4524
4550
 
4551
+ attr_accessor :use_azure_single_server_usernames
4552
+
4525
4553
  attr_accessor :username
4526
4554
 
4527
4555
  def initialize(
@@ -4538,10 +4566,12 @@ module SDM
4538
4566
  password: nil,
4539
4567
  port: nil,
4540
4568
  port_override: nil,
4569
+ require_native_auth: nil,
4541
4570
  secret_store_id: nil,
4542
4571
  server_name: nil,
4543
4572
  subdomain: nil,
4544
4573
  tags: nil,
4574
+ use_azure_single_server_usernames: nil,
4545
4575
  username: nil
4546
4576
  )
4547
4577
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -4557,10 +4587,12 @@ module SDM
4557
4587
  @password = password == nil ? "" : password
4558
4588
  @port = port == nil ? 0 : port
4559
4589
  @port_override = port_override == nil ? 0 : port_override
4590
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
4560
4591
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
4561
4592
  @server_name = server_name == nil ? "" : server_name
4562
4593
  @subdomain = subdomain == nil ? "" : subdomain
4563
4594
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
4595
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
4564
4596
  @username = username == nil ? "" : username
4565
4597
  end
4566
4598
 
@@ -4685,6 +4717,8 @@ module SDM
4685
4717
  attr_accessor :port
4686
4718
 
4687
4719
  attr_accessor :port_override
4720
+
4721
+ attr_accessor :require_native_auth
4688
4722
  # ID of the secret store containing credentials for this resource, if any.
4689
4723
  attr_accessor :secret_store_id
4690
4724
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -4692,6 +4726,8 @@ module SDM
4692
4726
  # Tags is a map of key, value pairs.
4693
4727
  attr_accessor :tags
4694
4728
 
4729
+ attr_accessor :use_azure_single_server_usernames
4730
+
4695
4731
  attr_accessor :username
4696
4732
 
4697
4733
  def initialize(
@@ -4705,9 +4741,11 @@ module SDM
4705
4741
  password: nil,
4706
4742
  port: nil,
4707
4743
  port_override: nil,
4744
+ require_native_auth: nil,
4708
4745
  secret_store_id: nil,
4709
4746
  subdomain: nil,
4710
4747
  tags: nil,
4748
+ use_azure_single_server_usernames: nil,
4711
4749
  username: nil
4712
4750
  )
4713
4751
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -4720,9 +4758,11 @@ module SDM
4720
4758
  @password = password == nil ? "" : password
4721
4759
  @port = port == nil ? 0 : port
4722
4760
  @port_override = port_override == nil ? 0 : port_override
4761
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
4723
4762
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
4724
4763
  @subdomain = subdomain == nil ? "" : subdomain
4725
4764
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
4765
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
4726
4766
  @username = username == nil ? "" : username
4727
4767
  end
4728
4768
 
@@ -4815,6 +4855,8 @@ module SDM
4815
4855
  attr_accessor :port
4816
4856
 
4817
4857
  attr_accessor :port_override
4858
+
4859
+ attr_accessor :require_native_auth
4818
4860
  # ID of the secret store containing credentials for this resource, if any.
4819
4861
  attr_accessor :secret_store_id
4820
4862
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -4822,6 +4864,8 @@ module SDM
4822
4864
  # Tags is a map of key, value pairs.
4823
4865
  attr_accessor :tags
4824
4866
 
4867
+ attr_accessor :use_azure_single_server_usernames
4868
+
4825
4869
  attr_accessor :username
4826
4870
 
4827
4871
  def initialize(
@@ -4835,9 +4879,11 @@ module SDM
4835
4879
  password: nil,
4836
4880
  port: nil,
4837
4881
  port_override: nil,
4882
+ require_native_auth: nil,
4838
4883
  secret_store_id: nil,
4839
4884
  subdomain: nil,
4840
4885
  tags: nil,
4886
+ use_azure_single_server_usernames: nil,
4841
4887
  username: nil
4842
4888
  )
4843
4889
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -4850,9 +4896,11 @@ module SDM
4850
4896
  @password = password == nil ? "" : password
4851
4897
  @port = port == nil ? 0 : port
4852
4898
  @port_override = port_override == nil ? 0 : port_override
4899
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
4853
4900
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
4854
4901
  @subdomain = subdomain == nil ? "" : subdomain
4855
4902
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
4903
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
4856
4904
  @username = username == nil ? "" : username
4857
4905
  end
4858
4906
 
@@ -5275,6 +5323,8 @@ module SDM
5275
5323
  attr_accessor :port
5276
5324
 
5277
5325
  attr_accessor :port_override
5326
+
5327
+ attr_accessor :require_native_auth
5278
5328
  # ID of the secret store containing credentials for this resource, if any.
5279
5329
  attr_accessor :secret_store_id
5280
5330
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -5282,6 +5332,8 @@ module SDM
5282
5332
  # Tags is a map of key, value pairs.
5283
5333
  attr_accessor :tags
5284
5334
 
5335
+ attr_accessor :use_azure_single_server_usernames
5336
+
5285
5337
  attr_accessor :username
5286
5338
 
5287
5339
  def initialize(
@@ -5295,9 +5347,11 @@ module SDM
5295
5347
  password: nil,
5296
5348
  port: nil,
5297
5349
  port_override: nil,
5350
+ require_native_auth: nil,
5298
5351
  secret_store_id: nil,
5299
5352
  subdomain: nil,
5300
5353
  tags: nil,
5354
+ use_azure_single_server_usernames: nil,
5301
5355
  username: nil
5302
5356
  )
5303
5357
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -5310,9 +5364,11 @@ module SDM
5310
5364
  @password = password == nil ? "" : password
5311
5365
  @port = port == nil ? 0 : port
5312
5366
  @port_override = port_override == nil ? 0 : port_override
5367
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
5313
5368
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5314
5369
  @subdomain = subdomain == nil ? "" : subdomain
5315
5370
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
5371
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
5316
5372
  @username = username == nil ? "" : username
5317
5373
  end
5318
5374
 
@@ -7389,6 +7445,180 @@ module SDM
7389
7445
  end
7390
7446
  end
7391
7447
 
7448
+ class SQLServerAzureAD
7449
+ # Bind interface
7450
+ attr_accessor :bind_interface
7451
+
7452
+ attr_accessor :client_id
7453
+
7454
+ attr_accessor :database
7455
+ # A filter applied to the routing logic to pin datasource to nodes.
7456
+ attr_accessor :egress_filter
7457
+ # True if the datasource is reachable and the credentials are valid.
7458
+ attr_accessor :healthy
7459
+
7460
+ attr_accessor :hostname
7461
+ # Unique identifier of the Resource.
7462
+ attr_accessor :id
7463
+ # Unique human-readable name of the Resource.
7464
+ attr_accessor :name
7465
+
7466
+ attr_accessor :override_database
7467
+
7468
+ attr_accessor :port
7469
+
7470
+ attr_accessor :port_override
7471
+
7472
+ attr_accessor :schema
7473
+
7474
+ attr_accessor :secret
7475
+ # ID of the secret store containing credentials for this resource, if any.
7476
+ attr_accessor :secret_store_id
7477
+ # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
7478
+ attr_accessor :subdomain
7479
+ # Tags is a map of key, value pairs.
7480
+ attr_accessor :tags
7481
+
7482
+ attr_accessor :tenant_id
7483
+
7484
+ def initialize(
7485
+ bind_interface: nil,
7486
+ client_id: nil,
7487
+ database: nil,
7488
+ egress_filter: nil,
7489
+ healthy: nil,
7490
+ hostname: nil,
7491
+ id: nil,
7492
+ name: nil,
7493
+ override_database: nil,
7494
+ port: nil,
7495
+ port_override: nil,
7496
+ schema: nil,
7497
+ secret: nil,
7498
+ secret_store_id: nil,
7499
+ subdomain: nil,
7500
+ tags: nil,
7501
+ tenant_id: nil
7502
+ )
7503
+ @bind_interface = bind_interface == nil ? "" : bind_interface
7504
+ @client_id = client_id == nil ? "" : client_id
7505
+ @database = database == nil ? "" : database
7506
+ @egress_filter = egress_filter == nil ? "" : egress_filter
7507
+ @healthy = healthy == nil ? false : healthy
7508
+ @hostname = hostname == nil ? "" : hostname
7509
+ @id = id == nil ? "" : id
7510
+ @name = name == nil ? "" : name
7511
+ @override_database = override_database == nil ? false : override_database
7512
+ @port = port == nil ? 0 : port
7513
+ @port_override = port_override == nil ? 0 : port_override
7514
+ @schema = schema == nil ? "" : schema
7515
+ @secret = secret == nil ? "" : secret
7516
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
7517
+ @subdomain = subdomain == nil ? "" : subdomain
7518
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
7519
+ @tenant_id = tenant_id == nil ? "" : tenant_id
7520
+ end
7521
+
7522
+ def to_json(options = {})
7523
+ hash = {}
7524
+ self.instance_variables.each do |var|
7525
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
7526
+ end
7527
+ hash.to_json
7528
+ end
7529
+ end
7530
+
7531
+ class SQLServerKerberosAD
7532
+ # Bind interface
7533
+ attr_accessor :bind_interface
7534
+
7535
+ attr_accessor :database
7536
+ # A filter applied to the routing logic to pin datasource to nodes.
7537
+ attr_accessor :egress_filter
7538
+ # True if the datasource is reachable and the credentials are valid.
7539
+ attr_accessor :healthy
7540
+
7541
+ attr_accessor :hostname
7542
+ # Unique identifier of the Resource.
7543
+ attr_accessor :id
7544
+
7545
+ attr_accessor :keytab
7546
+
7547
+ attr_accessor :krb_config
7548
+ # Unique human-readable name of the Resource.
7549
+ attr_accessor :name
7550
+
7551
+ attr_accessor :override_database
7552
+
7553
+ attr_accessor :port
7554
+
7555
+ attr_accessor :port_override
7556
+
7557
+ attr_accessor :realm
7558
+
7559
+ attr_accessor :schema
7560
+ # ID of the secret store containing credentials for this resource, if any.
7561
+ attr_accessor :secret_store_id
7562
+
7563
+ attr_accessor :server_spn
7564
+ # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
7565
+ attr_accessor :subdomain
7566
+ # Tags is a map of key, value pairs.
7567
+ attr_accessor :tags
7568
+
7569
+ attr_accessor :username
7570
+
7571
+ def initialize(
7572
+ bind_interface: nil,
7573
+ database: nil,
7574
+ egress_filter: nil,
7575
+ healthy: nil,
7576
+ hostname: nil,
7577
+ id: nil,
7578
+ keytab: nil,
7579
+ krb_config: nil,
7580
+ name: nil,
7581
+ override_database: nil,
7582
+ port: nil,
7583
+ port_override: nil,
7584
+ realm: nil,
7585
+ schema: nil,
7586
+ secret_store_id: nil,
7587
+ server_spn: nil,
7588
+ subdomain: nil,
7589
+ tags: nil,
7590
+ username: nil
7591
+ )
7592
+ @bind_interface = bind_interface == nil ? "" : bind_interface
7593
+ @database = database == nil ? "" : database
7594
+ @egress_filter = egress_filter == nil ? "" : egress_filter
7595
+ @healthy = healthy == nil ? false : healthy
7596
+ @hostname = hostname == nil ? "" : hostname
7597
+ @id = id == nil ? "" : id
7598
+ @keytab = keytab == nil ? "" : keytab
7599
+ @krb_config = krb_config == nil ? "" : krb_config
7600
+ @name = name == nil ? "" : name
7601
+ @override_database = override_database == nil ? false : override_database
7602
+ @port = port == nil ? 0 : port
7603
+ @port_override = port_override == nil ? 0 : port_override
7604
+ @realm = realm == nil ? "" : realm
7605
+ @schema = schema == nil ? "" : schema
7606
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
7607
+ @server_spn = server_spn == nil ? "" : server_spn
7608
+ @subdomain = subdomain == nil ? "" : subdomain
7609
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
7610
+ @username = username == nil ? "" : username
7611
+ end
7612
+
7613
+ def to_json(options = {})
7614
+ hash = {}
7615
+ self.instance_variables.each do |var|
7616
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
7617
+ end
7618
+ hash.to_json
7619
+ end
7620
+ end
7621
+
7392
7622
  class SSH
7393
7623
  attr_accessor :allow_deprecated_key_exchanges
7394
7624
  # Bind interface
@@ -7821,6 +8051,8 @@ module SDM
7821
8051
  attr_accessor :port
7822
8052
 
7823
8053
  attr_accessor :port_override
8054
+
8055
+ attr_accessor :require_native_auth
7824
8056
  # ID of the secret store containing credentials for this resource, if any.
7825
8057
  attr_accessor :secret_store_id
7826
8058
  # Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
@@ -7828,6 +8060,8 @@ module SDM
7828
8060
  # Tags is a map of key, value pairs.
7829
8061
  attr_accessor :tags
7830
8062
 
8063
+ attr_accessor :use_azure_single_server_usernames
8064
+
7831
8065
  attr_accessor :username
7832
8066
 
7833
8067
  def initialize(
@@ -7841,9 +8075,11 @@ module SDM
7841
8075
  password: nil,
7842
8076
  port: nil,
7843
8077
  port_override: nil,
8078
+ require_native_auth: nil,
7844
8079
  secret_store_id: nil,
7845
8080
  subdomain: nil,
7846
8081
  tags: nil,
8082
+ use_azure_single_server_usernames: nil,
7847
8083
  username: nil
7848
8084
  )
7849
8085
  @bind_interface = bind_interface == nil ? "" : bind_interface
@@ -7856,9 +8092,11 @@ module SDM
7856
8092
  @password = password == nil ? "" : password
7857
8093
  @port = port == nil ? 0 : port
7858
8094
  @port_override = port_override == nil ? 0 : port_override
8095
+ @require_native_auth = require_native_auth == nil ? false : require_native_auth
7859
8096
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
7860
8097
  @subdomain = subdomain == nil ? "" : subdomain
7861
8098
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
8099
+ @use_azure_single_server_usernames = use_azure_single_server_usernames == nil ? false : use_azure_single_server_usernames
7862
8100
  @username = username == nil ? "" : username
7863
8101
  end
7864
8102
 
data/lib/strongdm.rb CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
29
29
  DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
30
30
  DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
31
31
  API_VERSION = "2021-08-23"
32
- USER_AGENT = "strongdm-sdk-ruby/3.14.2"
32
+ USER_AGENT = "strongdm-sdk-ruby/3.16.0"
33
33
  private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
34
34
 
35
35
  # Creates a new strongDM API client.
data/lib/svc.rb CHANGED
@@ -2126,6 +2126,8 @@ module SDM #:nodoc:
2126
2126
  # {Snowflake}
2127
2127
  # {Snowsight}
2128
2128
  # {SQLServer}
2129
+ # {SQLServerAzureAD}
2130
+ # {SQLServerKerberosAD}
2129
2131
  # {SSH}
2130
2132
  # {SSHCert}
2131
2133
  # {SSHCustomerKey}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.14.2"
16
+ VERSION = "3.16.0"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.14.2"
16
+ VERSION = "3.16.0"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.2
4
+ version: 3.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -81,8 +81,8 @@ files:
81
81
  - "./.git/logs/HEAD"
82
82
  - "./.git/logs/refs/heads/master"
83
83
  - "./.git/logs/refs/remotes/origin/HEAD"
84
- - "./.git/objects/pack/pack-f99e555c6751778a5cf0b0e68445bab0425bb5c1.idx"
85
- - "./.git/objects/pack/pack-f99e555c6751778a5cf0b0e68445bab0425bb5c1.pack"
84
+ - "./.git/objects/pack/pack-65e340f050c65a6aaf311892bf375358d0462aa9.idx"
85
+ - "./.git/objects/pack/pack-65e340f050c65a6aaf311892bf375358d0462aa9.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"