@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,105 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCertificate` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as azure from "@pulumi/azure";
12
- * import * as azuread from "@pulumi/azuread";
13
- *
14
- * const exampleResourceGroup = new azure.core.ResourceGroup("example", {
15
- * name: "example-resources",
16
- * location: "West Europe",
17
- * });
18
- * const current = azure.core.getClientConfig({});
19
- * const example = azuread.getServicePrincipal({
20
- * displayName: "Azure Spring Cloud Resource Provider",
21
- * });
22
- * const exampleKeyVault = new azure.keyvault.KeyVault("example", {
23
- * name: "keyvaultcertexample",
24
- * location: exampleResourceGroup.location,
25
- * resourceGroupName: exampleResourceGroup.name,
26
- * tenantId: current.then(current => current.tenantId),
27
- * skuName: "standard",
28
- * accessPolicies: [
29
- * {
30
- * tenantId: current.then(current => current.tenantId),
31
- * objectId: current.then(current => current.objectId),
32
- * secretPermissions: ["Set"],
33
- * certificatePermissions: [
34
- * "Create",
35
- * "Delete",
36
- * "Get",
37
- * "Update",
38
- * ],
39
- * },
40
- * {
41
- * tenantId: current.then(current => current.tenantId),
42
- * objectId: example.then(example => example.objectId),
43
- * secretPermissions: [
44
- * "Get",
45
- * "List",
46
- * ],
47
- * certificatePermissions: [
48
- * "Get",
49
- * "List",
50
- * ],
51
- * },
52
- * ],
53
- * });
54
- * const exampleCertificate = new azure.keyvault.Certificate("example", {
55
- * name: "cert-example",
56
- * keyVaultId: exampleKeyVault.id,
57
- * certificatePolicy: {
58
- * issuerParameters: {
59
- * name: "Self",
60
- * },
61
- * keyProperties: {
62
- * exportable: true,
63
- * keySize: 2048,
64
- * keyType: "RSA",
65
- * reuseKey: true,
66
- * },
67
- * lifetimeActions: [{
68
- * action: {
69
- * actionType: "AutoRenew",
70
- * },
71
- * trigger: {
72
- * daysBeforeExpiry: 30,
73
- * },
74
- * }],
75
- * secretProperties: {
76
- * contentType: "application/x-pkcs12",
77
- * },
78
- * x509CertificateProperties: {
79
- * keyUsages: [
80
- * "cRLSign",
81
- * "dataEncipherment",
82
- * "digitalSignature",
83
- * "keyAgreement",
84
- * "keyCertSign",
85
- * "keyEncipherment",
86
- * ],
87
- * subject: "CN=contoso.com",
88
- * validityInMonths: 12,
89
- * },
90
- * },
91
- * });
92
- * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
93
- * name: "example-springcloud",
94
- * resourceGroupName: exampleResourceGroup.name,
95
- * location: exampleResourceGroup.location,
96
- * });
97
- * const exampleSpringCloudCertificate = new azure.appplatform.SpringCloudCertificate("example", {
98
- * name: "example-scc",
99
- * resourceGroupName: exampleSpringCloudService.resourceGroupName,
100
- * serviceName: exampleSpringCloudService.name,
101
- * keyVaultCertificateId: exampleCertificate.id,
102
- * excludePrivateKey: true,
103
- * });
104
- * ```
105
- *
106
7
  * ## Import
107
8
  *
108
9
  * Spring Cloud Certificate can be imported using the `resource id`, e.g.
@@ -10,105 +10,6 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCertificate` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
12
12
  *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as azure from "@pulumi/azure";
18
- * import * as azuread from "@pulumi/azuread";
19
- *
20
- * const exampleResourceGroup = new azure.core.ResourceGroup("example", {
21
- * name: "example-resources",
22
- * location: "West Europe",
23
- * });
24
- * const current = azure.core.getClientConfig({});
25
- * const example = azuread.getServicePrincipal({
26
- * displayName: "Azure Spring Cloud Resource Provider",
27
- * });
28
- * const exampleKeyVault = new azure.keyvault.KeyVault("example", {
29
- * name: "keyvaultcertexample",
30
- * location: exampleResourceGroup.location,
31
- * resourceGroupName: exampleResourceGroup.name,
32
- * tenantId: current.then(current => current.tenantId),
33
- * skuName: "standard",
34
- * accessPolicies: [
35
- * {
36
- * tenantId: current.then(current => current.tenantId),
37
- * objectId: current.then(current => current.objectId),
38
- * secretPermissions: ["Set"],
39
- * certificatePermissions: [
40
- * "Create",
41
- * "Delete",
42
- * "Get",
43
- * "Update",
44
- * ],
45
- * },
46
- * {
47
- * tenantId: current.then(current => current.tenantId),
48
- * objectId: example.then(example => example.objectId),
49
- * secretPermissions: [
50
- * "Get",
51
- * "List",
52
- * ],
53
- * certificatePermissions: [
54
- * "Get",
55
- * "List",
56
- * ],
57
- * },
58
- * ],
59
- * });
60
- * const exampleCertificate = new azure.keyvault.Certificate("example", {
61
- * name: "cert-example",
62
- * keyVaultId: exampleKeyVault.id,
63
- * certificatePolicy: {
64
- * issuerParameters: {
65
- * name: "Self",
66
- * },
67
- * keyProperties: {
68
- * exportable: true,
69
- * keySize: 2048,
70
- * keyType: "RSA",
71
- * reuseKey: true,
72
- * },
73
- * lifetimeActions: [{
74
- * action: {
75
- * actionType: "AutoRenew",
76
- * },
77
- * trigger: {
78
- * daysBeforeExpiry: 30,
79
- * },
80
- * }],
81
- * secretProperties: {
82
- * contentType: "application/x-pkcs12",
83
- * },
84
- * x509CertificateProperties: {
85
- * keyUsages: [
86
- * "cRLSign",
87
- * "dataEncipherment",
88
- * "digitalSignature",
89
- * "keyAgreement",
90
- * "keyCertSign",
91
- * "keyEncipherment",
92
- * ],
93
- * subject: "CN=contoso.com",
94
- * validityInMonths: 12,
95
- * },
96
- * },
97
- * });
98
- * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
99
- * name: "example-springcloud",
100
- * resourceGroupName: exampleResourceGroup.name,
101
- * location: exampleResourceGroup.location,
102
- * });
103
- * const exampleSpringCloudCertificate = new azure.appplatform.SpringCloudCertificate("example", {
104
- * name: "example-scc",
105
- * resourceGroupName: exampleSpringCloudService.resourceGroupName,
106
- * serviceName: exampleSpringCloudService.name,
107
- * keyVaultCertificateId: exampleCertificate.id,
108
- * excludePrivateKey: true,
109
- * });
110
- * ```
111
- *
112
13
  * ## Import
113
14
  *
114
15
  * Spring Cloud Certificate can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"springCloudCertificate.js","sourceRoot":"","sources":["../../appplatform/springCloudCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACpD,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA/FL,wDAgGC;AAlFG,gBAAgB;AACO,mCAAY,GAAG,iEAAiE,CAAC"}
@@ -8,6 +8,70 @@ import * as outputs from "../types/output";
8
8
  *
9
9
  * ## Example Usage
10
10
  *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as azure from "@pulumi/azure";
14
+ *
15
+ * const example = new azure.core.ResourceGroup("example", {
16
+ * name: "example-resources",
17
+ * location: "West Europe",
18
+ * });
19
+ * const exampleAccount = new azure.cosmosdb.Account("example", {
20
+ * name: "example-cosmosdb-account",
21
+ * location: example.location,
22
+ * resourceGroupName: example.name,
23
+ * offerType: "Standard",
24
+ * kind: "GlobalDocumentDB",
25
+ * consistencyPolicy: {
26
+ * consistencyLevel: "BoundedStaleness",
27
+ * maxIntervalInSeconds: 10,
28
+ * maxStalenessPrefix: 200,
29
+ * },
30
+ * geoLocations: [{
31
+ * location: example.location,
32
+ * failoverPriority: 0,
33
+ * }],
34
+ * });
35
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
36
+ * name: "cosmos-sql-db",
37
+ * resourceGroupName: exampleAccount.resourceGroupName,
38
+ * accountName: exampleAccount.name,
39
+ * throughput: 400,
40
+ * });
41
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
42
+ * name: "example-container",
43
+ * resourceGroupName: exampleAccount.resourceGroupName,
44
+ * accountName: exampleAccount.name,
45
+ * databaseName: exampleSqlDatabase.name,
46
+ * partitionKeyPath: "/definition",
47
+ * });
48
+ * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
49
+ * name: "examplespringcloud",
50
+ * resourceGroupName: example.name,
51
+ * location: example.location,
52
+ * });
53
+ * const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
54
+ * name: "examplespringcloudapp",
55
+ * resourceGroupName: example.name,
56
+ * serviceName: exampleSpringCloudService.name,
57
+ * identity: {
58
+ * type: "SystemAssigned",
59
+ * },
60
+ * });
61
+ * const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("example", {
62
+ * name: "exampledeployment",
63
+ * springCloudAppId: exampleSpringCloudApp.id,
64
+ * });
65
+ * const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("example", {
66
+ * name: "example-serviceconnector",
67
+ * springCloudId: exampleSpringCloudJavaDeployment.id,
68
+ * targetResourceId: exampleSqlDatabase.id,
69
+ * authentication: {
70
+ * type: "systemAssignedIdentity",
71
+ * },
72
+ * });
73
+ * ```
74
+ *
11
75
  * ## API Providers
12
76
  *
13
77
  * <!-- This section is generated, changes will be overwritten -->
@@ -12,6 +12,70 @@ const utilities = require("../utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as azure from "@pulumi/azure";
18
+ *
19
+ * const example = new azure.core.ResourceGroup("example", {
20
+ * name: "example-resources",
21
+ * location: "West Europe",
22
+ * });
23
+ * const exampleAccount = new azure.cosmosdb.Account("example", {
24
+ * name: "example-cosmosdb-account",
25
+ * location: example.location,
26
+ * resourceGroupName: example.name,
27
+ * offerType: "Standard",
28
+ * kind: "GlobalDocumentDB",
29
+ * consistencyPolicy: {
30
+ * consistencyLevel: "BoundedStaleness",
31
+ * maxIntervalInSeconds: 10,
32
+ * maxStalenessPrefix: 200,
33
+ * },
34
+ * geoLocations: [{
35
+ * location: example.location,
36
+ * failoverPriority: 0,
37
+ * }],
38
+ * });
39
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
40
+ * name: "cosmos-sql-db",
41
+ * resourceGroupName: exampleAccount.resourceGroupName,
42
+ * accountName: exampleAccount.name,
43
+ * throughput: 400,
44
+ * });
45
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
46
+ * name: "example-container",
47
+ * resourceGroupName: exampleAccount.resourceGroupName,
48
+ * accountName: exampleAccount.name,
49
+ * databaseName: exampleSqlDatabase.name,
50
+ * partitionKeyPath: "/definition",
51
+ * });
52
+ * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
53
+ * name: "examplespringcloud",
54
+ * resourceGroupName: example.name,
55
+ * location: example.location,
56
+ * });
57
+ * const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
58
+ * name: "examplespringcloudapp",
59
+ * resourceGroupName: example.name,
60
+ * serviceName: exampleSpringCloudService.name,
61
+ * identity: {
62
+ * type: "SystemAssigned",
63
+ * },
64
+ * });
65
+ * const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("example", {
66
+ * name: "exampledeployment",
67
+ * springCloudAppId: exampleSpringCloudApp.id,
68
+ * });
69
+ * const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("example", {
70
+ * name: "example-serviceconnector",
71
+ * springCloudId: exampleSpringCloudJavaDeployment.id,
72
+ * targetResourceId: exampleSqlDatabase.id,
73
+ * authentication: {
74
+ * type: "systemAssignedIdentity",
75
+ * },
76
+ * });
77
+ * ```
78
+ *
15
79
  * ## API Providers
16
80
  *
17
81
  * <!-- This section is generated, changes will be overwritten -->
@@ -1 +1 @@
1
- {"version":3,"file":"springCloudConnection.js","sourceRoot":"","sources":["../../appplatform/springCloudConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA8BD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;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,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzFL,sDA0FC;AA5EG,gBAAgB;AACO,kCAAY,GAAG,+DAA+D,CAAC"}
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as azure from "@pulumi/azure";
14
14
  * import * as random from "@pulumi/random";
15
15
  *
16
- * const server = new random.RandomId("server", {});
16
+ * const server = new random.index.Id("server", {});
17
17
  * const example = new azure.core.ResourceGroup("example", {});
18
18
  * const examplePlan = new azure.appservice.Plan("example", {});
19
19
  * const exampleAppService = new azure.appservice.AppService("example", {});
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
19
19
  * import * as azure from "@pulumi/azure";
20
20
  * import * as random from "@pulumi/random";
21
21
  *
22
- * const server = new random.RandomId("server", {});
22
+ * const server = new random.index.Id("server", {});
23
23
  * const example = new azure.core.ResourceGroup("example", {});
24
24
  * const examplePlan = new azure.appservice.Plan("example", {});
25
25
  * const exampleAppService = new azure.appservice.AppService("example", {});
@@ -6,6 +6,75 @@ 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: "example-resources",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleAccount = new azure.cosmosdb.Account("example", {
18
+ * name: "example-cosmosdb-account",
19
+ * location: example.location,
20
+ * resourceGroupName: example.name,
21
+ * offerType: "Standard",
22
+ * kind: "GlobalDocumentDB",
23
+ * consistencyPolicy: {
24
+ * consistencyLevel: "BoundedStaleness",
25
+ * maxIntervalInSeconds: 10,
26
+ * maxStalenessPrefix: 200,
27
+ * },
28
+ * geoLocations: [{
29
+ * location: example.location,
30
+ * failoverPriority: 0,
31
+ * }],
32
+ * });
33
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
34
+ * name: "cosmos-sql-db",
35
+ * resourceGroupName: exampleAccount.resourceGroupName,
36
+ * accountName: exampleAccount.name,
37
+ * throughput: 400,
38
+ * });
39
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
40
+ * name: "example-container",
41
+ * resourceGroupName: exampleAccount.resourceGroupName,
42
+ * accountName: exampleAccount.name,
43
+ * databaseName: exampleSqlDatabase.name,
44
+ * partitionKeyPath: "/definition",
45
+ * });
46
+ * const exampleAccount2 = new azure.storage.Account("example", {
47
+ * name: "examplestorageaccount",
48
+ * resourceGroupName: example.name,
49
+ * location: example.location,
50
+ * accountTier: "Standard",
51
+ * accountReplicationType: "LRS",
52
+ * });
53
+ * const exampleServicePlan = new azure.appservice.ServicePlan("example", {
54
+ * location: example.location,
55
+ * name: "example-serviceplan",
56
+ * resourceGroupName: example.name,
57
+ * skuName: "P1v2",
58
+ * osType: "Linux",
59
+ * });
60
+ * const test = new azure.appservice.FunctionApp("test", {
61
+ * name: "example-function-app",
62
+ * location: testAzurermResourceGroup.location,
63
+ * resourceGroupName: testAzurermResourceGroup.name,
64
+ * appServicePlanId: testAzurermAppServicePlan.id,
65
+ * storageAccountName: testAzurermStorageAccount.name,
66
+ * storageAccountAccessKey: testAzurermStorageAccount.primaryAccessKey,
67
+ * });
68
+ * const exampleAppConnection = new azure.appservice.AppConnection("example", {
69
+ * name: "example-serviceconnector",
70
+ * functionAppId: exampleAzurermFunctionApp.id,
71
+ * targetResourceId: testAzurermCosmosdbAccount.id,
72
+ * authentication: {
73
+ * type: "systemAssignedIdentity",
74
+ * },
75
+ * });
76
+ * ```
77
+ *
9
78
  * ## API Providers
10
79
  *
11
80
  * <!-- This section is generated, changes will be overwritten -->
@@ -10,6 +10,75 @@ 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: "example-resources",
19
+ * location: "West Europe",
20
+ * });
21
+ * const exampleAccount = new azure.cosmosdb.Account("example", {
22
+ * name: "example-cosmosdb-account",
23
+ * location: example.location,
24
+ * resourceGroupName: example.name,
25
+ * offerType: "Standard",
26
+ * kind: "GlobalDocumentDB",
27
+ * consistencyPolicy: {
28
+ * consistencyLevel: "BoundedStaleness",
29
+ * maxIntervalInSeconds: 10,
30
+ * maxStalenessPrefix: 200,
31
+ * },
32
+ * geoLocations: [{
33
+ * location: example.location,
34
+ * failoverPriority: 0,
35
+ * }],
36
+ * });
37
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
38
+ * name: "cosmos-sql-db",
39
+ * resourceGroupName: exampleAccount.resourceGroupName,
40
+ * accountName: exampleAccount.name,
41
+ * throughput: 400,
42
+ * });
43
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
44
+ * name: "example-container",
45
+ * resourceGroupName: exampleAccount.resourceGroupName,
46
+ * accountName: exampleAccount.name,
47
+ * databaseName: exampleSqlDatabase.name,
48
+ * partitionKeyPath: "/definition",
49
+ * });
50
+ * const exampleAccount2 = new azure.storage.Account("example", {
51
+ * name: "examplestorageaccount",
52
+ * resourceGroupName: example.name,
53
+ * location: example.location,
54
+ * accountTier: "Standard",
55
+ * accountReplicationType: "LRS",
56
+ * });
57
+ * const exampleServicePlan = new azure.appservice.ServicePlan("example", {
58
+ * location: example.location,
59
+ * name: "example-serviceplan",
60
+ * resourceGroupName: example.name,
61
+ * skuName: "P1v2",
62
+ * osType: "Linux",
63
+ * });
64
+ * const test = new azure.appservice.FunctionApp("test", {
65
+ * name: "example-function-app",
66
+ * location: testAzurermResourceGroup.location,
67
+ * resourceGroupName: testAzurermResourceGroup.name,
68
+ * appServicePlanId: testAzurermAppServicePlan.id,
69
+ * storageAccountName: testAzurermStorageAccount.name,
70
+ * storageAccountAccessKey: testAzurermStorageAccount.primaryAccessKey,
71
+ * });
72
+ * const exampleAppConnection = new azure.appservice.AppConnection("example", {
73
+ * name: "example-serviceconnector",
74
+ * functionAppId: exampleAzurermFunctionApp.id,
75
+ * targetResourceId: testAzurermCosmosdbAccount.id,
76
+ * authentication: {
77
+ * type: "systemAssignedIdentity",
78
+ * },
79
+ * });
80
+ * ```
81
+ *
13
82
  * ## API Providers
14
83
  *
15
84
  * <!-- This section is generated, changes will be overwritten -->
@@ -1 +1 @@
1
- {"version":3,"file":"appConnection.js","sourceRoot":"","sources":["../../appservice/appConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI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M,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA3FL,sCA4FC;AA9EG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
@@ -6,6 +6,67 @@ 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: "example-resources",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleAccount = new azure.cosmosdb.Account("example", {
18
+ * name: "example-cosmosdb-account",
19
+ * location: example.location,
20
+ * resourceGroupName: example.name,
21
+ * offerType: "Standard",
22
+ * kind: "GlobalDocumentDB",
23
+ * consistencyPolicy: {
24
+ * consistencyLevel: "BoundedStaleness",
25
+ * maxIntervalInSeconds: 10,
26
+ * maxStalenessPrefix: 200,
27
+ * },
28
+ * geoLocations: [{
29
+ * location: example.location,
30
+ * failoverPriority: 0,
31
+ * }],
32
+ * });
33
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
34
+ * name: "cosmos-sql-db",
35
+ * resourceGroupName: exampleAccount.resourceGroupName,
36
+ * accountName: exampleAccount.name,
37
+ * throughput: 400,
38
+ * });
39
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
40
+ * name: "example-container",
41
+ * resourceGroupName: exampleAccount.resourceGroupName,
42
+ * accountName: exampleAccount.name,
43
+ * databaseName: exampleSqlDatabase.name,
44
+ * partitionKeyPath: "/definition",
45
+ * });
46
+ * const exampleServicePlan = new azure.appservice.ServicePlan("example", {
47
+ * location: example.location,
48
+ * name: "example-serviceplan",
49
+ * resourceGroupName: example.name,
50
+ * skuName: "P1v2",
51
+ * osType: "Linux",
52
+ * });
53
+ * const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("example", {
54
+ * location: example.location,
55
+ * name: "example-linuxwebapp",
56
+ * resourceGroupName: example.name,
57
+ * servicePlanId: exampleServicePlan.id,
58
+ * siteConfig: {},
59
+ * });
60
+ * const exampleConnection = new azure.appservice.Connection("example", {
61
+ * name: "example-serviceconnector",
62
+ * appServiceId: exampleLinuxWebApp.id,
63
+ * targetResourceId: exampleSqlDatabase.id,
64
+ * authentication: {
65
+ * type: "systemAssignedIdentity",
66
+ * },
67
+ * });
68
+ * ```
69
+ *
9
70
  * ## API Providers
10
71
  *
11
72
  * <!-- This section is generated, changes will be overwritten -->