@pulumi/snowflake 2.17.0-alpha.1782373603 → 2.17.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.
- package/account.d.ts +6 -6
- package/catalogIntegrationIcebergRest.d.ts +7 -3
- package/catalogIntegrationIcebergRest.d.ts.map +1 -1
- package/catalogIntegrationIcebergRest.js +7 -3
- package/catalogIntegrationIcebergRest.js.map +1 -1
- package/catalogIntegrationOpenCatalog.d.ts +5 -3
- package/catalogIntegrationOpenCatalog.d.ts.map +1 -1
- package/catalogIntegrationOpenCatalog.js +5 -3
- package/catalogIntegrationOpenCatalog.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/cortexAgent.d.ts +146 -0
- package/cortexAgent.d.ts.map +1 -0
- package/cortexAgent.js +108 -0
- package/cortexAgent.js.map +1 -0
- package/getCortexAgents.d.ts +99 -0
- package/getCortexAgents.d.ts.map +1 -0
- package/getCortexAgents.js +65 -0
- package/getCortexAgents.js.map +1 -0
- package/getSystemGetPrivateLinkConfig.d.ts +39 -3
- package/getSystemGetPrivateLinkConfig.d.ts.map +1 -1
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +13 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +1 -1
- package/secretWithClientCredentials.d.ts +47 -5
- package/secretWithClientCredentials.d.ts.map +1 -1
- package/secretWithClientCredentials.js +42 -3
- package/secretWithClientCredentials.js.map +1 -1
- package/streamOnDirectoryTable.d.ts +3 -3
- package/tag.d.ts +3 -3
- package/types/input.d.ts +116 -2
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +130 -2
- package/types/output.d.ts.map +1 -1
package/account.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
75
75
|
*/
|
|
76
76
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
77
77
|
/**
|
|
78
|
-
* Specifies the number of days during which the account can be restored (
|
|
78
|
+
* Specifies the number of days during which the account can be restored ("undropped"). The minimum is 3 days and the maximum is 90 days.
|
|
79
79
|
*/
|
|
80
80
|
readonly gracePeriodInDays: pulumi.Output<number>;
|
|
81
81
|
/**
|
|
@@ -91,7 +91,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
91
91
|
*/
|
|
92
92
|
readonly mustChangePassword: pulumi.Output<string | undefined>;
|
|
93
93
|
/**
|
|
94
|
-
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (
|
|
94
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (*). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores. Note: with the 2026*03 bundle ([BCR-2215](https://docs.snowflake.com/en/release-notes/bcr-bundles/2026_03/bcr-2215)), Snowflake enforces that the combined `<orgname>-<name>` identifier is at most 63 characters and that `name` does not end with `_`; otherwise `CREATE ACCOUNT` and `ALTER ACCOUNT ... RENAME TO` fail with `ORG_ACCOUNT_NAME_EXCEEDS_DNS_LIMIT` / `ACCOUNT_NAME_INVALID_FOR_DNS`. Existing accounts that do not comply keep working but cannot be renamed back to a non-compliant value once renamed to a compliant one.
|
|
95
95
|
*/
|
|
96
96
|
readonly name: pulumi.Output<string>;
|
|
97
97
|
/**
|
|
@@ -160,7 +160,7 @@ export interface AccountState {
|
|
|
160
160
|
*/
|
|
161
161
|
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
162
162
|
/**
|
|
163
|
-
* Specifies the number of days during which the account can be restored (
|
|
163
|
+
* Specifies the number of days during which the account can be restored ("undropped"). The minimum is 3 days and the maximum is 90 days.
|
|
164
164
|
*/
|
|
165
165
|
gracePeriodInDays?: pulumi.Input<number | undefined>;
|
|
166
166
|
/**
|
|
@@ -176,7 +176,7 @@ export interface AccountState {
|
|
|
176
176
|
*/
|
|
177
177
|
mustChangePassword?: pulumi.Input<string | undefined>;
|
|
178
178
|
/**
|
|
179
|
-
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (
|
|
179
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (*). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores. Note: with the 2026*03 bundle ([BCR-2215](https://docs.snowflake.com/en/release-notes/bcr-bundles/2026_03/bcr-2215)), Snowflake enforces that the combined `<orgname>-<name>` identifier is at most 63 characters and that `name` does not end with `_`; otherwise `CREATE ACCOUNT` and `ALTER ACCOUNT ... RENAME TO` fail with `ORG_ACCOUNT_NAME_EXCEEDS_DNS_LIMIT` / `ACCOUNT_NAME_INVALID_FOR_DNS`. Existing accounts that do not comply keep working but cannot be renamed back to a non-compliant value once renamed to a compliant one.
|
|
180
180
|
*/
|
|
181
181
|
name?: pulumi.Input<string | undefined>;
|
|
182
182
|
/**
|
|
@@ -233,7 +233,7 @@ export interface AccountArgs {
|
|
|
233
233
|
*/
|
|
234
234
|
firstName?: pulumi.Input<string | undefined>;
|
|
235
235
|
/**
|
|
236
|
-
* Specifies the number of days during which the account can be restored (
|
|
236
|
+
* Specifies the number of days during which the account can be restored ("undropped"). The minimum is 3 days and the maximum is 90 days.
|
|
237
237
|
*/
|
|
238
238
|
gracePeriodInDays: pulumi.Input<number>;
|
|
239
239
|
/**
|
|
@@ -249,7 +249,7 @@ export interface AccountArgs {
|
|
|
249
249
|
*/
|
|
250
250
|
mustChangePassword?: pulumi.Input<string | undefined>;
|
|
251
251
|
/**
|
|
252
|
-
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (
|
|
252
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (*). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores. Note: with the 2026*03 bundle ([BCR-2215](https://docs.snowflake.com/en/release-notes/bcr-bundles/2026_03/bcr-2215)), Snowflake enforces that the combined `<orgname>-<name>` identifier is at most 63 characters and that `name` does not end with `_`; otherwise `CREATE ACCOUNT` and `ALTER ACCOUNT ... RENAME TO` fail with `ORG_ACCOUNT_NAME_EXCEEDS_DNS_LIMIT` / `ACCOUNT_NAME_INVALID_FOR_DNS`. Existing accounts that do not comply keep working but cannot be renamed back to a non-compliant value once renamed to a compliant one.
|
|
253
253
|
*/
|
|
254
254
|
name?: pulumi.Input<string | undefined>;
|
|
255
255
|
/**
|
|
@@ -4,13 +4,14 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
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
6
|
*
|
|
7
|
+
* > **Known limitation for SigV4 authentication:** `sigv4_rest_authentication.sigv4_external_id` is not returned by Snowflake, cannot be altered after creation, and is marked as `ForceNew` in the provider. If your configuration specifies this field after import, Terraform may still produce a destroy-before-create plan because the value cannot be populated in state during import and cannot be synced via an in-place update. To avoid recreation after import for `sigv4RestAuthentication` you can omit `sigv4ExternalId` if you don't need to track its changes within the configuration, adjust the state manually for this field, or accept a one-time recreation plan. We plan to address this limitation in a future release; for now, this behavior is expected. See the migration guide for details.
|
|
8
|
+
*
|
|
9
|
+
* > **Note on import behavior** After import, the first `pulumi preview` may show an in-place **update** (not recreation) for write-only authentication secrets that Snowflake does not return: `oauth_rest_authentication.oauth_client_secret` and `bearer_rest_authentication.bearer_token`. Run `pulumi up` once to sync these values into state.
|
|
10
|
+
*
|
|
7
11
|
* Resource used to manage catalog integration objects for Apache Iceberg™ tables managed in a remote catalog that complies with the open source Apache Iceberg™ REST OpenAPI specification. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-rest).
|
|
8
12
|
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
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
15
|
* ```typescript
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -75,6 +76,9 @@ import * as outputs from "./types/output";
|
|
|
75
76
|
* });
|
|
76
77
|
* ```
|
|
77
78
|
*
|
|
79
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
80
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
81
|
+
*
|
|
78
82
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
79
83
|
*
|
|
80
84
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogIntegrationIcebergRest.d.ts","sourceRoot":"","sources":["../catalogIntegrationIcebergRest.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
|
|
1
|
+
{"version":3,"file":"catalogIntegrationIcebergR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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;IACxC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oDAAoD,GAAG,SAAS,CAAC,CAAC;IAChH;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAAC;IACzE;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oDAAoD,GAAG,SAAS,CAAC,CAAC;CACnH"}
|
|
@@ -31,13 +31,14 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
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
33
|
*
|
|
34
|
+
* > **Known limitation for SigV4 authentication:** `sigv4_rest_authentication.sigv4_external_id` is not returned by Snowflake, cannot be altered after creation, and is marked as `ForceNew` in the provider. If your configuration specifies this field after import, Terraform may still produce a destroy-before-create plan because the value cannot be populated in state during import and cannot be synced via an in-place update. To avoid recreation after import for `sigv4RestAuthentication` you can omit `sigv4ExternalId` if you don't need to track its changes within the configuration, adjust the state manually for this field, or accept a one-time recreation plan. We plan to address this limitation in a future release; for now, this behavior is expected. See the migration guide for details.
|
|
35
|
+
*
|
|
36
|
+
* > **Note on import behavior** After import, the first `pulumi preview` may show an in-place **update** (not recreation) for write-only authentication secrets that Snowflake does not return: `oauth_rest_authentication.oauth_client_secret` and `bearer_rest_authentication.bearer_token`. Run `pulumi up` once to sync these values into state.
|
|
37
|
+
*
|
|
34
38
|
* Resource used to manage catalog integration objects for Apache Iceberg™ tables managed in a remote catalog that complies with the open source Apache Iceberg™ REST OpenAPI specification. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-rest).
|
|
35
39
|
*
|
|
36
40
|
* ## Example Usage
|
|
37
41
|
*
|
|
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
42
|
* ```typescript
|
|
42
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
44
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -102,6 +103,9 @@ const utilities = __importStar(require("./utilities"));
|
|
|
102
103
|
* });
|
|
103
104
|
* ```
|
|
104
105
|
*
|
|
106
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
107
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
108
|
+
*
|
|
105
109
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
106
110
|
*
|
|
107
111
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogIntegrationIcebergRest.js","sourceRoot":"","sources":["../catalogIntegrationIcebergRest.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"catalogIntegrationIcebergRest.js","sourceRoot":"","sources":["../catalogIntegrationIcebergRest.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,i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,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAnIL,sEAoIC"}
|
|
@@ -4,13 +4,12 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
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
6
|
*
|
|
7
|
+
* > **Note on import behavior** After import, the first `pulumi preview` may show an in-place **update** (not recreation) for the write-only authentication secret that Snowflake does not return: `rest_authentication.oauth_client_secret`. Run `pulumi up` once to sync this value into state.
|
|
8
|
+
*
|
|
7
9
|
* Resource used to manage catalog integration objects for Apache Iceberg™ tables that integrate with Snowflake Open Catalog. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-open-catalog).
|
|
8
10
|
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
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
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -51,6 +50,9 @@ import * as outputs from "./types/output";
|
|
|
51
50
|
* });
|
|
52
51
|
* ```
|
|
53
52
|
*
|
|
53
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
54
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
55
|
+
*
|
|
54
56
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
55
57
|
*
|
|
56
58
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogIntegrationOpenCatalog.d.ts","sourceRoot":"","sources":["../catalogIntegrationOpenCatalog.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
|
|
1
|
+
{"version":3,"file":"catalogIntegrationOpenCatalog.d.ts","sourceRoot":"","sources":["../catalogIntegrationOpenCatalog.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,qBAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;WACW,GAAG,CA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C,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uCAAuC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC1G;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;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;IACxC;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+CAA+C,CAAC,CAAC;IACzF;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAAC;CAC5E"}
|
|
@@ -31,13 +31,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
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
33
|
*
|
|
34
|
+
* > **Note on import behavior** After import, the first `pulumi preview` may show an in-place **update** (not recreation) for the write-only authentication secret that Snowflake does not return: `rest_authentication.oauth_client_secret`. Run `pulumi up` once to sync this value into state.
|
|
35
|
+
*
|
|
34
36
|
* Resource used to manage catalog integration objects for Apache Iceberg™ tables that integrate with Snowflake Open Catalog. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-open-catalog).
|
|
35
37
|
*
|
|
36
38
|
* ## Example Usage
|
|
37
39
|
*
|
|
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
40
|
* ```typescript
|
|
42
41
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
42
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -78,6 +77,9 @@ const utilities = __importStar(require("./utilities"));
|
|
|
78
77
|
* });
|
|
79
78
|
* ```
|
|
80
79
|
*
|
|
80
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
81
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
82
|
+
*
|
|
81
83
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
82
84
|
*
|
|
83
85
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogIntegrationOpenCatalog.js","sourceRoot":"","sources":["../catalogIntegrationOpenCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"catalogIntegrationOpenCatalog.js","sourceRoot":"","sources":["../catalogIntegrationOpenCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACp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AO,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA1HL,sEA2HC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ export declare const password: string | undefined;
|
|
|
182
182
|
*/
|
|
183
183
|
export declare const port: number | undefined;
|
|
184
184
|
/**
|
|
185
|
-
* A list of preview features that are handled by the provider. See [preview features list](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/v1-preparations/LIST_OF_PREVIEW_FEATURES_FOR_V1.md). Preview features may have breaking changes in future releases, even without raising the major version. This field can not be set with environmental variables. Preview features that can be enabled are: `snowflakeAccountAuthenticationPolicyAttachmentResource` | `snowflakeAccountPasswordPolicyAttachmentResource` | `snowflakeAccountSessionPolicyAttachmentResource` | `snowflakeAlertResource` | `snowflakeAlertsDatasource` | `snowflakeApiIntegrationResource` | `snowflakeAuthenticationPolicyResource` | `snowflakeAuthenticationPoliciesDatasource` | `snowflakeCatalogIntegrationAwsGlueResource` | `snowflakeCatalogIntegrationObjectStorageResource` | `snowflakeCatalogIntegrationOpenCatalogResource` | `snowflakeCatalogIntegrationIcebergRestResource` | `snowflakeCatalogIntegrationsDatasource` | `snowflakeCortexSearchServiceResource` | `snowflakeCortexSearchServicesDatasource` | `snowflakeCurrentAccountResource` | `snowflakeCurrentAccountDatasource` | `snowflakeCurrentOrganizationAccountResource` | `snowflakeDatabaseDatasource` | `snowflakeDatabaseRoleDatasource` | `snowflakeDynamicTableResource` | `snowflakeDynamicTablesDatasource` | `snowflakeStageExternalAzureResource` | `snowflakeExternalFunctionResource` | `snowflakeExternalFunctionsDatasource` | `snowflakeStageExternalGcsResource` | `snowflakeStageExternalS3Resource` | `snowflakeStageExternalS3CompatibleResource` | `snowflakeExternalTableResource` | `snowflakeExternalTablesDatasource` | `snowflakeExternalVolumeResource` | `snowflakeExternalVolumesDatasource` | `snowflakeFailoverGroupResource` | `snowflakeFailoverGroupsDatasource` | `snowflakeFileFormatResource` | `snowflakeFileFormatsDatasource` | `snowflakeFunctionJavaResource` | `snowflakeFunctionJavascriptResource` | `snowflakeFunctionPythonResource` | `snowflakeFunctionScalaResource` | `snowflakeFunctionSqlResource` | `snowflakeFunctionsDatasource` | `snowflakeStageInternalResource` | `snowflakeJobServiceResource` | `snowflakeListingsDatasource` | `snowflakeManagedAccountResource` | `snowflakeMaterializedViewResource` | `snowflakeMaterializedViewsDatasource` | `snowflakeNetworkPolicyAttachmentResource` | `snowflakeNetworkRulesDatasource` | `snowflakeNotebookResource` | `snowflakeNotebooksDatasource` | `snowflakeEmailNotificationIntegrationResource` | `snowflakeNotificationIntegrationResource` | `snowflakeObjectParameterResource` | `snowflakePasswordPoliciesDatasource` | `snowflakePasswordPolicyResource` | `snowflakePipeResource` | `snowflakePipesDatasource` | `snowflakeCurrentRoleDatasource` | `snowflakeSemanticViewResource` | `snowflakeSemanticViewsDatasource` | `snowflakeSessionPoliciesDatasource` | `snowflakeSessionPolicyResource` | `snowflakeSequenceResource` | `snowflakeSequencesDatasource` | `snowflakeShareResource` | `snowflakeSharesDatasource` | `snowflakeParametersDatasource` | `snowflakeProcedureJavaResource` | `snowflakeProcedureJavascriptResource` | `snowflakeProcedurePythonResource` | `snowflakeProcedureScalaResource` | `snowflakeProcedureSqlResource` | `snowflakeProceduresDatasource` | `snowflakeStageResource` | `snowflakeStagesDatasource` | `snowflakeStorageIntegrationResource` | `snowflakeStorageIntegrationAwsResource` | `snowflakeStorageIntegrationAzureResource` | `snowflakeStorageIntegrationGcsResource` | `snowflakeStorageIntegrationsDatasource` | `snowflakeSystemGenerateScimAccessTokenDatasource` | `snowflakeSystemGetAwsSnsIamPolicyDatasource` | `snowflakeSystemGetPrivatelinkConfigDatasource` | `snowflakeSystemGetSnowflakePlatformInfoDatasource` | `snowflakeTableColumnMaskingPolicyApplicationResource` | `snowflakeTableConstraintResource` | `snowflakeTableResource` | `snowflakeTablesDatasource` | `snowflakeUserAuthenticationPolicyAttachmentResource` | `snowflakeUserPasswordPolicyAttachmentResource` | `snowflakeUserPublicKeysResource` | `snowflakeUserSessionPolicyAttachmentResource` | `snowflakeWarehouseAdaptiveResource`. Promoted features that are stable and are enabled by default are: `snowflakeComputePoolResource` | `snowflakeComputePoolsDatasource` | `snowflakeGitRepositoryResource` | `snowflakeGitRepositoriesDatasource` | `snowflakeImageRepositoryResource` | `snowflakeImageRepositoriesDatasource` | `snowflakeListingResource` | `snowflakeServiceResource` | `snowflakeServicesDatasource` | `snowflakeUserProgrammaticAccessTokenResource` | `snowflakeUserProgrammaticAccessTokensDatasource` | `snowflakeNetworkRuleResource`. Promoted features can be safely removed from this field. They will be removed in the next major version.
|
|
185
|
+
* A list of preview features that are handled by the provider. See [preview features list](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/v1-preparations/LIST_OF_PREVIEW_FEATURES_FOR_V1.md). Preview features may have breaking changes in future releases, even without raising the major version. This field can not be set with environmental variables. Preview features that can be enabled are: `snowflakeAccountAuthenticationPolicyAttachmentResource` | `snowflakeAccountPasswordPolicyAttachmentResource` | `snowflakeAccountSessionPolicyAttachmentResource` | `snowflakeAlertResource` | `snowflakeAlertsDatasource` | `snowflakeApiIntegrationResource` | `snowflakeAuthenticationPolicyResource` | `snowflakeAuthenticationPoliciesDatasource` | `snowflakeCatalogIntegrationAwsGlueResource` | `snowflakeCatalogIntegrationObjectStorageResource` | `snowflakeCatalogIntegrationOpenCatalogResource` | `snowflakeCatalogIntegrationIcebergRestResource` | `snowflakeCatalogIntegrationsDatasource` | `snowflakeCortexAgentResource` | `snowflakeCortexAgentsDatasource` | `snowflakeCortexSearchServiceResource` | `snowflakeCortexSearchServicesDatasource` | `snowflakeCurrentAccountResource` | `snowflakeCurrentAccountDatasource` | `snowflakeCurrentOrganizationAccountResource` | `snowflakeDatabaseDatasource` | `snowflakeDatabaseRoleDatasource` | `snowflakeDynamicTableResource` | `snowflakeDynamicTablesDatasource` | `snowflakeStageExternalAzureResource` | `snowflakeExternalFunctionResource` | `snowflakeExternalFunctionsDatasource` | `snowflakeStageExternalGcsResource` | `snowflakeStageExternalS3Resource` | `snowflakeStageExternalS3CompatibleResource` | `snowflakeExternalTableResource` | `snowflakeExternalTablesDatasource` | `snowflakeExternalVolumeResource` | `snowflakeExternalVolumesDatasource` | `snowflakeFailoverGroupResource` | `snowflakeFailoverGroupsDatasource` | `snowflakeFileFormatResource` | `snowflakeFileFormatsDatasource` | `snowflakeFunctionJavaResource` | `snowflakeFunctionJavascriptResource` | `snowflakeFunctionPythonResource` | `snowflakeFunctionScalaResource` | `snowflakeFunctionSqlResource` | `snowflakeFunctionsDatasource` | `snowflakeStageInternalResource` | `snowflakeJobServiceResource` | `snowflakeListingsDatasource` | `snowflakeManagedAccountResource` | `snowflakeMaterializedViewResource` | `snowflakeMaterializedViewsDatasource` | `snowflakeNetworkPolicyAttachmentResource` | `snowflakeNetworkRulesDatasource` | `snowflakeNotebookResource` | `snowflakeNotebooksDatasource` | `snowflakeEmailNotificationIntegrationResource` | `snowflakeNotificationIntegrationResource` | `snowflakeObjectParameterResource` | `snowflakePasswordPoliciesDatasource` | `snowflakePasswordPolicyResource` | `snowflakePipeResource` | `snowflakePipesDatasource` | `snowflakeCurrentRoleDatasource` | `snowflakeSemanticViewResource` | `snowflakeSemanticViewsDatasource` | `snowflakeSessionPoliciesDatasource` | `snowflakeSessionPolicyResource` | `snowflakeSequenceResource` | `snowflakeSequencesDatasource` | `snowflakeShareResource` | `snowflakeSharesDatasource` | `snowflakeParametersDatasource` | `snowflakeProcedureJavaResource` | `snowflakeProcedureJavascriptResource` | `snowflakeProcedurePythonResource` | `snowflakeProcedureScalaResource` | `snowflakeProcedureSqlResource` | `snowflakeProceduresDatasource` | `snowflakeStageResource` | `snowflakeStagesDatasource` | `snowflakeStorageIntegrationResource` | `snowflakeStorageIntegrationAwsResource` | `snowflakeStorageIntegrationAzureResource` | `snowflakeStorageIntegrationGcsResource` | `snowflakeStorageIntegrationsDatasource` | `snowflakeSystemGenerateScimAccessTokenDatasource` | `snowflakeSystemGetAwsSnsIamPolicyDatasource` | `snowflakeSystemGetPrivatelinkConfigDatasource` | `snowflakeSystemGetSnowflakePlatformInfoDatasource` | `snowflakeTableColumnMaskingPolicyApplicationResource` | `snowflakeTableConstraintResource` | `snowflakeTableResource` | `snowflakeTablesDatasource` | `snowflakeUserAuthenticationPolicyAttachmentResource` | `snowflakeUserPasswordPolicyAttachmentResource` | `snowflakeUserPublicKeysResource` | `snowflakeUserSessionPolicyAttachmentResource` | `snowflakeWarehouseAdaptiveResource`. Promoted features that are stable and are enabled by default are: `snowflakeComputePoolResource` | `snowflakeComputePoolsDatasource` | `snowflakeGitRepositoryResource` | `snowflakeGitRepositoriesDatasource` | `snowflakeImageRepositoryResource` | `snowflakeImageRepositoriesDatasource` | `snowflakeListingResource` | `snowflakeServiceResource` | `snowflakeServicesDatasource` | `snowflakeUserProgrammaticAccessTokenResource` | `snowflakeUserProgrammaticAccessTokensDatasource` | `snowflakeNetworkRuleResource`. Promoted features can be safely removed from this field. They will be removed in the next major version.
|
|
186
186
|
*/
|
|
187
187
|
export declare const previewFeaturesEnabled: string[] | undefined;
|
|
188
188
|
/**
|
package/cortexAgent.d.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
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 Cortex agent objects. For more information, check [Cortex agent documentation](https://docs.snowflake.com/en/sql-reference/sql/create-agent).
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import snowflake:index/cortexAgent:CortexAgent example '"<database_name>"."<schema_name>"."<cortex_agent_name>"'
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class CortexAgent extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing CortexAgent resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CortexAgentState, opts?: pulumi.CustomResourceOptions): CortexAgent;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of CortexAgent. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is CortexAgent;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies a comment for the Cortex agent.
|
|
33
|
+
*/
|
|
34
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The database in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
|
+
*/
|
|
38
|
+
readonly database: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Outputs the result of `DESCRIBE AGENT` for this Cortex agent.
|
|
41
|
+
*/
|
|
42
|
+
readonly describeOutputs: pulumi.Output<outputs.CortexAgentDescribeOutput[]>;
|
|
43
|
+
/**
|
|
44
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
45
|
+
*/
|
|
46
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the identifier for the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
49
|
+
*/
|
|
50
|
+
readonly name: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies agent profile information, such as display_name, avatar, and color.
|
|
53
|
+
*/
|
|
54
|
+
readonly profile: pulumi.Output<outputs.CortexAgentProfile | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The schema in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
57
|
+
*/
|
|
58
|
+
readonly schema: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Outputs the result of `SHOW AGENTS` for this Cortex agent.
|
|
61
|
+
*/
|
|
62
|
+
readonly showOutputs: pulumi.Output<outputs.CortexAgentShowOutput[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies a YAML object containing the settings for the Cortex agent.
|
|
65
|
+
*/
|
|
66
|
+
readonly specification: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a CortexAgent resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: CortexAgentArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering CortexAgent resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface CortexAgentState {
|
|
80
|
+
/**
|
|
81
|
+
* Specifies a comment for the Cortex agent.
|
|
82
|
+
*/
|
|
83
|
+
comment?: pulumi.Input<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The database in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
86
|
+
*/
|
|
87
|
+
database?: pulumi.Input<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Outputs the result of `DESCRIBE AGENT` for this Cortex agent.
|
|
90
|
+
*/
|
|
91
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.CortexAgentDescribeOutput>[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
94
|
+
*/
|
|
95
|
+
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Specifies the identifier for the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
98
|
+
*/
|
|
99
|
+
name?: pulumi.Input<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Specifies agent profile information, such as display_name, avatar, and color.
|
|
102
|
+
*/
|
|
103
|
+
profile?: pulumi.Input<inputs.CortexAgentProfile | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The schema in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
106
|
+
*/
|
|
107
|
+
schema?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Outputs the result of `SHOW AGENTS` for this Cortex agent.
|
|
110
|
+
*/
|
|
111
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.CortexAgentShowOutput>[] | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies a YAML object containing the settings for the Cortex agent.
|
|
114
|
+
*/
|
|
115
|
+
specification?: pulumi.Input<string | undefined>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a CortexAgent resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface CortexAgentArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Specifies a comment for the Cortex agent.
|
|
123
|
+
*/
|
|
124
|
+
comment?: pulumi.Input<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* The database in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
127
|
+
*/
|
|
128
|
+
database: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Specifies the identifier for the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
131
|
+
*/
|
|
132
|
+
name?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Specifies agent profile information, such as display_name, avatar, and color.
|
|
135
|
+
*/
|
|
136
|
+
profile?: pulumi.Input<inputs.CortexAgentProfile | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* The schema in which to create the Cortex agent. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
139
|
+
*/
|
|
140
|
+
schema: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies a YAML object containing the settings for the Cortex agent.
|
|
143
|
+
*/
|
|
144
|
+
specification: pulumi.Input<string>;
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=cortexAgent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cortexAgent.d.ts","sourceRoot":"","sources":["../cortexAgent.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;;;;;;;;;;GAUG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,E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M,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
|
package/cortexAgent.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
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.CortexAgent = 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 Cortex agent objects. For more information, check [Cortex agent documentation](https://docs.snowflake.com/en/sql-reference/sql/create-agent).
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import snowflake:index/cortexAgent:CortexAgent example '"<database_name>"."<schema_name>"."<cortex_agent_name>"'
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class CortexAgent extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing CortexAgent 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, id, state, opts) {
|
|
53
|
+
return new CortexAgent(name, state, { ...opts, id: id });
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
static __pulumiType = 'snowflake:index/cortexAgent:CortexAgent';
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of CortexAgent. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === CortexAgent.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["comment"] = state?.comment;
|
|
73
|
+
resourceInputs["database"] = state?.database;
|
|
74
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
75
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
76
|
+
resourceInputs["name"] = state?.name;
|
|
77
|
+
resourceInputs["profile"] = state?.profile;
|
|
78
|
+
resourceInputs["schema"] = state?.schema;
|
|
79
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
80
|
+
resourceInputs["specification"] = state?.specification;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if (args?.database === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'database'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'schema'");
|
|
89
|
+
}
|
|
90
|
+
if (args?.specification === undefined && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'specification'");
|
|
92
|
+
}
|
|
93
|
+
resourceInputs["comment"] = args?.comment;
|
|
94
|
+
resourceInputs["database"] = args?.database;
|
|
95
|
+
resourceInputs["name"] = args?.name;
|
|
96
|
+
resourceInputs["profile"] = args?.profile;
|
|
97
|
+
resourceInputs["schema"] = args?.schema;
|
|
98
|
+
resourceInputs["specification"] = args?.specification;
|
|
99
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(CortexAgent.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.CortexAgent = CortexAgent;
|
|
108
|
+
//# sourceMappingURL=cortexAgent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cortexAgent.js","sourceRoot":"","sources":["../cortexAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CA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