@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
@@ -10,65 +10,6 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * > **Note:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:
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: "accexample-rg",
22
- * location: "West Europe",
23
- * });
24
- * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
25
- * name: "example-vnet",
26
- * location: exampleResourceGroup.location,
27
- * resourceGroupName: exampleResourceGroup.name,
28
- * addressSpaces: ["10.0.0.0/16"],
29
- * });
30
- * const exampleSubnet = new azure.network.Subnet("example", {
31
- * name: "example-subnet",
32
- * resourceGroupName: exampleResourceGroup.name,
33
- * virtualNetworkName: exampleVirtualNetwork.name,
34
- * addressPrefixes: ["10.0.1.0/24"],
35
- * });
36
- * const example = azuread.getServicePrincipal({
37
- * displayName: "Azure Cosmos DB",
38
- * });
39
- * const exampleAssignment = new azure.authorization.Assignment("example", {
40
- * scope: exampleVirtualNetwork.id,
41
- * roleDefinitionName: "Network Contributor",
42
- * principalId: example.then(example => example.objectId),
43
- * });
44
- * const exampleCassandraCluster = new azure.cosmosdb.CassandraCluster("example", {
45
- * name: "example-cluster",
46
- * resourceGroupName: exampleResourceGroup.name,
47
- * location: exampleResourceGroup.location,
48
- * delegatedManagementSubnetId: exampleSubnet.id,
49
- * defaultAdminPassword: "Password1234",
50
- * }, {
51
- * dependsOn: [exampleAssignment],
52
- * });
53
- * const exampleCassandraDatacenter = new azure.cosmosdb.CassandraDatacenter("example", {
54
- * name: "example-datacenter",
55
- * location: exampleCassandraCluster.location,
56
- * cassandraClusterId: exampleCassandraCluster.id,
57
- * delegatedManagementSubnetId: exampleSubnet.id,
58
- * nodeCount: 3,
59
- * diskCount: 4,
60
- * skuName: "Standard_DS14_v2",
61
- * availabilityZonesEnabled: false,
62
- * });
63
- * ```
64
- *
65
- * ## API Providers
66
- *
67
- * <!-- This section is generated, changes will be overwritten -->
68
- * This resource uses the following Azure API Providers:
69
- *
70
- * * `Microsoft.DocumentDB` - 2023-04-15
71
- *
72
13
  * ## Import
73
14
  *
74
15
  * Cassandra Datacenters can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"cassandraDatacenter.js","sourceRoot":"","sources":["../../cosm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AC;;AArIL,kDAsIC;AAxHG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
@@ -4,6 +4,34 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = azure.cosmosdb.getAccount({
12
+ * name: "tfex-cosmosdb-account",
13
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
14
+ * });
15
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
16
+ * name: "tfex-cosmos-db",
17
+ * resourceGroupName: example.then(example => example.resourceGroupName),
18
+ * accountName: example.then(example => example.name),
19
+ * throughput: 400,
20
+ * });
21
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
22
+ * name: "example-container",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * databaseName: exampleSqlDatabase.name,
26
+ * partitionKeyPath: "/id",
27
+ * });
28
+ * const exampleSqlFunction = new azure.cosmosdb.SqlFunction("example", {
29
+ * name: "test-function",
30
+ * containerId: exampleSqlContainer.id,
31
+ * body: "function trigger(){}",
32
+ * });
33
+ * ```
34
+ *
7
35
  * ## Import
8
36
  *
9
37
  * SQL User Defined Functions can be imported using the `resource id`, e.g.
@@ -10,6 +10,34 @@ 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 = azure.cosmosdb.getAccount({
18
+ * name: "tfex-cosmosdb-account",
19
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
20
+ * });
21
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
22
+ * name: "tfex-cosmos-db",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * throughput: 400,
26
+ * });
27
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
28
+ * name: "example-container",
29
+ * resourceGroupName: example.then(example => example.resourceGroupName),
30
+ * accountName: example.then(example => example.name),
31
+ * databaseName: exampleSqlDatabase.name,
32
+ * partitionKeyPath: "/id",
33
+ * });
34
+ * const exampleSqlFunction = new azure.cosmosdb.SqlFunction("example", {
35
+ * name: "test-function",
36
+ * containerId: exampleSqlContainer.id,
37
+ * body: "function trigger(){}",
38
+ * });
39
+ * ```
40
+ *
13
41
  * ## Import
14
42
  *
15
43
  * SQL User Defined Functions can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"sqlFunction.js","sourceRoot":"","sources":["../../cosmosdb/sqlFunction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,E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AG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvEL,kCAwEC;AA1DG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -4,6 +4,37 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = azure.cosmosdb.getAccount({
12
+ * name: "tfex-cosmosdb-account",
13
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
14
+ * });
15
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
16
+ * name: "tfex-cosmos-db",
17
+ * resourceGroupName: example.then(example => example.resourceGroupName),
18
+ * accountName: example.then(example => example.name),
19
+ * throughput: 400,
20
+ * });
21
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
22
+ * name: "example-container",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * databaseName: exampleSqlDatabase.name,
26
+ * partitionKeyPath: "/id",
27
+ * });
28
+ * const exampleSqlStoredProcedure = new azure.cosmosdb.SqlStoredProcedure("example", {
29
+ * name: "test-stored-proc",
30
+ * resourceGroupName: example.then(example => example.resourceGroupName),
31
+ * accountName: example.then(example => example.name),
32
+ * databaseName: exampleSqlDatabase.name,
33
+ * containerName: exampleSqlContainer.name,
34
+ * body: " function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }\n",
35
+ * });
36
+ * ```
37
+ *
7
38
  * ## Import
8
39
  *
9
40
  * CosmosDB SQL Stored Procedures can be imported using the `resource id`, e.g.
@@ -10,6 +10,37 @@ 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 = azure.cosmosdb.getAccount({
18
+ * name: "tfex-cosmosdb-account",
19
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
20
+ * });
21
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
22
+ * name: "tfex-cosmos-db",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * throughput: 400,
26
+ * });
27
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
28
+ * name: "example-container",
29
+ * resourceGroupName: example.then(example => example.resourceGroupName),
30
+ * accountName: example.then(example => example.name),
31
+ * databaseName: exampleSqlDatabase.name,
32
+ * partitionKeyPath: "/id",
33
+ * });
34
+ * const exampleSqlStoredProcedure = new azure.cosmosdb.SqlStoredProcedure("example", {
35
+ * name: "test-stored-proc",
36
+ * resourceGroupName: example.then(example => example.resourceGroupName),
37
+ * accountName: example.then(example => example.name),
38
+ * databaseName: exampleSqlDatabase.name,
39
+ * containerName: exampleSqlContainer.name,
40
+ * body: " function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }\n",
41
+ * });
42
+ * ```
43
+ *
13
44
  * ## Import
14
45
  *
15
46
  * CosmosDB SQL Stored Procedures can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"sqlStoredProcedure.js","sourceRoot":"","sources":["../../cosmosdb/sqlStoredProcedure.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;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DAmGC;AArFG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -4,6 +4,36 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = azure.cosmosdb.getAccount({
12
+ * name: "tfex-cosmosdb-account",
13
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
14
+ * });
15
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
16
+ * name: "tfex-cosmos-db",
17
+ * resourceGroupName: example.then(example => example.resourceGroupName),
18
+ * accountName: example.then(example => example.name),
19
+ * throughput: 400,
20
+ * });
21
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
22
+ * name: "example-container",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * databaseName: exampleSqlDatabase.name,
26
+ * partitionKeyPath: "/id",
27
+ * });
28
+ * const exampleSqlTrigger = new azure.cosmosdb.SqlTrigger("example", {
29
+ * name: "test-trigger",
30
+ * containerId: exampleSqlContainer.id,
31
+ * body: "function trigger(){}",
32
+ * operation: "Delete",
33
+ * type: "Post",
34
+ * });
35
+ * ```
36
+ *
7
37
  * ## Import
8
38
  *
9
39
  * SQL Triggers can be imported using the `resource id`, e.g.
@@ -10,6 +10,36 @@ 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 = azure.cosmosdb.getAccount({
18
+ * name: "tfex-cosmosdb-account",
19
+ * resourceGroupName: "tfex-cosmosdb-account-rg",
20
+ * });
21
+ * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
22
+ * name: "tfex-cosmos-db",
23
+ * resourceGroupName: example.then(example => example.resourceGroupName),
24
+ * accountName: example.then(example => example.name),
25
+ * throughput: 400,
26
+ * });
27
+ * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
28
+ * name: "example-container",
29
+ * resourceGroupName: example.then(example => example.resourceGroupName),
30
+ * accountName: example.then(example => example.name),
31
+ * databaseName: exampleSqlDatabase.name,
32
+ * partitionKeyPath: "/id",
33
+ * });
34
+ * const exampleSqlTrigger = new azure.cosmosdb.SqlTrigger("example", {
35
+ * name: "test-trigger",
36
+ * containerId: exampleSqlContainer.id,
37
+ * body: "function trigger(){}",
38
+ * operation: "Delete",
39
+ * type: "Post",
40
+ * });
41
+ * ```
42
+ *
13
43
  * ## Import
14
44
  *
15
45
  * SQL Triggers can be imported using the `resource id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"sqlTrigger.js","sourceRoot":"","sources":["../../cosmosdb/sqlTrigger.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IA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oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzFL,gCA0FC;AA5EG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
@@ -35,7 +35,7 @@ import * as outputs from "../types/output";
35
35
  * dataFactoryId: exampleFactory.id,
36
36
  * type: "AzureBlobStorage",
37
37
  * typePropertiesJson: pulumi.interpolate`{
38
- * "connectionString":"${exampleAccount.primaryConnectionString}"
38
+ * \"connectionString\":\"${exampleAccount.primaryConnectionString}\"
39
39
  * }
40
40
  * `,
41
41
  * });
@@ -55,13 +55,13 @@ import * as outputs from "../types/output";
55
55
  * },
56
56
  * },
57
57
  * typePropertiesJson: pulumi.interpolate`{
58
- * "location": {
59
- * "container":"${exampleContainer.name}",
60
- * "fileName":"foo.txt",
61
- * "folderPath": "foo/bar/",
62
- * "type":"AzureBlobStorageLocation"
58
+ * \"location\": {
59
+ * \"container\":\"${exampleContainer.name}\",
60
+ * \"fileName\":\"foo.txt\",
61
+ * \"folderPath\": \"foo/bar/\",
62
+ * \"type\":\"AzureBlobStorageLocation\"
63
63
  * },
64
- * "encodingName":"UTF-8"
64
+ * \"encodingName\":\"UTF-8\"
65
65
  * }
66
66
  * `,
67
67
  * description: "test description",
@@ -80,21 +80,21 @@ import * as outputs from "../types/output";
80
80
  * bar: "test2",
81
81
  * },
82
82
  * schemaJson: `{
83
- * "type": "object",
84
- * "properties": {
85
- * "name": {
86
- * "type": "object",
87
- * "properties": {
88
- * "firstName": {
89
- * "type": "string"
83
+ * \\"type\\": \\"object\\",
84
+ * \\"properties\\": {
85
+ * \\"name\\": {
86
+ * \\"type\\": \\"object\\",
87
+ * \\"properties\\": {
88
+ * \\"firstName\\": {
89
+ * \\"type\\": \\"string\\"
90
90
  * },
91
- * "lastName": {
92
- * "type": "string"
91
+ * \\"lastName\\": {
92
+ * \\"type\\": \\"string\\"
93
93
  * }
94
94
  * }
95
95
  * },
96
- * "age": {
97
- * "type": "integer"
96
+ * \\"age\\": {
97
+ * \\"type\\": \\"integer\\"
98
98
  * }
99
99
  * }
100
100
  * }
@@ -39,7 +39,7 @@ const utilities = require("../utilities");
39
39
  * dataFactoryId: exampleFactory.id,
40
40
  * type: "AzureBlobStorage",
41
41
  * typePropertiesJson: pulumi.interpolate`{
42
- * "connectionString":"${exampleAccount.primaryConnectionString}"
42
+ * \"connectionString\":\"${exampleAccount.primaryConnectionString}\"
43
43
  * }
44
44
  * `,
45
45
  * });
@@ -59,13 +59,13 @@ const utilities = require("../utilities");
59
59
  * },
60
60
  * },
61
61
  * typePropertiesJson: pulumi.interpolate`{
62
- * "location": {
63
- * "container":"${exampleContainer.name}",
64
- * "fileName":"foo.txt",
65
- * "folderPath": "foo/bar/",
66
- * "type":"AzureBlobStorageLocation"
62
+ * \"location\": {
63
+ * \"container\":\"${exampleContainer.name}\",
64
+ * \"fileName\":\"foo.txt\",
65
+ * \"folderPath\": \"foo/bar/\",
66
+ * \"type\":\"AzureBlobStorageLocation\"
67
67
  * },
68
- * "encodingName":"UTF-8"
68
+ * \"encodingName\":\"UTF-8\"
69
69
  * }
70
70
  * `,
71
71
  * description: "test description",
@@ -84,21 +84,21 @@ const utilities = require("../utilities");
84
84
  * bar: "test2",
85
85
  * },
86
86
  * schemaJson: `{
87
- * "type": "object",
88
- * "properties": {
89
- * "name": {
90
- * "type": "object",
91
- * "properties": {
92
- * "firstName": {
93
- * "type": "string"
87
+ * \\"type\\": \\"object\\",
88
+ * \\"properties\\": {
89
+ * \\"name\\": {
90
+ * \\"type\\": \\"object\\",
91
+ * \\"properties\\": {
92
+ * \\"firstName\\": {
93
+ * \\"type\\": \\"string\\"
94
94
  * },
95
- * "lastName": {
96
- * "type": "string"
95
+ * \\"lastName\\": {
96
+ * \\"type\\": \\"string\\"
97
97
  * }
98
98
  * }
99
99
  * },
100
- * "age": {
101
- * "type": "integer"
100
+ * \\"age\\": {
101
+ * \\"type\\": \\"integer\\"
102
102
  * }
103
103
  * }
104
104
  * }
@@ -31,7 +31,7 @@ import * as outputs from "../types/output";
31
31
  * dataFactoryId: exampleFactory.id,
32
32
  * type: "AzureBlobStorage",
33
33
  * typePropertiesJson: pulumi.interpolate`{
34
- * "connectionString": "${exampleAccount.primaryConnectionString}"
34
+ * \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
35
35
  * }
36
36
  * `,
37
37
  * });
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
35
35
  * dataFactoryId: exampleFactory.id,
36
36
  * type: "AzureBlobStorage",
37
37
  * typePropertiesJson: pulumi.interpolate`{
38
- * "connectionString": "${exampleAccount.primaryConnectionString}"
38
+ * \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
39
39
  * }
40
40
  * `,
41
41
  * });
@@ -31,7 +31,7 @@ import * as outputs from "../types/output";
31
31
  * dataFactoryId: exampleFactory.id,
32
32
  * type: "AzureBlobStorage",
33
33
  * typePropertiesJson: pulumi.interpolate`{
34
- * "connectionString": "${exampleAccount.primaryConnectionString}"
34
+ * \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
35
35
  * }
36
36
  * `,
37
37
  * });
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
35
35
  * dataFactoryId: exampleFactory.id,
36
36
  * type: "AzureBlobStorage",
37
37
  * typePropertiesJson: pulumi.interpolate`{
38
- * "connectionString": "${exampleAccount.primaryConnectionString}"
38
+ * \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
39
39
  * }
40
40
  * `,
41
41
  * });
@@ -36,7 +36,7 @@ import * as outputs from "../types/output";
36
36
  * type: "AzureBlobStorage",
37
37
  * description: "test description",
38
38
  * typePropertiesJson: pulumi.interpolate`{
39
- * "connectionString":"${exampleAccount.primaryConnectionString}"
39
+ * \"connectionString\":\"${exampleAccount.primaryConnectionString}\"
40
40
  * }
41
41
  * `,
42
42
  * parameters: {
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
40
40
  * type: "AzureBlobStorage",
41
41
  * description: "test description",
42
42
  * typePropertiesJson: pulumi.interpolate`{
43
- * "connectionString":"${exampleAccount.primaryConnectionString}"
43
+ * \"connectionString\":\"${exampleAccount.primaryConnectionString}\"
44
44
  * }
45
45
  * `,
46
46
  * parameters: {
@@ -37,13 +37,13 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  * },
38
38
  * activitiesJson: `[
39
39
  * {
40
- * "name": "Append variable1",
41
- * "type": "AppendVariable",
42
- * "dependsOn": [],
43
- * "userProperties": [],
44
- * "typeProperties": {
45
- * "variableName": "bob",
46
- * "value": "something"
40
+ * \\"name\\": \\"Append variable1\\",
41
+ * \\"type\\": \\"AppendVariable\\",
42
+ * \\"dependsOn\\": [],
43
+ * \\"userProperties\\": [],
44
+ * \\"typeProperties\\": {
45
+ * \\"variableName\\": \\"bob\\",
46
+ * \\"value\\": \\"something\\"
47
47
  * }
48
48
  * }
49
49
  * ]
@@ -43,13 +43,13 @@ const utilities = require("../utilities");
43
43
  * },
44
44
  * activitiesJson: `[
45
45
  * {
46
- * "name": "Append variable1",
47
- * "type": "AppendVariable",
48
- * "dependsOn": [],
49
- * "userProperties": [],
50
- * "typeProperties": {
51
- * "variableName": "bob",
52
- * "value": "something"
46
+ * \\"name\\": \\"Append variable1\\",
47
+ * \\"type\\": \\"AppendVariable\\",
48
+ * \\"dependsOn\\": [],
49
+ * \\"userProperties\\": [],
50
+ * \\"typeProperties\\": {
51
+ * \\"variableName\\": \\"bob\\",
52
+ * \\"value\\": \\"something\\"
53
53
  * }
54
54
  * }
55
55
  * ]
@@ -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-resources",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleBackupVault = new azure.dataprotection.BackupVault("example", {
18
+ * name: "example-backup-vault",
19
+ * resourceGroupName: example.name,
20
+ * location: example.location,
21
+ * datastoreType: "VaultStore",
22
+ * redundancy: "LocallyRedundant",
23
+ * });
24
+ * const exampleBackupPolicyKubernetesCluster = new azure.dataprotection.BackupPolicyKubernetesCluster("example", {
25
+ * name: "example-backup-policy",
26
+ * resourceGroupName: example.name,
27
+ * vaultName: exampleBackupVault.name,
28
+ * backupRepeatingTimeIntervals: ["R/2021-05-23T02:30:00+00:00/P1W"],
29
+ * timeZone: "India Standard Time",
30
+ * defaultRetentionDuration: "P4M",
31
+ * retentionRules: [{
32
+ * name: "Daily",
33
+ * priority: 25,
34
+ * lifeCycles: [{
35
+ * duration: "P84D",
36
+ * dataStoreType: "OperationalStore",
37
+ * }],
38
+ * criteria: {
39
+ * absoluteCriteria: "FirstOfDay",
40
+ * },
41
+ * }],
42
+ * defaultRetentionRule: {
43
+ * lifeCycles: [{
44
+ * duration: "P7D",
45
+ * dataStoreType: "OperationalStore",
46
+ * }],
47
+ * },
48
+ * });
49
+ * ```
50
+ *
9
51
  * ## API Providers
10
52
  *
11
53
  * <!-- This section is generated, changes will be overwritten -->