@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
@@ -24,78 +24,6 @@ const utilities = require("../utilities");
24
24
  *
25
25
  * -> **Note:** You only need to add the `Access Policy` for your personal AAD Object ID if you are planning to view the `secrets` via the Azure Portal.
26
26
  *
27
- * ## Example Usage
28
- *
29
- * ```typescript
30
- * import * as pulumi from "@pulumi/pulumi";
31
- * import * as azure from "@pulumi/azure";
32
- * import * as azuread from "@pulumi/azuread";
33
- * import * as std from "@pulumi/std";
34
- *
35
- * const current = azure.core.getClientConfig({});
36
- * const frontdoor = azuread.getServicePrincipal({
37
- * displayName: "Microsoft.AzurefrontDoor-Cdn",
38
- * });
39
- * const example = new azure.core.ResourceGroup("example", {
40
- * name: "example-cdn-frontdoor",
41
- * location: "West Europe",
42
- * });
43
- * const exampleKeyVault = new azure.keyvault.KeyVault("example", {
44
- * name: "example-keyvault",
45
- * location: example.location,
46
- * resourceGroupName: example.name,
47
- * tenantId: current.then(current => current.tenantId),
48
- * skuName: "premium",
49
- * softDeleteRetentionDays: 7,
50
- * networkAcls: {
51
- * defaultAction: "Deny",
52
- * bypass: "AzureServices",
53
- * ipRules: ["10.0.0.0/24"],
54
- * },
55
- * accessPolicies: [
56
- * {
57
- * tenantId: current.then(current => current.tenantId),
58
- * objectId: frontdoor.then(frontdoor => frontdoor.objectId),
59
- * secretPermissions: ["Get"],
60
- * },
61
- * {
62
- * tenantId: current.then(current => current.tenantId),
63
- * objectId: current.then(current => current.objectId),
64
- * certificatePermissions: [
65
- * "Get",
66
- * "Import",
67
- * "Delete",
68
- * "Purge",
69
- * ],
70
- * secretPermissions: ["Get"],
71
- * },
72
- * ],
73
- * });
74
- * const exampleCertificate = new azure.keyvault.Certificate("example", {
75
- * name: "example-cert",
76
- * keyVaultId: exampleKeyVault.id,
77
- * certificate: {
78
- * contents: std.filebase64({
79
- * input: "my-certificate.pfx",
80
- * }).then(invoke => invoke.result),
81
- * },
82
- * });
83
- * const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", {
84
- * name: "example-cdn-profile",
85
- * resourceGroupName: example.name,
86
- * skuName: "Standard_AzureFrontDoor",
87
- * });
88
- * const exampleFrontdoorSecret = new azure.cdn.FrontdoorSecret("example", {
89
- * name: "example-customer-managed-secret",
90
- * cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
91
- * secret: {
92
- * customerCertificates: [{
93
- * keyVaultCertificateId: exampleCertificate.id,
94
- * }],
95
- * },
96
- * });
97
- * ```
98
- *
99
27
  * ## Import
100
28
  *
101
29
  * Front Door Secrets can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"frontdoorSecret.js","sourceRoot":"","sources":["../../cdn/frontdoorSecret.ts"],"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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA7EL,0CA8EC;AAhEG,gBAAgB;AACO,4BAAY,GAAG,2CAA2C,CAAC"}
@@ -73,7 +73,7 @@ import * as outputs from "../types/output";
73
73
  * type: "CustomScript",
74
74
  * typeHandlerVersion: "2.0",
75
75
  * settings: ` {
76
- * "commandToExecute": "hostname && uptime"
76
+ * \\"commandToExecute\\": \\"hostname && uptime\\"
77
77
  * }
78
78
  * `,
79
79
  * tags: {
@@ -77,7 +77,7 @@ const utilities = require("../utilities");
77
77
  * type: "CustomScript",
78
78
  * typeHandlerVersion: "2.0",
79
79
  * settings: ` {
80
- * "commandToExecute": "hostname && uptime"
80
+ * \\"commandToExecute\\": \\"hostname && uptime\\"
81
81
  * }
82
82
  * `,
83
83
  * tags: {
@@ -4,6 +4,87 @@ 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
+ * import * as std from "@pulumi/std";
11
+ *
12
+ * const example = new azure.core.ResourceGroup("example", {
13
+ * name: "example-resources",
14
+ * location: "West Europe",
15
+ * });
16
+ * const exampleZone = new azure.dns.Zone("example", {
17
+ * name: "contoso.com",
18
+ * resourceGroupName: example.name,
19
+ * });
20
+ * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
21
+ * name: "example",
22
+ * location: example.location,
23
+ * resourceGroupName: example.name,
24
+ * sku: "PerGB2018",
25
+ * retentionInDays: 30,
26
+ * });
27
+ * const exampleEnvironment = new azure.containerapp.Environment("example", {
28
+ * name: "Example-Environment",
29
+ * location: example.location,
30
+ * resourceGroupName: example.name,
31
+ * logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
32
+ * });
33
+ * const exampleApp = new azure.containerapp.App("example", {
34
+ * name: "example-app",
35
+ * containerAppEnvironmentId: exampleEnvironment.id,
36
+ * resourceGroupName: example.name,
37
+ * revisionMode: "Single",
38
+ * template: {
39
+ * containers: [{
40
+ * name: "examplecontainerapp",
41
+ * image: "mcr.microsoft.com/k8se/quickstart:latest",
42
+ * cpu: 0.25,
43
+ * memory: "0.5Gi",
44
+ * }],
45
+ * },
46
+ * ingress: {
47
+ * allowInsecureConnections: false,
48
+ * externalEnabled: true,
49
+ * targetPort: 5000,
50
+ * transport: "http",
51
+ * trafficWeights: [{
52
+ * latestRevision: true,
53
+ * percentage: 100,
54
+ * }],
55
+ * },
56
+ * });
57
+ * const exampleTxtRecord = new azure.dns.TxtRecord("example", {
58
+ * name: "asuid.example",
59
+ * resourceGroupName: exampleZone.resourceGroupName,
60
+ * zoneName: exampleZone.name,
61
+ * ttl: 300,
62
+ * records: [{
63
+ * value: exampleApp.customDomainVerificationId,
64
+ * }],
65
+ * });
66
+ * const exampleEnvironmentCertificate = new azure.containerapp.EnvironmentCertificate("example", {
67
+ * name: "myfriendlyname",
68
+ * containerAppEnvironmentId: exampleEnvironment.id,
69
+ * certificateBlob: std.filebase64({
70
+ * input: "path/to/certificate_file.pfx",
71
+ * }).then(invoke => invoke.result),
72
+ * certificatePassword: "$3cretSqu1rreL",
73
+ * });
74
+ * const exampleCustomDomain = new azure.containerapp.CustomDomain("example", {
75
+ * name: std.trimprefix({
76
+ * input: api.fqdn,
77
+ * prefix: "asuid.",
78
+ * }).then(invoke => std.trimsuffix({
79
+ * input: invoke.result,
80
+ * suffix: ".",
81
+ * })).then(invoke => invoke.result),
82
+ * containerAppId: exampleApp.id,
83
+ * containerAppEnvironmentCertificateId: exampleEnvironmentCertificate.id,
84
+ * certificateBindingType: "SniEnabled",
85
+ * });
86
+ * ```
87
+ *
7
88
  * ### Managed Certificate
8
89
  *
9
90
  * ```typescript
@@ -10,6 +10,87 @@ 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
+ * import * as std from "@pulumi/std";
17
+ *
18
+ * const example = new azure.core.ResourceGroup("example", {
19
+ * name: "example-resources",
20
+ * location: "West Europe",
21
+ * });
22
+ * const exampleZone = new azure.dns.Zone("example", {
23
+ * name: "contoso.com",
24
+ * resourceGroupName: example.name,
25
+ * });
26
+ * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
27
+ * name: "example",
28
+ * location: example.location,
29
+ * resourceGroupName: example.name,
30
+ * sku: "PerGB2018",
31
+ * retentionInDays: 30,
32
+ * });
33
+ * const exampleEnvironment = new azure.containerapp.Environment("example", {
34
+ * name: "Example-Environment",
35
+ * location: example.location,
36
+ * resourceGroupName: example.name,
37
+ * logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
38
+ * });
39
+ * const exampleApp = new azure.containerapp.App("example", {
40
+ * name: "example-app",
41
+ * containerAppEnvironmentId: exampleEnvironment.id,
42
+ * resourceGroupName: example.name,
43
+ * revisionMode: "Single",
44
+ * template: {
45
+ * containers: [{
46
+ * name: "examplecontainerapp",
47
+ * image: "mcr.microsoft.com/k8se/quickstart:latest",
48
+ * cpu: 0.25,
49
+ * memory: "0.5Gi",
50
+ * }],
51
+ * },
52
+ * ingress: {
53
+ * allowInsecureConnections: false,
54
+ * externalEnabled: true,
55
+ * targetPort: 5000,
56
+ * transport: "http",
57
+ * trafficWeights: [{
58
+ * latestRevision: true,
59
+ * percentage: 100,
60
+ * }],
61
+ * },
62
+ * });
63
+ * const exampleTxtRecord = new azure.dns.TxtRecord("example", {
64
+ * name: "asuid.example",
65
+ * resourceGroupName: exampleZone.resourceGroupName,
66
+ * zoneName: exampleZone.name,
67
+ * ttl: 300,
68
+ * records: [{
69
+ * value: exampleApp.customDomainVerificationId,
70
+ * }],
71
+ * });
72
+ * const exampleEnvironmentCertificate = new azure.containerapp.EnvironmentCertificate("example", {
73
+ * name: "myfriendlyname",
74
+ * containerAppEnvironmentId: exampleEnvironment.id,
75
+ * certificateBlob: std.filebase64({
76
+ * input: "path/to/certificate_file.pfx",
77
+ * }).then(invoke => invoke.result),
78
+ * certificatePassword: "$3cretSqu1rreL",
79
+ * });
80
+ * const exampleCustomDomain = new azure.containerapp.CustomDomain("example", {
81
+ * name: std.trimprefix({
82
+ * input: api.fqdn,
83
+ * prefix: "asuid.",
84
+ * }).then(invoke => std.trimsuffix({
85
+ * input: invoke.result,
86
+ * suffix: ".",
87
+ * })).then(invoke => invoke.result),
88
+ * containerAppId: exampleApp.id,
89
+ * containerAppEnvironmentCertificateId: exampleEnvironmentCertificate.id,
90
+ * certificateBindingType: "SniEnabled",
91
+ * });
92
+ * ```
93
+ *
13
94
  * ### Managed Certificate
14
95
  *
15
96
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../../containerapp/customDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,C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A2C,CAAC;YACnH,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,sCAAsC,CAAC,GAAG,IAAI,EAAE,oCAAoC,CAAC;YACpG,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,6CAA6C,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AApFL,oCAqFC;AAvEG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
@@ -6,6 +6,48 @@ 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-resource-group",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleRegistry = new azure.containerservice.Registry("example", {
18
+ * name: "example-registry",
19
+ * resourceGroupName: example.name,
20
+ * location: example.location,
21
+ * sku: "Basic",
22
+ * adminEnabled: false,
23
+ * georeplicationLocations: [
24
+ * "East US",
25
+ * "West Europe",
26
+ * ],
27
+ * });
28
+ * const exampleRegistryScopeMap = new azure.containerservice.RegistryScopeMap("example", {
29
+ * name: "example-scope-map",
30
+ * containerRegistryName: exampleRegistry.name,
31
+ * resourceGroupName: example.name,
32
+ * actions: [
33
+ * "repositories/repo1/content/read",
34
+ * "repositories/repo1/content/write",
35
+ * ],
36
+ * });
37
+ * const exampleRegistryToken = new azure.containerservice.RegistryToken("example", {
38
+ * name: "exampletoken",
39
+ * containerRegistryName: exampleRegistry.name,
40
+ * resourceGroupName: example.name,
41
+ * scopeMapId: exampleRegistryScopeMap.id,
42
+ * });
43
+ * const exampleTokenPassword = new azure.containerservice.TokenPassword("example", {
44
+ * containerRegistryTokenId: exampleRegistryToken.id,
45
+ * password1: {
46
+ * expiry: "2023-03-22T17:57:36+08:00",
47
+ * },
48
+ * });
49
+ * ```
50
+ *
9
51
  * ## API Providers
10
52
  *
11
53
  * <!-- This section is generated, changes will be overwritten -->
@@ -10,6 +10,48 @@ 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-resource-group",
19
+ * location: "West Europe",
20
+ * });
21
+ * const exampleRegistry = new azure.containerservice.Registry("example", {
22
+ * name: "example-registry",
23
+ * resourceGroupName: example.name,
24
+ * location: example.location,
25
+ * sku: "Basic",
26
+ * adminEnabled: false,
27
+ * georeplicationLocations: [
28
+ * "East US",
29
+ * "West Europe",
30
+ * ],
31
+ * });
32
+ * const exampleRegistryScopeMap = new azure.containerservice.RegistryScopeMap("example", {
33
+ * name: "example-scope-map",
34
+ * containerRegistryName: exampleRegistry.name,
35
+ * resourceGroupName: example.name,
36
+ * actions: [
37
+ * "repositories/repo1/content/read",
38
+ * "repositories/repo1/content/write",
39
+ * ],
40
+ * });
41
+ * const exampleRegistryToken = new azure.containerservice.RegistryToken("example", {
42
+ * name: "exampletoken",
43
+ * containerRegistryName: exampleRegistry.name,
44
+ * resourceGroupName: example.name,
45
+ * scopeMapId: exampleRegistryScopeMap.id,
46
+ * });
47
+ * const exampleTokenPassword = new azure.containerservice.TokenPassword("example", {
48
+ * containerRegistryTokenId: exampleRegistryToken.id,
49
+ * password1: {
50
+ * expiry: "2023-03-22T17:57:36+08:00",
51
+ * },
52
+ * });
53
+ * ```
54
+ *
13
55
  * ## API Providers
14
56
  *
15
57
  * <!-- This section is generated, changes will be overwritten -->
@@ -1 +1 @@
1
- {"version":3,"file":"tokenPassword.js","sourceRoot":"","sources":["../../containerservice/tokenPassword.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;IAuBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK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wB,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;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;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,oDAAoD,CAAC"}
@@ -1,6 +1,23 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to access information about an existing Resource Group Template Deployment.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ * import * as std from "@pulumi/std";
11
+ *
12
+ * const example = azure.core.getResourceGroupTemplateDeployment({
13
+ * name: "existing",
14
+ * resourceGroupName: "existing",
15
+ * });
16
+ * export const id = example.then(example => example.id);
17
+ * export const exampleOutput = example.then(example => std.jsondecode({
18
+ * input: example.outputContent,
19
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
20
+ * ```
4
21
  */
5
22
  export declare function getResourceGroupTemplateDeployment(args: GetResourceGroupTemplateDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceGroupTemplateDeploymentResult>;
6
23
  /**
@@ -33,6 +50,23 @@ export interface GetResourceGroupTemplateDeploymentResult {
33
50
  }
34
51
  /**
35
52
  * Use this data source to access information about an existing Resource Group Template Deployment.
53
+ *
54
+ * ## Example Usage
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as azure from "@pulumi/azure";
59
+ * import * as std from "@pulumi/std";
60
+ *
61
+ * const example = azure.core.getResourceGroupTemplateDeployment({
62
+ * name: "existing",
63
+ * resourceGroupName: "existing",
64
+ * });
65
+ * export const id = example.then(example => example.id);
66
+ * export const exampleOutput = example.then(example => std.jsondecode({
67
+ * input: example.outputContent,
68
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
69
+ * ```
36
70
  */
37
71
  export declare function getResourceGroupTemplateDeploymentOutput(args: GetResourceGroupTemplateDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceGroupTemplateDeploymentResult>;
38
72
  /**
@@ -7,6 +7,23 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Use this data source to access information about an existing Resource Group Template Deployment.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ * import * as std from "@pulumi/std";
17
+ *
18
+ * const example = azure.core.getResourceGroupTemplateDeployment({
19
+ * name: "existing",
20
+ * resourceGroupName: "existing",
21
+ * });
22
+ * export const id = example.then(example => example.id);
23
+ * export const exampleOutput = example.then(example => std.jsondecode({
24
+ * input: example.outputContent,
25
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
26
+ * ```
10
27
  */
11
28
  function getResourceGroupTemplateDeployment(args, opts) {
12
29
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +35,23 @@ function getResourceGroupTemplateDeployment(args, opts) {
18
35
  exports.getResourceGroupTemplateDeployment = getResourceGroupTemplateDeployment;
19
36
  /**
20
37
  * Use this data source to access information about an existing Resource Group Template Deployment.
38
+ *
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as azure from "@pulumi/azure";
44
+ * import * as std from "@pulumi/std";
45
+ *
46
+ * const example = azure.core.getResourceGroupTemplateDeployment({
47
+ * name: "existing",
48
+ * resourceGroupName: "existing",
49
+ * });
50
+ * export const id = example.then(example => example.id);
51
+ * export const exampleOutput = example.then(example => std.jsondecode({
52
+ * input: example.outputContent,
53
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
54
+ * ```
21
55
  */
22
56
  function getResourceGroupTemplateDeploymentOutput(args, opts) {
23
57
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getResourceGroupTemplateDeployment.js","sourceRoot":"","sources":["../../core/getResourceGroupTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC;AA+BD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4FAMC"}
1
+ {"version":3,"file":"getResourceGroupTemplateDeployment.js","sourceRoot":"","sources":["../../core/getResourceGroupTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC;AA+BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4FAMC"}
@@ -1,6 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to access information about an existing Subscription Template Deployment.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ * import * as std from "@pulumi/std";
11
+ *
12
+ * const example = azure.core.getSubscriptionTemplateDeployment({
13
+ * name: "existing",
14
+ * });
15
+ * export const id = example.then(example => example.id);
16
+ * export const exampleOutput = example.then(example => std.jsondecode({
17
+ * input: example.outputContent,
18
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
19
+ * ```
4
20
  */
5
21
  export declare function getSubscriptionTemplateDeployment(args: GetSubscriptionTemplateDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetSubscriptionTemplateDeploymentResult>;
6
22
  /**
@@ -28,6 +44,22 @@ export interface GetSubscriptionTemplateDeploymentResult {
28
44
  }
29
45
  /**
30
46
  * Use this data source to access information about an existing Subscription Template Deployment.
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as azure from "@pulumi/azure";
53
+ * import * as std from "@pulumi/std";
54
+ *
55
+ * const example = azure.core.getSubscriptionTemplateDeployment({
56
+ * name: "existing",
57
+ * });
58
+ * export const id = example.then(example => example.id);
59
+ * export const exampleOutput = example.then(example => std.jsondecode({
60
+ * input: example.outputContent,
61
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
62
+ * ```
31
63
  */
32
64
  export declare function getSubscriptionTemplateDeploymentOutput(args: GetSubscriptionTemplateDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSubscriptionTemplateDeploymentResult>;
33
65
  /**
@@ -7,6 +7,22 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Use this data source to access information about an existing Subscription Template Deployment.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ * import * as std from "@pulumi/std";
17
+ *
18
+ * const example = azure.core.getSubscriptionTemplateDeployment({
19
+ * name: "existing",
20
+ * });
21
+ * export const id = example.then(example => example.id);
22
+ * export const exampleOutput = example.then(example => std.jsondecode({
23
+ * input: example.outputContent,
24
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
25
+ * ```
10
26
  */
11
27
  function getSubscriptionTemplateDeployment(args, opts) {
12
28
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +33,22 @@ function getSubscriptionTemplateDeployment(args, opts) {
17
33
  exports.getSubscriptionTemplateDeployment = getSubscriptionTemplateDeployment;
18
34
  /**
19
35
  * Use this data source to access information about an existing Subscription Template Deployment.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as azure from "@pulumi/azure";
42
+ * import * as std from "@pulumi/std";
43
+ *
44
+ * const example = azure.core.getSubscriptionTemplateDeployment({
45
+ * name: "existing",
46
+ * });
47
+ * export const id = example.then(example => example.id);
48
+ * export const exampleOutput = example.then(example => std.jsondecode({
49
+ * input: example.outputContent,
50
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
51
+ * ```
20
52
  */
21
53
  function getSubscriptionTemplateDeploymentOutput(args, opts) {
22
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getSubscriptionTemplateDeployment.js","sourceRoot":"","sources":["../../core/getSubscriptionTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC;AA0BD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0FAKC"}
1
+ {"version":3,"file":"getSubscriptionTemplateDeployment.js","sourceRoot":"","sources":["../../core/getSubscriptionTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0FAKC"}
@@ -1,6 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to access information about an existing Tenant Template Deployment.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ * import * as std from "@pulumi/std";
11
+ *
12
+ * const example = azure.core.getTenantTemplateDeployment({
13
+ * name: "existing",
14
+ * });
15
+ * export const id = example.then(example => example.id);
16
+ * export const exampleOutput = example.then(example => std.jsondecode({
17
+ * input: example.outputContent,
18
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
19
+ * ```
4
20
  */
5
21
  export declare function getTenantTemplateDeployment(args: GetTenantTemplateDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetTenantTemplateDeploymentResult>;
6
22
  /**
@@ -28,6 +44,22 @@ export interface GetTenantTemplateDeploymentResult {
28
44
  }
29
45
  /**
30
46
  * Use this data source to access information about an existing Tenant Template Deployment.
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as azure from "@pulumi/azure";
53
+ * import * as std from "@pulumi/std";
54
+ *
55
+ * const example = azure.core.getTenantTemplateDeployment({
56
+ * name: "existing",
57
+ * });
58
+ * export const id = example.then(example => example.id);
59
+ * export const exampleOutput = example.then(example => std.jsondecode({
60
+ * input: example.outputContent,
61
+ * })).then(invoke => invoke.result?.exampleOutput?.value);
62
+ * ```
31
63
  */
32
64
  export declare function getTenantTemplateDeploymentOutput(args: GetTenantTemplateDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTenantTemplateDeploymentResult>;
33
65
  /**