@pulumi/azure 4.31.0 → 4.33.0-alpha.1641858266

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 (354) hide show
  1. package/aadb2c/directory.d.ts +177 -0
  2. package/aadb2c/directory.js +114 -0
  3. package/aadb2c/directory.js.map +1 -0
  4. package/aadb2c/getDirectory.d.ts +82 -0
  5. package/aadb2c/getDirectory.js +41 -0
  6. package/aadb2c/getDirectory.js.map +1 -0
  7. package/aadb2c/index.d.ts +2 -0
  8. package/{costmanagement → aadb2c}/index.js +6 -5
  9. package/aadb2c/index.js.map +1 -0
  10. package/apimanagement/apiDiagnostic.d.ts +1 -1
  11. package/apimanagement/apiDiagnostic.js +1 -1
  12. package/apimanagement/apiSchema.d.ts +1 -1
  13. package/apimanagement/apiSchema.js +1 -1
  14. package/apimanagement/apiVersionSet.d.ts +6 -6
  15. package/apimanagement/identityProviderAadb2c.d.ts +1 -1
  16. package/apimanagement/identityProviderAadb2c.js +1 -1
  17. package/apimanagement/logger.d.ts +1 -1
  18. package/apimanagement/logger.js +1 -1
  19. package/appconfiguration/getConfigurationKey.d.ts +98 -0
  20. package/appconfiguration/getConfigurationKey.js +45 -0
  21. package/appconfiguration/getConfigurationKey.js.map +1 -0
  22. package/appconfiguration/index.d.ts +1 -0
  23. package/appconfiguration/index.js +1 -0
  24. package/appconfiguration/index.js.map +1 -1
  25. package/appplatform/springCloudCertificate.d.ts +14 -2
  26. package/appplatform/springCloudCertificate.js +2 -3
  27. package/appplatform/springCloudCertificate.js.map +1 -1
  28. package/appservice/environmentV3.d.ts +12 -55
  29. package/appservice/environmentV3.js +0 -52
  30. package/appservice/environmentV3.js.map +1 -1
  31. package/appservice/getFunctionAppHostKeys.d.ts +8 -0
  32. package/appservice/getFunctionAppHostKeys.js.map +1 -1
  33. package/appservice/index.d.ts +1 -0
  34. package/appservice/index.js +5 -0
  35. package/appservice/index.js.map +1 -1
  36. package/appservice/slotCustomHostnameBinding.d.ts +135 -0
  37. package/appservice/slotCustomHostnameBinding.js +108 -0
  38. package/appservice/slotCustomHostnameBinding.js.map +1 -0
  39. package/appservice/staticSite.d.ts +1 -1
  40. package/appservice/staticSite.js +1 -1
  41. package/blueprint/assignment.d.ts +15 -3
  42. package/blueprint/assignment.js +2 -0
  43. package/blueprint/assignment.js.map +1 -1
  44. package/cdn/endpointCustomDomain.d.ts +25 -0
  45. package/cdn/endpointCustomDomain.js +4 -0
  46. package/cdn/endpointCustomDomain.js.map +1 -1
  47. package/compute/diskPool.d.ts +170 -0
  48. package/compute/diskPool.js +119 -0
  49. package/compute/diskPool.js.map +1 -0
  50. package/compute/getSharedImageVersion.d.ts +9 -0
  51. package/compute/getSharedImageVersion.js +1 -0
  52. package/compute/getSharedImageVersion.js.map +1 -1
  53. package/compute/index.d.ts +1 -0
  54. package/compute/index.js +5 -0
  55. package/compute/index.js.map +1 -1
  56. package/compute/linuxVirtualMachine.d.ts +12 -0
  57. package/compute/linuxVirtualMachine.js +2 -0
  58. package/compute/linuxVirtualMachine.js.map +1 -1
  59. package/compute/linuxVirtualMachineScaleSet.d.ts +12 -0
  60. package/compute/linuxVirtualMachineScaleSet.js +2 -0
  61. package/compute/linuxVirtualMachineScaleSet.js.map +1 -1
  62. package/compute/managedDisk.d.ts +15 -3
  63. package/compute/managedDisk.js +2 -0
  64. package/compute/managedDisk.js.map +1 -1
  65. package/compute/windowsVirtualMachine.d.ts +12 -0
  66. package/compute/windowsVirtualMachine.js +2 -0
  67. package/compute/windowsVirtualMachine.js.map +1 -1
  68. package/compute/windowsVirtualMachineScaleSet.d.ts +12 -0
  69. package/compute/windowsVirtualMachineScaleSet.js +2 -0
  70. package/compute/windowsVirtualMachineScaleSet.js.map +1 -1
  71. package/consumption/budgetSubscription.d.ts +7 -7
  72. package/consumption/budgetSubscription.js +1 -1
  73. package/containerservice/group.d.ts +3 -3
  74. package/containerservice/index.d.ts +1 -0
  75. package/containerservice/index.js +5 -0
  76. package/containerservice/index.js.map +1 -1
  77. package/containerservice/kubernetesCluster.d.ts +3 -0
  78. package/containerservice/kubernetesCluster.js +2 -0
  79. package/containerservice/kubernetesCluster.js.map +1 -1
  80. package/containerservice/kubernetesClusterNodePool.d.ts +24 -0
  81. package/containerservice/kubernetesClusterNodePool.js +4 -0
  82. package/containerservice/kubernetesClusterNodePool.js.map +1 -1
  83. package/containerservice/registryTask.d.ts +296 -0
  84. package/containerservice/registryTask.js +125 -0
  85. package/containerservice/registryTask.js.map +1 -0
  86. package/core/resourceGroupPolicyAssignment.d.ts +12 -0
  87. package/core/resourceGroupPolicyAssignment.js +2 -0
  88. package/core/resourceGroupPolicyAssignment.js.map +1 -1
  89. package/core/resourcePolicyAssignment.d.ts +12 -0
  90. package/core/resourcePolicyAssignment.js +2 -0
  91. package/core/resourcePolicyAssignment.js.map +1 -1
  92. package/core/subscriptionPolicyAssignment.d.ts +12 -0
  93. package/core/subscriptionPolicyAssignment.js +2 -0
  94. package/core/subscriptionPolicyAssignment.js.map +1 -1
  95. package/cosmosdb/account.d.ts +25 -1
  96. package/cosmosdb/account.js +4 -0
  97. package/cosmosdb/account.js.map +1 -1
  98. package/cosmosdb/getRestorableDatabaseAccounts.d.ts +64 -0
  99. package/cosmosdb/getRestorableDatabaseAccounts.js +41 -0
  100. package/cosmosdb/getRestorableDatabaseAccounts.js.map +1 -0
  101. package/cosmosdb/index.d.ts +1 -0
  102. package/cosmosdb/index.js +1 -0
  103. package/cosmosdb/index.js.map +1 -1
  104. package/datafactory/datasetAzureBlob.d.ts +24 -6
  105. package/datafactory/datasetAzureBlob.js +4 -5
  106. package/datafactory/datasetAzureBlob.js.map +1 -1
  107. package/datafactory/datasetBinary.d.ts +24 -6
  108. package/datafactory/datasetBinary.js +4 -5
  109. package/datafactory/datasetBinary.js.map +1 -1
  110. package/datafactory/datasetCosmosDBApi.d.ts +22 -4
  111. package/datafactory/datasetCosmosDBApi.js +2 -3
  112. package/datafactory/datasetCosmosDBApi.js.map +1 -1
  113. package/datafactory/datasetDelimitedText.d.ts +24 -6
  114. package/datafactory/datasetDelimitedText.js +4 -5
  115. package/datafactory/datasetDelimitedText.js.map +1 -1
  116. package/datafactory/datasetHttp.d.ts +24 -6
  117. package/datafactory/datasetHttp.js +4 -5
  118. package/datafactory/datasetHttp.js.map +1 -1
  119. package/datafactory/datasetJson.d.ts +24 -6
  120. package/datafactory/datasetJson.js +4 -5
  121. package/datafactory/datasetJson.js.map +1 -1
  122. package/datafactory/datasetMysql.d.ts +24 -6
  123. package/datafactory/datasetMysql.js +4 -5
  124. package/datafactory/datasetMysql.js.map +1 -1
  125. package/datafactory/datasetParquet.d.ts +12 -3
  126. package/datafactory/datasetParquet.js +4 -5
  127. package/datafactory/datasetParquet.js.map +1 -1
  128. package/datafactory/datasetPostgresql.d.ts +24 -6
  129. package/datafactory/datasetPostgresql.js +4 -5
  130. package/datafactory/datasetPostgresql.js.map +1 -1
  131. package/datafactory/datasetSnowflake.d.ts +24 -6
  132. package/datafactory/datasetSnowflake.js +4 -5
  133. package/datafactory/datasetSnowflake.js.map +1 -1
  134. package/datafactory/datasetSqlServerTable.d.ts +24 -6
  135. package/datafactory/datasetSqlServerTable.js +4 -5
  136. package/datafactory/datasetSqlServerTable.js.map +1 -1
  137. package/datafactory/index.d.ts +1 -0
  138. package/datafactory/index.js +5 -0
  139. package/datafactory/index.js.map +1 -1
  140. package/datafactory/integrationRuntimeRule.d.ts +23 -5
  141. package/datafactory/integrationRuntimeRule.js +3 -4
  142. package/datafactory/integrationRuntimeRule.js.map +1 -1
  143. package/datafactory/integrationRuntimeSelfHosted.d.ts +24 -6
  144. package/datafactory/integrationRuntimeSelfHosted.js +4 -5
  145. package/datafactory/integrationRuntimeSelfHosted.js.map +1 -1
  146. package/datafactory/integrationRuntimeSsis.d.ts +23 -5
  147. package/datafactory/integrationRuntimeSsis.js +3 -4
  148. package/datafactory/integrationRuntimeSsis.js.map +1 -1
  149. package/datafactory/linkedServiceOdbc.d.ts +209 -0
  150. package/datafactory/linkedServiceOdbc.js +118 -0
  151. package/datafactory/linkedServiceOdbc.js.map +1 -0
  152. package/datafactory/pipeline.d.ts +24 -6
  153. package/datafactory/pipeline.js +4 -5
  154. package/datafactory/pipeline.js.map +1 -1
  155. package/datafactory/triggerBlobEvent.d.ts +1 -1
  156. package/datafactory/triggerBlobEvent.js +1 -1
  157. package/datafactory/triggerCustomEvent.d.ts +1 -1
  158. package/datafactory/triggerCustomEvent.js +1 -1
  159. package/datafactory/triggerSchedule.d.ts +24 -6
  160. package/datafactory/triggerSchedule.js +4 -5
  161. package/datafactory/triggerSchedule.js.map +1 -1
  162. package/dataprotection/backupInstancePostgresql.d.ts +1 -1
  163. package/dataprotection/backupInstancePostgresql.js +1 -1
  164. package/desktopvirtualization/index.d.ts +1 -0
  165. package/desktopvirtualization/index.js +5 -0
  166. package/desktopvirtualization/index.js.map +1 -1
  167. package/desktopvirtualization/scalingPlan.d.ts +268 -0
  168. package/desktopvirtualization/scalingPlan.js +183 -0
  169. package/desktopvirtualization/scalingPlan.js.map +1 -0
  170. package/eventgrid/systemTopicEventSubscription.d.ts +1 -1
  171. package/eventgrid/systemTopicEventSubscription.js +1 -1
  172. package/eventhub/namespaceAuthorizationRule.d.ts +22 -11
  173. package/eventhub/namespaceAuthorizationRule.js +3 -8
  174. package/eventhub/namespaceAuthorizationRule.js.map +1 -1
  175. package/eventhub/queue.d.ts +22 -11
  176. package/eventhub/queue.js +3 -8
  177. package/eventhub/queue.js.map +1 -1
  178. package/eventhub/queueAuthorizationRule.d.ts +27 -18
  179. package/eventhub/queueAuthorizationRule.js +4 -14
  180. package/eventhub/queueAuthorizationRule.js.map +1 -1
  181. package/eventhub/subscription.d.ts +29 -20
  182. package/eventhub/subscription.js +4 -14
  183. package/eventhub/subscription.js.map +1 -1
  184. package/eventhub/subscriptionRule.d.ts +31 -25
  185. package/eventhub/subscriptionRule.js +5 -21
  186. package/eventhub/subscriptionRule.js.map +1 -1
  187. package/eventhub/topic.d.ts +22 -14
  188. package/eventhub/topic.js +3 -8
  189. package/eventhub/topic.js.map +1 -1
  190. package/eventhub/topicAuthorizationRule.d.ts +27 -20
  191. package/eventhub/topicAuthorizationRule.js +4 -16
  192. package/eventhub/topicAuthorizationRule.js.map +1 -1
  193. package/frontdoor/rulesEngine.d.ts +8 -0
  194. package/frontdoor/rulesEngine.js +8 -0
  195. package/frontdoor/rulesEngine.js.map +1 -1
  196. package/hdinsight/hbaseCluster.d.ts +12 -0
  197. package/hdinsight/hbaseCluster.js +2 -0
  198. package/hdinsight/hbaseCluster.js.map +1 -1
  199. package/hpc/cacheBlobTarget.d.ts +1 -1
  200. package/hpc/cacheBlobTarget.js +1 -1
  201. package/hsm/module.d.ts +2 -2
  202. package/hsm/module.js +2 -2
  203. package/index.d.ts +3 -2
  204. package/index.js +7 -5
  205. package/index.js.map +1 -1
  206. package/iot/endpointEventhub.d.ts +37 -1
  207. package/iot/endpointEventhub.js +2 -3
  208. package/iot/endpointEventhub.js.map +1 -1
  209. package/iot/endpointServicebusQueue.d.ts +37 -1
  210. package/iot/endpointServicebusQueue.js +2 -3
  211. package/iot/endpointServicebusQueue.js.map +1 -1
  212. package/iot/endpointServicebusTopic.d.ts +37 -1
  213. package/iot/endpointServicebusTopic.js +2 -3
  214. package/iot/endpointServicebusTopic.js.map +1 -1
  215. package/iot/endpointStorageContainer.d.ts +28 -10
  216. package/iot/endpointStorageContainer.js +2 -3
  217. package/iot/endpointStorageContainer.js.map +1 -1
  218. package/iot/fallbackRoute.d.ts +12 -0
  219. package/iot/fallbackRoute.js +2 -0
  220. package/iot/fallbackRoute.js.map +1 -1
  221. package/iot/ioTHub.d.ts +33 -0
  222. package/iot/ioTHub.js +13 -0
  223. package/iot/ioTHub.js.map +1 -1
  224. package/iot/route.d.ts +3 -3
  225. package/loadtest/index.d.ts +1 -0
  226. package/loadtest/index.js +33 -0
  227. package/loadtest/index.js.map +1 -0
  228. package/loadtest/loadTest.d.ts +122 -0
  229. package/loadtest/loadTest.js +86 -0
  230. package/loadtest/loadTest.js.map +1 -0
  231. package/loganalytics/linkedStorageAccount.d.ts +3 -3
  232. package/logicapps/workflow.d.ts +12 -0
  233. package/logicapps/workflow.js +2 -0
  234. package/logicapps/workflow.js.map +1 -1
  235. package/management/groupPolicyAssignment.d.ts +12 -0
  236. package/management/groupPolicyAssignment.js +2 -0
  237. package/management/groupPolicyAssignment.js.map +1 -1
  238. package/maps/creator.d.ts +137 -0
  239. package/maps/creator.js +100 -0
  240. package/maps/creator.js.map +1 -0
  241. package/maps/index.d.ts +1 -0
  242. package/maps/index.js +5 -0
  243. package/maps/index.js.map +1 -1
  244. package/mariadb/virtualNetworkRule.d.ts +1 -1
  245. package/mariadb/virtualNetworkRule.js +1 -1
  246. package/media/streamingEndpoint.d.ts +1 -1
  247. package/media/streamingEndpoint.js +1 -1
  248. package/monitoring/scheduledQueryRulesAlert.d.ts +1 -1
  249. package/monitoring/scheduledQueryRulesAlert.js +1 -1
  250. package/mssql/elasticPool.d.ts +3 -3
  251. package/mssql/elasticPool.js +3 -3
  252. package/mysql/server.d.ts +3 -3
  253. package/netapp/getSnapshotPolicy.d.ts +109 -0
  254. package/netapp/getSnapshotPolicy.js +49 -0
  255. package/netapp/getSnapshotPolicy.js.map +1 -0
  256. package/netapp/index.d.ts +2 -0
  257. package/netapp/index.js +6 -0
  258. package/netapp/index.js.map +1 -1
  259. package/netapp/snapshotPolicy.d.ts +213 -0
  260. package/netapp/snapshotPolicy.js +137 -0
  261. package/netapp/snapshotPolicy.js.map +1 -0
  262. package/netapp/volume.d.ts +16 -1
  263. package/netapp/volume.js +5 -0
  264. package/netapp/volume.js.map +1 -1
  265. package/network/applicationGateway.d.ts +44 -0
  266. package/network/applicationGateway.js +8 -0
  267. package/network/applicationGateway.js.map +1 -1
  268. package/network/ddosProtectionPlan.d.ts +2 -0
  269. package/network/ddosProtectionPlan.js +2 -0
  270. package/network/ddosProtectionPlan.js.map +1 -1
  271. package/network/index.d.ts +1 -0
  272. package/network/index.js +5 -0
  273. package/network/index.js.map +1 -1
  274. package/network/subnet.d.ts +6 -6
  275. package/network/virtualHubIp.d.ts +4 -4
  276. package/network/virtualHubIp.js +1 -1
  277. package/network/virtualNetwork.d.ts +0 -12
  278. package/network/virtualNetwork.js +0 -12
  279. package/network/virtualNetwork.js.map +1 -1
  280. package/network/virtualNetworkGatewayConnection.d.ts +21 -3
  281. package/network/virtualNetworkGatewayConnection.js +2 -0
  282. package/network/virtualNetworkGatewayConnection.js.map +1 -1
  283. package/network/vnpGatewayNatRule.d.ts +173 -0
  284. package/network/vnpGatewayNatRule.js +118 -0
  285. package/network/vnpGatewayNatRule.js.map +1 -0
  286. package/package.json +2 -2
  287. package/package.json.dev +1 -1
  288. package/postgresql/flexibleServer.d.ts +12 -0
  289. package/postgresql/flexibleServer.js +2 -0
  290. package/postgresql/flexibleServer.js.map +1 -1
  291. package/recoveryservices/vault.d.ts +12 -0
  292. package/recoveryservices/vault.js +2 -0
  293. package/recoveryservices/vault.js.map +1 -1
  294. package/securitycenter/subscriptionPricing.d.ts +3 -3
  295. package/sentinel/watchlist.d.ts +1 -1
  296. package/sentinel/watchlist.js +1 -1
  297. package/servicebus/namespaceAuthorizationRule.d.ts +22 -11
  298. package/servicebus/namespaceAuthorizationRule.js +3 -8
  299. package/servicebus/namespaceAuthorizationRule.js.map +1 -1
  300. package/servicebus/namespaceNetworkRuleSet.d.ts +22 -11
  301. package/servicebus/namespaceNetworkRuleSet.js +3 -8
  302. package/servicebus/namespaceNetworkRuleSet.js.map +1 -1
  303. package/servicebus/queue.d.ts +22 -11
  304. package/servicebus/queue.js +3 -8
  305. package/servicebus/queue.js.map +1 -1
  306. package/servicebus/queueAuthorizationRule.d.ts +27 -18
  307. package/servicebus/queueAuthorizationRule.js +4 -14
  308. package/servicebus/queueAuthorizationRule.js.map +1 -1
  309. package/servicebus/subscription.d.ts +29 -20
  310. package/servicebus/subscription.js +4 -14
  311. package/servicebus/subscription.js.map +1 -1
  312. package/servicebus/subscriptionRule.d.ts +31 -25
  313. package/servicebus/subscriptionRule.js +5 -21
  314. package/servicebus/subscriptionRule.js.map +1 -1
  315. package/servicebus/topic.d.ts +22 -14
  316. package/servicebus/topic.js +3 -8
  317. package/servicebus/topic.js.map +1 -1
  318. package/servicebus/topicAuthorizationRule.d.ts +27 -20
  319. package/servicebus/topicAuthorizationRule.js +4 -16
  320. package/servicebus/topicAuthorizationRule.js.map +1 -1
  321. package/signalr/service.d.ts +15 -3
  322. package/signalr/service.js +2 -0
  323. package/signalr/service.js.map +1 -1
  324. package/siterecovery/protectionContainer.d.ts +3 -3
  325. package/siterecovery/protectionContainerMapping.d.ts +3 -3
  326. package/siterecovery/replicatedVM.d.ts +3 -3
  327. package/siterecovery/replicationPolicy.d.ts +3 -3
  328. package/sql/getSqlManagedInstance.d.ts +127 -0
  329. package/sql/getSqlManagedInstance.js +87 -0
  330. package/sql/getSqlManagedInstance.js.map +1 -0
  331. package/sql/index.d.ts +1 -0
  332. package/sql/index.js +1 -0
  333. package/sql/index.js.map +1 -1
  334. package/storage/disksPool.d.ts +19 -17
  335. package/storage/disksPool.js +4 -2
  336. package/storage/disksPool.js.map +1 -1
  337. package/storage/shareDirectory.d.ts +1 -1
  338. package/storage/shareDirectory.js +1 -1
  339. package/synapse/index.d.ts +2 -0
  340. package/synapse/index.js +10 -0
  341. package/synapse/index.js.map +1 -1
  342. package/synapse/sqlPoolWorkloadClassifier.d.ts +190 -0
  343. package/synapse/sqlPoolWorkloadClassifier.js +129 -0
  344. package/synapse/sqlPoolWorkloadClassifier.js.map +1 -0
  345. package/synapse/workspaceSqlAadAdmin.d.ts +159 -0
  346. package/synapse/workspaceSqlAadAdmin.js +144 -0
  347. package/synapse/workspaceSqlAadAdmin.js.map +1 -0
  348. package/types/input.d.ts +743 -45
  349. package/types/output.d.ts +852 -51
  350. package/costmanagement/index.d.ts +0 -1
  351. package/costmanagement/index.js.map +0 -1
  352. package/costmanagement/resourceGroupExport.d.ts +0 -176
  353. package/costmanagement/resourceGroupExport.js +0 -126
  354. package/costmanagement/resourceGroupExport.js.map +0 -1
@@ -0,0 +1,177 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages an AAD B2C Directory.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = new azure.aadb2c.Directory("example", {
12
+ * countryCode: "US",
13
+ * dataResidencyLocation: "United States",
14
+ * displayName: "example-b2c-tenant",
15
+ * domainName: "exampleb2ctenant.onmicrosoft.com",
16
+ * resourceGroupName: "example-rg",
17
+ * skuName: "PremiumP1",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * AAD B2C Directories can be imported using the `resource id`, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import azure:aadb2c/directory:Directory example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.AzureActiveDirectory/b2cDirectories/directory-name
27
+ * ```
28
+ */
29
+ export declare class Directory extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Directory resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectoryState, opts?: pulumi.CustomResourceOptions): Directory;
40
+ /**
41
+ * Returns true if the given object is an instance of Directory. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is Directory;
45
+ /**
46
+ * The type of billing for the AAD B2C tenant. Possible values include: `MAU` or `Auths`.
47
+ */
48
+ readonly billingType: pulumi.Output<string>;
49
+ /**
50
+ * Country code of the B2C tenant. The `countryCode` should be valid for the specified `dataResidencyLocation`. See [official docs](https://aka.ms/B2CDataResidency) for valid country codes. Changing this forces a new AAD B2C Directory to be created.
51
+ */
52
+ readonly countryCode: pulumi.Output<string>;
53
+ /**
54
+ * Location in which the B2C tenant is hosted and data resides. The `dataResidencyLocation` should be valid for the specified `countryCode`. See [official docs](https://aka.ms/B2CDataResidenc) for more information. Changing this forces a new AAD B2C Directory to be created.
55
+ */
56
+ readonly dataResidencyLocation: pulumi.Output<string>;
57
+ /**
58
+ * The initial display name of the B2C tenant. Changing this forces a new AAD B2C Directory to be created.
59
+ */
60
+ readonly displayName: pulumi.Output<string>;
61
+ /**
62
+ * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix. Changing this forces a new AAD B2C Directory to be created.
63
+ */
64
+ readonly domainName: pulumi.Output<string>;
65
+ /**
66
+ * The date from which the billing type took effect. May not be populated until after the first billing cycle.
67
+ */
68
+ readonly effectiveStartDate: pulumi.Output<string>;
69
+ /**
70
+ * The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
71
+ */
72
+ readonly resourceGroupName: pulumi.Output<string>;
73
+ /**
74
+ * Billing SKU for the B2C tenant. Must be one of: `PremiumP1` or `PremiumP2` (`Standard` is not supported). See [official docs](https://aka.ms/b2cBilling) for more information.
75
+ */
76
+ readonly skuName: pulumi.Output<string>;
77
+ /**
78
+ * A mapping of tags which should be assigned to the AAD B2C Directory.
79
+ */
80
+ readonly tags: pulumi.Output<{
81
+ [key: string]: string;
82
+ } | undefined>;
83
+ /**
84
+ * The Tenant ID for the AAD B2C tenant.
85
+ */
86
+ readonly tenantId: pulumi.Output<string>;
87
+ /**
88
+ * Create a Directory resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: DirectoryArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering Directory resources.
98
+ */
99
+ export interface DirectoryState {
100
+ /**
101
+ * The type of billing for the AAD B2C tenant. Possible values include: `MAU` or `Auths`.
102
+ */
103
+ billingType?: pulumi.Input<string>;
104
+ /**
105
+ * Country code of the B2C tenant. The `countryCode` should be valid for the specified `dataResidencyLocation`. See [official docs](https://aka.ms/B2CDataResidency) for valid country codes. Changing this forces a new AAD B2C Directory to be created.
106
+ */
107
+ countryCode?: pulumi.Input<string>;
108
+ /**
109
+ * Location in which the B2C tenant is hosted and data resides. The `dataResidencyLocation` should be valid for the specified `countryCode`. See [official docs](https://aka.ms/B2CDataResidenc) for more information. Changing this forces a new AAD B2C Directory to be created.
110
+ */
111
+ dataResidencyLocation?: pulumi.Input<string>;
112
+ /**
113
+ * The initial display name of the B2C tenant. Changing this forces a new AAD B2C Directory to be created.
114
+ */
115
+ displayName?: pulumi.Input<string>;
116
+ /**
117
+ * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix. Changing this forces a new AAD B2C Directory to be created.
118
+ */
119
+ domainName?: pulumi.Input<string>;
120
+ /**
121
+ * The date from which the billing type took effect. May not be populated until after the first billing cycle.
122
+ */
123
+ effectiveStartDate?: pulumi.Input<string>;
124
+ /**
125
+ * The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
126
+ */
127
+ resourceGroupName?: pulumi.Input<string>;
128
+ /**
129
+ * Billing SKU for the B2C tenant. Must be one of: `PremiumP1` or `PremiumP2` (`Standard` is not supported). See [official docs](https://aka.ms/b2cBilling) for more information.
130
+ */
131
+ skuName?: pulumi.Input<string>;
132
+ /**
133
+ * A mapping of tags which should be assigned to the AAD B2C Directory.
134
+ */
135
+ tags?: pulumi.Input<{
136
+ [key: string]: pulumi.Input<string>;
137
+ }>;
138
+ /**
139
+ * The Tenant ID for the AAD B2C tenant.
140
+ */
141
+ tenantId?: pulumi.Input<string>;
142
+ }
143
+ /**
144
+ * The set of arguments for constructing a Directory resource.
145
+ */
146
+ export interface DirectoryArgs {
147
+ /**
148
+ * Country code of the B2C tenant. The `countryCode` should be valid for the specified `dataResidencyLocation`. See [official docs](https://aka.ms/B2CDataResidency) for valid country codes. Changing this forces a new AAD B2C Directory to be created.
149
+ */
150
+ countryCode: pulumi.Input<string>;
151
+ /**
152
+ * Location in which the B2C tenant is hosted and data resides. The `dataResidencyLocation` should be valid for the specified `countryCode`. See [official docs](https://aka.ms/B2CDataResidenc) for more information. Changing this forces a new AAD B2C Directory to be created.
153
+ */
154
+ dataResidencyLocation: pulumi.Input<string>;
155
+ /**
156
+ * The initial display name of the B2C tenant. Changing this forces a new AAD B2C Directory to be created.
157
+ */
158
+ displayName: pulumi.Input<string>;
159
+ /**
160
+ * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix. Changing this forces a new AAD B2C Directory to be created.
161
+ */
162
+ domainName: pulumi.Input<string>;
163
+ /**
164
+ * The name of the Resource Group where the AAD B2C Directory should exist. Changing this forces a new AAD B2C Directory to be created.
165
+ */
166
+ resourceGroupName: pulumi.Input<string>;
167
+ /**
168
+ * Billing SKU for the B2C tenant. Must be one of: `PremiumP1` or `PremiumP2` (`Standard` is not supported). See [official docs](https://aka.ms/b2cBilling) for more information.
169
+ */
170
+ skuName: pulumi.Input<string>;
171
+ /**
172
+ * A mapping of tags which should be assigned to the AAD B2C Directory.
173
+ */
174
+ tags?: pulumi.Input<{
175
+ [key: string]: pulumi.Input<string>;
176
+ }>;
177
+ }
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Directory = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an AAD B2C Directory.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const example = new azure.aadb2c.Directory("example", {
18
+ * countryCode: "US",
19
+ * dataResidencyLocation: "United States",
20
+ * displayName: "example-b2c-tenant",
21
+ * domainName: "exampleb2ctenant.onmicrosoft.com",
22
+ * resourceGroupName: "example-rg",
23
+ * skuName: "PremiumP1",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * AAD B2C Directories can be imported using the `resource id`, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import azure:aadb2c/directory:Directory example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.AzureActiveDirectory/b2cDirectories/directory-name
33
+ * ```
34
+ */
35
+ class Directory extends pulumi.CustomResource {
36
+ constructor(name, argsOrState, opts) {
37
+ let inputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ inputs["billingType"] = state ? state.billingType : undefined;
42
+ inputs["countryCode"] = state ? state.countryCode : undefined;
43
+ inputs["dataResidencyLocation"] = state ? state.dataResidencyLocation : undefined;
44
+ inputs["displayName"] = state ? state.displayName : undefined;
45
+ inputs["domainName"] = state ? state.domainName : undefined;
46
+ inputs["effectiveStartDate"] = state ? state.effectiveStartDate : undefined;
47
+ inputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
48
+ inputs["skuName"] = state ? state.skuName : undefined;
49
+ inputs["tags"] = state ? state.tags : undefined;
50
+ inputs["tenantId"] = state ? state.tenantId : undefined;
51
+ }
52
+ else {
53
+ const args = argsOrState;
54
+ if ((!args || args.countryCode === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'countryCode'");
56
+ }
57
+ if ((!args || args.dataResidencyLocation === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'dataResidencyLocation'");
59
+ }
60
+ if ((!args || args.displayName === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'displayName'");
62
+ }
63
+ if ((!args || args.domainName === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'domainName'");
65
+ }
66
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'resourceGroupName'");
68
+ }
69
+ if ((!args || args.skuName === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'skuName'");
71
+ }
72
+ inputs["countryCode"] = args ? args.countryCode : undefined;
73
+ inputs["dataResidencyLocation"] = args ? args.dataResidencyLocation : undefined;
74
+ inputs["displayName"] = args ? args.displayName : undefined;
75
+ inputs["domainName"] = args ? args.domainName : undefined;
76
+ inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
77
+ inputs["skuName"] = args ? args.skuName : undefined;
78
+ inputs["tags"] = args ? args.tags : undefined;
79
+ inputs["billingType"] = undefined /*out*/;
80
+ inputs["effectiveStartDate"] = undefined /*out*/;
81
+ inputs["tenantId"] = undefined /*out*/;
82
+ }
83
+ if (!opts.version) {
84
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
85
+ }
86
+ super(Directory.__pulumiType, name, inputs, opts);
87
+ }
88
+ /**
89
+ * Get an existing Directory resource's state with the given name, ID, and optional extra
90
+ * properties used to qualify the lookup.
91
+ *
92
+ * @param name The _unique_ name of the resulting resource.
93
+ * @param id The _unique_ provider ID of the resource to lookup.
94
+ * @param state Any extra arguments used during the lookup.
95
+ * @param opts Optional settings to control the behavior of the CustomResource.
96
+ */
97
+ static get(name, id, state, opts) {
98
+ return new Directory(name, state, Object.assign(Object.assign({}, opts), { id: id }));
99
+ }
100
+ /**
101
+ * Returns true if the given object is an instance of Directory. This is designed to work even
102
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
103
+ */
104
+ static isInstance(obj) {
105
+ if (obj === undefined || obj === null) {
106
+ return false;
107
+ }
108
+ return obj['__pulumiType'] === Directory.__pulumiType;
109
+ }
110
+ }
111
+ exports.Directory = Directory;
112
+ /** @internal */
113
+ Directory.__pulumiType = 'azure:aadb2c/directory:Directory';
114
+ //# sour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AU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;IA9HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAgIC;AAlHG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to access information about an existing AAD B2C Directory.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = azure.aadb2c.getDirectory({
12
+ * resourceGroupName: "example-rg",
13
+ * domainName: "exampleb2ctenant.onmicrosoft.com",
14
+ * });
15
+ * export const tenantId = example.then(example => example.tenantId);
16
+ * ```
17
+ */
18
+ export declare function getDirectory(args: GetDirectoryArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectoryResult>;
19
+ /**
20
+ * A collection of arguments for invoking getDirectory.
21
+ */
22
+ export interface GetDirectoryArgs {
23
+ /**
24
+ * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
25
+ */
26
+ domainName: string;
27
+ /**
28
+ * The name of the Resource Group where the AAD B2C Directory exists.
29
+ */
30
+ resourceGroupName: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getDirectory.
34
+ */
35
+ export interface GetDirectoryResult {
36
+ /**
37
+ * The type of billing for the AAD B2C tenant. Possible values include: `MAU` or `Auths`.
38
+ */
39
+ readonly billingType: string;
40
+ /**
41
+ * Location in which the B2C tenant is hosted and data resides. See [official docs](https://aka.ms/B2CDataResidenc) for more information.
42
+ */
43
+ readonly dataResidencyLocation: string;
44
+ readonly domainName: string;
45
+ /**
46
+ * The date from which the billing type took effect. May not be populated until after the first billing cycle.
47
+ */
48
+ readonly effectiveStartDate: string;
49
+ /**
50
+ * The provider-assigned unique ID for this managed resource.
51
+ */
52
+ readonly id: string;
53
+ readonly resourceGroupName: string;
54
+ /**
55
+ * Billing SKU for the B2C tenant. See [official docs](https://aka.ms/b2cBilling) for more information.
56
+ */
57
+ readonly skuName: string;
58
+ /**
59
+ * A mapping of tags assigned to the AAD B2C Directory.
60
+ */
61
+ readonly tags: {
62
+ [key: string]: string;
63
+ };
64
+ /**
65
+ * The Tenant ID for the AAD B2C tenant.
66
+ */
67
+ readonly tenantId: string;
68
+ }
69
+ export declare function getDirectoryOutput(args: GetDirectoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDirectoryResult>;
70
+ /**
71
+ * A collection of arguments for invoking getDirectory.
72
+ */
73
+ export interface GetDirectoryOutputArgs {
74
+ /**
75
+ * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
76
+ */
77
+ domainName: pulumi.Input<string>;
78
+ /**
79
+ * The name of the Resource Group where the AAD B2C Directory exists.
80
+ */
81
+ resourceGroupName: pulumi.Input<string>;
82
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getDirectoryOutput = exports.getDirectory = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to access information about an existing AAD B2C Directory.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const example = azure.aadb2c.getDirectory({
18
+ * resourceGroupName: "example-rg",
19
+ * domainName: "exampleb2ctenant.onmicrosoft.com",
20
+ * });
21
+ * export const tenantId = example.then(example => example.tenantId);
22
+ * ```
23
+ */
24
+ function getDirectory(args, opts) {
25
+ if (!opts) {
26
+ opts = {};
27
+ }
28
+ if (!opts.version) {
29
+ opts.version = utilities.getVersion();
30
+ }
31
+ return pulumi.runtime.invoke("azure:aadb2c/getDirectory:getDirectory", {
32
+ "domainName": args.domainName,
33
+ "resourceGroupName": args.resourceGroupName,
34
+ }, opts);
35
+ }
36
+ exports.getDirectory = getDirectory;
37
+ function getDirectoryOutput(args, opts) {
38
+ return pulumi.output(args).apply(a => getDirectory(a, opts));
39
+ }
40
+ exports.getDirectoryOutput = getDirectoryOutput;
41
+ //# sourceMappingURL=getDirectory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../../aadb2c/getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oCAYC;AAoDD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,2 @@
1
+ export * from "./directory";
2
+ export * from "./getDirectory";
@@ -15,19 +15,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const pulumi = require("@pulumi/pulumi");
16
16
  const utilities = require("../utilities");
17
17
  // Export members:
18
- __exportStar(require("./resourceGroupExport"), exports);
18
+ __exportStar(require("./directory"), exports);
19
+ __exportStar(require("./getDirectory"), exports);
19
20
  // Import resources to register:
20
- const resourceGroupExport_1 = require("./resourceGroupExport");
21
+ const directory_1 = require("./directory");
21
22
  const _module = {
22
23
  version: utilities.getVersion(),
23
24
  construct: (name, type, urn) => {
24
25
  switch (type) {
25
- case "azure:costmanagement/resourceGroupExport:ResourceGroupExport":
26
- return new resourceGroupExport_1.ResourceGroupExport(name, undefined, { urn });
26
+ case "azure:aadb2c/directory:Directory":
27
+ return new directory_1.Directory(name, undefined, { urn });
27
28
  default:
28
29
  throw new Error(`unknown resource type ${type}`);
29
30
  }
30
31
  },
31
32
  };
32
- pulumi.runtime.registerResourceModule("azure", "costmanagement/resourceGroupExport", _module);
33
+ pulumi.runtime.registerResourceModule("azure", "aadb2c/directory", _module);
33
34
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../aadb2c/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,8CAA4B;AAC5B,iDAA+B;AAE/B,gCAAgC;AAChC,2CAAwC;AAExC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
@@ -92,7 +92,7 @@ import { input as inputs, output as outputs } from "../types";
92
92
  * API Management Service API Diagnostics Logs can be imported using the `resource id`, e.g.
93
93
  *
94
94
  * ```sh
95
- * $ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1/loggers/logger1
95
+ * $ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1
96
96
  * ```
97
97
  */
98
98
  export declare class ApiDiagnostic extends pulumi.CustomResource {
@@ -97,7 +97,7 @@ const utilities = require("../utilities");
97
97
  * API Management Service API Diagnostics Logs can be imported using the `resource id`, e.g.
98
98
  *
99
99
  * ```sh
100
- * $ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1/loggers/logger1
100
+ * $ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1
101
101
  * ```
102
102
  */
103
103
  class ApiDiagnostic extends pulumi.CustomResource {
@@ -30,7 +30,7 @@ import * as pulumi from "@pulumi/pulumi";
30
30
  * API Management API Schema's can be imported using the `resource id`, e.g.
31
31
  *
32
32
  * ```sh
33
- * $ pulumi import azure:apimanagement/apiSchema:ApiSchema example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/schemas/schema1
33
+ * $ pulumi import azure:apimanagement/apiSchema:ApiSchema example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/schemas/schema1
34
34
  * ```
35
35
  */
36
36
  export declare class ApiSchema extends pulumi.CustomResource {
@@ -36,7 +36,7 @@ const utilities = require("../utilities");
36
36
  * API Management API Schema's can be imported using the `resource id`, e.g.
37
37
  *
38
38
  * ```sh
39
- * $ pulumi import azure:apimanagement/apiSchema:ApiSchema example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/schemas/schema1
39
+ * $ pulumi import azure:apimanagement/apiSchema:ApiSchema example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/schemas/schema1
40
40
  * ```
41
41
  */
42
42
  class ApiSchema extends pulumi.CustomResource {
@@ -49,7 +49,7 @@ export declare class ApiVersionSet extends pulumi.CustomResource {
49
49
  */
50
50
  static isInstance(obj: any): obj is ApiVersionSet;
51
51
  /**
52
- * The name of the API Management Service in which the API Version Set should exist. Changing this forces a new resource to be created.
52
+ * The name of the API Management Service in which the API Version Set should exist. May only contain alphanumeric characters and dashes up to 50 characters in length. Changing this forces a new resource to be created.
53
53
  */
54
54
  readonly apiManagementName: pulumi.Output<string>;
55
55
  /**
@@ -61,7 +61,7 @@ export declare class ApiVersionSet extends pulumi.CustomResource {
61
61
  */
62
62
  readonly displayName: pulumi.Output<string>;
63
63
  /**
64
- * The name of the API Version Set. Changing this forces a new resource to be created.
64
+ * The name of the API Version Set. May only contain alphanumeric characters and dashes up to 80 characters in length. Changing this forces a new resource to be created.
65
65
  */
66
66
  readonly name: pulumi.Output<string>;
67
67
  /**
@@ -94,7 +94,7 @@ export declare class ApiVersionSet extends pulumi.CustomResource {
94
94
  */
95
95
  export interface ApiVersionSetState {
96
96
  /**
97
- * The name of the API Management Service in which the API Version Set should exist. Changing this forces a new resource to be created.
97
+ * The name of the API Management Service in which the API Version Set should exist. May only contain alphanumeric characters and dashes up to 50 characters in length. Changing this forces a new resource to be created.
98
98
  */
99
99
  apiManagementName?: pulumi.Input<string>;
100
100
  /**
@@ -106,7 +106,7 @@ export interface ApiVersionSetState {
106
106
  */
107
107
  displayName?: pulumi.Input<string>;
108
108
  /**
109
- * The name of the API Version Set. Changing this forces a new resource to be created.
109
+ * The name of the API Version Set. May only contain alphanumeric characters and dashes up to 80 characters in length. Changing this forces a new resource to be created.
110
110
  */
111
111
  name?: pulumi.Input<string>;
112
112
  /**
@@ -131,7 +131,7 @@ export interface ApiVersionSetState {
131
131
  */
132
132
  export interface ApiVersionSetArgs {
133
133
  /**
134
- * The name of the API Management Service in which the API Version Set should exist. Changing this forces a new resource to be created.
134
+ * The name of the API Management Service in which the API Version Set should exist. May only contain alphanumeric characters and dashes up to 50 characters in length. Changing this forces a new resource to be created.
135
135
  */
136
136
  apiManagementName: pulumi.Input<string>;
137
137
  /**
@@ -143,7 +143,7 @@ export interface ApiVersionSetArgs {
143
143
  */
144
144
  displayName: pulumi.Input<string>;
145
145
  /**
146
- * The name of the API Version Set. Changing this forces a new resource to be created.
146
+ * The name of the API Version Set. May only contain alphanumeric characters and dashes up to 80 characters in length. Changing this forces a new resource to be created.
147
147
  */
148
148
  name?: pulumi.Input<string>;
149
149
  /**
@@ -45,7 +45,7 @@ import * as pulumi from "@pulumi/pulumi";
45
45
  * API Management Azure AD B2C Identity Providers can be imported using the `resource id`, e.g.
46
46
  *
47
47
  * ```sh
48
- * $ pulumi import azure:apimanagement/identityProviderAadb2c:IdentityProviderAadb2c example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service1/identityProviders/AadB2C
48
+ * $ pulumi import azure:apimanagement/identityProviderAadb2c:IdentityProviderAadb2c example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/service1/identityProviders/AadB2C
49
49
  * ```
50
50
  */
51
51
  export declare class IdentityProviderAadb2c extends pulumi.CustomResource {
@@ -51,7 +51,7 @@ const utilities = require("../utilities");
51
51
  * API Management Azure AD B2C Identity Providers can be imported using the `resource id`, e.g.
52
52
  *
53
53
  * ```sh
54
- * $ pulumi import azure:apimanagement/identityProviderAadb2c:IdentityProviderAadb2c example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service1/identityProviders/AadB2C
54
+ * $ pulumi import azure:apimanagement/identityProviderAadb2c:IdentityProviderAadb2c example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/service1/identityProviders/AadB2C
55
55
  * ```
56
56
  */
57
57
  class IdentityProviderAadb2c extends pulumi.CustomResource {
@@ -37,7 +37,7 @@ import { input as inputs, output as outputs } from "../types";
37
37
  * API Management Loggers can be imported using the `resource id`, e.g.
38
38
  *
39
39
  * ```sh
40
- * $ pulumi import azure:apimanagement/logger:Logger example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/Microsoft.ApiManagement/service/example-apim/loggers/example-logger
40
+ * $ pulumi import azure:apimanagement/logger:Logger example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/Microsoft.ApiManagement/service/example-apim/loggers/example-logger
41
41
  * ```
42
42
  */
43
43
  export declare class Logger extends pulumi.CustomResource {
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
42
42
  * API Management Loggers can be imported using the `resource id`, e.g.
43
43
  *
44
44
  * ```sh
45
- * $ pulumi import azure:apimanagement/logger:Logger example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/Microsoft.ApiManagement/service/example-apim/loggers/example-logger
45
+ * $ pulumi import azure:apimanagement/logger:Logger example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/Microsoft.ApiManagement/service/example-apim/loggers/example-logger
46
46
  * ```
47
47
  */
48
48
  class Logger extends pulumi.CustomResource {