@pulumi/azure 4.29.0 → 4.31.0

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 (194) hide show
  1. package/appservice/appService.d.ts +12 -0
  2. package/appservice/appService.js +2 -0
  3. package/appservice/appService.js.map +1 -1
  4. package/batch/getPool.d.ts +3 -19
  5. package/batch/getPool.js +0 -2
  6. package/batch/getPool.js.map +1 -1
  7. package/batch/pool.d.ts +4 -4
  8. package/batch/pool.js +4 -4
  9. package/bot/index.d.ts +1 -0
  10. package/bot/index.js +5 -0
  11. package/bot/index.js.map +1 -1
  12. package/bot/serviceAzureBot.d.ts +245 -0
  13. package/bot/serviceAzureBot.js +131 -0
  14. package/bot/serviceAzureBot.js.map +1 -0
  15. package/cognitive/getAccount.d.ts +3 -4
  16. package/cognitive/getAccount.js +3 -4
  17. package/cognitive/getAccount.js.map +1 -1
  18. package/compute/bastionHost.d.ts +12 -0
  19. package/compute/bastionHost.js +2 -0
  20. package/compute/bastionHost.js.map +1 -1
  21. package/compute/linuxVirtualMachine.d.ts +24 -0
  22. package/compute/linuxVirtualMachine.js +4 -0
  23. package/compute/linuxVirtualMachine.js.map +1 -1
  24. package/compute/linuxVirtualMachineScaleSet.d.ts +26 -2
  25. package/compute/linuxVirtualMachineScaleSet.js +6 -2
  26. package/compute/linuxVirtualMachineScaleSet.js.map +1 -1
  27. package/compute/managedDisk.d.ts +12 -0
  28. package/compute/managedDisk.js +2 -0
  29. package/compute/managedDisk.js.map +1 -1
  30. package/compute/sharedImage.d.ts +12 -0
  31. package/compute/sharedImage.js +2 -0
  32. package/compute/sharedImage.js.map +1 -1
  33. package/compute/windowsVirtualMachineScaleSet.d.ts +3 -3
  34. package/compute/windowsVirtualMachineScaleSet.js +3 -3
  35. package/consumption/budgetManagementGroup.d.ts +197 -0
  36. package/consumption/budgetManagementGroup.js +141 -0
  37. package/consumption/budgetManagementGroup.js.map +1 -0
  38. package/consumption/index.d.ts +1 -0
  39. package/consumption/index.js +5 -0
  40. package/consumption/index.js.map +1 -1
  41. package/containerservice/kubernetesCluster.d.ts +15 -0
  42. package/containerservice/kubernetesCluster.js +2 -0
  43. package/containerservice/kubernetesCluster.js.map +1 -1
  44. package/containerservice/kubernetesClusterNodePool.d.ts +5 -5
  45. package/core/resourceGroupPolicyAssignment.d.ts +7 -0
  46. package/core/resourceGroupPolicyAssignment.js +7 -0
  47. package/core/resourceGroupPolicyAssignment.js.map +1 -1
  48. package/core/subscription.d.ts +13 -1
  49. package/core/subscription.js +1 -1
  50. package/core/subscription.js.map +1 -1
  51. package/cosmosdb/account.d.ts +3 -3
  52. package/cosmosdb/account.js +3 -3
  53. package/databasemigration/getProject.d.ts +3 -4
  54. package/databasemigration/getProject.js +3 -4
  55. package/databasemigration/getProject.js.map +1 -1
  56. package/databasemigration/getService.d.ts +3 -4
  57. package/databasemigration/getService.js +3 -4
  58. package/databasemigration/getService.js.map +1 -1
  59. package/datafactory/linkedServiceAzureBlobStorage.d.ts +22 -4
  60. package/datafactory/linkedServiceAzureBlobStorage.js +5 -6
  61. package/datafactory/linkedServiceAzureBlobStorage.js.map +1 -1
  62. package/datafactory/linkedServiceAzureDatabricks.d.ts +21 -3
  63. package/datafactory/linkedServiceAzureDatabricks.js +4 -5
  64. package/datafactory/linkedServiceAzureDatabricks.js.map +1 -1
  65. package/datafactory/linkedServiceAzureFileStorage.d.ts +20 -2
  66. package/datafactory/linkedServiceAzureFileStorage.js +3 -4
  67. package/datafactory/linkedServiceAzureFileStorage.js.map +1 -1
  68. package/datafactory/linkedServiceAzureFunction.d.ts +20 -2
  69. package/datafactory/linkedServiceAzureFunction.js +3 -4
  70. package/datafactory/linkedServiceAzureFunction.js.map +1 -1
  71. package/datafactory/linkedServiceAzureSqlDatabase.d.ts +23 -5
  72. package/datafactory/linkedServiceAzureSqlDatabase.js +3 -4
  73. package/datafactory/linkedServiceAzureSqlDatabase.js.map +1 -1
  74. package/datafactory/linkedServiceAzureTableStorage.d.ts +20 -2
  75. package/datafactory/linkedServiceAzureTableStorage.js +3 -4
  76. package/datafactory/linkedServiceAzureTableStorage.js.map +1 -1
  77. package/datafactory/linkedServiceCosmosDb.d.ts +20 -2
  78. package/datafactory/linkedServiceCosmosDb.js +3 -4
  79. package/datafactory/linkedServiceCosmosDb.js.map +1 -1
  80. package/datafactory/linkedServiceCosmosDbMongoApi.d.ts +20 -2
  81. package/datafactory/linkedServiceCosmosDbMongoApi.js +3 -4
  82. package/datafactory/linkedServiceCosmosDbMongoApi.js.map +1 -1
  83. package/datafactory/linkedServiceDataLakeStorageGen2.d.ts +20 -2
  84. package/datafactory/linkedServiceDataLakeStorageGen2.js +3 -4
  85. package/datafactory/linkedServiceDataLakeStorageGen2.js.map +1 -1
  86. package/datafactory/linkedServiceKeyVault.d.ts +20 -2
  87. package/datafactory/linkedServiceKeyVault.js +3 -4
  88. package/datafactory/linkedServiceKeyVault.js.map +1 -1
  89. package/datafactory/linkedServiceMysql.d.ts +20 -2
  90. package/datafactory/linkedServiceMysql.js +3 -4
  91. package/datafactory/linkedServiceMysql.js.map +1 -1
  92. package/datafactory/linkedServiceOdata.d.ts +20 -2
  93. package/datafactory/linkedServiceOdata.js +3 -4
  94. package/datafactory/linkedServiceOdata.js.map +1 -1
  95. package/datafactory/linkedServicePostgresql.d.ts +20 -2
  96. package/datafactory/linkedServicePostgresql.js +3 -4
  97. package/datafactory/linkedServicePostgresql.js.map +1 -1
  98. package/datafactory/linkedServiceSftp.d.ts +20 -2
  99. package/datafactory/linkedServiceSftp.js +3 -4
  100. package/datafactory/linkedServiceSftp.js.map +1 -1
  101. package/datafactory/linkedServiceSnowflake.d.ts +22 -4
  102. package/datafactory/linkedServiceSnowflake.js +5 -6
  103. package/datafactory/linkedServiceSnowflake.js.map +1 -1
  104. package/datafactory/linkedServiceSqlServer.d.ts +22 -4
  105. package/datafactory/linkedServiceSqlServer.js +5 -6
  106. package/datafactory/linkedServiceSqlServer.js.map +1 -1
  107. package/datafactory/linkedServiceSynapse.d.ts +21 -3
  108. package/datafactory/linkedServiceSynapse.js +4 -5
  109. package/datafactory/linkedServiceSynapse.js.map +1 -1
  110. package/datafactory/linkedServiceWeb.d.ts +20 -2
  111. package/datafactory/linkedServiceWeb.js +3 -4
  112. package/datafactory/linkedServiceWeb.js.map +1 -1
  113. package/datafactory/managedPrivateEndpoint.d.ts +14 -2
  114. package/datafactory/managedPrivateEndpoint.js +2 -3
  115. package/datafactory/managedPrivateEndpoint.js.map +1 -1
  116. package/eventgrid/systemTopicEventSubscription.d.ts +1 -1
  117. package/eventgrid/systemTopicEventSubscription.js +1 -1
  118. package/eventhub/eventHubNamespace.d.ts +3 -3
  119. package/eventhub/getAuthorizationRule.d.ts +5 -5
  120. package/eventhub/getAuthorizationRule.js +5 -5
  121. package/eventhub/getConsumeGroup.d.ts +6 -6
  122. package/eventhub/getConsumeGroup.js +6 -6
  123. package/keyvault/certifiate.d.ts +16 -0
  124. package/keyvault/certifiate.js +4 -0
  125. package/keyvault/certifiate.js.map +1 -1
  126. package/keyvault/certificate.d.ts +16 -0
  127. package/keyvault/certificate.js +4 -0
  128. package/keyvault/certificate.js.map +1 -1
  129. package/keyvault/getCertificate.d.ts +8 -0
  130. package/keyvault/getCertificate.js.map +1 -1
  131. package/machinelearning/synapseSpark.d.ts +1 -1
  132. package/machinelearning/synapseSpark.js +1 -1
  133. package/machinelearning/workspace.d.ts +8 -119
  134. package/machinelearning/workspace.js +0 -111
  135. package/machinelearning/workspace.js.map +1 -1
  136. package/monitoring/getScheduledQueryRulesAlert.d.ts +4 -5
  137. package/monitoring/getScheduledQueryRulesAlert.js +4 -5
  138. package/monitoring/getScheduledQueryRulesAlert.js.map +1 -1
  139. package/monitoring/getScheduledQueryRulesLog.d.ts +4 -5
  140. package/monitoring/getScheduledQueryRulesLog.js +4 -5
  141. package/monitoring/getScheduledQueryRulesLog.js.map +1 -1
  142. package/mssql/databaseExtendedAuditingPolicy.d.ts +1 -1
  143. package/mssql/databaseExtendedAuditingPolicy.js +1 -1
  144. package/mssql/serverExtendedAuditingPolicy.d.ts +0 -2
  145. package/mssql/serverExtendedAuditingPolicy.js +0 -2
  146. package/mssql/serverExtendedAuditingPolicy.js.map +1 -1
  147. package/mysql/flexibleDatabase.d.ts +129 -0
  148. package/mysql/flexibleDatabase.js +104 -0
  149. package/mysql/flexibleDatabase.js.map +1 -0
  150. package/mysql/index.d.ts +1 -0
  151. package/mysql/index.js +5 -0
  152. package/mysql/index.js.map +1 -1
  153. package/netapp/pool.d.ts +12 -0
  154. package/netapp/pool.js +2 -0
  155. package/netapp/pool.js.map +1 -1
  156. package/netapp/volume.d.ts +12 -0
  157. package/netapp/volume.js +2 -0
  158. package/netapp/volume.js.map +1 -1
  159. package/network/vpnGatewayConnection.d.ts +12 -0
  160. package/network/vpnGatewayConnection.js +2 -0
  161. package/network/vpnGatewayConnection.js.map +1 -1
  162. package/package.json +2 -2
  163. package/package.json.dev +1 -1
  164. package/securitycenter/subscriptionPricing.d.ts +3 -3
  165. package/servicebus/getTopicAuthorizationRule.d.ts +4 -5
  166. package/servicebus/getTopicAuthorizationRule.js +4 -5
  167. package/servicebus/getTopicAuthorizationRule.js.map +1 -1
  168. package/signalr/service.d.ts +45 -4
  169. package/signalr/service.js +9 -4
  170. package/signalr/service.js.map +1 -1
  171. package/sql/index.d.ts +2 -0
  172. package/sql/index.js +10 -0
  173. package/sql/index.js.map +1 -1
  174. package/sql/managedInstance.d.ts +15 -3
  175. package/sql/managedInstance.js +2 -0
  176. package/sql/managedInstance.js.map +1 -1
  177. package/sql/managedInstanceActiveDirectoryAdministrator.d.ts +151 -0
  178. package/sql/managedInstanceActiveDirectoryAdministrator.js +119 -0
  179. package/sql/managedInstanceActiveDirectoryAdministrator.js.map +1 -0
  180. package/sql/managedInstanceFailoverGroup.d.ts +146 -0
  181. package/sql/managedInstanceFailoverGroup.js +88 -0
  182. package/sql/managedInstanceFailoverGroup.js.map +1 -0
  183. package/synapse/index.d.ts +1 -0
  184. package/synapse/index.js +5 -0
  185. package/synapse/index.js.map +1 -1
  186. package/synapse/managedPrivateEndpoint.d.ts +1 -1
  187. package/synapse/managedPrivateEndpoint.js +1 -1
  188. package/synapse/sqlPoolExtendedAuditingPolicy.d.ts +1 -1
  189. package/synapse/sqlPoolExtendedAuditingPolicy.js +1 -1
  190. package/synapse/sqlPoolWorkloadGroup.d.ts +181 -0
  191. package/synapse/sqlPoolWorkloadGroup.js +123 -0
  192. package/synapse/sqlPoolWorkloadGroup.js.map +1 -0
  193. package/types/input.d.ts +262 -190
  194. package/types/output.d.ts +310 -11
@@ -91,6 +91,10 @@ export declare class AppService extends pulumi.CustomResource {
91
91
  * Does the App Service require client certificates for incoming requests? Defaults to `false`.
92
92
  */
93
93
  readonly clientCertEnabled: pulumi.Output<boolean | undefined>;
94
+ /**
95
+ * Mode of client certificates for this App Service. Possible values are `Required`, `Optional` and `OptionalInteractiveUser`. If this parameter is set, `clientCertEnabled` must be set to `true`, otherwise this parameter is ignored.
96
+ */
97
+ readonly clientCertMode: pulumi.Output<string>;
94
98
  /**
95
99
  * One or more `connectionString` blocks as defined below.
96
100
  */
@@ -212,6 +216,10 @@ export interface AppServiceState {
212
216
  * Does the App Service require client certificates for incoming requests? Defaults to `false`.
213
217
  */
214
218
  clientCertEnabled?: pulumi.Input<boolean>;
219
+ /**
220
+ * Mode of client certificates for this App Service. Possible values are `Required`, `Optional` and `OptionalInteractiveUser`. If this parameter is set, `clientCertEnabled` must be set to `true`, otherwise this parameter is ignored.
221
+ */
222
+ clientCertMode?: pulumi.Input<string>;
215
223
  /**
216
224
  * One or more `connectionString` blocks as defined below.
217
225
  */
@@ -325,6 +333,10 @@ export interface AppServiceArgs {
325
333
  * Does the App Service require client certificates for incoming requests? Defaults to `false`.
326
334
  */
327
335
  clientCertEnabled?: pulumi.Input<boolean>;
336
+ /**
337
+ * Mode of client certificates for this App Service. Possible values are `Required`, `Optional` and `OptionalInteractiveUser`. If this parameter is set, `clientCertEnabled` must be set to `true`, otherwise this parameter is ignored.
338
+ */
339
+ clientCertMode?: pulumi.Input<string>;
328
340
  /**
329
341
  * One or more `connectionString` blocks as defined below.
330
342
  */
@@ -66,6 +66,7 @@ class AppService extends pulumi.CustomResource {
66
66
  inputs["backup"] = state ? state.backup : undefined;
67
67
  inputs["clientAffinityEnabled"] = state ? state.clientAffinityEnabled : undefined;
68
68
  inputs["clientCertEnabled"] = state ? state.clientCertEnabled : undefined;
69
+ inputs["clientCertMode"] = state ? state.clientCertMode : undefined;
69
70
  inputs["connectionStrings"] = state ? state.connectionStrings : undefined;
70
71
  inputs["customDomainVerificationId"] = state ? state.customDomainVerificationId : undefined;
71
72
  inputs["defaultSiteHostname"] = state ? state.defaultSiteHostname : undefined;
@@ -101,6 +102,7 @@ class AppService extends pulumi.CustomResource {
101
102
  inputs["backup"] = args ? args.backup : undefined;
102
103
  inputs["clientAffinityEnabled"] = args ? args.clientAffinityEnabled : undefined;
103
104
  inputs["clientCertEnabled"] = args ? args.clientCertEnabled : undefined;
105
+ inputs["clientCertMode"] = args ? args.clientCertMode : undefined;
104
106
  inputs["connectionStrings"] = args ? args.connectionStrings : undefined;
105
107
  inputs["enabled"] = args ? args.enabled : undefined;
106
108
  inputs["httpsOnly"] = args ? args.httpsOnly : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"appService.js","sourceRoot":"","sources":["../../appservice/appService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA6IjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0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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;;AA1BL,gCA0NC;AA5MG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "../types";
2
+ import { output as outputs } from "../types";
3
3
  /**
4
4
  * Use this data source to access information about an existing Batch pool
5
5
  *
@@ -25,19 +25,11 @@ export interface GetPoolArgs {
25
25
  * The name of the Batch account.
26
26
  */
27
27
  accountName: string;
28
- /**
29
- * One or more `certificate` blocks that describe the certificates installed on each compute node in the pool.
30
- */
31
- certificates?: inputs.batch.GetPoolCertificate[];
32
28
  /**
33
29
  * The name of the endpoint.
34
30
  */
35
31
  name: string;
36
32
  resourceGroupName: string;
37
- /**
38
- * A `startTask` block that describes the start task settings for the Batch pool.
39
- */
40
- startTask?: inputs.batch.GetPoolStartTask;
41
33
  }
42
34
  /**
43
35
  * A collection of values returned by getPool.
@@ -54,7 +46,7 @@ export interface GetPoolResult {
54
46
  /**
55
47
  * One or more `certificate` blocks that describe the certificates installed on each compute node in the pool.
56
48
  */
57
- readonly certificates?: outputs.batch.GetPoolCertificate[];
49
+ readonly certificates: outputs.batch.GetPoolCertificate[];
58
50
  /**
59
51
  * The container configuration used in the pool's VMs.
60
52
  */
@@ -88,7 +80,7 @@ export interface GetPoolResult {
88
80
  /**
89
81
  * A `startTask` block that describes the start task settings for the Batch pool.
90
82
  */
91
- readonly startTask?: outputs.batch.GetPoolStartTask;
83
+ readonly startTasks: outputs.batch.GetPoolStartTask[];
92
84
  /**
93
85
  * The reference of the storage image used by the nodes in the Batch pool.
94
86
  */
@@ -107,17 +99,9 @@ export interface GetPoolOutputArgs {
107
99
  * The name of the Batch account.
108
100
  */
109
101
  accountName: pulumi.Input<string>;
110
- /**
111
- * One or more `certificate` blocks that describe the certificates installed on each compute node in the pool.
112
- */
113
- certificates?: pulumi.Input<pulumi.Input<inputs.batch.GetPoolCertificateArgs>[]>;
114
102
  /**
115
103
  * The name of the endpoint.
116
104
  */
117
105
  name: pulumi.Input<string>;
118
106
  resourceGroupName: pulumi.Input<string>;
119
- /**
120
- * A `startTask` block that describes the start task settings for the Batch pool.
121
- */
122
- startTask?: pulumi.Input<inputs.batch.GetPoolStartTaskArgs>;
123
107
  }
package/batch/getPool.js CHANGED
@@ -30,10 +30,8 @@ function getPool(args, opts) {
30
30
  }
31
31
  return pulumi.runtime.invoke("azure:batch/getPool:getPool", {
32
32
  "accountName": args.accountName,
33
- "certificates": args.certificates,
34
33
  "name": args.name,
35
34
  "resourceGroupName": args.resourceGroupName,
36
- "startTask": args.startTask,
37
35
  }, opts);
38
36
  }
39
37
  exports.getPool = getPool;
@@ -1 +1 @@
1
- {"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../batch/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,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,6BAA6B,EAAE;QACxD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,0BAeC;AAmFD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../batch/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,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,6BAA6B,EAAE;QACxD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0BAaC;AA2ED,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
package/batch/pool.d.ts CHANGED
@@ -39,7 +39,7 @@ import { input as inputs, output as outputs } from "../types";
39
39
  * accountName: exampleBatch / accountAccount.name,
40
40
  * displayName: "Test Acc Pool Auto",
41
41
  * vmSize: "Standard_A1",
42
- * nodeAgentSkuId: "batch.node.ubuntu 16.04",
42
+ * nodeAgentSkuId: "batch.node.ubuntu 20.04",
43
43
  * autoScale: {
44
44
  * evaluationInterval: "PT15M",
45
45
  * formula: ` startingNumberOfVMs = 1;
@@ -52,7 +52,7 @@ import { input as inputs, output as outputs } from "../types";
52
52
  * storageImageReference: {
53
53
  * publisher: "microsoft-azure-batch",
54
54
  * offer: "ubuntu-server-container",
55
- * sku: "16-04-lts",
55
+ * sku: "20-04-lts",
56
56
  * version: "latest",
57
57
  * },
58
58
  * containerConfiguration: {
@@ -65,9 +65,9 @@ import { input as inputs, output as outputs } from "../types";
65
65
  * },
66
66
  * startTask: {
67
67
  * commandLine: `echo 'Hello World from $env'`,
68
- * maxTaskRetryCount: 1,
68
+ * taskRetryMaximum: 1,
69
69
  * waitForSuccess: true,
70
- * environment: {
70
+ * commonEnvironmentProperties: {
71
71
  * env: "TEST",
72
72
  * },
73
73
  * userIdentity: {
package/batch/pool.js CHANGED
@@ -44,7 +44,7 @@ const utilities = require("../utilities");
44
44
  * accountName: exampleBatch / accountAccount.name,
45
45
  * displayName: "Test Acc Pool Auto",
46
46
  * vmSize: "Standard_A1",
47
- * nodeAgentSkuId: "batch.node.ubuntu 16.04",
47
+ * nodeAgentSkuId: "batch.node.ubuntu 20.04",
48
48
  * autoScale: {
49
49
  * evaluationInterval: "PT15M",
50
50
  * formula: ` startingNumberOfVMs = 1;
@@ -57,7 +57,7 @@ const utilities = require("../utilities");
57
57
  * storageImageReference: {
58
58
  * publisher: "microsoft-azure-batch",
59
59
  * offer: "ubuntu-server-container",
60
- * sku: "16-04-lts",
60
+ * sku: "20-04-lts",
61
61
  * version: "latest",
62
62
  * },
63
63
  * containerConfiguration: {
@@ -70,9 +70,9 @@ const utilities = require("../utilities");
70
70
  * },
71
71
  * startTask: {
72
72
  * commandLine: `echo 'Hello World from $env'`,
73
- * maxTaskRetryCount: 1,
73
+ * taskRetryMaximum: 1,
74
74
  * waitForSuccess: true,
75
- * environment: {
75
+ * commonEnvironmentProperties: {
76
76
  * env: "TEST",
77
77
  * },
78
78
  * userIdentity: {
package/bot/index.d.ts CHANGED
@@ -10,4 +10,5 @@ export * from "./channelTeams";
10
10
  export * from "./channelWebChat";
11
11
  export * from "./channelsRegistration";
12
12
  export * from "./connection";
13
+ export * from "./serviceAzureBot";
13
14
  export * from "./webApp";
package/bot/index.js CHANGED
@@ -27,6 +27,7 @@ __exportStar(require("./channelTeams"), exports);
27
27
  __exportStar(require("./channelWebChat"), exports);
28
28
  __exportStar(require("./channelsRegistration"), exports);
29
29
  __exportStar(require("./connection"), exports);
30
+ __exportStar(require("./serviceAzureBot"), exports);
30
31
  __exportStar(require("./webApp"), exports);
31
32
  // Import resources to register:
32
33
  const channelAlexa_1 = require("./channelAlexa");
@@ -41,6 +42,7 @@ const channelTeams_1 = require("./channelTeams");
41
42
  const channelWebChat_1 = require("./channelWebChat");
42
43
  const channelsRegistration_1 = require("./channelsRegistration");
43
44
  const connection_1 = require("./connection");
45
+ const serviceAzureBot_1 = require("./serviceAzureBot");
44
46
  const webApp_1 = require("./webApp");
45
47
  const _module = {
46
48
  version: utilities.getVersion(),
@@ -70,6 +72,8 @@ const _module = {
70
72
  return new channelsRegistration_1.ChannelsRegistration(name, undefined, { urn });
71
73
  case "azure:bot/connection:Connection":
72
74
  return new connection_1.Connection(name, undefined, { urn });
75
+ case "azure:bot/serviceAzureBot:ServiceAzureBot":
76
+ return new serviceAzureBot_1.ServiceAzureBot(name, undefined, { urn });
73
77
  case "azure:bot/webApp:WebApp":
74
78
  return new webApp_1.WebApp(name, undefined, { urn });
75
79
  default:
@@ -89,5 +93,6 @@ pulumi.runtime.registerResourceModule("azure", "bot/channelTeams", _module);
89
93
  pulumi.runtime.registerResourceModule("azure", "bot/channelWebChat", _module);
90
94
  pulumi.runtime.registerResourceModule("azure", "bot/channelsRegistration", _module);
91
95
  pulumi.runtime.registerResourceModule("azure", "bot/connection", _module);
96
+ pulumi.runtime.registerResourceModule("azure", "bot/serviceAzureBot", _module);
92
97
  pulumi.runtime.registerResourceModule("azure", "bot/webApp", _module);
93
98
  //# sourceMappingURL=index.js.map
package/bot/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../bot/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,iDAA+B;AAC/B,sDAAoC;AACpC,4DAA0C;AAC1C,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,yDAAuC;AACvC,+CAA6B;AAC7B,2CAAyB;AAEzB,gCAAgC;AAChC,iDAA8C;AAC9C,2DAAwD;AACxD,uEAAoE;AACpE,iDAA8C;AAC9C,uDAAoD;AACpD,+CAA4C;AAC5C,iDAA8C;AAC9C,6CAA0C;AAC1C,iDAA8C;AAC9C,qDAAkD;AAClD,iEAA8D;AAC9D,6CAA0C;AAC1C,qCAAkC;AAElC,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,qCAAqC;gBACtC,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,+CAA+C;gBAChD,OAAO,IAAI,qCAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,iDAAuB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrE,KAAK,qCAAqC;gBACtC,OAAO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,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,245 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages an Azure Bot Service.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
12
+ * const exampleInsights = new azure.appinsights.Insights("exampleInsights", {
13
+ * location: exampleResourceGroup.location,
14
+ * resourceGroupName: exampleResourceGroup.name,
15
+ * applicationType: "web",
16
+ * });
17
+ * const exampleApiKey = new azure.appinsights.ApiKey("exampleApiKey", {
18
+ * applicationInsightsId: exampleInsights.id,
19
+ * readPermissions: [
20
+ * "aggregate",
21
+ * "api",
22
+ * "draft",
23
+ * "extendqueries",
24
+ * "search",
25
+ * ],
26
+ * });
27
+ * const exampleServiceAzureBot = new azure.bot.ServiceAzureBot("exampleServiceAzureBot", {
28
+ * resourceGroupName: exampleResourceGroup.name,
29
+ * location: "global",
30
+ * microsoftAppId: data.azurerm_client_config.current.client_id,
31
+ * sku: "F0",
32
+ * endpoint: "https://example.com",
33
+ * developerAppInsightsApiKey: exampleApiKey.apiKey,
34
+ * developerAppInsightsApplicationId: exampleInsights.appId,
35
+ * tags: {
36
+ * environment: "test",
37
+ * },
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * Azure Bot Services can be imported using the `resource id`, e.g.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import azure:bot/serviceAzureBot:ServiceAzureBot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.BotService/botServices/botService1
47
+ * ```
48
+ */
49
+ export declare class ServiceAzureBot extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing ServiceAzureBot resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceAzureBotState, opts?: pulumi.CustomResourceOptions): ServiceAzureBot;
60
+ /**
61
+ * Returns true if the given object is an instance of ServiceAzureBot. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj: any): obj is ServiceAzureBot;
65
+ /**
66
+ * The Application Insights Api Key to associate with this Azure Bot Service.
67
+ */
68
+ readonly developerAppInsightsApiKey: pulumi.Output<string | undefined>;
69
+ /**
70
+ * The resource ID of the Application Insights instance to associate with this Azure Bot Service.
71
+ */
72
+ readonly developerAppInsightsApplicationId: pulumi.Output<string | undefined>;
73
+ /**
74
+ * The Application Insight Key to associate with this Azure Bot Service.
75
+ */
76
+ readonly developerAppInsightsKey: pulumi.Output<string | undefined>;
77
+ /**
78
+ * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
79
+ */
80
+ readonly displayName: pulumi.Output<string>;
81
+ /**
82
+ * The Azure Bot Service endpoint.
83
+ */
84
+ readonly endpoint: pulumi.Output<string | undefined>;
85
+ /**
86
+ * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
87
+ */
88
+ readonly location: pulumi.Output<string>;
89
+ /**
90
+ * A list of LUIS App IDs to associate with this Azure Bot Service.
91
+ */
92
+ readonly luisAppIds: pulumi.Output<string[] | undefined>;
93
+ /**
94
+ * The LUIS key to associate with this Azure Bot Service.
95
+ */
96
+ readonly luisKey: pulumi.Output<string | undefined>;
97
+ /**
98
+ * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
99
+ */
100
+ readonly microsoftAppId: pulumi.Output<string>;
101
+ /**
102
+ * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
103
+ */
104
+ readonly name: pulumi.Output<string>;
105
+ /**
106
+ * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
107
+ */
108
+ readonly resourceGroupName: pulumi.Output<string>;
109
+ /**
110
+ * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
111
+ */
112
+ readonly sku: pulumi.Output<string>;
113
+ /**
114
+ * A mapping of tags which should be assigned to this Azure Bot Service.
115
+ */
116
+ readonly tags: pulumi.Output<{
117
+ [key: string]: string;
118
+ } | undefined>;
119
+ /**
120
+ * Create a ServiceAzureBot resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: ServiceAzureBotArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering ServiceAzureBot resources.
130
+ */
131
+ export interface ServiceAzureBotState {
132
+ /**
133
+ * The Application Insights Api Key to associate with this Azure Bot Service.
134
+ */
135
+ developerAppInsightsApiKey?: pulumi.Input<string>;
136
+ /**
137
+ * The resource ID of the Application Insights instance to associate with this Azure Bot Service.
138
+ */
139
+ developerAppInsightsApplicationId?: pulumi.Input<string>;
140
+ /**
141
+ * The Application Insight Key to associate with this Azure Bot Service.
142
+ */
143
+ developerAppInsightsKey?: pulumi.Input<string>;
144
+ /**
145
+ * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
146
+ */
147
+ displayName?: pulumi.Input<string>;
148
+ /**
149
+ * The Azure Bot Service endpoint.
150
+ */
151
+ endpoint?: pulumi.Input<string>;
152
+ /**
153
+ * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
154
+ */
155
+ location?: pulumi.Input<string>;
156
+ /**
157
+ * A list of LUIS App IDs to associate with this Azure Bot Service.
158
+ */
159
+ luisAppIds?: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * The LUIS key to associate with this Azure Bot Service.
162
+ */
163
+ luisKey?: pulumi.Input<string>;
164
+ /**
165
+ * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
166
+ */
167
+ microsoftAppId?: pulumi.Input<string>;
168
+ /**
169
+ * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
170
+ */
171
+ name?: pulumi.Input<string>;
172
+ /**
173
+ * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
174
+ */
175
+ resourceGroupName?: pulumi.Input<string>;
176
+ /**
177
+ * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
178
+ */
179
+ sku?: pulumi.Input<string>;
180
+ /**
181
+ * A mapping of tags which should be assigned to this Azure Bot Service.
182
+ */
183
+ tags?: pulumi.Input<{
184
+ [key: string]: pulumi.Input<string>;
185
+ }>;
186
+ }
187
+ /**
188
+ * The set of arguments for constructing a ServiceAzureBot resource.
189
+ */
190
+ export interface ServiceAzureBotArgs {
191
+ /**
192
+ * The Application Insights Api Key to associate with this Azure Bot Service.
193
+ */
194
+ developerAppInsightsApiKey?: pulumi.Input<string>;
195
+ /**
196
+ * The resource ID of the Application Insights instance to associate with this Azure Bot Service.
197
+ */
198
+ developerAppInsightsApplicationId?: pulumi.Input<string>;
199
+ /**
200
+ * The Application Insight Key to associate with this Azure Bot Service.
201
+ */
202
+ developerAppInsightsKey?: pulumi.Input<string>;
203
+ /**
204
+ * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified.
205
+ */
206
+ displayName?: pulumi.Input<string>;
207
+ /**
208
+ * The Azure Bot Service endpoint.
209
+ */
210
+ endpoint?: pulumi.Input<string>;
211
+ /**
212
+ * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created.
213
+ */
214
+ location?: pulumi.Input<string>;
215
+ /**
216
+ * A list of LUIS App IDs to associate with this Azure Bot Service.
217
+ */
218
+ luisAppIds?: pulumi.Input<pulumi.Input<string>[]>;
219
+ /**
220
+ * The LUIS key to associate with this Azure Bot Service.
221
+ */
222
+ luisKey?: pulumi.Input<string>;
223
+ /**
224
+ * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created.
225
+ */
226
+ microsoftAppId: pulumi.Input<string>;
227
+ /**
228
+ * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created.
229
+ */
230
+ name?: pulumi.Input<string>;
231
+ /**
232
+ * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created.
233
+ */
234
+ resourceGroupName: pulumi.Input<string>;
235
+ /**
236
+ * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created.
237
+ */
238
+ sku: pulumi.Input<string>;
239
+ /**
240
+ * A mapping of tags which should be assigned to this Azure Bot Service.
241
+ */
242
+ tags?: pulumi.Input<{
243
+ [key: string]: pulumi.Input<string>;
244
+ }>;
245
+ }
@@ -0,0 +1,131 @@
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.ServiceAzureBot = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an Azure Bot Service.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
18
+ * const exampleInsights = new azure.appinsights.Insights("exampleInsights", {
19
+ * location: exampleResourceGroup.location,
20
+ * resourceGroupName: exampleResourceGroup.name,
21
+ * applicationType: "web",
22
+ * });
23
+ * const exampleApiKey = new azure.appinsights.ApiKey("exampleApiKey", {
24
+ * applicationInsightsId: exampleInsights.id,
25
+ * readPermissions: [
26
+ * "aggregate",
27
+ * "api",
28
+ * "draft",
29
+ * "extendqueries",
30
+ * "search",
31
+ * ],
32
+ * });
33
+ * const exampleServiceAzureBot = new azure.bot.ServiceAzureBot("exampleServiceAzureBot", {
34
+ * resourceGroupName: exampleResourceGroup.name,
35
+ * location: "global",
36
+ * microsoftAppId: data.azurerm_client_config.current.client_id,
37
+ * sku: "F0",
38
+ * endpoint: "https://example.com",
39
+ * developerAppInsightsApiKey: exampleApiKey.apiKey,
40
+ * developerAppInsightsApplicationId: exampleInsights.appId,
41
+ * tags: {
42
+ * environment: "test",
43
+ * },
44
+ * });
45
+ * ```
46
+ *
47
+ * ## Import
48
+ *
49
+ * Azure Bot Services can be imported using the `resource id`, e.g.
50
+ *
51
+ * ```sh
52
+ * $ pulumi import azure:bot/serviceAzureBot:ServiceAzureBot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.BotService/botServices/botService1
53
+ * ```
54
+ */
55
+ class ServiceAzureBot extends pulumi.CustomResource {
56
+ constructor(name, argsOrState, opts) {
57
+ let inputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ inputs["developerAppInsightsApiKey"] = state ? state.developerAppInsightsApiKey : undefined;
62
+ inputs["developerAppInsightsApplicationId"] = state ? state.developerAppInsightsApplicationId : undefined;
63
+ inputs["developerAppInsightsKey"] = state ? state.developerAppInsightsKey : undefined;
64
+ inputs["displayName"] = state ? state.displayName : undefined;
65
+ inputs["endpoint"] = state ? state.endpoint : undefined;
66
+ inputs["location"] = state ? state.location : undefined;
67
+ inputs["luisAppIds"] = state ? state.luisAppIds : undefined;
68
+ inputs["luisKey"] = state ? state.luisKey : undefined;
69
+ inputs["microsoftAppId"] = state ? state.microsoftAppId : undefined;
70
+ inputs["name"] = state ? state.name : undefined;
71
+ inputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
72
+ inputs["sku"] = state ? state.sku : undefined;
73
+ inputs["tags"] = state ? state.tags : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.microsoftAppId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'microsoftAppId'");
79
+ }
80
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'resourceGroupName'");
82
+ }
83
+ if ((!args || args.sku === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'sku'");
85
+ }
86
+ inputs["developerAppInsightsApiKey"] = args ? args.developerAppInsightsApiKey : undefined;
87
+ inputs["developerAppInsightsApplicationId"] = args ? args.developerAppInsightsApplicationId : undefined;
88
+ inputs["developerAppInsightsKey"] = args ? args.developerAppInsightsKey : undefined;
89
+ inputs["displayName"] = args ? args.displayName : undefined;
90
+ inputs["endpoint"] = args ? args.endpoint : undefined;
91
+ inputs["location"] = args ? args.location : undefined;
92
+ inputs["luisAppIds"] = args ? args.luisAppIds : undefined;
93
+ inputs["luisKey"] = args ? args.luisKey : undefined;
94
+ inputs["microsoftAppId"] = args ? args.microsoftAppId : undefined;
95
+ inputs["name"] = args ? args.name : undefined;
96
+ inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
97
+ inputs["sku"] = args ? args.sku : undefined;
98
+ inputs["tags"] = args ? args.tags : undefined;
99
+ }
100
+ if (!opts.version) {
101
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
102
+ }
103
+ super(ServiceAzureBot.__pulumiType, name, inputs, opts);
104
+ }
105
+ /**
106
+ * Get an existing ServiceAzureBot resource's state with the given name, ID, and optional extra
107
+ * properties used to qualify the lookup.
108
+ *
109
+ * @param name The _unique_ name of the resulting resource.
110
+ * @param id The _unique_ provider ID of the resource to lookup.
111
+ * @param state Any extra arguments used during the lookup.
112
+ * @param opts Optional settings to control the behavior of the CustomResource.
113
+ */
114
+ static get(name, id, state, opts) {
115
+ return new ServiceAzureBot(name, state, Object.assign(Object.assign({}, opts), { id: id }));
116
+ }
117
+ /**
118
+ * Returns true if the given object is an instance of ServiceAzureBot. This is designed to work even
119
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
120
+ */
121
+ static isInstance(obj) {
122
+ if (obj === undefined || obj === null) {
123
+ return false;
124
+ }
125
+ return obj['__pulumiType'] === ServiceAzureBot.__pulumiType;
126
+ }
127
+ }
128
+ exports.ServiceAzureBot = ServiceAzureBot;
129
+ /** @internal */
130
+ ServiceAzureBot.__pulumiType = 'azure:bot/serviceAzureBot:ServiceAzureBot';
131
+ //# sourceMappingURL=serviceAzureBot.js.map