@pulumi/azure 6.31.0-alpha.1766557601 → 6.31.0-alpha.1767033592

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 (283) hide show
  1. package/apimanagement/getWorkspace.d.ts +114 -0
  2. package/apimanagement/getWorkspace.js +94 -0
  3. package/apimanagement/getWorkspace.js.map +1 -0
  4. package/apimanagement/index.d.ts +3 -0
  5. package/apimanagement/index.js +5 -2
  6. package/apimanagement/index.js.map +1 -1
  7. package/appservice/linuxWebAppSlot.d.ts +9 -0
  8. package/appservice/linuxWebAppSlot.js.map +1 -1
  9. package/appservice/windowsWebApp.d.ts +3 -3
  10. package/appservice/windowsWebAppSlot.d.ts +3 -3
  11. package/armmsi/federatedIdentityCredential.d.ts +1 -1
  12. package/armmsi/federatedIdentityCredential.js +1 -1
  13. package/authorization/getUserAssignedIdentity.d.ts +2 -2
  14. package/authorization/getUserAssignedIdentity.js +2 -2
  15. package/authorization/userAssignedIdentity.d.ts +7 -0
  16. package/authorization/userAssignedIdentity.js +7 -0
  17. package/authorization/userAssignedIdentity.js.map +1 -1
  18. package/automation/index.d.ts +3 -0
  19. package/automation/index.js +6 -1
  20. package/automation/index.js.map +1 -1
  21. package/automation/jobSchedule.d.ts +3 -3
  22. package/automation/runtimeEnvironment.d.ts +194 -0
  23. package/automation/runtimeEnvironment.js +122 -0
  24. package/automation/runtimeEnvironment.js.map +1 -0
  25. package/billing/accountCostManagementExport.d.ts +9 -6
  26. package/billing/accountCostManagementExport.js.map +1 -1
  27. package/bot/healthbot.d.ts +10 -4
  28. package/bot/healthbot.js +1 -1
  29. package/bot/healthbot.js.map +1 -1
  30. package/cognitive/account.d.ts +6 -6
  31. package/cognitive/accountProject.d.ts +205 -0
  32. package/cognitive/accountProject.js +128 -0
  33. package/cognitive/accountProject.js.map +1 -0
  34. package/cognitive/getAccount.d.ts +68 -8
  35. package/cognitive/getAccount.js.map +1 -1
  36. package/cognitive/index.d.ts +3 -0
  37. package/cognitive/index.js +6 -1
  38. package/cognitive/index.js.map +1 -1
  39. package/compute/diskEncryptionSet.d.ts +3 -3
  40. package/compute/linuxVirtualMachine.d.ts +3 -3
  41. package/compute/managedDisk.d.ts +3 -3
  42. package/compute/scaleSetStandbyPool.d.ts +3 -3
  43. package/compute/windowsVirtualMachine.d.ts +3 -3
  44. package/containerapp/environmentCertificate.d.ts +117 -4
  45. package/containerapp/environmentCertificate.js +83 -6
  46. package/containerapp/environmentCertificate.js.map +1 -1
  47. package/containerapp/environmentStorage.d.ts +0 -3
  48. package/containerapp/environmentStorage.js.map +1 -1
  49. package/containerapp/job.d.ts +9 -9
  50. package/containerservice/connectedRegistry.d.ts +1 -1
  51. package/containerservice/connectedRegistry.js +1 -1
  52. package/containerservice/getRegistry.d.ts +2 -2
  53. package/containerservice/getRegistry.js +2 -2
  54. package/containerservice/getRegistryScopeMap.d.ts +2 -2
  55. package/containerservice/getRegistryScopeMap.js +2 -2
  56. package/containerservice/getRegistryToken.d.ts +2 -2
  57. package/containerservice/getRegistryToken.js +2 -2
  58. package/containerservice/kubernetesCluster.d.ts +12 -0
  59. package/containerservice/kubernetesCluster.js +2 -0
  60. package/containerservice/kubernetesCluster.js.map +1 -1
  61. package/containerservice/registry.d.ts +4 -4
  62. package/containerservice/registry.js +1 -1
  63. package/containerservice/registryScopeMap.d.ts +1 -1
  64. package/containerservice/registryScopeMap.js +1 -1
  65. package/containerservice/registryTask.d.ts +1 -1
  66. package/containerservice/registryTask.js +1 -1
  67. package/containerservice/registryToken.d.ts +1 -1
  68. package/containerservice/registryToken.js +1 -1
  69. package/containerservice/registryWebhook.d.ts +1 -1
  70. package/containerservice/registryWebhook.js +1 -1
  71. package/containerservice/registryWebook.d.ts +1 -1
  72. package/containerservice/registryWebook.js +1 -1
  73. package/containerservice/tokenPassword.d.ts +1 -1
  74. package/containerservice/tokenPassword.js +1 -1
  75. package/core/getUserAssignedIdentity.d.ts +2 -2
  76. package/core/getUserAssignedIdentity.js +2 -2
  77. package/cosmosdb/cassandraDatacenter.d.ts +3 -3
  78. package/cosmosdb/mongoCluster.d.ts +80 -5
  79. package/cosmosdb/mongoCluster.js +12 -0
  80. package/cosmosdb/mongoCluster.js.map +1 -1
  81. package/dashboard/grafana.d.ts +3 -3
  82. package/databasemigration/project.d.ts +6 -6
  83. package/databricks/workspaceRootDbfsCustomerManagedKey.d.ts +14 -17
  84. package/databricks/workspaceRootDbfsCustomerManagedKey.js +8 -11
  85. package/databricks/workspaceRootDbfsCustomerManagedKey.js.map +1 -1
  86. package/datafactory/factory.d.ts +3 -3
  87. package/dataprotection/backupInstanceBlogStorage.d.ts +8 -0
  88. package/dataprotection/backupInstanceBlogStorage.js +2 -0
  89. package/dataprotection/backupInstanceBlogStorage.js.map +1 -1
  90. package/dataprotection/backupInstanceDisk.d.ts +8 -0
  91. package/dataprotection/backupInstanceDisk.js +2 -0
  92. package/dataprotection/backupInstanceDisk.js.map +1 -1
  93. package/dataprotection/backupInstanceKubernetesCluster.d.ts +11 -3
  94. package/dataprotection/backupInstanceKubernetesCluster.js +2 -0
  95. package/dataprotection/backupInstanceKubernetesCluster.js.map +1 -1
  96. package/dataprotection/backupInstanceMysqlFlexibleServer.d.ts +8 -0
  97. package/dataprotection/backupInstanceMysqlFlexibleServer.js +2 -0
  98. package/dataprotection/backupInstanceMysqlFlexibleServer.js.map +1 -1
  99. package/dataprotection/backupInstancePostgresql.d.ts +10 -0
  100. package/dataprotection/backupInstancePostgresql.js +4 -0
  101. package/dataprotection/backupInstancePostgresql.js.map +1 -1
  102. package/dataprotection/backupInstancePostgresqlFlexibleServer.d.ts +8 -0
  103. package/dataprotection/backupInstancePostgresqlFlexibleServer.js +2 -0
  104. package/dataprotection/backupInstancePostgresqlFlexibleServer.js.map +1 -1
  105. package/dataprotection/backupPolicyPostgresql.d.ts +2 -0
  106. package/dataprotection/backupPolicyPostgresql.js +2 -0
  107. package/dataprotection/backupPolicyPostgresql.js.map +1 -1
  108. package/dataprotection/backupVault.d.ts +3 -3
  109. package/devcenter/networkConnection.d.ts +3 -3
  110. package/dns/zone.d.ts +9 -9
  111. package/dynatrace/monitor.d.ts +12 -12
  112. package/elasticsan/volume.d.ts +3 -3
  113. package/eventgrid/namespace.d.ts +6 -6
  114. package/eventhub/eventHub.d.ts +6 -6
  115. package/eventhub/subscription.d.ts +3 -3
  116. package/extendedlocation/customLocation.d.ts +6 -6
  117. package/hdinsight/sparkCluster.d.ts +3 -3
  118. package/healthcare/dicomService.d.ts +3 -3
  119. package/index.d.ts +1 -2
  120. package/index.js +2 -4
  121. package/index.js.map +1 -1
  122. package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +0 -3
  123. package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
  124. package/keyvault/secret.d.ts +3 -3
  125. package/kusto/attachedDatabaseConfiguration.d.ts +3 -3
  126. package/lb/loadBalancer.d.ts +6 -0
  127. package/lb/loadBalancer.js.map +1 -1
  128. package/loganalytics/index.d.ts +3 -0
  129. package/loganalytics/index.js +6 -1
  130. package/loganalytics/index.js.map +1 -1
  131. package/loganalytics/workspaceTableCustomLog.d.ts +213 -0
  132. package/loganalytics/workspaceTableCustomLog.js +118 -0
  133. package/loganalytics/workspaceTableCustomLog.js.map +1 -0
  134. package/machinelearning/workspaceNetworkOutboundRuleServiceTag.d.ts +3 -3
  135. package/managedredis/managedRedis.d.ts +3 -3
  136. package/mongocluster/index.d.ts +3 -0
  137. package/mongocluster/index.js +6 -1
  138. package/mongocluster/index.js.map +1 -1
  139. package/mongocluster/mongoCluster.d.ts +80 -5
  140. package/mongocluster/mongoCluster.js +12 -0
  141. package/mongocluster/mongoCluster.js.map +1 -1
  142. package/mongocluster/user.d.ts +155 -0
  143. package/mongocluster/user.js +129 -0
  144. package/mongocluster/user.js.map +1 -0
  145. package/msi/userAssignedIdentity.d.ts +7 -0
  146. package/msi/userAssignedIdentity.js +7 -0
  147. package/msi/userAssignedIdentity.js.map +1 -1
  148. package/mssql/managedInstance.d.ts +12 -9
  149. package/mssql/managedInstance.js.map +1 -1
  150. package/mysql/flexibleServer.d.ts +3 -3
  151. package/network/getNetworkManagerNetworkGroup.d.ts +4 -0
  152. package/network/getNetworkManagerNetworkGroup.js.map +1 -1
  153. package/network/networkManagerNetworkGroup.d.ts +18 -0
  154. package/network/networkManagerNetworkGroup.js +2 -0
  155. package/network/networkManagerNetworkGroup.js.map +1 -1
  156. package/network/networkManagerStaticMember.d.ts +9 -3
  157. package/network/networkManagerStaticMember.js.map +1 -1
  158. package/network/publicIp.d.ts +3 -3
  159. package/network/virtualNetwork.d.ts +3 -3
  160. package/network/virtualNetworkGateway.d.ts +6 -15
  161. package/network/virtualNetworkGateway.js.map +1 -1
  162. package/notificationhub/hub.d.ts +3 -3
  163. package/notificationhub/namespace.d.ts +9 -9
  164. package/operationalinsights/analyticsWorkspace.d.ts +3 -3
  165. package/oracle/autonomousDatabase.d.ts +25 -34
  166. package/oracle/autonomousDatabase.js +1 -1
  167. package/oracle/autonomousDatabase.js.map +1 -1
  168. package/oracle/autonomousDatabaseBackup.d.ts +3 -3
  169. package/oracle/cloudVmCluster.d.ts +3 -3
  170. package/oracle/resourceAnchor.d.ts +2 -2
  171. package/package.json +2 -2
  172. package/paloalto/index.d.ts +6 -0
  173. package/paloalto/index.js +11 -1
  174. package/paloalto/index.js.map +1 -1
  175. package/paloalto/localRulestackRule.d.ts +3 -3
  176. package/paloalto/nextGenerationFirewallVirtualHubStrataCloudManager.d.ts +245 -0
  177. package/paloalto/nextGenerationFirewallVirtualHubStrataCloudManager.js +147 -0
  178. package/paloalto/nextGenerationFirewallVirtualHubStrataCloudManager.js.map +1 -0
  179. package/paloalto/nextGenerationFirewallVirtualNetworkStrataCloudManager.d.ts +275 -0
  180. package/paloalto/nextGenerationFirewallVirtualNetworkStrataCloudManager.js +177 -0
  181. package/paloalto/nextGenerationFirewallVirtualNetworkStrataCloudManager.js.map +1 -0
  182. package/postgresql/flexibleServer.d.ts +7 -7
  183. package/postgresql/flexibleServer.js +1 -1
  184. package/postgresql/flexibleServerBackup.d.ts +1 -1
  185. package/postgresql/flexibleServerBackup.js +1 -1
  186. package/postgresql/flexibleServerConfiguration.d.ts +1 -1
  187. package/postgresql/flexibleServerConfiguration.js +1 -1
  188. package/postgresql/flexibleServerDatabase.d.ts +1 -1
  189. package/postgresql/flexibleServerDatabase.js +1 -1
  190. package/postgresql/flexibleServerFirewallRule.d.ts +1 -1
  191. package/postgresql/flexibleServerFirewallRule.js +1 -1
  192. package/postgresql/flexibleServerVirtualEndpoint.d.ts +10 -10
  193. package/postgresql/flexibleServerVirtualEndpoint.js +1 -1
  194. package/postgresql/getFlexibleServer.d.ts +2 -2
  195. package/postgresql/getFlexibleServer.js +2 -2
  196. package/search/service.d.ts +3 -3
  197. package/servicebus/subscription.d.ts +3 -3
  198. package/siterecovery/vmwareReplicatedVm.d.ts +3 -3
  199. package/storage/account.d.ts +3 -3
  200. package/storage/container.d.ts +6 -6
  201. package/storage/customerManagedKey.d.ts +3 -3
  202. package/storage/queue.d.ts +6 -6
  203. package/storage/share.d.ts +6 -6
  204. package/storage/shareDirectory.d.ts +19 -7
  205. package/storage/shareDirectory.js +4 -5
  206. package/storage/shareDirectory.js.map +1 -1
  207. package/storage/shareFile.d.ts +19 -7
  208. package/storage/shareFile.js +4 -5
  209. package/storage/shareFile.js.map +1 -1
  210. package/storage/syncServerEndpoint.d.ts +3 -3
  211. package/storage/tableEntity.d.ts +3 -3
  212. package/types/input.d.ts +538 -396
  213. package/types/output.d.ts +618 -699
  214. package/webpubsub/socketio.d.ts +3 -3
  215. package/mobile/getNetwork.d.ts +0 -106
  216. package/mobile/getNetwork.js +0 -68
  217. package/mobile/getNetwork.js.map +0 -1
  218. package/mobile/getNetworkAttachedDataNetwork.d.ts +0 -129
  219. package/mobile/getNetworkAttachedDataNetwork.js +0 -76
  220. package/mobile/getNetworkAttachedDataNetwork.js.map +0 -1
  221. package/mobile/getNetworkDataNetwork.d.ts +0 -106
  222. package/mobile/getNetworkDataNetwork.js +0 -76
  223. package/mobile/getNetworkDataNetwork.js.map +0 -1
  224. package/mobile/getNetworkPacketCoreControlPlane.d.ts +0 -138
  225. package/mobile/getNetworkPacketCoreControlPlane.js +0 -68
  226. package/mobile/getNetworkPacketCoreControlPlane.js.map +0 -1
  227. package/mobile/getNetworkPacketCoreDataPlane.d.ts +0 -118
  228. package/mobile/getNetworkPacketCoreDataPlane.js +0 -76
  229. package/mobile/getNetworkPacketCoreDataPlane.js.map +0 -1
  230. package/mobile/getNetworkService.d.ts +0 -118
  231. package/mobile/getNetworkService.js +0 -76
  232. package/mobile/getNetworkService.js.map +0 -1
  233. package/mobile/getNetworkSim.d.ts +0 -97
  234. package/mobile/getNetworkSim.js +0 -48
  235. package/mobile/getNetworkSim.js.map +0 -1
  236. package/mobile/getNetworkSimGroup.d.ts +0 -111
  237. package/mobile/getNetworkSimGroup.js +0 -76
  238. package/mobile/getNetworkSimGroup.js.map +0 -1
  239. package/mobile/getNetworkSimPolicy.d.ts +0 -123
  240. package/mobile/getNetworkSimPolicy.js +0 -76
  241. package/mobile/getNetworkSimPolicy.js.map +0 -1
  242. package/mobile/getNetworkSite.d.ts +0 -106
  243. package/mobile/getNetworkSite.js +0 -76
  244. package/mobile/getNetworkSite.js.map +0 -1
  245. package/mobile/getNetworkSlice.d.ts +0 -111
  246. package/mobile/getNetworkSlice.js +0 -76
  247. package/mobile/getNetworkSlice.js.map +0 -1
  248. package/mobile/index.d.ts +0 -66
  249. package/mobile/index.js +0 -105
  250. package/mobile/index.js.map +0 -1
  251. package/mobile/network.d.ts +0 -162
  252. package/mobile/network.js +0 -110
  253. package/mobile/network.js.map +0 -1
  254. package/mobile/networkAttachedDataNetwork.d.ts +0 -293
  255. package/mobile/networkAttachedDataNetwork.js +0 -179
  256. package/mobile/networkAttachedDataNetwork.js.map +0 -1
  257. package/mobile/networkDataNetwork.d.ts +0 -148
  258. package/mobile/networkDataNetwork.js +0 -106
  259. package/mobile/networkDataNetwork.js.map +0 -1
  260. package/mobile/networkPacketCoreControlPlane.d.ts +0 -320
  261. package/mobile/networkPacketCoreControlPlane.js +0 -165
  262. package/mobile/networkPacketCoreControlPlane.js.map +0 -1
  263. package/mobile/networkPacketCoreDataPlane.d.ts +0 -208
  264. package/mobile/networkPacketCoreDataPlane.js +0 -136
  265. package/mobile/networkPacketCoreDataPlane.js.map +0 -1
  266. package/mobile/networkService.d.ts +0 -210
  267. package/mobile/networkService.js +0 -152
  268. package/mobile/networkService.js.map +0 -1
  269. package/mobile/networkSim.d.ts +0 -243
  270. package/mobile/networkSim.js +0 -161
  271. package/mobile/networkSim.js.map +0 -1
  272. package/mobile/networkSimGroup.d.ts +0 -184
  273. package/mobile/networkSimGroup.js +0 -124
  274. package/mobile/networkSimGroup.js.map +0 -1
  275. package/mobile/networkSimPolicy.d.ts +0 -249
  276. package/mobile/networkSimPolicy.js +0 -174
  277. package/mobile/networkSimPolicy.js.map +0 -1
  278. package/mobile/networkSite.d.ts +0 -149
  279. package/mobile/networkSite.js +0 -111
  280. package/mobile/networkSite.js.map +0 -1
  281. package/mobile/networkSlice.d.ts +0 -187
  282. package/mobile/networkSlice.js +0 -113
  283. package/mobile/networkSlice.js.map +0 -1
@@ -98,22 +98,42 @@ export declare class MongoCluster extends pulumi.CustomResource {
98
98
  * The administrator username of the MongoDB Cluster. Changing this forces a new resource to be created.
99
99
  */
100
100
  readonly administratorUsername: pulumi.Output<string | undefined>;
101
+ /**
102
+ * A list of allowed authentication modes for the MongoDB Cluster. Possible values are `NativeAuth` and `MicrosoftEntraID`.
103
+ */
104
+ readonly authenticationMethods: pulumi.Output<string[]>;
101
105
  /**
102
106
  * The compute tier to assign to the MongoDB Cluster. Possible values are `Free`, `M10`, `M20`, `M25`, `M30`, `M40`, `M50`, `M60`, `M80`, and `M200`.
103
107
  */
104
108
  readonly computeTier: pulumi.Output<string | undefined>;
105
109
  /**
106
- * The list of `connectionStrings` blocks as defined below.
110
+ * One or more `connectionStrings` blocks as defined below.
107
111
  */
108
112
  readonly connectionStrings: pulumi.Output<outputs.mongocluster.MongoClusterConnectionString[]>;
109
113
  /**
110
- * The creation mode for the MongoDB Cluster. Possibles values are `Default` and `GeoReplica`. Defaults to `Default`. Changing this forces a new resource to be created.
114
+ * The creation mode for the MongoDB Cluster. Possible values are `Default`, `GeoReplica` and `PointInTimeRestore`. Defaults to `Default`. Changing this forces a new resource to be created.
111
115
  */
112
116
  readonly createMode: pulumi.Output<string | undefined>;
117
+ /**
118
+ * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created.
119
+ */
120
+ readonly customerManagedKey: pulumi.Output<outputs.mongocluster.MongoClusterCustomerManagedKey | undefined>;
121
+ /**
122
+ * Is the Data API for the MongoDB Cluster enabled? Defaults to `false`.
123
+ *
124
+ * > **Note:** `dataApiModeEnabled` can only be set when `createMode` is `Default`. Once enabled, it can only be disabled by recreating the resource.
125
+ */
126
+ readonly dataApiModeEnabled: pulumi.Output<boolean | undefined>;
113
127
  /**
114
128
  * The high availability mode for the MongoDB Cluster. Possibles values are `Disabled` and `ZoneRedundantPreferred`.
115
129
  */
116
130
  readonly highAvailabilityMode: pulumi.Output<string | undefined>;
131
+ /**
132
+ * An `identity` block as detailed below.
133
+ *
134
+ * > **Note:** When adding or removing `identity`, a resource recreation will be triggered.
135
+ */
136
+ readonly identity: pulumi.Output<outputs.mongocluster.MongoClusterIdentity | undefined>;
117
137
  /**
118
138
  * The supported Azure location where the MongoDB Cluster exists. Changing this forces a new resource to be created.
119
139
  */
@@ -134,6 +154,7 @@ export declare class MongoCluster extends pulumi.CustomResource {
134
154
  * The name of the resource group in which to create the MongoDB Cluster. Changing this forces a new resource to be created.
135
155
  */
136
156
  readonly resourceGroupName: pulumi.Output<string>;
157
+ readonly restore: pulumi.Output<outputs.mongocluster.MongoClusterRestore | undefined>;
137
158
  /**
138
159
  * The Number of shards to provision on the MongoDB Cluster. Changing this forces a new resource to be created.
139
160
  */
@@ -150,6 +171,10 @@ export declare class MongoCluster extends pulumi.CustomResource {
150
171
  * The size of the data disk space for the MongoDB Cluster.
151
172
  */
152
173
  readonly storageSizeInGb: pulumi.Output<number | undefined>;
174
+ /**
175
+ * The storage type for the MongoDB Cluster. Possible values are `PremiumSSD` and `PremiumSSDv2`. Defaults to `PremiumSSD`. Changing this forces a new resource to be created.
176
+ */
177
+ readonly storageType: pulumi.Output<string | undefined>;
153
178
  /**
154
179
  * A mapping of tags to assign to the MongoDB Cluster.
155
180
  */
@@ -181,22 +206,42 @@ export interface MongoClusterState {
181
206
  * The administrator username of the MongoDB Cluster. Changing this forces a new resource to be created.
182
207
  */
183
208
  administratorUsername?: pulumi.Input<string>;
209
+ /**
210
+ * A list of allowed authentication modes for the MongoDB Cluster. Possible values are `NativeAuth` and `MicrosoftEntraID`.
211
+ */
212
+ authenticationMethods?: pulumi.Input<pulumi.Input<string>[]>;
184
213
  /**
185
214
  * The compute tier to assign to the MongoDB Cluster. Possible values are `Free`, `M10`, `M20`, `M25`, `M30`, `M40`, `M50`, `M60`, `M80`, and `M200`.
186
215
  */
187
216
  computeTier?: pulumi.Input<string>;
188
217
  /**
189
- * The list of `connectionStrings` blocks as defined below.
218
+ * One or more `connectionStrings` blocks as defined below.
190
219
  */
191
220
  connectionStrings?: pulumi.Input<pulumi.Input<inputs.mongocluster.MongoClusterConnectionString>[]>;
192
221
  /**
193
- * The creation mode for the MongoDB Cluster. Possibles values are `Default` and `GeoReplica`. Defaults to `Default`. Changing this forces a new resource to be created.
222
+ * The creation mode for the MongoDB Cluster. Possible values are `Default`, `GeoReplica` and `PointInTimeRestore`. Defaults to `Default`. Changing this forces a new resource to be created.
194
223
  */
195
224
  createMode?: pulumi.Input<string>;
225
+ /**
226
+ * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created.
227
+ */
228
+ customerManagedKey?: pulumi.Input<inputs.mongocluster.MongoClusterCustomerManagedKey>;
229
+ /**
230
+ * Is the Data API for the MongoDB Cluster enabled? Defaults to `false`.
231
+ *
232
+ * > **Note:** `dataApiModeEnabled` can only be set when `createMode` is `Default`. Once enabled, it can only be disabled by recreating the resource.
233
+ */
234
+ dataApiModeEnabled?: pulumi.Input<boolean>;
196
235
  /**
197
236
  * The high availability mode for the MongoDB Cluster. Possibles values are `Disabled` and `ZoneRedundantPreferred`.
198
237
  */
199
238
  highAvailabilityMode?: pulumi.Input<string>;
239
+ /**
240
+ * An `identity` block as detailed below.
241
+ *
242
+ * > **Note:** When adding or removing `identity`, a resource recreation will be triggered.
243
+ */
244
+ identity?: pulumi.Input<inputs.mongocluster.MongoClusterIdentity>;
200
245
  /**
201
246
  * The supported Azure location where the MongoDB Cluster exists. Changing this forces a new resource to be created.
202
247
  */
@@ -217,6 +262,7 @@ export interface MongoClusterState {
217
262
  * The name of the resource group in which to create the MongoDB Cluster. Changing this forces a new resource to be created.
218
263
  */
219
264
  resourceGroupName?: pulumi.Input<string>;
265
+ restore?: pulumi.Input<inputs.mongocluster.MongoClusterRestore>;
220
266
  /**
221
267
  * The Number of shards to provision on the MongoDB Cluster. Changing this forces a new resource to be created.
222
268
  */
@@ -233,6 +279,10 @@ export interface MongoClusterState {
233
279
  * The size of the data disk space for the MongoDB Cluster.
234
280
  */
235
281
  storageSizeInGb?: pulumi.Input<number>;
282
+ /**
283
+ * The storage type for the MongoDB Cluster. Possible values are `PremiumSSD` and `PremiumSSDv2`. Defaults to `PremiumSSD`. Changing this forces a new resource to be created.
284
+ */
285
+ storageType?: pulumi.Input<string>;
236
286
  /**
237
287
  * A mapping of tags to assign to the MongoDB Cluster.
238
288
  */
@@ -256,18 +306,38 @@ export interface MongoClusterArgs {
256
306
  * The administrator username of the MongoDB Cluster. Changing this forces a new resource to be created.
257
307
  */
258
308
  administratorUsername?: pulumi.Input<string>;
309
+ /**
310
+ * A list of allowed authentication modes for the MongoDB Cluster. Possible values are `NativeAuth` and `MicrosoftEntraID`.
311
+ */
312
+ authenticationMethods?: pulumi.Input<pulumi.Input<string>[]>;
259
313
  /**
260
314
  * The compute tier to assign to the MongoDB Cluster. Possible values are `Free`, `M10`, `M20`, `M25`, `M30`, `M40`, `M50`, `M60`, `M80`, and `M200`.
261
315
  */
262
316
  computeTier?: pulumi.Input<string>;
263
317
  /**
264
- * The creation mode for the MongoDB Cluster. Possibles values are `Default` and `GeoReplica`. Defaults to `Default`. Changing this forces a new resource to be created.
318
+ * The creation mode for the MongoDB Cluster. Possible values are `Default`, `GeoReplica` and `PointInTimeRestore`. Defaults to `Default`. Changing this forces a new resource to be created.
265
319
  */
266
320
  createMode?: pulumi.Input<string>;
321
+ /**
322
+ * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created.
323
+ */
324
+ customerManagedKey?: pulumi.Input<inputs.mongocluster.MongoClusterCustomerManagedKey>;
325
+ /**
326
+ * Is the Data API for the MongoDB Cluster enabled? Defaults to `false`.
327
+ *
328
+ * > **Note:** `dataApiModeEnabled` can only be set when `createMode` is `Default`. Once enabled, it can only be disabled by recreating the resource.
329
+ */
330
+ dataApiModeEnabled?: pulumi.Input<boolean>;
267
331
  /**
268
332
  * The high availability mode for the MongoDB Cluster. Possibles values are `Disabled` and `ZoneRedundantPreferred`.
269
333
  */
270
334
  highAvailabilityMode?: pulumi.Input<string>;
335
+ /**
336
+ * An `identity` block as detailed below.
337
+ *
338
+ * > **Note:** When adding or removing `identity`, a resource recreation will be triggered.
339
+ */
340
+ identity?: pulumi.Input<inputs.mongocluster.MongoClusterIdentity>;
271
341
  /**
272
342
  * The supported Azure location where the MongoDB Cluster exists. Changing this forces a new resource to be created.
273
343
  */
@@ -288,6 +358,7 @@ export interface MongoClusterArgs {
288
358
  * The name of the resource group in which to create the MongoDB Cluster. Changing this forces a new resource to be created.
289
359
  */
290
360
  resourceGroupName: pulumi.Input<string>;
361
+ restore?: pulumi.Input<inputs.mongocluster.MongoClusterRestore>;
291
362
  /**
292
363
  * The Number of shards to provision on the MongoDB Cluster. Changing this forces a new resource to be created.
293
364
  */
@@ -304,6 +375,10 @@ export interface MongoClusterArgs {
304
375
  * The size of the data disk space for the MongoDB Cluster.
305
376
  */
306
377
  storageSizeInGb?: pulumi.Input<number>;
378
+ /**
379
+ * The storage type for the MongoDB Cluster. Possible values are `PremiumSSD` and `PremiumSSDv2`. Defaults to `PremiumSSD`. Changing this forces a new resource to be created.
380
+ */
381
+ storageType?: pulumi.Input<string>;
307
382
  /**
308
383
  * A mapping of tags to assign to the MongoDB Cluster.
309
384
  */
@@ -108,19 +108,25 @@ class MongoCluster extends pulumi.CustomResource {
108
108
  const state = argsOrState;
109
109
  resourceInputs["administratorPassword"] = state?.administratorPassword;
110
110
  resourceInputs["administratorUsername"] = state?.administratorUsername;
111
+ resourceInputs["authenticationMethods"] = state?.authenticationMethods;
111
112
  resourceInputs["computeTier"] = state?.computeTier;
112
113
  resourceInputs["connectionStrings"] = state?.connectionStrings;
113
114
  resourceInputs["createMode"] = state?.createMode;
115
+ resourceInputs["customerManagedKey"] = state?.customerManagedKey;
116
+ resourceInputs["dataApiModeEnabled"] = state?.dataApiModeEnabled;
114
117
  resourceInputs["highAvailabilityMode"] = state?.highAvailabilityMode;
118
+ resourceInputs["identity"] = state?.identity;
115
119
  resourceInputs["location"] = state?.location;
116
120
  resourceInputs["name"] = state?.name;
117
121
  resourceInputs["previewFeatures"] = state?.previewFeatures;
118
122
  resourceInputs["publicNetworkAccess"] = state?.publicNetworkAccess;
119
123
  resourceInputs["resourceGroupName"] = state?.resourceGroupName;
124
+ resourceInputs["restore"] = state?.restore;
120
125
  resourceInputs["shardCount"] = state?.shardCount;
121
126
  resourceInputs["sourceLocation"] = state?.sourceLocation;
122
127
  resourceInputs["sourceServerId"] = state?.sourceServerId;
123
128
  resourceInputs["storageSizeInGb"] = state?.storageSizeInGb;
129
+ resourceInputs["storageType"] = state?.storageType;
124
130
  resourceInputs["tags"] = state?.tags;
125
131
  resourceInputs["version"] = state?.version;
126
132
  }
@@ -131,18 +137,24 @@ class MongoCluster extends pulumi.CustomResource {
131
137
  }
132
138
  resourceInputs["administratorPassword"] = args?.administratorPassword ? pulumi.secret(args.administratorPassword) : undefined;
133
139
  resourceInputs["administratorUsername"] = args?.administratorUsername;
140
+ resourceInputs["authenticationMethods"] = args?.authenticationMethods;
134
141
  resourceInputs["computeTier"] = args?.computeTier;
135
142
  resourceInputs["createMode"] = args?.createMode;
143
+ resourceInputs["customerManagedKey"] = args?.customerManagedKey;
144
+ resourceInputs["dataApiModeEnabled"] = args?.dataApiModeEnabled;
136
145
  resourceInputs["highAvailabilityMode"] = args?.highAvailabilityMode;
146
+ resourceInputs["identity"] = args?.identity;
137
147
  resourceInputs["location"] = args?.location;
138
148
  resourceInputs["name"] = args?.name;
139
149
  resourceInputs["previewFeatures"] = args?.previewFeatures;
140
150
  resourceInputs["publicNetworkAccess"] = args?.publicNetworkAccess;
141
151
  resourceInputs["resourceGroupName"] = args?.resourceGroupName;
152
+ resourceInputs["restore"] = args?.restore;
142
153
  resourceInputs["shardCount"] = args?.shardCount;
143
154
  resourceInputs["sourceLocation"] = args?.sourceLocation;
144
155
  resourceInputs["sourceServerId"] = args?.sourceServerId;
145
156
  resourceInputs["storageSizeInGb"] = args?.storageSizeInGb;
157
+ resourceInputs["storageType"] = args?.storageType;
146
158
  resourceInputs["tags"] = args?.tags;
147
159
  resourceInputs["version"] = args?.version;
148
160
  resourceInputs["connectionStrings"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"mongoCluster.js","sourceRoot":"","sources":["../../mongocluster/mongoCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IA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,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC,EAAE,CAAC;QACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,CAAC,EAAE,CAAC;QAC/F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjML,oCAkMC;AApLG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,155 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Mongo Cluster User.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ *
13
+ * const current = azure.core.getClientConfig({});
14
+ * const example = new azure.core.ResourceGroup("example", {
15
+ * name: "example-resources",
16
+ * location: "West Europe",
17
+ * });
18
+ * const exampleMongoCluster = new azure.mongocluster.MongoCluster("example", {
19
+ * name: "example-mc",
20
+ * resourceGroupName: example.name,
21
+ * location: example.location,
22
+ * administratorUsername: "adminTerraform",
23
+ * administratorPassword: "QAZwsx123",
24
+ * shardCount: 1,
25
+ * computeTier: "M30",
26
+ * highAvailabilityMode: "Disabled",
27
+ * storageSizeInGb: 32,
28
+ * version: "8.0",
29
+ * authenticationMethods: [
30
+ * "NativeAuth",
31
+ * "MicrosoftEntraID",
32
+ * ],
33
+ * });
34
+ * const exampleUser = new azure.mongocluster.User("example", {
35
+ * objectId: current.then(current => current.objectId),
36
+ * mongoClusterId: exampleMongoCluster.id,
37
+ * identityProviderType: "MicrosoftEntraID",
38
+ * principalType: "servicePrincipal",
39
+ * roles: [{
40
+ * database: "admin",
41
+ * name: "root",
42
+ * }],
43
+ * });
44
+ * ```
45
+ *
46
+ * ## API Providers
47
+ *
48
+ * <!-- This section is generated, changes will be overwritten -->
49
+ * This resource uses the following Azure API Providers:
50
+ *
51
+ * * `Microsoft.DocumentDB` - 2025-09-01
52
+ *
53
+ * ## Import
54
+ *
55
+ * Mongo Cluster Users can be imported using the `resource id`, e.g.
56
+ *
57
+ * ```sh
58
+ * $ pulumi import azure:mongocluster/user:User example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/mongoClusters/cluster1/users/user1
59
+ * ```
60
+ */
61
+ export declare class User extends pulumi.CustomResource {
62
+ /**
63
+ * Get an existing User resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState, opts?: pulumi.CustomResourceOptions): User;
72
+ /**
73
+ * Returns true if the given object is an instance of User. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj: any): obj is User;
77
+ /**
78
+ * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
79
+ */
80
+ readonly identityProviderType: pulumi.Output<string>;
81
+ /**
82
+ * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
83
+ */
84
+ readonly mongoClusterId: pulumi.Output<string>;
85
+ /**
86
+ * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
87
+ */
88
+ readonly objectId: pulumi.Output<string>;
89
+ /**
90
+ * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
91
+ */
92
+ readonly principalType: pulumi.Output<string>;
93
+ /**
94
+ * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
95
+ */
96
+ readonly roles: pulumi.Output<outputs.mongocluster.UserRole[]>;
97
+ /**
98
+ * Create a User resource with the given unique name, arguments, and options.
99
+ *
100
+ * @param name The _unique_ name of the resource.
101
+ * @param args The arguments to use to populate this resource's properties.
102
+ * @param opts A bag of options that control this resource's behavior.
103
+ */
104
+ constructor(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions);
105
+ }
106
+ /**
107
+ * Input properties used for looking up and filtering User resources.
108
+ */
109
+ export interface UserState {
110
+ /**
111
+ * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
112
+ */
113
+ identityProviderType?: pulumi.Input<string>;
114
+ /**
115
+ * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
116
+ */
117
+ mongoClusterId?: pulumi.Input<string>;
118
+ /**
119
+ * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
120
+ */
121
+ objectId?: pulumi.Input<string>;
122
+ /**
123
+ * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
124
+ */
125
+ principalType?: pulumi.Input<string>;
126
+ /**
127
+ * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
128
+ */
129
+ roles?: pulumi.Input<pulumi.Input<inputs.mongocluster.UserRole>[]>;
130
+ }
131
+ /**
132
+ * The set of arguments for constructing a User resource.
133
+ */
134
+ export interface UserArgs {
135
+ /**
136
+ * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
137
+ */
138
+ identityProviderType: pulumi.Input<string>;
139
+ /**
140
+ * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
141
+ */
142
+ mongoClusterId: pulumi.Input<string>;
143
+ /**
144
+ * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
145
+ */
146
+ objectId: pulumi.Input<string>;
147
+ /**
148
+ * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
149
+ */
150
+ principalType: pulumi.Input<string>;
151
+ /**
152
+ * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
153
+ */
154
+ roles: pulumi.Input<pulumi.Input<inputs.mongocluster.UserRole>[]>;
155
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.User = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Mongo Cluster User.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const current = azure.core.getClientConfig({});
18
+ * const example = new azure.core.ResourceGroup("example", {
19
+ * name: "example-resources",
20
+ * location: "West Europe",
21
+ * });
22
+ * const exampleMongoCluster = new azure.mongocluster.MongoCluster("example", {
23
+ * name: "example-mc",
24
+ * resourceGroupName: example.name,
25
+ * location: example.location,
26
+ * administratorUsername: "adminTerraform",
27
+ * administratorPassword: "QAZwsx123",
28
+ * shardCount: 1,
29
+ * computeTier: "M30",
30
+ * highAvailabilityMode: "Disabled",
31
+ * storageSizeInGb: 32,
32
+ * version: "8.0",
33
+ * authenticationMethods: [
34
+ * "NativeAuth",
35
+ * "MicrosoftEntraID",
36
+ * ],
37
+ * });
38
+ * const exampleUser = new azure.mongocluster.User("example", {
39
+ * objectId: current.then(current => current.objectId),
40
+ * mongoClusterId: exampleMongoCluster.id,
41
+ * identityProviderType: "MicrosoftEntraID",
42
+ * principalType: "servicePrincipal",
43
+ * roles: [{
44
+ * database: "admin",
45
+ * name: "root",
46
+ * }],
47
+ * });
48
+ * ```
49
+ *
50
+ * ## API Providers
51
+ *
52
+ * <!-- This section is generated, changes will be overwritten -->
53
+ * This resource uses the following Azure API Providers:
54
+ *
55
+ * * `Microsoft.DocumentDB` - 2025-09-01
56
+ *
57
+ * ## Import
58
+ *
59
+ * Mongo Cluster Users can be imported using the `resource id`, e.g.
60
+ *
61
+ * ```sh
62
+ * $ pulumi import azure:mongocluster/user:User example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/mongoClusters/cluster1/users/user1
63
+ * ```
64
+ */
65
+ class User extends pulumi.CustomResource {
66
+ /**
67
+ * Get an existing User resource's state with the given name, ID, and optional extra
68
+ * properties used to qualify the lookup.
69
+ *
70
+ * @param name The _unique_ name of the resulting resource.
71
+ * @param id The _unique_ provider ID of the resource to lookup.
72
+ * @param state Any extra arguments used during the lookup.
73
+ * @param opts Optional settings to control the behavior of the CustomResource.
74
+ */
75
+ static get(name, id, state, opts) {
76
+ return new User(name, state, { ...opts, id: id });
77
+ }
78
+ /**
79
+ * Returns true if the given object is an instance of User. This is designed to work even
80
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
81
+ */
82
+ static isInstance(obj) {
83
+ if (obj === undefined || obj === null) {
84
+ return false;
85
+ }
86
+ return obj['__pulumiType'] === User.__pulumiType;
87
+ }
88
+ constructor(name, argsOrState, opts) {
89
+ let resourceInputs = {};
90
+ opts = opts || {};
91
+ if (opts.id) {
92
+ const state = argsOrState;
93
+ resourceInputs["identityProviderType"] = state?.identityProviderType;
94
+ resourceInputs["mongoClusterId"] = state?.mongoClusterId;
95
+ resourceInputs["objectId"] = state?.objectId;
96
+ resourceInputs["principalType"] = state?.principalType;
97
+ resourceInputs["roles"] = state?.roles;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if (args?.identityProviderType === undefined && !opts.urn) {
102
+ throw new Error("Missing required property 'identityProviderType'");
103
+ }
104
+ if (args?.mongoClusterId === undefined && !opts.urn) {
105
+ throw new Error("Missing required property 'mongoClusterId'");
106
+ }
107
+ if (args?.objectId === undefined && !opts.urn) {
108
+ throw new Error("Missing required property 'objectId'");
109
+ }
110
+ if (args?.principalType === undefined && !opts.urn) {
111
+ throw new Error("Missing required property 'principalType'");
112
+ }
113
+ if (args?.roles === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'roles'");
115
+ }
116
+ resourceInputs["identityProviderType"] = args?.identityProviderType;
117
+ resourceInputs["mongoClusterId"] = args?.mongoClusterId;
118
+ resourceInputs["objectId"] = args?.objectId;
119
+ resourceInputs["principalType"] = args?.principalType;
120
+ resourceInputs["roles"] = args?.roles;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(User.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.User = User;
127
+ /** @internal */
128
+ User.__pulumiType = 'azure:mongocluster/user:User';
129
+ //# sourceMappingURL=user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../mongocluster/user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA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I,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA5FL,oBA6FC;AA/EG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
@@ -21,6 +21,13 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * });
22
22
  * ```
23
23
  *
24
+ * ## API Providers
25
+ *
26
+ * <!-- This section is generated, changes will be overwritten -->
27
+ * This resource uses the following Azure API Providers:
28
+ *
29
+ * * `Microsoft.ManagedIdentity` - 2024-11-30
30
+ *
24
31
  * ## Import
25
32
  *
26
33
  * An existing User Assigned Identity can be imported into Pulumi using the `resource id`, e.g.
@@ -27,6 +27,13 @@ const utilities = require("../utilities");
27
27
  * });
28
28
  * ```
29
29
  *
30
+ * ## API Providers
31
+ *
32
+ * <!-- This section is generated, changes will be overwritten -->
33
+ * This resource uses the following Azure API Providers:
34
+ *
35
+ * * `Microsoft.ManagedIdentity` - 2024-11-30
36
+ *
30
37
  * ## Import
31
38
  *
32
39
  * An existing User Assigned Identity can be imported into Pulumi using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"userAssignedIdentity.js","sourceRoot":"","sources":["../../msi/userAssignedIdentity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6IAA6I,CAAC,CAAA;QAC9J,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAwCD,0HAA0H;IAC1H,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6IAA6I,CAAC,CAAA;QAC9J,IAA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,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAhGL,oDAiGC;AAlFG,gBAAgB;AACO,iCAAY,GAAG,qDAAqD,CAAC"}
@@ -280,12 +280,13 @@ export declare class ManagedInstance extends pulumi.CustomResource {
280
280
  readonly location: pulumi.Output<string>;
281
281
  /**
282
282
  * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Possible values are `SQL_Default` or an Azure Location in the format `SQL_{Location}_MI_{Size}`(for example `SQL_EastUS_MI_1`). Defaults to `SQL_Default`.
283
- *
284
- * `minimumTlsVersion` - (Optional) The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
283
+ */
284
+ readonly maintenanceConfigurationName: pulumi.Output<string | undefined>;
285
+ /**
286
+ * The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
285
287
  *
286
288
  * > **Note:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
287
289
  */
288
- readonly maintenanceConfigurationName: pulumi.Output<string | undefined>;
289
290
  readonly minimumTlsVersion: pulumi.Output<string | undefined>;
290
291
  /**
291
292
  * The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.
@@ -408,12 +409,13 @@ export interface ManagedInstanceState {
408
409
  location?: pulumi.Input<string>;
409
410
  /**
410
411
  * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Possible values are `SQL_Default` or an Azure Location in the format `SQL_{Location}_MI_{Size}`(for example `SQL_EastUS_MI_1`). Defaults to `SQL_Default`.
411
- *
412
- * `minimumTlsVersion` - (Optional) The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
412
+ */
413
+ maintenanceConfigurationName?: pulumi.Input<string>;
414
+ /**
415
+ * The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
413
416
  *
414
417
  * > **Note:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
415
418
  */
416
- maintenanceConfigurationName?: pulumi.Input<string>;
417
419
  minimumTlsVersion?: pulumi.Input<string>;
418
420
  /**
419
421
  * The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.
@@ -520,12 +522,13 @@ export interface ManagedInstanceArgs {
520
522
  location?: pulumi.Input<string>;
521
523
  /**
522
524
  * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Possible values are `SQL_Default` or an Azure Location in the format `SQL_{Location}_MI_{Size}`(for example `SQL_EastUS_MI_1`). Defaults to `SQL_Default`.
523
- *
524
- * `minimumTlsVersion` - (Optional) The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
525
+ */
526
+ maintenanceConfigurationName?: pulumi.Input<string>;
527
+ /**
528
+ * The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
525
529
  *
526
530
  * > **Note:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
527
531
  */
528
- maintenanceConfigurationName?: pulumi.Input<string>;
529
532
  minimumTlsVersion?: pulumi.Input<string>;
530
533
  /**
531
534
  * The name of the SQL Managed Instance. This needs to be globally unique within Azure. Changing this forces a new resource to be created.