@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,3439 @@
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 types_exports = {};
19
+ __export(types_exports, {
20
+ administratorPropertiesShape: () => administratorPropertiesShape,
21
+ advancedThreatProtectionPropertiesShape: () => advancedThreatProtectionPropertiesShape,
22
+ advisorPropertiesShape: () => advisorPropertiesShape,
23
+ automaticTuningOptionsShape: () => automaticTuningOptionsShape,
24
+ automaticTuningServerOptionsShape: () => automaticTuningServerOptionsShape,
25
+ automaticTuningServerPropertiesShape: () => automaticTuningServerPropertiesShape,
26
+ azureAdOnlyAuthPropertiesShape: () => azureAdOnlyAuthPropertiesShape,
27
+ backupShortTermRetentionPolicyPropertiesShape: () => backupShortTermRetentionPolicyPropertiesShape,
28
+ baselineAdjustedResultShape: () => baselineAdjustedResultShape,
29
+ baselineShape: () => baselineShape,
30
+ benchmarkReferenceShape: () => benchmarkReferenceShape,
31
+ certificateInfoShape: () => certificateInfoShape,
32
+ dataMaskingPolicyPropertiesShape: () => dataMaskingPolicyPropertiesShape,
33
+ dataMaskingRulePropertiesShape: () => dataMaskingRulePropertiesShape,
34
+ dataWarehouseUserActivitiesPropertiesShape: () => dataWarehouseUserActivitiesPropertiesShape,
35
+ databaseAutomaticTuningPropertiesShape: () => databaseAutomaticTuningPropertiesShape,
36
+ databaseBlobAuditingPolicyPropertiesShape: () => databaseBlobAuditingPolicyPropertiesShape,
37
+ databaseColumnPropertiesShape: () => databaseColumnPropertiesShape,
38
+ databaseExtensionsPropertiesShape: () => databaseExtensionsPropertiesShape,
39
+ databaseIdentityShape: () => databaseIdentityShape,
40
+ databaseKeyShape: () => databaseKeyShape,
41
+ databasePropertiesShape: () => databasePropertiesShape,
42
+ databaseSqlVulnerabilityAssessmentBaselineSetPropertiesShape: () => databaseSqlVulnerabilityAssessmentBaselineSetPropertiesShape,
43
+ databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesShape: () => databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesShape,
44
+ databaseTablePropertiesShape: () => databaseTablePropertiesShape,
45
+ databaseUserIdentityShape: () => databaseUserIdentityShape,
46
+ databaseVulnerabilityAssessmentPropertiesShape: () => databaseVulnerabilityAssessmentPropertiesShape,
47
+ databaseVulnerabilityAssessmentRuleBaselineItemShape: () => databaseVulnerabilityAssessmentRuleBaselineItemShape,
48
+ databaseVulnerabilityAssessmentRuleBaselinePropertiesShape: () => databaseVulnerabilityAssessmentRuleBaselinePropertiesShape,
49
+ deletedServerPropertiesShape: () => deletedServerPropertiesShape,
50
+ distributedAvailabilityGroupDatabaseShape: () => distributedAvailabilityGroupDatabaseShape,
51
+ distributedAvailabilityGroupPropertiesShape: () => distributedAvailabilityGroupPropertiesShape,
52
+ elasticPoolPerDatabaseSettingsShape: () => elasticPoolPerDatabaseSettingsShape,
53
+ elasticPoolPropertiesShape: () => elasticPoolPropertiesShape,
54
+ encryptionProtectorPropertiesShape: () => encryptionProtectorPropertiesShape,
55
+ endpointCertificatePropertiesShape: () => endpointCertificatePropertiesShape,
56
+ extendedDatabaseBlobAuditingPolicyPropertiesShape: () => extendedDatabaseBlobAuditingPolicyPropertiesShape,
57
+ extendedServerBlobAuditingPolicyPropertiesShape: () => extendedServerBlobAuditingPolicyPropertiesShape,
58
+ failoverGroupPropertiesShape: () => failoverGroupPropertiesShape,
59
+ failoverGroupReadOnlyEndpointShape: () => failoverGroupReadOnlyEndpointShape,
60
+ failoverGroupReadWriteEndpointShape: () => failoverGroupReadWriteEndpointShape,
61
+ geoBackupPolicyPropertiesShape: () => geoBackupPolicyPropertiesShape,
62
+ iPv6ServerFirewallRulePropertiesShape: () => iPv6ServerFirewallRulePropertiesShape,
63
+ instanceFailoverGroupPropertiesShape: () => instanceFailoverGroupPropertiesShape,
64
+ instanceFailoverGroupReadOnlyEndpointShape: () => instanceFailoverGroupReadOnlyEndpointShape,
65
+ instanceFailoverGroupReadWriteEndpointShape: () => instanceFailoverGroupReadWriteEndpointShape,
66
+ instancePoolOperationPropertiesShape: () => instancePoolOperationPropertiesShape,
67
+ instancePoolPropertiesShape: () => instancePoolPropertiesShape,
68
+ jobAgentIdentityShape: () => jobAgentIdentityShape,
69
+ jobAgentPropertiesShape: () => jobAgentPropertiesShape,
70
+ jobAgentUserAssignedIdentityShape: () => jobAgentUserAssignedIdentityShape,
71
+ jobCredentialPropertiesShape: () => jobCredentialPropertiesShape,
72
+ jobExecutionPropertiesShape: () => jobExecutionPropertiesShape,
73
+ jobExecutionTargetShape: () => jobExecutionTargetShape,
74
+ jobPrivateEndpointPropertiesShape: () => jobPrivateEndpointPropertiesShape,
75
+ jobPropertiesShape: () => jobPropertiesShape,
76
+ jobScheduleShape: () => jobScheduleShape,
77
+ jobStepActionShape: () => jobStepActionShape,
78
+ jobStepExecutionOptionsShape: () => jobStepExecutionOptionsShape,
79
+ jobStepOutputShape: () => jobStepOutputShape,
80
+ jobStepPropertiesShape: () => jobStepPropertiesShape,
81
+ jobTargetGroupPropertiesShape: () => jobTargetGroupPropertiesShape,
82
+ jobTargetShape: () => jobTargetShape,
83
+ ledgerDigestUploadsPropertiesShape: () => ledgerDigestUploadsPropertiesShape,
84
+ longTermRetentionBackupPropertiesShape: () => longTermRetentionBackupPropertiesShape,
85
+ longTermRetentionPolicyPropertiesShape: () => longTermRetentionPolicyPropertiesShape,
86
+ managedBackupShortTermRetentionPolicyPropertiesShape: () => managedBackupShortTermRetentionPolicyPropertiesShape,
87
+ managedDatabaseExtendedAccessibilityInfoShape: () => managedDatabaseExtendedAccessibilityInfoShape,
88
+ managedDatabaseMoveOperationResultPropertiesShape: () => managedDatabaseMoveOperationResultPropertiesShape,
89
+ managedDatabasePropertiesShape: () => managedDatabasePropertiesShape,
90
+ managedDatabaseRestoreDetailsBackupSetPropertiesShape: () => managedDatabaseRestoreDetailsBackupSetPropertiesShape,
91
+ managedDatabaseRestoreDetailsPropertiesShape: () => managedDatabaseRestoreDetailsPropertiesShape,
92
+ managedDatabaseRestoreDetailsUnrestorableFilePropertiesShape: () => managedDatabaseRestoreDetailsUnrestorableFilePropertiesShape,
93
+ managedInstanceAdministratorPropertiesShape: () => managedInstanceAdministratorPropertiesShape,
94
+ managedInstanceAzureAdOnlyAuthPropertiesShape: () => managedInstanceAzureAdOnlyAuthPropertiesShape,
95
+ managedInstanceDtcPropertiesShape: () => managedInstanceDtcPropertiesShape,
96
+ managedInstanceDtcSecuritySettingsShape: () => managedInstanceDtcSecuritySettingsShape,
97
+ managedInstanceDtcTransactionManagerCommunicationSettingsShape: () => managedInstanceDtcTransactionManagerCommunicationSettingsShape,
98
+ managedInstanceEncryptionProtectorPropertiesShape: () => managedInstanceEncryptionProtectorPropertiesShape,
99
+ managedInstanceExternalAdministratorShape: () => managedInstanceExternalAdministratorShape,
100
+ managedInstanceKeyPropertiesShape: () => managedInstanceKeyPropertiesShape,
101
+ managedInstanceLongTermRetentionBackupPropertiesShape: () => managedInstanceLongTermRetentionBackupPropertiesShape,
102
+ managedInstanceLongTermRetentionPolicyPropertiesShape: () => managedInstanceLongTermRetentionPolicyPropertiesShape,
103
+ managedInstanceOperationParametersPairShape: () => managedInstanceOperationParametersPairShape,
104
+ managedInstanceOperationPropertiesShape: () => managedInstanceOperationPropertiesShape,
105
+ managedInstanceOperationStepsShape: () => managedInstanceOperationStepsShape,
106
+ managedInstancePairInfoShape: () => managedInstancePairInfoShape,
107
+ managedInstancePecPropertyShape: () => managedInstancePecPropertyShape,
108
+ managedInstancePrivateEndpointConnectionPropertiesShape: () => managedInstancePrivateEndpointConnectionPropertiesShape,
109
+ managedInstancePrivateEndpointPropertyShape: () => managedInstancePrivateEndpointPropertyShape,
110
+ managedInstancePrivateLinkPropertiesShape: () => managedInstancePrivateLinkPropertiesShape,
111
+ managedInstancePrivateLinkServiceConnectionStatePropertyShape: () => managedInstancePrivateLinkServiceConnectionStatePropertyShape,
112
+ managedInstancePropertiesShape: () => managedInstancePropertiesShape,
113
+ managedInstanceVulnerabilityAssessmentPropertiesShape: () => managedInstanceVulnerabilityAssessmentPropertiesShape,
114
+ managedLedgerDigestUploadsPropertiesShape: () => managedLedgerDigestUploadsPropertiesShape,
115
+ managedServerDnsAliasPropertiesShape: () => managedServerDnsAliasPropertiesShape,
116
+ managedTransparentDataEncryptionPropertiesShape: () => managedTransparentDataEncryptionPropertiesShape,
117
+ networkIsolationSettingsShape: () => networkIsolationSettingsShape,
118
+ networkSecurityPerimeterConfigurationPropertiesShape: () => networkSecurityPerimeterConfigurationPropertiesShape,
119
+ nspConfigAccessRulePropertiesShape: () => nspConfigAccessRulePropertiesShape,
120
+ nspConfigAccessRuleShape: () => nspConfigAccessRuleShape,
121
+ nspConfigAssociationShape: () => nspConfigAssociationShape,
122
+ nspConfigNetworkSecurityPerimeterRuleShape: () => nspConfigNetworkSecurityPerimeterRuleShape,
123
+ nspConfigPerimeterShape: () => nspConfigPerimeterShape,
124
+ nspConfigProfileShape: () => nspConfigProfileShape,
125
+ nspProvisioningIssuePropertiesShape: () => nspProvisioningIssuePropertiesShape,
126
+ nspProvisioningIssueShape: () => nspProvisioningIssueShape,
127
+ outboundFirewallRulePropertiesShape: () => outboundFirewallRulePropertiesShape,
128
+ partnerInfoShape: () => partnerInfoShape,
129
+ partnerRegionInfoShape: () => partnerRegionInfoShape,
130
+ privateEndpointConnectionPropertiesShape: () => privateEndpointConnectionPropertiesShape,
131
+ privateEndpointPropertyShape: () => privateEndpointPropertyShape,
132
+ privateLinkResourcePropertiesShape: () => privateLinkResourcePropertiesShape,
133
+ privateLinkServiceConnectionStatePropertyShape: () => privateLinkServiceConnectionStatePropertyShape,
134
+ queryCheckShape: () => queryCheckShape,
135
+ queryPropertiesShape: () => queryPropertiesShape,
136
+ recommendedActionErrorInfoShape: () => recommendedActionErrorInfoShape,
137
+ recommendedActionImpactRecordShape: () => recommendedActionImpactRecordShape,
138
+ recommendedActionImplementationInfoShape: () => recommendedActionImplementationInfoShape,
139
+ recommendedActionMetricInfoShape: () => recommendedActionMetricInfoShape,
140
+ recommendedActionPropertiesShape: () => recommendedActionPropertiesShape,
141
+ recommendedActionStateInfoShape: () => recommendedActionStateInfoShape,
142
+ recoverableDatabasePropertiesShape: () => recoverableDatabasePropertiesShape,
143
+ recoverableManagedDatabasePropertiesShape: () => recoverableManagedDatabasePropertiesShape,
144
+ remediationShape: () => remediationShape,
145
+ replicationLinkPropertiesShape: () => replicationLinkPropertiesShape,
146
+ resourceIdentityShape: () => resourceIdentityShape,
147
+ restorableDroppedDatabasePropertiesShape: () => restorableDroppedDatabasePropertiesShape,
148
+ restorableDroppedManagedDatabasePropertiesShape: () => restorableDroppedManagedDatabasePropertiesShape,
149
+ restorePointPropertiesShape: () => restorePointPropertiesShape,
150
+ scheduleItemShape: () => scheduleItemShape,
151
+ securityAlertPolicyPropertiesShape: () => securityAlertPolicyPropertiesShape,
152
+ securityAlertsPolicyPropertiesShape: () => securityAlertsPolicyPropertiesShape,
153
+ sensitivityLabelPropertiesShape: () => sensitivityLabelPropertiesShape,
154
+ serverBlobAuditingPolicyPropertiesShape: () => serverBlobAuditingPolicyPropertiesShape,
155
+ serverConfigurationOptionPropertiesShape: () => serverConfigurationOptionPropertiesShape,
156
+ serverConnectionPolicyPropertiesShape: () => serverConnectionPolicyPropertiesShape,
157
+ serverDevOpsAuditSettingsPropertiesShape: () => serverDevOpsAuditSettingsPropertiesShape,
158
+ serverDnsAliasPropertiesShape: () => serverDnsAliasPropertiesShape,
159
+ serverExternalAdministratorShape: () => serverExternalAdministratorShape,
160
+ serverFirewallRulePropertiesShape: () => serverFirewallRulePropertiesShape,
161
+ serverInfoShape: () => serverInfoShape,
162
+ serverKeyPropertiesShape: () => serverKeyPropertiesShape,
163
+ serverPropertiesShape: () => serverPropertiesShape,
164
+ serverTrustCertificatePropertiesShape: () => serverTrustCertificatePropertiesShape,
165
+ serverTrustGroupPropertiesShape: () => serverTrustGroupPropertiesShape,
166
+ serverVulnerabilityAssessmentPropertiesShape: () => serverVulnerabilityAssessmentPropertiesShape,
167
+ servicePrincipalShape: () => servicePrincipalShape,
168
+ skuShape: () => skuShape,
169
+ sqlAgentConfigurationPropertiesShape: () => sqlAgentConfigurationPropertiesShape,
170
+ sqlRecommendedActionShape: () => sqlRecommendedActionShape,
171
+ sqlServerPrivateEndpointConnectionShape: () => sqlServerPrivateEndpointConnectionShape,
172
+ sqlVulnerabilityAssessmentPolicyPropertiesShape: () => sqlVulnerabilityAssessmentPolicyPropertiesShape,
173
+ sqlVulnerabilityAssessmentScanErrorShape: () => sqlVulnerabilityAssessmentScanErrorShape,
174
+ sqlVulnerabilityAssessmentScanRecordPropertiesShape: () => sqlVulnerabilityAssessmentScanRecordPropertiesShape,
175
+ sqlVulnerabilityAssessmentScanResultPropertiesShape: () => sqlVulnerabilityAssessmentScanResultPropertiesShape,
176
+ startStopManagedInstanceSchedulePropertiesShape: () => startStopManagedInstanceSchedulePropertiesShape,
177
+ subscriptionUsagePropertiesShape: () => subscriptionUsagePropertiesShape,
178
+ syncAgentPropertiesShape: () => syncAgentPropertiesShape,
179
+ syncGroupPropertiesShape: () => syncGroupPropertiesShape,
180
+ syncGroupSchemaShape: () => syncGroupSchemaShape,
181
+ syncGroupSchemaTableColumnShape: () => syncGroupSchemaTableColumnShape,
182
+ syncGroupSchemaTableShape: () => syncGroupSchemaTableShape,
183
+ syncMemberPropertiesShape: () => syncMemberPropertiesShape,
184
+ systemDataShape: () => systemDataShape,
185
+ timeZonePropertiesShape: () => timeZonePropertiesShape,
186
+ transparentDataEncryptionPropertiesShape: () => transparentDataEncryptionPropertiesShape,
187
+ upsertManagedServerOperationParametersShape: () => upsertManagedServerOperationParametersShape,
188
+ upsertManagedServerOperationStepWithEstimatesAndDurationShape: () => upsertManagedServerOperationStepWithEstimatesAndDurationShape,
189
+ userIdentityShape: () => userIdentityShape,
190
+ vaRuleShape: () => vaRuleShape,
191
+ virtualClusterPropertiesShape: () => virtualClusterPropertiesShape,
192
+ virtualNetworkRulePropertiesShape: () => virtualNetworkRulePropertiesShape,
193
+ vulnerabilityAssessmentRecurringScansPropertiesShape: () => vulnerabilityAssessmentRecurringScansPropertiesShape,
194
+ vulnerabilityAssessmentScanErrorShape: () => vulnerabilityAssessmentScanErrorShape,
195
+ vulnerabilityAssessmentScanRecordPropertiesShape: () => vulnerabilityAssessmentScanRecordPropertiesShape,
196
+ workloadClassifierPropertiesShape: () => workloadClassifierPropertiesShape,
197
+ workloadGroupPropertiesShape: () => workloadGroupPropertiesShape
198
+ });
199
+ module.exports = __toCommonJS(types_exports);
200
+ var import_internal = require("@azure/provisioning-core/internal");
201
+ const administratorPropertiesShape = (0, import_internal.createFlatModelShape)({
202
+ administratorType: { armPath: ["administratorType"], value: (0, import_internal.createUnionShape)() },
203
+ azureAdOnlyAuthentication: {
204
+ armPath: ["azureADOnlyAuthentication"],
205
+ value: (0, import_internal.createBooleanShape)(),
206
+ readOnly: true
207
+ },
208
+ login: { armPath: ["login"], value: (0, import_internal.createStringShape)() },
209
+ sid: { armPath: ["sid"], value: (0, import_internal.createStringShape)() },
210
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)() }
211
+ });
212
+ const advancedThreatProtectionPropertiesShape = (0, import_internal.createFlatModelShape)({
213
+ creationTime: {
214
+ armPath: ["creationTime"],
215
+ value: (0, import_internal.createDateShape)({
216
+ kind: "date-time-text",
217
+ source: "utcDateTime",
218
+ format: "rfc3339",
219
+ clientMode: "client",
220
+ wire: { kind: "string" }
221
+ }),
222
+ readOnly: true
223
+ },
224
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() }
225
+ });
226
+ const advisorPropertiesShape = (0, import_internal.createFlatModelShape)({
227
+ advisorStatus: { armPath: ["advisorStatus"], value: (0, import_internal.createEnumShape)(), readOnly: true },
228
+ autoExecuteStatus: { armPath: ["autoExecuteStatus"], value: (0, import_internal.createEnumShape)() },
229
+ autoExecuteStatusInheritedFrom: {
230
+ armPath: ["autoExecuteStatusInheritedFrom"],
231
+ value: (0, import_internal.createEnumShape)(),
232
+ readOnly: true
233
+ },
234
+ lastChecked: {
235
+ armPath: ["lastChecked"],
236
+ value: (0, import_internal.createDateShape)({
237
+ kind: "date-time-text",
238
+ source: "utcDateTime",
239
+ format: "rfc3339",
240
+ clientMode: "client",
241
+ wire: { kind: "string" }
242
+ }),
243
+ readOnly: true
244
+ },
245
+ recommendationsStatus: {
246
+ armPath: ["recommendationsStatus"],
247
+ value: (0, import_internal.createStringShape)(),
248
+ readOnly: true
249
+ },
250
+ recommendedActions: {
251
+ armPath: ["recommendedActions"],
252
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => sqlRecommendedActionShape)),
253
+ readOnly: true
254
+ }
255
+ });
256
+ const automaticTuningOptionsShape = (0, import_internal.createFlatModelShape)({
257
+ actualState: { armPath: ["actualState"], value: (0, import_internal.createEnumShape)(), readOnly: true },
258
+ desiredState: { armPath: ["desiredState"], value: (0, import_internal.createEnumShape)() },
259
+ reasonCode: { armPath: ["reasonCode"], value: (0, import_internal.createNumberShape)(), readOnly: true },
260
+ reasonDesc: { armPath: ["reasonDesc"], value: (0, import_internal.createEnumShape)(), readOnly: true }
261
+ });
262
+ const automaticTuningServerOptionsShape = (0, import_internal.createFlatModelShape)({
263
+ actualState: { armPath: ["actualState"], value: (0, import_internal.createEnumShape)(), readOnly: true },
264
+ desiredState: { armPath: ["desiredState"], value: (0, import_internal.createEnumShape)() },
265
+ reasonCode: { armPath: ["reasonCode"], value: (0, import_internal.createNumberShape)(), readOnly: true },
266
+ reasonDesc: { armPath: ["reasonDesc"], value: (0, import_internal.createEnumShape)(), readOnly: true }
267
+ });
268
+ const automaticTuningServerPropertiesShape = (0, import_internal.createFlatModelShape)({
269
+ actualState: { armPath: ["actualState"], value: (0, import_internal.createEnumShape)(), readOnly: true },
270
+ desiredState: { armPath: ["desiredState"], value: (0, import_internal.createEnumShape)() },
271
+ options: {
272
+ armPath: ["options"],
273
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => automaticTuningServerOptionsShape))
274
+ }
275
+ });
276
+ const azureAdOnlyAuthPropertiesShape = (0, import_internal.createFlatModelShape)({
277
+ azureAdOnlyAuthentication: {
278
+ armPath: ["azureADOnlyAuthentication"],
279
+ value: (0, import_internal.createBooleanShape)()
280
+ }
281
+ });
282
+ const backupShortTermRetentionPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
283
+ diffBackupIntervalInHours: { armPath: ["diffBackupIntervalInHours"], value: (0, import_internal.createUnionShape)() },
284
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() }
285
+ });
286
+ const baselineShape = (0, import_internal.createFlatModelShape)({
287
+ expectedResults: {
288
+ armPath: ["expectedResults"],
289
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())),
290
+ readOnly: true
291
+ },
292
+ updatedTime: {
293
+ armPath: ["updatedTime"],
294
+ value: (0, import_internal.createDateShape)({
295
+ kind: "date-time-text",
296
+ source: "utcDateTime",
297
+ format: "rfc3339",
298
+ clientMode: "client",
299
+ wire: { kind: "string" }
300
+ }),
301
+ readOnly: true
302
+ }
303
+ });
304
+ const baselineAdjustedResultShape = (0, import_internal.createFlatModelShape)({
305
+ baseline: {
306
+ armPath: ["baseline"],
307
+ value: (0, import_internal.createDeferredShape)(() => baselineShape),
308
+ readOnly: true
309
+ },
310
+ resultsNotInBaseline: {
311
+ armPath: ["resultsNotInBaseline"],
312
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())),
313
+ readOnly: true
314
+ },
315
+ resultsOnlyInBaseline: {
316
+ armPath: ["resultsOnlyInBaseline"],
317
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())),
318
+ readOnly: true
319
+ },
320
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)(), readOnly: true }
321
+ });
322
+ const benchmarkReferenceShape = (0, import_internal.createFlatModelShape)({
323
+ benchmark: { armPath: ["benchmark"], value: (0, import_internal.createStringShape)(), readOnly: true },
324
+ reference: { armPath: ["reference"], value: (0, import_internal.createStringShape)(), readOnly: true }
325
+ });
326
+ const certificateInfoShape = (0, import_internal.createFlatModelShape)({
327
+ certificateName: { armPath: ["certificateName"], value: (0, import_internal.createStringShape)(), readOnly: true },
328
+ expiryDate: {
329
+ armPath: ["expiryDate"],
330
+ value: (0, import_internal.createDateShape)({
331
+ kind: "date-time-text",
332
+ source: "utcDateTime",
333
+ format: "rfc3339",
334
+ clientMode: "client",
335
+ wire: { kind: "string" }
336
+ }),
337
+ readOnly: true
338
+ }
339
+ });
340
+ const databaseAutomaticTuningPropertiesShape = (0, import_internal.createFlatModelShape)({
341
+ actualState: { armPath: ["actualState"], value: (0, import_internal.createEnumShape)(), readOnly: true },
342
+ desiredState: { armPath: ["desiredState"], value: (0, import_internal.createEnumShape)() },
343
+ options: {
344
+ armPath: ["options"],
345
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => automaticTuningOptionsShape))
346
+ }
347
+ });
348
+ const databaseBlobAuditingPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
349
+ auditActionsAndGroups: {
350
+ armPath: ["auditActionsAndGroups"],
351
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)())
352
+ },
353
+ isAzureMonitorTargetEnabled: {
354
+ armPath: ["isAzureMonitorTargetEnabled"],
355
+ value: (0, import_internal.createBooleanShape)()
356
+ },
357
+ isManagedIdentityInUse: { armPath: ["isManagedIdentityInUse"], value: (0, import_internal.createBooleanShape)() },
358
+ isStorageSecondaryKeyInUse: {
359
+ armPath: ["isStorageSecondaryKeyInUse"],
360
+ value: (0, import_internal.createBooleanShape)()
361
+ },
362
+ queueDelayMs: { armPath: ["queueDelayMs"], value: (0, import_internal.createNumberShape)() },
363
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
364
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
365
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
366
+ storageAccountSubscriptionId: {
367
+ armPath: ["storageAccountSubscriptionId"],
368
+ value: (0, import_internal.createStringShape)()
369
+ },
370
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
371
+ });
372
+ const databaseColumnPropertiesShape = (0, import_internal.createFlatModelShape)({
373
+ columnType: { armPath: ["columnType"], value: (0, import_internal.createUnionShape)(), readOnly: true },
374
+ isComputed: { armPath: ["isComputed"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
375
+ memoryOptimized: { armPath: ["memoryOptimized"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
376
+ temporalType: { armPath: ["temporalType"], value: (0, import_internal.createUnionShape)(), readOnly: true }
377
+ });
378
+ const databaseExtensionsPropertiesShape = (0, import_internal.createFlatModelShape)({
379
+ administratorLogin: { armPath: ["administratorLogin"], value: (0, import_internal.createStringShape)() },
380
+ administratorLoginPassword: {
381
+ armPath: ["administratorLoginPassword"],
382
+ value: (0, import_internal.createStringShape)()
383
+ },
384
+ authenticationType: { armPath: ["authenticationType"], value: (0, import_internal.createStringShape)() },
385
+ databaseEdition: { armPath: ["databaseEdition"], value: (0, import_internal.createStringShape)() },
386
+ maxSizeBytes: { armPath: ["maxSizeBytes"], value: (0, import_internal.createStringShape)() },
387
+ networkIsolation: {
388
+ armPath: ["networkIsolation"],
389
+ value: (0, import_internal.createDeferredShape)(() => networkIsolationSettingsShape)
390
+ },
391
+ operationMode: { armPath: ["operationMode"], value: (0, import_internal.createUnionShape)() },
392
+ serviceObjectiveName: { armPath: ["serviceObjectiveName"], value: (0, import_internal.createStringShape)() },
393
+ storageKey: { armPath: ["storageKey"], value: (0, import_internal.createStringShape)() },
394
+ storageKeyType: { armPath: ["storageKeyType"], value: (0, import_internal.createUnionShape)() },
395
+ storageUri: { armPath: ["storageUri"], value: (0, import_internal.createStringShape)() }
396
+ });
397
+ const databaseIdentityShape = (0, import_internal.createFlatModelShape)({
398
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)(), readOnly: true },
399
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() },
400
+ userAssignedIdentities: {
401
+ armPath: ["userAssignedIdentities"],
402
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => databaseUserIdentityShape))
403
+ }
404
+ });
405
+ const databaseKeyShape = (0, import_internal.createFlatModelShape)({
406
+ creationDate: {
407
+ armPath: ["creationDate"],
408
+ value: (0, import_internal.createDateShape)({
409
+ kind: "date-time-text",
410
+ source: "utcDateTime",
411
+ format: "rfc3339",
412
+ clientMode: "client",
413
+ wire: { kind: "string" }
414
+ }),
415
+ readOnly: true
416
+ },
417
+ keyVersion: { armPath: ["keyVersion"], value: (0, import_internal.createStringShape)(), readOnly: true },
418
+ subregion: { armPath: ["subregion"], value: (0, import_internal.createStringShape)(), readOnly: true },
419
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true },
420
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)(), readOnly: true }
421
+ });
422
+ const databasePropertiesShape = (0, import_internal.createFlatModelShape)({
423
+ autoPauseDelay: { armPath: ["autoPauseDelay"], value: (0, import_internal.createNumberShape)() },
424
+ availabilityZone: { armPath: ["availabilityZone"], value: (0, import_internal.createUnionShape)() },
425
+ catalogCollation: { armPath: ["catalogCollation"], value: (0, import_internal.createUnionShape)() },
426
+ collation: { armPath: ["collation"], value: (0, import_internal.createStringShape)() },
427
+ createMode: { armPath: ["createMode"], value: (0, import_internal.createUnionShape)() },
428
+ creationDate: {
429
+ armPath: ["creationDate"],
430
+ value: (0, import_internal.createDateShape)({
431
+ kind: "date-time-text",
432
+ source: "utcDateTime",
433
+ format: "rfc3339",
434
+ clientMode: "client",
435
+ wire: { kind: "string" }
436
+ }),
437
+ readOnly: true
438
+ },
439
+ currentBackupStorageRedundancy: {
440
+ armPath: ["currentBackupStorageRedundancy"],
441
+ value: (0, import_internal.createUnionShape)(),
442
+ readOnly: true
443
+ },
444
+ currentServiceObjectiveName: {
445
+ armPath: ["currentServiceObjectiveName"],
446
+ value: (0, import_internal.createStringShape)(),
447
+ readOnly: true
448
+ },
449
+ currentSku: {
450
+ armPath: ["currentSku"],
451
+ value: (0, import_internal.createDeferredShape)(() => skuShape),
452
+ readOnly: true
453
+ },
454
+ databaseId: { armPath: ["databaseId"], value: (0, import_internal.createStringShape)(), readOnly: true },
455
+ defaultSecondaryLocation: {
456
+ armPath: ["defaultSecondaryLocation"],
457
+ value: (0, import_internal.createStringShape)(),
458
+ readOnly: true
459
+ },
460
+ earliestRestoreDate: {
461
+ armPath: ["earliestRestoreDate"],
462
+ value: (0, import_internal.createDateShape)({
463
+ kind: "date-time-text",
464
+ source: "utcDateTime",
465
+ format: "rfc3339",
466
+ clientMode: "client",
467
+ wire: { kind: "string" }
468
+ }),
469
+ readOnly: true
470
+ },
471
+ elasticPoolId: { armPath: ["elasticPoolId"], value: (0, import_internal.createStringShape)() },
472
+ encryptionProtector: { armPath: ["encryptionProtector"], value: (0, import_internal.createStringShape)() },
473
+ encryptionProtectorAutoRotation: {
474
+ armPath: ["encryptionProtectorAutoRotation"],
475
+ value: (0, import_internal.createBooleanShape)()
476
+ },
477
+ failoverGroupId: { armPath: ["failoverGroupId"], value: (0, import_internal.createStringShape)(), readOnly: true },
478
+ federatedClientId: { armPath: ["federatedClientId"], value: (0, import_internal.createStringShape)() },
479
+ freeLimitExhaustionBehavior: {
480
+ armPath: ["freeLimitExhaustionBehavior"],
481
+ value: (0, import_internal.createUnionShape)()
482
+ },
483
+ highAvailabilityReplicaCount: {
484
+ armPath: ["highAvailabilityReplicaCount"],
485
+ value: (0, import_internal.createNumberShape)()
486
+ },
487
+ isInfraEncryptionEnabled: {
488
+ armPath: ["isInfraEncryptionEnabled"],
489
+ value: (0, import_internal.createBooleanShape)(),
490
+ readOnly: true
491
+ },
492
+ isLedgerOn: { armPath: ["isLedgerOn"], value: (0, import_internal.createBooleanShape)() },
493
+ keys: {
494
+ armPath: ["keys"],
495
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => databaseKeyShape))
496
+ },
497
+ licenseType: { armPath: ["licenseType"], value: (0, import_internal.createUnionShape)() },
498
+ longTermRetentionBackupResourceId: {
499
+ armPath: ["longTermRetentionBackupResourceId"],
500
+ value: (0, import_internal.createStringShape)()
501
+ },
502
+ maintenanceConfigurationId: {
503
+ armPath: ["maintenanceConfigurationId"],
504
+ value: (0, import_internal.createStringShape)()
505
+ },
506
+ manualCutover: { armPath: ["manualCutover"], value: (0, import_internal.createBooleanShape)() },
507
+ maxLogSizeBytes: { armPath: ["maxLogSizeBytes"], value: (0, import_internal.createNumberShape)(), readOnly: true },
508
+ maxSizeBytes: { armPath: ["maxSizeBytes"], value: (0, import_internal.createNumberShape)() },
509
+ minCapacity: { armPath: ["minCapacity"], value: (0, import_internal.createNumberShape)() },
510
+ pausedDate: {
511
+ armPath: ["pausedDate"],
512
+ value: (0, import_internal.createDateShape)({
513
+ kind: "date-time-text",
514
+ source: "utcDateTime",
515
+ format: "rfc3339",
516
+ clientMode: "client",
517
+ wire: { kind: "string" }
518
+ }),
519
+ readOnly: true
520
+ },
521
+ performCutover: { armPath: ["performCutover"], value: (0, import_internal.createBooleanShape)() },
522
+ preferredEnclaveType: { armPath: ["preferredEnclaveType"], value: (0, import_internal.createUnionShape)() },
523
+ readScale: { armPath: ["readScale"], value: (0, import_internal.createUnionShape)() },
524
+ recoverableDatabaseId: { armPath: ["recoverableDatabaseId"], value: (0, import_internal.createStringShape)() },
525
+ recoveryServicesRecoveryPointId: {
526
+ armPath: ["recoveryServicesRecoveryPointId"],
527
+ value: (0, import_internal.createStringShape)()
528
+ },
529
+ requestedBackupStorageRedundancy: {
530
+ armPath: ["requestedBackupStorageRedundancy"],
531
+ value: (0, import_internal.createUnionShape)()
532
+ },
533
+ requestedServiceObjectiveName: {
534
+ armPath: ["requestedServiceObjectiveName"],
535
+ value: (0, import_internal.createStringShape)(),
536
+ readOnly: true
537
+ },
538
+ restorableDroppedDatabaseId: {
539
+ armPath: ["restorableDroppedDatabaseId"],
540
+ value: (0, import_internal.createStringShape)()
541
+ },
542
+ restorePointInTime: {
543
+ armPath: ["restorePointInTime"],
544
+ value: (0, import_internal.createDateShape)({
545
+ kind: "date-time-text",
546
+ source: "utcDateTime",
547
+ format: "rfc3339",
548
+ clientMode: "client",
549
+ wire: { kind: "string" }
550
+ })
551
+ },
552
+ resumedDate: {
553
+ armPath: ["resumedDate"],
554
+ value: (0, import_internal.createDateShape)({
555
+ kind: "date-time-text",
556
+ source: "utcDateTime",
557
+ format: "rfc3339",
558
+ clientMode: "client",
559
+ wire: { kind: "string" }
560
+ }),
561
+ readOnly: true
562
+ },
563
+ sampleName: { armPath: ["sampleName"], value: (0, import_internal.createUnionShape)() },
564
+ secondaryType: { armPath: ["secondaryType"], value: (0, import_internal.createUnionShape)() },
565
+ sourceDatabaseDeletionDate: {
566
+ armPath: ["sourceDatabaseDeletionDate"],
567
+ value: (0, import_internal.createDateShape)({
568
+ kind: "date-time-text",
569
+ source: "utcDateTime",
570
+ format: "rfc3339",
571
+ clientMode: "client",
572
+ wire: { kind: "string" }
573
+ })
574
+ },
575
+ sourceDatabaseId: { armPath: ["sourceDatabaseId"], value: (0, import_internal.createStringShape)() },
576
+ sourceResourceId: { armPath: ["sourceResourceId"], value: (0, import_internal.createStringShape)() },
577
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)(), readOnly: true },
578
+ useFreeLimit: { armPath: ["useFreeLimit"], value: (0, import_internal.createBooleanShape)() },
579
+ zoneRedundant: { armPath: ["zoneRedundant"], value: (0, import_internal.createBooleanShape)() }
580
+ });
581
+ const databaseSqlVulnerabilityAssessmentBaselineSetPropertiesShape = (0, import_internal.createFlatModelShape)({
582
+ latestScan: { armPath: ["latestScan"], value: (0, import_internal.createBooleanShape)() },
583
+ results: {
584
+ armPath: ["results"],
585
+ value: (0, import_internal.createRecordShape)((0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())))
586
+ }
587
+ });
588
+ const databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesShape = (0, import_internal.createFlatModelShape)({
589
+ latestScan: { armPath: ["latestScan"], value: (0, import_internal.createBooleanShape)() },
590
+ results: {
591
+ armPath: ["results"],
592
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)()))
593
+ }
594
+ });
595
+ const databaseTablePropertiesShape = (0, import_internal.createFlatModelShape)({
596
+ memoryOptimized: { armPath: ["memoryOptimized"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
597
+ temporalType: { armPath: ["temporalType"], value: (0, import_internal.createUnionShape)(), readOnly: true }
598
+ });
599
+ const databaseUserIdentityShape = (0, import_internal.createFlatModelShape)({
600
+ clientId: { armPath: ["clientId"], value: (0, import_internal.createStringShape)(), readOnly: true },
601
+ principalId: { armPath: ["principalId"], value: (0, import_internal.createStringShape)(), readOnly: true }
602
+ });
603
+ const databaseVulnerabilityAssessmentPropertiesShape = (0, import_internal.createFlatModelShape)({
604
+ recurringScans: {
605
+ armPath: ["recurringScans"],
606
+ value: (0, import_internal.createDeferredShape)(() => vulnerabilityAssessmentRecurringScansPropertiesShape)
607
+ },
608
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
609
+ storageContainerPath: { armPath: ["storageContainerPath"], value: (0, import_internal.createStringShape)() },
610
+ storageContainerSasKey: { armPath: ["storageContainerSasKey"], value: (0, import_internal.createStringShape)() }
611
+ });
612
+ const databaseVulnerabilityAssessmentRuleBaselineItemShape = (0, import_internal.createFlatModelShape)({
613
+ result: { armPath: ["result"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) }
614
+ });
615
+ const databaseVulnerabilityAssessmentRuleBaselinePropertiesShape = (0, import_internal.createFlatModelShape)({
616
+ baselineResults: {
617
+ armPath: ["baselineResults"],
618
+ value: (0, import_internal.createArrayShape)(
619
+ (0, import_internal.createDeferredShape)(() => databaseVulnerabilityAssessmentRuleBaselineItemShape)
620
+ )
621
+ }
622
+ });
623
+ const dataMaskingPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
624
+ applicationPrincipals: {
625
+ armPath: ["applicationPrincipals"],
626
+ value: (0, import_internal.createStringShape)(),
627
+ readOnly: true
628
+ },
629
+ dataMaskingState: { armPath: ["dataMaskingState"], value: (0, import_internal.createEnumShape)() },
630
+ exemptPrincipals: { armPath: ["exemptPrincipals"], value: (0, import_internal.createStringShape)() },
631
+ maskingLevel: { armPath: ["maskingLevel"], value: (0, import_internal.createStringShape)(), readOnly: true }
632
+ });
633
+ const dataMaskingRulePropertiesShape = (0, import_internal.createFlatModelShape)({
634
+ aliasName: { armPath: ["aliasName"], value: (0, import_internal.createStringShape)() },
635
+ columnName: { armPath: ["columnName"], value: (0, import_internal.createStringShape)() },
636
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
637
+ maskingFunction: { armPath: ["maskingFunction"], value: (0, import_internal.createEnumShape)() },
638
+ numberFrom: { armPath: ["numberFrom"], value: (0, import_internal.createStringShape)() },
639
+ numberTo: { armPath: ["numberTo"], value: (0, import_internal.createStringShape)() },
640
+ prefixSize: { armPath: ["prefixSize"], value: (0, import_internal.createStringShape)() },
641
+ replacementString: { armPath: ["replacementString"], value: (0, import_internal.createStringShape)() },
642
+ ruleState: { armPath: ["ruleState"], value: (0, import_internal.createEnumShape)() },
643
+ schemaName: { armPath: ["schemaName"], value: (0, import_internal.createStringShape)() },
644
+ suffixSize: { armPath: ["suffixSize"], value: (0, import_internal.createStringShape)() },
645
+ tableName: { armPath: ["tableName"], value: (0, import_internal.createStringShape)() }
646
+ });
647
+ const dataWarehouseUserActivitiesPropertiesShape = (0, import_internal.createFlatModelShape)({
648
+ activeQueriesCount: {
649
+ armPath: ["activeQueriesCount"],
650
+ value: (0, import_internal.createNumberShape)(),
651
+ readOnly: true
652
+ }
653
+ });
654
+ const deletedServerPropertiesShape = (0, import_internal.createFlatModelShape)({
655
+ deletionTime: {
656
+ armPath: ["deletionTime"],
657
+ value: (0, import_internal.createDateShape)({
658
+ kind: "date-time-text",
659
+ source: "utcDateTime",
660
+ format: "rfc3339",
661
+ clientMode: "client",
662
+ wire: { kind: "string" }
663
+ }),
664
+ readOnly: true
665
+ },
666
+ fullyQualifiedDomainName: {
667
+ armPath: ["fullyQualifiedDomainName"],
668
+ value: (0, import_internal.createStringShape)(),
669
+ readOnly: true
670
+ },
671
+ originalId: { armPath: ["originalId"], value: (0, import_internal.createStringShape)(), readOnly: true },
672
+ version: { armPath: ["version"], value: (0, import_internal.createStringShape)(), readOnly: true }
673
+ });
674
+ const distributedAvailabilityGroupDatabaseShape = (0, import_internal.createFlatModelShape)({
675
+ connectedState: { armPath: ["connectedState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
676
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)() },
677
+ instanceRedoReplicationLagSeconds: {
678
+ armPath: ["instanceRedoReplicationLagSeconds"],
679
+ value: (0, import_internal.createNumberShape)(),
680
+ readOnly: true
681
+ },
682
+ instanceReplicaId: { armPath: ["instanceReplicaId"], value: (0, import_internal.createStringShape)(), readOnly: true },
683
+ instanceSendReplicationLagSeconds: {
684
+ armPath: ["instanceSendReplicationLagSeconds"],
685
+ value: (0, import_internal.createNumberShape)(),
686
+ readOnly: true
687
+ },
688
+ lastBackupLsn: { armPath: ["lastBackupLsn"], value: (0, import_internal.createStringShape)(), readOnly: true },
689
+ lastBackupTime: {
690
+ armPath: ["lastBackupTime"],
691
+ value: (0, import_internal.createDateShape)({
692
+ kind: "date-time-text",
693
+ source: "utcDateTime",
694
+ format: "rfc3339",
695
+ clientMode: "client",
696
+ wire: { kind: "string" }
697
+ }),
698
+ readOnly: true
699
+ },
700
+ lastCommitLsn: { armPath: ["lastCommitLsn"], value: (0, import_internal.createStringShape)(), readOnly: true },
701
+ lastCommitTime: {
702
+ armPath: ["lastCommitTime"],
703
+ value: (0, import_internal.createDateShape)({
704
+ kind: "date-time-text",
705
+ source: "utcDateTime",
706
+ format: "rfc3339",
707
+ clientMode: "client",
708
+ wire: { kind: "string" }
709
+ }),
710
+ readOnly: true
711
+ },
712
+ lastHardenedLsn: { armPath: ["lastHardenedLsn"], value: (0, import_internal.createStringShape)(), readOnly: true },
713
+ lastHardenedTime: {
714
+ armPath: ["lastHardenedTime"],
715
+ value: (0, import_internal.createDateShape)({
716
+ kind: "date-time-text",
717
+ source: "utcDateTime",
718
+ format: "rfc3339",
719
+ clientMode: "client",
720
+ wire: { kind: "string" }
721
+ }),
722
+ readOnly: true
723
+ },
724
+ lastReceivedLsn: { armPath: ["lastReceivedLsn"], value: (0, import_internal.createStringShape)(), readOnly: true },
725
+ lastReceivedTime: {
726
+ armPath: ["lastReceivedTime"],
727
+ value: (0, import_internal.createDateShape)({
728
+ kind: "date-time-text",
729
+ source: "utcDateTime",
730
+ format: "rfc3339",
731
+ clientMode: "client",
732
+ wire: { kind: "string" }
733
+ }),
734
+ readOnly: true
735
+ },
736
+ lastSentLsn: { armPath: ["lastSentLsn"], value: (0, import_internal.createStringShape)(), readOnly: true },
737
+ lastSentTime: {
738
+ armPath: ["lastSentTime"],
739
+ value: (0, import_internal.createDateShape)({
740
+ kind: "date-time-text",
741
+ source: "utcDateTime",
742
+ format: "rfc3339",
743
+ clientMode: "client",
744
+ wire: { kind: "string" }
745
+ }),
746
+ readOnly: true
747
+ },
748
+ mostRecentLinkError: {
749
+ armPath: ["mostRecentLinkError"],
750
+ value: (0, import_internal.createStringShape)(),
751
+ readOnly: true
752
+ },
753
+ partnerAuthCertValidity: {
754
+ armPath: ["partnerAuthCertValidity"],
755
+ value: (0, import_internal.createDeferredShape)(() => certificateInfoShape),
756
+ readOnly: true
757
+ },
758
+ partnerReplicaId: { armPath: ["partnerReplicaId"], value: (0, import_internal.createStringShape)(), readOnly: true },
759
+ replicaState: { armPath: ["replicaState"], value: (0, import_internal.createStringShape)(), readOnly: true },
760
+ seedingProgress: { armPath: ["seedingProgress"], value: (0, import_internal.createStringShape)(), readOnly: true },
761
+ synchronizationHealth: {
762
+ armPath: ["synchronizationHealth"],
763
+ value: (0, import_internal.createUnionShape)(),
764
+ readOnly: true
765
+ }
766
+ });
767
+ const distributedAvailabilityGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
768
+ databases: {
769
+ armPath: ["databases"],
770
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => distributedAvailabilityGroupDatabaseShape))
771
+ },
772
+ distributedAvailabilityGroupId: {
773
+ armPath: ["distributedAvailabilityGroupId"],
774
+ value: (0, import_internal.createStringShape)(),
775
+ readOnly: true
776
+ },
777
+ distributedAvailabilityGroupName: {
778
+ armPath: ["distributedAvailabilityGroupName"],
779
+ value: (0, import_internal.createStringShape)(),
780
+ readOnly: true
781
+ },
782
+ failoverMode: { armPath: ["failoverMode"], value: (0, import_internal.createUnionShape)() },
783
+ instanceAvailabilityGroupName: {
784
+ armPath: ["instanceAvailabilityGroupName"],
785
+ value: (0, import_internal.createStringShape)()
786
+ },
787
+ instanceLinkRole: { armPath: ["instanceLinkRole"], value: (0, import_internal.createUnionShape)() },
788
+ partnerAvailabilityGroupName: {
789
+ armPath: ["partnerAvailabilityGroupName"],
790
+ value: (0, import_internal.createStringShape)()
791
+ },
792
+ partnerEndpoint: { armPath: ["partnerEndpoint"], value: (0, import_internal.createStringShape)() },
793
+ partnerLinkRole: { armPath: ["partnerLinkRole"], value: (0, import_internal.createUnionShape)(), readOnly: true },
794
+ replicationMode: { armPath: ["replicationMode"], value: (0, import_internal.createUnionShape)() },
795
+ seedingMode: { armPath: ["seedingMode"], value: (0, import_internal.createUnionShape)() }
796
+ });
797
+ const elasticPoolPerDatabaseSettingsShape = (0, import_internal.createFlatModelShape)({
798
+ autoPauseDelay: { armPath: ["autoPauseDelay"], value: (0, import_internal.createNumberShape)() },
799
+ maxCapacity: { armPath: ["maxCapacity"], value: (0, import_internal.createNumberShape)() },
800
+ minCapacity: { armPath: ["minCapacity"], value: (0, import_internal.createNumberShape)() }
801
+ });
802
+ const elasticPoolPropertiesShape = (0, import_internal.createFlatModelShape)({
803
+ autoPauseDelay: { armPath: ["autoPauseDelay"], value: (0, import_internal.createNumberShape)() },
804
+ availabilityZone: { armPath: ["availabilityZone"], value: (0, import_internal.createUnionShape)() },
805
+ creationDate: {
806
+ armPath: ["creationDate"],
807
+ value: (0, import_internal.createDateShape)({
808
+ kind: "date-time-text",
809
+ source: "utcDateTime",
810
+ format: "rfc3339",
811
+ clientMode: "client",
812
+ wire: { kind: "string" }
813
+ }),
814
+ readOnly: true
815
+ },
816
+ highAvailabilityReplicaCount: {
817
+ armPath: ["highAvailabilityReplicaCount"],
818
+ value: (0, import_internal.createNumberShape)()
819
+ },
820
+ licenseType: { armPath: ["licenseType"], value: (0, import_internal.createUnionShape)() },
821
+ maintenanceConfigurationId: {
822
+ armPath: ["maintenanceConfigurationId"],
823
+ value: (0, import_internal.createStringShape)()
824
+ },
825
+ maxSizeBytes: { armPath: ["maxSizeBytes"], value: (0, import_internal.createNumberShape)() },
826
+ minCapacity: { armPath: ["minCapacity"], value: (0, import_internal.createNumberShape)() },
827
+ perDatabaseSettings: {
828
+ armPath: ["perDatabaseSettings"],
829
+ value: (0, import_internal.createDeferredShape)(() => elasticPoolPerDatabaseSettingsShape)
830
+ },
831
+ preferredEnclaveType: { armPath: ["preferredEnclaveType"], value: (0, import_internal.createUnionShape)() },
832
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
833
+ zoneRedundant: { armPath: ["zoneRedundant"], value: (0, import_internal.createBooleanShape)() }
834
+ });
835
+ const encryptionProtectorPropertiesShape = (0, import_internal.createFlatModelShape)({
836
+ autoRotationEnabled: { armPath: ["autoRotationEnabled"], value: (0, import_internal.createBooleanShape)() },
837
+ keyVersion: { armPath: ["keyVersion"], value: (0, import_internal.createStringShape)(), readOnly: true },
838
+ serverKeyName: { armPath: ["serverKeyName"], value: (0, import_internal.createStringShape)() },
839
+ serverKeyType: { armPath: ["serverKeyType"], value: (0, import_internal.createUnionShape)() },
840
+ subregion: { armPath: ["subregion"], value: (0, import_internal.createStringShape)(), readOnly: true },
841
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true },
842
+ uri: { armPath: ["uri"], value: (0, import_internal.createStringShape)(), readOnly: true }
843
+ });
844
+ const endpointCertificatePropertiesShape = (0, import_internal.createFlatModelShape)({
845
+ publicBlob: { armPath: ["publicBlob"], value: (0, import_internal.createStringShape)(), readOnly: true }
846
+ });
847
+ const extendedDatabaseBlobAuditingPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
848
+ auditActionsAndGroups: {
849
+ armPath: ["auditActionsAndGroups"],
850
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)())
851
+ },
852
+ isAzureMonitorTargetEnabled: {
853
+ armPath: ["isAzureMonitorTargetEnabled"],
854
+ value: (0, import_internal.createBooleanShape)()
855
+ },
856
+ isManagedIdentityInUse: { armPath: ["isManagedIdentityInUse"], value: (0, import_internal.createBooleanShape)() },
857
+ isStorageSecondaryKeyInUse: {
858
+ armPath: ["isStorageSecondaryKeyInUse"],
859
+ value: (0, import_internal.createBooleanShape)()
860
+ },
861
+ predicateExpression: { armPath: ["predicateExpression"], value: (0, import_internal.createStringShape)() },
862
+ queueDelayMs: { armPath: ["queueDelayMs"], value: (0, import_internal.createNumberShape)() },
863
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
864
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
865
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
866
+ storageAccountSubscriptionId: {
867
+ armPath: ["storageAccountSubscriptionId"],
868
+ value: (0, import_internal.createStringShape)()
869
+ },
870
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
871
+ });
872
+ const extendedServerBlobAuditingPolicyPropertiesShape = (0, import_internal.createFlatModelShape)(
873
+ {
874
+ auditActionsAndGroups: {
875
+ armPath: ["auditActionsAndGroups"],
876
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)())
877
+ },
878
+ isAzureMonitorTargetEnabled: {
879
+ armPath: ["isAzureMonitorTargetEnabled"],
880
+ value: (0, import_internal.createBooleanShape)()
881
+ },
882
+ isDevopsAuditEnabled: { armPath: ["isDevopsAuditEnabled"], value: (0, import_internal.createBooleanShape)() },
883
+ isManagedIdentityInUse: { armPath: ["isManagedIdentityInUse"], value: (0, import_internal.createBooleanShape)() },
884
+ isStorageSecondaryKeyInUse: {
885
+ armPath: ["isStorageSecondaryKeyInUse"],
886
+ value: (0, import_internal.createBooleanShape)()
887
+ },
888
+ predicateExpression: { armPath: ["predicateExpression"], value: (0, import_internal.createStringShape)() },
889
+ queueDelayMs: { armPath: ["queueDelayMs"], value: (0, import_internal.createNumberShape)() },
890
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
891
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
892
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
893
+ storageAccountSubscriptionId: {
894
+ armPath: ["storageAccountSubscriptionId"],
895
+ value: (0, import_internal.createStringShape)()
896
+ },
897
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
898
+ }
899
+ );
900
+ const failoverGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
901
+ databases: { armPath: ["databases"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
902
+ partnerServers: {
903
+ armPath: ["partnerServers"],
904
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => partnerInfoShape))
905
+ },
906
+ readOnlyEndpoint: {
907
+ armPath: ["readOnlyEndpoint"],
908
+ value: (0, import_internal.createDeferredShape)(() => failoverGroupReadOnlyEndpointShape)
909
+ },
910
+ readWriteEndpoint: {
911
+ armPath: ["readWriteEndpoint"],
912
+ value: (0, import_internal.createDeferredShape)(() => failoverGroupReadWriteEndpointShape)
913
+ },
914
+ replicationRole: { armPath: ["replicationRole"], value: (0, import_internal.createUnionShape)(), readOnly: true },
915
+ replicationState: { armPath: ["replicationState"], value: (0, import_internal.createStringShape)(), readOnly: true },
916
+ secondaryType: { armPath: ["secondaryType"], value: (0, import_internal.createUnionShape)() }
917
+ });
918
+ const failoverGroupReadOnlyEndpointShape = (0, import_internal.createFlatModelShape)({
919
+ failoverPolicy: { armPath: ["failoverPolicy"], value: (0, import_internal.createUnionShape)() },
920
+ targetServer: { armPath: ["targetServer"], value: (0, import_internal.createStringShape)() }
921
+ });
922
+ const failoverGroupReadWriteEndpointShape = (0, import_internal.createFlatModelShape)({
923
+ failoverPolicy: { armPath: ["failoverPolicy"], value: (0, import_internal.createUnionShape)() },
924
+ failoverWithDataLossGracePeriodMinutes: {
925
+ armPath: ["failoverWithDataLossGracePeriodMinutes"],
926
+ value: (0, import_internal.createNumberShape)()
927
+ }
928
+ });
929
+ const geoBackupPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
930
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
931
+ storageType: { armPath: ["storageType"], value: (0, import_internal.createStringShape)(), readOnly: true }
932
+ });
933
+ const instanceFailoverGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
934
+ managedInstancePairs: {
935
+ armPath: ["managedInstancePairs"],
936
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => managedInstancePairInfoShape))
937
+ },
938
+ partnerRegions: {
939
+ armPath: ["partnerRegions"],
940
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => partnerRegionInfoShape))
941
+ },
942
+ readOnlyEndpoint: {
943
+ armPath: ["readOnlyEndpoint"],
944
+ value: (0, import_internal.createDeferredShape)(() => instanceFailoverGroupReadOnlyEndpointShape)
945
+ },
946
+ readWriteEndpoint: {
947
+ armPath: ["readWriteEndpoint"],
948
+ value: (0, import_internal.createDeferredShape)(() => instanceFailoverGroupReadWriteEndpointShape)
949
+ },
950
+ replicationRole: { armPath: ["replicationRole"], value: (0, import_internal.createUnionShape)(), readOnly: true },
951
+ replicationState: { armPath: ["replicationState"], value: (0, import_internal.createStringShape)(), readOnly: true },
952
+ secondaryType: { armPath: ["secondaryType"], value: (0, import_internal.createUnionShape)() }
953
+ });
954
+ const instanceFailoverGroupReadOnlyEndpointShape = (0, import_internal.createFlatModelShape)({
955
+ failoverPolicy: { armPath: ["failoverPolicy"], value: (0, import_internal.createUnionShape)() }
956
+ });
957
+ const instanceFailoverGroupReadWriteEndpointShape = (0, import_internal.createFlatModelShape)({
958
+ failoverPolicy: { armPath: ["failoverPolicy"], value: (0, import_internal.createUnionShape)() },
959
+ failoverWithDataLossGracePeriodMinutes: {
960
+ armPath: ["failoverWithDataLossGracePeriodMinutes"],
961
+ value: (0, import_internal.createNumberShape)()
962
+ }
963
+ });
964
+ const instancePoolOperationPropertiesShape = (0, import_internal.createFlatModelShape)({
965
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)(), readOnly: true },
966
+ errorCode: { armPath: ["errorCode"], value: (0, import_internal.createNumberShape)(), readOnly: true },
967
+ errorDescription: { armPath: ["errorDescription"], value: (0, import_internal.createStringShape)(), readOnly: true },
968
+ errorSeverity: { armPath: ["errorSeverity"], value: (0, import_internal.createNumberShape)(), readOnly: true },
969
+ errorType: { armPath: ["errorType"], value: (0, import_internal.createUnionShape)(), readOnly: true },
970
+ estimatedCompletionTime: {
971
+ armPath: ["estimatedCompletionTime"],
972
+ value: (0, import_internal.createDateShape)({
973
+ kind: "date-time-text",
974
+ source: "utcDateTime",
975
+ format: "rfc3339",
976
+ clientMode: "client",
977
+ wire: { kind: "string" }
978
+ }),
979
+ readOnly: true
980
+ },
981
+ instancePoolName: { armPath: ["instancePoolName"], value: (0, import_internal.createStringShape)(), readOnly: true },
982
+ isCancellable: { armPath: ["isCancellable"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
983
+ operation: { armPath: ["operation"], value: (0, import_internal.createStringShape)(), readOnly: true },
984
+ operationFriendlyName: {
985
+ armPath: ["operationFriendlyName"],
986
+ value: (0, import_internal.createStringShape)(),
987
+ readOnly: true
988
+ },
989
+ percentComplete: { armPath: ["percentComplete"], value: (0, import_internal.createNumberShape)(), readOnly: true },
990
+ startTime: {
991
+ armPath: ["startTime"],
992
+ value: (0, import_internal.createDateShape)({
993
+ kind: "date-time-text",
994
+ source: "utcDateTime",
995
+ format: "rfc3339",
996
+ clientMode: "client",
997
+ wire: { kind: "string" }
998
+ }),
999
+ readOnly: true
1000
+ },
1001
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true }
1002
+ });
1003
+ const instancePoolPropertiesShape = (0, import_internal.createFlatModelShape)({
1004
+ dnsZone: { armPath: ["dnsZone"], value: (0, import_internal.createStringShape)(), readOnly: true },
1005
+ licenseType: { armPath: ["licenseType"], value: (0, import_internal.createUnionShape)() },
1006
+ maintenanceConfigurationId: {
1007
+ armPath: ["maintenanceConfigurationId"],
1008
+ value: (0, import_internal.createStringShape)()
1009
+ },
1010
+ subnetId: { armPath: ["subnetId"], value: (0, import_internal.createStringShape)() },
1011
+ vCores: { armPath: ["vCores"], value: (0, import_internal.createNumberShape)() }
1012
+ });
1013
+ const iPv6ServerFirewallRulePropertiesShape = (0, import_internal.createFlatModelShape)({
1014
+ endIPv6Address: { armPath: ["endIPv6Address"], value: (0, import_internal.createStringShape)() },
1015
+ startIPv6Address: { armPath: ["startIPv6Address"], value: (0, import_internal.createStringShape)() }
1016
+ });
1017
+ const jobAgentIdentityShape = (0, import_internal.createFlatModelShape)({
1018
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)() },
1019
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() },
1020
+ userAssignedIdentities: {
1021
+ armPath: ["userAssignedIdentities"],
1022
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => jobAgentUserAssignedIdentityShape))
1023
+ }
1024
+ });
1025
+ const jobAgentPropertiesShape = (0, import_internal.createFlatModelShape)({
1026
+ databaseId: { armPath: ["databaseId"], value: (0, import_internal.createStringShape)() },
1027
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true }
1028
+ });
1029
+ const jobAgentUserAssignedIdentityShape = (0, import_internal.createFlatModelShape)({
1030
+ clientId: { armPath: ["clientId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1031
+ principalId: { armPath: ["principalId"], value: (0, import_internal.createStringShape)(), readOnly: true }
1032
+ });
1033
+ const jobCredentialPropertiesShape = (0, import_internal.createFlatModelShape)({
1034
+ password: { armPath: ["password"], value: (0, import_internal.createStringShape)() },
1035
+ username: { armPath: ["username"], value: (0, import_internal.createStringShape)() }
1036
+ });
1037
+ const jobExecutionPropertiesShape = (0, import_internal.createFlatModelShape)({
1038
+ createTime: {
1039
+ armPath: ["createTime"],
1040
+ value: (0, import_internal.createDateShape)({
1041
+ kind: "date-time-text",
1042
+ source: "utcDateTime",
1043
+ format: "rfc3339",
1044
+ clientMode: "client",
1045
+ wire: { kind: "string" }
1046
+ }),
1047
+ readOnly: true
1048
+ },
1049
+ currentAttempts: { armPath: ["currentAttempts"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1050
+ currentAttemptStartTime: {
1051
+ armPath: ["currentAttemptStartTime"],
1052
+ value: (0, import_internal.createDateShape)({
1053
+ kind: "date-time-text",
1054
+ source: "utcDateTime",
1055
+ format: "rfc3339",
1056
+ clientMode: "client",
1057
+ wire: { kind: "string" }
1058
+ }),
1059
+ readOnly: true
1060
+ },
1061
+ endTime: {
1062
+ armPath: ["endTime"],
1063
+ value: (0, import_internal.createDateShape)({
1064
+ kind: "date-time-text",
1065
+ source: "utcDateTime",
1066
+ format: "rfc3339",
1067
+ clientMode: "client",
1068
+ wire: { kind: "string" }
1069
+ }),
1070
+ readOnly: true
1071
+ },
1072
+ jobExecutionId: { armPath: ["jobExecutionId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1073
+ jobVersion: { armPath: ["jobVersion"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1074
+ lastMessage: { armPath: ["lastMessage"], value: (0, import_internal.createStringShape)(), readOnly: true },
1075
+ lifecycle: { armPath: ["lifecycle"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1076
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1077
+ startTime: {
1078
+ armPath: ["startTime"],
1079
+ value: (0, import_internal.createDateShape)({
1080
+ kind: "date-time-text",
1081
+ source: "utcDateTime",
1082
+ format: "rfc3339",
1083
+ clientMode: "client",
1084
+ wire: { kind: "string" }
1085
+ }),
1086
+ readOnly: true
1087
+ },
1088
+ stepId: { armPath: ["stepId"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1089
+ stepName: { armPath: ["stepName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1090
+ target: {
1091
+ armPath: ["target"],
1092
+ value: (0, import_internal.createDeferredShape)(() => jobExecutionTargetShape),
1093
+ readOnly: true
1094
+ }
1095
+ });
1096
+ const jobExecutionTargetShape = (0, import_internal.createFlatModelShape)({
1097
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1098
+ serverName: { armPath: ["serverName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1099
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)(), readOnly: true }
1100
+ });
1101
+ const jobPrivateEndpointPropertiesShape = (0, import_internal.createFlatModelShape)({
1102
+ privateEndpointId: { armPath: ["privateEndpointId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1103
+ targetServerAzureResourceId: {
1104
+ armPath: ["targetServerAzureResourceId"],
1105
+ value: (0, import_internal.createStringShape)()
1106
+ }
1107
+ });
1108
+ const jobPropertiesShape = (0, import_internal.createFlatModelShape)({
1109
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)() },
1110
+ schedule: { armPath: ["schedule"], value: (0, import_internal.createDeferredShape)(() => jobScheduleShape) },
1111
+ version: { armPath: ["version"], value: (0, import_internal.createNumberShape)(), readOnly: true }
1112
+ });
1113
+ const jobScheduleShape = (0, import_internal.createFlatModelShape)({
1114
+ enabled: { armPath: ["enabled"], value: (0, import_internal.createBooleanShape)() },
1115
+ endTime: {
1116
+ armPath: ["endTime"],
1117
+ value: (0, import_internal.createDateShape)({
1118
+ kind: "date-time-text",
1119
+ source: "utcDateTime",
1120
+ format: "rfc3339",
1121
+ clientMode: "client",
1122
+ wire: { kind: "string" }
1123
+ })
1124
+ },
1125
+ interval: { armPath: ["interval"], value: (0, import_internal.createStringShape)() },
1126
+ startTime: {
1127
+ armPath: ["startTime"],
1128
+ value: (0, import_internal.createDateShape)({
1129
+ kind: "date-time-text",
1130
+ source: "utcDateTime",
1131
+ format: "rfc3339",
1132
+ clientMode: "client",
1133
+ wire: { kind: "string" }
1134
+ })
1135
+ },
1136
+ type: { armPath: ["type"], value: (0, import_internal.createEnumShape)() }
1137
+ });
1138
+ const jobStepActionShape = (0, import_internal.createFlatModelShape)({
1139
+ source: { armPath: ["source"], value: (0, import_internal.createUnionShape)() },
1140
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() },
1141
+ value: { armPath: ["value"], value: (0, import_internal.createStringShape)() }
1142
+ });
1143
+ const jobStepExecutionOptionsShape = (0, import_internal.createFlatModelShape)({
1144
+ initialRetryIntervalSeconds: {
1145
+ armPath: ["initialRetryIntervalSeconds"],
1146
+ value: (0, import_internal.createNumberShape)()
1147
+ },
1148
+ maximumRetryIntervalSeconds: {
1149
+ armPath: ["maximumRetryIntervalSeconds"],
1150
+ value: (0, import_internal.createNumberShape)()
1151
+ },
1152
+ retryAttempts: { armPath: ["retryAttempts"], value: (0, import_internal.createNumberShape)() },
1153
+ retryIntervalBackoffMultiplier: {
1154
+ armPath: ["retryIntervalBackoffMultiplier"],
1155
+ value: (0, import_internal.createNumberShape)()
1156
+ },
1157
+ timeoutSeconds: { armPath: ["timeoutSeconds"], value: (0, import_internal.createNumberShape)() }
1158
+ });
1159
+ const jobStepOutputShape = (0, import_internal.createFlatModelShape)({
1160
+ credential: { armPath: ["credential"], value: (0, import_internal.createStringShape)() },
1161
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)() },
1162
+ resourceGroupName: { armPath: ["resourceGroupName"], value: (0, import_internal.createStringShape)() },
1163
+ schemaName: { armPath: ["schemaName"], value: (0, import_internal.createStringShape)() },
1164
+ serverName: { armPath: ["serverName"], value: (0, import_internal.createStringShape)() },
1165
+ subscriptionId: { armPath: ["subscriptionId"], value: (0, import_internal.createStringShape)() },
1166
+ tableName: { armPath: ["tableName"], value: (0, import_internal.createStringShape)() },
1167
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() }
1168
+ });
1169
+ const jobStepPropertiesShape = (0, import_internal.createFlatModelShape)({
1170
+ action: { armPath: ["action"], value: (0, import_internal.createDeferredShape)(() => jobStepActionShape) },
1171
+ credential: { armPath: ["credential"], value: (0, import_internal.createStringShape)() },
1172
+ executionOptions: {
1173
+ armPath: ["executionOptions"],
1174
+ value: (0, import_internal.createDeferredShape)(() => jobStepExecutionOptionsShape)
1175
+ },
1176
+ output: { armPath: ["output"], value: (0, import_internal.createDeferredShape)(() => jobStepOutputShape) },
1177
+ stepId: { armPath: ["stepId"], value: (0, import_internal.createNumberShape)() },
1178
+ targetGroup: { armPath: ["targetGroup"], value: (0, import_internal.createStringShape)() }
1179
+ });
1180
+ const jobTargetShape = (0, import_internal.createFlatModelShape)({
1181
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)() },
1182
+ elasticPoolName: { armPath: ["elasticPoolName"], value: (0, import_internal.createStringShape)() },
1183
+ membershipType: { armPath: ["membershipType"], value: (0, import_internal.createEnumShape)() },
1184
+ refreshCredential: { armPath: ["refreshCredential"], value: (0, import_internal.createStringShape)() },
1185
+ serverName: { armPath: ["serverName"], value: (0, import_internal.createStringShape)() },
1186
+ shardMapName: { armPath: ["shardMapName"], value: (0, import_internal.createStringShape)() },
1187
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() }
1188
+ });
1189
+ const jobTargetGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
1190
+ members: {
1191
+ armPath: ["members"],
1192
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => jobTargetShape))
1193
+ }
1194
+ });
1195
+ const ledgerDigestUploadsPropertiesShape = (0, import_internal.createFlatModelShape)({
1196
+ digestStorageEndpoint: { armPath: ["digestStorageEndpoint"], value: (0, import_internal.createStringShape)() },
1197
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)(), readOnly: true }
1198
+ });
1199
+ const longTermRetentionBackupPropertiesShape = (0, import_internal.createFlatModelShape)({
1200
+ backupExpirationTime: {
1201
+ armPath: ["backupExpirationTime"],
1202
+ value: (0, import_internal.createDateShape)({
1203
+ kind: "date-time-text",
1204
+ source: "utcDateTime",
1205
+ format: "rfc3339",
1206
+ clientMode: "client",
1207
+ wire: { kind: "string" }
1208
+ }),
1209
+ readOnly: true
1210
+ },
1211
+ backupStorageAccessTier: {
1212
+ armPath: ["backupStorageAccessTier"],
1213
+ value: (0, import_internal.createUnionShape)(),
1214
+ readOnly: true
1215
+ },
1216
+ backupStorageRedundancy: {
1217
+ armPath: ["backupStorageRedundancy"],
1218
+ value: (0, import_internal.createUnionShape)(),
1219
+ readOnly: true
1220
+ },
1221
+ backupTime: {
1222
+ armPath: ["backupTime"],
1223
+ value: (0, import_internal.createDateShape)({
1224
+ kind: "date-time-text",
1225
+ source: "utcDateTime",
1226
+ format: "rfc3339",
1227
+ clientMode: "client",
1228
+ wire: { kind: "string" }
1229
+ }),
1230
+ readOnly: true
1231
+ },
1232
+ databaseDeletionTime: {
1233
+ armPath: ["databaseDeletionTime"],
1234
+ value: (0, import_internal.createDateShape)({
1235
+ kind: "date-time-text",
1236
+ source: "utcDateTime",
1237
+ format: "rfc3339",
1238
+ clientMode: "client",
1239
+ wire: { kind: "string" }
1240
+ }),
1241
+ readOnly: true
1242
+ },
1243
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1244
+ isBackupImmutable: {
1245
+ armPath: ["isBackupImmutable"],
1246
+ value: (0, import_internal.createBooleanShape)(),
1247
+ readOnly: true
1248
+ },
1249
+ legalHoldImmutability: {
1250
+ armPath: ["legalHoldImmutability"],
1251
+ value: (0, import_internal.createUnionShape)(),
1252
+ readOnly: true
1253
+ },
1254
+ requestedBackupStorageRedundancy: {
1255
+ armPath: ["requestedBackupStorageRedundancy"],
1256
+ value: (0, import_internal.createUnionShape)()
1257
+ },
1258
+ serverCreateTime: {
1259
+ armPath: ["serverCreateTime"],
1260
+ value: (0, import_internal.createDateShape)({
1261
+ kind: "date-time-text",
1262
+ source: "utcDateTime",
1263
+ format: "rfc3339",
1264
+ clientMode: "client",
1265
+ wire: { kind: "string" }
1266
+ }),
1267
+ readOnly: true
1268
+ },
1269
+ serverName: { armPath: ["serverName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1270
+ timeBasedImmutability: {
1271
+ armPath: ["timeBasedImmutability"],
1272
+ value: (0, import_internal.createUnionShape)(),
1273
+ readOnly: true
1274
+ },
1275
+ timeBasedImmutabilityMode: {
1276
+ armPath: ["timeBasedImmutabilityMode"],
1277
+ value: (0, import_internal.createUnionShape)(),
1278
+ readOnly: true
1279
+ }
1280
+ });
1281
+ const longTermRetentionPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
1282
+ monthlyRetention: { armPath: ["monthlyRetention"], value: (0, import_internal.createStringShape)() },
1283
+ timeBasedImmutability: { armPath: ["timeBasedImmutability"], value: (0, import_internal.createUnionShape)() },
1284
+ timeBasedImmutabilityMode: { armPath: ["timeBasedImmutabilityMode"], value: (0, import_internal.createUnionShape)() },
1285
+ weeklyRetention: { armPath: ["weeklyRetention"], value: (0, import_internal.createStringShape)() },
1286
+ weekOfYear: { armPath: ["weekOfYear"], value: (0, import_internal.createNumberShape)() },
1287
+ yearlyRetention: { armPath: ["yearlyRetention"], value: (0, import_internal.createStringShape)() }
1288
+ });
1289
+ const managedBackupShortTermRetentionPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
1290
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() }
1291
+ });
1292
+ const managedDatabaseExtendedAccessibilityInfoShape = (0, import_internal.createFlatModelShape)({
1293
+ inaccessibilityReasonDescription: {
1294
+ armPath: ["inaccessibilityReasonDescription"],
1295
+ value: (0, import_internal.createStringShape)(),
1296
+ readOnly: true
1297
+ },
1298
+ inaccessibilityReasonErrorCode: {
1299
+ armPath: ["inaccessibilityReasonErrorCode"],
1300
+ value: (0, import_internal.createStringShape)(),
1301
+ readOnly: true
1302
+ },
1303
+ inaccessibilityReasonKind: {
1304
+ armPath: ["inaccessibilityReasonKind"],
1305
+ value: (0, import_internal.createUnionShape)(),
1306
+ readOnly: true
1307
+ },
1308
+ inaccessibilityReasonTdeKeyUri: {
1309
+ armPath: ["inaccessibilityReasonTdeKeyUri"],
1310
+ value: (0, import_internal.createStringShape)(),
1311
+ readOnly: true
1312
+ }
1313
+ });
1314
+ const managedDatabaseMoveOperationResultPropertiesShape = (0, import_internal.createFlatModelShape)({
1315
+ errorCode: { armPath: ["errorCode"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1316
+ errorDescription: { armPath: ["errorDescription"], value: (0, import_internal.createStringShape)(), readOnly: true },
1317
+ errorSeverity: { armPath: ["errorSeverity"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1318
+ isCancellable: { armPath: ["isCancellable"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
1319
+ isUserError: { armPath: ["isUserError"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
1320
+ operation: { armPath: ["operation"], value: (0, import_internal.createStringShape)(), readOnly: true },
1321
+ operationFriendlyName: {
1322
+ armPath: ["operationFriendlyName"],
1323
+ value: (0, import_internal.createStringShape)(),
1324
+ readOnly: true
1325
+ },
1326
+ operationMode: { armPath: ["operationMode"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1327
+ sourceDatabaseName: {
1328
+ armPath: ["sourceDatabaseName"],
1329
+ value: (0, import_internal.createStringShape)(),
1330
+ readOnly: true
1331
+ },
1332
+ sourceManagedInstanceId: {
1333
+ armPath: ["sourceManagedInstanceId"],
1334
+ value: (0, import_internal.createStringShape)(),
1335
+ readOnly: true
1336
+ },
1337
+ sourceManagedInstanceName: {
1338
+ armPath: ["sourceManagedInstanceName"],
1339
+ value: (0, import_internal.createStringShape)(),
1340
+ readOnly: true
1341
+ },
1342
+ startTime: {
1343
+ armPath: ["startTime"],
1344
+ value: (0, import_internal.createDateShape)({
1345
+ kind: "date-time-text",
1346
+ source: "utcDateTime",
1347
+ format: "rfc3339",
1348
+ clientMode: "client",
1349
+ wire: { kind: "string" }
1350
+ }),
1351
+ readOnly: true
1352
+ },
1353
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1354
+ targetDatabaseName: {
1355
+ armPath: ["targetDatabaseName"],
1356
+ value: (0, import_internal.createStringShape)(),
1357
+ readOnly: true
1358
+ },
1359
+ targetManagedInstanceId: {
1360
+ armPath: ["targetManagedInstanceId"],
1361
+ value: (0, import_internal.createStringShape)(),
1362
+ readOnly: true
1363
+ },
1364
+ targetManagedInstanceName: {
1365
+ armPath: ["targetManagedInstanceName"],
1366
+ value: (0, import_internal.createStringShape)(),
1367
+ readOnly: true
1368
+ }
1369
+ });
1370
+ const managedDatabasePropertiesShape = (0, import_internal.createFlatModelShape)({
1371
+ autoCompleteRestore: { armPath: ["autoCompleteRestore"], value: (0, import_internal.createBooleanShape)() },
1372
+ catalogCollation: { armPath: ["catalogCollation"], value: (0, import_internal.createUnionShape)() },
1373
+ collation: { armPath: ["collation"], value: (0, import_internal.createStringShape)() },
1374
+ createMode: { armPath: ["createMode"], value: (0, import_internal.createUnionShape)() },
1375
+ creationDate: {
1376
+ armPath: ["creationDate"],
1377
+ value: (0, import_internal.createDateShape)({
1378
+ kind: "date-time-text",
1379
+ source: "utcDateTime",
1380
+ format: "rfc3339",
1381
+ clientMode: "client",
1382
+ wire: { kind: "string" }
1383
+ }),
1384
+ readOnly: true
1385
+ },
1386
+ crossSubscriptionRestorableDroppedDatabaseId: {
1387
+ armPath: ["crossSubscriptionRestorableDroppedDatabaseId"],
1388
+ value: (0, import_internal.createStringShape)()
1389
+ },
1390
+ crossSubscriptionSourceDatabaseId: {
1391
+ armPath: ["crossSubscriptionSourceDatabaseId"],
1392
+ value: (0, import_internal.createStringShape)()
1393
+ },
1394
+ crossSubscriptionTargetManagedInstanceId: {
1395
+ armPath: ["crossSubscriptionTargetManagedInstanceId"],
1396
+ value: (0, import_internal.createStringShape)()
1397
+ },
1398
+ defaultSecondaryLocation: {
1399
+ armPath: ["defaultSecondaryLocation"],
1400
+ value: (0, import_internal.createStringShape)(),
1401
+ readOnly: true
1402
+ },
1403
+ earliestRestorePoint: {
1404
+ armPath: ["earliestRestorePoint"],
1405
+ value: (0, import_internal.createDateShape)({
1406
+ kind: "date-time-text",
1407
+ source: "utcDateTime",
1408
+ format: "rfc3339",
1409
+ clientMode: "client",
1410
+ wire: { kind: "string" }
1411
+ }),
1412
+ readOnly: true
1413
+ },
1414
+ extendedAccessibilityInfo: {
1415
+ armPath: ["extendedAccessibilityInfo"],
1416
+ value: (0, import_internal.createDeferredShape)(() => managedDatabaseExtendedAccessibilityInfoShape),
1417
+ readOnly: true
1418
+ },
1419
+ failoverGroupId: { armPath: ["failoverGroupId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1420
+ isLedgerOn: { armPath: ["isLedgerOn"], value: (0, import_internal.createBooleanShape)() },
1421
+ lastBackupName: { armPath: ["lastBackupName"], value: (0, import_internal.createStringShape)() },
1422
+ longTermRetentionBackupResourceId: {
1423
+ armPath: ["longTermRetentionBackupResourceId"],
1424
+ value: (0, import_internal.createStringShape)()
1425
+ },
1426
+ recoverableDatabaseId: { armPath: ["recoverableDatabaseId"], value: (0, import_internal.createStringShape)() },
1427
+ restorableDroppedDatabaseId: {
1428
+ armPath: ["restorableDroppedDatabaseId"],
1429
+ value: (0, import_internal.createStringShape)()
1430
+ },
1431
+ restorePointInTime: {
1432
+ armPath: ["restorePointInTime"],
1433
+ value: (0, import_internal.createDateShape)({
1434
+ kind: "date-time-text",
1435
+ source: "utcDateTime",
1436
+ format: "rfc3339",
1437
+ clientMode: "client",
1438
+ wire: { kind: "string" }
1439
+ })
1440
+ },
1441
+ sourceDatabaseId: { armPath: ["sourceDatabaseId"], value: (0, import_internal.createStringShape)() },
1442
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1443
+ storageContainerIdentity: { armPath: ["storageContainerIdentity"], value: (0, import_internal.createStringShape)() },
1444
+ storageContainerSasToken: { armPath: ["storageContainerSasToken"], value: (0, import_internal.createStringShape)() },
1445
+ storageContainerUri: { armPath: ["storageContainerUri"], value: (0, import_internal.createStringShape)() }
1446
+ });
1447
+ const managedDatabaseRestoreDetailsBackupSetPropertiesShape = (0, import_internal.createFlatModelShape)({
1448
+ backupSizeMb: { armPath: ["backupSizeMB"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1449
+ firstStripeName: { armPath: ["firstStripeName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1450
+ numberOfStripes: { armPath: ["numberOfStripes"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1451
+ restoreFinishedTimestampUtc: {
1452
+ armPath: ["restoreFinishedTimestampUtc"],
1453
+ value: (0, import_internal.createDateShape)({
1454
+ kind: "date-time-text",
1455
+ source: "utcDateTime",
1456
+ format: "rfc3339",
1457
+ clientMode: "client",
1458
+ wire: { kind: "string" }
1459
+ }),
1460
+ readOnly: true
1461
+ },
1462
+ restoreStartedTimestampUtc: {
1463
+ armPath: ["restoreStartedTimestampUtc"],
1464
+ value: (0, import_internal.createDateShape)({
1465
+ kind: "date-time-text",
1466
+ source: "utcDateTime",
1467
+ format: "rfc3339",
1468
+ clientMode: "client",
1469
+ wire: { kind: "string" }
1470
+ }),
1471
+ readOnly: true
1472
+ },
1473
+ status: { armPath: ["status"], value: (0, import_internal.createStringShape)(), readOnly: true }
1474
+ });
1475
+ const managedDatabaseRestoreDetailsPropertiesShape = (0, import_internal.createFlatModelShape)({
1476
+ blockReason: { armPath: ["blockReason"], value: (0, import_internal.createStringShape)(), readOnly: true },
1477
+ currentBackupType: { armPath: ["currentBackupType"], value: (0, import_internal.createStringShape)(), readOnly: true },
1478
+ currentRestoredSizeMb: {
1479
+ armPath: ["currentRestoredSizeMB"],
1480
+ value: (0, import_internal.createNumberShape)(),
1481
+ readOnly: true
1482
+ },
1483
+ currentRestorePlanSizeMb: {
1484
+ armPath: ["currentRestorePlanSizeMB"],
1485
+ value: (0, import_internal.createNumberShape)(),
1486
+ readOnly: true
1487
+ },
1488
+ currentRestoringFileName: {
1489
+ armPath: ["currentRestoringFileName"],
1490
+ value: (0, import_internal.createStringShape)(),
1491
+ readOnly: true
1492
+ },
1493
+ diffBackupSets: {
1494
+ armPath: ["diffBackupSets"],
1495
+ value: (0, import_internal.createArrayShape)(
1496
+ (0, import_internal.createDeferredShape)(() => managedDatabaseRestoreDetailsBackupSetPropertiesShape)
1497
+ ),
1498
+ readOnly: true
1499
+ },
1500
+ fullBackupSets: {
1501
+ armPath: ["fullBackupSets"],
1502
+ value: (0, import_internal.createArrayShape)(
1503
+ (0, import_internal.createDeferredShape)(() => managedDatabaseRestoreDetailsBackupSetPropertiesShape)
1504
+ ),
1505
+ readOnly: true
1506
+ },
1507
+ lastRestoredFileName: {
1508
+ armPath: ["lastRestoredFileName"],
1509
+ value: (0, import_internal.createStringShape)(),
1510
+ readOnly: true
1511
+ },
1512
+ lastRestoredFileTime: {
1513
+ armPath: ["lastRestoredFileTime"],
1514
+ value: (0, import_internal.createDateShape)({
1515
+ kind: "date-time-text",
1516
+ source: "utcDateTime",
1517
+ format: "rfc3339",
1518
+ clientMode: "client",
1519
+ wire: { kind: "string" }
1520
+ }),
1521
+ readOnly: true
1522
+ },
1523
+ lastUploadedFileName: {
1524
+ armPath: ["lastUploadedFileName"],
1525
+ value: (0, import_internal.createStringShape)(),
1526
+ readOnly: true
1527
+ },
1528
+ lastUploadedFileTime: {
1529
+ armPath: ["lastUploadedFileTime"],
1530
+ value: (0, import_internal.createDateShape)({
1531
+ kind: "date-time-text",
1532
+ source: "utcDateTime",
1533
+ format: "rfc3339",
1534
+ clientMode: "client",
1535
+ wire: { kind: "string" }
1536
+ }),
1537
+ readOnly: true
1538
+ },
1539
+ logBackupSets: {
1540
+ armPath: ["logBackupSets"],
1541
+ value: (0, import_internal.createArrayShape)(
1542
+ (0, import_internal.createDeferredShape)(() => managedDatabaseRestoreDetailsBackupSetPropertiesShape)
1543
+ ),
1544
+ readOnly: true
1545
+ },
1546
+ numberOfFilesDetected: {
1547
+ armPath: ["numberOfFilesDetected"],
1548
+ value: (0, import_internal.createNumberShape)(),
1549
+ readOnly: true
1550
+ },
1551
+ numberOfFilesQueued: {
1552
+ armPath: ["numberOfFilesQueued"],
1553
+ value: (0, import_internal.createNumberShape)(),
1554
+ readOnly: true
1555
+ },
1556
+ numberOfFilesRestored: {
1557
+ armPath: ["numberOfFilesRestored"],
1558
+ value: (0, import_internal.createNumberShape)(),
1559
+ readOnly: true
1560
+ },
1561
+ numberOfFilesRestoring: {
1562
+ armPath: ["numberOfFilesRestoring"],
1563
+ value: (0, import_internal.createNumberShape)(),
1564
+ readOnly: true
1565
+ },
1566
+ numberOfFilesSkipped: {
1567
+ armPath: ["numberOfFilesSkipped"],
1568
+ value: (0, import_internal.createNumberShape)(),
1569
+ readOnly: true
1570
+ },
1571
+ numberOfFilesUnrestorable: {
1572
+ armPath: ["numberOfFilesUnrestorable"],
1573
+ value: (0, import_internal.createNumberShape)(),
1574
+ readOnly: true
1575
+ },
1576
+ percentCompleted: { armPath: ["percentCompleted"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1577
+ status: { armPath: ["status"], value: (0, import_internal.createStringShape)(), readOnly: true },
1578
+ type: { armPath: ["type"], value: (0, import_internal.createStringShape)(), readOnly: true },
1579
+ unrestorableFiles: {
1580
+ armPath: ["unrestorableFiles"],
1581
+ value: (0, import_internal.createArrayShape)(
1582
+ (0, import_internal.createDeferredShape)(() => managedDatabaseRestoreDetailsUnrestorableFilePropertiesShape)
1583
+ ),
1584
+ readOnly: true
1585
+ }
1586
+ });
1587
+ const managedDatabaseRestoreDetailsUnrestorableFilePropertiesShape = (0, import_internal.createFlatModelShape)({
1588
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true }
1589
+ });
1590
+ const managedInstanceAdministratorPropertiesShape = (0, import_internal.createFlatModelShape)({
1591
+ administratorType: { armPath: ["administratorType"], value: (0, import_internal.createUnionShape)() },
1592
+ login: { armPath: ["login"], value: (0, import_internal.createStringShape)() },
1593
+ sid: { armPath: ["sid"], value: (0, import_internal.createStringShape)() },
1594
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)() }
1595
+ });
1596
+ const managedInstanceAzureAdOnlyAuthPropertiesShape = (0, import_internal.createFlatModelShape)({
1597
+ azureAdOnlyAuthentication: {
1598
+ armPath: ["azureADOnlyAuthentication"],
1599
+ value: (0, import_internal.createBooleanShape)()
1600
+ }
1601
+ });
1602
+ const managedInstanceDtcPropertiesShape = (0, import_internal.createFlatModelShape)({
1603
+ dtcEnabled: { armPath: ["dtcEnabled"], value: (0, import_internal.createBooleanShape)() },
1604
+ dtcHostNameDnsSuffix: {
1605
+ armPath: ["dtcHostNameDnsSuffix"],
1606
+ value: (0, import_internal.createStringShape)(),
1607
+ readOnly: true
1608
+ },
1609
+ externalDnsSuffixSearchList: {
1610
+ armPath: ["externalDnsSuffixSearchList"],
1611
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)())
1612
+ },
1613
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1614
+ securitySettings: {
1615
+ armPath: ["securitySettings"],
1616
+ value: (0, import_internal.createDeferredShape)(() => managedInstanceDtcSecuritySettingsShape)
1617
+ }
1618
+ });
1619
+ const managedInstanceDtcSecuritySettingsShape = (0, import_internal.createFlatModelShape)({
1620
+ snaLu6point2TransactionsEnabled: {
1621
+ armPath: ["snaLu6point2TransactionsEnabled"],
1622
+ value: (0, import_internal.createBooleanShape)()
1623
+ },
1624
+ transactionManagerCommunicationSettings: {
1625
+ armPath: ["transactionManagerCommunicationSettings"],
1626
+ value: (0, import_internal.createDeferredShape)(
1627
+ () => managedInstanceDtcTransactionManagerCommunicationSettingsShape
1628
+ )
1629
+ },
1630
+ xaTransactionsDefaultTimeout: {
1631
+ armPath: ["xaTransactionsDefaultTimeout"],
1632
+ value: (0, import_internal.createNumberShape)()
1633
+ },
1634
+ xaTransactionsEnabled: { armPath: ["xaTransactionsEnabled"], value: (0, import_internal.createBooleanShape)() },
1635
+ xaTransactionsMaximumTimeout: {
1636
+ armPath: ["xaTransactionsMaximumTimeout"],
1637
+ value: (0, import_internal.createNumberShape)()
1638
+ }
1639
+ });
1640
+ const managedInstanceDtcTransactionManagerCommunicationSettingsShape = (0, import_internal.createFlatModelShape)({
1641
+ allowInboundEnabled: { armPath: ["allowInboundEnabled"], value: (0, import_internal.createBooleanShape)() },
1642
+ allowOutboundEnabled: { armPath: ["allowOutboundEnabled"], value: (0, import_internal.createBooleanShape)() },
1643
+ authentication: { armPath: ["authentication"], value: (0, import_internal.createStringShape)() }
1644
+ });
1645
+ const managedInstanceEncryptionProtectorPropertiesShape = (0, import_internal.createFlatModelShape)({
1646
+ autoRotationEnabled: { armPath: ["autoRotationEnabled"], value: (0, import_internal.createBooleanShape)() },
1647
+ serverKeyName: { armPath: ["serverKeyName"], value: (0, import_internal.createStringShape)() },
1648
+ serverKeyType: { armPath: ["serverKeyType"], value: (0, import_internal.createUnionShape)() },
1649
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true },
1650
+ uri: { armPath: ["uri"], value: (0, import_internal.createStringShape)(), readOnly: true }
1651
+ });
1652
+ const managedInstanceExternalAdministratorShape = (0, import_internal.createFlatModelShape)({
1653
+ administratorType: { armPath: ["administratorType"], value: (0, import_internal.createUnionShape)() },
1654
+ azureAdOnlyAuthentication: {
1655
+ armPath: ["azureADOnlyAuthentication"],
1656
+ value: (0, import_internal.createBooleanShape)()
1657
+ },
1658
+ login: { armPath: ["login"], value: (0, import_internal.createStringShape)() },
1659
+ principalType: { armPath: ["principalType"], value: (0, import_internal.createUnionShape)() },
1660
+ sid: { armPath: ["sid"], value: (0, import_internal.createStringShape)() },
1661
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)() }
1662
+ });
1663
+ const managedInstanceKeyPropertiesShape = (0, import_internal.createFlatModelShape)({
1664
+ autoRotationEnabled: {
1665
+ armPath: ["autoRotationEnabled"],
1666
+ value: (0, import_internal.createBooleanShape)(),
1667
+ readOnly: true
1668
+ },
1669
+ creationDate: {
1670
+ armPath: ["creationDate"],
1671
+ value: (0, import_internal.createDateShape)({
1672
+ kind: "date-time-text",
1673
+ source: "utcDateTime",
1674
+ format: "rfc3339",
1675
+ clientMode: "client",
1676
+ wire: { kind: "string" }
1677
+ }),
1678
+ readOnly: true
1679
+ },
1680
+ serverKeyType: { armPath: ["serverKeyType"], value: (0, import_internal.createUnionShape)() },
1681
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true },
1682
+ uri: { armPath: ["uri"], value: (0, import_internal.createStringShape)() }
1683
+ });
1684
+ const managedInstanceLongTermRetentionBackupPropertiesShape = (0, import_internal.createFlatModelShape)({
1685
+ backupExpirationTime: {
1686
+ armPath: ["backupExpirationTime"],
1687
+ value: (0, import_internal.createDateShape)({
1688
+ kind: "date-time-text",
1689
+ source: "utcDateTime",
1690
+ format: "rfc3339",
1691
+ clientMode: "client",
1692
+ wire: { kind: "string" }
1693
+ }),
1694
+ readOnly: true
1695
+ },
1696
+ backupStorageAccessTier: {
1697
+ armPath: ["backupStorageAccessTier"],
1698
+ value: (0, import_internal.createUnionShape)(),
1699
+ readOnly: true
1700
+ },
1701
+ backupStorageRedundancy: {
1702
+ armPath: ["backupStorageRedundancy"],
1703
+ value: (0, import_internal.createUnionShape)(),
1704
+ readOnly: true
1705
+ },
1706
+ backupTime: {
1707
+ armPath: ["backupTime"],
1708
+ value: (0, import_internal.createDateShape)({
1709
+ kind: "date-time-text",
1710
+ source: "utcDateTime",
1711
+ format: "rfc3339",
1712
+ clientMode: "client",
1713
+ wire: { kind: "string" }
1714
+ }),
1715
+ readOnly: true
1716
+ },
1717
+ databaseDeletionTime: {
1718
+ armPath: ["databaseDeletionTime"],
1719
+ value: (0, import_internal.createDateShape)({
1720
+ kind: "date-time-text",
1721
+ source: "utcDateTime",
1722
+ format: "rfc3339",
1723
+ clientMode: "client",
1724
+ wire: { kind: "string" }
1725
+ }),
1726
+ readOnly: true
1727
+ },
1728
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)(), readOnly: true },
1729
+ managedInstanceCreateTime: {
1730
+ armPath: ["managedInstanceCreateTime"],
1731
+ value: (0, import_internal.createDateShape)({
1732
+ kind: "date-time-text",
1733
+ source: "utcDateTime",
1734
+ format: "rfc3339",
1735
+ clientMode: "client",
1736
+ wire: { kind: "string" }
1737
+ }),
1738
+ readOnly: true
1739
+ },
1740
+ managedInstanceName: {
1741
+ armPath: ["managedInstanceName"],
1742
+ value: (0, import_internal.createStringShape)(),
1743
+ readOnly: true
1744
+ }
1745
+ });
1746
+ const managedInstanceLongTermRetentionPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
1747
+ backupStorageAccessTier: { armPath: ["backupStorageAccessTier"], value: (0, import_internal.createUnionShape)() },
1748
+ monthlyRetention: { armPath: ["monthlyRetention"], value: (0, import_internal.createStringShape)() },
1749
+ weeklyRetention: { armPath: ["weeklyRetention"], value: (0, import_internal.createStringShape)() },
1750
+ weekOfYear: { armPath: ["weekOfYear"], value: (0, import_internal.createNumberShape)() },
1751
+ yearlyRetention: { armPath: ["yearlyRetention"], value: (0, import_internal.createStringShape)() }
1752
+ });
1753
+ const managedInstanceOperationParametersPairShape = (0, import_internal.createFlatModelShape)({
1754
+ currentParameters: {
1755
+ armPath: ["currentParameters"],
1756
+ value: (0, import_internal.createDeferredShape)(() => upsertManagedServerOperationParametersShape),
1757
+ readOnly: true
1758
+ },
1759
+ requestedParameters: {
1760
+ armPath: ["requestedParameters"],
1761
+ value: (0, import_internal.createDeferredShape)(() => upsertManagedServerOperationParametersShape),
1762
+ readOnly: true
1763
+ }
1764
+ });
1765
+ const managedInstanceOperationPropertiesShape = (0, import_internal.createFlatModelShape)({
1766
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)(), readOnly: true },
1767
+ errorCode: { armPath: ["errorCode"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1768
+ errorDescription: { armPath: ["errorDescription"], value: (0, import_internal.createStringShape)(), readOnly: true },
1769
+ errorSeverity: { armPath: ["errorSeverity"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1770
+ estimatedCompletionTime: {
1771
+ armPath: ["estimatedCompletionTime"],
1772
+ value: (0, import_internal.createDateShape)({
1773
+ kind: "date-time-text",
1774
+ source: "utcDateTime",
1775
+ format: "rfc3339",
1776
+ clientMode: "client",
1777
+ wire: { kind: "string" }
1778
+ }),
1779
+ readOnly: true
1780
+ },
1781
+ isCancellable: { armPath: ["isCancellable"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
1782
+ isUserError: { armPath: ["isUserError"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
1783
+ managedInstanceName: {
1784
+ armPath: ["managedInstanceName"],
1785
+ value: (0, import_internal.createStringShape)(),
1786
+ readOnly: true
1787
+ },
1788
+ operation: { armPath: ["operation"], value: (0, import_internal.createStringShape)(), readOnly: true },
1789
+ operationFriendlyName: {
1790
+ armPath: ["operationFriendlyName"],
1791
+ value: (0, import_internal.createStringShape)(),
1792
+ readOnly: true
1793
+ },
1794
+ operationParameters: {
1795
+ armPath: ["operationParameters"],
1796
+ value: (0, import_internal.createDeferredShape)(() => managedInstanceOperationParametersPairShape),
1797
+ readOnly: true
1798
+ },
1799
+ operationSteps: {
1800
+ armPath: ["operationSteps"],
1801
+ value: (0, import_internal.createDeferredShape)(() => managedInstanceOperationStepsShape),
1802
+ readOnly: true
1803
+ },
1804
+ percentComplete: { armPath: ["percentComplete"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1805
+ startTime: {
1806
+ armPath: ["startTime"],
1807
+ value: (0, import_internal.createDateShape)({
1808
+ kind: "date-time-text",
1809
+ source: "utcDateTime",
1810
+ format: "rfc3339",
1811
+ clientMode: "client",
1812
+ wire: { kind: "string" }
1813
+ }),
1814
+ readOnly: true
1815
+ },
1816
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true }
1817
+ });
1818
+ const managedInstanceOperationStepsShape = (0, import_internal.createFlatModelShape)({
1819
+ currentStep: { armPath: ["currentStep"], value: (0, import_internal.createNumberShape)(), readOnly: true },
1820
+ stepsList: {
1821
+ armPath: ["stepsList"],
1822
+ value: (0, import_internal.createArrayShape)(
1823
+ (0, import_internal.createDeferredShape)(() => upsertManagedServerOperationStepWithEstimatesAndDurationShape)
1824
+ ),
1825
+ readOnly: true
1826
+ },
1827
+ totalSteps: { armPath: ["totalSteps"], value: (0, import_internal.createStringShape)(), readOnly: true }
1828
+ });
1829
+ const managedInstancePairInfoShape = (0, import_internal.createFlatModelShape)({
1830
+ partnerManagedInstanceId: { armPath: ["partnerManagedInstanceId"], value: (0, import_internal.createStringShape)() },
1831
+ primaryManagedInstanceId: { armPath: ["primaryManagedInstanceId"], value: (0, import_internal.createStringShape)() }
1832
+ });
1833
+ const managedInstancePecPropertyShape = (0, import_internal.createFlatModelShape)({
1834
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
1835
+ properties: {
1836
+ armPath: ["properties"],
1837
+ value: (0, import_internal.createDeferredShape)(() => managedInstancePrivateEndpointConnectionPropertiesShape),
1838
+ readOnly: true
1839
+ }
1840
+ });
1841
+ const managedInstancePrivateEndpointConnectionPropertiesShape = (0, import_internal.createFlatModelShape)({
1842
+ privateEndpoint: {
1843
+ armPath: ["privateEndpoint"],
1844
+ value: (0, import_internal.createDeferredShape)(() => managedInstancePrivateEndpointPropertyShape)
1845
+ },
1846
+ privateLinkServiceConnectionState: {
1847
+ armPath: ["privateLinkServiceConnectionState"],
1848
+ value: (0, import_internal.createDeferredShape)(
1849
+ () => managedInstancePrivateLinkServiceConnectionStatePropertyShape
1850
+ )
1851
+ },
1852
+ provisioningState: {
1853
+ armPath: ["provisioningState"],
1854
+ value: (0, import_internal.createStringShape)(),
1855
+ readOnly: true
1856
+ }
1857
+ });
1858
+ const managedInstancePrivateEndpointPropertyShape = (0, import_internal.createFlatModelShape)({
1859
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)() }
1860
+ });
1861
+ const managedInstancePrivateLinkPropertiesShape = (0, import_internal.createFlatModelShape)({
1862
+ groupId: { armPath: ["groupId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1863
+ requiredMembers: {
1864
+ armPath: ["requiredMembers"],
1865
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
1866
+ readOnly: true
1867
+ },
1868
+ requiredZoneNames: {
1869
+ armPath: ["requiredZoneNames"],
1870
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
1871
+ readOnly: true
1872
+ }
1873
+ });
1874
+ const managedInstancePrivateLinkServiceConnectionStatePropertyShape = (0, import_internal.createFlatModelShape)({
1875
+ actionsRequired: { armPath: ["actionsRequired"], value: (0, import_internal.createStringShape)(), readOnly: true },
1876
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)() },
1877
+ status: { armPath: ["status"], value: (0, import_internal.createStringShape)() }
1878
+ });
1879
+ const managedInstancePropertiesShape = (0, import_internal.createFlatModelShape)({
1880
+ administratorLogin: { armPath: ["administratorLogin"], value: (0, import_internal.createStringShape)() },
1881
+ administratorLoginPassword: {
1882
+ armPath: ["administratorLoginPassword"],
1883
+ value: (0, import_internal.createStringShape)()
1884
+ },
1885
+ administrators: {
1886
+ armPath: ["administrators"],
1887
+ value: (0, import_internal.createDeferredShape)(() => managedInstanceExternalAdministratorShape)
1888
+ },
1889
+ authenticationMetadata: { armPath: ["authenticationMetadata"], value: (0, import_internal.createUnionShape)() },
1890
+ collation: { armPath: ["collation"], value: (0, import_internal.createStringShape)() },
1891
+ createTime: {
1892
+ armPath: ["createTime"],
1893
+ value: (0, import_internal.createDateShape)({
1894
+ kind: "date-time-text",
1895
+ source: "utcDateTime",
1896
+ format: "rfc3339",
1897
+ clientMode: "client",
1898
+ wire: { kind: "string" }
1899
+ }),
1900
+ readOnly: true
1901
+ },
1902
+ currentBackupStorageRedundancy: {
1903
+ armPath: ["currentBackupStorageRedundancy"],
1904
+ value: (0, import_internal.createUnionShape)(),
1905
+ readOnly: true
1906
+ },
1907
+ databaseFormat: { armPath: ["databaseFormat"], value: (0, import_internal.createUnionShape)() },
1908
+ dnsZone: { armPath: ["dnsZone"], value: (0, import_internal.createStringShape)(), readOnly: true },
1909
+ dnsZonePartner: { armPath: ["dnsZonePartner"], value: (0, import_internal.createStringShape)() },
1910
+ externalGovernanceStatus: {
1911
+ armPath: ["externalGovernanceStatus"],
1912
+ value: (0, import_internal.createUnionShape)(),
1913
+ readOnly: true
1914
+ },
1915
+ fullyQualifiedDomainName: {
1916
+ armPath: ["fullyQualifiedDomainName"],
1917
+ value: (0, import_internal.createStringShape)(),
1918
+ readOnly: true
1919
+ },
1920
+ hybridSecondaryUsage: { armPath: ["hybridSecondaryUsage"], value: (0, import_internal.createUnionShape)() },
1921
+ hybridSecondaryUsageDetected: {
1922
+ armPath: ["hybridSecondaryUsageDetected"],
1923
+ value: (0, import_internal.createUnionShape)(),
1924
+ readOnly: true
1925
+ },
1926
+ instancePoolId: { armPath: ["instancePoolId"], value: (0, import_internal.createStringShape)() },
1927
+ isGeneralPurposeV2: { armPath: ["isGeneralPurposeV2"], value: (0, import_internal.createBooleanShape)() },
1928
+ keyId: { armPath: ["keyId"], value: (0, import_internal.createStringShape)() },
1929
+ licenseType: { armPath: ["licenseType"], value: (0, import_internal.createUnionShape)() },
1930
+ maintenanceConfigurationId: {
1931
+ armPath: ["maintenanceConfigurationId"],
1932
+ value: (0, import_internal.createStringShape)()
1933
+ },
1934
+ managedInstanceCreateMode: { armPath: ["managedInstanceCreateMode"], value: (0, import_internal.createUnionShape)() },
1935
+ memorySizeInGb: { armPath: ["memorySizeInGB"], value: (0, import_internal.createNumberShape)() },
1936
+ minimalTlsVersion: { armPath: ["minimalTlsVersion"], value: (0, import_internal.createStringShape)() },
1937
+ pricingModel: { armPath: ["pricingModel"], value: (0, import_internal.createUnionShape)() },
1938
+ primaryUserAssignedIdentityId: {
1939
+ armPath: ["primaryUserAssignedIdentityId"],
1940
+ value: (0, import_internal.createStringShape)()
1941
+ },
1942
+ privateEndpointConnections: {
1943
+ armPath: ["privateEndpointConnections"],
1944
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => managedInstancePecPropertyShape)),
1945
+ readOnly: true
1946
+ },
1947
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
1948
+ proxyOverride: { armPath: ["proxyOverride"], value: (0, import_internal.createUnionShape)() },
1949
+ publicDataEndpointEnabled: {
1950
+ armPath: ["publicDataEndpointEnabled"],
1951
+ value: (0, import_internal.createBooleanShape)()
1952
+ },
1953
+ requestedBackupStorageRedundancy: {
1954
+ armPath: ["requestedBackupStorageRedundancy"],
1955
+ value: (0, import_internal.createUnionShape)()
1956
+ },
1957
+ requestedLogicalAvailabilityZone: {
1958
+ armPath: ["requestedLogicalAvailabilityZone"],
1959
+ value: (0, import_internal.createUnionShape)()
1960
+ },
1961
+ restorePointInTime: {
1962
+ armPath: ["restorePointInTime"],
1963
+ value: (0, import_internal.createDateShape)({
1964
+ kind: "date-time-text",
1965
+ source: "utcDateTime",
1966
+ format: "rfc3339",
1967
+ clientMode: "client",
1968
+ wire: { kind: "string" }
1969
+ })
1970
+ },
1971
+ servicePrincipal: {
1972
+ armPath: ["servicePrincipal"],
1973
+ value: (0, import_internal.createDeferredShape)(() => servicePrincipalShape)
1974
+ },
1975
+ sourceManagedInstanceId: { armPath: ["sourceManagedInstanceId"], value: (0, import_internal.createStringShape)() },
1976
+ state: { armPath: ["state"], value: (0, import_internal.createStringShape)(), readOnly: true },
1977
+ storageIOps: { armPath: ["storageIOps"], value: (0, import_internal.createNumberShape)() },
1978
+ storageSizeInGb: { armPath: ["storageSizeInGB"], value: (0, import_internal.createNumberShape)() },
1979
+ storageThroughputMBps: { armPath: ["storageThroughputMBps"], value: (0, import_internal.createNumberShape)() },
1980
+ subnetId: { armPath: ["subnetId"], value: (0, import_internal.createStringShape)() },
1981
+ timezoneId: { armPath: ["timezoneId"], value: (0, import_internal.createStringShape)() },
1982
+ vCores: { armPath: ["vCores"], value: (0, import_internal.createNumberShape)() },
1983
+ virtualClusterId: { armPath: ["virtualClusterId"], value: (0, import_internal.createStringShape)(), readOnly: true },
1984
+ zoneRedundant: { armPath: ["zoneRedundant"], value: (0, import_internal.createBooleanShape)() }
1985
+ });
1986
+ const managedInstanceVulnerabilityAssessmentPropertiesShape = (0, import_internal.createFlatModelShape)({
1987
+ recurringScans: {
1988
+ armPath: ["recurringScans"],
1989
+ value: (0, import_internal.createDeferredShape)(() => vulnerabilityAssessmentRecurringScansPropertiesShape)
1990
+ },
1991
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
1992
+ storageContainerPath: { armPath: ["storageContainerPath"], value: (0, import_internal.createStringShape)() },
1993
+ storageContainerSasKey: { armPath: ["storageContainerSasKey"], value: (0, import_internal.createStringShape)() }
1994
+ });
1995
+ const managedLedgerDigestUploadsPropertiesShape = (0, import_internal.createFlatModelShape)({
1996
+ digestStorageEndpoint: { armPath: ["digestStorageEndpoint"], value: (0, import_internal.createStringShape)() },
1997
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true }
1998
+ });
1999
+ const managedServerDnsAliasPropertiesShape = (0, import_internal.createFlatModelShape)({
2000
+ azureDnsRecord: { armPath: ["azureDnsRecord"], value: (0, import_internal.createStringShape)(), readOnly: true },
2001
+ publicAzureDnsRecord: {
2002
+ armPath: ["publicAzureDnsRecord"],
2003
+ value: (0, import_internal.createStringShape)(),
2004
+ readOnly: true
2005
+ }
2006
+ });
2007
+ const managedTransparentDataEncryptionPropertiesShape = (0, import_internal.createFlatModelShape)(
2008
+ {
2009
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() }
2010
+ }
2011
+ );
2012
+ const networkIsolationSettingsShape = (0, import_internal.createFlatModelShape)({
2013
+ sqlServerResourceId: { armPath: ["sqlServerResourceId"], value: (0, import_internal.createStringShape)() },
2014
+ storageAccountResourceId: { armPath: ["storageAccountResourceId"], value: (0, import_internal.createStringShape)() }
2015
+ });
2016
+ const networkSecurityPerimeterConfigurationPropertiesShape = (0, import_internal.createFlatModelShape)({
2017
+ networkSecurityPerimeter: {
2018
+ armPath: ["networkSecurityPerimeter"],
2019
+ value: (0, import_internal.createDeferredShape)(() => nspConfigPerimeterShape),
2020
+ readOnly: true
2021
+ },
2022
+ profile: {
2023
+ armPath: ["profile"],
2024
+ value: (0, import_internal.createDeferredShape)(() => nspConfigProfileShape),
2025
+ readOnly: true
2026
+ },
2027
+ provisioningIssues: {
2028
+ armPath: ["provisioningIssues"],
2029
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => nspProvisioningIssueShape)),
2030
+ readOnly: true
2031
+ },
2032
+ provisioningState: {
2033
+ armPath: ["provisioningState"],
2034
+ value: (0, import_internal.createStringShape)(),
2035
+ readOnly: true
2036
+ },
2037
+ resourceAssociation: {
2038
+ armPath: ["resourceAssociation"],
2039
+ value: (0, import_internal.createDeferredShape)(() => nspConfigAssociationShape),
2040
+ readOnly: true
2041
+ }
2042
+ });
2043
+ const nspConfigAccessRuleShape = (0, import_internal.createFlatModelShape)({
2044
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true },
2045
+ properties: {
2046
+ armPath: ["properties"],
2047
+ value: (0, import_internal.createDeferredShape)(() => nspConfigAccessRulePropertiesShape),
2048
+ readOnly: true
2049
+ }
2050
+ });
2051
+ const nspConfigAccessRulePropertiesShape = (0, import_internal.createFlatModelShape)({
2052
+ addressPrefixes: {
2053
+ armPath: ["addressPrefixes"],
2054
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2055
+ readOnly: true
2056
+ },
2057
+ direction: { armPath: ["direction"], value: (0, import_internal.createStringShape)(), readOnly: true },
2058
+ fullyQualifiedDomainNames: {
2059
+ armPath: ["fullyQualifiedDomainNames"],
2060
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2061
+ readOnly: true
2062
+ },
2063
+ networkSecurityPerimeters: {
2064
+ armPath: ["networkSecurityPerimeters"],
2065
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => nspConfigNetworkSecurityPerimeterRuleShape)),
2066
+ readOnly: true
2067
+ },
2068
+ serviceTags: {
2069
+ armPath: ["serviceTags"],
2070
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2071
+ readOnly: true
2072
+ },
2073
+ subscriptions: {
2074
+ armPath: ["subscriptions"],
2075
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2076
+ readOnly: true
2077
+ }
2078
+ });
2079
+ const nspConfigAssociationShape = (0, import_internal.createFlatModelShape)({
2080
+ accessMode: { armPath: ["accessMode"], value: (0, import_internal.createStringShape)(), readOnly: true },
2081
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true }
2082
+ });
2083
+ const nspConfigNetworkSecurityPerimeterRuleShape = (0, import_internal.createFlatModelShape)({
2084
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
2085
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
2086
+ perimeterGuid: { armPath: ["perimeterGuid"], value: (0, import_internal.createStringShape)(), readOnly: true }
2087
+ });
2088
+ const nspConfigPerimeterShape = (0, import_internal.createFlatModelShape)({
2089
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
2090
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
2091
+ perimeterGuid: { armPath: ["perimeterGuid"], value: (0, import_internal.createStringShape)(), readOnly: true }
2092
+ });
2093
+ const nspConfigProfileShape = (0, import_internal.createFlatModelShape)({
2094
+ accessRules: {
2095
+ armPath: ["accessRules"],
2096
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => nspConfigAccessRuleShape)),
2097
+ readOnly: true
2098
+ },
2099
+ accessRulesVersion: {
2100
+ armPath: ["accessRulesVersion"],
2101
+ value: (0, import_internal.createStringShape)(),
2102
+ readOnly: true
2103
+ },
2104
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true }
2105
+ });
2106
+ const nspProvisioningIssueShape = (0, import_internal.createFlatModelShape)({
2107
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true },
2108
+ properties: {
2109
+ armPath: ["properties"],
2110
+ value: (0, import_internal.createDeferredShape)(() => nspProvisioningIssuePropertiesShape),
2111
+ readOnly: true
2112
+ }
2113
+ });
2114
+ const nspProvisioningIssuePropertiesShape = (0, import_internal.createFlatModelShape)({
2115
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)(), readOnly: true },
2116
+ issueType: { armPath: ["issueType"], value: (0, import_internal.createStringShape)(), readOnly: true },
2117
+ severity: { armPath: ["severity"], value: (0, import_internal.createStringShape)(), readOnly: true },
2118
+ suggestedAccessRules: {
2119
+ armPath: ["suggestedAccessRules"],
2120
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2121
+ readOnly: true
2122
+ },
2123
+ suggestedResourceIds: {
2124
+ armPath: ["suggestedResourceIds"],
2125
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2126
+ readOnly: true
2127
+ }
2128
+ });
2129
+ const outboundFirewallRulePropertiesShape = (0, import_internal.createFlatModelShape)({
2130
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createStringShape)(), readOnly: true }
2131
+ });
2132
+ const partnerInfoShape = (0, import_internal.createFlatModelShape)({
2133
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)() },
2134
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
2135
+ replicationRole: { armPath: ["replicationRole"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2136
+ });
2137
+ const partnerRegionInfoShape = (0, import_internal.createFlatModelShape)({
2138
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
2139
+ replicationRole: { armPath: ["replicationRole"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2140
+ });
2141
+ const privateEndpointConnectionPropertiesShape = (0, import_internal.createFlatModelShape)({
2142
+ groupIds: { armPath: ["groupIds"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()), readOnly: true },
2143
+ privateEndpoint: {
2144
+ armPath: ["privateEndpoint"],
2145
+ value: (0, import_internal.createDeferredShape)(() => privateEndpointPropertyShape)
2146
+ },
2147
+ privateLinkServiceConnectionState: {
2148
+ armPath: ["privateLinkServiceConnectionState"],
2149
+ value: (0, import_internal.createDeferredShape)(() => privateLinkServiceConnectionStatePropertyShape)
2150
+ },
2151
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2152
+ });
2153
+ const privateEndpointPropertyShape = (0, import_internal.createFlatModelShape)({
2154
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)() }
2155
+ });
2156
+ const privateLinkResourcePropertiesShape = (0, import_internal.createFlatModelShape)({
2157
+ groupId: { armPath: ["groupId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2158
+ requiredMembers: {
2159
+ armPath: ["requiredMembers"],
2160
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2161
+ readOnly: true
2162
+ },
2163
+ requiredZoneNames: {
2164
+ armPath: ["requiredZoneNames"],
2165
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2166
+ readOnly: true
2167
+ }
2168
+ });
2169
+ const privateLinkServiceConnectionStatePropertyShape = (0, import_internal.createFlatModelShape)({
2170
+ actionsRequired: { armPath: ["actionsRequired"], value: (0, import_internal.createUnionShape)(), readOnly: true },
2171
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)() },
2172
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)() }
2173
+ });
2174
+ const queryCheckShape = (0, import_internal.createFlatModelShape)({
2175
+ columnNames: {
2176
+ armPath: ["columnNames"],
2177
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2178
+ readOnly: true
2179
+ },
2180
+ expectedResult: {
2181
+ armPath: ["expectedResult"],
2182
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())),
2183
+ readOnly: true
2184
+ },
2185
+ query: { armPath: ["query"], value: (0, import_internal.createStringShape)(), readOnly: true }
2186
+ });
2187
+ const queryPropertiesShape = (0, import_internal.createFlatModelShape)({
2188
+ queryText: { armPath: ["queryText"], value: (0, import_internal.createStringShape)(), readOnly: true }
2189
+ });
2190
+ const recommendedActionErrorInfoShape = (0, import_internal.createFlatModelShape)({
2191
+ errorCode: { armPath: ["errorCode"], value: (0, import_internal.createStringShape)(), readOnly: true },
2192
+ isRetryable: { armPath: ["isRetryable"], value: (0, import_internal.createEnumShape)(), readOnly: true }
2193
+ });
2194
+ const recommendedActionImpactRecordShape = (0, import_internal.createFlatModelShape)({
2195
+ absoluteValue: { armPath: ["absoluteValue"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2196
+ changeValueAbsolute: {
2197
+ armPath: ["changeValueAbsolute"],
2198
+ value: (0, import_internal.createNumberShape)(),
2199
+ readOnly: true
2200
+ },
2201
+ changeValueRelative: {
2202
+ armPath: ["changeValueRelative"],
2203
+ value: (0, import_internal.createNumberShape)(),
2204
+ readOnly: true
2205
+ },
2206
+ dimensionName: { armPath: ["dimensionName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2207
+ unit: { armPath: ["unit"], value: (0, import_internal.createStringShape)(), readOnly: true }
2208
+ });
2209
+ const recommendedActionImplementationInfoShape = (0, import_internal.createFlatModelShape)({
2210
+ method: { armPath: ["method"], value: (0, import_internal.createEnumShape)(), readOnly: true },
2211
+ script: { armPath: ["script"], value: (0, import_internal.createStringShape)(), readOnly: true }
2212
+ });
2213
+ const recommendedActionMetricInfoShape = (0, import_internal.createFlatModelShape)({
2214
+ metricName: { armPath: ["metricName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2215
+ startTime: {
2216
+ armPath: ["startTime"],
2217
+ value: (0, import_internal.createDateShape)({
2218
+ kind: "date-time-text",
2219
+ source: "utcDateTime",
2220
+ format: "rfc3339",
2221
+ clientMode: "client",
2222
+ wire: { kind: "string" }
2223
+ }),
2224
+ readOnly: true
2225
+ },
2226
+ timeGrain: { armPath: ["timeGrain"], value: (0, import_internal.createStringShape)(), readOnly: true },
2227
+ unit: { armPath: ["unit"], value: (0, import_internal.createStringShape)(), readOnly: true },
2228
+ value: { armPath: ["value"], value: (0, import_internal.createNumberShape)(), readOnly: true }
2229
+ });
2230
+ const recommendedActionPropertiesShape = (0, import_internal.createFlatModelShape)({
2231
+ details: { armPath: ["details"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()), readOnly: true },
2232
+ errorDetails: {
2233
+ armPath: ["errorDetails"],
2234
+ value: (0, import_internal.createDeferredShape)(() => recommendedActionErrorInfoShape),
2235
+ readOnly: true
2236
+ },
2237
+ estimatedImpact: {
2238
+ armPath: ["estimatedImpact"],
2239
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => recommendedActionImpactRecordShape)),
2240
+ readOnly: true
2241
+ },
2242
+ executeActionDuration: {
2243
+ armPath: ["executeActionDuration"],
2244
+ value: (0, import_internal.createStringShape)({
2245
+ kind: "duration-iso8601",
2246
+ source: "duration",
2247
+ clientMode: "wire",
2248
+ wire: { kind: "string" }
2249
+ }),
2250
+ readOnly: true
2251
+ },
2252
+ executeActionInitiatedBy: {
2253
+ armPath: ["executeActionInitiatedBy"],
2254
+ value: (0, import_internal.createEnumShape)(),
2255
+ readOnly: true
2256
+ },
2257
+ executeActionInitiatedTime: {
2258
+ armPath: ["executeActionInitiatedTime"],
2259
+ value: (0, import_internal.createDateShape)({
2260
+ kind: "date-time-text",
2261
+ source: "utcDateTime",
2262
+ format: "rfc3339",
2263
+ clientMode: "client",
2264
+ wire: { kind: "string" }
2265
+ }),
2266
+ readOnly: true
2267
+ },
2268
+ executeActionStartTime: {
2269
+ armPath: ["executeActionStartTime"],
2270
+ value: (0, import_internal.createDateShape)({
2271
+ kind: "date-time-text",
2272
+ source: "utcDateTime",
2273
+ format: "rfc3339",
2274
+ clientMode: "client",
2275
+ wire: { kind: "string" }
2276
+ }),
2277
+ readOnly: true
2278
+ },
2279
+ implementationDetails: {
2280
+ armPath: ["implementationDetails"],
2281
+ value: (0, import_internal.createDeferredShape)(() => recommendedActionImplementationInfoShape),
2282
+ readOnly: true
2283
+ },
2284
+ isArchivedAction: { armPath: ["isArchivedAction"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
2285
+ isExecutableAction: {
2286
+ armPath: ["isExecutableAction"],
2287
+ value: (0, import_internal.createBooleanShape)(),
2288
+ readOnly: true
2289
+ },
2290
+ isRevertableAction: {
2291
+ armPath: ["isRevertableAction"],
2292
+ value: (0, import_internal.createBooleanShape)(),
2293
+ readOnly: true
2294
+ },
2295
+ lastRefresh: {
2296
+ armPath: ["lastRefresh"],
2297
+ value: (0, import_internal.createDateShape)({
2298
+ kind: "date-time-text",
2299
+ source: "utcDateTime",
2300
+ format: "rfc3339",
2301
+ clientMode: "client",
2302
+ wire: { kind: "string" }
2303
+ }),
2304
+ readOnly: true
2305
+ },
2306
+ linkedObjects: {
2307
+ armPath: ["linkedObjects"],
2308
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
2309
+ readOnly: true
2310
+ },
2311
+ observedImpact: {
2312
+ armPath: ["observedImpact"],
2313
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => recommendedActionImpactRecordShape)),
2314
+ readOnly: true
2315
+ },
2316
+ recommendationReason: {
2317
+ armPath: ["recommendationReason"],
2318
+ value: (0, import_internal.createStringShape)(),
2319
+ readOnly: true
2320
+ },
2321
+ revertActionDuration: {
2322
+ armPath: ["revertActionDuration"],
2323
+ value: (0, import_internal.createStringShape)({
2324
+ kind: "duration-iso8601",
2325
+ source: "duration",
2326
+ clientMode: "wire",
2327
+ wire: { kind: "string" }
2328
+ }),
2329
+ readOnly: true
2330
+ },
2331
+ revertActionInitiatedBy: {
2332
+ armPath: ["revertActionInitiatedBy"],
2333
+ value: (0, import_internal.createEnumShape)(),
2334
+ readOnly: true
2335
+ },
2336
+ revertActionInitiatedTime: {
2337
+ armPath: ["revertActionInitiatedTime"],
2338
+ value: (0, import_internal.createDateShape)({
2339
+ kind: "date-time-text",
2340
+ source: "utcDateTime",
2341
+ format: "rfc3339",
2342
+ clientMode: "client",
2343
+ wire: { kind: "string" }
2344
+ }),
2345
+ readOnly: true
2346
+ },
2347
+ revertActionStartTime: {
2348
+ armPath: ["revertActionStartTime"],
2349
+ value: (0, import_internal.createDateShape)({
2350
+ kind: "date-time-text",
2351
+ source: "utcDateTime",
2352
+ format: "rfc3339",
2353
+ clientMode: "client",
2354
+ wire: { kind: "string" }
2355
+ }),
2356
+ readOnly: true
2357
+ },
2358
+ score: { armPath: ["score"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2359
+ state: { armPath: ["state"], value: (0, import_internal.createDeferredShape)(() => recommendedActionStateInfoShape) },
2360
+ timeSeries: {
2361
+ armPath: ["timeSeries"],
2362
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => recommendedActionMetricInfoShape)),
2363
+ readOnly: true
2364
+ },
2365
+ validSince: {
2366
+ armPath: ["validSince"],
2367
+ value: (0, import_internal.createDateShape)({
2368
+ kind: "date-time-text",
2369
+ source: "utcDateTime",
2370
+ format: "rfc3339",
2371
+ clientMode: "client",
2372
+ wire: { kind: "string" }
2373
+ }),
2374
+ readOnly: true
2375
+ }
2376
+ });
2377
+ const recommendedActionStateInfoShape = (0, import_internal.createFlatModelShape)({
2378
+ actionInitiatedBy: { armPath: ["actionInitiatedBy"], value: (0, import_internal.createEnumShape)(), readOnly: true },
2379
+ currentValue: { armPath: ["currentValue"], value: (0, import_internal.createUnionShape)() },
2380
+ lastModified: {
2381
+ armPath: ["lastModified"],
2382
+ value: (0, import_internal.createDateShape)({
2383
+ kind: "date-time-text",
2384
+ source: "utcDateTime",
2385
+ format: "rfc3339",
2386
+ clientMode: "client",
2387
+ wire: { kind: "string" }
2388
+ }),
2389
+ readOnly: true
2390
+ }
2391
+ });
2392
+ const recoverableDatabasePropertiesShape = (0, import_internal.createFlatModelShape)({
2393
+ edition: { armPath: ["edition"], value: (0, import_internal.createStringShape)(), readOnly: true },
2394
+ elasticPoolName: { armPath: ["elasticPoolName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2395
+ keys: {
2396
+ armPath: ["keys"],
2397
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => databaseKeyShape)),
2398
+ readOnly: true
2399
+ },
2400
+ lastAvailableBackupDate: {
2401
+ armPath: ["lastAvailableBackupDate"],
2402
+ value: (0, import_internal.createDateShape)({
2403
+ kind: "date-time-text",
2404
+ source: "utcDateTime",
2405
+ format: "rfc3339",
2406
+ clientMode: "client",
2407
+ wire: { kind: "string" }
2408
+ }),
2409
+ readOnly: true
2410
+ },
2411
+ serviceLevelObjective: {
2412
+ armPath: ["serviceLevelObjective"],
2413
+ value: (0, import_internal.createStringShape)(),
2414
+ readOnly: true
2415
+ }
2416
+ });
2417
+ const recoverableManagedDatabasePropertiesShape = (0, import_internal.createFlatModelShape)({
2418
+ lastAvailableBackupDate: {
2419
+ armPath: ["lastAvailableBackupDate"],
2420
+ value: (0, import_internal.createStringShape)(),
2421
+ readOnly: true
2422
+ }
2423
+ });
2424
+ const remediationShape = (0, import_internal.createFlatModelShape)({
2425
+ automated: { armPath: ["automated"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
2426
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)(), readOnly: true },
2427
+ portalLink: { armPath: ["portalLink"], value: (0, import_internal.createStringShape)(), readOnly: true },
2428
+ scripts: { armPath: ["scripts"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()), readOnly: true }
2429
+ });
2430
+ const replicationLinkPropertiesShape = (0, import_internal.createFlatModelShape)({
2431
+ isTerminationAllowed: {
2432
+ armPath: ["isTerminationAllowed"],
2433
+ value: (0, import_internal.createBooleanShape)(),
2434
+ readOnly: true
2435
+ },
2436
+ linkType: { armPath: ["linkType"], value: (0, import_internal.createUnionShape)() },
2437
+ partnerDatabase: { armPath: ["partnerDatabase"], value: (0, import_internal.createStringShape)(), readOnly: true },
2438
+ partnerDatabaseId: { armPath: ["partnerDatabaseId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2439
+ partnerLocation: { armPath: ["partnerLocation"], value: (0, import_internal.createStringShape)(), readOnly: true },
2440
+ partnerRole: { armPath: ["partnerRole"], value: (0, import_internal.createEnumShape)(), readOnly: true },
2441
+ partnerServer: { armPath: ["partnerServer"], value: (0, import_internal.createStringShape)(), readOnly: true },
2442
+ percentComplete: { armPath: ["percentComplete"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2443
+ replicationMode: { armPath: ["replicationMode"], value: (0, import_internal.createStringShape)(), readOnly: true },
2444
+ replicationState: { armPath: ["replicationState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
2445
+ role: { armPath: ["role"], value: (0, import_internal.createEnumShape)(), readOnly: true },
2446
+ startTime: {
2447
+ armPath: ["startTime"],
2448
+ value: (0, import_internal.createDateShape)({
2449
+ kind: "date-time-text",
2450
+ source: "utcDateTime",
2451
+ format: "rfc3339",
2452
+ clientMode: "client",
2453
+ wire: { kind: "string" }
2454
+ }),
2455
+ readOnly: true
2456
+ }
2457
+ });
2458
+ const resourceIdentityShape = (0, import_internal.createFlatModelShape)({
2459
+ principalId: { armPath: ["principalId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2460
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2461
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() },
2462
+ userAssignedIdentities: {
2463
+ armPath: ["userAssignedIdentities"],
2464
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => userIdentityShape))
2465
+ }
2466
+ });
2467
+ const restorableDroppedDatabasePropertiesShape = (0, import_internal.createFlatModelShape)({
2468
+ backupStorageRedundancy: {
2469
+ armPath: ["backupStorageRedundancy"],
2470
+ value: (0, import_internal.createUnionShape)(),
2471
+ readOnly: true
2472
+ },
2473
+ creationDate: {
2474
+ armPath: ["creationDate"],
2475
+ value: (0, import_internal.createDateShape)({
2476
+ kind: "date-time-text",
2477
+ source: "utcDateTime",
2478
+ format: "rfc3339",
2479
+ clientMode: "client",
2480
+ wire: { kind: "string" }
2481
+ }),
2482
+ readOnly: true
2483
+ },
2484
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2485
+ deletionDate: {
2486
+ armPath: ["deletionDate"],
2487
+ value: (0, import_internal.createDateShape)({
2488
+ kind: "date-time-text",
2489
+ source: "utcDateTime",
2490
+ format: "rfc3339",
2491
+ clientMode: "client",
2492
+ wire: { kind: "string" }
2493
+ }),
2494
+ readOnly: true
2495
+ },
2496
+ earliestRestoreDate: {
2497
+ armPath: ["earliestRestoreDate"],
2498
+ value: (0, import_internal.createDateShape)({
2499
+ kind: "date-time-text",
2500
+ source: "utcDateTime",
2501
+ format: "rfc3339",
2502
+ clientMode: "client",
2503
+ wire: { kind: "string" }
2504
+ }),
2505
+ readOnly: true
2506
+ },
2507
+ keys: {
2508
+ armPath: ["keys"],
2509
+ value: (0, import_internal.createRecordShape)((0, import_internal.createDeferredShape)(() => databaseKeyShape)),
2510
+ readOnly: true
2511
+ },
2512
+ maxSizeBytes: { armPath: ["maxSizeBytes"], value: (0, import_internal.createNumberShape)(), readOnly: true }
2513
+ });
2514
+ const restorableDroppedManagedDatabasePropertiesShape = (0, import_internal.createFlatModelShape)(
2515
+ {
2516
+ creationDate: {
2517
+ armPath: ["creationDate"],
2518
+ value: (0, import_internal.createDateShape)({
2519
+ kind: "date-time-text",
2520
+ source: "utcDateTime",
2521
+ format: "rfc3339",
2522
+ clientMode: "client",
2523
+ wire: { kind: "string" }
2524
+ }),
2525
+ readOnly: true
2526
+ },
2527
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2528
+ deletionDate: {
2529
+ armPath: ["deletionDate"],
2530
+ value: (0, import_internal.createDateShape)({
2531
+ kind: "date-time-text",
2532
+ source: "utcDateTime",
2533
+ format: "rfc3339",
2534
+ clientMode: "client",
2535
+ wire: { kind: "string" }
2536
+ }),
2537
+ readOnly: true
2538
+ },
2539
+ earliestRestoreDate: {
2540
+ armPath: ["earliestRestoreDate"],
2541
+ value: (0, import_internal.createDateShape)({
2542
+ kind: "date-time-text",
2543
+ source: "utcDateTime",
2544
+ format: "rfc3339",
2545
+ clientMode: "client",
2546
+ wire: { kind: "string" }
2547
+ }),
2548
+ readOnly: true
2549
+ }
2550
+ }
2551
+ );
2552
+ const restorePointPropertiesShape = (0, import_internal.createFlatModelShape)({
2553
+ earliestRestoreDate: {
2554
+ armPath: ["earliestRestoreDate"],
2555
+ value: (0, import_internal.createDateShape)({
2556
+ kind: "date-time-text",
2557
+ source: "utcDateTime",
2558
+ format: "rfc3339",
2559
+ clientMode: "client",
2560
+ wire: { kind: "string" }
2561
+ }),
2562
+ readOnly: true
2563
+ },
2564
+ restorePointCreationDate: {
2565
+ armPath: ["restorePointCreationDate"],
2566
+ value: (0, import_internal.createDateShape)({
2567
+ kind: "date-time-text",
2568
+ source: "utcDateTime",
2569
+ format: "rfc3339",
2570
+ clientMode: "client",
2571
+ wire: { kind: "string" }
2572
+ }),
2573
+ readOnly: true
2574
+ },
2575
+ restorePointLabel: { armPath: ["restorePointLabel"], value: (0, import_internal.createStringShape)(), readOnly: true },
2576
+ restorePointType: { armPath: ["restorePointType"], value: (0, import_internal.createEnumShape)(), readOnly: true }
2577
+ });
2578
+ const scheduleItemShape = (0, import_internal.createFlatModelShape)({
2579
+ startDay: { armPath: ["startDay"], value: (0, import_internal.createUnionShape)() },
2580
+ startTime: { armPath: ["startTime"], value: (0, import_internal.createStringShape)() },
2581
+ stopDay: { armPath: ["stopDay"], value: (0, import_internal.createUnionShape)() },
2582
+ stopTime: { armPath: ["stopTime"], value: (0, import_internal.createStringShape)() }
2583
+ });
2584
+ const securityAlertPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
2585
+ creationTime: {
2586
+ armPath: ["creationTime"],
2587
+ value: (0, import_internal.createDateShape)({
2588
+ kind: "date-time-text",
2589
+ source: "utcDateTime",
2590
+ format: "rfc3339",
2591
+ clientMode: "client",
2592
+ wire: { kind: "string" }
2593
+ }),
2594
+ readOnly: true
2595
+ },
2596
+ disabledAlerts: { armPath: ["disabledAlerts"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
2597
+ emailAccountAdmins: { armPath: ["emailAccountAdmins"], value: (0, import_internal.createBooleanShape)() },
2598
+ emailAddresses: { armPath: ["emailAddresses"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
2599
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
2600
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
2601
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
2602
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
2603
+ });
2604
+ const securityAlertsPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
2605
+ creationTime: {
2606
+ armPath: ["creationTime"],
2607
+ value: (0, import_internal.createDateShape)({
2608
+ kind: "date-time-text",
2609
+ source: "utcDateTime",
2610
+ format: "rfc3339",
2611
+ clientMode: "client",
2612
+ wire: { kind: "string" }
2613
+ }),
2614
+ readOnly: true
2615
+ },
2616
+ disabledAlerts: { armPath: ["disabledAlerts"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
2617
+ emailAccountAdmins: { armPath: ["emailAccountAdmins"], value: (0, import_internal.createBooleanShape)() },
2618
+ emailAddresses: { armPath: ["emailAddresses"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
2619
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
2620
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
2621
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
2622
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
2623
+ });
2624
+ const sensitivityLabelPropertiesShape = (0, import_internal.createFlatModelShape)({
2625
+ clientClassificationSource: {
2626
+ armPath: ["clientClassificationSource"],
2627
+ value: (0, import_internal.createUnionShape)()
2628
+ },
2629
+ columnName: { armPath: ["columnName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2630
+ informationType: { armPath: ["informationType"], value: (0, import_internal.createStringShape)() },
2631
+ informationTypeId: { armPath: ["informationTypeId"], value: (0, import_internal.createStringShape)() },
2632
+ isDisabled: { armPath: ["isDisabled"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
2633
+ labelId: { armPath: ["labelId"], value: (0, import_internal.createStringShape)() },
2634
+ labelName: { armPath: ["labelName"], value: (0, import_internal.createStringShape)() },
2635
+ rank: { armPath: ["rank"], value: (0, import_internal.createEnumShape)() },
2636
+ schemaName: { armPath: ["schemaName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2637
+ tableName: { armPath: ["tableName"], value: (0, import_internal.createStringShape)(), readOnly: true }
2638
+ });
2639
+ const serverBlobAuditingPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
2640
+ auditActionsAndGroups: {
2641
+ armPath: ["auditActionsAndGroups"],
2642
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)())
2643
+ },
2644
+ isAzureMonitorTargetEnabled: {
2645
+ armPath: ["isAzureMonitorTargetEnabled"],
2646
+ value: (0, import_internal.createBooleanShape)()
2647
+ },
2648
+ isDevopsAuditEnabled: { armPath: ["isDevopsAuditEnabled"], value: (0, import_internal.createBooleanShape)() },
2649
+ isManagedIdentityInUse: { armPath: ["isManagedIdentityInUse"], value: (0, import_internal.createBooleanShape)() },
2650
+ isStorageSecondaryKeyInUse: {
2651
+ armPath: ["isStorageSecondaryKeyInUse"],
2652
+ value: (0, import_internal.createBooleanShape)()
2653
+ },
2654
+ queueDelayMs: { armPath: ["queueDelayMs"], value: (0, import_internal.createNumberShape)() },
2655
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
2656
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
2657
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
2658
+ storageAccountSubscriptionId: {
2659
+ armPath: ["storageAccountSubscriptionId"],
2660
+ value: (0, import_internal.createStringShape)()
2661
+ },
2662
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
2663
+ });
2664
+ const serverConfigurationOptionPropertiesShape = (0, import_internal.createFlatModelShape)({
2665
+ provisioningState: { armPath: ["provisioningState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
2666
+ serverConfigurationOptionValue: {
2667
+ armPath: ["serverConfigurationOptionValue"],
2668
+ value: (0, import_internal.createNumberShape)()
2669
+ }
2670
+ });
2671
+ const serverConnectionPolicyPropertiesShape = (0, import_internal.createFlatModelShape)({
2672
+ connectionType: { armPath: ["connectionType"], value: (0, import_internal.createUnionShape)() }
2673
+ });
2674
+ const serverDevOpsAuditSettingsPropertiesShape = (0, import_internal.createFlatModelShape)({
2675
+ isAzureMonitorTargetEnabled: {
2676
+ armPath: ["isAzureMonitorTargetEnabled"],
2677
+ value: (0, import_internal.createBooleanShape)()
2678
+ },
2679
+ isManagedIdentityInUse: { armPath: ["isManagedIdentityInUse"], value: (0, import_internal.createBooleanShape)() },
2680
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() },
2681
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
2682
+ storageAccountSubscriptionId: {
2683
+ armPath: ["storageAccountSubscriptionId"],
2684
+ value: (0, import_internal.createStringShape)()
2685
+ },
2686
+ storageEndpoint: { armPath: ["storageEndpoint"], value: (0, import_internal.createStringShape)() }
2687
+ });
2688
+ const serverDnsAliasPropertiesShape = (0, import_internal.createFlatModelShape)({
2689
+ azureDnsRecord: { armPath: ["azureDnsRecord"], value: (0, import_internal.createStringShape)(), readOnly: true }
2690
+ });
2691
+ const serverExternalAdministratorShape = (0, import_internal.createFlatModelShape)({
2692
+ administratorType: { armPath: ["administratorType"], value: (0, import_internal.createUnionShape)() },
2693
+ azureAdOnlyAuthentication: {
2694
+ armPath: ["azureADOnlyAuthentication"],
2695
+ value: (0, import_internal.createBooleanShape)()
2696
+ },
2697
+ login: { armPath: ["login"], value: (0, import_internal.createStringShape)() },
2698
+ principalType: { armPath: ["principalType"], value: (0, import_internal.createUnionShape)() },
2699
+ sid: { armPath: ["sid"], value: (0, import_internal.createStringShape)() },
2700
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)() }
2701
+ });
2702
+ const serverFirewallRulePropertiesShape = (0, import_internal.createFlatModelShape)({
2703
+ endIpAddress: { armPath: ["endIpAddress"], value: (0, import_internal.createStringShape)() },
2704
+ startIpAddress: { armPath: ["startIpAddress"], value: (0, import_internal.createStringShape)() }
2705
+ });
2706
+ const serverInfoShape = (0, import_internal.createFlatModelShape)({
2707
+ serverId: { armPath: ["serverId"], value: (0, import_internal.createStringShape)() }
2708
+ });
2709
+ const serverKeyPropertiesShape = (0, import_internal.createFlatModelShape)({
2710
+ autoRotationEnabled: {
2711
+ armPath: ["autoRotationEnabled"],
2712
+ value: (0, import_internal.createBooleanShape)(),
2713
+ readOnly: true
2714
+ },
2715
+ creationDate: {
2716
+ armPath: ["creationDate"],
2717
+ value: (0, import_internal.createDateShape)({
2718
+ kind: "date-time-text",
2719
+ source: "utcDateTime",
2720
+ format: "rfc3339",
2721
+ clientMode: "client",
2722
+ wire: { kind: "string" }
2723
+ }),
2724
+ readOnly: true
2725
+ },
2726
+ keyVersion: { armPath: ["keyVersion"], value: (0, import_internal.createStringShape)(), readOnly: true },
2727
+ serverKeyType: { armPath: ["serverKeyType"], value: (0, import_internal.createUnionShape)() },
2728
+ subregion: { armPath: ["subregion"], value: (0, import_internal.createStringShape)(), readOnly: true },
2729
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true },
2730
+ uri: { armPath: ["uri"], value: (0, import_internal.createStringShape)() }
2731
+ });
2732
+ const serverPropertiesShape = (0, import_internal.createFlatModelShape)({
2733
+ administratorLogin: { armPath: ["administratorLogin"], value: (0, import_internal.createStringShape)() },
2734
+ administratorLoginPassword: {
2735
+ armPath: ["administratorLoginPassword"],
2736
+ value: (0, import_internal.createStringShape)()
2737
+ },
2738
+ administrators: {
2739
+ armPath: ["administrators"],
2740
+ value: (0, import_internal.createDeferredShape)(() => serverExternalAdministratorShape)
2741
+ },
2742
+ createMode: { armPath: ["createMode"], value: (0, import_internal.createUnionShape)() },
2743
+ externalGovernanceStatus: {
2744
+ armPath: ["externalGovernanceStatus"],
2745
+ value: (0, import_internal.createUnionShape)(),
2746
+ readOnly: true
2747
+ },
2748
+ federatedClientId: { armPath: ["federatedClientId"], value: (0, import_internal.createStringShape)() },
2749
+ fullyQualifiedDomainName: {
2750
+ armPath: ["fullyQualifiedDomainName"],
2751
+ value: (0, import_internal.createStringShape)(),
2752
+ readOnly: true
2753
+ },
2754
+ isIPv6Enabled: { armPath: ["isIPv6Enabled"], value: (0, import_internal.createUnionShape)() },
2755
+ keyId: { armPath: ["keyId"], value: (0, import_internal.createStringShape)() },
2756
+ minimalTlsVersion: { armPath: ["minimalTlsVersion"], value: (0, import_internal.createUnionShape)() },
2757
+ primaryUserAssignedIdentityId: {
2758
+ armPath: ["primaryUserAssignedIdentityId"],
2759
+ value: (0, import_internal.createStringShape)()
2760
+ },
2761
+ privateEndpointConnections: {
2762
+ armPath: ["privateEndpointConnections"],
2763
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => sqlServerPrivateEndpointConnectionShape)),
2764
+ readOnly: true
2765
+ },
2766
+ publicNetworkAccess: { armPath: ["publicNetworkAccess"], value: (0, import_internal.createUnionShape)() },
2767
+ restrictOutboundNetworkAccess: {
2768
+ armPath: ["restrictOutboundNetworkAccess"],
2769
+ value: (0, import_internal.createUnionShape)()
2770
+ },
2771
+ retentionDays: { armPath: ["retentionDays"], value: (0, import_internal.createNumberShape)() },
2772
+ state: { armPath: ["state"], value: (0, import_internal.createStringShape)(), readOnly: true },
2773
+ version: { armPath: ["version"], value: (0, import_internal.createStringShape)() },
2774
+ workspaceFeature: { armPath: ["workspaceFeature"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2775
+ });
2776
+ const serverTrustCertificatePropertiesShape = (0, import_internal.createFlatModelShape)({
2777
+ certificateName: { armPath: ["certificateName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2778
+ publicBlob: { armPath: ["publicBlob"], value: (0, import_internal.createStringShape)() },
2779
+ thumbprint: { armPath: ["thumbprint"], value: (0, import_internal.createStringShape)(), readOnly: true }
2780
+ });
2781
+ const serverTrustGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
2782
+ groupMembers: {
2783
+ armPath: ["groupMembers"],
2784
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => serverInfoShape))
2785
+ },
2786
+ trustScopes: { armPath: ["trustScopes"], value: (0, import_internal.createArrayShape)((0, import_internal.createUnionShape)()) }
2787
+ });
2788
+ const serverVulnerabilityAssessmentPropertiesShape = (0, import_internal.createFlatModelShape)({
2789
+ recurringScans: {
2790
+ armPath: ["recurringScans"],
2791
+ value: (0, import_internal.createDeferredShape)(() => vulnerabilityAssessmentRecurringScansPropertiesShape)
2792
+ },
2793
+ storageAccountAccessKey: { armPath: ["storageAccountAccessKey"], value: (0, import_internal.createStringShape)() },
2794
+ storageContainerPath: { armPath: ["storageContainerPath"], value: (0, import_internal.createStringShape)() },
2795
+ storageContainerSasKey: { armPath: ["storageContainerSasKey"], value: (0, import_internal.createStringShape)() }
2796
+ });
2797
+ const servicePrincipalShape = (0, import_internal.createFlatModelShape)({
2798
+ clientId: { armPath: ["clientId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2799
+ principalId: { armPath: ["principalId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2800
+ tenantId: { armPath: ["tenantId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2801
+ type: { armPath: ["type"], value: (0, import_internal.createUnionShape)() }
2802
+ });
2803
+ const skuShape = (0, import_internal.createFlatModelShape)({
2804
+ capacity: { armPath: ["capacity"], value: (0, import_internal.createNumberShape)() },
2805
+ family: { armPath: ["family"], value: (0, import_internal.createStringShape)() },
2806
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
2807
+ size: { armPath: ["size"], value: (0, import_internal.createStringShape)() },
2808
+ tier: { armPath: ["tier"], value: (0, import_internal.createStringShape)() }
2809
+ });
2810
+ const sqlAgentConfigurationPropertiesShape = (0, import_internal.createFlatModelShape)({
2811
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)() }
2812
+ });
2813
+ const sqlRecommendedActionShape = (0, import_internal.createFlatModelShape)({
2814
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
2815
+ kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
2816
+ location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
2817
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true },
2818
+ properties: {
2819
+ armPath: ["properties"],
2820
+ value: (0, import_internal.createDeferredShape)(() => recommendedActionPropertiesShape)
2821
+ },
2822
+ systemData: {
2823
+ armPath: ["systemData"],
2824
+ value: (0, import_internal.createDeferredShape)(() => systemDataShape),
2825
+ readOnly: true
2826
+ },
2827
+ type: { armPath: ["type"], value: (0, import_internal.createStringShape)(), readOnly: true }
2828
+ });
2829
+ const sqlServerPrivateEndpointConnectionShape = (0, import_internal.createFlatModelShape)({
2830
+ id: { armPath: ["id"], value: (0, import_internal.createStringShape)(), readOnly: true },
2831
+ properties: {
2832
+ armPath: ["properties"],
2833
+ value: (0, import_internal.createDeferredShape)(() => privateEndpointConnectionPropertiesShape),
2834
+ readOnly: true
2835
+ }
2836
+ });
2837
+ const sqlVulnerabilityAssessmentPolicyPropertiesShape = (0, import_internal.createFlatModelShape)(
2838
+ {
2839
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() }
2840
+ }
2841
+ );
2842
+ const sqlVulnerabilityAssessmentScanErrorShape = (0, import_internal.createFlatModelShape)({
2843
+ code: { armPath: ["code"], value: (0, import_internal.createStringShape)(), readOnly: true },
2844
+ message: { armPath: ["message"], value: (0, import_internal.createStringShape)(), readOnly: true }
2845
+ });
2846
+ const sqlVulnerabilityAssessmentScanRecordPropertiesShape = (0, import_internal.createFlatModelShape)({
2847
+ database: { armPath: ["database"], value: (0, import_internal.createStringShape)(), readOnly: true },
2848
+ endTime: {
2849
+ armPath: ["endTime"],
2850
+ value: (0, import_internal.createDateShape)({
2851
+ kind: "date-time-text",
2852
+ source: "utcDateTime",
2853
+ format: "rfc3339",
2854
+ clientMode: "client",
2855
+ wire: { kind: "string" }
2856
+ }),
2857
+ readOnly: true
2858
+ },
2859
+ errors: {
2860
+ armPath: ["errors"],
2861
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => sqlVulnerabilityAssessmentScanErrorShape)),
2862
+ readOnly: true
2863
+ },
2864
+ highSeverityFailedRulesCount: {
2865
+ armPath: ["highSeverityFailedRulesCount"],
2866
+ value: (0, import_internal.createNumberShape)(),
2867
+ readOnly: true
2868
+ },
2869
+ isBaselineApplied: {
2870
+ armPath: ["isBaselineApplied"],
2871
+ value: (0, import_internal.createBooleanShape)(),
2872
+ readOnly: true
2873
+ },
2874
+ lastScanTime: {
2875
+ armPath: ["lastScanTime"],
2876
+ value: (0, import_internal.createDateShape)({
2877
+ kind: "date-time-text",
2878
+ source: "utcDateTime",
2879
+ format: "rfc3339",
2880
+ clientMode: "client",
2881
+ wire: { kind: "string" }
2882
+ }),
2883
+ readOnly: true
2884
+ },
2885
+ lowSeverityFailedRulesCount: {
2886
+ armPath: ["lowSeverityFailedRulesCount"],
2887
+ value: (0, import_internal.createNumberShape)(),
2888
+ readOnly: true
2889
+ },
2890
+ mediumSeverityFailedRulesCount: {
2891
+ armPath: ["mediumSeverityFailedRulesCount"],
2892
+ value: (0, import_internal.createNumberShape)(),
2893
+ readOnly: true
2894
+ },
2895
+ scanId: { armPath: ["scanId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2896
+ server: { armPath: ["server"], value: (0, import_internal.createStringShape)(), readOnly: true },
2897
+ sqlVersion: { armPath: ["sqlVersion"], value: (0, import_internal.createStringShape)(), readOnly: true },
2898
+ startTime: {
2899
+ armPath: ["startTime"],
2900
+ value: (0, import_internal.createDateShape)({
2901
+ kind: "date-time-text",
2902
+ source: "utcDateTime",
2903
+ format: "rfc3339",
2904
+ clientMode: "client",
2905
+ wire: { kind: "string" }
2906
+ }),
2907
+ readOnly: true
2908
+ },
2909
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
2910
+ totalFailedRulesCount: {
2911
+ armPath: ["totalFailedRulesCount"],
2912
+ value: (0, import_internal.createNumberShape)(),
2913
+ readOnly: true
2914
+ },
2915
+ totalPassedRulesCount: {
2916
+ armPath: ["totalPassedRulesCount"],
2917
+ value: (0, import_internal.createNumberShape)(),
2918
+ readOnly: true
2919
+ },
2920
+ totalRulesCount: { armPath: ["totalRulesCount"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2921
+ triggerType: { armPath: ["triggerType"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2922
+ });
2923
+ const sqlVulnerabilityAssessmentScanResultPropertiesShape = (0, import_internal.createFlatModelShape)({
2924
+ baselineAdjustedResult: {
2925
+ armPath: ["baselineAdjustedResult"],
2926
+ value: (0, import_internal.createDeferredShape)(() => baselineAdjustedResultShape),
2927
+ readOnly: true
2928
+ },
2929
+ errorMessage: { armPath: ["errorMessage"], value: (0, import_internal.createStringShape)(), readOnly: true },
2930
+ isTrimmed: { armPath: ["isTrimmed"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
2931
+ queryResults: {
2932
+ armPath: ["queryResults"],
2933
+ value: (0, import_internal.createArrayShape)((0, import_internal.createArrayShape)((0, import_internal.createStringShape)())),
2934
+ readOnly: true
2935
+ },
2936
+ remediation: {
2937
+ armPath: ["remediation"],
2938
+ value: (0, import_internal.createDeferredShape)(() => remediationShape),
2939
+ readOnly: true
2940
+ },
2941
+ ruleId: { armPath: ["ruleId"], value: (0, import_internal.createStringShape)(), readOnly: true },
2942
+ ruleMetadata: {
2943
+ armPath: ["ruleMetadata"],
2944
+ value: (0, import_internal.createDeferredShape)(() => vaRuleShape),
2945
+ readOnly: true
2946
+ },
2947
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)(), readOnly: true }
2948
+ });
2949
+ const startStopManagedInstanceSchedulePropertiesShape = (0, import_internal.createFlatModelShape)(
2950
+ {
2951
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)() },
2952
+ nextExecutionTime: {
2953
+ armPath: ["nextExecutionTime"],
2954
+ value: (0, import_internal.createStringShape)(),
2955
+ readOnly: true
2956
+ },
2957
+ nextRunAction: { armPath: ["nextRunAction"], value: (0, import_internal.createStringShape)(), readOnly: true },
2958
+ scheduleList: {
2959
+ armPath: ["scheduleList"],
2960
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => scheduleItemShape))
2961
+ },
2962
+ timeZoneId: { armPath: ["timeZoneId"], value: (0, import_internal.createStringShape)() }
2963
+ }
2964
+ );
2965
+ const subscriptionUsagePropertiesShape = (0, import_internal.createFlatModelShape)({
2966
+ currentValue: { armPath: ["currentValue"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2967
+ displayName: { armPath: ["displayName"], value: (0, import_internal.createStringShape)(), readOnly: true },
2968
+ limit: { armPath: ["limit"], value: (0, import_internal.createNumberShape)(), readOnly: true },
2969
+ unit: { armPath: ["unit"], value: (0, import_internal.createStringShape)(), readOnly: true }
2970
+ });
2971
+ const syncAgentPropertiesShape = (0, import_internal.createFlatModelShape)({
2972
+ expiryTime: {
2973
+ armPath: ["expiryTime"],
2974
+ value: (0, import_internal.createDateShape)({
2975
+ kind: "date-time-text",
2976
+ source: "utcDateTime",
2977
+ format: "rfc3339",
2978
+ clientMode: "client",
2979
+ wire: { kind: "string" }
2980
+ }),
2981
+ readOnly: true
2982
+ },
2983
+ isUpToDate: { armPath: ["isUpToDate"], value: (0, import_internal.createBooleanShape)(), readOnly: true },
2984
+ lastAliveTime: {
2985
+ armPath: ["lastAliveTime"],
2986
+ value: (0, import_internal.createDateShape)({
2987
+ kind: "date-time-text",
2988
+ source: "utcDateTime",
2989
+ format: "rfc3339",
2990
+ clientMode: "client",
2991
+ wire: { kind: "string" }
2992
+ }),
2993
+ readOnly: true
2994
+ },
2995
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true },
2996
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
2997
+ syncDatabaseId: { armPath: ["syncDatabaseId"], value: (0, import_internal.createStringShape)() },
2998
+ version: { armPath: ["version"], value: (0, import_internal.createStringShape)(), readOnly: true }
2999
+ });
3000
+ const syncGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
3001
+ conflictLoggingRetentionInDays: {
3002
+ armPath: ["conflictLoggingRetentionInDays"],
3003
+ value: (0, import_internal.createNumberShape)()
3004
+ },
3005
+ conflictResolutionPolicy: { armPath: ["conflictResolutionPolicy"], value: (0, import_internal.createUnionShape)() },
3006
+ enableConflictLogging: { armPath: ["enableConflictLogging"], value: (0, import_internal.createBooleanShape)() },
3007
+ hubDatabasePassword: { armPath: ["hubDatabasePassword"], value: (0, import_internal.createStringShape)() },
3008
+ hubDatabaseUserName: { armPath: ["hubDatabaseUserName"], value: (0, import_internal.createStringShape)() },
3009
+ interval: { armPath: ["interval"], value: (0, import_internal.createNumberShape)() },
3010
+ lastSyncTime: {
3011
+ armPath: ["lastSyncTime"],
3012
+ value: (0, import_internal.createDateShape)({
3013
+ kind: "date-time-text",
3014
+ source: "utcDateTime",
3015
+ format: "rfc3339",
3016
+ clientMode: "client",
3017
+ wire: { kind: "string" }
3018
+ }),
3019
+ readOnly: true
3020
+ },
3021
+ privateEndpointName: {
3022
+ armPath: ["privateEndpointName"],
3023
+ value: (0, import_internal.createStringShape)(),
3024
+ readOnly: true
3025
+ },
3026
+ schema: { armPath: ["schema"], value: (0, import_internal.createDeferredShape)(() => syncGroupSchemaShape) },
3027
+ syncDatabaseId: { armPath: ["syncDatabaseId"], value: (0, import_internal.createStringShape)() },
3028
+ syncState: { armPath: ["syncState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3029
+ usePrivateLinkConnection: { armPath: ["usePrivateLinkConnection"], value: (0, import_internal.createBooleanShape)() }
3030
+ });
3031
+ const syncGroupSchemaShape = (0, import_internal.createFlatModelShape)({
3032
+ masterSyncMemberName: { armPath: ["masterSyncMemberName"], value: (0, import_internal.createStringShape)() },
3033
+ tables: {
3034
+ armPath: ["tables"],
3035
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => syncGroupSchemaTableShape))
3036
+ }
3037
+ });
3038
+ const syncGroupSchemaTableShape = (0, import_internal.createFlatModelShape)({
3039
+ columns: {
3040
+ armPath: ["columns"],
3041
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => syncGroupSchemaTableColumnShape))
3042
+ },
3043
+ quotedName: { armPath: ["quotedName"], value: (0, import_internal.createStringShape)() }
3044
+ });
3045
+ const syncGroupSchemaTableColumnShape = (0, import_internal.createFlatModelShape)({
3046
+ dataSize: { armPath: ["dataSize"], value: (0, import_internal.createStringShape)() },
3047
+ dataType: { armPath: ["dataType"], value: (0, import_internal.createStringShape)() },
3048
+ quotedName: { armPath: ["quotedName"], value: (0, import_internal.createStringShape)() }
3049
+ });
3050
+ const syncMemberPropertiesShape = (0, import_internal.createFlatModelShape)({
3051
+ databaseName: { armPath: ["databaseName"], value: (0, import_internal.createStringShape)() },
3052
+ databaseType: { armPath: ["databaseType"], value: (0, import_internal.createUnionShape)() },
3053
+ password: { armPath: ["password"], value: (0, import_internal.createStringShape)() },
3054
+ privateEndpointName: {
3055
+ armPath: ["privateEndpointName"],
3056
+ value: (0, import_internal.createStringShape)(),
3057
+ readOnly: true
3058
+ },
3059
+ serverName: { armPath: ["serverName"], value: (0, import_internal.createStringShape)() },
3060
+ sqlServerDatabaseId: { armPath: ["sqlServerDatabaseId"], value: (0, import_internal.createStringShape)() },
3061
+ syncAgentId: { armPath: ["syncAgentId"], value: (0, import_internal.createStringShape)() },
3062
+ syncDirection: { armPath: ["syncDirection"], value: (0, import_internal.createUnionShape)() },
3063
+ syncMemberAzureDatabaseResourceId: {
3064
+ armPath: ["syncMemberAzureDatabaseResourceId"],
3065
+ value: (0, import_internal.createStringShape)()
3066
+ },
3067
+ syncState: { armPath: ["syncState"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3068
+ usePrivateLinkConnection: { armPath: ["usePrivateLinkConnection"], value: (0, import_internal.createBooleanShape)() },
3069
+ userName: { armPath: ["userName"], value: (0, import_internal.createStringShape)() }
3070
+ });
3071
+ const systemDataShape = (0, import_internal.createFlatModelShape)({
3072
+ createdAt: {
3073
+ armPath: ["createdAt"],
3074
+ value: (0, import_internal.createDateShape)({
3075
+ kind: "date-time-text",
3076
+ source: "utcDateTime",
3077
+ format: "rfc3339",
3078
+ clientMode: "client",
3079
+ wire: { kind: "string" }
3080
+ }),
3081
+ readOnly: true
3082
+ },
3083
+ createdBy: { armPath: ["createdBy"], value: (0, import_internal.createStringShape)(), readOnly: true },
3084
+ createdByType: { armPath: ["createdByType"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3085
+ lastModifiedAt: {
3086
+ armPath: ["lastModifiedAt"],
3087
+ value: (0, import_internal.createDateShape)({
3088
+ kind: "date-time-text",
3089
+ source: "utcDateTime",
3090
+ format: "rfc3339",
3091
+ clientMode: "client",
3092
+ wire: { kind: "string" }
3093
+ }),
3094
+ readOnly: true
3095
+ },
3096
+ lastModifiedBy: { armPath: ["lastModifiedBy"], value: (0, import_internal.createStringShape)(), readOnly: true },
3097
+ lastModifiedByType: {
3098
+ armPath: ["lastModifiedByType"],
3099
+ value: (0, import_internal.createUnionShape)(),
3100
+ readOnly: true
3101
+ }
3102
+ });
3103
+ const timeZonePropertiesShape = (0, import_internal.createFlatModelShape)({
3104
+ displayName: { armPath: ["displayName"], value: (0, import_internal.createStringShape)(), readOnly: true },
3105
+ timeZoneId: { armPath: ["timeZoneId"], value: (0, import_internal.createStringShape)(), readOnly: true }
3106
+ });
3107
+ const transparentDataEncryptionPropertiesShape = (0, import_internal.createFlatModelShape)({
3108
+ scanState: { armPath: ["scanState"], value: (0, import_internal.createUnionShape)() },
3109
+ state: { armPath: ["state"], value: (0, import_internal.createEnumShape)() }
3110
+ });
3111
+ const upsertManagedServerOperationParametersShape = (0, import_internal.createFlatModelShape)({
3112
+ family: { armPath: ["family"], value: (0, import_internal.createStringShape)(), readOnly: true },
3113
+ storageSizeInGb: { armPath: ["storageSizeInGB"], value: (0, import_internal.createNumberShape)(), readOnly: true },
3114
+ tier: { armPath: ["tier"], value: (0, import_internal.createStringShape)(), readOnly: true },
3115
+ vCores: { armPath: ["vCores"], value: (0, import_internal.createNumberShape)(), readOnly: true }
3116
+ });
3117
+ const upsertManagedServerOperationStepWithEstimatesAndDurationShape = (0, import_internal.createFlatModelShape)({
3118
+ name: { armPath: ["name"], value: (0, import_internal.createStringShape)(), readOnly: true },
3119
+ order: { armPath: ["order"], value: (0, import_internal.createNumberShape)(), readOnly: true },
3120
+ status: { armPath: ["status"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3121
+ stepEndTime: {
3122
+ armPath: ["stepEndTime"],
3123
+ value: (0, import_internal.createDateShape)({
3124
+ kind: "date-time-text",
3125
+ source: "utcDateTime",
3126
+ format: "rfc3339",
3127
+ clientMode: "client",
3128
+ wire: { kind: "string" }
3129
+ }),
3130
+ readOnly: true
3131
+ },
3132
+ stepStartTime: {
3133
+ armPath: ["stepStartTime"],
3134
+ value: (0, import_internal.createDateShape)({
3135
+ kind: "date-time-text",
3136
+ source: "utcDateTime",
3137
+ format: "rfc3339",
3138
+ clientMode: "client",
3139
+ wire: { kind: "string" }
3140
+ }),
3141
+ readOnly: true
3142
+ },
3143
+ timeElapsed: { armPath: ["timeElapsed"], value: (0, import_internal.createStringShape)(), readOnly: true }
3144
+ });
3145
+ const userIdentityShape = (0, import_internal.createFlatModelShape)({
3146
+ clientId: { armPath: ["clientId"], value: (0, import_internal.createStringShape)(), readOnly: true },
3147
+ principalId: { armPath: ["principalId"], value: (0, import_internal.createStringShape)(), readOnly: true }
3148
+ });
3149
+ const vaRuleShape = (0, import_internal.createFlatModelShape)({
3150
+ benchmarkReferences: {
3151
+ armPath: ["benchmarkReferences"],
3152
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => benchmarkReferenceShape)),
3153
+ readOnly: true
3154
+ },
3155
+ category: { armPath: ["category"], value: (0, import_internal.createStringShape)(), readOnly: true },
3156
+ description: { armPath: ["description"], value: (0, import_internal.createStringShape)(), readOnly: true },
3157
+ queryCheck: {
3158
+ armPath: ["queryCheck"],
3159
+ value: (0, import_internal.createDeferredShape)(() => queryCheckShape),
3160
+ readOnly: true
3161
+ },
3162
+ rationale: { armPath: ["rationale"], value: (0, import_internal.createStringShape)(), readOnly: true },
3163
+ ruleId: { armPath: ["ruleId"], value: (0, import_internal.createStringShape)(), readOnly: true },
3164
+ ruleType: { armPath: ["ruleType"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3165
+ severity: { armPath: ["severity"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3166
+ title: { armPath: ["title"], value: (0, import_internal.createStringShape)(), readOnly: true }
3167
+ });
3168
+ const virtualClusterPropertiesShape = (0, import_internal.createFlatModelShape)({
3169
+ childResources: {
3170
+ armPath: ["childResources"],
3171
+ value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()),
3172
+ readOnly: true
3173
+ },
3174
+ subnetId: { armPath: ["subnetId"], value: (0, import_internal.createStringShape)(), readOnly: true },
3175
+ version: { armPath: ["version"], value: (0, import_internal.createStringShape)() }
3176
+ });
3177
+ const virtualNetworkRulePropertiesShape = (0, import_internal.createFlatModelShape)({
3178
+ ignoreMissingVnetServiceEndpoint: {
3179
+ armPath: ["ignoreMissingVnetServiceEndpoint"],
3180
+ value: (0, import_internal.createBooleanShape)()
3181
+ },
3182
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3183
+ virtualNetworkSubnetId: { armPath: ["virtualNetworkSubnetId"], value: (0, import_internal.createStringShape)() }
3184
+ });
3185
+ const vulnerabilityAssessmentRecurringScansPropertiesShape = (0, import_internal.createFlatModelShape)({
3186
+ emails: { armPath: ["emails"], value: (0, import_internal.createArrayShape)((0, import_internal.createStringShape)()) },
3187
+ emailSubscriptionAdmins: { armPath: ["emailSubscriptionAdmins"], value: (0, import_internal.createBooleanShape)() },
3188
+ isEnabled: { armPath: ["isEnabled"], value: (0, import_internal.createBooleanShape)() }
3189
+ });
3190
+ const vulnerabilityAssessmentScanErrorShape = (0, import_internal.createFlatModelShape)({
3191
+ code: { armPath: ["code"], value: (0, import_internal.createStringShape)(), readOnly: true },
3192
+ message: { armPath: ["message"], value: (0, import_internal.createStringShape)(), readOnly: true }
3193
+ });
3194
+ const vulnerabilityAssessmentScanRecordPropertiesShape = (0, import_internal.createFlatModelShape)({
3195
+ endTime: {
3196
+ armPath: ["endTime"],
3197
+ value: (0, import_internal.createDateShape)({
3198
+ kind: "date-time-text",
3199
+ source: "utcDateTime",
3200
+ format: "rfc3339",
3201
+ clientMode: "client",
3202
+ wire: { kind: "string" }
3203
+ }),
3204
+ readOnly: true
3205
+ },
3206
+ errors: {
3207
+ armPath: ["errors"],
3208
+ value: (0, import_internal.createArrayShape)((0, import_internal.createDeferredShape)(() => vulnerabilityAssessmentScanErrorShape)),
3209
+ readOnly: true
3210
+ },
3211
+ numberOfFailedSecurityChecks: {
3212
+ armPath: ["numberOfFailedSecurityChecks"],
3213
+ value: (0, import_internal.createNumberShape)(),
3214
+ readOnly: true
3215
+ },
3216
+ scanId: { armPath: ["scanId"], value: (0, import_internal.createStringShape)(), readOnly: true },
3217
+ startTime: {
3218
+ armPath: ["startTime"],
3219
+ value: (0, import_internal.createDateShape)({
3220
+ kind: "date-time-text",
3221
+ source: "utcDateTime",
3222
+ format: "rfc3339",
3223
+ clientMode: "client",
3224
+ wire: { kind: "string" }
3225
+ }),
3226
+ readOnly: true
3227
+ },
3228
+ state: { armPath: ["state"], value: (0, import_internal.createUnionShape)(), readOnly: true },
3229
+ storageContainerPath: {
3230
+ armPath: ["storageContainerPath"],
3231
+ value: (0, import_internal.createStringShape)(),
3232
+ readOnly: true
3233
+ },
3234
+ triggerType: { armPath: ["triggerType"], value: (0, import_internal.createUnionShape)(), readOnly: true }
3235
+ });
3236
+ const workloadClassifierPropertiesShape = (0, import_internal.createFlatModelShape)({
3237
+ context: { armPath: ["context"], value: (0, import_internal.createStringShape)() },
3238
+ endTime: { armPath: ["endTime"], value: (0, import_internal.createStringShape)() },
3239
+ importance: { armPath: ["importance"], value: (0, import_internal.createStringShape)() },
3240
+ label: { armPath: ["label"], value: (0, import_internal.createStringShape)() },
3241
+ memberName: { armPath: ["memberName"], value: (0, import_internal.createStringShape)() },
3242
+ startTime: { armPath: ["startTime"], value: (0, import_internal.createStringShape)() }
3243
+ });
3244
+ const workloadGroupPropertiesShape = (0, import_internal.createFlatModelShape)({
3245
+ importance: { armPath: ["importance"], value: (0, import_internal.createStringShape)() },
3246
+ maxResourcePercent: { armPath: ["maxResourcePercent"], value: (0, import_internal.createNumberShape)() },
3247
+ maxResourcePercentPerRequest: {
3248
+ armPath: ["maxResourcePercentPerRequest"],
3249
+ value: (0, import_internal.createNumberShape)()
3250
+ },
3251
+ minResourcePercent: { armPath: ["minResourcePercent"], value: (0, import_internal.createNumberShape)() },
3252
+ minResourcePercentPerRequest: {
3253
+ armPath: ["minResourcePercentPerRequest"],
3254
+ value: (0, import_internal.createNumberShape)()
3255
+ },
3256
+ queryExecutionTimeout: { armPath: ["queryExecutionTimeout"], value: (0, import_internal.createNumberShape)() }
3257
+ });
3258
+ // Annotate the CommonJS export names for ESM import in node:
3259
+ 0 && (module.exports = {
3260
+ administratorPropertiesShape,
3261
+ advancedThreatProtectionPropertiesShape,
3262
+ advisorPropertiesShape,
3263
+ automaticTuningOptionsShape,
3264
+ automaticTuningServerOptionsShape,
3265
+ automaticTuningServerPropertiesShape,
3266
+ azureAdOnlyAuthPropertiesShape,
3267
+ backupShortTermRetentionPolicyPropertiesShape,
3268
+ baselineAdjustedResultShape,
3269
+ baselineShape,
3270
+ benchmarkReferenceShape,
3271
+ certificateInfoShape,
3272
+ dataMaskingPolicyPropertiesShape,
3273
+ dataMaskingRulePropertiesShape,
3274
+ dataWarehouseUserActivitiesPropertiesShape,
3275
+ databaseAutomaticTuningPropertiesShape,
3276
+ databaseBlobAuditingPolicyPropertiesShape,
3277
+ databaseColumnPropertiesShape,
3278
+ databaseExtensionsPropertiesShape,
3279
+ databaseIdentityShape,
3280
+ databaseKeyShape,
3281
+ databasePropertiesShape,
3282
+ databaseSqlVulnerabilityAssessmentBaselineSetPropertiesShape,
3283
+ databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesShape,
3284
+ databaseTablePropertiesShape,
3285
+ databaseUserIdentityShape,
3286
+ databaseVulnerabilityAssessmentPropertiesShape,
3287
+ databaseVulnerabilityAssessmentRuleBaselineItemShape,
3288
+ databaseVulnerabilityAssessmentRuleBaselinePropertiesShape,
3289
+ deletedServerPropertiesShape,
3290
+ distributedAvailabilityGroupDatabaseShape,
3291
+ distributedAvailabilityGroupPropertiesShape,
3292
+ elasticPoolPerDatabaseSettingsShape,
3293
+ elasticPoolPropertiesShape,
3294
+ encryptionProtectorPropertiesShape,
3295
+ endpointCertificatePropertiesShape,
3296
+ extendedDatabaseBlobAuditingPolicyPropertiesShape,
3297
+ extendedServerBlobAuditingPolicyPropertiesShape,
3298
+ failoverGroupPropertiesShape,
3299
+ failoverGroupReadOnlyEndpointShape,
3300
+ failoverGroupReadWriteEndpointShape,
3301
+ geoBackupPolicyPropertiesShape,
3302
+ iPv6ServerFirewallRulePropertiesShape,
3303
+ instanceFailoverGroupPropertiesShape,
3304
+ instanceFailoverGroupReadOnlyEndpointShape,
3305
+ instanceFailoverGroupReadWriteEndpointShape,
3306
+ instancePoolOperationPropertiesShape,
3307
+ instancePoolPropertiesShape,
3308
+ jobAgentIdentityShape,
3309
+ jobAgentPropertiesShape,
3310
+ jobAgentUserAssignedIdentityShape,
3311
+ jobCredentialPropertiesShape,
3312
+ jobExecutionPropertiesShape,
3313
+ jobExecutionTargetShape,
3314
+ jobPrivateEndpointPropertiesShape,
3315
+ jobPropertiesShape,
3316
+ jobScheduleShape,
3317
+ jobStepActionShape,
3318
+ jobStepExecutionOptionsShape,
3319
+ jobStepOutputShape,
3320
+ jobStepPropertiesShape,
3321
+ jobTargetGroupPropertiesShape,
3322
+ jobTargetShape,
3323
+ ledgerDigestUploadsPropertiesShape,
3324
+ longTermRetentionBackupPropertiesShape,
3325
+ longTermRetentionPolicyPropertiesShape,
3326
+ managedBackupShortTermRetentionPolicyPropertiesShape,
3327
+ managedDatabaseExtendedAccessibilityInfoShape,
3328
+ managedDatabaseMoveOperationResultPropertiesShape,
3329
+ managedDatabasePropertiesShape,
3330
+ managedDatabaseRestoreDetailsBackupSetPropertiesShape,
3331
+ managedDatabaseRestoreDetailsPropertiesShape,
3332
+ managedDatabaseRestoreDetailsUnrestorableFilePropertiesShape,
3333
+ managedInstanceAdministratorPropertiesShape,
3334
+ managedInstanceAzureAdOnlyAuthPropertiesShape,
3335
+ managedInstanceDtcPropertiesShape,
3336
+ managedInstanceDtcSecuritySettingsShape,
3337
+ managedInstanceDtcTransactionManagerCommunicationSettingsShape,
3338
+ managedInstanceEncryptionProtectorPropertiesShape,
3339
+ managedInstanceExternalAdministratorShape,
3340
+ managedInstanceKeyPropertiesShape,
3341
+ managedInstanceLongTermRetentionBackupPropertiesShape,
3342
+ managedInstanceLongTermRetentionPolicyPropertiesShape,
3343
+ managedInstanceOperationParametersPairShape,
3344
+ managedInstanceOperationPropertiesShape,
3345
+ managedInstanceOperationStepsShape,
3346
+ managedInstancePairInfoShape,
3347
+ managedInstancePecPropertyShape,
3348
+ managedInstancePrivateEndpointConnectionPropertiesShape,
3349
+ managedInstancePrivateEndpointPropertyShape,
3350
+ managedInstancePrivateLinkPropertiesShape,
3351
+ managedInstancePrivateLinkServiceConnectionStatePropertyShape,
3352
+ managedInstancePropertiesShape,
3353
+ managedInstanceVulnerabilityAssessmentPropertiesShape,
3354
+ managedLedgerDigestUploadsPropertiesShape,
3355
+ managedServerDnsAliasPropertiesShape,
3356
+ managedTransparentDataEncryptionPropertiesShape,
3357
+ networkIsolationSettingsShape,
3358
+ networkSecurityPerimeterConfigurationPropertiesShape,
3359
+ nspConfigAccessRulePropertiesShape,
3360
+ nspConfigAccessRuleShape,
3361
+ nspConfigAssociationShape,
3362
+ nspConfigNetworkSecurityPerimeterRuleShape,
3363
+ nspConfigPerimeterShape,
3364
+ nspConfigProfileShape,
3365
+ nspProvisioningIssuePropertiesShape,
3366
+ nspProvisioningIssueShape,
3367
+ outboundFirewallRulePropertiesShape,
3368
+ partnerInfoShape,
3369
+ partnerRegionInfoShape,
3370
+ privateEndpointConnectionPropertiesShape,
3371
+ privateEndpointPropertyShape,
3372
+ privateLinkResourcePropertiesShape,
3373
+ privateLinkServiceConnectionStatePropertyShape,
3374
+ queryCheckShape,
3375
+ queryPropertiesShape,
3376
+ recommendedActionErrorInfoShape,
3377
+ recommendedActionImpactRecordShape,
3378
+ recommendedActionImplementationInfoShape,
3379
+ recommendedActionMetricInfoShape,
3380
+ recommendedActionPropertiesShape,
3381
+ recommendedActionStateInfoShape,
3382
+ recoverableDatabasePropertiesShape,
3383
+ recoverableManagedDatabasePropertiesShape,
3384
+ remediationShape,
3385
+ replicationLinkPropertiesShape,
3386
+ resourceIdentityShape,
3387
+ restorableDroppedDatabasePropertiesShape,
3388
+ restorableDroppedManagedDatabasePropertiesShape,
3389
+ restorePointPropertiesShape,
3390
+ scheduleItemShape,
3391
+ securityAlertPolicyPropertiesShape,
3392
+ securityAlertsPolicyPropertiesShape,
3393
+ sensitivityLabelPropertiesShape,
3394
+ serverBlobAuditingPolicyPropertiesShape,
3395
+ serverConfigurationOptionPropertiesShape,
3396
+ serverConnectionPolicyPropertiesShape,
3397
+ serverDevOpsAuditSettingsPropertiesShape,
3398
+ serverDnsAliasPropertiesShape,
3399
+ serverExternalAdministratorShape,
3400
+ serverFirewallRulePropertiesShape,
3401
+ serverInfoShape,
3402
+ serverKeyPropertiesShape,
3403
+ serverPropertiesShape,
3404
+ serverTrustCertificatePropertiesShape,
3405
+ serverTrustGroupPropertiesShape,
3406
+ serverVulnerabilityAssessmentPropertiesShape,
3407
+ servicePrincipalShape,
3408
+ skuShape,
3409
+ sqlAgentConfigurationPropertiesShape,
3410
+ sqlRecommendedActionShape,
3411
+ sqlServerPrivateEndpointConnectionShape,
3412
+ sqlVulnerabilityAssessmentPolicyPropertiesShape,
3413
+ sqlVulnerabilityAssessmentScanErrorShape,
3414
+ sqlVulnerabilityAssessmentScanRecordPropertiesShape,
3415
+ sqlVulnerabilityAssessmentScanResultPropertiesShape,
3416
+ startStopManagedInstanceSchedulePropertiesShape,
3417
+ subscriptionUsagePropertiesShape,
3418
+ syncAgentPropertiesShape,
3419
+ syncGroupPropertiesShape,
3420
+ syncGroupSchemaShape,
3421
+ syncGroupSchemaTableColumnShape,
3422
+ syncGroupSchemaTableShape,
3423
+ syncMemberPropertiesShape,
3424
+ systemDataShape,
3425
+ timeZonePropertiesShape,
3426
+ transparentDataEncryptionPropertiesShape,
3427
+ upsertManagedServerOperationParametersShape,
3428
+ upsertManagedServerOperationStepWithEstimatesAndDurationShape,
3429
+ userIdentityShape,
3430
+ vaRuleShape,
3431
+ virtualClusterPropertiesShape,
3432
+ virtualNetworkRulePropertiesShape,
3433
+ vulnerabilityAssessmentRecurringScansPropertiesShape,
3434
+ vulnerabilityAssessmentScanErrorShape,
3435
+ vulnerabilityAssessmentScanRecordPropertiesShape,
3436
+ workloadClassifierPropertiesShape,
3437
+ workloadGroupPropertiesShape
3438
+ });
3439
+ //# sourceMappingURL=types.js.map