@pulumi/azure 6.29.0-alpha.1762841784 → 6.29.0-alpha.1763187052

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 (346) hide show
  1. package/apimanagement/apiOperationPolicy.d.ts +1 -1
  2. package/apimanagement/apiOperationPolicy.js +1 -1
  3. package/apimanagement/apiPolicy.d.ts +1 -1
  4. package/apimanagement/apiPolicy.js +1 -1
  5. package/apimanagement/apiTagDescription.d.ts +41 -0
  6. package/apimanagement/apiTagDescription.js +41 -0
  7. package/apimanagement/apiTagDescription.js.map +1 -1
  8. package/apimanagement/emailTemplate.d.ts +2 -2
  9. package/apimanagement/emailTemplate.js +2 -2
  10. package/apimanagement/getUser.d.ts +42 -0
  11. package/apimanagement/getUser.js +42 -0
  12. package/apimanagement/getUser.js.map +1 -1
  13. package/apimanagement/productPolicy.d.ts +1 -1
  14. package/apimanagement/productPolicy.js +1 -1
  15. package/apimanagement/redisCache.d.ts +37 -0
  16. package/apimanagement/redisCache.js +37 -0
  17. package/apimanagement/redisCache.js.map +1 -1
  18. package/apimanagement/workspacePolicy.d.ts +1 -1
  19. package/apimanagement/workspacePolicy.js +1 -1
  20. package/appinsights/webTest.d.ts +2 -2
  21. package/appinsights/webTest.js +2 -2
  22. package/appplatform/springCloudAppRedisAssociation.d.ts +36 -0
  23. package/appplatform/springCloudAppRedisAssociation.js +36 -0
  24. package/appplatform/springCloudAppRedisAssociation.js.map +1 -1
  25. package/appplatform/springCloudCertificate.d.ts +0 -99
  26. package/appplatform/springCloudCertificate.js +0 -99
  27. package/appplatform/springCloudCertificate.js.map +1 -1
  28. package/appplatform/springCloudConnection.d.ts +64 -0
  29. package/appplatform/springCloudConnection.js +64 -0
  30. package/appplatform/springCloudConnection.js.map +1 -1
  31. package/appservice/activeSlot.d.ts +1 -1
  32. package/appservice/activeSlot.js +1 -1
  33. package/appservice/appConnection.d.ts +69 -0
  34. package/appservice/appConnection.js +69 -0
  35. package/appservice/appConnection.js.map +1 -1
  36. package/appservice/connection.d.ts +61 -0
  37. package/appservice/connection.js +61 -0
  38. package/appservice/connection.js.map +1 -1
  39. package/appservice/customHostnameBinding.d.ts +2 -2
  40. package/appservice/customHostnameBinding.js +2 -2
  41. package/appservice/slot.d.ts +4 -4
  42. package/appservice/slot.js +4 -4
  43. package/appservice/webAppActiveSlot.d.ts +32 -0
  44. package/appservice/webAppActiveSlot.js +32 -0
  45. package/appservice/webAppActiveSlot.js.map +1 -1
  46. package/automation/dscNodeConfiguration.d.ts +15 -15
  47. package/automation/dscNodeConfiguration.js +15 -15
  48. package/automation/getVariableObject.d.ts +34 -0
  49. package/automation/getVariableObject.js +34 -0
  50. package/automation/getVariableObject.js.map +1 -1
  51. package/blueprint/assignment.d.ts +4 -4
  52. package/blueprint/assignment.js +4 -4
  53. package/cdn/endpointCustomDomain.d.ts +1 -1
  54. package/cdn/endpointCustomDomain.js +1 -1
  55. package/cdn/frontdoorSecret.d.ts +0 -72
  56. package/cdn/frontdoorSecret.js +0 -72
  57. package/cdn/frontdoorSecret.js.map +1 -1
  58. package/compute/extension.d.ts +1 -1
  59. package/compute/extension.js +1 -1
  60. package/containerapp/customDomain.d.ts +81 -0
  61. package/containerapp/customDomain.js +81 -0
  62. package/containerapp/customDomain.js.map +1 -1
  63. package/containerservice/tokenPassword.d.ts +42 -0
  64. package/containerservice/tokenPassword.js +42 -0
  65. package/containerservice/tokenPassword.js.map +1 -1
  66. package/core/getResourceGroupTemplateDeployment.d.ts +34 -0
  67. package/core/getResourceGroupTemplateDeployment.js +34 -0
  68. package/core/getResourceGroupTemplateDeployment.js.map +1 -1
  69. package/core/getSubscriptionTemplateDeployment.d.ts +32 -0
  70. package/core/getSubscriptionTemplateDeployment.js +32 -0
  71. package/core/getSubscriptionTemplateDeployment.js.map +1 -1
  72. package/core/getTenantTemplateDeployment.d.ts +32 -0
  73. package/core/getTenantTemplateDeployment.js +32 -0
  74. package/core/getTenantTemplateDeployment.js.map +1 -1
  75. package/core/resourceDeploymentScriptAzureCli.d.ts +1 -1
  76. package/core/resourceDeploymentScriptAzureCli.js +1 -1
  77. package/core/resourceGroupPolicyAssignment.d.ts +4 -4
  78. package/core/resourceGroupPolicyAssignment.js +4 -4
  79. package/core/resourceGroupPolicyRemediation.d.ts +6 -6
  80. package/core/resourceGroupPolicyRemediation.js +6 -6
  81. package/core/resourceGroupTemplateDeployment.d.ts +75 -0
  82. package/core/resourceGroupTemplateDeployment.js +75 -0
  83. package/core/resourceGroupTemplateDeployment.js.map +1 -1
  84. package/core/subscriptionTemplateDeployment.d.ts +10 -10
  85. package/core/subscriptionTemplateDeployment.js +10 -10
  86. package/cosmosdb/account.d.ts +2 -2
  87. package/cosmosdb/account.js +2 -2
  88. package/cosmosdb/cassandraCluster.d.ts +0 -49
  89. package/cosmosdb/cassandraCluster.js +0 -49
  90. package/cosmosdb/cassandraCluster.js.map +1 -1
  91. package/cosmosdb/cassandraDatacenter.d.ts +0 -59
  92. package/cosmosdb/cassandraDatacenter.js +0 -59
  93. package/cosmosdb/cassandraDatacenter.js.map +1 -1
  94. package/cosmosdb/sqlFunction.d.ts +28 -0
  95. package/cosmosdb/sqlFunction.js +28 -0
  96. package/cosmosdb/sqlFunction.js.map +1 -1
  97. package/cosmosdb/sqlStoredProcedure.d.ts +31 -0
  98. package/cosmosdb/sqlStoredProcedure.js +31 -0
  99. package/cosmosdb/sqlStoredProcedure.js.map +1 -1
  100. package/cosmosdb/sqlTrigger.d.ts +30 -0
  101. package/cosmosdb/sqlTrigger.js +30 -0
  102. package/cosmosdb/sqlTrigger.js.map +1 -1
  103. package/datafactory/customDataset.d.ts +18 -18
  104. package/datafactory/customDataset.js +18 -18
  105. package/datafactory/dataFlow.d.ts +1 -1
  106. package/datafactory/dataFlow.js +1 -1
  107. package/datafactory/flowletDataFlow.d.ts +1 -1
  108. package/datafactory/flowletDataFlow.js +1 -1
  109. package/datafactory/linkedCustomService.d.ts +1 -1
  110. package/datafactory/linkedCustomService.js +1 -1
  111. package/datafactory/pipeline.d.ts +7 -7
  112. package/datafactory/pipeline.js +7 -7
  113. package/dataprotection/backupPolicyKubernetesCluster.d.ts +42 -0
  114. package/dataprotection/backupPolicyKubernetesCluster.js +42 -0
  115. package/dataprotection/backupPolicyKubernetesCluster.js.map +1 -1
  116. package/datashare/datasetBlobStorage.d.ts +0 -66
  117. package/datashare/datasetBlobStorage.js +0 -66
  118. package/datashare/datasetBlobStorage.js.map +1 -1
  119. package/datashare/datasetDataLakeGen2.d.ts +0 -62
  120. package/datashare/datasetDataLakeGen2.js +0 -62
  121. package/datashare/datasetDataLakeGen2.js.map +1 -1
  122. package/desktopvirtualization/scalingPlan.d.ts +0 -103
  123. package/desktopvirtualization/scalingPlan.js +0 -103
  124. package/desktopvirtualization/scalingPlan.js.map +1 -1
  125. package/desktopvirtualization/scalingPlanHostPoolAssociation.d.ts +0 -79
  126. package/desktopvirtualization/scalingPlanHostPoolAssociation.js +0 -79
  127. package/desktopvirtualization/scalingPlanHostPoolAssociation.js.map +1 -1
  128. package/dynatrace/monitor.d.ts +33 -0
  129. package/dynatrace/monitor.js +33 -0
  130. package/dynatrace/monitor.js.map +1 -1
  131. package/dynatrace/tagRules.d.ts +54 -0
  132. package/dynatrace/tagRules.js +54 -0
  133. package/dynatrace/tagRules.js.map +1 -1
  134. package/eventhub/queueAuthorizationRule.d.ts +31 -0
  135. package/eventhub/queueAuthorizationRule.js +31 -0
  136. package/eventhub/queueAuthorizationRule.js.map +1 -1
  137. package/eventhub/subscriptionRule.d.ts +76 -0
  138. package/eventhub/subscriptionRule.js +76 -0
  139. package/eventhub/subscriptionRule.js.map +1 -1
  140. package/hpc/cacheBlobTarget.d.ts +0 -71
  141. package/hpc/cacheBlobTarget.js +0 -71
  142. package/hpc/cacheBlobTarget.js.map +1 -1
  143. package/iot/endpointCosmosdbAccount.d.ts +58 -0
  144. package/iot/endpointCosmosdbAccount.js +58 -0
  145. package/iot/endpointCosmosdbAccount.js.map +1 -1
  146. package/iot/endpointServicebusQueue.d.ts +46 -0
  147. package/iot/endpointServicebusQueue.js +46 -0
  148. package/iot/endpointServicebusQueue.js.map +1 -1
  149. package/keyvault/accessPolicy.d.ts +0 -42
  150. package/keyvault/accessPolicy.js +0 -42
  151. package/keyvault/accessPolicy.js.map +1 -1
  152. package/keyvault/getCertificates.d.ts +36 -0
  153. package/keyvault/getCertificates.js +36 -0
  154. package/keyvault/getCertificates.js.map +1 -1
  155. package/keyvault/getSecrets.d.ts +36 -0
  156. package/keyvault/getSecrets.js +36 -0
  157. package/keyvault/getSecrets.js.map +1 -1
  158. package/keyvault/managedHardwareSecurityModuleKey.d.ts +52 -0
  159. package/keyvault/managedHardwareSecurityModuleKey.js +52 -0
  160. package/keyvault/managedHardwareSecurityModuleKey.js.map +1 -1
  161. package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +19 -0
  162. package/keyvault/managedHardwareSecurityModuleRoleAssignment.js +19 -0
  163. package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
  164. package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +31 -0
  165. package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +31 -0
  166. package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
  167. package/keyvault/managedStorageAccount.d.ts +0 -64
  168. package/keyvault/managedStorageAccount.js +0 -64
  169. package/keyvault/managedStorageAccount.js.map +1 -1
  170. package/kusto/clusterPrincipalAssignment.d.ts +38 -0
  171. package/kusto/clusterPrincipalAssignment.js +38 -0
  172. package/kusto/clusterPrincipalAssignment.js.map +1 -1
  173. package/kusto/cosmosdbDataConnection.d.ts +102 -0
  174. package/kusto/cosmosdbDataConnection.js +102 -0
  175. package/kusto/cosmosdbDataConnection.js.map +1 -1
  176. package/logicapps/actionCustom.d.ts +8 -8
  177. package/logicapps/actionCustom.js +8 -8
  178. package/logicapps/integrationAccountSession.d.ts +1 -1
  179. package/logicapps/integrationAccountSession.js +1 -1
  180. package/logicapps/triggerCustom.d.ts +4 -4
  181. package/logicapps/triggerCustom.js +4 -4
  182. package/logicapps/triggerHttpRequest.d.ts +4 -4
  183. package/logicapps/triggerHttpRequest.js +4 -4
  184. package/machinelearning/workspace.d.ts +0 -167
  185. package/machinelearning/workspace.js +0 -167
  186. package/machinelearning/workspace.js.map +1 -1
  187. package/managedlustre/fileSystem.d.ts +35 -0
  188. package/managedlustre/fileSystem.js +35 -0
  189. package/managedlustre/fileSystem.js.map +1 -1
  190. package/management/getGroupTemplateDeployment.d.ts +34 -0
  191. package/management/getGroupTemplateDeployment.js +34 -0
  192. package/management/getGroupTemplateDeployment.js.map +1 -1
  193. package/management/groupPolicySetDefinition.d.ts +7 -7
  194. package/management/groupPolicySetDefinition.js +7 -7
  195. package/management/groupTemplateDeployment.d.ts +24 -24
  196. package/management/groupTemplateDeployment.js +24 -24
  197. package/management/privateLinkAssociation.d.ts +2 -2
  198. package/management/privateLinkAssociation.js +2 -2
  199. package/mobile/networkAttachedDataNetwork.d.ts +79 -0
  200. package/mobile/networkAttachedDataNetwork.js +79 -0
  201. package/mobile/networkAttachedDataNetwork.js.map +1 -1
  202. package/mobile/networkPacketCoreDataPlane.d.ts +50 -0
  203. package/mobile/networkPacketCoreDataPlane.js +50 -0
  204. package/mobile/networkPacketCoreDataPlane.js.map +1 -1
  205. package/monitoring/alertPrometheusRuleGroup.d.ts +2 -2
  206. package/monitoring/alertPrometheusRuleGroup.js +2 -2
  207. package/monitoring/scheduledQueryRulesAlert.d.ts +94 -0
  208. package/monitoring/scheduledQueryRulesAlert.js +94 -0
  209. package/monitoring/scheduledQueryRulesAlert.js.map +1 -1
  210. package/mssql/managedInstanceSecurityAlertPolicy.d.ts +197 -0
  211. package/mssql/managedInstanceSecurityAlertPolicy.js +197 -0
  212. package/mssql/managedInstanceSecurityAlertPolicy.js.map +1 -1
  213. package/mssql/managedInstanceStartStopSchedule.d.ts +203 -0
  214. package/mssql/managedInstanceStartStopSchedule.js +203 -0
  215. package/mssql/managedInstanceStartStopSchedule.js.map +1 -1
  216. package/mssql/serverExtendedAuditingPolicy.d.ts +90 -0
  217. package/mssql/serverExtendedAuditingPolicy.js +90 -0
  218. package/mssql/serverExtendedAuditingPolicy.js.map +1 -1
  219. package/mssql/serverMicrosoftSupportAuditingPolicy.d.ts +88 -0
  220. package/mssql/serverMicrosoftSupportAuditingPolicy.js +88 -0
  221. package/mssql/serverMicrosoftSupportAuditingPolicy.js.map +1 -1
  222. package/mssql/virtualMachineAvailabilityGroupListener.d.ts +84 -0
  223. package/mssql/virtualMachineAvailabilityGroupListener.js +84 -0
  224. package/mssql/virtualMachineAvailabilityGroupListener.js.map +1 -1
  225. package/netapp/volumeGroupSapHana.d.ts +1 -1
  226. package/netapp/volumeGroupSapHana.js +1 -1
  227. package/network/getVirtualWan.d.ts +56 -0
  228. package/network/getVirtualWan.js +56 -0
  229. package/network/getVirtualWan.js.map +1 -1
  230. package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.d.ts +110 -0
  231. package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js +110 -0
  232. package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js.map +1 -1
  233. package/network/trafficManagerProfile.d.ts +2 -2
  234. package/network/trafficManagerProfile.js +2 -2
  235. package/network/virtualNetworkDnsServers.d.ts +28 -0
  236. package/network/virtualNetworkDnsServers.js +28 -0
  237. package/network/virtualNetworkDnsServers.js.map +1 -1
  238. package/network/virtualNetworkPeering.d.ts +60 -0
  239. package/network/virtualNetworkPeering.js +60 -0
  240. package/network/virtualNetworkPeering.js.map +1 -1
  241. package/nginx/configuration.d.ts +2 -2
  242. package/nginx/configuration.js +2 -2
  243. package/operationalinsights/analyticsSolution.d.ts +3 -3
  244. package/operationalinsights/analyticsSolution.js +3 -3
  245. package/oracle/autonomousDatabase.d.ts +27 -0
  246. package/oracle/autonomousDatabase.js +27 -0
  247. package/oracle/autonomousDatabase.js.map +1 -1
  248. package/oracle/autonomousDatabaseBackup.d.ts +21 -0
  249. package/oracle/autonomousDatabaseBackup.js +21 -0
  250. package/oracle/autonomousDatabaseBackup.js.map +1 -1
  251. package/package.json +2 -2
  252. package/pim/roleManagementPolicy.d.ts +0 -56
  253. package/pim/roleManagementPolicy.js +0 -56
  254. package/pim/roleManagementPolicy.js.map +1 -1
  255. package/policy/definition.d.ts +7 -7
  256. package/policy/definition.js +7 -7
  257. package/policy/policySetDefinition.d.ts +7 -7
  258. package/policy/policySetDefinition.js +7 -7
  259. package/postgresql/flexibleServerActiveDirectoryAdministrator.d.ts +0 -47
  260. package/postgresql/flexibleServerActiveDirectoryAdministrator.js +0 -47
  261. package/postgresql/flexibleServerActiveDirectoryAdministrator.js.map +1 -1
  262. package/privatedns/linkService.d.ts +64 -0
  263. package/privatedns/linkService.js +64 -0
  264. package/privatedns/linkService.js.map +1 -1
  265. package/privatelink/applicationSecurityGroupAssociation.d.ts +81 -0
  266. package/privatelink/applicationSecurityGroupAssociation.js +81 -0
  267. package/privatelink/applicationSecurityGroupAssociation.js.map +1 -1
  268. package/privatelink/endpoint.d.ts +69 -0
  269. package/privatelink/endpoint.js +69 -0
  270. package/privatelink/endpoint.js.map +1 -1
  271. package/qumulo/fileSystem.d.ts +42 -0
  272. package/qumulo/fileSystem.js +42 -0
  273. package/qumulo/fileSystem.js.map +1 -1
  274. package/redhatopenshift/cluster.d.ts +0 -103
  275. package/redhatopenshift/cluster.js +0 -103
  276. package/redhatopenshift/cluster.js.map +1 -1
  277. package/redis/cacheAccessPolicy.d.ts +29 -0
  278. package/redis/cacheAccessPolicy.js +29 -0
  279. package/redis/cacheAccessPolicy.js.map +1 -1
  280. package/redis/cacheAccessPolicyAssignment.d.ts +32 -0
  281. package/redis/cacheAccessPolicyAssignment.js +32 -0
  282. package/redis/cacheAccessPolicyAssignment.js.map +1 -1
  283. package/redis/firewallRule.d.ts +38 -0
  284. package/redis/firewallRule.js +38 -0
  285. package/redis/firewallRule.js.map +1 -1
  286. package/redis/linkedServer.d.ts +49 -0
  287. package/redis/linkedServer.js +49 -0
  288. package/redis/linkedServer.js.map +1 -1
  289. package/sentinel/alertRuleNrt.d.ts +2 -2
  290. package/sentinel/alertRuleNrt.js +2 -2
  291. package/sentinel/alertRuleScheduled.d.ts +2 -2
  292. package/sentinel/alertRuleScheduled.js +2 -2
  293. package/sentinel/metadata.d.ts +2 -2
  294. package/sentinel/metadata.js +2 -2
  295. package/servicebus/queueAuthorizationRule.d.ts +31 -0
  296. package/servicebus/queueAuthorizationRule.js +31 -0
  297. package/servicebus/queueAuthorizationRule.js.map +1 -1
  298. package/servicebus/subscriptionRule.d.ts +76 -0
  299. package/servicebus/subscriptionRule.js +76 -0
  300. package/servicebus/subscriptionRule.js.map +1 -1
  301. package/signalr/serviceNetworkAcl.d.ts +55 -0
  302. package/signalr/serviceNetworkAcl.js +55 -0
  303. package/signalr/serviceNetworkAcl.js.map +1 -1
  304. package/stack/hciCluster.d.ts +0 -36
  305. package/stack/hciCluster.js +0 -36
  306. package/stack/hciCluster.js.map +1 -1
  307. package/stack/hciLogicalNetwork.d.ts +33 -0
  308. package/stack/hciLogicalNetwork.js +33 -0
  309. package/stack/hciLogicalNetwork.js.map +1 -1
  310. package/stack/hciMarketplaceGalleryImage.d.ts +0 -48
  311. package/stack/hciMarketplaceGalleryImage.js +0 -48
  312. package/stack/hciMarketplaceGalleryImage.js.map +1 -1
  313. package/stack/hciNetworkInterface.d.ts +48 -0
  314. package/stack/hciNetworkInterface.js +48 -0
  315. package/stack/hciNetworkInterface.js.map +1 -1
  316. package/streamanalytics/outputCosmosdb.d.ts +51 -0
  317. package/streamanalytics/outputCosmosdb.js +51 -0
  318. package/streamanalytics/outputCosmosdb.js.map +1 -1
  319. package/streamanalytics/outputServiceBusQueue.d.ts +38 -0
  320. package/streamanalytics/outputServiceBusQueue.js +38 -0
  321. package/streamanalytics/outputServiceBusQueue.js.map +1 -1
  322. package/streamanalytics/outputServicebusTopic.d.ts +42 -0
  323. package/streamanalytics/outputServicebusTopic.js +42 -0
  324. package/streamanalytics/outputServicebusTopic.js.map +1 -1
  325. package/synapse/linkedService.d.ts +1 -1
  326. package/synapse/linkedService.js +1 -1
  327. package/synapse/sqlPoolSecurityAlertPolicy.d.ts +66 -0
  328. package/synapse/sqlPoolSecurityAlertPolicy.js +66 -0
  329. package/synapse/sqlPoolSecurityAlertPolicy.js.map +1 -1
  330. package/synapse/sqlPoolVulnerabilityAssessment.d.ts +82 -0
  331. package/synapse/sqlPoolVulnerabilityAssessment.js +82 -0
  332. package/synapse/sqlPoolVulnerabilityAssessment.js.map +1 -1
  333. package/synapse/workspaceSecurityAlertPolicy.d.ts +60 -0
  334. package/synapse/workspaceSecurityAlertPolicy.js +60 -0
  335. package/synapse/workspaceSecurityAlertPolicy.js.map +1 -1
  336. package/synapse/workspaceVulnerabilityAssessment.d.ts +76 -0
  337. package/synapse/workspaceVulnerabilityAssessment.js +76 -0
  338. package/synapse/workspaceVulnerabilityAssessment.js.map +1 -1
  339. package/trafficmanager/profile.d.ts +2 -2
  340. package/trafficmanager/profile.js +2 -2
  341. package/webpubsub/networkAcl.d.ts +58 -0
  342. package/webpubsub/networkAcl.js +58 -0
  343. package/webpubsub/networkAcl.js.map +1 -1
  344. package/webpubsub/socketio.d.ts +25 -0
  345. package/webpubsub/socketio.js +25 -0
  346. package/webpubsub/socketio.js.map +1 -1
@@ -4,6 +4,203 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = new azure.core.ResourceGroup("example", {
12
+ * name: "database-rg",
13
+ * location: "West Europe",
14
+ * });
15
+ * const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
16
+ * name: "mi-security-group",
17
+ * location: example.location,
18
+ * resourceGroupName: example.name,
19
+ * });
20
+ * const allowManagementInbound = new azure.network.NetworkSecurityRule("allow_management_inbound", {
21
+ * name: "allow_management_inbound",
22
+ * priority: 106,
23
+ * direction: "Inbound",
24
+ * access: "Allow",
25
+ * protocol: "Tcp",
26
+ * sourcePortRange: "*",
27
+ * destinationPortRanges: [
28
+ * "9000",
29
+ * "9003",
30
+ * "1438",
31
+ * "1440",
32
+ * "1452",
33
+ * ],
34
+ * sourceAddressPrefix: "*",
35
+ * destinationAddressPrefix: "*",
36
+ * resourceGroupName: example.name,
37
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
38
+ * });
39
+ * const allowMisubnetInbound = new azure.network.NetworkSecurityRule("allow_misubnet_inbound", {
40
+ * name: "allow_misubnet_inbound",
41
+ * priority: 200,
42
+ * direction: "Inbound",
43
+ * access: "Allow",
44
+ * protocol: "*",
45
+ * sourcePortRange: "*",
46
+ * destinationPortRange: "*",
47
+ * sourceAddressPrefix: "10.0.0.0/24",
48
+ * destinationAddressPrefix: "*",
49
+ * resourceGroupName: example.name,
50
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
51
+ * });
52
+ * const allowHealthProbeInbound = new azure.network.NetworkSecurityRule("allow_health_probe_inbound", {
53
+ * name: "allow_health_probe_inbound",
54
+ * priority: 300,
55
+ * direction: "Inbound",
56
+ * access: "Allow",
57
+ * protocol: "*",
58
+ * sourcePortRange: "*",
59
+ * destinationPortRange: "*",
60
+ * sourceAddressPrefix: "AzureLoadBalancer",
61
+ * destinationAddressPrefix: "*",
62
+ * resourceGroupName: example.name,
63
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
64
+ * });
65
+ * const allowTdsInbound = new azure.network.NetworkSecurityRule("allow_tds_inbound", {
66
+ * name: "allow_tds_inbound",
67
+ * priority: 1000,
68
+ * direction: "Inbound",
69
+ * access: "Allow",
70
+ * protocol: "Tcp",
71
+ * sourcePortRange: "*",
72
+ * destinationPortRange: "1433",
73
+ * sourceAddressPrefix: "VirtualNetwork",
74
+ * destinationAddressPrefix: "*",
75
+ * resourceGroupName: example.name,
76
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
77
+ * });
78
+ * const denyAllInbound = new azure.network.NetworkSecurityRule("deny_all_inbound", {
79
+ * name: "deny_all_inbound",
80
+ * priority: 4096,
81
+ * direction: "Inbound",
82
+ * access: "Deny",
83
+ * protocol: "*",
84
+ * sourcePortRange: "*",
85
+ * destinationPortRange: "*",
86
+ * sourceAddressPrefix: "*",
87
+ * destinationAddressPrefix: "*",
88
+ * resourceGroupName: example.name,
89
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
90
+ * });
91
+ * const allowManagementOutbound = new azure.network.NetworkSecurityRule("allow_management_outbound", {
92
+ * name: "allow_management_outbound",
93
+ * priority: 102,
94
+ * direction: "Outbound",
95
+ * access: "Allow",
96
+ * protocol: "Tcp",
97
+ * sourcePortRange: "*",
98
+ * destinationPortRanges: [
99
+ * "80",
100
+ * "443",
101
+ * "12000",
102
+ * ],
103
+ * sourceAddressPrefix: "*",
104
+ * destinationAddressPrefix: "*",
105
+ * resourceGroupName: example.name,
106
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
107
+ * });
108
+ * const allowMisubnetOutbound = new azure.network.NetworkSecurityRule("allow_misubnet_outbound", {
109
+ * name: "allow_misubnet_outbound",
110
+ * priority: 200,
111
+ * direction: "Outbound",
112
+ * access: "Allow",
113
+ * protocol: "*",
114
+ * sourcePortRange: "*",
115
+ * destinationPortRange: "*",
116
+ * sourceAddressPrefix: "10.0.0.0/24",
117
+ * destinationAddressPrefix: "*",
118
+ * resourceGroupName: example.name,
119
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
120
+ * });
121
+ * const denyAllOutbound = new azure.network.NetworkSecurityRule("deny_all_outbound", {
122
+ * name: "deny_all_outbound",
123
+ * priority: 4096,
124
+ * direction: "Outbound",
125
+ * access: "Deny",
126
+ * protocol: "*",
127
+ * sourcePortRange: "*",
128
+ * destinationPortRange: "*",
129
+ * sourceAddressPrefix: "*",
130
+ * destinationAddressPrefix: "*",
131
+ * resourceGroupName: example.name,
132
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
133
+ * });
134
+ * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
135
+ * name: "vnet-mi",
136
+ * resourceGroupName: example.name,
137
+ * addressSpaces: ["10.0.0.0/16"],
138
+ * location: example.location,
139
+ * });
140
+ * const exampleSubnet = new azure.network.Subnet("example", {
141
+ * name: "subnet-mi",
142
+ * resourceGroupName: example.name,
143
+ * virtualNetworkName: exampleVirtualNetwork.name,
144
+ * addressPrefixes: ["10.0.0.0/24"],
145
+ * delegations: [{
146
+ * name: "managedinstancedelegation",
147
+ * serviceDelegation: {
148
+ * name: "Microsoft.Sql/managedInstances",
149
+ * actions: [
150
+ * "Microsoft.Network/virtualNetworks/subnets/join/action",
151
+ * "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
152
+ * "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
153
+ * ],
154
+ * },
155
+ * }],
156
+ * });
157
+ * const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
158
+ * subnetId: exampleSubnet.id,
159
+ * networkSecurityGroupId: exampleNetworkSecurityGroup.id,
160
+ * });
161
+ * const exampleRouteTable = new azure.network.RouteTable("example", {
162
+ * name: "routetable-mi",
163
+ * location: example.location,
164
+ * resourceGroupName: example.name,
165
+ * disableBgpRoutePropagation: false,
166
+ * }, {
167
+ * dependsOn: [exampleSubnet],
168
+ * });
169
+ * const exampleSubnetRouteTableAssociation = new azure.network.SubnetRouteTableAssociation("example", {
170
+ * subnetId: exampleSubnet.id,
171
+ * routeTableId: exampleRouteTable.id,
172
+ * });
173
+ * const exampleManagedInstance = new azure.mssql.ManagedInstance("example", {
174
+ * name: "managedsqlinstance",
175
+ * resourceGroupName: example.name,
176
+ * location: example.location,
177
+ * licenseType: "BasePrice",
178
+ * skuName: "GP_Gen5",
179
+ * storageSizeInGb: 32,
180
+ * subnetId: exampleSubnet.id,
181
+ * vcores: 4,
182
+ * administratorLogin: "mradministrator",
183
+ * administratorLoginPassword: "thisIsDog11",
184
+ * }, {
185
+ * dependsOn: [
186
+ * exampleSubnetNetworkSecurityGroupAssociation,
187
+ * exampleSubnetRouteTableAssociation,
188
+ * ],
189
+ * });
190
+ * const exampleManagedInstanceSecurityAlertPolicy = new azure.mssql.ManagedInstanceSecurityAlertPolicy("example", {
191
+ * resourceGroupName: example.name,
192
+ * managedInstanceName: exampleManagedInstance.name,
193
+ * enabled: true,
194
+ * storageEndpoint: exampleAzurermStorageAccount.primaryBlobEndpoint,
195
+ * storageAccountAccessKey: exampleAzurermStorageAccount.primaryAccessKey,
196
+ * disabledAlerts: [
197
+ * "Sql_Injection",
198
+ * "Data_Exfiltration",
199
+ * ],
200
+ * retentionDays: 20,
201
+ * });
202
+ * ```
203
+ *
7
204
  * ## API Providers
8
205
  *
9
206
  * <!-- This section is generated, changes will be overwritten -->
@@ -10,6 +10,203 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const example = new azure.core.ResourceGroup("example", {
18
+ * name: "database-rg",
19
+ * location: "West Europe",
20
+ * });
21
+ * const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
22
+ * name: "mi-security-group",
23
+ * location: example.location,
24
+ * resourceGroupName: example.name,
25
+ * });
26
+ * const allowManagementInbound = new azure.network.NetworkSecurityRule("allow_management_inbound", {
27
+ * name: "allow_management_inbound",
28
+ * priority: 106,
29
+ * direction: "Inbound",
30
+ * access: "Allow",
31
+ * protocol: "Tcp",
32
+ * sourcePortRange: "*",
33
+ * destinationPortRanges: [
34
+ * "9000",
35
+ * "9003",
36
+ * "1438",
37
+ * "1440",
38
+ * "1452",
39
+ * ],
40
+ * sourceAddressPrefix: "*",
41
+ * destinationAddressPrefix: "*",
42
+ * resourceGroupName: example.name,
43
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
44
+ * });
45
+ * const allowMisubnetInbound = new azure.network.NetworkSecurityRule("allow_misubnet_inbound", {
46
+ * name: "allow_misubnet_inbound",
47
+ * priority: 200,
48
+ * direction: "Inbound",
49
+ * access: "Allow",
50
+ * protocol: "*",
51
+ * sourcePortRange: "*",
52
+ * destinationPortRange: "*",
53
+ * sourceAddressPrefix: "10.0.0.0/24",
54
+ * destinationAddressPrefix: "*",
55
+ * resourceGroupName: example.name,
56
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
57
+ * });
58
+ * const allowHealthProbeInbound = new azure.network.NetworkSecurityRule("allow_health_probe_inbound", {
59
+ * name: "allow_health_probe_inbound",
60
+ * priority: 300,
61
+ * direction: "Inbound",
62
+ * access: "Allow",
63
+ * protocol: "*",
64
+ * sourcePortRange: "*",
65
+ * destinationPortRange: "*",
66
+ * sourceAddressPrefix: "AzureLoadBalancer",
67
+ * destinationAddressPrefix: "*",
68
+ * resourceGroupName: example.name,
69
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
70
+ * });
71
+ * const allowTdsInbound = new azure.network.NetworkSecurityRule("allow_tds_inbound", {
72
+ * name: "allow_tds_inbound",
73
+ * priority: 1000,
74
+ * direction: "Inbound",
75
+ * access: "Allow",
76
+ * protocol: "Tcp",
77
+ * sourcePortRange: "*",
78
+ * destinationPortRange: "1433",
79
+ * sourceAddressPrefix: "VirtualNetwork",
80
+ * destinationAddressPrefix: "*",
81
+ * resourceGroupName: example.name,
82
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
83
+ * });
84
+ * const denyAllInbound = new azure.network.NetworkSecurityRule("deny_all_inbound", {
85
+ * name: "deny_all_inbound",
86
+ * priority: 4096,
87
+ * direction: "Inbound",
88
+ * access: "Deny",
89
+ * protocol: "*",
90
+ * sourcePortRange: "*",
91
+ * destinationPortRange: "*",
92
+ * sourceAddressPrefix: "*",
93
+ * destinationAddressPrefix: "*",
94
+ * resourceGroupName: example.name,
95
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
96
+ * });
97
+ * const allowManagementOutbound = new azure.network.NetworkSecurityRule("allow_management_outbound", {
98
+ * name: "allow_management_outbound",
99
+ * priority: 102,
100
+ * direction: "Outbound",
101
+ * access: "Allow",
102
+ * protocol: "Tcp",
103
+ * sourcePortRange: "*",
104
+ * destinationPortRanges: [
105
+ * "80",
106
+ * "443",
107
+ * "12000",
108
+ * ],
109
+ * sourceAddressPrefix: "*",
110
+ * destinationAddressPrefix: "*",
111
+ * resourceGroupName: example.name,
112
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
113
+ * });
114
+ * const allowMisubnetOutbound = new azure.network.NetworkSecurityRule("allow_misubnet_outbound", {
115
+ * name: "allow_misubnet_outbound",
116
+ * priority: 200,
117
+ * direction: "Outbound",
118
+ * access: "Allow",
119
+ * protocol: "*",
120
+ * sourcePortRange: "*",
121
+ * destinationPortRange: "*",
122
+ * sourceAddressPrefix: "10.0.0.0/24",
123
+ * destinationAddressPrefix: "*",
124
+ * resourceGroupName: example.name,
125
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
126
+ * });
127
+ * const denyAllOutbound = new azure.network.NetworkSecurityRule("deny_all_outbound", {
128
+ * name: "deny_all_outbound",
129
+ * priority: 4096,
130
+ * direction: "Outbound",
131
+ * access: "Deny",
132
+ * protocol: "*",
133
+ * sourcePortRange: "*",
134
+ * destinationPortRange: "*",
135
+ * sourceAddressPrefix: "*",
136
+ * destinationAddressPrefix: "*",
137
+ * resourceGroupName: example.name,
138
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
139
+ * });
140
+ * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
141
+ * name: "vnet-mi",
142
+ * resourceGroupName: example.name,
143
+ * addressSpaces: ["10.0.0.0/16"],
144
+ * location: example.location,
145
+ * });
146
+ * const exampleSubnet = new azure.network.Subnet("example", {
147
+ * name: "subnet-mi",
148
+ * resourceGroupName: example.name,
149
+ * virtualNetworkName: exampleVirtualNetwork.name,
150
+ * addressPrefixes: ["10.0.0.0/24"],
151
+ * delegations: [{
152
+ * name: "managedinstancedelegation",
153
+ * serviceDelegation: {
154
+ * name: "Microsoft.Sql/managedInstances",
155
+ * actions: [
156
+ * "Microsoft.Network/virtualNetworks/subnets/join/action",
157
+ * "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
158
+ * "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
159
+ * ],
160
+ * },
161
+ * }],
162
+ * });
163
+ * const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
164
+ * subnetId: exampleSubnet.id,
165
+ * networkSecurityGroupId: exampleNetworkSecurityGroup.id,
166
+ * });
167
+ * const exampleRouteTable = new azure.network.RouteTable("example", {
168
+ * name: "routetable-mi",
169
+ * location: example.location,
170
+ * resourceGroupName: example.name,
171
+ * disableBgpRoutePropagation: false,
172
+ * }, {
173
+ * dependsOn: [exampleSubnet],
174
+ * });
175
+ * const exampleSubnetRouteTableAssociation = new azure.network.SubnetRouteTableAssociation("example", {
176
+ * subnetId: exampleSubnet.id,
177
+ * routeTableId: exampleRouteTable.id,
178
+ * });
179
+ * const exampleManagedInstance = new azure.mssql.ManagedInstance("example", {
180
+ * name: "managedsqlinstance",
181
+ * resourceGroupName: example.name,
182
+ * location: example.location,
183
+ * licenseType: "BasePrice",
184
+ * skuName: "GP_Gen5",
185
+ * storageSizeInGb: 32,
186
+ * subnetId: exampleSubnet.id,
187
+ * vcores: 4,
188
+ * administratorLogin: "mradministrator",
189
+ * administratorLoginPassword: "thisIsDog11",
190
+ * }, {
191
+ * dependsOn: [
192
+ * exampleSubnetNetworkSecurityGroupAssociation,
193
+ * exampleSubnetRouteTableAssociation,
194
+ * ],
195
+ * });
196
+ * const exampleManagedInstanceSecurityAlertPolicy = new azure.mssql.ManagedInstanceSecurityAlertPolicy("example", {
197
+ * resourceGroupName: example.name,
198
+ * managedInstanceName: exampleManagedInstance.name,
199
+ * enabled: true,
200
+ * storageEndpoint: exampleAzurermStorageAccount.primaryBlobEndpoint,
201
+ * storageAccountAccessKey: exampleAzurermStorageAccount.primaryAccessKey,
202
+ * disabledAlerts: [
203
+ * "Sql_Injection",
204
+ * "Data_Exfiltration",
205
+ * ],
206
+ * retentionDays: 20,
207
+ * });
208
+ * ```
209
+ *
13
210
  * ## API Providers
14
211
  *
15
212
  * <!-- This section is generated, changes will be overwritten -->
@@ -1 +1 @@
1
- {"version":3,"file":"managedInstanceSecurityAlertPolicy.js","sourceRoot":"","sources":["../../mssql/managedInstanceSecurityAlertPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAiDD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc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AkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AA/GL,gFAgHC;AAlGG,gBAAgB;AACO,+CAAY,GAAG,mFAAmF,CAAC"}
@@ -6,6 +6,209 @@ import * as outputs from "../types/output";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ *
13
+ * const example = new azure.core.ResourceGroup("example", {
14
+ * name: "database-rg",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
18
+ * name: "mi-security-group",
19
+ * location: example.location,
20
+ * resourceGroupName: example.name,
21
+ * });
22
+ * const allowManagementInbound = new azure.network.NetworkSecurityRule("allow_management_inbound", {
23
+ * name: "allow_management_inbound",
24
+ * priority: 106,
25
+ * direction: "Inbound",
26
+ * access: "Allow",
27
+ * protocol: "Tcp",
28
+ * sourcePortRange: "*",
29
+ * destinationPortRanges: [
30
+ * "9000",
31
+ * "9003",
32
+ * "1438",
33
+ * "1440",
34
+ * "1452",
35
+ * ],
36
+ * sourceAddressPrefix: "*",
37
+ * destinationAddressPrefix: "*",
38
+ * resourceGroupName: example.name,
39
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
40
+ * });
41
+ * const allowMisubnetInbound = new azure.network.NetworkSecurityRule("allow_misubnet_inbound", {
42
+ * name: "allow_misubnet_inbound",
43
+ * priority: 200,
44
+ * direction: "Inbound",
45
+ * access: "Allow",
46
+ * protocol: "*",
47
+ * sourcePortRange: "*",
48
+ * destinationPortRange: "*",
49
+ * sourceAddressPrefix: "10.0.0.0/24",
50
+ * destinationAddressPrefix: "*",
51
+ * resourceGroupName: example.name,
52
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
53
+ * });
54
+ * const allowHealthProbeInbound = new azure.network.NetworkSecurityRule("allow_health_probe_inbound", {
55
+ * name: "allow_health_probe_inbound",
56
+ * priority: 300,
57
+ * direction: "Inbound",
58
+ * access: "Allow",
59
+ * protocol: "*",
60
+ * sourcePortRange: "*",
61
+ * destinationPortRange: "*",
62
+ * sourceAddressPrefix: "AzureLoadBalancer",
63
+ * destinationAddressPrefix: "*",
64
+ * resourceGroupName: example.name,
65
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
66
+ * });
67
+ * const allowTdsInbound = new azure.network.NetworkSecurityRule("allow_tds_inbound", {
68
+ * name: "allow_tds_inbound",
69
+ * priority: 1000,
70
+ * direction: "Inbound",
71
+ * access: "Allow",
72
+ * protocol: "Tcp",
73
+ * sourcePortRange: "*",
74
+ * destinationPortRange: "1433",
75
+ * sourceAddressPrefix: "VirtualNetwork",
76
+ * destinationAddressPrefix: "*",
77
+ * resourceGroupName: example.name,
78
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
79
+ * });
80
+ * const denyAllInbound = new azure.network.NetworkSecurityRule("deny_all_inbound", {
81
+ * name: "deny_all_inbound",
82
+ * priority: 4096,
83
+ * direction: "Inbound",
84
+ * access: "Deny",
85
+ * protocol: "*",
86
+ * sourcePortRange: "*",
87
+ * destinationPortRange: "*",
88
+ * sourceAddressPrefix: "*",
89
+ * destinationAddressPrefix: "*",
90
+ * resourceGroupName: example.name,
91
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
92
+ * });
93
+ * const allowManagementOutbound = new azure.network.NetworkSecurityRule("allow_management_outbound", {
94
+ * name: "allow_management_outbound",
95
+ * priority: 102,
96
+ * direction: "Outbound",
97
+ * access: "Allow",
98
+ * protocol: "Tcp",
99
+ * sourcePortRange: "*",
100
+ * destinationPortRanges: [
101
+ * "80",
102
+ * "443",
103
+ * "12000",
104
+ * ],
105
+ * sourceAddressPrefix: "*",
106
+ * destinationAddressPrefix: "*",
107
+ * resourceGroupName: example.name,
108
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
109
+ * });
110
+ * const allowMisubnetOutbound = new azure.network.NetworkSecurityRule("allow_misubnet_outbound", {
111
+ * name: "allow_misubnet_outbound",
112
+ * priority: 200,
113
+ * direction: "Outbound",
114
+ * access: "Allow",
115
+ * protocol: "*",
116
+ * sourcePortRange: "*",
117
+ * destinationPortRange: "*",
118
+ * sourceAddressPrefix: "10.0.0.0/24",
119
+ * destinationAddressPrefix: "*",
120
+ * resourceGroupName: example.name,
121
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
122
+ * });
123
+ * const denyAllOutbound = new azure.network.NetworkSecurityRule("deny_all_outbound", {
124
+ * name: "deny_all_outbound",
125
+ * priority: 4096,
126
+ * direction: "Outbound",
127
+ * access: "Deny",
128
+ * protocol: "*",
129
+ * sourcePortRange: "*",
130
+ * destinationPortRange: "*",
131
+ * sourceAddressPrefix: "*",
132
+ * destinationAddressPrefix: "*",
133
+ * resourceGroupName: example.name,
134
+ * networkSecurityGroupName: exampleNetworkSecurityGroup.name,
135
+ * });
136
+ * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
137
+ * name: "vnet-mi",
138
+ * resourceGroupName: example.name,
139
+ * addressSpaces: ["10.0.0.0/16"],
140
+ * location: example.location,
141
+ * });
142
+ * const exampleSubnet = new azure.network.Subnet("example", {
143
+ * name: "subnet-mi",
144
+ * resourceGroupName: example.name,
145
+ * virtualNetworkName: exampleVirtualNetwork.name,
146
+ * addressPrefixes: ["10.0.0.0/24"],
147
+ * delegations: [{
148
+ * name: "managedinstancedelegation",
149
+ * serviceDelegation: {
150
+ * name: "Microsoft.Sql/managedInstances",
151
+ * actions: [
152
+ * "Microsoft.Network/virtualNetworks/subnets/join/action",
153
+ * "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
154
+ * "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
155
+ * ],
156
+ * },
157
+ * }],
158
+ * });
159
+ * const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
160
+ * subnetId: exampleSubnet.id,
161
+ * networkSecurityGroupId: exampleNetworkSecurityGroup.id,
162
+ * });
163
+ * const exampleRouteTable = new azure.network.RouteTable("example", {
164
+ * name: "routetable-mi",
165
+ * location: example.location,
166
+ * resourceGroupName: example.name,
167
+ * disableBgpRoutePropagation: false,
168
+ * }, {
169
+ * dependsOn: [exampleSubnet],
170
+ * });
171
+ * const exampleSubnetRouteTableAssociation = new azure.network.SubnetRouteTableAssociation("example", {
172
+ * subnetId: exampleSubnet.id,
173
+ * routeTableId: exampleRouteTable.id,
174
+ * });
175
+ * const exampleManagedInstance = new azure.mssql.ManagedInstance("example", {
176
+ * name: "managedsqlinstance",
177
+ * resourceGroupName: example.name,
178
+ * location: example.location,
179
+ * licenseType: "BasePrice",
180
+ * skuName: "GP_Gen5",
181
+ * storageSizeInGb: 32,
182
+ * subnetId: exampleSubnet.id,
183
+ * vcores: 4,
184
+ * administratorLogin: "mradministrator",
185
+ * administratorLoginPassword: "thisIsDog11",
186
+ * }, {
187
+ * dependsOn: [
188
+ * exampleSubnetNetworkSecurityGroupAssociation,
189
+ * exampleSubnetRouteTableAssociation,
190
+ * ],
191
+ * });
192
+ * const exampleManagedInstanceStartStopSchedule = new azure.mssql.ManagedInstanceStartStopSchedule("example", {
193
+ * managedInstanceId: exampleManagedInstance.id,
194
+ * timezoneId: "Central European Standard Time",
195
+ * schedules: [
196
+ * {
197
+ * startDay: "Monday",
198
+ * startTime: "08:00",
199
+ * stopDay: "Monday",
200
+ * stopTime: "11:00",
201
+ * },
202
+ * {
203
+ * startDay: "Tuesday",
204
+ * startTime: "12:00",
205
+ * stopDay: "Tuesday",
206
+ * stopTime: "18:00",
207
+ * },
208
+ * ],
209
+ * });
210
+ * ```
211
+ *
9
212
  * ## API Providers
10
213
  *
11
214
  * <!-- This section is generated, changes will be overwritten -->