@azure/provisioning-sql 0.0.0-stage → 1.0.0-beta.1

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.
Files changed (176) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +64 -2
  4. package/dist/browser/deleted-server.d.ts +33 -0
  5. package/dist/browser/deleted-server.d.ts.map +1 -0
  6. package/dist/browser/deleted-server.js +61 -0
  7. package/dist/browser/deleted-server.js.map +1 -0
  8. package/dist/browser/index.d.ts +14 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/dist/browser/index.js +16 -0
  11. package/dist/browser/index.js.map +1 -0
  12. package/dist/browser/instance-failover-group.d.ts +48 -0
  13. package/dist/browser/instance-failover-group.d.ts.map +1 -0
  14. package/dist/browser/instance-failover-group.js +63 -0
  15. package/dist/browser/instance-failover-group.js.map +1 -0
  16. package/dist/browser/instance-pool.d.ts +101 -0
  17. package/dist/browser/instance-pool.d.ts.map +1 -0
  18. package/dist/browser/instance-pool.js +148 -0
  19. package/dist/browser/instance-pool.js.map +1 -0
  20. package/dist/browser/managed-database-move-operation-result.d.ts +30 -0
  21. package/dist/browser/managed-database-move-operation-result.d.ts.map +1 -0
  22. package/dist/browser/managed-database-move-operation-result.js +58 -0
  23. package/dist/browser/managed-database-move-operation-result.js.map +1 -0
  24. package/dist/browser/managed-instance.d.ts +1555 -0
  25. package/dist/browser/managed-instance.d.ts.map +1 -0
  26. package/dist/browser/managed-instance.js +2234 -0
  27. package/dist/browser/managed-instance.js.map +1 -0
  28. package/dist/browser/package.json +8 -0
  29. package/dist/browser/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
  30. package/dist/browser/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
  31. package/dist/browser/resource-group-long-term-retention-managed-instance-backup.js +61 -0
  32. package/dist/browser/resource-group-long-term-retention-managed-instance-backup.js.map +1 -0
  33. package/dist/browser/server-trust-group.d.ts +48 -0
  34. package/dist/browser/server-trust-group.d.ts.map +1 -0
  35. package/dist/browser/server-trust-group.js +63 -0
  36. package/dist/browser/server-trust-group.js.map +1 -0
  37. package/dist/browser/server.d.ts +3137 -0
  38. package/dist/browser/server.d.ts.map +1 -0
  39. package/dist/browser/server.js +4486 -0
  40. package/dist/browser/server.js.map +1 -0
  41. package/dist/browser/subscription-long-term-retention-backup.d.ts +33 -0
  42. package/dist/browser/subscription-long-term-retention-backup.d.ts.map +1 -0
  43. package/dist/browser/subscription-long-term-retention-backup.js +61 -0
  44. package/dist/browser/subscription-long-term-retention-backup.js.map +1 -0
  45. package/dist/browser/time-zone.d.ts +30 -0
  46. package/dist/browser/time-zone.d.ts.map +1 -0
  47. package/dist/browser/time-zone.js +58 -0
  48. package/dist/browser/time-zone.js.map +1 -0
  49. package/dist/browser/types.d.ts +13481 -0
  50. package/dist/browser/types.d.ts.map +1 -0
  51. package/dist/browser/types.js +3035 -0
  52. package/dist/browser/types.js.map +1 -0
  53. package/dist/browser/usage.d.ts +33 -0
  54. package/dist/browser/usage.d.ts.map +1 -0
  55. package/dist/browser/usage.js +61 -0
  56. package/dist/browser/usage.js.map +1 -0
  57. package/dist/browser/virtual-cluster.d.ts +66 -0
  58. package/dist/browser/virtual-cluster.d.ts.map +1 -0
  59. package/dist/browser/virtual-cluster.js +85 -0
  60. package/dist/browser/virtual-cluster.js.map +1 -0
  61. package/dist/commonjs/deleted-server.d.ts +33 -0
  62. package/dist/commonjs/deleted-server.d.ts.map +1 -0
  63. package/dist/commonjs/deleted-server.js +84 -0
  64. package/dist/commonjs/deleted-server.js.map +7 -0
  65. package/dist/commonjs/index.d.ts +14 -0
  66. package/dist/commonjs/index.d.ts.map +1 -0
  67. package/dist/commonjs/index.js +296 -0
  68. package/dist/commonjs/index.js.map +7 -0
  69. package/dist/commonjs/instance-failover-group.d.ts +48 -0
  70. package/dist/commonjs/instance-failover-group.d.ts.map +1 -0
  71. package/dist/commonjs/instance-failover-group.js +86 -0
  72. package/dist/commonjs/instance-failover-group.js.map +7 -0
  73. package/dist/commonjs/instance-pool.d.ts +101 -0
  74. package/dist/commonjs/instance-pool.d.ts.map +1 -0
  75. package/dist/commonjs/instance-pool.js +172 -0
  76. package/dist/commonjs/instance-pool.js.map +7 -0
  77. package/dist/commonjs/managed-database-move-operation-result.d.ts +30 -0
  78. package/dist/commonjs/managed-database-move-operation-result.d.ts.map +1 -0
  79. package/dist/commonjs/managed-database-move-operation-result.js +81 -0
  80. package/dist/commonjs/managed-database-move-operation-result.js.map +7 -0
  81. package/dist/commonjs/managed-instance.d.ts +1555 -0
  82. package/dist/commonjs/managed-instance.d.ts.map +1 -0
  83. package/dist/commonjs/managed-instance.js +2308 -0
  84. package/dist/commonjs/managed-instance.js.map +7 -0
  85. package/dist/commonjs/package.json +8 -0
  86. package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
  87. package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
  88. package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.js +88 -0
  89. package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.js.map +7 -0
  90. package/dist/commonjs/server-trust-group.d.ts +48 -0
  91. package/dist/commonjs/server-trust-group.d.ts.map +1 -0
  92. package/dist/commonjs/server-trust-group.js +86 -0
  93. package/dist/commonjs/server-trust-group.js.map +7 -0
  94. package/dist/commonjs/server.d.ts +3137 -0
  95. package/dist/commonjs/server.d.ts.map +1 -0
  96. package/dist/commonjs/server.js +4604 -0
  97. package/dist/commonjs/server.js.map +7 -0
  98. package/dist/commonjs/subscription-long-term-retention-backup.d.ts +33 -0
  99. package/dist/commonjs/subscription-long-term-retention-backup.d.ts.map +1 -0
  100. package/dist/commonjs/subscription-long-term-retention-backup.js +84 -0
  101. package/dist/commonjs/subscription-long-term-retention-backup.js.map +7 -0
  102. package/dist/commonjs/time-zone.d.ts +30 -0
  103. package/dist/commonjs/time-zone.d.ts.map +1 -0
  104. package/dist/commonjs/time-zone.js +81 -0
  105. package/dist/commonjs/time-zone.js.map +7 -0
  106. package/dist/commonjs/tsdoc-metadata.json +11 -0
  107. package/dist/commonjs/types.d.ts +13481 -0
  108. package/dist/commonjs/types.d.ts.map +1 -0
  109. package/dist/commonjs/types.js +3439 -0
  110. package/dist/commonjs/types.js.map +7 -0
  111. package/dist/commonjs/usage.d.ts +33 -0
  112. package/dist/commonjs/usage.d.ts.map +1 -0
  113. package/dist/commonjs/usage.js +84 -0
  114. package/dist/commonjs/usage.js.map +7 -0
  115. package/dist/commonjs/virtual-cluster.d.ts +66 -0
  116. package/dist/commonjs/virtual-cluster.d.ts.map +1 -0
  117. package/dist/commonjs/virtual-cluster.js +108 -0
  118. package/dist/commonjs/virtual-cluster.js.map +7 -0
  119. package/dist/esm/deleted-server.d.ts +33 -0
  120. package/dist/esm/deleted-server.d.ts.map +1 -0
  121. package/dist/esm/deleted-server.js +61 -0
  122. package/dist/esm/deleted-server.js.map +1 -0
  123. package/dist/esm/index.d.ts +14 -0
  124. package/dist/esm/index.d.ts.map +1 -0
  125. package/dist/esm/index.js +16 -0
  126. package/dist/esm/index.js.map +1 -0
  127. package/dist/esm/instance-failover-group.d.ts +48 -0
  128. package/dist/esm/instance-failover-group.d.ts.map +1 -0
  129. package/dist/esm/instance-failover-group.js +63 -0
  130. package/dist/esm/instance-failover-group.js.map +1 -0
  131. package/dist/esm/instance-pool.d.ts +101 -0
  132. package/dist/esm/instance-pool.d.ts.map +1 -0
  133. package/dist/esm/instance-pool.js +148 -0
  134. package/dist/esm/instance-pool.js.map +1 -0
  135. package/dist/esm/managed-database-move-operation-result.d.ts +30 -0
  136. package/dist/esm/managed-database-move-operation-result.d.ts.map +1 -0
  137. package/dist/esm/managed-database-move-operation-result.js +58 -0
  138. package/dist/esm/managed-database-move-operation-result.js.map +1 -0
  139. package/dist/esm/managed-instance.d.ts +1555 -0
  140. package/dist/esm/managed-instance.d.ts.map +1 -0
  141. package/dist/esm/managed-instance.js +2234 -0
  142. package/dist/esm/managed-instance.js.map +1 -0
  143. package/dist/esm/package.json +8 -0
  144. package/dist/esm/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
  145. package/dist/esm/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
  146. package/dist/esm/resource-group-long-term-retention-managed-instance-backup.js +61 -0
  147. package/dist/esm/resource-group-long-term-retention-managed-instance-backup.js.map +1 -0
  148. package/dist/esm/server-trust-group.d.ts +48 -0
  149. package/dist/esm/server-trust-group.d.ts.map +1 -0
  150. package/dist/esm/server-trust-group.js +63 -0
  151. package/dist/esm/server-trust-group.js.map +1 -0
  152. package/dist/esm/server.d.ts +3137 -0
  153. package/dist/esm/server.d.ts.map +1 -0
  154. package/dist/esm/server.js +4486 -0
  155. package/dist/esm/server.js.map +1 -0
  156. package/dist/esm/subscription-long-term-retention-backup.d.ts +33 -0
  157. package/dist/esm/subscription-long-term-retention-backup.d.ts.map +1 -0
  158. package/dist/esm/subscription-long-term-retention-backup.js +61 -0
  159. package/dist/esm/subscription-long-term-retention-backup.js.map +1 -0
  160. package/dist/esm/time-zone.d.ts +30 -0
  161. package/dist/esm/time-zone.d.ts.map +1 -0
  162. package/dist/esm/time-zone.js +58 -0
  163. package/dist/esm/time-zone.js.map +1 -0
  164. package/dist/esm/types.d.ts +13481 -0
  165. package/dist/esm/types.d.ts.map +1 -0
  166. package/dist/esm/types.js +3035 -0
  167. package/dist/esm/types.js.map +1 -0
  168. package/dist/esm/usage.d.ts +33 -0
  169. package/dist/esm/usage.d.ts.map +1 -0
  170. package/dist/esm/usage.js +61 -0
  171. package/dist/esm/usage.js.map +1 -0
  172. package/dist/esm/virtual-cluster.d.ts +66 -0
  173. package/dist/esm/virtual-cluster.d.ts.map +1 -0
  174. package/dist/esm/virtual-cluster.js +85 -0
  175. package/dist/esm/virtual-cluster.js.map +1 -0
  176. package/package.json +103 -3
@@ -0,0 +1,2308 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var managed_instance_exports = {};
19
+ __export(managed_instance_exports, {
20
+ DistributedAvailabilityGroup: () => DistributedAvailabilityGroup,
21
+ Dtc: () => Dtc,
22
+ EndpointCertificate: () => EndpointCertificate,
23
+ ManagedBackupShortTermRetentionPolicy: () => ManagedBackupShortTermRetentionPolicy,
24
+ ManagedDatabaseAdvancedThreatProtection: () => ManagedDatabaseAdvancedThreatProtection,
25
+ ManagedDatabaseColumn: () => ManagedDatabaseColumn,
26
+ ManagedDatabaseSchema: () => ManagedDatabaseSchema,
27
+ ManagedDatabaseSensitivityLabel: () => ManagedDatabaseSensitivityLabel,
28
+ ManagedDatabaseTable: () => ManagedDatabaseTable,
29
+ ManagedDatabaseVulnerabilityAssessment: () => ManagedDatabaseVulnerabilityAssessment,
30
+ ManagedDatabaseVulnerabilityAssessmentRuleBaseline: () => ManagedDatabaseVulnerabilityAssessmentRuleBaseline,
31
+ ManagedDatabaseVulnerabilityAssessmentScan: () => ManagedDatabaseVulnerabilityAssessmentScan,
32
+ ManagedInstance: () => ManagedInstance,
33
+ ManagedInstanceAdministrator: () => ManagedInstanceAdministrator,
34
+ ManagedInstanceAdvancedThreatProtection: () => ManagedInstanceAdvancedThreatProtection,
35
+ ManagedInstanceAzureAdOnlyAuthentication: () => ManagedInstanceAzureAdOnlyAuthentication,
36
+ ManagedInstanceDatabase: () => ManagedInstanceDatabase,
37
+ ManagedInstanceDatabaseLedgerDigestUpload: () => ManagedInstanceDatabaseLedgerDigestUpload,
38
+ ManagedInstanceDatabaseSecurityAlertPolicy: () => ManagedInstanceDatabaseSecurityAlertPolicy,
39
+ ManagedInstanceDatabaseTransparentDataEncryption: () => ManagedInstanceDatabaseTransparentDataEncryption,
40
+ ManagedInstanceDnsAlias: () => ManagedInstanceDnsAlias,
41
+ ManagedInstanceEncryptionProtector: () => ManagedInstanceEncryptionProtector,
42
+ ManagedInstanceKey: () => ManagedInstanceKey,
43
+ ManagedInstanceLongTermRetentionPolicy: () => ManagedInstanceLongTermRetentionPolicy,
44
+ ManagedInstanceOperation: () => ManagedInstanceOperation,
45
+ ManagedInstancePrivateEndpointConnection: () => ManagedInstancePrivateEndpointConnection,
46
+ ManagedInstancePrivateLink: () => ManagedInstancePrivateLink,
47
+ ManagedInstanceSecurityAlertPolicy: () => ManagedInstanceSecurityAlertPolicy,
48
+ ManagedInstanceServerTrustCertificate: () => ManagedInstanceServerTrustCertificate,
49
+ ManagedInstanceVulnerabilityAssessment: () => ManagedInstanceVulnerabilityAssessment,
50
+ ManagedRestorableDroppedDbBackupShortTermRetentionPolicy: () => ManagedRestorableDroppedDbBackupShortTermRetentionPolicy,
51
+ Query: () => Query,
52
+ RecoverableManagedDatabase: () => RecoverableManagedDatabase,
53
+ RestorableDroppedManagedDatabase: () => RestorableDroppedManagedDatabase,
54
+ RestoreDetail: () => RestoreDetail,
55
+ ServerConfigurationOption: () => ServerConfigurationOption,
56
+ SqlAgent: () => SqlAgent,
57
+ StartStopManagedInstanceSchedule: () => StartStopManagedInstanceSchedule
58
+ });
59
+ module.exports = __toCommonJS(managed_instance_exports);
60
+ var import_provisioning_core = require("@azure/provisioning-core");
61
+ var import_internal = require("@azure/provisioning-core/internal");
62
+ var import_types = require("./types.js");
63
+ const API_VERSION = "2025-01-01";
64
+ class ManagedInstanceAdministrator extends import_provisioning_core.Resource {
65
+ static resourceType = "Microsoft.Sql/managedInstances/administrators";
66
+ static apiVersion = API_VERSION;
67
+ static namingRules = {
68
+ abbreviation: "a",
69
+ pattern: {
70
+ regex: ""
71
+ },
72
+ scope: "parent"
73
+ };
74
+ static {
75
+ this.registerShape(
76
+ (0, import_internal.createFlatModelShape)({
77
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
78
+ properties: {
79
+ armPath: ["properties"],
80
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceAdministratorPropertiesShape)
81
+ }
82
+ })
83
+ );
84
+ this.register();
85
+ }
86
+ /**
87
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
88
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
89
+ *
90
+ * @param props - Resource properties to normalize for the base constructor.
91
+ */
92
+ static buildResourceProps(props) {
93
+ return {
94
+ ...props,
95
+ type: ManagedInstanceAdministrator.resourceType,
96
+ apiVersion: ManagedInstanceAdministrator.apiVersion
97
+ };
98
+ }
99
+ constructor(context, props, options) {
100
+ super(context, ManagedInstanceAdministrator.buildResourceProps(props), options);
101
+ }
102
+ get name() {
103
+ return this.expr("name");
104
+ }
105
+ set name(value) {
106
+ this.setProperty("name", value);
107
+ }
108
+ /**
109
+ * Resource properties.
110
+ */
111
+ get properties() {
112
+ return this.expr("properties");
113
+ }
114
+ set properties(value) {
115
+ this.setProperty("properties", value);
116
+ }
117
+ }
118
+ class ManagedInstanceAdvancedThreatProtection extends import_provisioning_core.Resource {
119
+ static resourceType = "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings";
120
+ static apiVersion = API_VERSION;
121
+ static namingRules = {
122
+ abbreviation: "atps",
123
+ pattern: {
124
+ regex: ""
125
+ },
126
+ scope: "parent"
127
+ };
128
+ static {
129
+ this.registerShape(
130
+ (0, import_internal.createFlatModelShape)({
131
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
132
+ properties: {
133
+ armPath: ["properties"],
134
+ value: (0, import_internal.createDeferredShape)(() => import_types.advancedThreatProtectionPropertiesShape)
135
+ }
136
+ })
137
+ );
138
+ this.register();
139
+ }
140
+ /**
141
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
142
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
143
+ *
144
+ * @param props - Resource properties to normalize for the base constructor.
145
+ */
146
+ static buildResourceProps(props) {
147
+ return {
148
+ ...props,
149
+ type: ManagedInstanceAdvancedThreatProtection.resourceType,
150
+ apiVersion: ManagedInstanceAdvancedThreatProtection.apiVersion
151
+ };
152
+ }
153
+ constructor(context, props, options) {
154
+ super(context, ManagedInstanceAdvancedThreatProtection.buildResourceProps(props), options);
155
+ }
156
+ /**
157
+ * The name of the Advanced Threat Protection state.
158
+ */
159
+ get name() {
160
+ return this.expr("name");
161
+ }
162
+ set name(value) {
163
+ this.setProperty("name", value);
164
+ }
165
+ /**
166
+ * Resource properties.
167
+ */
168
+ get properties() {
169
+ return this.expr("properties");
170
+ }
171
+ set properties(value) {
172
+ this.setProperty("properties", value);
173
+ }
174
+ }
175
+ class ManagedInstanceAzureAdOnlyAuthentication extends import_provisioning_core.Resource {
176
+ static resourceType = "Microsoft.Sql/managedInstances/azureADOnlyAuthentications";
177
+ static apiVersion = API_VERSION;
178
+ static namingRules = {
179
+ abbreviation: "aaa",
180
+ pattern: {
181
+ regex: ""
182
+ },
183
+ scope: "parent"
184
+ };
185
+ static {
186
+ this.registerShape(
187
+ (0, import_internal.createFlatModelShape)({
188
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
189
+ properties: {
190
+ armPath: ["properties"],
191
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceAzureAdOnlyAuthPropertiesShape)
192
+ }
193
+ })
194
+ );
195
+ this.register();
196
+ }
197
+ /**
198
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
199
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
200
+ *
201
+ * @param props - Resource properties to normalize for the base constructor.
202
+ */
203
+ static buildResourceProps(props) {
204
+ return {
205
+ ...props,
206
+ type: ManagedInstanceAzureAdOnlyAuthentication.resourceType,
207
+ apiVersion: ManagedInstanceAzureAdOnlyAuthentication.apiVersion
208
+ };
209
+ }
210
+ constructor(context, props, options) {
211
+ super(context, ManagedInstanceAzureAdOnlyAuthentication.buildResourceProps(props), options);
212
+ }
213
+ /**
214
+ * The name of server azure active directory only authentication.
215
+ */
216
+ get name() {
217
+ return this.expr("name");
218
+ }
219
+ set name(value) {
220
+ this.setProperty("name", value);
221
+ }
222
+ /**
223
+ * Resource properties.
224
+ */
225
+ get properties() {
226
+ return this.expr("properties");
227
+ }
228
+ set properties(value) {
229
+ this.setProperty("properties", value);
230
+ }
231
+ }
232
+ class ManagedDatabaseAdvancedThreatProtection extends import_provisioning_core.Resource {
233
+ static resourceType = "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings";
234
+ static apiVersion = API_VERSION;
235
+ static namingRules = {
236
+ abbreviation: "atps",
237
+ pattern: {
238
+ regex: ""
239
+ },
240
+ scope: "parent"
241
+ };
242
+ static {
243
+ this.registerShape(
244
+ (0, import_internal.createFlatModelShape)({
245
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
246
+ properties: {
247
+ armPath: ["properties"],
248
+ value: (0, import_internal.createDeferredShape)(() => import_types.advancedThreatProtectionPropertiesShape)
249
+ }
250
+ })
251
+ );
252
+ this.register();
253
+ }
254
+ /**
255
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
256
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
257
+ *
258
+ * @param props - Resource properties to normalize for the base constructor.
259
+ */
260
+ static buildResourceProps(props) {
261
+ return {
262
+ ...props,
263
+ type: ManagedDatabaseAdvancedThreatProtection.resourceType,
264
+ apiVersion: ManagedDatabaseAdvancedThreatProtection.apiVersion
265
+ };
266
+ }
267
+ constructor(context, props, options) {
268
+ super(context, ManagedDatabaseAdvancedThreatProtection.buildResourceProps(props), options);
269
+ }
270
+ /**
271
+ * The name of the Advanced Threat Protection state.
272
+ */
273
+ get name() {
274
+ return this.expr("name");
275
+ }
276
+ set name(value) {
277
+ this.setProperty("name", value);
278
+ }
279
+ /**
280
+ * Resource properties.
281
+ */
282
+ get properties() {
283
+ return this.expr("properties");
284
+ }
285
+ set properties(value) {
286
+ this.setProperty("properties", value);
287
+ }
288
+ }
289
+ class ManagedInstanceLongTermRetentionPolicy extends import_provisioning_core.Resource {
290
+ static resourceType = "Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies";
291
+ static apiVersion = API_VERSION;
292
+ static namingRules = {
293
+ abbreviation: "bltrp",
294
+ pattern: {
295
+ regex: ""
296
+ },
297
+ scope: "parent"
298
+ };
299
+ static {
300
+ this.registerShape(
301
+ (0, import_internal.createFlatModelShape)({
302
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
303
+ properties: {
304
+ armPath: ["properties"],
305
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceLongTermRetentionPolicyPropertiesShape)
306
+ }
307
+ })
308
+ );
309
+ this.register();
310
+ }
311
+ /**
312
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
313
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
314
+ *
315
+ * @param props - Resource properties to normalize for the base constructor.
316
+ */
317
+ static buildResourceProps(props) {
318
+ return {
319
+ ...props,
320
+ type: ManagedInstanceLongTermRetentionPolicy.resourceType,
321
+ apiVersion: ManagedInstanceLongTermRetentionPolicy.apiVersion
322
+ };
323
+ }
324
+ constructor(context, props, options) {
325
+ super(context, ManagedInstanceLongTermRetentionPolicy.buildResourceProps(props), options);
326
+ }
327
+ /**
328
+ * The policy name. Should always be Default.
329
+ */
330
+ get name() {
331
+ return this.expr("name");
332
+ }
333
+ set name(value) {
334
+ this.setProperty("name", value);
335
+ }
336
+ /**
337
+ * Resource properties.
338
+ */
339
+ get properties() {
340
+ return this.expr("properties");
341
+ }
342
+ set properties(value) {
343
+ this.setProperty("properties", value);
344
+ }
345
+ }
346
+ class ManagedBackupShortTermRetentionPolicy extends import_provisioning_core.Resource {
347
+ static resourceType = "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies";
348
+ static apiVersion = API_VERSION;
349
+ static namingRules = {
350
+ abbreviation: "bstrp",
351
+ scope: "parent"
352
+ };
353
+ static {
354
+ this.registerShape(
355
+ (0, import_internal.createFlatModelShape)({
356
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
357
+ properties: {
358
+ armPath: ["properties"],
359
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedBackupShortTermRetentionPolicyPropertiesShape)
360
+ }
361
+ })
362
+ );
363
+ this.register();
364
+ }
365
+ /**
366
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
367
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
368
+ *
369
+ * @param props - Resource properties to normalize for the base constructor.
370
+ */
371
+ static buildResourceProps(props) {
372
+ return {
373
+ ...props,
374
+ type: ManagedBackupShortTermRetentionPolicy.resourceType,
375
+ apiVersion: ManagedBackupShortTermRetentionPolicy.apiVersion
376
+ };
377
+ }
378
+ constructor(context, props, options) {
379
+ super(context, ManagedBackupShortTermRetentionPolicy.buildResourceProps(props), options);
380
+ }
381
+ /**
382
+ * The policy name.
383
+ */
384
+ get name() {
385
+ return this.expr("name");
386
+ }
387
+ set name(value) {
388
+ this.setProperty("name", value);
389
+ }
390
+ /**
391
+ * Resource properties.
392
+ */
393
+ get properties() {
394
+ return this.expr("properties");
395
+ }
396
+ set properties(value) {
397
+ this.setProperty("properties", value);
398
+ }
399
+ }
400
+ class ManagedInstanceDatabaseLedgerDigestUpload extends import_provisioning_core.Resource {
401
+ static resourceType = "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads";
402
+ static apiVersion = API_VERSION;
403
+ static namingRules = {
404
+ abbreviation: "ldu",
405
+ pattern: {
406
+ regex: ""
407
+ },
408
+ scope: "parent"
409
+ };
410
+ static {
411
+ this.registerShape(
412
+ (0, import_internal.createFlatModelShape)({
413
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
414
+ properties: {
415
+ armPath: ["properties"],
416
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedLedgerDigestUploadsPropertiesShape)
417
+ }
418
+ })
419
+ );
420
+ this.register();
421
+ }
422
+ /**
423
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
424
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
425
+ *
426
+ * @param props - Resource properties to normalize for the base constructor.
427
+ */
428
+ static buildResourceProps(props) {
429
+ return {
430
+ ...props,
431
+ type: ManagedInstanceDatabaseLedgerDigestUpload.resourceType,
432
+ apiVersion: ManagedInstanceDatabaseLedgerDigestUpload.apiVersion
433
+ };
434
+ }
435
+ constructor(context, props, options) {
436
+ super(context, ManagedInstanceDatabaseLedgerDigestUpload.buildResourceProps(props), options);
437
+ }
438
+ get name() {
439
+ return this.expr("name");
440
+ }
441
+ set name(value) {
442
+ this.setProperty("name", value);
443
+ }
444
+ /**
445
+ * Resource properties.
446
+ */
447
+ get properties() {
448
+ return this.expr("properties");
449
+ }
450
+ set properties(value) {
451
+ this.setProperty("properties", value);
452
+ }
453
+ }
454
+ class Query extends import_provisioning_core.Resource {
455
+ static resourceType = "Microsoft.Sql/managedInstances/databases/queries";
456
+ static apiVersion = API_VERSION;
457
+ static namingRules = {
458
+ abbreviation: "q",
459
+ pattern: {
460
+ regex: ""
461
+ },
462
+ scope: "parent"
463
+ };
464
+ static {
465
+ this.registerShape(
466
+ (0, import_internal.createFlatModelShape)({
467
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
468
+ properties: {
469
+ armPath: ["properties"],
470
+ value: (0, import_internal.createDeferredShape)(() => import_types.queryPropertiesShape),
471
+ readOnly: true
472
+ }
473
+ })
474
+ );
475
+ this.register();
476
+ }
477
+ /**
478
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
479
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
480
+ *
481
+ * @param props - Resource properties to normalize for the base constructor.
482
+ */
483
+ static buildResourceProps(props) {
484
+ return {
485
+ ...props,
486
+ type: Query.resourceType,
487
+ apiVersion: Query.apiVersion
488
+ };
489
+ }
490
+ constructor(context, props, options) {
491
+ super(context, Query.buildResourceProps(props), options);
492
+ }
493
+ get name() {
494
+ return this.expr("name");
495
+ }
496
+ set name(value) {
497
+ this.setProperty("name", value);
498
+ }
499
+ /**
500
+ * Resource properties.
501
+ */
502
+ get properties() {
503
+ return this.expr("properties");
504
+ }
505
+ }
506
+ class RestoreDetail extends import_provisioning_core.Resource {
507
+ static resourceType = "Microsoft.Sql/managedInstances/databases/restoreDetails";
508
+ static apiVersion = API_VERSION;
509
+ static namingRules = {
510
+ abbreviation: "rd",
511
+ pattern: {
512
+ regex: ""
513
+ },
514
+ scope: "parent"
515
+ };
516
+ static {
517
+ this.registerShape(
518
+ (0, import_internal.createFlatModelShape)({
519
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
520
+ properties: {
521
+ armPath: ["properties"],
522
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedDatabaseRestoreDetailsPropertiesShape),
523
+ readOnly: true
524
+ }
525
+ })
526
+ );
527
+ this.register();
528
+ }
529
+ /**
530
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
531
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
532
+ *
533
+ * @param props - Resource properties to normalize for the base constructor.
534
+ */
535
+ static buildResourceProps(props) {
536
+ return {
537
+ ...props,
538
+ type: RestoreDetail.resourceType,
539
+ apiVersion: RestoreDetail.apiVersion
540
+ };
541
+ }
542
+ constructor(context, props, options) {
543
+ super(context, RestoreDetail.buildResourceProps(props), options);
544
+ }
545
+ /**
546
+ * The name of the restore details to retrieve.
547
+ */
548
+ get name() {
549
+ return this.expr("name");
550
+ }
551
+ set name(value) {
552
+ this.setProperty("name", value);
553
+ }
554
+ /**
555
+ * Resource properties.
556
+ */
557
+ get properties() {
558
+ return this.expr("properties");
559
+ }
560
+ }
561
+ class ManagedDatabaseSensitivityLabel extends import_provisioning_core.Resource {
562
+ static resourceType = "Microsoft.Sql/managedInstances/databases/schemas/tables/columns/sensitivityLabels";
563
+ static apiVersion = API_VERSION;
564
+ static namingRules = {
565
+ abbreviation: "sl",
566
+ scope: "parent"
567
+ };
568
+ static {
569
+ this.registerShape(
570
+ (0, import_internal.createFlatModelShape)({
571
+ managedBy: { armPath: ["managedBy"], value: (0, import_internal.createStringShape)(), readOnly: true },
572
+ name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
573
+ properties: {
574
+ armPath: ["properties"],
575
+ value: (0, import_internal.createDeferredShape)(() => import_types.sensitivityLabelPropertiesShape)
576
+ }
577
+ })
578
+ );
579
+ this.register();
580
+ }
581
+ /**
582
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
583
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
584
+ *
585
+ * @param props - Resource properties to normalize for the base constructor.
586
+ */
587
+ static buildResourceProps(props) {
588
+ return {
589
+ ...props,
590
+ type: ManagedDatabaseSensitivityLabel.resourceType,
591
+ apiVersion: ManagedDatabaseSensitivityLabel.apiVersion
592
+ };
593
+ }
594
+ constructor(context, props, options) {
595
+ super(context, ManagedDatabaseSensitivityLabel.buildResourceProps(props), options);
596
+ }
597
+ /**
598
+ * Resource that manages the sensitivity label.
599
+ */
600
+ get managedBy() {
601
+ return this.expr("managedBy");
602
+ }
603
+ /**
604
+ * The source of the sensitivity label.
605
+ */
606
+ get name() {
607
+ return this.expr("name");
608
+ }
609
+ set name(value) {
610
+ this.setProperty("name", value);
611
+ }
612
+ /**
613
+ * Resource properties.
614
+ */
615
+ get properties() {
616
+ return this.expr("properties");
617
+ }
618
+ set properties(value) {
619
+ this.setProperty("properties", value);
620
+ }
621
+ }
622
+ class ManagedDatabaseColumn extends import_provisioning_core.Resource {
623
+ static resourceType = "Microsoft.Sql/managedInstances/databases/schemas/tables/columns";
624
+ static apiVersion = API_VERSION;
625
+ static namingRules = {
626
+ abbreviation: "c",
627
+ scope: "parent"
628
+ };
629
+ static {
630
+ this.registerShape(
631
+ (0, import_internal.createFlatModelShape)({
632
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
633
+ properties: {
634
+ armPath: ["properties"],
635
+ value: (0, import_internal.createDeferredShape)(() => import_types.databaseColumnPropertiesShape),
636
+ readOnly: true
637
+ }
638
+ })
639
+ );
640
+ this.register();
641
+ }
642
+ /**
643
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
644
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
645
+ *
646
+ * @param props - Resource properties to normalize for the base constructor.
647
+ */
648
+ static buildResourceProps(props) {
649
+ return {
650
+ ...props,
651
+ type: ManagedDatabaseColumn.resourceType,
652
+ apiVersion: ManagedDatabaseColumn.apiVersion
653
+ };
654
+ }
655
+ constructor(context, props, options) {
656
+ super(context, ManagedDatabaseColumn.buildResourceProps(props), options);
657
+ }
658
+ /**
659
+ * The name of the column.
660
+ */
661
+ get name() {
662
+ return this.expr("name");
663
+ }
664
+ set name(value) {
665
+ this.setProperty("name", value);
666
+ }
667
+ /**
668
+ * Resource properties.
669
+ */
670
+ get properties() {
671
+ return this.expr("properties");
672
+ }
673
+ }
674
+ class ManagedDatabaseTable extends import_provisioning_core.Resource {
675
+ static resourceType = "Microsoft.Sql/managedInstances/databases/schemas/tables";
676
+ static apiVersion = API_VERSION;
677
+ static namingRules = {
678
+ abbreviation: "t",
679
+ scope: "parent"
680
+ };
681
+ static {
682
+ this.registerShape(
683
+ (0, import_internal.createFlatModelShape)({
684
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
685
+ properties: {
686
+ armPath: ["properties"],
687
+ value: (0, import_internal.createDeferredShape)(() => import_types.databaseTablePropertiesShape),
688
+ readOnly: true
689
+ }
690
+ })
691
+ );
692
+ this.register();
693
+ }
694
+ /**
695
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
696
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
697
+ *
698
+ * @param props - Resource properties to normalize for the base constructor.
699
+ */
700
+ static buildResourceProps(props) {
701
+ return {
702
+ ...props,
703
+ type: ManagedDatabaseTable.resourceType,
704
+ apiVersion: ManagedDatabaseTable.apiVersion
705
+ };
706
+ }
707
+ constructor(context, props, options) {
708
+ super(context, ManagedDatabaseTable.buildResourceProps(props), options);
709
+ }
710
+ /**
711
+ * The name of the table.
712
+ */
713
+ get name() {
714
+ return this.expr("name");
715
+ }
716
+ set name(value) {
717
+ this.setProperty("name", value);
718
+ }
719
+ /**
720
+ * Resource properties.
721
+ */
722
+ get properties() {
723
+ return this.expr("properties");
724
+ }
725
+ }
726
+ class ManagedDatabaseSchema extends import_provisioning_core.Resource {
727
+ static resourceType = "Microsoft.Sql/managedInstances/databases/schemas";
728
+ static apiVersion = API_VERSION;
729
+ static namingRules = {
730
+ abbreviation: "s",
731
+ scope: "parent"
732
+ };
733
+ static {
734
+ this.registerShape(
735
+ (0, import_internal.createFlatModelShape)({
736
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
737
+ properties: { armPath: ["properties"], value: (0, import_internal.createAnyShape)(), readOnly: true }
738
+ })
739
+ );
740
+ this.register();
741
+ }
742
+ /**
743
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
744
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
745
+ *
746
+ * @param props - Resource properties to normalize for the base constructor.
747
+ */
748
+ static buildResourceProps(props) {
749
+ return {
750
+ ...props,
751
+ type: ManagedDatabaseSchema.resourceType,
752
+ apiVersion: ManagedDatabaseSchema.apiVersion
753
+ };
754
+ }
755
+ constructor(context, props, options) {
756
+ super(context, ManagedDatabaseSchema.buildResourceProps(props), options);
757
+ }
758
+ /**
759
+ * The name of the schema.
760
+ */
761
+ get name() {
762
+ return this.expr("name");
763
+ }
764
+ set name(value) {
765
+ this.setProperty("name", value);
766
+ }
767
+ /**
768
+ * The resource-specific properties for this resource.
769
+ */
770
+ get properties() {
771
+ return this.expr("properties");
772
+ }
773
+ }
774
+ class ManagedInstanceDatabaseSecurityAlertPolicy extends import_provisioning_core.Resource {
775
+ static resourceType = "Microsoft.Sql/managedInstances/databases/securityAlertPolicies";
776
+ static apiVersion = API_VERSION;
777
+ static namingRules = {
778
+ abbreviation: "sap",
779
+ pattern: {
780
+ regex: ""
781
+ },
782
+ scope: "parent"
783
+ };
784
+ static {
785
+ this.registerShape(
786
+ (0, import_internal.createFlatModelShape)({
787
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
788
+ properties: {
789
+ armPath: ["properties"],
790
+ value: (0, import_internal.createDeferredShape)(() => import_types.securityAlertPolicyPropertiesShape)
791
+ }
792
+ })
793
+ );
794
+ this.register();
795
+ }
796
+ /**
797
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
798
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
799
+ *
800
+ * @param props - Resource properties to normalize for the base constructor.
801
+ */
802
+ static buildResourceProps(props) {
803
+ return {
804
+ ...props,
805
+ type: ManagedInstanceDatabaseSecurityAlertPolicy.resourceType,
806
+ apiVersion: ManagedInstanceDatabaseSecurityAlertPolicy.apiVersion
807
+ };
808
+ }
809
+ constructor(context, props, options) {
810
+ super(context, ManagedInstanceDatabaseSecurityAlertPolicy.buildResourceProps(props), options);
811
+ }
812
+ /**
813
+ * The name of the security alert policy.
814
+ */
815
+ get name() {
816
+ return this.expr("name");
817
+ }
818
+ set name(value) {
819
+ this.setProperty("name", value);
820
+ }
821
+ /**
822
+ * Resource properties.
823
+ */
824
+ get properties() {
825
+ return this.expr("properties");
826
+ }
827
+ set properties(value) {
828
+ this.setProperty("properties", value);
829
+ }
830
+ }
831
+ class ManagedInstanceDatabaseTransparentDataEncryption extends import_provisioning_core.Resource {
832
+ static resourceType = "Microsoft.Sql/managedInstances/databases/transparentDataEncryption";
833
+ static apiVersion = API_VERSION;
834
+ static namingRules = {
835
+ abbreviation: "tde",
836
+ pattern: {
837
+ regex: ""
838
+ },
839
+ scope: "parent"
840
+ };
841
+ static {
842
+ this.registerShape(
843
+ (0, import_internal.createFlatModelShape)({
844
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
845
+ properties: {
846
+ armPath: ["properties"],
847
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedTransparentDataEncryptionPropertiesShape)
848
+ }
849
+ })
850
+ );
851
+ this.register();
852
+ }
853
+ /**
854
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
855
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
856
+ *
857
+ * @param props - Resource properties to normalize for the base constructor.
858
+ */
859
+ static buildResourceProps(props) {
860
+ return {
861
+ ...props,
862
+ type: ManagedInstanceDatabaseTransparentDataEncryption.resourceType,
863
+ apiVersion: ManagedInstanceDatabaseTransparentDataEncryption.apiVersion
864
+ };
865
+ }
866
+ constructor(context, props, options) {
867
+ super(
868
+ context,
869
+ ManagedInstanceDatabaseTransparentDataEncryption.buildResourceProps(props),
870
+ options
871
+ );
872
+ }
873
+ /**
874
+ * The name of the transparent data encryption configuration.
875
+ */
876
+ get name() {
877
+ return this.expr("name");
878
+ }
879
+ set name(value) {
880
+ this.setProperty("name", value);
881
+ }
882
+ /**
883
+ * Resource properties.
884
+ */
885
+ get properties() {
886
+ return this.expr("properties");
887
+ }
888
+ set properties(value) {
889
+ this.setProperty("properties", value);
890
+ }
891
+ }
892
+ class ManagedDatabaseVulnerabilityAssessmentRuleBaseline extends import_provisioning_core.Resource {
893
+ static resourceType = "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines";
894
+ static apiVersion = API_VERSION;
895
+ static namingRules = {
896
+ abbreviation: "b",
897
+ nameSegments: 2,
898
+ scope: "parent"
899
+ };
900
+ static {
901
+ this.registerShape(
902
+ (0, import_internal.createFlatModelShape)({
903
+ name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
904
+ properties: {
905
+ armPath: ["properties"],
906
+ value: (0, import_internal.createDeferredShape)(
907
+ () => import_types.databaseVulnerabilityAssessmentRuleBaselinePropertiesShape
908
+ )
909
+ }
910
+ })
911
+ );
912
+ this.register();
913
+ }
914
+ /**
915
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
916
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
917
+ *
918
+ * @param props - Resource properties to normalize for the base constructor.
919
+ */
920
+ static buildResourceProps(props) {
921
+ return {
922
+ ...props,
923
+ type: ManagedDatabaseVulnerabilityAssessmentRuleBaseline.resourceType,
924
+ apiVersion: ManagedDatabaseVulnerabilityAssessmentRuleBaseline.apiVersion
925
+ };
926
+ }
927
+ constructor(context, props, options) {
928
+ super(
929
+ context,
930
+ ManagedDatabaseVulnerabilityAssessmentRuleBaseline.buildResourceProps(props),
931
+ options
932
+ );
933
+ }
934
+ /**
935
+ * The name of the vulnerability assessment rule baseline (default implies a baseline on a
936
+ * database level rule and master for server level rule).
937
+ */
938
+ get name() {
939
+ return this.expr("name");
940
+ }
941
+ set name(value) {
942
+ this.setProperty("name", value);
943
+ }
944
+ /**
945
+ * Resource properties.
946
+ */
947
+ get properties() {
948
+ return this.expr("properties");
949
+ }
950
+ set properties(value) {
951
+ this.setProperty("properties", value);
952
+ }
953
+ }
954
+ class ManagedDatabaseVulnerabilityAssessmentScan extends import_provisioning_core.Resource {
955
+ static resourceType = "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/scans";
956
+ static apiVersion = API_VERSION;
957
+ static namingRules = {
958
+ abbreviation: "s",
959
+ scope: "parent"
960
+ };
961
+ static {
962
+ this.registerShape(
963
+ (0, import_internal.createFlatModelShape)({
964
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
965
+ properties: {
966
+ armPath: ["properties"],
967
+ value: (0, import_internal.createDeferredShape)(() => import_types.vulnerabilityAssessmentScanRecordPropertiesShape),
968
+ readOnly: true
969
+ }
970
+ })
971
+ );
972
+ this.register();
973
+ }
974
+ /**
975
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
976
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
977
+ *
978
+ * @param props - Resource properties to normalize for the base constructor.
979
+ */
980
+ static buildResourceProps(props) {
981
+ return {
982
+ ...props,
983
+ type: ManagedDatabaseVulnerabilityAssessmentScan.resourceType,
984
+ apiVersion: ManagedDatabaseVulnerabilityAssessmentScan.apiVersion
985
+ };
986
+ }
987
+ constructor(context, props, options) {
988
+ super(context, ManagedDatabaseVulnerabilityAssessmentScan.buildResourceProps(props), options);
989
+ }
990
+ /**
991
+ * The vulnerability assessment scan Id of the scan to retrieve.
992
+ */
993
+ get name() {
994
+ return this.expr("name");
995
+ }
996
+ set name(value) {
997
+ this.setProperty("name", value);
998
+ }
999
+ /**
1000
+ * Resource properties.
1001
+ */
1002
+ get properties() {
1003
+ return this.expr("properties");
1004
+ }
1005
+ }
1006
+ class ManagedDatabaseVulnerabilityAssessment extends import_provisioning_core.Resource {
1007
+ static resourceType = "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments";
1008
+ static apiVersion = API_VERSION;
1009
+ static namingRules = {
1010
+ abbreviation: "va",
1011
+ scope: "parent"
1012
+ };
1013
+ static {
1014
+ this.registerShape(
1015
+ (0, import_internal.createFlatModelShape)({
1016
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1017
+ properties: {
1018
+ armPath: ["properties"],
1019
+ value: (0, import_internal.createDeferredShape)(() => import_types.databaseVulnerabilityAssessmentPropertiesShape)
1020
+ }
1021
+ })
1022
+ );
1023
+ this.register();
1024
+ }
1025
+ /**
1026
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1027
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1028
+ *
1029
+ * @param props - Resource properties to normalize for the base constructor.
1030
+ */
1031
+ static buildResourceProps(props) {
1032
+ return {
1033
+ ...props,
1034
+ type: ManagedDatabaseVulnerabilityAssessment.resourceType,
1035
+ apiVersion: ManagedDatabaseVulnerabilityAssessment.apiVersion
1036
+ };
1037
+ }
1038
+ constructor(context, props, options) {
1039
+ super(context, ManagedDatabaseVulnerabilityAssessment.buildResourceProps(props), options);
1040
+ }
1041
+ /**
1042
+ * The name of the vulnerability assessment.
1043
+ */
1044
+ get name() {
1045
+ return this.expr("name");
1046
+ }
1047
+ set name(value) {
1048
+ this.setProperty("name", value);
1049
+ }
1050
+ /**
1051
+ * Resource properties.
1052
+ */
1053
+ get properties() {
1054
+ return this.expr("properties");
1055
+ }
1056
+ set properties(value) {
1057
+ this.setProperty("properties", value);
1058
+ }
1059
+ }
1060
+ class ManagedInstanceDatabase extends import_provisioning_core.Resource {
1061
+ static resourceType = "Microsoft.Sql/managedInstances/databases";
1062
+ static apiVersion = API_VERSION;
1063
+ static namingRules = {
1064
+ abbreviation: "d",
1065
+ pattern: {
1066
+ regex: ""
1067
+ },
1068
+ scope: "parent"
1069
+ };
1070
+ static {
1071
+ this.registerShape(
1072
+ (0, import_internal.createFlatModelShape)({
1073
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
1074
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1075
+ properties: {
1076
+ armPath: ["properties"],
1077
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedDatabasePropertiesShape)
1078
+ },
1079
+ tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
1080
+ })
1081
+ );
1082
+ this.register();
1083
+ }
1084
+ /**
1085
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1086
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1087
+ *
1088
+ * @param props - Resource properties to normalize for the base constructor.
1089
+ */
1090
+ static buildResourceProps(props) {
1091
+ return {
1092
+ ...props,
1093
+ type: ManagedInstanceDatabase.resourceType,
1094
+ apiVersion: ManagedInstanceDatabase.apiVersion
1095
+ };
1096
+ }
1097
+ constructor(context, props, options) {
1098
+ super(context, ManagedInstanceDatabase.buildResourceProps(props), options);
1099
+ }
1100
+ /**
1101
+ * The geo-location where the resource lives
1102
+ */
1103
+ get location() {
1104
+ return this.expr("location");
1105
+ }
1106
+ set location(value) {
1107
+ this.setProperty("location", value);
1108
+ }
1109
+ /**
1110
+ * The name of the database.
1111
+ */
1112
+ get name() {
1113
+ return this.expr("name");
1114
+ }
1115
+ set name(value) {
1116
+ this.setProperty("name", value);
1117
+ }
1118
+ /**
1119
+ * Resource properties.
1120
+ */
1121
+ get properties() {
1122
+ return this.expr("properties");
1123
+ }
1124
+ set properties(value) {
1125
+ this.setProperty("properties", value);
1126
+ }
1127
+ /**
1128
+ * Resource tags.
1129
+ */
1130
+ get tags() {
1131
+ return this.expr("tags");
1132
+ }
1133
+ set tags(value) {
1134
+ this.setProperty("tags", value);
1135
+ }
1136
+ }
1137
+ class DistributedAvailabilityGroup extends import_provisioning_core.Resource {
1138
+ static resourceType = "Microsoft.Sql/managedInstances/distributedAvailabilityGroups";
1139
+ static apiVersion = API_VERSION;
1140
+ static namingRules = {
1141
+ abbreviation: "dag",
1142
+ pattern: {
1143
+ regex: ""
1144
+ },
1145
+ scope: "parent"
1146
+ };
1147
+ static {
1148
+ this.registerShape(
1149
+ (0, import_internal.createFlatModelShape)({
1150
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1151
+ properties: {
1152
+ armPath: ["properties"],
1153
+ value: (0, import_internal.createDeferredShape)(() => import_types.distributedAvailabilityGroupPropertiesShape)
1154
+ }
1155
+ })
1156
+ );
1157
+ this.register();
1158
+ }
1159
+ /**
1160
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1161
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1162
+ *
1163
+ * @param props - Resource properties to normalize for the base constructor.
1164
+ */
1165
+ static buildResourceProps(props) {
1166
+ return {
1167
+ ...props,
1168
+ type: DistributedAvailabilityGroup.resourceType,
1169
+ apiVersion: DistributedAvailabilityGroup.apiVersion
1170
+ };
1171
+ }
1172
+ constructor(context, props, options) {
1173
+ super(context, DistributedAvailabilityGroup.buildResourceProps(props), options);
1174
+ }
1175
+ /**
1176
+ * The distributed availability group name.
1177
+ */
1178
+ get name() {
1179
+ return this.expr("name");
1180
+ }
1181
+ set name(value) {
1182
+ this.setProperty("name", value);
1183
+ }
1184
+ /**
1185
+ * Resource properties.
1186
+ */
1187
+ get properties() {
1188
+ return this.expr("properties");
1189
+ }
1190
+ set properties(value) {
1191
+ this.setProperty("properties", value);
1192
+ }
1193
+ }
1194
+ class ManagedInstanceDnsAlias extends import_provisioning_core.Resource {
1195
+ static resourceType = "Microsoft.Sql/managedInstances/dnsAliases";
1196
+ static apiVersion = API_VERSION;
1197
+ static namingRules = {
1198
+ abbreviation: "da",
1199
+ pattern: {
1200
+ regex: ""
1201
+ },
1202
+ scope: "parent"
1203
+ };
1204
+ static {
1205
+ this.registerShape(
1206
+ (0, import_internal.createFlatModelShape)({
1207
+ createDnsRecord: { armPath: ["createDnsRecord"], value: (0, import_internal.createBooleanShape)() },
1208
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1209
+ properties: {
1210
+ armPath: ["properties"],
1211
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedServerDnsAliasPropertiesShape),
1212
+ readOnly: true
1213
+ }
1214
+ })
1215
+ );
1216
+ this.register();
1217
+ }
1218
+ /**
1219
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1220
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1221
+ *
1222
+ * @param props - Resource properties to normalize for the base constructor.
1223
+ */
1224
+ static buildResourceProps(props) {
1225
+ return {
1226
+ ...props,
1227
+ type: ManagedInstanceDnsAlias.resourceType,
1228
+ apiVersion: ManagedInstanceDnsAlias.apiVersion
1229
+ };
1230
+ }
1231
+ constructor(context, props, options) {
1232
+ super(context, ManagedInstanceDnsAlias.buildResourceProps(props), options);
1233
+ }
1234
+ /**
1235
+ * Whether or not DNS record should be created for this alias.
1236
+ */
1237
+ get createDnsRecord() {
1238
+ return this.expr("createDnsRecord");
1239
+ }
1240
+ set createDnsRecord(value) {
1241
+ this.setProperty("createDnsRecord", value);
1242
+ }
1243
+ get name() {
1244
+ return this.expr("name");
1245
+ }
1246
+ set name(value) {
1247
+ this.setProperty("name", value);
1248
+ }
1249
+ /**
1250
+ * Resource properties.
1251
+ */
1252
+ get properties() {
1253
+ return this.expr("properties");
1254
+ }
1255
+ }
1256
+ class Dtc extends import_provisioning_core.Resource {
1257
+ static resourceType = "Microsoft.Sql/managedInstances/dtc";
1258
+ static apiVersion = API_VERSION;
1259
+ static namingRules = {
1260
+ abbreviation: "d",
1261
+ pattern: {
1262
+ regex: ""
1263
+ },
1264
+ scope: "parent"
1265
+ };
1266
+ static {
1267
+ this.registerShape(
1268
+ (0, import_internal.createFlatModelShape)({
1269
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1270
+ properties: {
1271
+ armPath: ["properties"],
1272
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceDtcPropertiesShape)
1273
+ }
1274
+ })
1275
+ );
1276
+ this.register();
1277
+ }
1278
+ /**
1279
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1280
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1281
+ *
1282
+ * @param props - Resource properties to normalize for the base constructor.
1283
+ */
1284
+ static buildResourceProps(props) {
1285
+ return {
1286
+ ...props,
1287
+ type: Dtc.resourceType,
1288
+ apiVersion: Dtc.apiVersion
1289
+ };
1290
+ }
1291
+ constructor(context, props, options) {
1292
+ super(context, Dtc.buildResourceProps(props), options);
1293
+ }
1294
+ /**
1295
+ * The name of the managed instance DTC.
1296
+ */
1297
+ get name() {
1298
+ return this.expr("name");
1299
+ }
1300
+ set name(value) {
1301
+ this.setProperty("name", value);
1302
+ }
1303
+ /**
1304
+ * Resource properties.
1305
+ */
1306
+ get properties() {
1307
+ return this.expr("properties");
1308
+ }
1309
+ set properties(value) {
1310
+ this.setProperty("properties", value);
1311
+ }
1312
+ }
1313
+ class ManagedInstanceEncryptionProtector extends import_provisioning_core.Resource {
1314
+ static resourceType = "Microsoft.Sql/managedInstances/encryptionProtector";
1315
+ static apiVersion = API_VERSION;
1316
+ static namingRules = {
1317
+ abbreviation: "ep",
1318
+ pattern: {
1319
+ regex: ""
1320
+ },
1321
+ scope: "parent"
1322
+ };
1323
+ static {
1324
+ this.registerShape(
1325
+ (0, import_internal.createFlatModelShape)({
1326
+ kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
1327
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1328
+ properties: {
1329
+ armPath: ["properties"],
1330
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceEncryptionProtectorPropertiesShape)
1331
+ }
1332
+ })
1333
+ );
1334
+ this.register();
1335
+ }
1336
+ /**
1337
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1338
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1339
+ *
1340
+ * @param props - Resource properties to normalize for the base constructor.
1341
+ */
1342
+ static buildResourceProps(props) {
1343
+ return {
1344
+ ...props,
1345
+ type: ManagedInstanceEncryptionProtector.resourceType,
1346
+ apiVersion: ManagedInstanceEncryptionProtector.apiVersion
1347
+ };
1348
+ }
1349
+ constructor(context, props, options) {
1350
+ super(context, ManagedInstanceEncryptionProtector.buildResourceProps(props), options);
1351
+ }
1352
+ /**
1353
+ * Kind of encryption protector. This is metadata used for the Azure portal experience.
1354
+ */
1355
+ get kind() {
1356
+ return this.expr("kind");
1357
+ }
1358
+ /**
1359
+ * The name of the encryption protector to be retrieved.
1360
+ */
1361
+ get name() {
1362
+ return this.expr("name");
1363
+ }
1364
+ set name(value) {
1365
+ this.setProperty("name", value);
1366
+ }
1367
+ /**
1368
+ * Resource properties.
1369
+ */
1370
+ get properties() {
1371
+ return this.expr("properties");
1372
+ }
1373
+ set properties(value) {
1374
+ this.setProperty("properties", value);
1375
+ }
1376
+ }
1377
+ class EndpointCertificate extends import_provisioning_core.Resource {
1378
+ static resourceType = "Microsoft.Sql/managedInstances/endpointCertificates";
1379
+ static apiVersion = API_VERSION;
1380
+ static namingRules = {
1381
+ abbreviation: "ec",
1382
+ pattern: {
1383
+ regex: ""
1384
+ },
1385
+ scope: "parent"
1386
+ };
1387
+ static {
1388
+ this.registerShape(
1389
+ (0, import_internal.createFlatModelShape)({
1390
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1391
+ properties: {
1392
+ armPath: ["properties"],
1393
+ value: (0, import_internal.createDeferredShape)(() => import_types.endpointCertificatePropertiesShape),
1394
+ readOnly: true
1395
+ }
1396
+ })
1397
+ );
1398
+ this.register();
1399
+ }
1400
+ /**
1401
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1402
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1403
+ *
1404
+ * @param props - Resource properties to normalize for the base constructor.
1405
+ */
1406
+ static buildResourceProps(props) {
1407
+ return {
1408
+ ...props,
1409
+ type: EndpointCertificate.resourceType,
1410
+ apiVersion: EndpointCertificate.apiVersion
1411
+ };
1412
+ }
1413
+ constructor(context, props, options) {
1414
+ super(context, EndpointCertificate.buildResourceProps(props), options);
1415
+ }
1416
+ /**
1417
+ * Type of the endpoint whose certificate the customer is looking for.
1418
+ */
1419
+ get name() {
1420
+ return this.expr("name");
1421
+ }
1422
+ set name(value) {
1423
+ this.setProperty("name", value);
1424
+ }
1425
+ /**
1426
+ * Resource properties.
1427
+ */
1428
+ get properties() {
1429
+ return this.expr("properties");
1430
+ }
1431
+ }
1432
+ class ManagedInstanceKey extends import_provisioning_core.Resource {
1433
+ static resourceType = "Microsoft.Sql/managedInstances/keys";
1434
+ static apiVersion = API_VERSION;
1435
+ static namingRules = {
1436
+ abbreviation: "k",
1437
+ pattern: {
1438
+ regex: ""
1439
+ },
1440
+ scope: "parent"
1441
+ };
1442
+ static {
1443
+ this.registerShape(
1444
+ (0, import_internal.createFlatModelShape)({
1445
+ kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
1446
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1447
+ properties: {
1448
+ armPath: ["properties"],
1449
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceKeyPropertiesShape)
1450
+ }
1451
+ })
1452
+ );
1453
+ this.register();
1454
+ }
1455
+ /**
1456
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1457
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1458
+ *
1459
+ * @param props - Resource properties to normalize for the base constructor.
1460
+ */
1461
+ static buildResourceProps(props) {
1462
+ return {
1463
+ ...props,
1464
+ type: ManagedInstanceKey.resourceType,
1465
+ apiVersion: ManagedInstanceKey.apiVersion
1466
+ };
1467
+ }
1468
+ constructor(context, props, options) {
1469
+ super(context, ManagedInstanceKey.buildResourceProps(props), options);
1470
+ }
1471
+ /**
1472
+ * Kind of encryption protector. This is metadata used for the Azure portal experience.
1473
+ */
1474
+ get kind() {
1475
+ return this.expr("kind");
1476
+ }
1477
+ /**
1478
+ * The name of the managed instance key to be retrieved.
1479
+ */
1480
+ get name() {
1481
+ return this.expr("name");
1482
+ }
1483
+ set name(value) {
1484
+ this.setProperty("name", value);
1485
+ }
1486
+ /**
1487
+ * Resource properties.
1488
+ */
1489
+ get properties() {
1490
+ return this.expr("properties");
1491
+ }
1492
+ set properties(value) {
1493
+ this.setProperty("properties", value);
1494
+ }
1495
+ }
1496
+ class ManagedInstanceOperation extends import_provisioning_core.Resource {
1497
+ static resourceType = "Microsoft.Sql/managedInstances/operations";
1498
+ static apiVersion = API_VERSION;
1499
+ static namingRules = {
1500
+ abbreviation: "o",
1501
+ pattern: {
1502
+ regex: ""
1503
+ },
1504
+ scope: "parent"
1505
+ };
1506
+ static {
1507
+ this.registerShape(
1508
+ (0, import_internal.createFlatModelShape)({
1509
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1510
+ properties: {
1511
+ armPath: ["properties"],
1512
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceOperationPropertiesShape),
1513
+ readOnly: true
1514
+ }
1515
+ })
1516
+ );
1517
+ this.register();
1518
+ }
1519
+ /**
1520
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1521
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1522
+ *
1523
+ * @param props - Resource properties to normalize for the base constructor.
1524
+ */
1525
+ static buildResourceProps(props) {
1526
+ return {
1527
+ ...props,
1528
+ type: ManagedInstanceOperation.resourceType,
1529
+ apiVersion: ManagedInstanceOperation.apiVersion
1530
+ };
1531
+ }
1532
+ constructor(context, props, options) {
1533
+ super(context, ManagedInstanceOperation.buildResourceProps(props), options);
1534
+ }
1535
+ get name() {
1536
+ return this.expr("name");
1537
+ }
1538
+ set name(value) {
1539
+ this.setProperty("name", value);
1540
+ }
1541
+ /**
1542
+ * Resource properties.
1543
+ */
1544
+ get properties() {
1545
+ return this.expr("properties");
1546
+ }
1547
+ }
1548
+ class ManagedInstancePrivateEndpointConnection extends import_provisioning_core.Resource {
1549
+ static resourceType = "Microsoft.Sql/managedInstances/privateEndpointConnections";
1550
+ static apiVersion = API_VERSION;
1551
+ static namingRules = {
1552
+ abbreviation: "pec",
1553
+ pattern: {
1554
+ regex: ""
1555
+ },
1556
+ scope: "parent"
1557
+ };
1558
+ static {
1559
+ this.registerShape(
1560
+ (0, import_internal.createFlatModelShape)({
1561
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1562
+ properties: {
1563
+ armPath: ["properties"],
1564
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstancePrivateEndpointConnectionPropertiesShape)
1565
+ }
1566
+ })
1567
+ );
1568
+ this.register();
1569
+ }
1570
+ /**
1571
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1572
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1573
+ *
1574
+ * @param props - Resource properties to normalize for the base constructor.
1575
+ */
1576
+ static buildResourceProps(props) {
1577
+ return {
1578
+ ...props,
1579
+ type: ManagedInstancePrivateEndpointConnection.resourceType,
1580
+ apiVersion: ManagedInstancePrivateEndpointConnection.apiVersion
1581
+ };
1582
+ }
1583
+ constructor(context, props, options) {
1584
+ super(context, ManagedInstancePrivateEndpointConnection.buildResourceProps(props), options);
1585
+ }
1586
+ /**
1587
+ * The name of the private endpoint connection.
1588
+ */
1589
+ get name() {
1590
+ return this.expr("name");
1591
+ }
1592
+ set name(value) {
1593
+ this.setProperty("name", value);
1594
+ }
1595
+ /**
1596
+ * Resource properties.
1597
+ */
1598
+ get properties() {
1599
+ return this.expr("properties");
1600
+ }
1601
+ set properties(value) {
1602
+ this.setProperty("properties", value);
1603
+ }
1604
+ }
1605
+ class ManagedInstancePrivateLink extends import_provisioning_core.Resource {
1606
+ static resourceType = "Microsoft.Sql/managedInstances/privateLinkResources";
1607
+ static apiVersion = API_VERSION;
1608
+ static namingRules = {
1609
+ abbreviation: "plr",
1610
+ pattern: {
1611
+ regex: ""
1612
+ },
1613
+ scope: "parent"
1614
+ };
1615
+ static {
1616
+ this.registerShape(
1617
+ (0, import_internal.createFlatModelShape)({
1618
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1619
+ properties: {
1620
+ armPath: ["properties"],
1621
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstancePrivateLinkPropertiesShape),
1622
+ readOnly: true
1623
+ }
1624
+ })
1625
+ );
1626
+ this.register();
1627
+ }
1628
+ /**
1629
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1630
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1631
+ *
1632
+ * @param props - Resource properties to normalize for the base constructor.
1633
+ */
1634
+ static buildResourceProps(props) {
1635
+ return {
1636
+ ...props,
1637
+ type: ManagedInstancePrivateLink.resourceType,
1638
+ apiVersion: ManagedInstancePrivateLink.apiVersion
1639
+ };
1640
+ }
1641
+ constructor(context, props, options) {
1642
+ super(context, ManagedInstancePrivateLink.buildResourceProps(props), options);
1643
+ }
1644
+ /**
1645
+ * The name of the private link resource.
1646
+ */
1647
+ get name() {
1648
+ return this.expr("name");
1649
+ }
1650
+ set name(value) {
1651
+ this.setProperty("name", value);
1652
+ }
1653
+ /**
1654
+ * The private link resource group id.
1655
+ */
1656
+ get properties() {
1657
+ return this.expr("properties");
1658
+ }
1659
+ }
1660
+ class RecoverableManagedDatabase extends import_provisioning_core.Resource {
1661
+ static resourceType = "Microsoft.Sql/managedInstances/recoverableDatabases";
1662
+ static apiVersion = API_VERSION;
1663
+ static namingRules = {
1664
+ abbreviation: "rd",
1665
+ pattern: {
1666
+ regex: ""
1667
+ },
1668
+ scope: "parent"
1669
+ };
1670
+ static {
1671
+ this.registerShape(
1672
+ (0, import_internal.createFlatModelShape)({
1673
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1674
+ properties: {
1675
+ armPath: ["properties"],
1676
+ value: (0, import_internal.createDeferredShape)(() => import_types.recoverableManagedDatabasePropertiesShape),
1677
+ readOnly: true
1678
+ }
1679
+ })
1680
+ );
1681
+ this.register();
1682
+ }
1683
+ /**
1684
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1685
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1686
+ *
1687
+ * @param props - Resource properties to normalize for the base constructor.
1688
+ */
1689
+ static buildResourceProps(props) {
1690
+ return {
1691
+ ...props,
1692
+ type: RecoverableManagedDatabase.resourceType,
1693
+ apiVersion: RecoverableManagedDatabase.apiVersion
1694
+ };
1695
+ }
1696
+ constructor(context, props, options) {
1697
+ super(context, RecoverableManagedDatabase.buildResourceProps(props), options);
1698
+ }
1699
+ get name() {
1700
+ return this.expr("name");
1701
+ }
1702
+ set name(value) {
1703
+ this.setProperty("name", value);
1704
+ }
1705
+ /**
1706
+ * Resource properties.
1707
+ */
1708
+ get properties() {
1709
+ return this.expr("properties");
1710
+ }
1711
+ }
1712
+ class ManagedRestorableDroppedDbBackupShortTermRetentionPolicy extends import_provisioning_core.Resource {
1713
+ static resourceType = "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies";
1714
+ static apiVersion = API_VERSION;
1715
+ static namingRules = {
1716
+ abbreviation: "bstrp",
1717
+ scope: "parent"
1718
+ };
1719
+ static {
1720
+ this.registerShape(
1721
+ (0, import_internal.createFlatModelShape)({
1722
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1723
+ properties: {
1724
+ armPath: ["properties"],
1725
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedBackupShortTermRetentionPolicyPropertiesShape)
1726
+ }
1727
+ })
1728
+ );
1729
+ this.register();
1730
+ }
1731
+ /**
1732
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1733
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1734
+ *
1735
+ * @param props - Resource properties to normalize for the base constructor.
1736
+ */
1737
+ static buildResourceProps(props) {
1738
+ return {
1739
+ ...props,
1740
+ type: ManagedRestorableDroppedDbBackupShortTermRetentionPolicy.resourceType,
1741
+ apiVersion: ManagedRestorableDroppedDbBackupShortTermRetentionPolicy.apiVersion
1742
+ };
1743
+ }
1744
+ constructor(context, props, options) {
1745
+ super(
1746
+ context,
1747
+ ManagedRestorableDroppedDbBackupShortTermRetentionPolicy.buildResourceProps(props),
1748
+ options
1749
+ );
1750
+ }
1751
+ /**
1752
+ * The policy name.
1753
+ */
1754
+ get name() {
1755
+ return this.expr("name");
1756
+ }
1757
+ set name(value) {
1758
+ this.setProperty("name", value);
1759
+ }
1760
+ /**
1761
+ * Resource properties.
1762
+ */
1763
+ get properties() {
1764
+ return this.expr("properties");
1765
+ }
1766
+ set properties(value) {
1767
+ this.setProperty("properties", value);
1768
+ }
1769
+ }
1770
+ class RestorableDroppedManagedDatabase extends import_provisioning_core.Resource {
1771
+ static resourceType = "Microsoft.Sql/managedInstances/restorableDroppedDatabases";
1772
+ static apiVersion = API_VERSION;
1773
+ static namingRules = {
1774
+ abbreviation: "rdd",
1775
+ pattern: {
1776
+ regex: ""
1777
+ },
1778
+ scope: "parent"
1779
+ };
1780
+ static {
1781
+ this.registerShape(
1782
+ (0, import_internal.createFlatModelShape)({
1783
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
1784
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1785
+ properties: {
1786
+ armPath: ["properties"],
1787
+ value: (0, import_internal.createDeferredShape)(() => import_types.restorableDroppedManagedDatabasePropertiesShape),
1788
+ readOnly: true
1789
+ },
1790
+ tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()), readOnly: true }
1791
+ })
1792
+ );
1793
+ this.register();
1794
+ }
1795
+ /**
1796
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1797
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1798
+ *
1799
+ * @param props - Resource properties to normalize for the base constructor.
1800
+ */
1801
+ static buildResourceProps(props) {
1802
+ return {
1803
+ ...props,
1804
+ type: RestorableDroppedManagedDatabase.resourceType,
1805
+ apiVersion: RestorableDroppedManagedDatabase.apiVersion
1806
+ };
1807
+ }
1808
+ constructor(context, props, options) {
1809
+ super(context, RestorableDroppedManagedDatabase.buildResourceProps(props), options);
1810
+ }
1811
+ /**
1812
+ * The geo-location where the resource lives
1813
+ */
1814
+ get location() {
1815
+ return this.expr("location");
1816
+ }
1817
+ get name() {
1818
+ return this.expr("name");
1819
+ }
1820
+ set name(value) {
1821
+ this.setProperty("name", value);
1822
+ }
1823
+ /**
1824
+ * Resource properties.
1825
+ */
1826
+ get properties() {
1827
+ return this.expr("properties");
1828
+ }
1829
+ /**
1830
+ * Resource tags.
1831
+ */
1832
+ get tags() {
1833
+ return this.expr("tags");
1834
+ }
1835
+ }
1836
+ class ManagedInstanceSecurityAlertPolicy extends import_provisioning_core.Resource {
1837
+ static resourceType = "Microsoft.Sql/managedInstances/securityAlertPolicies";
1838
+ static apiVersion = API_VERSION;
1839
+ static namingRules = {
1840
+ abbreviation: "sap",
1841
+ pattern: {
1842
+ regex: ""
1843
+ },
1844
+ scope: "parent"
1845
+ };
1846
+ static {
1847
+ this.registerShape(
1848
+ (0, import_internal.createFlatModelShape)({
1849
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1850
+ properties: {
1851
+ armPath: ["properties"],
1852
+ value: (0, import_internal.createDeferredShape)(() => import_types.securityAlertsPolicyPropertiesShape)
1853
+ }
1854
+ })
1855
+ );
1856
+ this.register();
1857
+ }
1858
+ /**
1859
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1860
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1861
+ *
1862
+ * @param props - Resource properties to normalize for the base constructor.
1863
+ */
1864
+ static buildResourceProps(props) {
1865
+ return {
1866
+ ...props,
1867
+ type: ManagedInstanceSecurityAlertPolicy.resourceType,
1868
+ apiVersion: ManagedInstanceSecurityAlertPolicy.apiVersion
1869
+ };
1870
+ }
1871
+ constructor(context, props, options) {
1872
+ super(context, ManagedInstanceSecurityAlertPolicy.buildResourceProps(props), options);
1873
+ }
1874
+ /**
1875
+ * The name of the security alert policy.
1876
+ */
1877
+ get name() {
1878
+ return this.expr("name");
1879
+ }
1880
+ set name(value) {
1881
+ this.setProperty("name", value);
1882
+ }
1883
+ /**
1884
+ * Resource properties.
1885
+ */
1886
+ get properties() {
1887
+ return this.expr("properties");
1888
+ }
1889
+ set properties(value) {
1890
+ this.setProperty("properties", value);
1891
+ }
1892
+ }
1893
+ class ServerConfigurationOption extends import_provisioning_core.Resource {
1894
+ static resourceType = "Microsoft.Sql/managedInstances/serverConfigurationOptions";
1895
+ static apiVersion = API_VERSION;
1896
+ static namingRules = {
1897
+ abbreviation: "sco",
1898
+ pattern: {
1899
+ regex: ""
1900
+ },
1901
+ scope: "parent"
1902
+ };
1903
+ static {
1904
+ this.registerShape(
1905
+ (0, import_internal.createFlatModelShape)({
1906
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
1907
+ properties: {
1908
+ armPath: ["properties"],
1909
+ value: (0, import_internal.createDeferredShape)(() => import_types.serverConfigurationOptionPropertiesShape)
1910
+ }
1911
+ })
1912
+ );
1913
+ this.register();
1914
+ }
1915
+ /**
1916
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1917
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1918
+ *
1919
+ * @param props - Resource properties to normalize for the base constructor.
1920
+ */
1921
+ static buildResourceProps(props) {
1922
+ return {
1923
+ ...props,
1924
+ type: ServerConfigurationOption.resourceType,
1925
+ apiVersion: ServerConfigurationOption.apiVersion
1926
+ };
1927
+ }
1928
+ constructor(context, props, options) {
1929
+ super(context, ServerConfigurationOption.buildResourceProps(props), options);
1930
+ }
1931
+ /**
1932
+ * The name of the server configuration option.
1933
+ */
1934
+ get name() {
1935
+ return this.expr("name");
1936
+ }
1937
+ set name(value) {
1938
+ this.setProperty("name", value);
1939
+ }
1940
+ /**
1941
+ * Resource properties.
1942
+ */
1943
+ get properties() {
1944
+ return this.expr("properties");
1945
+ }
1946
+ set properties(value) {
1947
+ this.setProperty("properties", value);
1948
+ }
1949
+ }
1950
+ class ManagedInstanceServerTrustCertificate extends import_provisioning_core.Resource {
1951
+ static resourceType = "Microsoft.Sql/managedInstances/serverTrustCertificates";
1952
+ static apiVersion = API_VERSION;
1953
+ static namingRules = {
1954
+ abbreviation: "stc",
1955
+ scope: "parent"
1956
+ };
1957
+ static {
1958
+ this.registerShape(
1959
+ (0, import_internal.createFlatModelShape)({
1960
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
1961
+ properties: {
1962
+ armPath: ["properties"],
1963
+ value: (0, import_internal.createDeferredShape)(() => import_types.serverTrustCertificatePropertiesShape)
1964
+ }
1965
+ })
1966
+ );
1967
+ this.register();
1968
+ }
1969
+ /**
1970
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1971
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1972
+ *
1973
+ * @param props - Resource properties to normalize for the base constructor.
1974
+ */
1975
+ static buildResourceProps(props) {
1976
+ return {
1977
+ ...props,
1978
+ type: ManagedInstanceServerTrustCertificate.resourceType,
1979
+ apiVersion: ManagedInstanceServerTrustCertificate.apiVersion
1980
+ };
1981
+ }
1982
+ constructor(context, props, options) {
1983
+ super(context, ManagedInstanceServerTrustCertificate.buildResourceProps(props), options);
1984
+ }
1985
+ /**
1986
+ * Name of of the certificate to get.
1987
+ */
1988
+ get name() {
1989
+ return this.expr("name");
1990
+ }
1991
+ set name(value) {
1992
+ this.setProperty("name", value);
1993
+ }
1994
+ /**
1995
+ * Resource properties.
1996
+ */
1997
+ get properties() {
1998
+ return this.expr("properties");
1999
+ }
2000
+ set properties(value) {
2001
+ this.setProperty("properties", value);
2002
+ }
2003
+ }
2004
+ class SqlAgent extends import_provisioning_core.Resource {
2005
+ static resourceType = "Microsoft.Sql/managedInstances/sqlAgent";
2006
+ static apiVersion = API_VERSION;
2007
+ static {
2008
+ this.registerShape(
2009
+ (0, import_internal.createFlatModelShape)({
2010
+ name: { armPath: ["name"], value: (0, import_internal.createStringLiteralShape)(), readOnly: true },
2011
+ properties: {
2012
+ armPath: ["properties"],
2013
+ value: (0, import_internal.createDeferredShape)(() => import_types.sqlAgentConfigurationPropertiesShape)
2014
+ }
2015
+ })
2016
+ );
2017
+ this.register();
2018
+ }
2019
+ /**
2020
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
2021
+ * resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
2022
+ * resource reconstruction.
2023
+ *
2024
+ * @param props - Resource properties to normalize for the base constructor.
2025
+ */
2026
+ static buildResourceProps(props) {
2027
+ return {
2028
+ ...props,
2029
+ type: SqlAgent.resourceType,
2030
+ apiVersion: SqlAgent.apiVersion,
2031
+ name: "current"
2032
+ };
2033
+ }
2034
+ constructor(context, props, options) {
2035
+ super(context, SqlAgent.buildResourceProps(props), options);
2036
+ }
2037
+ get name() {
2038
+ return this.expr("name");
2039
+ }
2040
+ /**
2041
+ * Resource properties.
2042
+ */
2043
+ get properties() {
2044
+ return this.expr("properties");
2045
+ }
2046
+ set properties(value) {
2047
+ this.setProperty("properties", value);
2048
+ }
2049
+ }
2050
+ class StartStopManagedInstanceSchedule extends import_provisioning_core.Resource {
2051
+ static resourceType = "Microsoft.Sql/managedInstances/startStopSchedules";
2052
+ static apiVersion = API_VERSION;
2053
+ static namingRules = {
2054
+ abbreviation: "sss",
2055
+ pattern: {
2056
+ regex: ""
2057
+ },
2058
+ scope: "parent"
2059
+ };
2060
+ static {
2061
+ this.registerShape(
2062
+ (0, import_internal.createFlatModelShape)({
2063
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
2064
+ properties: {
2065
+ armPath: ["properties"],
2066
+ value: (0, import_internal.createDeferredShape)(() => import_types.startStopManagedInstanceSchedulePropertiesShape)
2067
+ }
2068
+ })
2069
+ );
2070
+ this.register();
2071
+ }
2072
+ /**
2073
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
2074
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
2075
+ *
2076
+ * @param props - Resource properties to normalize for the base constructor.
2077
+ */
2078
+ static buildResourceProps(props) {
2079
+ return {
2080
+ ...props,
2081
+ type: StartStopManagedInstanceSchedule.resourceType,
2082
+ apiVersion: StartStopManagedInstanceSchedule.apiVersion
2083
+ };
2084
+ }
2085
+ constructor(context, props, options) {
2086
+ super(context, StartStopManagedInstanceSchedule.buildResourceProps(props), options);
2087
+ }
2088
+ /**
2089
+ * Name of the managed instance Start/Stop schedule.
2090
+ */
2091
+ get name() {
2092
+ return this.expr("name");
2093
+ }
2094
+ set name(value) {
2095
+ this.setProperty("name", value);
2096
+ }
2097
+ /**
2098
+ * Resource properties.
2099
+ */
2100
+ get properties() {
2101
+ return this.expr("properties");
2102
+ }
2103
+ set properties(value) {
2104
+ this.setProperty("properties", value);
2105
+ }
2106
+ }
2107
+ class ManagedInstanceVulnerabilityAssessment extends import_provisioning_core.Resource {
2108
+ static resourceType = "Microsoft.Sql/managedInstances/vulnerabilityAssessments";
2109
+ static apiVersion = API_VERSION;
2110
+ static namingRules = {
2111
+ abbreviation: "va",
2112
+ pattern: {
2113
+ regex: ""
2114
+ },
2115
+ scope: "parent"
2116
+ };
2117
+ static {
2118
+ this.registerShape(
2119
+ (0, import_internal.createFlatModelShape)({
2120
+ name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
2121
+ properties: {
2122
+ armPath: ["properties"],
2123
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstanceVulnerabilityAssessmentPropertiesShape)
2124
+ }
2125
+ })
2126
+ );
2127
+ this.register();
2128
+ }
2129
+ /**
2130
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
2131
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
2132
+ *
2133
+ * @param props - Resource properties to normalize for the base constructor.
2134
+ */
2135
+ static buildResourceProps(props) {
2136
+ return {
2137
+ ...props,
2138
+ type: ManagedInstanceVulnerabilityAssessment.resourceType,
2139
+ apiVersion: ManagedInstanceVulnerabilityAssessment.apiVersion
2140
+ };
2141
+ }
2142
+ constructor(context, props, options) {
2143
+ super(context, ManagedInstanceVulnerabilityAssessment.buildResourceProps(props), options);
2144
+ }
2145
+ /**
2146
+ * The name of the vulnerability assessment.
2147
+ */
2148
+ get name() {
2149
+ return this.expr("name");
2150
+ }
2151
+ set name(value) {
2152
+ this.setProperty("name", value);
2153
+ }
2154
+ /**
2155
+ * Resource properties.
2156
+ */
2157
+ get properties() {
2158
+ return this.expr("properties");
2159
+ }
2160
+ set properties(value) {
2161
+ this.setProperty("properties", value);
2162
+ }
2163
+ }
2164
+ class ManagedInstance extends import_provisioning_core.Resource {
2165
+ static resourceType = "Microsoft.Sql/managedInstances";
2166
+ static apiVersion = API_VERSION;
2167
+ static namingRules = {
2168
+ abbreviation: "mi",
2169
+ pattern: {
2170
+ regex: ""
2171
+ },
2172
+ scope: "global"
2173
+ };
2174
+ static {
2175
+ this.registerShape(
2176
+ (0, import_internal.createFlatModelShape)({
2177
+ identity: {
2178
+ armPath: ["identity"],
2179
+ value: (0, import_internal.createDeferredShape)(() => import_types.resourceIdentityShape)
2180
+ },
2181
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
2182
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
2183
+ properties: {
2184
+ armPath: ["properties"],
2185
+ value: (0, import_internal.createDeferredShape)(() => import_types.managedInstancePropertiesShape)
2186
+ },
2187
+ sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape) },
2188
+ tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
2189
+ })
2190
+ );
2191
+ this.register();
2192
+ }
2193
+ /**
2194
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
2195
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
2196
+ *
2197
+ * @param props - Resource properties to normalize for the base constructor.
2198
+ */
2199
+ static buildResourceProps(props) {
2200
+ return {
2201
+ ...props,
2202
+ type: ManagedInstance.resourceType,
2203
+ apiVersion: ManagedInstance.apiVersion
2204
+ };
2205
+ }
2206
+ constructor(context, props, options) {
2207
+ super(context, ManagedInstance.buildResourceProps(props), options);
2208
+ }
2209
+ /**
2210
+ * The Azure Active Directory identity of the managed instance.
2211
+ */
2212
+ get identity() {
2213
+ return this.expr("identity");
2214
+ }
2215
+ set identity(value) {
2216
+ this.setProperty("identity", value);
2217
+ }
2218
+ /**
2219
+ * The geo-location where the resource lives
2220
+ */
2221
+ get location() {
2222
+ return this.expr("location");
2223
+ }
2224
+ set location(value) {
2225
+ this.setProperty("location", value);
2226
+ }
2227
+ /**
2228
+ * The name of the managed instance.
2229
+ */
2230
+ get name() {
2231
+ return this.expr("name");
2232
+ }
2233
+ set name(value) {
2234
+ this.setProperty("name", value);
2235
+ }
2236
+ /**
2237
+ * Resource properties.
2238
+ */
2239
+ get properties() {
2240
+ return this.expr("properties");
2241
+ }
2242
+ set properties(value) {
2243
+ this.setProperty("properties", value);
2244
+ }
2245
+ /**
2246
+ * Managed instance SKU. Allowed values for sku.name: GP_Gen5 (General Purpose, Standard-series);
2247
+ * GP_G8IM (General Purpose, Premium-series); GP_G8IH (General Purpose, Premium-series memory
2248
+ * optimized); BC_Gen5 (Business Critical, Standard-Series); BC_G8IM (Business Critical,
2249
+ * Premium-series); BC_G8IH (Business Critical, Premium-series memory optimized).
2250
+ */
2251
+ get sku() {
2252
+ return this.expr("sku");
2253
+ }
2254
+ set sku(value) {
2255
+ this.setProperty("sku", value);
2256
+ }
2257
+ /**
2258
+ * Resource tags.
2259
+ */
2260
+ get tags() {
2261
+ return this.expr("tags");
2262
+ }
2263
+ set tags(value) {
2264
+ this.setProperty("tags", value);
2265
+ }
2266
+ }
2267
+ // Annotate the CommonJS export names for ESM import in node:
2268
+ 0 && (module.exports = {
2269
+ DistributedAvailabilityGroup,
2270
+ Dtc,
2271
+ EndpointCertificate,
2272
+ ManagedBackupShortTermRetentionPolicy,
2273
+ ManagedDatabaseAdvancedThreatProtection,
2274
+ ManagedDatabaseColumn,
2275
+ ManagedDatabaseSchema,
2276
+ ManagedDatabaseSensitivityLabel,
2277
+ ManagedDatabaseTable,
2278
+ ManagedDatabaseVulnerabilityAssessment,
2279
+ ManagedDatabaseVulnerabilityAssessmentRuleBaseline,
2280
+ ManagedDatabaseVulnerabilityAssessmentScan,
2281
+ ManagedInstance,
2282
+ ManagedInstanceAdministrator,
2283
+ ManagedInstanceAdvancedThreatProtection,
2284
+ ManagedInstanceAzureAdOnlyAuthentication,
2285
+ ManagedInstanceDatabase,
2286
+ ManagedInstanceDatabaseLedgerDigestUpload,
2287
+ ManagedInstanceDatabaseSecurityAlertPolicy,
2288
+ ManagedInstanceDatabaseTransparentDataEncryption,
2289
+ ManagedInstanceDnsAlias,
2290
+ ManagedInstanceEncryptionProtector,
2291
+ ManagedInstanceKey,
2292
+ ManagedInstanceLongTermRetentionPolicy,
2293
+ ManagedInstanceOperation,
2294
+ ManagedInstancePrivateEndpointConnection,
2295
+ ManagedInstancePrivateLink,
2296
+ ManagedInstanceSecurityAlertPolicy,
2297
+ ManagedInstanceServerTrustCertificate,
2298
+ ManagedInstanceVulnerabilityAssessment,
2299
+ ManagedRestorableDroppedDbBackupShortTermRetentionPolicy,
2300
+ Query,
2301
+ RecoverableManagedDatabase,
2302
+ RestorableDroppedManagedDatabase,
2303
+ RestoreDetail,
2304
+ ServerConfigurationOption,
2305
+ SqlAgent,
2306
+ StartStopManagedInstanceSchedule
2307
+ });
2308
+ //# sourceMappingURL=managed-instance.js.map