@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,1555 @@
1
+ import { type ExistingResourceProps, type Expression, type ExpressionOrValue, type ProvisioningComponent, Resource, type ResourceOptions } from "@azure/provisioning-core";
2
+ import { type InputRecord, type ResourceNamingRules, type ResourceProps, type SingletonExistingResourceProps } from "@azure/provisioning-core/internal";
3
+ import { type AdministratorName, type AdvancedThreatProtectionName, type AdvancedThreatProtectionPropertiesInput, type AdvancedThreatProtectionPropertiesView, type AuthenticationName, type CurrentSensitivityLabelSource, type DatabaseColumnProperties, type DatabaseTableProperties, type DatabaseVulnerabilityAssessmentPropertiesInput, type DatabaseVulnerabilityAssessmentPropertiesView, type DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput, type DatabaseVulnerabilityAssessmentRuleBaselinePropertiesView, type DistributedAvailabilityGroupPropertiesInput, type DistributedAvailabilityGroupPropertiesView, type DtcName, type EncryptionProtectorName, type EndpointCertificateProperties, type ManagedBackupShortTermRetentionPolicyPropertiesInput, type ManagedBackupShortTermRetentionPolicyPropertiesView, type ManagedDatabasePropertiesInput, type ManagedDatabasePropertiesView, type ManagedDatabaseRestoreDetailsProperties, type ManagedInstanceAdministratorPropertiesInput, type ManagedInstanceAdministratorPropertiesView, type ManagedInstanceAzureAdOnlyAuthPropertiesInput, type ManagedInstanceAzureAdOnlyAuthPropertiesView, type ManagedInstanceDtcPropertiesInput, type ManagedInstanceDtcPropertiesView, type ManagedInstanceEncryptionProtectorPropertiesInput, type ManagedInstanceEncryptionProtectorPropertiesView, type ManagedInstanceKeyPropertiesInput, type ManagedInstanceKeyPropertiesView, type ManagedInstanceLongTermRetentionPolicyName, type ManagedInstanceLongTermRetentionPolicyPropertiesInput, type ManagedInstanceLongTermRetentionPolicyPropertiesView, type ManagedInstanceOperationProperties, type ManagedInstancePrivateEndpointConnectionPropertiesInput, type ManagedInstancePrivateEndpointConnectionPropertiesView, type ManagedInstancePrivateLinkProperties, type ManagedInstancePropertiesInput, type ManagedInstancePropertiesView, type ManagedInstanceVulnerabilityAssessmentPropertiesInput, type ManagedInstanceVulnerabilityAssessmentPropertiesView, type ManagedLedgerDigestUploadsName, type ManagedLedgerDigestUploadsPropertiesInput, type ManagedLedgerDigestUploadsPropertiesView, type ManagedServerDnsAliasProperties, type ManagedShortTermRetentionPolicyName, type ManagedTransparentDataEncryptionPropertiesInput, type ManagedTransparentDataEncryptionPropertiesView, type QueryProperties, type RecoverableManagedDatabaseProperties, type ResourceIdentityInput, type ResourceIdentityView, type RestorableDroppedManagedDatabaseProperties, type RestoreDetailsName, type SecurityAlertPolicyName, type SecurityAlertPolicyPropertiesInput, type SecurityAlertPolicyPropertiesView, type SecurityAlertsPolicyPropertiesInput, type SecurityAlertsPolicyPropertiesView, type SensitivityLabelPropertiesInput, type SensitivityLabelPropertiesView, type ServerConfigurationOptionName, type ServerConfigurationOptionPropertiesInput, type ServerConfigurationOptionPropertiesView, type ServerTrustCertificatePropertiesInput, type ServerTrustCertificatePropertiesView, type SkuInput, type SkuView, type SqlAgentConfigurationPropertiesInput, type SqlAgentConfigurationPropertiesView, type StartStopManagedInstanceSchedulePropertiesInput, type StartStopManagedInstanceSchedulePropertiesView, type StartStopScheduleName, type TransparentDataEncryptionName, type VulnerabilityAssessmentName, type VulnerabilityAssessmentPolicyBaselineName, type VulnerabilityAssessmentScanRecordProperties } from "./types.js";
4
+ export interface ManagedInstanceProps {
5
+ /**
6
+ * The Azure Active Directory identity of the managed instance.
7
+ */
8
+ identity?: ResourceIdentityInput | undefined;
9
+ /**
10
+ * The geo-location where the resource lives
11
+ */
12
+ location?: ExpressionOrValue<string> | undefined;
13
+ /**
14
+ * The name of the managed instance.
15
+ */
16
+ name?: ExpressionOrValue<string> | undefined;
17
+ /**
18
+ * Resource properties.
19
+ */
20
+ properties?: ManagedInstancePropertiesInput | undefined;
21
+ /**
22
+ * Managed instance SKU. Allowed values for sku.name: GP_Gen5 (General Purpose, Standard-series); GP_G8IM (General Purpose, Premium-series); GP_G8IH (General Purpose, Premium-series memory optimized); BC_Gen5 (Business Critical, Standard-Series); BC_G8IM (Business Critical, Premium-series); BC_G8IH (Business Critical, Premium-series memory optimized).
23
+ */
24
+ sku?: SkuInput | undefined;
25
+ /**
26
+ * Resource tags.
27
+ */
28
+ tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
29
+ }
30
+ export interface ManagedInstanceAdministratorProps {
31
+ name?: ExpressionOrValue<AdministratorName> | undefined;
32
+ /**
33
+ * Resource properties.
34
+ */
35
+ properties?: ManagedInstanceAdministratorPropertiesInput | undefined;
36
+ }
37
+ /**
38
+ * An Azure SQL managed instance administrator.
39
+ */
40
+ export declare class ManagedInstanceAdministrator extends Resource<"Microsoft.Sql/managedInstances/administrators"> {
41
+ static resourceType: "Microsoft.Sql/managedInstances/administrators";
42
+ static apiVersion: string;
43
+ protected static namingRules: ResourceNamingRules;
44
+ /**
45
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
46
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
47
+ *
48
+ * @param props - Resource properties to normalize for the base constructor.
49
+ */
50
+ protected static buildResourceProps(props?: (ManagedInstanceAdministratorProps & {
51
+ existing?: false;
52
+ }) | (ExistingResourceProps & {
53
+ existing: true;
54
+ })): ResourceProps<"Microsoft.Sql/managedInstances/administrators"> & Record<string, unknown>;
55
+ constructor(context: ManagedInstance, props?: (ManagedInstanceAdministratorProps & {
56
+ existing?: false;
57
+ }) | (ExistingResourceProps & {
58
+ existing: true;
59
+ }), options?: ResourceOptions);
60
+ get name(): Expression<AdministratorName>;
61
+ set name(value: ExpressionOrValue<AdministratorName>);
62
+ /**
63
+ * Resource properties.
64
+ */
65
+ get properties(): ManagedInstanceAdministratorPropertiesView;
66
+ set properties(value: ManagedInstanceAdministratorPropertiesInput | undefined);
67
+ }
68
+ export interface ManagedInstanceAdvancedThreatProtectionProps {
69
+ /**
70
+ * The name of the Advanced Threat Protection state.
71
+ */
72
+ name?: ExpressionOrValue<AdvancedThreatProtectionName> | undefined;
73
+ /**
74
+ * Resource properties.
75
+ */
76
+ properties?: AdvancedThreatProtectionPropertiesInput | undefined;
77
+ }
78
+ /**
79
+ * A managed instance Advanced Threat Protection.
80
+ */
81
+ export declare class ManagedInstanceAdvancedThreatProtection extends Resource<"Microsoft.Sql/managedInstances/advancedThreatProtectionSettings"> {
82
+ static resourceType: "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings";
83
+ static apiVersion: string;
84
+ protected static namingRules: ResourceNamingRules;
85
+ /**
86
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
87
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
88
+ *
89
+ * @param props - Resource properties to normalize for the base constructor.
90
+ */
91
+ protected static buildResourceProps(props?: (ManagedInstanceAdvancedThreatProtectionProps & {
92
+ existing?: false;
93
+ }) | (ExistingResourceProps & {
94
+ existing: true;
95
+ })): ResourceProps<"Microsoft.Sql/managedInstances/advancedThreatProtectionSettings"> & Record<string, unknown>;
96
+ constructor(context: ManagedInstance, props?: (ManagedInstanceAdvancedThreatProtectionProps & {
97
+ existing?: false;
98
+ }) | (ExistingResourceProps & {
99
+ existing: true;
100
+ }), options?: ResourceOptions);
101
+ /**
102
+ * The name of the Advanced Threat Protection state.
103
+ */
104
+ get name(): Expression<AdvancedThreatProtectionName>;
105
+ set name(value: ExpressionOrValue<AdvancedThreatProtectionName>);
106
+ /**
107
+ * Resource properties.
108
+ */
109
+ get properties(): AdvancedThreatProtectionPropertiesView;
110
+ set properties(value: AdvancedThreatProtectionPropertiesInput | undefined);
111
+ }
112
+ export interface ManagedInstanceAzureAdOnlyAuthenticationProps {
113
+ /**
114
+ * The name of server azure active directory only authentication.
115
+ */
116
+ name?: ExpressionOrValue<AuthenticationName> | undefined;
117
+ /**
118
+ * Resource properties.
119
+ */
120
+ properties?: ManagedInstanceAzureAdOnlyAuthPropertiesInput | undefined;
121
+ }
122
+ /**
123
+ * Azure Active Directory only authentication.
124
+ */
125
+ export declare class ManagedInstanceAzureAdOnlyAuthentication extends Resource<"Microsoft.Sql/managedInstances/azureADOnlyAuthentications"> {
126
+ static resourceType: "Microsoft.Sql/managedInstances/azureADOnlyAuthentications";
127
+ static apiVersion: string;
128
+ protected static namingRules: ResourceNamingRules;
129
+ /**
130
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
131
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
132
+ *
133
+ * @param props - Resource properties to normalize for the base constructor.
134
+ */
135
+ protected static buildResourceProps(props?: (ManagedInstanceAzureAdOnlyAuthenticationProps & {
136
+ existing?: false;
137
+ }) | (ExistingResourceProps & {
138
+ existing: true;
139
+ })): ResourceProps<"Microsoft.Sql/managedInstances/azureADOnlyAuthentications"> & Record<string, unknown>;
140
+ constructor(context: ManagedInstance, props?: (ManagedInstanceAzureAdOnlyAuthenticationProps & {
141
+ existing?: false;
142
+ }) | (ExistingResourceProps & {
143
+ existing: true;
144
+ }), options?: ResourceOptions);
145
+ /**
146
+ * The name of server azure active directory only authentication.
147
+ */
148
+ get name(): Expression<AuthenticationName>;
149
+ set name(value: ExpressionOrValue<AuthenticationName>);
150
+ /**
151
+ * Resource properties.
152
+ */
153
+ get properties(): ManagedInstanceAzureAdOnlyAuthPropertiesView;
154
+ set properties(value: ManagedInstanceAzureAdOnlyAuthPropertiesInput | undefined);
155
+ }
156
+ export interface ManagedInstanceDatabaseProps {
157
+ /**
158
+ * The geo-location where the resource lives
159
+ */
160
+ location?: ExpressionOrValue<string> | undefined;
161
+ /**
162
+ * The name of the database.
163
+ */
164
+ name?: ExpressionOrValue<string> | undefined;
165
+ /**
166
+ * Resource properties.
167
+ */
168
+ properties?: ManagedDatabasePropertiesInput | undefined;
169
+ /**
170
+ * Resource tags.
171
+ */
172
+ tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
173
+ }
174
+ export interface ManagedDatabaseAdvancedThreatProtectionProps {
175
+ /**
176
+ * The name of the Advanced Threat Protection state.
177
+ */
178
+ name?: ExpressionOrValue<AdvancedThreatProtectionName> | undefined;
179
+ /**
180
+ * Resource properties.
181
+ */
182
+ properties?: AdvancedThreatProtectionPropertiesInput | undefined;
183
+ }
184
+ /**
185
+ * A managed database Advanced Threat Protection.
186
+ */
187
+ export declare class ManagedDatabaseAdvancedThreatProtection extends Resource<"Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings"> {
188
+ static resourceType: "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings";
189
+ static apiVersion: string;
190
+ protected static namingRules: ResourceNamingRules;
191
+ /**
192
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
193
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
194
+ *
195
+ * @param props - Resource properties to normalize for the base constructor.
196
+ */
197
+ protected static buildResourceProps(props?: (ManagedDatabaseAdvancedThreatProtectionProps & {
198
+ existing?: false;
199
+ }) | (ExistingResourceProps & {
200
+ existing: true;
201
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings"> & Record<string, unknown>;
202
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedDatabaseAdvancedThreatProtectionProps & {
203
+ existing?: false;
204
+ }) | (ExistingResourceProps & {
205
+ existing: true;
206
+ }), options?: ResourceOptions);
207
+ /**
208
+ * The name of the Advanced Threat Protection state.
209
+ */
210
+ get name(): Expression<AdvancedThreatProtectionName>;
211
+ set name(value: ExpressionOrValue<AdvancedThreatProtectionName>);
212
+ /**
213
+ * Resource properties.
214
+ */
215
+ get properties(): AdvancedThreatProtectionPropertiesView;
216
+ set properties(value: AdvancedThreatProtectionPropertiesInput | undefined);
217
+ }
218
+ export interface ManagedInstanceLongTermRetentionPolicyProps {
219
+ /**
220
+ * The policy name. Should always be Default.
221
+ */
222
+ name?: ExpressionOrValue<ManagedInstanceLongTermRetentionPolicyName> | undefined;
223
+ /**
224
+ * Resource properties.
225
+ */
226
+ properties?: ManagedInstanceLongTermRetentionPolicyPropertiesInput | undefined;
227
+ }
228
+ /**
229
+ * A long term retention policy.
230
+ */
231
+ export declare class ManagedInstanceLongTermRetentionPolicy extends Resource<"Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies"> {
232
+ static resourceType: "Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies";
233
+ static apiVersion: string;
234
+ protected static namingRules: ResourceNamingRules;
235
+ /**
236
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
237
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
238
+ *
239
+ * @param props - Resource properties to normalize for the base constructor.
240
+ */
241
+ protected static buildResourceProps(props?: (ManagedInstanceLongTermRetentionPolicyProps & {
242
+ existing?: false;
243
+ }) | (ExistingResourceProps & {
244
+ existing: true;
245
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies"> & Record<string, unknown>;
246
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedInstanceLongTermRetentionPolicyProps & {
247
+ existing?: false;
248
+ }) | (ExistingResourceProps & {
249
+ existing: true;
250
+ }), options?: ResourceOptions);
251
+ /**
252
+ * The policy name. Should always be Default.
253
+ */
254
+ get name(): Expression<ManagedInstanceLongTermRetentionPolicyName>;
255
+ set name(value: ExpressionOrValue<ManagedInstanceLongTermRetentionPolicyName>);
256
+ /**
257
+ * Resource properties.
258
+ */
259
+ get properties(): ManagedInstanceLongTermRetentionPolicyPropertiesView;
260
+ set properties(value: ManagedInstanceLongTermRetentionPolicyPropertiesInput | undefined);
261
+ }
262
+ export interface ManagedBackupShortTermRetentionPolicyProps {
263
+ /**
264
+ * The policy name.
265
+ */
266
+ name?: ExpressionOrValue<ManagedShortTermRetentionPolicyName> | undefined;
267
+ /**
268
+ * Resource properties.
269
+ */
270
+ properties?: ManagedBackupShortTermRetentionPolicyPropertiesInput | undefined;
271
+ }
272
+ /**
273
+ * A short term retention policy.
274
+ */
275
+ export declare class ManagedBackupShortTermRetentionPolicy extends Resource<"Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies"> {
276
+ static resourceType: "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies";
277
+ static apiVersion: string;
278
+ protected static namingRules: ResourceNamingRules;
279
+ /**
280
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
281
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
282
+ *
283
+ * @param props - Resource properties to normalize for the base constructor.
284
+ */
285
+ protected static buildResourceProps(props?: (ManagedBackupShortTermRetentionPolicyProps & {
286
+ existing?: false;
287
+ }) | (ExistingResourceProps & {
288
+ existing: true;
289
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies"> & Record<string, unknown>;
290
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedBackupShortTermRetentionPolicyProps & {
291
+ existing?: false;
292
+ }) | (ExistingResourceProps & {
293
+ existing: true;
294
+ }), options?: ResourceOptions);
295
+ /**
296
+ * The policy name.
297
+ */
298
+ get name(): Expression<ManagedShortTermRetentionPolicyName>;
299
+ set name(value: ExpressionOrValue<ManagedShortTermRetentionPolicyName>);
300
+ /**
301
+ * Resource properties.
302
+ */
303
+ get properties(): ManagedBackupShortTermRetentionPolicyPropertiesView;
304
+ set properties(value: ManagedBackupShortTermRetentionPolicyPropertiesInput | undefined);
305
+ }
306
+ export interface ManagedInstanceDatabaseLedgerDigestUploadProps {
307
+ name?: ExpressionOrValue<ManagedLedgerDigestUploadsName> | undefined;
308
+ /**
309
+ * Resource properties.
310
+ */
311
+ properties?: ManagedLedgerDigestUploadsPropertiesInput | undefined;
312
+ }
313
+ /**
314
+ * Azure SQL Database ledger digest upload settings.
315
+ */
316
+ export declare class ManagedInstanceDatabaseLedgerDigestUpload extends Resource<"Microsoft.Sql/managedInstances/databases/ledgerDigestUploads"> {
317
+ static resourceType: "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads";
318
+ static apiVersion: string;
319
+ protected static namingRules: ResourceNamingRules;
320
+ /**
321
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
322
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
323
+ *
324
+ * @param props - Resource properties to normalize for the base constructor.
325
+ */
326
+ protected static buildResourceProps(props?: (ManagedInstanceDatabaseLedgerDigestUploadProps & {
327
+ existing?: false;
328
+ }) | (ExistingResourceProps & {
329
+ existing: true;
330
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/ledgerDigestUploads"> & Record<string, unknown>;
331
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedInstanceDatabaseLedgerDigestUploadProps & {
332
+ existing?: false;
333
+ }) | (ExistingResourceProps & {
334
+ existing: true;
335
+ }), options?: ResourceOptions);
336
+ get name(): Expression<ManagedLedgerDigestUploadsName>;
337
+ set name(value: ExpressionOrValue<ManagedLedgerDigestUploadsName>);
338
+ /**
339
+ * Resource properties.
340
+ */
341
+ get properties(): ManagedLedgerDigestUploadsPropertiesView;
342
+ set properties(value: ManagedLedgerDigestUploadsPropertiesInput | undefined);
343
+ }
344
+ /**
345
+ * Database query.
346
+ */
347
+ export declare class Query extends Resource<"Microsoft.Sql/managedInstances/databases/queries"> {
348
+ static resourceType: "Microsoft.Sql/managedInstances/databases/queries";
349
+ static apiVersion: string;
350
+ protected static namingRules: ResourceNamingRules;
351
+ /**
352
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
353
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
354
+ *
355
+ * @param props - Resource properties to normalize for the base constructor.
356
+ */
357
+ protected static buildResourceProps(props?: ExistingResourceProps & {
358
+ existing: true;
359
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/queries"> & Record<string, unknown>;
360
+ constructor(context: ManagedInstanceDatabase, props: ExistingResourceProps & {
361
+ existing: true;
362
+ }, options?: ResourceOptions);
363
+ get name(): Expression<string>;
364
+ set name(value: ExpressionOrValue<string>);
365
+ /**
366
+ * Resource properties.
367
+ */
368
+ get properties(): Expression<QueryProperties>;
369
+ }
370
+ /**
371
+ * A managed database restore details.
372
+ */
373
+ export declare class RestoreDetail extends Resource<"Microsoft.Sql/managedInstances/databases/restoreDetails"> {
374
+ static resourceType: "Microsoft.Sql/managedInstances/databases/restoreDetails";
375
+ static apiVersion: string;
376
+ protected static namingRules: ResourceNamingRules;
377
+ /**
378
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
379
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
380
+ *
381
+ * @param props - Resource properties to normalize for the base constructor.
382
+ */
383
+ protected static buildResourceProps(props?: ExistingResourceProps & {
384
+ existing: true;
385
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/restoreDetails"> & Record<string, unknown>;
386
+ constructor(context: ManagedInstanceDatabase, props: ExistingResourceProps & {
387
+ existing: true;
388
+ }, options?: ResourceOptions);
389
+ /**
390
+ * The name of the restore details to retrieve.
391
+ */
392
+ get name(): Expression<RestoreDetailsName>;
393
+ set name(value: ExpressionOrValue<RestoreDetailsName>);
394
+ /**
395
+ * Resource properties.
396
+ */
397
+ get properties(): Expression<ManagedDatabaseRestoreDetailsProperties>;
398
+ }
399
+ export interface ManagedDatabaseSensitivityLabelProps {
400
+ /**
401
+ * The source of the sensitivity label.
402
+ */
403
+ name: ExpressionOrValue<CurrentSensitivityLabelSource>;
404
+ /**
405
+ * Resource properties.
406
+ */
407
+ properties?: SensitivityLabelPropertiesInput | undefined;
408
+ }
409
+ /**
410
+ * A sensitivity label.
411
+ */
412
+ export declare class ManagedDatabaseSensitivityLabel extends Resource<"Microsoft.Sql/managedInstances/databases/schemas/tables/columns/sensitivityLabels"> {
413
+ static resourceType: "Microsoft.Sql/managedInstances/databases/schemas/tables/columns/sensitivityLabels";
414
+ static apiVersion: string;
415
+ protected static namingRules: ResourceNamingRules;
416
+ /**
417
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
418
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
419
+ *
420
+ * @param props - Resource properties to normalize for the base constructor.
421
+ */
422
+ protected static buildResourceProps(props?: (ManagedDatabaseSensitivityLabelProps & {
423
+ existing?: false;
424
+ }) | (ExistingResourceProps<CurrentSensitivityLabelSource> & {
425
+ existing: true;
426
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/schemas/tables/columns/sensitivityLabels"> & Record<string, unknown>;
427
+ constructor(context: ManagedDatabaseColumn, props: (ManagedDatabaseSensitivityLabelProps & {
428
+ existing?: false;
429
+ }) | (ExistingResourceProps<CurrentSensitivityLabelSource> & {
430
+ existing: true;
431
+ }), options?: ResourceOptions);
432
+ /**
433
+ * Resource that manages the sensitivity label.
434
+ */
435
+ get managedBy(): Expression<string>;
436
+ /**
437
+ * The source of the sensitivity label.
438
+ */
439
+ get name(): Expression<CurrentSensitivityLabelSource>;
440
+ set name(value: ExpressionOrValue<CurrentSensitivityLabelSource>);
441
+ /**
442
+ * Resource properties.
443
+ */
444
+ get properties(): SensitivityLabelPropertiesView;
445
+ set properties(value: SensitivityLabelPropertiesInput | undefined);
446
+ }
447
+ /**
448
+ * A database column resource.
449
+ */
450
+ export declare class ManagedDatabaseColumn extends Resource<"Microsoft.Sql/managedInstances/databases/schemas/tables/columns"> {
451
+ static resourceType: "Microsoft.Sql/managedInstances/databases/schemas/tables/columns";
452
+ static apiVersion: string;
453
+ protected static namingRules: ResourceNamingRules;
454
+ /**
455
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
456
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
457
+ *
458
+ * @param props - Resource properties to normalize for the base constructor.
459
+ */
460
+ protected static buildResourceProps(props?: ExistingResourceProps & {
461
+ existing: true;
462
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/schemas/tables/columns"> & Record<string, unknown>;
463
+ constructor(context: ManagedDatabaseTable, props: ExistingResourceProps & {
464
+ existing: true;
465
+ }, options?: ResourceOptions);
466
+ /**
467
+ * The name of the column.
468
+ */
469
+ get name(): Expression<string>;
470
+ set name(value: ExpressionOrValue<string>);
471
+ /**
472
+ * Resource properties.
473
+ */
474
+ get properties(): Expression<DatabaseColumnProperties>;
475
+ }
476
+ /**
477
+ * A database table resource.
478
+ */
479
+ export declare class ManagedDatabaseTable extends Resource<"Microsoft.Sql/managedInstances/databases/schemas/tables"> {
480
+ static resourceType: "Microsoft.Sql/managedInstances/databases/schemas/tables";
481
+ static apiVersion: string;
482
+ protected static namingRules: ResourceNamingRules;
483
+ /**
484
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
485
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
486
+ *
487
+ * @param props - Resource properties to normalize for the base constructor.
488
+ */
489
+ protected static buildResourceProps(props?: ExistingResourceProps & {
490
+ existing: true;
491
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/schemas/tables"> & Record<string, unknown>;
492
+ constructor(context: ManagedDatabaseSchema, props: ExistingResourceProps & {
493
+ existing: true;
494
+ }, options?: ResourceOptions);
495
+ /**
496
+ * The name of the table.
497
+ */
498
+ get name(): Expression<string>;
499
+ set name(value: ExpressionOrValue<string>);
500
+ /**
501
+ * Resource properties.
502
+ */
503
+ get properties(): Expression<DatabaseTableProperties>;
504
+ }
505
+ /**
506
+ * A database schema resource.
507
+ */
508
+ export declare class ManagedDatabaseSchema extends Resource<"Microsoft.Sql/managedInstances/databases/schemas"> {
509
+ static resourceType: "Microsoft.Sql/managedInstances/databases/schemas";
510
+ static apiVersion: string;
511
+ protected static namingRules: ResourceNamingRules;
512
+ /**
513
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
514
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
515
+ *
516
+ * @param props - Resource properties to normalize for the base constructor.
517
+ */
518
+ protected static buildResourceProps(props?: ExistingResourceProps & {
519
+ existing: true;
520
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/schemas"> & Record<string, unknown>;
521
+ constructor(context: ManagedInstanceDatabase, props: ExistingResourceProps & {
522
+ existing: true;
523
+ }, options?: ResourceOptions);
524
+ /**
525
+ * The name of the schema.
526
+ */
527
+ get name(): Expression<string>;
528
+ set name(value: ExpressionOrValue<string>);
529
+ /**
530
+ * The resource-specific properties for this resource.
531
+ */
532
+ get properties(): Expression<any>;
533
+ }
534
+ export interface ManagedInstanceDatabaseSecurityAlertPolicyProps {
535
+ /**
536
+ * The name of the security alert policy.
537
+ */
538
+ name?: ExpressionOrValue<SecurityAlertPolicyName> | undefined;
539
+ /**
540
+ * Resource properties.
541
+ */
542
+ properties?: SecurityAlertPolicyPropertiesInput | undefined;
543
+ }
544
+ /**
545
+ * A managed database security alert policy.
546
+ */
547
+ export declare class ManagedInstanceDatabaseSecurityAlertPolicy extends Resource<"Microsoft.Sql/managedInstances/databases/securityAlertPolicies"> {
548
+ static resourceType: "Microsoft.Sql/managedInstances/databases/securityAlertPolicies";
549
+ static apiVersion: string;
550
+ protected static namingRules: ResourceNamingRules;
551
+ /**
552
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
553
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
554
+ *
555
+ * @param props - Resource properties to normalize for the base constructor.
556
+ */
557
+ protected static buildResourceProps(props?: (ManagedInstanceDatabaseSecurityAlertPolicyProps & {
558
+ existing?: false;
559
+ }) | (ExistingResourceProps & {
560
+ existing: true;
561
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/securityAlertPolicies"> & Record<string, unknown>;
562
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedInstanceDatabaseSecurityAlertPolicyProps & {
563
+ existing?: false;
564
+ }) | (ExistingResourceProps & {
565
+ existing: true;
566
+ }), options?: ResourceOptions);
567
+ /**
568
+ * The name of the security alert policy.
569
+ */
570
+ get name(): Expression<SecurityAlertPolicyName>;
571
+ set name(value: ExpressionOrValue<SecurityAlertPolicyName>);
572
+ /**
573
+ * Resource properties.
574
+ */
575
+ get properties(): SecurityAlertPolicyPropertiesView;
576
+ set properties(value: SecurityAlertPolicyPropertiesInput | undefined);
577
+ }
578
+ export interface ManagedInstanceDatabaseTransparentDataEncryptionProps {
579
+ /**
580
+ * The name of the transparent data encryption configuration.
581
+ */
582
+ name?: ExpressionOrValue<TransparentDataEncryptionName> | undefined;
583
+ /**
584
+ * Resource properties.
585
+ */
586
+ properties?: ManagedTransparentDataEncryptionPropertiesInput | undefined;
587
+ }
588
+ /**
589
+ * A managed database transparent data encryption state.
590
+ */
591
+ export declare class ManagedInstanceDatabaseTransparentDataEncryption extends Resource<"Microsoft.Sql/managedInstances/databases/transparentDataEncryption"> {
592
+ static resourceType: "Microsoft.Sql/managedInstances/databases/transparentDataEncryption";
593
+ static apiVersion: string;
594
+ protected static namingRules: ResourceNamingRules;
595
+ /**
596
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
597
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
598
+ *
599
+ * @param props - Resource properties to normalize for the base constructor.
600
+ */
601
+ protected static buildResourceProps(props?: (ManagedInstanceDatabaseTransparentDataEncryptionProps & {
602
+ existing?: false;
603
+ }) | (ExistingResourceProps & {
604
+ existing: true;
605
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/transparentDataEncryption"> & Record<string, unknown>;
606
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedInstanceDatabaseTransparentDataEncryptionProps & {
607
+ existing?: false;
608
+ }) | (ExistingResourceProps & {
609
+ existing: true;
610
+ }), options?: ResourceOptions);
611
+ /**
612
+ * The name of the transparent data encryption configuration.
613
+ */
614
+ get name(): Expression<TransparentDataEncryptionName>;
615
+ set name(value: ExpressionOrValue<TransparentDataEncryptionName>);
616
+ /**
617
+ * Resource properties.
618
+ */
619
+ get properties(): ManagedTransparentDataEncryptionPropertiesView;
620
+ set properties(value: ManagedTransparentDataEncryptionPropertiesInput | undefined);
621
+ }
622
+ export interface ManagedDatabaseVulnerabilityAssessmentProps {
623
+ /**
624
+ * The name of the vulnerability assessment.
625
+ */
626
+ name?: ExpressionOrValue<VulnerabilityAssessmentName> | undefined;
627
+ /**
628
+ * Resource properties.
629
+ */
630
+ properties?: DatabaseVulnerabilityAssessmentPropertiesInput | undefined;
631
+ }
632
+ export interface ManagedDatabaseVulnerabilityAssessmentRuleBaselineProps {
633
+ /**
634
+ * The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
635
+ */
636
+ name: ExpressionOrValue<VulnerabilityAssessmentPolicyBaselineName>;
637
+ /**
638
+ * Resource properties.
639
+ */
640
+ properties?: DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined;
641
+ }
642
+ /**
643
+ * A database vulnerability assessment rule baseline.
644
+ */
645
+ export declare class ManagedDatabaseVulnerabilityAssessmentRuleBaseline extends Resource<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines"> {
646
+ static resourceType: "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines";
647
+ static apiVersion: string;
648
+ protected static namingRules: ResourceNamingRules;
649
+ /**
650
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
651
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
652
+ *
653
+ * @param props - Resource properties to normalize for the base constructor.
654
+ */
655
+ protected static buildResourceProps(props?: (ManagedDatabaseVulnerabilityAssessmentRuleBaselineProps & {
656
+ existing?: false;
657
+ }) | (ExistingResourceProps<VulnerabilityAssessmentPolicyBaselineName> & {
658
+ existing: true;
659
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines"> & Record<string, unknown>;
660
+ constructor(context: ManagedDatabaseVulnerabilityAssessment, props: (ManagedDatabaseVulnerabilityAssessmentRuleBaselineProps & {
661
+ existing?: false;
662
+ }) | (ExistingResourceProps<VulnerabilityAssessmentPolicyBaselineName> & {
663
+ existing: true;
664
+ }), options?: ResourceOptions);
665
+ /**
666
+ * The name of the vulnerability assessment rule baseline (default implies a baseline on a
667
+ * database level rule and master for server level rule).
668
+ */
669
+ get name(): Expression<VulnerabilityAssessmentPolicyBaselineName>;
670
+ set name(value: ExpressionOrValue<VulnerabilityAssessmentPolicyBaselineName>);
671
+ /**
672
+ * Resource properties.
673
+ */
674
+ get properties(): DatabaseVulnerabilityAssessmentRuleBaselinePropertiesView;
675
+ set properties(value: DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined);
676
+ }
677
+ /**
678
+ * A vulnerability assessment scan record.
679
+ */
680
+ export declare class ManagedDatabaseVulnerabilityAssessmentScan extends Resource<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/scans"> {
681
+ static resourceType: "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/scans";
682
+ static apiVersion: string;
683
+ protected static namingRules: ResourceNamingRules;
684
+ /**
685
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
686
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
687
+ *
688
+ * @param props - Resource properties to normalize for the base constructor.
689
+ */
690
+ protected static buildResourceProps(props?: ExistingResourceProps & {
691
+ existing: true;
692
+ }): ResourceProps<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/scans"> & Record<string, unknown>;
693
+ constructor(context: ManagedDatabaseVulnerabilityAssessment, props: ExistingResourceProps & {
694
+ existing: true;
695
+ }, options?: ResourceOptions);
696
+ /**
697
+ * The vulnerability assessment scan Id of the scan to retrieve.
698
+ */
699
+ get name(): Expression<string>;
700
+ set name(value: ExpressionOrValue<string>);
701
+ /**
702
+ * Resource properties.
703
+ */
704
+ get properties(): Expression<VulnerabilityAssessmentScanRecordProperties>;
705
+ }
706
+ /**
707
+ * A database vulnerability assessment.
708
+ */
709
+ export declare class ManagedDatabaseVulnerabilityAssessment extends Resource<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments"> {
710
+ static resourceType: "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments";
711
+ static apiVersion: string;
712
+ protected static namingRules: ResourceNamingRules;
713
+ /**
714
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
715
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
716
+ *
717
+ * @param props - Resource properties to normalize for the base constructor.
718
+ */
719
+ protected static buildResourceProps(props?: (ManagedDatabaseVulnerabilityAssessmentProps & {
720
+ existing?: false;
721
+ }) | (ExistingResourceProps & {
722
+ existing: true;
723
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments"> & Record<string, unknown>;
724
+ constructor(context: ManagedInstanceDatabase, props?: (ManagedDatabaseVulnerabilityAssessmentProps & {
725
+ existing?: false;
726
+ }) | (ExistingResourceProps & {
727
+ existing: true;
728
+ }), options?: ResourceOptions);
729
+ /**
730
+ * The name of the vulnerability assessment.
731
+ */
732
+ get name(): Expression<VulnerabilityAssessmentName>;
733
+ set name(value: ExpressionOrValue<VulnerabilityAssessmentName>);
734
+ /**
735
+ * Resource properties.
736
+ */
737
+ get properties(): DatabaseVulnerabilityAssessmentPropertiesView;
738
+ set properties(value: DatabaseVulnerabilityAssessmentPropertiesInput | undefined);
739
+ }
740
+ /**
741
+ * A managed database resource.
742
+ */
743
+ export declare class ManagedInstanceDatabase extends Resource<"Microsoft.Sql/managedInstances/databases"> {
744
+ static resourceType: "Microsoft.Sql/managedInstances/databases";
745
+ static apiVersion: string;
746
+ protected static namingRules: ResourceNamingRules;
747
+ /**
748
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
749
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
750
+ *
751
+ * @param props - Resource properties to normalize for the base constructor.
752
+ */
753
+ protected static buildResourceProps(props?: (ManagedInstanceDatabaseProps & {
754
+ existing?: false;
755
+ }) | (ExistingResourceProps & {
756
+ existing: true;
757
+ })): ResourceProps<"Microsoft.Sql/managedInstances/databases"> & Record<string, unknown>;
758
+ constructor(context: ManagedInstance, props?: (ManagedInstanceDatabaseProps & {
759
+ existing?: false;
760
+ }) | (ExistingResourceProps & {
761
+ existing: true;
762
+ }), options?: ResourceOptions);
763
+ /**
764
+ * The geo-location where the resource lives
765
+ */
766
+ get location(): Expression<string>;
767
+ set location(value: ExpressionOrValue<string>);
768
+ /**
769
+ * The name of the database.
770
+ */
771
+ get name(): Expression<string>;
772
+ set name(value: ExpressionOrValue<string>);
773
+ /**
774
+ * Resource properties.
775
+ */
776
+ get properties(): ManagedDatabasePropertiesView;
777
+ set properties(value: ManagedDatabasePropertiesInput | undefined);
778
+ /**
779
+ * Resource tags.
780
+ */
781
+ get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
782
+ set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
783
+ }
784
+ export interface DistributedAvailabilityGroupProps {
785
+ /**
786
+ * The distributed availability group name.
787
+ */
788
+ name?: ExpressionOrValue<string> | undefined;
789
+ /**
790
+ * Resource properties.
791
+ */
792
+ properties?: DistributedAvailabilityGroupPropertiesInput | undefined;
793
+ }
794
+ /**
795
+ * Distributed availability group between box and Sql Managed Instance.
796
+ */
797
+ export declare class DistributedAvailabilityGroup extends Resource<"Microsoft.Sql/managedInstances/distributedAvailabilityGroups"> {
798
+ static resourceType: "Microsoft.Sql/managedInstances/distributedAvailabilityGroups";
799
+ static apiVersion: string;
800
+ protected static namingRules: ResourceNamingRules;
801
+ /**
802
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
803
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
804
+ *
805
+ * @param props - Resource properties to normalize for the base constructor.
806
+ */
807
+ protected static buildResourceProps(props?: (DistributedAvailabilityGroupProps & {
808
+ existing?: false;
809
+ }) | (ExistingResourceProps & {
810
+ existing: true;
811
+ })): ResourceProps<"Microsoft.Sql/managedInstances/distributedAvailabilityGroups"> & Record<string, unknown>;
812
+ constructor(context: ManagedInstance, props?: (DistributedAvailabilityGroupProps & {
813
+ existing?: false;
814
+ }) | (ExistingResourceProps & {
815
+ existing: true;
816
+ }), options?: ResourceOptions);
817
+ /**
818
+ * The distributed availability group name.
819
+ */
820
+ get name(): Expression<string>;
821
+ set name(value: ExpressionOrValue<string>);
822
+ /**
823
+ * Resource properties.
824
+ */
825
+ get properties(): DistributedAvailabilityGroupPropertiesView;
826
+ set properties(value: DistributedAvailabilityGroupPropertiesInput | undefined);
827
+ }
828
+ export interface ManagedInstanceDnsAliasProps {
829
+ /**
830
+ * Whether or not DNS record should be created for this alias.
831
+ */
832
+ createDnsRecord?: ExpressionOrValue<boolean> | undefined;
833
+ name?: ExpressionOrValue<string> | undefined;
834
+ }
835
+ /**
836
+ * A managed server DNS alias.
837
+ */
838
+ export declare class ManagedInstanceDnsAlias extends Resource<"Microsoft.Sql/managedInstances/dnsAliases"> {
839
+ static resourceType: "Microsoft.Sql/managedInstances/dnsAliases";
840
+ static apiVersion: string;
841
+ protected static namingRules: ResourceNamingRules;
842
+ /**
843
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
844
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
845
+ *
846
+ * @param props - Resource properties to normalize for the base constructor.
847
+ */
848
+ protected static buildResourceProps(props?: (ManagedInstanceDnsAliasProps & {
849
+ existing?: false;
850
+ }) | (ExistingResourceProps & {
851
+ existing: true;
852
+ })): ResourceProps<"Microsoft.Sql/managedInstances/dnsAliases"> & Record<string, unknown>;
853
+ constructor(context: ManagedInstance, props?: (ManagedInstanceDnsAliasProps & {
854
+ existing?: false;
855
+ }) | (ExistingResourceProps & {
856
+ existing: true;
857
+ }), options?: ResourceOptions);
858
+ /**
859
+ * Whether or not DNS record should be created for this alias.
860
+ */
861
+ get createDnsRecord(): Expression<boolean>;
862
+ set createDnsRecord(value: ExpressionOrValue<boolean> | undefined);
863
+ get name(): Expression<string>;
864
+ set name(value: ExpressionOrValue<string>);
865
+ /**
866
+ * Resource properties.
867
+ */
868
+ get properties(): Expression<ManagedServerDnsAliasProperties>;
869
+ }
870
+ export interface DtcProps {
871
+ /**
872
+ * The name of the managed instance DTC.
873
+ */
874
+ name?: ExpressionOrValue<DtcName> | undefined;
875
+ /**
876
+ * Resource properties.
877
+ */
878
+ properties?: ManagedInstanceDtcPropertiesInput | undefined;
879
+ }
880
+ /**
881
+ * SQL Managed Instance DTC
882
+ */
883
+ export declare class Dtc extends Resource<"Microsoft.Sql/managedInstances/dtc"> {
884
+ static resourceType: "Microsoft.Sql/managedInstances/dtc";
885
+ static apiVersion: string;
886
+ protected static namingRules: ResourceNamingRules;
887
+ /**
888
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
889
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
890
+ *
891
+ * @param props - Resource properties to normalize for the base constructor.
892
+ */
893
+ protected static buildResourceProps(props?: (DtcProps & {
894
+ existing?: false;
895
+ }) | (ExistingResourceProps & {
896
+ existing: true;
897
+ })): ResourceProps<"Microsoft.Sql/managedInstances/dtc"> & Record<string, unknown>;
898
+ constructor(context: ManagedInstance, props?: (DtcProps & {
899
+ existing?: false;
900
+ }) | (ExistingResourceProps & {
901
+ existing: true;
902
+ }), options?: ResourceOptions);
903
+ /**
904
+ * The name of the managed instance DTC.
905
+ */
906
+ get name(): Expression<DtcName>;
907
+ set name(value: ExpressionOrValue<DtcName>);
908
+ /**
909
+ * Resource properties.
910
+ */
911
+ get properties(): ManagedInstanceDtcPropertiesView;
912
+ set properties(value: ManagedInstanceDtcPropertiesInput | undefined);
913
+ }
914
+ export interface ManagedInstanceEncryptionProtectorProps {
915
+ /**
916
+ * The name of the encryption protector to be retrieved.
917
+ */
918
+ name?: ExpressionOrValue<EncryptionProtectorName> | undefined;
919
+ /**
920
+ * Resource properties.
921
+ */
922
+ properties?: ManagedInstanceEncryptionProtectorPropertiesInput | undefined;
923
+ }
924
+ /**
925
+ * The managed instance encryption protector.
926
+ */
927
+ export declare class ManagedInstanceEncryptionProtector extends Resource<"Microsoft.Sql/managedInstances/encryptionProtector"> {
928
+ static resourceType: "Microsoft.Sql/managedInstances/encryptionProtector";
929
+ static apiVersion: string;
930
+ protected static namingRules: ResourceNamingRules;
931
+ /**
932
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
933
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
934
+ *
935
+ * @param props - Resource properties to normalize for the base constructor.
936
+ */
937
+ protected static buildResourceProps(props?: (ManagedInstanceEncryptionProtectorProps & {
938
+ existing?: false;
939
+ }) | (ExistingResourceProps & {
940
+ existing: true;
941
+ })): ResourceProps<"Microsoft.Sql/managedInstances/encryptionProtector"> & Record<string, unknown>;
942
+ constructor(context: ManagedInstance, props?: (ManagedInstanceEncryptionProtectorProps & {
943
+ existing?: false;
944
+ }) | (ExistingResourceProps & {
945
+ existing: true;
946
+ }), options?: ResourceOptions);
947
+ /**
948
+ * Kind of encryption protector. This is metadata used for the Azure portal experience.
949
+ */
950
+ get kind(): Expression<string>;
951
+ /**
952
+ * The name of the encryption protector to be retrieved.
953
+ */
954
+ get name(): Expression<EncryptionProtectorName>;
955
+ set name(value: ExpressionOrValue<EncryptionProtectorName>);
956
+ /**
957
+ * Resource properties.
958
+ */
959
+ get properties(): ManagedInstanceEncryptionProtectorPropertiesView;
960
+ set properties(value: ManagedInstanceEncryptionProtectorPropertiesInput | undefined);
961
+ }
962
+ /**
963
+ * Certificate used on an endpoint on the Managed Instance.
964
+ */
965
+ export declare class EndpointCertificate extends Resource<"Microsoft.Sql/managedInstances/endpointCertificates"> {
966
+ static resourceType: "Microsoft.Sql/managedInstances/endpointCertificates";
967
+ static apiVersion: string;
968
+ protected static namingRules: ResourceNamingRules;
969
+ /**
970
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
971
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
972
+ *
973
+ * @param props - Resource properties to normalize for the base constructor.
974
+ */
975
+ protected static buildResourceProps(props?: ExistingResourceProps & {
976
+ existing: true;
977
+ }): ResourceProps<"Microsoft.Sql/managedInstances/endpointCertificates"> & Record<string, unknown>;
978
+ constructor(context: ManagedInstance, props: ExistingResourceProps & {
979
+ existing: true;
980
+ }, options?: ResourceOptions);
981
+ /**
982
+ * Type of the endpoint whose certificate the customer is looking for.
983
+ */
984
+ get name(): Expression<string>;
985
+ set name(value: ExpressionOrValue<string>);
986
+ /**
987
+ * Resource properties.
988
+ */
989
+ get properties(): Expression<EndpointCertificateProperties>;
990
+ }
991
+ export interface ManagedInstanceKeyProps {
992
+ /**
993
+ * The name of the managed instance key to be retrieved.
994
+ */
995
+ name?: ExpressionOrValue<string> | undefined;
996
+ /**
997
+ * Resource properties.
998
+ */
999
+ properties?: ManagedInstanceKeyPropertiesInput | undefined;
1000
+ }
1001
+ /**
1002
+ * A managed instance key.
1003
+ */
1004
+ export declare class ManagedInstanceKey extends Resource<"Microsoft.Sql/managedInstances/keys"> {
1005
+ static resourceType: "Microsoft.Sql/managedInstances/keys";
1006
+ static apiVersion: string;
1007
+ protected static namingRules: ResourceNamingRules;
1008
+ /**
1009
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1010
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1011
+ *
1012
+ * @param props - Resource properties to normalize for the base constructor.
1013
+ */
1014
+ protected static buildResourceProps(props?: (ManagedInstanceKeyProps & {
1015
+ existing?: false;
1016
+ }) | (ExistingResourceProps & {
1017
+ existing: true;
1018
+ })): ResourceProps<"Microsoft.Sql/managedInstances/keys"> & Record<string, unknown>;
1019
+ constructor(context: ManagedInstance, props?: (ManagedInstanceKeyProps & {
1020
+ existing?: false;
1021
+ }) | (ExistingResourceProps & {
1022
+ existing: true;
1023
+ }), options?: ResourceOptions);
1024
+ /**
1025
+ * Kind of encryption protector. This is metadata used for the Azure portal experience.
1026
+ */
1027
+ get kind(): Expression<string>;
1028
+ /**
1029
+ * The name of the managed instance key to be retrieved.
1030
+ */
1031
+ get name(): Expression<string>;
1032
+ set name(value: ExpressionOrValue<string>);
1033
+ /**
1034
+ * Resource properties.
1035
+ */
1036
+ get properties(): ManagedInstanceKeyPropertiesView;
1037
+ set properties(value: ManagedInstanceKeyPropertiesInput | undefined);
1038
+ }
1039
+ /**
1040
+ * A managed instance operation.
1041
+ */
1042
+ export declare class ManagedInstanceOperation extends Resource<"Microsoft.Sql/managedInstances/operations"> {
1043
+ static resourceType: "Microsoft.Sql/managedInstances/operations";
1044
+ static apiVersion: string;
1045
+ protected static namingRules: ResourceNamingRules;
1046
+ /**
1047
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1048
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1049
+ *
1050
+ * @param props - Resource properties to normalize for the base constructor.
1051
+ */
1052
+ protected static buildResourceProps(props?: ExistingResourceProps & {
1053
+ existing: true;
1054
+ }): ResourceProps<"Microsoft.Sql/managedInstances/operations"> & Record<string, unknown>;
1055
+ constructor(context: ManagedInstance, props: ExistingResourceProps & {
1056
+ existing: true;
1057
+ }, options?: ResourceOptions);
1058
+ get name(): Expression<string>;
1059
+ set name(value: ExpressionOrValue<string>);
1060
+ /**
1061
+ * Resource properties.
1062
+ */
1063
+ get properties(): Expression<ManagedInstanceOperationProperties>;
1064
+ }
1065
+ export interface ManagedInstancePrivateEndpointConnectionProps {
1066
+ /**
1067
+ * The name of the private endpoint connection.
1068
+ */
1069
+ name?: ExpressionOrValue<string> | undefined;
1070
+ /**
1071
+ * Resource properties.
1072
+ */
1073
+ properties?: ManagedInstancePrivateEndpointConnectionPropertiesInput | undefined;
1074
+ }
1075
+ /**
1076
+ * A private endpoint connection
1077
+ */
1078
+ export declare class ManagedInstancePrivateEndpointConnection extends Resource<"Microsoft.Sql/managedInstances/privateEndpointConnections"> {
1079
+ static resourceType: "Microsoft.Sql/managedInstances/privateEndpointConnections";
1080
+ static apiVersion: string;
1081
+ protected static namingRules: ResourceNamingRules;
1082
+ /**
1083
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1084
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1085
+ *
1086
+ * @param props - Resource properties to normalize for the base constructor.
1087
+ */
1088
+ protected static buildResourceProps(props?: (ManagedInstancePrivateEndpointConnectionProps & {
1089
+ existing?: false;
1090
+ }) | (ExistingResourceProps & {
1091
+ existing: true;
1092
+ })): ResourceProps<"Microsoft.Sql/managedInstances/privateEndpointConnections"> & Record<string, unknown>;
1093
+ constructor(context: ManagedInstance, props?: (ManagedInstancePrivateEndpointConnectionProps & {
1094
+ existing?: false;
1095
+ }) | (ExistingResourceProps & {
1096
+ existing: true;
1097
+ }), options?: ResourceOptions);
1098
+ /**
1099
+ * The name of the private endpoint connection.
1100
+ */
1101
+ get name(): Expression<string>;
1102
+ set name(value: ExpressionOrValue<string>);
1103
+ /**
1104
+ * Resource properties.
1105
+ */
1106
+ get properties(): ManagedInstancePrivateEndpointConnectionPropertiesView;
1107
+ set properties(value: ManagedInstancePrivateEndpointConnectionPropertiesInput | undefined);
1108
+ }
1109
+ /**
1110
+ * A private link resource
1111
+ */
1112
+ export declare class ManagedInstancePrivateLink extends Resource<"Microsoft.Sql/managedInstances/privateLinkResources"> {
1113
+ static resourceType: "Microsoft.Sql/managedInstances/privateLinkResources";
1114
+ static apiVersion: string;
1115
+ protected static namingRules: ResourceNamingRules;
1116
+ /**
1117
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1118
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1119
+ *
1120
+ * @param props - Resource properties to normalize for the base constructor.
1121
+ */
1122
+ protected static buildResourceProps(props?: ExistingResourceProps & {
1123
+ existing: true;
1124
+ }): ResourceProps<"Microsoft.Sql/managedInstances/privateLinkResources"> & Record<string, unknown>;
1125
+ constructor(context: ManagedInstance, props: ExistingResourceProps & {
1126
+ existing: true;
1127
+ }, options?: ResourceOptions);
1128
+ /**
1129
+ * The name of the private link resource.
1130
+ */
1131
+ get name(): Expression<string>;
1132
+ set name(value: ExpressionOrValue<string>);
1133
+ /**
1134
+ * The private link resource group id.
1135
+ */
1136
+ get properties(): Expression<ManagedInstancePrivateLinkProperties>;
1137
+ }
1138
+ /**
1139
+ * A recoverable managed database resource.
1140
+ */
1141
+ export declare class RecoverableManagedDatabase extends Resource<"Microsoft.Sql/managedInstances/recoverableDatabases"> {
1142
+ static resourceType: "Microsoft.Sql/managedInstances/recoverableDatabases";
1143
+ static apiVersion: string;
1144
+ protected static namingRules: ResourceNamingRules;
1145
+ /**
1146
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1147
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1148
+ *
1149
+ * @param props - Resource properties to normalize for the base constructor.
1150
+ */
1151
+ protected static buildResourceProps(props?: ExistingResourceProps & {
1152
+ existing: true;
1153
+ }): ResourceProps<"Microsoft.Sql/managedInstances/recoverableDatabases"> & Record<string, unknown>;
1154
+ constructor(context: ManagedInstance, props: ExistingResourceProps & {
1155
+ existing: true;
1156
+ }, options?: ResourceOptions);
1157
+ get name(): Expression<string>;
1158
+ set name(value: ExpressionOrValue<string>);
1159
+ /**
1160
+ * Resource properties.
1161
+ */
1162
+ get properties(): Expression<RecoverableManagedDatabaseProperties>;
1163
+ }
1164
+ export interface ManagedRestorableDroppedDbBackupShortTermRetentionPolicyProps {
1165
+ /**
1166
+ * The policy name.
1167
+ */
1168
+ name?: ExpressionOrValue<ManagedShortTermRetentionPolicyName> | undefined;
1169
+ /**
1170
+ * Resource properties.
1171
+ */
1172
+ properties?: ManagedBackupShortTermRetentionPolicyPropertiesInput | undefined;
1173
+ }
1174
+ /**
1175
+ * A short term retention policy.
1176
+ */
1177
+ export declare class ManagedRestorableDroppedDbBackupShortTermRetentionPolicy extends Resource<"Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies"> {
1178
+ static resourceType: "Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies";
1179
+ static apiVersion: string;
1180
+ protected static namingRules: ResourceNamingRules;
1181
+ /**
1182
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1183
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1184
+ *
1185
+ * @param props - Resource properties to normalize for the base constructor.
1186
+ */
1187
+ protected static buildResourceProps(props?: (ManagedRestorableDroppedDbBackupShortTermRetentionPolicyProps & {
1188
+ existing?: false;
1189
+ }) | (ExistingResourceProps & {
1190
+ existing: true;
1191
+ })): ResourceProps<"Microsoft.Sql/managedInstances/restorableDroppedDatabases/backupShortTermRetentionPolicies"> & Record<string, unknown>;
1192
+ constructor(context: RestorableDroppedManagedDatabase, props?: (ManagedRestorableDroppedDbBackupShortTermRetentionPolicyProps & {
1193
+ existing?: false;
1194
+ }) | (ExistingResourceProps & {
1195
+ existing: true;
1196
+ }), options?: ResourceOptions);
1197
+ /**
1198
+ * The policy name.
1199
+ */
1200
+ get name(): Expression<ManagedShortTermRetentionPolicyName>;
1201
+ set name(value: ExpressionOrValue<ManagedShortTermRetentionPolicyName>);
1202
+ /**
1203
+ * Resource properties.
1204
+ */
1205
+ get properties(): ManagedBackupShortTermRetentionPolicyPropertiesView;
1206
+ set properties(value: ManagedBackupShortTermRetentionPolicyPropertiesInput | undefined);
1207
+ }
1208
+ /**
1209
+ * A restorable dropped managed database resource.
1210
+ */
1211
+ export declare class RestorableDroppedManagedDatabase extends Resource<"Microsoft.Sql/managedInstances/restorableDroppedDatabases"> {
1212
+ static resourceType: "Microsoft.Sql/managedInstances/restorableDroppedDatabases";
1213
+ static apiVersion: string;
1214
+ protected static namingRules: ResourceNamingRules;
1215
+ /**
1216
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1217
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1218
+ *
1219
+ * @param props - Resource properties to normalize for the base constructor.
1220
+ */
1221
+ protected static buildResourceProps(props?: ExistingResourceProps & {
1222
+ existing: true;
1223
+ }): ResourceProps<"Microsoft.Sql/managedInstances/restorableDroppedDatabases"> & Record<string, unknown>;
1224
+ constructor(context: ManagedInstance, props: ExistingResourceProps & {
1225
+ existing: true;
1226
+ }, options?: ResourceOptions);
1227
+ /**
1228
+ * The geo-location where the resource lives
1229
+ */
1230
+ get location(): Expression<string>;
1231
+ get name(): Expression<string>;
1232
+ set name(value: ExpressionOrValue<string>);
1233
+ /**
1234
+ * Resource properties.
1235
+ */
1236
+ get properties(): Expression<RestorableDroppedManagedDatabaseProperties>;
1237
+ /**
1238
+ * Resource tags.
1239
+ */
1240
+ get tags(): Expression<Record<string, string>>;
1241
+ }
1242
+ export interface ManagedInstanceSecurityAlertPolicyProps {
1243
+ /**
1244
+ * The name of the security alert policy.
1245
+ */
1246
+ name?: ExpressionOrValue<SecurityAlertPolicyName> | undefined;
1247
+ /**
1248
+ * Resource properties.
1249
+ */
1250
+ properties?: SecurityAlertsPolicyPropertiesInput | undefined;
1251
+ }
1252
+ /**
1253
+ * A managed server security alert policy.
1254
+ */
1255
+ export declare class ManagedInstanceSecurityAlertPolicy extends Resource<"Microsoft.Sql/managedInstances/securityAlertPolicies"> {
1256
+ static resourceType: "Microsoft.Sql/managedInstances/securityAlertPolicies";
1257
+ static apiVersion: string;
1258
+ protected static namingRules: ResourceNamingRules;
1259
+ /**
1260
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1261
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1262
+ *
1263
+ * @param props - Resource properties to normalize for the base constructor.
1264
+ */
1265
+ protected static buildResourceProps(props?: (ManagedInstanceSecurityAlertPolicyProps & {
1266
+ existing?: false;
1267
+ }) | (ExistingResourceProps & {
1268
+ existing: true;
1269
+ })): ResourceProps<"Microsoft.Sql/managedInstances/securityAlertPolicies"> & Record<string, unknown>;
1270
+ constructor(context: ManagedInstance, props?: (ManagedInstanceSecurityAlertPolicyProps & {
1271
+ existing?: false;
1272
+ }) | (ExistingResourceProps & {
1273
+ existing: true;
1274
+ }), options?: ResourceOptions);
1275
+ /**
1276
+ * The name of the security alert policy.
1277
+ */
1278
+ get name(): Expression<SecurityAlertPolicyName>;
1279
+ set name(value: ExpressionOrValue<SecurityAlertPolicyName>);
1280
+ /**
1281
+ * Resource properties.
1282
+ */
1283
+ get properties(): SecurityAlertsPolicyPropertiesView;
1284
+ set properties(value: SecurityAlertsPolicyPropertiesInput | undefined);
1285
+ }
1286
+ export interface ServerConfigurationOptionProps {
1287
+ /**
1288
+ * The name of the server configuration option.
1289
+ */
1290
+ name?: ExpressionOrValue<ServerConfigurationOptionName> | undefined;
1291
+ /**
1292
+ * Resource properties.
1293
+ */
1294
+ properties?: ServerConfigurationOptionPropertiesInput | undefined;
1295
+ }
1296
+ /**
1297
+ * A server configuration option
1298
+ */
1299
+ export declare class ServerConfigurationOption extends Resource<"Microsoft.Sql/managedInstances/serverConfigurationOptions"> {
1300
+ static resourceType: "Microsoft.Sql/managedInstances/serverConfigurationOptions";
1301
+ static apiVersion: string;
1302
+ protected static namingRules: ResourceNamingRules;
1303
+ /**
1304
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1305
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1306
+ *
1307
+ * @param props - Resource properties to normalize for the base constructor.
1308
+ */
1309
+ protected static buildResourceProps(props?: (ServerConfigurationOptionProps & {
1310
+ existing?: false;
1311
+ }) | (ExistingResourceProps & {
1312
+ existing: true;
1313
+ })): ResourceProps<"Microsoft.Sql/managedInstances/serverConfigurationOptions"> & Record<string, unknown>;
1314
+ constructor(context: ManagedInstance, props?: (ServerConfigurationOptionProps & {
1315
+ existing?: false;
1316
+ }) | (ExistingResourceProps & {
1317
+ existing: true;
1318
+ }), options?: ResourceOptions);
1319
+ /**
1320
+ * The name of the server configuration option.
1321
+ */
1322
+ get name(): Expression<ServerConfigurationOptionName>;
1323
+ set name(value: ExpressionOrValue<ServerConfigurationOptionName>);
1324
+ /**
1325
+ * Resource properties.
1326
+ */
1327
+ get properties(): ServerConfigurationOptionPropertiesView;
1328
+ set properties(value: ServerConfigurationOptionPropertiesInput | undefined);
1329
+ }
1330
+ export interface ManagedInstanceServerTrustCertificateProps {
1331
+ /**
1332
+ * Name of of the certificate to get.
1333
+ */
1334
+ name?: ExpressionOrValue<string> | undefined;
1335
+ /**
1336
+ * Resource properties.
1337
+ */
1338
+ properties?: ServerTrustCertificatePropertiesInput | undefined;
1339
+ }
1340
+ /**
1341
+ * Server trust certificate imported from box to enable connection between box and Sql Managed Instance.
1342
+ */
1343
+ export declare class ManagedInstanceServerTrustCertificate extends Resource<"Microsoft.Sql/managedInstances/serverTrustCertificates"> {
1344
+ static resourceType: "Microsoft.Sql/managedInstances/serverTrustCertificates";
1345
+ static apiVersion: string;
1346
+ protected static namingRules: ResourceNamingRules;
1347
+ /**
1348
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1349
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1350
+ *
1351
+ * @param props - Resource properties to normalize for the base constructor.
1352
+ */
1353
+ protected static buildResourceProps(props?: (ManagedInstanceServerTrustCertificateProps & {
1354
+ existing?: false;
1355
+ }) | (ExistingResourceProps & {
1356
+ existing: true;
1357
+ })): ResourceProps<"Microsoft.Sql/managedInstances/serverTrustCertificates"> & Record<string, unknown>;
1358
+ constructor(context: ManagedInstance, props?: (ManagedInstanceServerTrustCertificateProps & {
1359
+ existing?: false;
1360
+ }) | (ExistingResourceProps & {
1361
+ existing: true;
1362
+ }), options?: ResourceOptions);
1363
+ /**
1364
+ * Name of of the certificate to get.
1365
+ */
1366
+ get name(): Expression<string>;
1367
+ set name(value: ExpressionOrValue<string>);
1368
+ /**
1369
+ * Resource properties.
1370
+ */
1371
+ get properties(): ServerTrustCertificatePropertiesView;
1372
+ set properties(value: ServerTrustCertificatePropertiesInput | undefined);
1373
+ }
1374
+ export interface SqlAgentProps {
1375
+ /**
1376
+ * Resource properties.
1377
+ */
1378
+ properties?: SqlAgentConfigurationPropertiesInput | undefined;
1379
+ }
1380
+ /**
1381
+ * A recoverable managed database resource.
1382
+ */
1383
+ export declare class SqlAgent extends Resource<"Microsoft.Sql/managedInstances/sqlAgent"> {
1384
+ static resourceType: "Microsoft.Sql/managedInstances/sqlAgent";
1385
+ static apiVersion: string;
1386
+ /**
1387
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1388
+ * resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
1389
+ * resource reconstruction.
1390
+ *
1391
+ * @param props - Resource properties to normalize for the base constructor.
1392
+ */
1393
+ protected static buildResourceProps(props?: (SqlAgentProps & {
1394
+ existing?: false;
1395
+ }) | (SingletonExistingResourceProps & {
1396
+ existing: true;
1397
+ })): ResourceProps<"Microsoft.Sql/managedInstances/sqlAgent"> & Record<string, unknown>;
1398
+ constructor(context: ManagedInstance, props?: (SqlAgentProps & {
1399
+ existing?: false;
1400
+ }) | (SingletonExistingResourceProps & {
1401
+ existing: true;
1402
+ }), options?: ResourceOptions);
1403
+ get name(): Expression<"current">;
1404
+ /**
1405
+ * Resource properties.
1406
+ */
1407
+ get properties(): SqlAgentConfigurationPropertiesView;
1408
+ set properties(value: SqlAgentConfigurationPropertiesInput | undefined);
1409
+ }
1410
+ export interface StartStopManagedInstanceScheduleProps {
1411
+ /**
1412
+ * Name of the managed instance Start/Stop schedule.
1413
+ */
1414
+ name?: ExpressionOrValue<StartStopScheduleName> | undefined;
1415
+ /**
1416
+ * Resource properties.
1417
+ */
1418
+ properties?: StartStopManagedInstanceSchedulePropertiesInput | undefined;
1419
+ }
1420
+ /**
1421
+ * Managed instance's Start/Stop schedule.
1422
+ */
1423
+ export declare class StartStopManagedInstanceSchedule extends Resource<"Microsoft.Sql/managedInstances/startStopSchedules"> {
1424
+ static resourceType: "Microsoft.Sql/managedInstances/startStopSchedules";
1425
+ static apiVersion: string;
1426
+ protected static namingRules: ResourceNamingRules;
1427
+ /**
1428
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1429
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1430
+ *
1431
+ * @param props - Resource properties to normalize for the base constructor.
1432
+ */
1433
+ protected static buildResourceProps(props?: (StartStopManagedInstanceScheduleProps & {
1434
+ existing?: false;
1435
+ }) | (ExistingResourceProps & {
1436
+ existing: true;
1437
+ })): ResourceProps<"Microsoft.Sql/managedInstances/startStopSchedules"> & Record<string, unknown>;
1438
+ constructor(context: ManagedInstance, props?: (StartStopManagedInstanceScheduleProps & {
1439
+ existing?: false;
1440
+ }) | (ExistingResourceProps & {
1441
+ existing: true;
1442
+ }), options?: ResourceOptions);
1443
+ /**
1444
+ * Name of the managed instance Start/Stop schedule.
1445
+ */
1446
+ get name(): Expression<StartStopScheduleName>;
1447
+ set name(value: ExpressionOrValue<StartStopScheduleName>);
1448
+ /**
1449
+ * Resource properties.
1450
+ */
1451
+ get properties(): StartStopManagedInstanceSchedulePropertiesView;
1452
+ set properties(value: StartStopManagedInstanceSchedulePropertiesInput | undefined);
1453
+ }
1454
+ export interface ManagedInstanceVulnerabilityAssessmentProps {
1455
+ /**
1456
+ * The name of the vulnerability assessment.
1457
+ */
1458
+ name?: ExpressionOrValue<VulnerabilityAssessmentName> | undefined;
1459
+ /**
1460
+ * Resource properties.
1461
+ */
1462
+ properties?: ManagedInstanceVulnerabilityAssessmentPropertiesInput | undefined;
1463
+ }
1464
+ /**
1465
+ * A managed instance vulnerability assessment.
1466
+ */
1467
+ export declare class ManagedInstanceVulnerabilityAssessment extends Resource<"Microsoft.Sql/managedInstances/vulnerabilityAssessments"> {
1468
+ static resourceType: "Microsoft.Sql/managedInstances/vulnerabilityAssessments";
1469
+ static apiVersion: string;
1470
+ protected static namingRules: ResourceNamingRules;
1471
+ /**
1472
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1473
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1474
+ *
1475
+ * @param props - Resource properties to normalize for the base constructor.
1476
+ */
1477
+ protected static buildResourceProps(props?: (ManagedInstanceVulnerabilityAssessmentProps & {
1478
+ existing?: false;
1479
+ }) | (ExistingResourceProps & {
1480
+ existing: true;
1481
+ })): ResourceProps<"Microsoft.Sql/managedInstances/vulnerabilityAssessments"> & Record<string, unknown>;
1482
+ constructor(context: ManagedInstance, props?: (ManagedInstanceVulnerabilityAssessmentProps & {
1483
+ existing?: false;
1484
+ }) | (ExistingResourceProps & {
1485
+ existing: true;
1486
+ }), options?: ResourceOptions);
1487
+ /**
1488
+ * The name of the vulnerability assessment.
1489
+ */
1490
+ get name(): Expression<VulnerabilityAssessmentName>;
1491
+ set name(value: ExpressionOrValue<VulnerabilityAssessmentName>);
1492
+ /**
1493
+ * Resource properties.
1494
+ */
1495
+ get properties(): ManagedInstanceVulnerabilityAssessmentPropertiesView;
1496
+ set properties(value: ManagedInstanceVulnerabilityAssessmentPropertiesInput | undefined);
1497
+ }
1498
+ /**
1499
+ * An Azure SQL managed instance.
1500
+ */
1501
+ export declare class ManagedInstance extends Resource<"Microsoft.Sql/managedInstances"> {
1502
+ static resourceType: "Microsoft.Sql/managedInstances";
1503
+ static apiVersion: string;
1504
+ protected static namingRules: ResourceNamingRules;
1505
+ /**
1506
+ * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
1507
+ * resource metadata. Shared by ordinary construction and internal resource reconstruction.
1508
+ *
1509
+ * @param props - Resource properties to normalize for the base constructor.
1510
+ */
1511
+ protected static buildResourceProps(props?: (ManagedInstanceProps & {
1512
+ existing?: false;
1513
+ }) | (ExistingResourceProps & {
1514
+ existing: true;
1515
+ })): ResourceProps<"Microsoft.Sql/managedInstances"> & Record<string, unknown>;
1516
+ constructor(context: ProvisioningComponent, props?: (ManagedInstanceProps & {
1517
+ existing?: false;
1518
+ }) | (ExistingResourceProps & {
1519
+ existing: true;
1520
+ }), options?: ResourceOptions);
1521
+ /**
1522
+ * The Azure Active Directory identity of the managed instance.
1523
+ */
1524
+ get identity(): ResourceIdentityView;
1525
+ set identity(value: ResourceIdentityInput | undefined);
1526
+ /**
1527
+ * The geo-location where the resource lives
1528
+ */
1529
+ get location(): Expression<string>;
1530
+ set location(value: ExpressionOrValue<string>);
1531
+ /**
1532
+ * The name of the managed instance.
1533
+ */
1534
+ get name(): Expression<string>;
1535
+ set name(value: ExpressionOrValue<string>);
1536
+ /**
1537
+ * Resource properties.
1538
+ */
1539
+ get properties(): ManagedInstancePropertiesView;
1540
+ set properties(value: ManagedInstancePropertiesInput | undefined);
1541
+ /**
1542
+ * Managed instance SKU. Allowed values for sku.name: GP_Gen5 (General Purpose, Standard-series);
1543
+ * GP_G8IM (General Purpose, Premium-series); GP_G8IH (General Purpose, Premium-series memory
1544
+ * optimized); BC_Gen5 (Business Critical, Standard-Series); BC_G8IM (Business Critical,
1545
+ * Premium-series); BC_G8IH (Business Critical, Premium-series memory optimized).
1546
+ */
1547
+ get sku(): SkuView;
1548
+ set sku(value: SkuInput | undefined);
1549
+ /**
1550
+ * Resource tags.
1551
+ */
1552
+ get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
1553
+ set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
1554
+ }
1555
+ //# sourceMappingURL=managed-instance.d.ts.map