@pulumi/snowflake 2.18.0-alpha.1783237205 → 2.18.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 (271) hide show
  1. package/accountParameter.d.ts +3 -3
  2. package/accountSessionPolicyAttachment.d.ts +0 -2
  3. package/accountSessionPolicyAttachment.d.ts.map +1 -1
  4. package/accountSessionPolicyAttachment.js +0 -2
  5. package/accountSessionPolicyAttachment.js.map +1 -1
  6. package/apiIntegration.d.ts +2 -0
  7. package/apiIntegration.d.ts.map +1 -1
  8. package/apiIntegration.js +2 -0
  9. package/apiIntegration.js.map +1 -1
  10. package/apiIntegrationAmazonApiGateway.d.ts +202 -0
  11. package/apiIntegrationAmazonApiGateway.d.ts.map +1 -0
  12. package/apiIntegrationAmazonApiGateway.js +149 -0
  13. package/apiIntegrationAmazonApiGateway.js.map +1 -0
  14. package/apiIntegrationAzureApiManagement.d.ts +202 -0
  15. package/apiIntegrationAzureApiManagement.d.ts.map +1 -0
  16. package/apiIntegrationAzureApiManagement.js +149 -0
  17. package/apiIntegrationAzureApiManagement.js.map +1 -0
  18. package/apiIntegrationExternalMcpDynamicClient.d.ts +175 -0
  19. package/apiIntegrationExternalMcpDynamicClient.d.ts.map +1 -0
  20. package/apiIntegrationExternalMcpDynamicClient.js +137 -0
  21. package/apiIntegrationExternalMcpDynamicClient.js.map +1 -0
  22. package/apiIntegrationExternalMcpOauth2.d.ts +243 -0
  23. package/apiIntegrationExternalMcpOauth2.d.ts.map +1 -0
  24. package/apiIntegrationExternalMcpOauth2.js +166 -0
  25. package/apiIntegrationExternalMcpOauth2.js.map +1 -0
  26. package/apiIntegrationGitRepositoryGithubApp.d.ts +161 -0
  27. package/apiIntegrationGitRepositoryGithubApp.d.ts.map +1 -0
  28. package/apiIntegrationGitRepositoryGithubApp.js +130 -0
  29. package/apiIntegrationGitRepositoryGithubApp.js.map +1 -0
  30. package/apiIntegrationGitRepositoryOauth2.d.ts +269 -0
  31. package/apiIntegrationGitRepositoryOauth2.d.ts.map +1 -0
  32. package/apiIntegrationGitRepositoryOauth2.js +172 -0
  33. package/apiIntegrationGitRepositoryOauth2.js.map +1 -0
  34. package/apiIntegrationGitRepositoryPrivateLink.d.ts +234 -0
  35. package/apiIntegrationGitRepositoryPrivateLink.d.ts.map +1 -0
  36. package/apiIntegrationGitRepositoryPrivateLink.js +156 -0
  37. package/apiIntegrationGitRepositoryPrivateLink.js.map +1 -0
  38. package/apiIntegrationGitRepositoryToken.d.ts +206 -0
  39. package/apiIntegrationGitRepositoryToken.d.ts.map +1 -0
  40. package/apiIntegrationGitRepositoryToken.js +145 -0
  41. package/apiIntegrationGitRepositoryToken.js.map +1 -0
  42. package/apiIntegrationGoogleCloudApiGateway.d.ts +175 -0
  43. package/apiIntegrationGoogleCloudApiGateway.d.ts.map +1 -0
  44. package/apiIntegrationGoogleCloudApiGateway.js +137 -0
  45. package/apiIntegrationGoogleCloudApiGateway.js.map +1 -0
  46. package/authenticationPolicy.d.ts +0 -2
  47. package/authenticationPolicy.d.ts.map +1 -1
  48. package/authenticationPolicy.js +0 -2
  49. package/authenticationPolicy.js.map +1 -1
  50. package/catalogIntegrationAwsGlue.d.ts +0 -2
  51. package/catalogIntegrationAwsGlue.d.ts.map +1 -1
  52. package/catalogIntegrationAwsGlue.js +0 -2
  53. package/catalogIntegrationAwsGlue.js.map +1 -1
  54. package/catalogIntegrationIcebergRest.d.ts +0 -2
  55. package/catalogIntegrationIcebergRest.d.ts.map +1 -1
  56. package/catalogIntegrationIcebergRest.js +0 -2
  57. package/catalogIntegrationIcebergRest.js.map +1 -1
  58. package/catalogIntegrationObjectStorage.d.ts +0 -2
  59. package/catalogIntegrationObjectStorage.d.ts.map +1 -1
  60. package/catalogIntegrationObjectStorage.js +0 -2
  61. package/catalogIntegrationObjectStorage.js.map +1 -1
  62. package/catalogIntegrationOpenCatalog.d.ts +0 -2
  63. package/catalogIntegrationOpenCatalog.d.ts.map +1 -1
  64. package/catalogIntegrationOpenCatalog.js +0 -2
  65. package/catalogIntegrationOpenCatalog.js.map +1 -1
  66. package/computePool.d.ts +3 -3
  67. package/config/vars.d.ts +2 -2
  68. package/cortexAgent.d.ts +3 -3
  69. package/currentAccount.d.ts +60 -2
  70. package/currentAccount.d.ts.map +1 -1
  71. package/currentAccount.js +10 -2
  72. package/currentAccount.js.map +1 -1
  73. package/currentOrganizationAccount.d.ts +60 -2
  74. package/currentOrganizationAccount.d.ts.map +1 -1
  75. package/currentOrganizationAccount.js +10 -2
  76. package/currentOrganizationAccount.js.map +1 -1
  77. package/database.d.ts +12 -0
  78. package/database.d.ts.map +1 -1
  79. package/database.js +2 -0
  80. package/database.js.map +1 -1
  81. package/externalVolume.d.ts +0 -2
  82. package/externalVolume.d.ts.map +1 -1
  83. package/externalVolume.js +0 -2
  84. package/externalVolume.js.map +1 -1
  85. package/functionJava.d.ts +12 -0
  86. package/functionJava.d.ts.map +1 -1
  87. package/functionJava.js +2 -0
  88. package/functionJava.js.map +1 -1
  89. package/functionJavascript.d.ts +12 -0
  90. package/functionJavascript.d.ts.map +1 -1
  91. package/functionJavascript.js +2 -0
  92. package/functionJavascript.js.map +1 -1
  93. package/functionPython.d.ts +12 -0
  94. package/functionPython.d.ts.map +1 -1
  95. package/functionPython.js +2 -0
  96. package/functionPython.js.map +1 -1
  97. package/functionScala.d.ts +12 -0
  98. package/functionScala.d.ts.map +1 -1
  99. package/functionScala.js +2 -0
  100. package/functionScala.js.map +1 -1
  101. package/functionSql.d.ts +12 -0
  102. package/functionSql.d.ts.map +1 -1
  103. package/functionSql.js +2 -0
  104. package/functionSql.js.map +1 -1
  105. package/getApiIntegrations.d.ts +118 -0
  106. package/getApiIntegrations.d.ts.map +1 -0
  107. package/getApiIntegrations.js +115 -0
  108. package/getApiIntegrations.js.map +1 -0
  109. package/getAuthenticationPolicies.d.ts +0 -4
  110. package/getAuthenticationPolicies.d.ts.map +1 -1
  111. package/getAuthenticationPolicies.js +0 -4
  112. package/getAuthenticationPolicies.js.map +1 -1
  113. package/getCatalogIntegrations.d.ts +0 -4
  114. package/getCatalogIntegrations.d.ts.map +1 -1
  115. package/getCatalogIntegrations.js +0 -4
  116. package/getCatalogIntegrations.js.map +1 -1
  117. package/getExternalVolumes.d.ts +0 -4
  118. package/getExternalVolumes.d.ts.map +1 -1
  119. package/getExternalVolumes.js +0 -4
  120. package/getExternalVolumes.js.map +1 -1
  121. package/getNotebooks.d.ts +2 -2
  122. package/getNotebooks.js +2 -2
  123. package/getPasswordPolicies.d.ts +0 -4
  124. package/getPasswordPolicies.d.ts.map +1 -1
  125. package/getPasswordPolicies.js +0 -4
  126. package/getPasswordPolicies.js.map +1 -1
  127. package/getSessionPolicies.d.ts +0 -4
  128. package/getSessionPolicies.d.ts.map +1 -1
  129. package/getSessionPolicies.js +0 -4
  130. package/getSessionPolicies.js.map +1 -1
  131. package/getStorageIntegrations.d.ts +0 -4
  132. package/getStorageIntegrations.d.ts.map +1 -1
  133. package/getStorageIntegrations.js +0 -4
  134. package/getStorageIntegrations.js.map +1 -1
  135. package/getStorageLifecyclePolicies.d.ts +75 -0
  136. package/getStorageLifecyclePolicies.d.ts.map +1 -0
  137. package/getStorageLifecyclePolicies.js +61 -0
  138. package/getStorageLifecyclePolicies.js.map +1 -0
  139. package/grantOwnership.d.ts +0 -2
  140. package/grantOwnership.d.ts.map +1 -1
  141. package/grantOwnership.js +0 -2
  142. package/grantOwnership.js.map +1 -1
  143. package/icebergTableFromDeltaFiles.d.ts +222 -0
  144. package/icebergTableFromDeltaFiles.d.ts.map +1 -0
  145. package/icebergTableFromDeltaFiles.js +148 -0
  146. package/icebergTableFromDeltaFiles.js.map +1 -0
  147. package/icebergTableFromFiles.d.ts +212 -0
  148. package/icebergTableFromFiles.d.ts.map +1 -0
  149. package/icebergTableFromFiles.js +148 -0
  150. package/icebergTableFromFiles.js.map +1 -0
  151. package/index.d.ts +48 -0
  152. package/index.d.ts.map +1 -1
  153. package/index.js +82 -5
  154. package/index.js.map +1 -1
  155. package/legacyServiceUser.d.ts +12 -0
  156. package/legacyServiceUser.d.ts.map +1 -1
  157. package/legacyServiceUser.js +2 -0
  158. package/legacyServiceUser.js.map +1 -1
  159. package/listing.d.ts +3 -3
  160. package/notebook.d.ts +1 -1
  161. package/notebook.js +1 -1
  162. package/package.json +2 -2
  163. package/passwordPolicy.d.ts +0 -2
  164. package/passwordPolicy.d.ts.map +1 -1
  165. package/passwordPolicy.js +0 -2
  166. package/passwordPolicy.js.map +1 -1
  167. package/postgresInstance.d.ts +250 -0
  168. package/postgresInstance.d.ts.map +1 -0
  169. package/postgresInstance.js +165 -0
  170. package/postgresInstance.js.map +1 -0
  171. package/procedureJava.d.ts +12 -0
  172. package/procedureJava.d.ts.map +1 -1
  173. package/procedureJava.js +2 -0
  174. package/procedureJava.js.map +1 -1
  175. package/procedureJavascript.d.ts +12 -0
  176. package/procedureJavascript.d.ts.map +1 -1
  177. package/procedureJavascript.js +2 -0
  178. package/procedureJavascript.js.map +1 -1
  179. package/procedurePython.d.ts +12 -0
  180. package/procedurePython.d.ts.map +1 -1
  181. package/procedurePython.js +2 -0
  182. package/procedurePython.js.map +1 -1
  183. package/procedureScala.d.ts +12 -0
  184. package/procedureScala.d.ts.map +1 -1
  185. package/procedureScala.js +2 -0
  186. package/procedureScala.js.map +1 -1
  187. package/procedureSql.d.ts +12 -0
  188. package/procedureSql.d.ts.map +1 -1
  189. package/procedureSql.js +2 -0
  190. package/procedureSql.js.map +1 -1
  191. package/provider.d.ts +2 -2
  192. package/schema.d.ts +12 -0
  193. package/schema.d.ts.map +1 -1
  194. package/schema.js +2 -0
  195. package/schema.js.map +1 -1
  196. package/secondaryDatabase.d.ts +12 -0
  197. package/secondaryDatabase.d.ts.map +1 -1
  198. package/secondaryDatabase.js +2 -0
  199. package/secondaryDatabase.js.map +1 -1
  200. package/serviceUser.d.ts +12 -0
  201. package/serviceUser.d.ts.map +1 -1
  202. package/serviceUser.js +2 -0
  203. package/serviceUser.js.map +1 -1
  204. package/sessionPolicy.d.ts +0 -2
  205. package/sessionPolicy.d.ts.map +1 -1
  206. package/sessionPolicy.js +0 -2
  207. package/sessionPolicy.js.map +1 -1
  208. package/sharedDatabase.d.ts +12 -0
  209. package/sharedDatabase.d.ts.map +1 -1
  210. package/sharedDatabase.js +2 -0
  211. package/sharedDatabase.js.map +1 -1
  212. package/stageExternalAzure.d.ts +0 -2
  213. package/stageExternalAzure.d.ts.map +1 -1
  214. package/stageExternalAzure.js +0 -2
  215. package/stageExternalAzure.js.map +1 -1
  216. package/stageExternalGcs.d.ts +0 -2
  217. package/stageExternalGcs.d.ts.map +1 -1
  218. package/stageExternalGcs.js +0 -2
  219. package/stageExternalGcs.js.map +1 -1
  220. package/stageExternalS3.d.ts +0 -2
  221. package/stageExternalS3.d.ts.map +1 -1
  222. package/stageExternalS3.js +0 -2
  223. package/stageExternalS3.js.map +1 -1
  224. package/stageExternalS3Compatible.d.ts +0 -2
  225. package/stageExternalS3Compatible.d.ts.map +1 -1
  226. package/stageExternalS3Compatible.js +0 -2
  227. package/stageExternalS3Compatible.js.map +1 -1
  228. package/stageInternal.d.ts +0 -2
  229. package/stageInternal.d.ts.map +1 -1
  230. package/stageInternal.js +0 -2
  231. package/stageInternal.js.map +1 -1
  232. package/storageIntegrationAws.d.ts +0 -2
  233. package/storageIntegrationAws.d.ts.map +1 -1
  234. package/storageIntegrationAws.js +0 -2
  235. package/storageIntegrationAws.js.map +1 -1
  236. package/storageIntegrationAzure.d.ts +0 -2
  237. package/storageIntegrationAzure.d.ts.map +1 -1
  238. package/storageIntegrationAzure.js +0 -2
  239. package/storageIntegrationAzure.js.map +1 -1
  240. package/storageIntegrationGcs.d.ts +0 -2
  241. package/storageIntegrationGcs.d.ts.map +1 -1
  242. package/storageIntegrationGcs.js +0 -2
  243. package/storageIntegrationGcs.js.map +1 -1
  244. package/storageLifecyclePolicy.d.ts +214 -0
  245. package/storageLifecyclePolicy.d.ts.map +1 -0
  246. package/storageLifecyclePolicy.js +159 -0
  247. package/storageLifecyclePolicy.js.map +1 -0
  248. package/tableStorageLifecyclePolicyAttachment.d.ts +154 -0
  249. package/tableStorageLifecyclePolicyAttachment.d.ts.map +1 -0
  250. package/tableStorageLifecyclePolicyAttachment.js +159 -0
  251. package/tableStorageLifecyclePolicyAttachment.js.map +1 -0
  252. package/tagAssociation.d.ts +5 -3
  253. package/tagAssociation.d.ts.map +1 -1
  254. package/tagAssociation.js +2 -0
  255. package/tagAssociation.js.map +1 -1
  256. package/task.d.ts +15 -3
  257. package/task.d.ts.map +1 -1
  258. package/task.js +2 -0
  259. package/task.js.map +1 -1
  260. package/types/input.d.ts +546 -6
  261. package/types/input.d.ts.map +1 -1
  262. package/types/output.d.ts +647 -6
  263. package/types/output.d.ts.map +1 -1
  264. package/user.d.ts +12 -0
  265. package/user.d.ts.map +1 -1
  266. package/user.js +2 -0
  267. package/user.js.map +1 -1
  268. package/userSessionPolicyAttachment.d.ts +0 -2
  269. package/userSessionPolicyAttachment.d.ts.map +1 -1
  270. package/userSessionPolicyAttachment.js +0 -2
  271. package/userSessionPolicyAttachment.js.map +1 -1
@@ -0,0 +1,202 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * Resource used to manage API integration Azure API Management objects. For more information, check [api integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-api-integration).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
12
+ * <!-- TODO(SNOW-1634854): include an example showing both methods-->
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as snowflake from "@pulumi/snowflake";
17
+ *
18
+ * // basic resource
19
+ * const basic = new snowflake.ApiIntegrationAzureApiManagement("basic", {
20
+ * name: "azure_api_management_integration",
21
+ * azureTenantId: "00000000-0000-0000-0000-000000000000",
22
+ * azureAdApplicationId: "11111111-1111-1111-1111-111111111111",
23
+ * apiAllowedPrefixes: ["https://apim-hello-world.azure-api.net/"],
24
+ * enabled: true,
25
+ * });
26
+ * // complete resource
27
+ * const complete = new snowflake.ApiIntegrationAzureApiManagement("complete", {
28
+ * name: "azure_api_management_integration_complete",
29
+ * azureTenantId: "00000000-0000-0000-0000-000000000000",
30
+ * azureAdApplicationId: "11111111-1111-1111-1111-111111111111",
31
+ * apiAllowedPrefixes: ["https://apim-hello-world.azure-api.net/"],
32
+ * apiBlockedPrefixes: ["https://apim-hello-world.azure-api.net/blocked/"],
33
+ * apiKey: "my-api-key",
34
+ * enabled: true,
35
+ * comment: "Example Azure API Management integration",
36
+ * });
37
+ * ```
38
+ *
39
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
40
+ *
41
+ * ## Import
42
+ *
43
+ * ```sh
44
+ * $ pulumi import snowflake:index/apiIntegrationAzureApiManagement:ApiIntegrationAzureApiManagement example '"<name>"'
45
+ * ```
46
+ */
47
+ export declare class ApiIntegrationAzureApiManagement extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing ApiIntegrationAzureApiManagement resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiIntegrationAzureApiManagementState, opts?: pulumi.CustomResourceOptions): ApiIntegrationAzureApiManagement;
58
+ /**
59
+ * Returns true if the given object is an instance of ApiIntegrationAzureApiManagement. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is ApiIntegrationAzureApiManagement;
63
+ /**
64
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
65
+ */
66
+ readonly apiAllowedPrefixes: pulumi.Output<string[]>;
67
+ /**
68
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
69
+ */
70
+ readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
71
+ /**
72
+ * Specifies the API key (secret) that Snowflake uses to authenticate when making calls to the proxy service. Snowflake returns a masked value for this field in DESCRIBE output, so external changes to it cannot be detected. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
73
+ */
74
+ readonly apiKey: pulumi.Output<string | undefined>;
75
+ /**
76
+ * The 'Application (client) ID' of the Azure AD app for your Azure API Management instance.
77
+ */
78
+ readonly azureAdApplicationId: pulumi.Output<string>;
79
+ /**
80
+ * Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
81
+ */
82
+ readonly azureTenantId: pulumi.Output<string>;
83
+ /**
84
+ * Specifies a comment for the integration.
85
+ */
86
+ readonly comment: pulumi.Output<string | undefined>;
87
+ /**
88
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
89
+ */
90
+ readonly describeOutputs: pulumi.Output<outputs.ApiIntegrationAzureApiManagementDescribeOutput[]>;
91
+ /**
92
+ * Specifies whether this API integration is enabled or disabled.
93
+ */
94
+ readonly enabled: pulumi.Output<boolean>;
95
+ /**
96
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
97
+ */
98
+ readonly fullyQualifiedName: pulumi.Output<string>;
99
+ /**
100
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
101
+ */
102
+ readonly name: pulumi.Output<string>;
103
+ /**
104
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
105
+ */
106
+ readonly showOutputs: pulumi.Output<outputs.ApiIntegrationAzureApiManagementShowOutput[]>;
107
+ /**
108
+ * Create a ApiIntegrationAzureApiManagement resource with the given unique name, arguments, and options.
109
+ *
110
+ * @param name The _unique_ name of the resource.
111
+ * @param args The arguments to use to populate this resource's properties.
112
+ * @param opts A bag of options that control this resource's behavior.
113
+ */
114
+ constructor(name: string, args: ApiIntegrationAzureApiManagementArgs, opts?: pulumi.CustomResourceOptions);
115
+ }
116
+ /**
117
+ * Input properties used for looking up and filtering ApiIntegrationAzureApiManagement resources.
118
+ */
119
+ export interface ApiIntegrationAzureApiManagementState {
120
+ /**
121
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
122
+ */
123
+ apiAllowedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
124
+ /**
125
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
126
+ */
127
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
128
+ /**
129
+ * Specifies the API key (secret) that Snowflake uses to authenticate when making calls to the proxy service. Snowflake returns a masked value for this field in DESCRIBE output, so external changes to it cannot be detected. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
130
+ */
131
+ apiKey?: pulumi.Input<string | undefined>;
132
+ /**
133
+ * The 'Application (client) ID' of the Azure AD app for your Azure API Management instance.
134
+ */
135
+ azureAdApplicationId?: pulumi.Input<string | undefined>;
136
+ /**
137
+ * Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
138
+ */
139
+ azureTenantId?: pulumi.Input<string | undefined>;
140
+ /**
141
+ * Specifies a comment for the integration.
142
+ */
143
+ comment?: pulumi.Input<string | undefined>;
144
+ /**
145
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
146
+ */
147
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationAzureApiManagementDescribeOutput>[] | undefined>;
148
+ /**
149
+ * Specifies whether this API integration is enabled or disabled.
150
+ */
151
+ enabled?: pulumi.Input<boolean | undefined>;
152
+ /**
153
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
154
+ */
155
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
158
+ */
159
+ name?: pulumi.Input<string | undefined>;
160
+ /**
161
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
162
+ */
163
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationAzureApiManagementShowOutput>[] | undefined>;
164
+ }
165
+ /**
166
+ * The set of arguments for constructing a ApiIntegrationAzureApiManagement resource.
167
+ */
168
+ export interface ApiIntegrationAzureApiManagementArgs {
169
+ /**
170
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
171
+ */
172
+ apiAllowedPrefixes: pulumi.Input<pulumi.Input<string>[]>;
173
+ /**
174
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
175
+ */
176
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
177
+ /**
178
+ * Specifies the API key (secret) that Snowflake uses to authenticate when making calls to the proxy service. Snowflake returns a masked value for this field in DESCRIBE output, so external changes to it cannot be detected. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
179
+ */
180
+ apiKey?: pulumi.Input<string | undefined>;
181
+ /**
182
+ * The 'Application (client) ID' of the Azure AD app for your Azure API Management instance.
183
+ */
184
+ azureAdApplicationId: pulumi.Input<string>;
185
+ /**
186
+ * Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
187
+ */
188
+ azureTenantId: pulumi.Input<string>;
189
+ /**
190
+ * Specifies a comment for the integration.
191
+ */
192
+ comment?: pulumi.Input<string | undefined>;
193
+ /**
194
+ * Specifies whether this API integration is enabled or disabled.
195
+ */
196
+ enabled: pulumi.Input<boolean>;
197
+ /**
198
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
199
+ */
200
+ name?: pulumi.Input<string | undefined>;
201
+ }
202
+ //# sourceMappingURL=apiIntegrationAzureApiManagement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationAzureApiManagement.d.ts","sourceRoot":"","sources":["../apiIntegrationAzureApiManagement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,qBAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gCAAgC;IAOlL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gCAAgC;IAO3E;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClE;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M,CAAC,CAAC;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.ApiIntegrationAzureApiManagement = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
33
+ *
34
+ * Resource used to manage API integration Azure API Management objects. For more information, check [api integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-api-integration).
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
39
+ * <!-- TODO(SNOW-1634854): include an example showing both methods-->
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as snowflake from "@pulumi/snowflake";
44
+ *
45
+ * // basic resource
46
+ * const basic = new snowflake.ApiIntegrationAzureApiManagement("basic", {
47
+ * name: "azure_api_management_integration",
48
+ * azureTenantId: "00000000-0000-0000-0000-000000000000",
49
+ * azureAdApplicationId: "11111111-1111-1111-1111-111111111111",
50
+ * apiAllowedPrefixes: ["https://apim-hello-world.azure-api.net/"],
51
+ * enabled: true,
52
+ * });
53
+ * // complete resource
54
+ * const complete = new snowflake.ApiIntegrationAzureApiManagement("complete", {
55
+ * name: "azure_api_management_integration_complete",
56
+ * azureTenantId: "00000000-0000-0000-0000-000000000000",
57
+ * azureAdApplicationId: "11111111-1111-1111-1111-111111111111",
58
+ * apiAllowedPrefixes: ["https://apim-hello-world.azure-api.net/"],
59
+ * apiBlockedPrefixes: ["https://apim-hello-world.azure-api.net/blocked/"],
60
+ * apiKey: "my-api-key",
61
+ * enabled: true,
62
+ * comment: "Example Azure API Management integration",
63
+ * });
64
+ * ```
65
+ *
66
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
67
+ *
68
+ * ## Import
69
+ *
70
+ * ```sh
71
+ * $ pulumi import snowflake:index/apiIntegrationAzureApiManagement:ApiIntegrationAzureApiManagement example '"<name>"'
72
+ * ```
73
+ */
74
+ class ApiIntegrationAzureApiManagement extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing ApiIntegrationAzureApiManagement resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name, id, state, opts) {
85
+ return new ApiIntegrationAzureApiManagement(name, state, { ...opts, id: id });
86
+ }
87
+ /** @internal */
88
+ static __pulumiType = 'snowflake:index/apiIntegrationAzureApiManagement:ApiIntegrationAzureApiManagement';
89
+ /**
90
+ * Returns true if the given object is an instance of ApiIntegrationAzureApiManagement. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj) {
94
+ if (obj === undefined || obj === null) {
95
+ return false;
96
+ }
97
+ return obj['__pulumiType'] === ApiIntegrationAzureApiManagement.__pulumiType;
98
+ }
99
+ constructor(name, argsOrState, opts) {
100
+ let resourceInputs = {};
101
+ opts = opts || {};
102
+ if (opts.id) {
103
+ const state = argsOrState;
104
+ resourceInputs["apiAllowedPrefixes"] = state?.apiAllowedPrefixes;
105
+ resourceInputs["apiBlockedPrefixes"] = state?.apiBlockedPrefixes;
106
+ resourceInputs["apiKey"] = state?.apiKey;
107
+ resourceInputs["azureAdApplicationId"] = state?.azureAdApplicationId;
108
+ resourceInputs["azureTenantId"] = state?.azureTenantId;
109
+ resourceInputs["comment"] = state?.comment;
110
+ resourceInputs["describeOutputs"] = state?.describeOutputs;
111
+ resourceInputs["enabled"] = state?.enabled;
112
+ resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
113
+ resourceInputs["name"] = state?.name;
114
+ resourceInputs["showOutputs"] = state?.showOutputs;
115
+ }
116
+ else {
117
+ const args = argsOrState;
118
+ if (args?.apiAllowedPrefixes === undefined && !opts.urn) {
119
+ throw new Error("Missing required property 'apiAllowedPrefixes'");
120
+ }
121
+ if (args?.azureAdApplicationId === undefined && !opts.urn) {
122
+ throw new Error("Missing required property 'azureAdApplicationId'");
123
+ }
124
+ if (args?.azureTenantId === undefined && !opts.urn) {
125
+ throw new Error("Missing required property 'azureTenantId'");
126
+ }
127
+ if (args?.enabled === undefined && !opts.urn) {
128
+ throw new Error("Missing required property 'enabled'");
129
+ }
130
+ resourceInputs["apiAllowedPrefixes"] = args?.apiAllowedPrefixes;
131
+ resourceInputs["apiBlockedPrefixes"] = args?.apiBlockedPrefixes;
132
+ resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
133
+ resourceInputs["azureAdApplicationId"] = args?.azureAdApplicationId;
134
+ resourceInputs["azureTenantId"] = args?.azureTenantId;
135
+ resourceInputs["comment"] = args?.comment;
136
+ resourceInputs["enabled"] = args?.enabled;
137
+ resourceInputs["name"] = args?.name;
138
+ resourceInputs["describeOutputs"] = undefined /*out*/;
139
+ resourceInputs["fullyQualifiedName"] = undefined /*out*/;
140
+ resourceInputs["showOutputs"] = undefined /*out*/;
141
+ }
142
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
143
+ const secretOpts = { additionalSecretOutputs: ["apiKey"] };
144
+ opts = pulumi.mergeOptions(opts, secretOpts);
145
+ super(ApiIntegrationAzureApiManagement.__pulumiType, name, resourceInputs, opts);
146
+ }
147
+ }
148
+ exports.ApiIntegrationAzureApiManagement = ApiIntegrationAzureApiManagement;
149
+ //# sourceMappingURL=apiIntegrationAzureApiManagement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationAzureApiManagement.js","sourceRoot":"","sources":["../apiIntegrationAzureApiManagement.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;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AAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AA/HL,4EAgIC"}
@@ -0,0 +1,175 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * Resource used to manage API integration External MCP Dynamic Client Registration objects. For more information, check [api integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-api-integration).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
12
+ * <!-- TODO(SNOW-1634854): include an example showing both methods-->
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as snowflake from "@pulumi/snowflake";
17
+ *
18
+ * // basic resource
19
+ * const basic = new snowflake.ApiIntegrationExternalMcpDynamicClient("basic", {
20
+ * name: "external_mcp_dynamic_client_integration",
21
+ * oauthResourceUrl: "https://mcp-server.example.com",
22
+ * apiAllowedPrefixes: ["https://mcp-server.example.com/"],
23
+ * enabled: true,
24
+ * });
25
+ * // complete resource
26
+ * const complete = new snowflake.ApiIntegrationExternalMcpDynamicClient("complete", {
27
+ * name: "external_mcp_dynamic_client_integration_complete",
28
+ * oauthResourceUrl: "https://mcp-server.example.com",
29
+ * apiAllowedPrefixes: ["https://mcp-server.example.com/"],
30
+ * apiBlockedPrefixes: ["https://mcp-server.example.com/blocked/"],
31
+ * enabled: true,
32
+ * comment: "Example External MCP Dynamic Client Registration integration",
33
+ * });
34
+ * ```
35
+ *
36
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
37
+ *
38
+ * ## Import
39
+ *
40
+ * ```sh
41
+ * $ pulumi import snowflake:index/apiIntegrationExternalMcpDynamicClient:ApiIntegrationExternalMcpDynamicClient example '"<name>"'
42
+ * ```
43
+ */
44
+ export declare class ApiIntegrationExternalMcpDynamicClient extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing ApiIntegrationExternalMcpDynamicClient resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiIntegrationExternalMcpDynamicClientState, opts?: pulumi.CustomResourceOptions): ApiIntegrationExternalMcpDynamicClient;
55
+ /**
56
+ * Returns true if the given object is an instance of ApiIntegrationExternalMcpDynamicClient. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is ApiIntegrationExternalMcpDynamicClient;
60
+ /**
61
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
62
+ */
63
+ readonly apiAllowedPrefixes: pulumi.Output<string[]>;
64
+ /**
65
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
66
+ */
67
+ readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
68
+ /**
69
+ * Specifies a comment for the integration.
70
+ */
71
+ readonly comment: pulumi.Output<string | undefined>;
72
+ /**
73
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
74
+ */
75
+ readonly describeOutputs: pulumi.Output<outputs.ApiIntegrationExternalMcpDynamicClientDescribeOutput[]>;
76
+ /**
77
+ * Specifies whether this API integration is enabled or disabled.
78
+ */
79
+ readonly enabled: pulumi.Output<boolean>;
80
+ /**
81
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
82
+ */
83
+ readonly fullyQualifiedName: pulumi.Output<string>;
84
+ /**
85
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
86
+ */
87
+ readonly name: pulumi.Output<string>;
88
+ /**
89
+ * The URL of the OAuth2 protected resource server. This URL is used by Snowflake to discover OAuth2 provider endpoints via RFC 8414 server metadata.
90
+ */
91
+ readonly oauthResourceUrl: pulumi.Output<string>;
92
+ /**
93
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
94
+ */
95
+ readonly showOutputs: pulumi.Output<outputs.ApiIntegrationExternalMcpDynamicClientShowOutput[]>;
96
+ /**
97
+ * Create a ApiIntegrationExternalMcpDynamicClient resource with the given unique name, arguments, and options.
98
+ *
99
+ * @param name The _unique_ name of the resource.
100
+ * @param args The arguments to use to populate this resource's properties.
101
+ * @param opts A bag of options that control this resource's behavior.
102
+ */
103
+ constructor(name: string, args: ApiIntegrationExternalMcpDynamicClientArgs, opts?: pulumi.CustomResourceOptions);
104
+ }
105
+ /**
106
+ * Input properties used for looking up and filtering ApiIntegrationExternalMcpDynamicClient resources.
107
+ */
108
+ export interface ApiIntegrationExternalMcpDynamicClientState {
109
+ /**
110
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
111
+ */
112
+ apiAllowedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
113
+ /**
114
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
115
+ */
116
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
117
+ /**
118
+ * Specifies a comment for the integration.
119
+ */
120
+ comment?: pulumi.Input<string | undefined>;
121
+ /**
122
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
123
+ */
124
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationExternalMcpDynamicClientDescribeOutput>[] | undefined>;
125
+ /**
126
+ * Specifies whether this API integration is enabled or disabled.
127
+ */
128
+ enabled?: pulumi.Input<boolean | undefined>;
129
+ /**
130
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
131
+ */
132
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
135
+ */
136
+ name?: pulumi.Input<string | undefined>;
137
+ /**
138
+ * The URL of the OAuth2 protected resource server. This URL is used by Snowflake to discover OAuth2 provider endpoints via RFC 8414 server metadata.
139
+ */
140
+ oauthResourceUrl?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
143
+ */
144
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationExternalMcpDynamicClientShowOutput>[] | undefined>;
145
+ }
146
+ /**
147
+ * The set of arguments for constructing a ApiIntegrationExternalMcpDynamicClient resource.
148
+ */
149
+ export interface ApiIntegrationExternalMcpDynamicClientArgs {
150
+ /**
151
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
152
+ */
153
+ apiAllowedPrefixes: pulumi.Input<pulumi.Input<string>[]>;
154
+ /**
155
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
156
+ */
157
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
158
+ /**
159
+ * Specifies a comment for the integration.
160
+ */
161
+ comment?: pulumi.Input<string | undefined>;
162
+ /**
163
+ * Specifies whether this API integration is enabled or disabled.
164
+ */
165
+ enabled: pulumi.Input<boolean>;
166
+ /**
167
+ * Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
168
+ */
169
+ name?: pulumi.Input<string | undefined>;
170
+ /**
171
+ * The URL of the OAuth2 protected resource server. This URL is used by Snowflake to discover OAuth2 provider endpoints via RFC 8414 server metadata.
172
+ */
173
+ oauthResourceUrl: pulumi.Input<string>;
174
+ }
175
+ //# sourceMappingURL=apiIntegrationExternalMcpDynamicClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationExternalMcpDynamicClient.d.ts","sourceRoot":"","sources":["../apiIntegrationExternalMcpDynamicClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAC7E;;;;;;;;OAQG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