@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,161 @@
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 for git repositories using GitHub App authentication. 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.ApiIntegrationGitRepositoryGithubApp("basic", {
20
+ * name: "git_repository_github_app_integration",
21
+ * apiAllowedPrefixes: ["https://github.com/my-org/"],
22
+ * enabled: true,
23
+ * });
24
+ * // complete resource
25
+ * const complete = new snowflake.ApiIntegrationGitRepositoryGithubApp("complete", {
26
+ * name: "git_repository_github_app_integration_complete",
27
+ * apiAllowedPrefixes: ["https://github.com/my-org/"],
28
+ * apiBlockedPrefixes: ["https://github.com/my-org/private-repo/"],
29
+ * enabled: true,
30
+ * comment: "Example Git Repository GitHub App integration",
31
+ * });
32
+ * ```
33
+ *
34
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
35
+ *
36
+ * ## Import
37
+ *
38
+ * ```sh
39
+ * $ pulumi import snowflake:index/apiIntegrationGitRepositoryGithubApp:ApiIntegrationGitRepositoryGithubApp example '"<name>"'
40
+ * ```
41
+ */
42
+ export declare class ApiIntegrationGitRepositoryGithubApp extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing ApiIntegrationGitRepositoryGithubApp resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiIntegrationGitRepositoryGithubAppState, opts?: pulumi.CustomResourceOptions): ApiIntegrationGitRepositoryGithubApp;
53
+ /**
54
+ * Returns true if the given object is an instance of ApiIntegrationGitRepositoryGithubApp. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj: any): obj is ApiIntegrationGitRepositoryGithubApp;
58
+ /**
59
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
60
+ */
61
+ readonly apiAllowedPrefixes: pulumi.Output<string[]>;
62
+ /**
63
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
64
+ */
65
+ readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
66
+ /**
67
+ * Specifies a comment for the integration.
68
+ */
69
+ readonly comment: pulumi.Output<string | undefined>;
70
+ /**
71
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
72
+ */
73
+ readonly describeOutputs: pulumi.Output<outputs.ApiIntegrationGitRepositoryGithubAppDescribeOutput[]>;
74
+ /**
75
+ * Specifies whether this API integration is enabled or disabled.
76
+ */
77
+ readonly enabled: pulumi.Output<boolean>;
78
+ /**
79
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
80
+ */
81
+ readonly fullyQualifiedName: pulumi.Output<string>;
82
+ /**
83
+ * 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: `|`, `.`, `"`.
84
+ */
85
+ readonly name: pulumi.Output<string>;
86
+ /**
87
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
88
+ */
89
+ readonly showOutputs: pulumi.Output<outputs.ApiIntegrationGitRepositoryGithubAppShowOutput[]>;
90
+ /**
91
+ * Create a ApiIntegrationGitRepositoryGithubApp resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: ApiIntegrationGitRepositoryGithubAppArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering ApiIntegrationGitRepositoryGithubApp resources.
101
+ */
102
+ export interface ApiIntegrationGitRepositoryGithubAppState {
103
+ /**
104
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
105
+ */
106
+ apiAllowedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
107
+ /**
108
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
109
+ */
110
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
111
+ /**
112
+ * Specifies a comment for the integration.
113
+ */
114
+ comment?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
117
+ */
118
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationGitRepositoryGithubAppDescribeOutput>[] | undefined>;
119
+ /**
120
+ * Specifies whether this API integration is enabled or disabled.
121
+ */
122
+ enabled?: pulumi.Input<boolean | undefined>;
123
+ /**
124
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
125
+ */
126
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * 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: `|`, `.`, `"`.
129
+ */
130
+ name?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
133
+ */
134
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationGitRepositoryGithubAppShowOutput>[] | undefined>;
135
+ }
136
+ /**
137
+ * The set of arguments for constructing a ApiIntegrationGitRepositoryGithubApp resource.
138
+ */
139
+ export interface ApiIntegrationGitRepositoryGithubAppArgs {
140
+ /**
141
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
142
+ */
143
+ apiAllowedPrefixes: pulumi.Input<pulumi.Input<string>[]>;
144
+ /**
145
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
146
+ */
147
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
148
+ /**
149
+ * Specifies a comment for the integration.
150
+ */
151
+ comment?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Specifies whether this API integration is enabled or disabled.
154
+ */
155
+ enabled: pulumi.Input<boolean>;
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
+ //# sourceMappingURL=apiIntegrationGitRepositoryGithubApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationGitRepositoryGithubApp.d.ts","sourceRoot":"","sources":["../apiIntegrationGitRepositoryGithubApp.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oCAAoC;IAO1L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oCAAoC;IAO/E;;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,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SA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AE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8CAA8C,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACjH;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACzD;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACtE;;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,130 @@
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.ApiIntegrationGitRepositoryGithubApp = 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 for git repositories using GitHub App authentication. 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.ApiIntegrationGitRepositoryGithubApp("basic", {
47
+ * name: "git_repository_github_app_integration",
48
+ * apiAllowedPrefixes: ["https://github.com/my-org/"],
49
+ * enabled: true,
50
+ * });
51
+ * // complete resource
52
+ * const complete = new snowflake.ApiIntegrationGitRepositoryGithubApp("complete", {
53
+ * name: "git_repository_github_app_integration_complete",
54
+ * apiAllowedPrefixes: ["https://github.com/my-org/"],
55
+ * apiBlockedPrefixes: ["https://github.com/my-org/private-repo/"],
56
+ * enabled: true,
57
+ * comment: "Example Git Repository GitHub App integration",
58
+ * });
59
+ * ```
60
+ *
61
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
62
+ *
63
+ * ## Import
64
+ *
65
+ * ```sh
66
+ * $ pulumi import snowflake:index/apiIntegrationGitRepositoryGithubApp:ApiIntegrationGitRepositoryGithubApp example '"<name>"'
67
+ * ```
68
+ */
69
+ class ApiIntegrationGitRepositoryGithubApp extends pulumi.CustomResource {
70
+ /**
71
+ * Get an existing ApiIntegrationGitRepositoryGithubApp resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new ApiIntegrationGitRepositoryGithubApp(name, state, { ...opts, id: id });
81
+ }
82
+ /** @internal */
83
+ static __pulumiType = 'snowflake:index/apiIntegrationGitRepositoryGithubApp:ApiIntegrationGitRepositoryGithubApp';
84
+ /**
85
+ * Returns true if the given object is an instance of ApiIntegrationGitRepositoryGithubApp. This is designed to work even
86
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
87
+ */
88
+ static isInstance(obj) {
89
+ if (obj === undefined || obj === null) {
90
+ return false;
91
+ }
92
+ return obj['__pulumiType'] === ApiIntegrationGitRepositoryGithubApp.__pulumiType;
93
+ }
94
+ constructor(name, argsOrState, opts) {
95
+ let resourceInputs = {};
96
+ opts = opts || {};
97
+ if (opts.id) {
98
+ const state = argsOrState;
99
+ resourceInputs["apiAllowedPrefixes"] = state?.apiAllowedPrefixes;
100
+ resourceInputs["apiBlockedPrefixes"] = state?.apiBlockedPrefixes;
101
+ resourceInputs["comment"] = state?.comment;
102
+ resourceInputs["describeOutputs"] = state?.describeOutputs;
103
+ resourceInputs["enabled"] = state?.enabled;
104
+ resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
105
+ resourceInputs["name"] = state?.name;
106
+ resourceInputs["showOutputs"] = state?.showOutputs;
107
+ }
108
+ else {
109
+ const args = argsOrState;
110
+ if (args?.apiAllowedPrefixes === undefined && !opts.urn) {
111
+ throw new Error("Missing required property 'apiAllowedPrefixes'");
112
+ }
113
+ if (args?.enabled === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'enabled'");
115
+ }
116
+ resourceInputs["apiAllowedPrefixes"] = args?.apiAllowedPrefixes;
117
+ resourceInputs["apiBlockedPrefixes"] = args?.apiBlockedPrefixes;
118
+ resourceInputs["comment"] = args?.comment;
119
+ resourceInputs["enabled"] = args?.enabled;
120
+ resourceInputs["name"] = args?.name;
121
+ resourceInputs["describeOutputs"] = undefined /*out*/;
122
+ resourceInputs["fullyQualifiedName"] = undefined /*out*/;
123
+ resourceInputs["showOutputs"] = undefined /*out*/;
124
+ }
125
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
126
+ super(ApiIntegrationGitRepositoryGithubApp.__pulumiType, name, resourceInputs, opts);
127
+ }
128
+ }
129
+ exports.ApiIntegrationGitRepositoryGithubApp = ApiIntegrationGitRepositoryGithubApp;
130
+ //# sourceMappingURL=apiIntegrationGitRepositoryGithubApp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationGitRepositoryGithubApp.js","sourceRoot":"","sources":["../apiIntegrationGitRepositoryGithubApp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;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CAAC;YACjF,IAAI,IAAI,EAAE,kBAAkB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,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,KAAK,CAAC,oCAAoC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;;AArGL,oFAsGC"}
@@ -0,0 +1,269 @@
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 Git Repository OAuth2 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.ApiIntegrationGitRepositoryOauth2("basic", {
20
+ * name: "git_repository_oauth2_integration",
21
+ * oauthAuthorizationEndpoint: "https://gitlab.com/oauth/authorize",
22
+ * oauthTokenEndpoint: "https://gitlab.com/oauth/token",
23
+ * oauthClientId: "my-client-id",
24
+ * oauthClientSecret: "my-client-secret",
25
+ * apiAllowedPrefixes: ["https://gitlab.com/my-org/"],
26
+ * enabled: true,
27
+ * });
28
+ * // complete resource
29
+ * const complete = new snowflake.ApiIntegrationGitRepositoryOauth2("complete", {
30
+ * name: "git_repository_oauth2_integration_complete",
31
+ * oauthAuthorizationEndpoint: "https://gitlab.com/oauth/authorize",
32
+ * oauthTokenEndpoint: "https://gitlab.com/oauth/token",
33
+ * oauthClientId: "my-client-id",
34
+ * oauthClientSecret: "my-client-secret",
35
+ * oauthAccessTokenValidity: 3600,
36
+ * oauthRefreshTokenValidity: 86400,
37
+ * oauthAllowedScopes: ["read_repository"],
38
+ * oauthUsername: "my-git-user",
39
+ * apiAllowedPrefixes: ["https://gitlab.com/my-org/"],
40
+ * apiBlockedPrefixes: ["https://gitlab.com/my-org/private-repo/"],
41
+ * enabled: true,
42
+ * comment: "Example Git Repository OAuth2 integration",
43
+ * });
44
+ * ```
45
+ *
46
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
47
+ *
48
+ * ## Import
49
+ *
50
+ * ```sh
51
+ * $ pulumi import snowflake:index/apiIntegrationGitRepositoryOauth2:ApiIntegrationGitRepositoryOauth2 example '"<name>"'
52
+ * ```
53
+ */
54
+ export declare class ApiIntegrationGitRepositoryOauth2 extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing ApiIntegrationGitRepositoryOauth2 resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiIntegrationGitRepositoryOauth2State, opts?: pulumi.CustomResourceOptions): ApiIntegrationGitRepositoryOauth2;
65
+ /**
66
+ * Returns true if the given object is an instance of ApiIntegrationGitRepositoryOauth2. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj: any): obj is ApiIntegrationGitRepositoryOauth2;
70
+ /**
71
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
72
+ */
73
+ readonly apiAllowedPrefixes: pulumi.Output<string[]>;
74
+ /**
75
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
76
+ */
77
+ readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
78
+ /**
79
+ * Specifies a comment for the integration.
80
+ */
81
+ readonly comment: pulumi.Output<string | undefined>;
82
+ /**
83
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
84
+ */
85
+ readonly describeOutputs: pulumi.Output<outputs.ApiIntegrationGitRepositoryOauth2DescribeOutput[]>;
86
+ /**
87
+ * Specifies whether this API integration is enabled or disabled.
88
+ */
89
+ readonly enabled: pulumi.Output<boolean>;
90
+ /**
91
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
92
+ */
93
+ readonly fullyQualifiedName: pulumi.Output<string>;
94
+ /**
95
+ * 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: `|`, `.`, `"`.
96
+ */
97
+ readonly name: pulumi.Output<string>;
98
+ /**
99
+ * Specifies the validity period (in seconds) for the OAuth 2.0 access token.
100
+ */
101
+ readonly oauthAccessTokenValidity: pulumi.Output<number | undefined>;
102
+ /**
103
+ * Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive): `readApi` | `readRepository` | `writeRepository`.
104
+ */
105
+ readonly oauthAllowedScopes: pulumi.Output<string[] | undefined>;
106
+ /**
107
+ * The OAuth 2.0 authorization endpoint for the Git repository.
108
+ */
109
+ readonly oauthAuthorizationEndpoint: pulumi.Output<string>;
110
+ /**
111
+ * The client ID for the OAuth 2.0 application.
112
+ */
113
+ readonly oauthClientId: pulumi.Output<string>;
114
+ /**
115
+ * The client secret for the OAuth 2.0 application. 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".
116
+ */
117
+ readonly oauthClientSecret: pulumi.Output<string>;
118
+ /**
119
+ * Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
120
+ */
121
+ readonly oauthRefreshTokenValidity: pulumi.Output<number | undefined>;
122
+ /**
123
+ * The OAuth 2.0 token endpoint for the Git repository.
124
+ */
125
+ readonly oauthTokenEndpoint: pulumi.Output<string>;
126
+ /**
127
+ * Specifies the username to authenticate with the Git repository using OAuth 2.0.
128
+ */
129
+ readonly oauthUsername: pulumi.Output<string | undefined>;
130
+ /**
131
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
132
+ */
133
+ readonly showOutputs: pulumi.Output<outputs.ApiIntegrationGitRepositoryOauth2ShowOutput[]>;
134
+ /**
135
+ * Create a ApiIntegrationGitRepositoryOauth2 resource with the given unique name, arguments, and options.
136
+ *
137
+ * @param name The _unique_ name of the resource.
138
+ * @param args The arguments to use to populate this resource's properties.
139
+ * @param opts A bag of options that control this resource's behavior.
140
+ */
141
+ constructor(name: string, args: ApiIntegrationGitRepositoryOauth2Args, opts?: pulumi.CustomResourceOptions);
142
+ }
143
+ /**
144
+ * Input properties used for looking up and filtering ApiIntegrationGitRepositoryOauth2 resources.
145
+ */
146
+ export interface ApiIntegrationGitRepositoryOauth2State {
147
+ /**
148
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
149
+ */
150
+ apiAllowedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
151
+ /**
152
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
153
+ */
154
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
155
+ /**
156
+ * Specifies a comment for the integration.
157
+ */
158
+ comment?: pulumi.Input<string | undefined>;
159
+ /**
160
+ * Outputs the result of `DESCRIBE API INTEGRATION` for the given integration.
161
+ */
162
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationGitRepositoryOauth2DescribeOutput>[] | undefined>;
163
+ /**
164
+ * Specifies whether this API integration is enabled or disabled.
165
+ */
166
+ enabled?: pulumi.Input<boolean | undefined>;
167
+ /**
168
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
169
+ */
170
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * 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: `|`, `.`, `"`.
173
+ */
174
+ name?: pulumi.Input<string | undefined>;
175
+ /**
176
+ * Specifies the validity period (in seconds) for the OAuth 2.0 access token.
177
+ */
178
+ oauthAccessTokenValidity?: pulumi.Input<number | undefined>;
179
+ /**
180
+ * Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive): `readApi` | `readRepository` | `writeRepository`.
181
+ */
182
+ oauthAllowedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
183
+ /**
184
+ * The OAuth 2.0 authorization endpoint for the Git repository.
185
+ */
186
+ oauthAuthorizationEndpoint?: pulumi.Input<string | undefined>;
187
+ /**
188
+ * The client ID for the OAuth 2.0 application.
189
+ */
190
+ oauthClientId?: pulumi.Input<string | undefined>;
191
+ /**
192
+ * The client secret for the OAuth 2.0 application. 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".
193
+ */
194
+ oauthClientSecret?: pulumi.Input<string | undefined>;
195
+ /**
196
+ * Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
197
+ */
198
+ oauthRefreshTokenValidity?: pulumi.Input<number | undefined>;
199
+ /**
200
+ * The OAuth 2.0 token endpoint for the Git repository.
201
+ */
202
+ oauthTokenEndpoint?: pulumi.Input<string | undefined>;
203
+ /**
204
+ * Specifies the username to authenticate with the Git repository using OAuth 2.0.
205
+ */
206
+ oauthUsername?: pulumi.Input<string | undefined>;
207
+ /**
208
+ * Outputs the result of `SHOW API INTEGRATIONS` for the given integration.
209
+ */
210
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.ApiIntegrationGitRepositoryOauth2ShowOutput>[] | undefined>;
211
+ }
212
+ /**
213
+ * The set of arguments for constructing a ApiIntegrationGitRepositoryOauth2 resource.
214
+ */
215
+ export interface ApiIntegrationGitRepositoryOauth2Args {
216
+ /**
217
+ * Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
218
+ */
219
+ apiAllowedPrefixes: pulumi.Input<pulumi.Input<string>[]>;
220
+ /**
221
+ * Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
222
+ */
223
+ apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
224
+ /**
225
+ * Specifies a comment for the integration.
226
+ */
227
+ comment?: pulumi.Input<string | undefined>;
228
+ /**
229
+ * Specifies whether this API integration is enabled or disabled.
230
+ */
231
+ enabled: pulumi.Input<boolean>;
232
+ /**
233
+ * 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: `|`, `.`, `"`.
234
+ */
235
+ name?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * Specifies the validity period (in seconds) for the OAuth 2.0 access token.
238
+ */
239
+ oauthAccessTokenValidity?: pulumi.Input<number | undefined>;
240
+ /**
241
+ * Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive): `readApi` | `readRepository` | `writeRepository`.
242
+ */
243
+ oauthAllowedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
244
+ /**
245
+ * The OAuth 2.0 authorization endpoint for the Git repository.
246
+ */
247
+ oauthAuthorizationEndpoint: pulumi.Input<string>;
248
+ /**
249
+ * The client ID for the OAuth 2.0 application.
250
+ */
251
+ oauthClientId: pulumi.Input<string>;
252
+ /**
253
+ * The client secret for the OAuth 2.0 application. 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".
254
+ */
255
+ oauthClientSecret: pulumi.Input<string>;
256
+ /**
257
+ * Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
258
+ */
259
+ oauthRefreshTokenValidity?: pulumi.Input<number | undefined>;
260
+ /**
261
+ * The OAuth 2.0 token endpoint for the Git repository.
262
+ */
263
+ oauthTokenEndpoint: pulumi.Input<string>;
264
+ /**
265
+ * Specifies the username to authenticate with the Git repository using OAuth 2.0.
266
+ */
267
+ oauthUsername?: pulumi.Input<string | undefined>;
268
+ }
269
+ //# sourceMappingURL=apiIntegrationGitRepositoryOauth2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiIntegrationGitRepositoryOauth2.d.ts","sourceRoot":"","sources":["../apiIntegrationGitRepositoryOauth2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,K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