@pulumi/snowflake 0.56.0-alpha.1721327760 → 0.56.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/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +195 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +91 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -0
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +183 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js +89 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -0
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +186 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js +94 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -0
- package/cortexSearchService.d.ts +159 -0
- package/cortexSearchService.js +92 -0
- package/cortexSearchService.js.map +1 -0
- package/database.d.ts +240 -77
- package/database.js +94 -45
- package/database.js.map +1 -1
- package/databaseOld.d.ts +187 -0
- package/databaseOld.js +110 -0
- package/databaseOld.js.map +1 -0
- package/externalOauthIntegration.d.ts +118 -116
- package/externalOauthIntegration.js +43 -55
- package/externalOauthIntegration.js.map +1 -1
- package/failoverGroup.d.ts +1 -1
- package/failoverGroup.js +1 -1
- package/getCortexSearchServices.d.ts +136 -0
- package/getCortexSearchServices.js +83 -0
- package/getCortexSearchServices.js.map +1 -0
- package/getDatabases.d.ts +41 -38
- package/getDatabases.js +8 -17
- package/getDatabases.js.map +1 -1
- package/getSecurityIntegrations.d.ts +61 -0
- package/getSecurityIntegrations.js +31 -0
- package/getSecurityIntegrations.js.map +1 -0
- package/getWarehouses.d.ts +53 -17
- package/getWarehouses.js +13 -18
- package/getWarehouses.js.map +1 -1
- package/grantPrivilegesToDatabaseRole.d.ts +0 -2
- package/grantPrivilegesToDatabaseRole.js +0 -2
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/index.d.ts +37 -82
- package/index.js +60 -139
- package/index.js.map +1 -1
- package/managedAccount.d.ts +3 -3
- package/oauthIntegration.d.ts +2 -0
- package/oauthIntegration.js +2 -0
- package/oauthIntegration.js.map +1 -1
- package/oauthIntegrationForCustomClients.d.ts +274 -0
- package/oauthIntegrationForCustomClients.js +148 -0
- package/oauthIntegrationForCustomClients.js.map +1 -0
- package/oauthIntegrationForPartnerApplications.d.ts +162 -0
- package/oauthIntegrationForPartnerApplications.js +84 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -0
- package/package.json +2 -2
- package/saml2Integration.d.ts +267 -0
- package/saml2Integration.js +106 -0
- package/saml2Integration.js.map +1 -0
- package/samlIntegration.d.ts +2 -0
- package/samlIntegration.js +2 -0
- package/samlIntegration.js.map +1 -1
- package/scimIntegration.d.ts +67 -33
- package/scimIntegration.js +19 -20
- package/scimIntegration.js.map +1 -1
- package/secondaryDatabase.d.ts +289 -0
- package/secondaryDatabase.js +103 -0
- package/secondaryDatabase.js.map +1 -0
- package/sequence.d.ts +3 -3
- package/sequence.js +3 -3
- package/sharedDatabase.d.ts +251 -0
- package/sharedDatabase.js +95 -0
- package/sharedDatabase.js.map +1 -0
- package/tagAssociation.d.ts +19 -19
- package/tagAssociation.js +19 -19
- package/types/input.d.ts +1015 -75
- package/types/output.d.ts +1835 -280
- package/userPasswordPolicyAttachment.d.ts +18 -0
- package/userPasswordPolicyAttachment.js +18 -0
- package/userPasswordPolicyAttachment.js.map +1 -1
- package/warehouse.d.ts +61 -48
- package/warehouse.js +8 -2
- package/warehouse.js.map +1 -1
- package/accountGrant.d.ts +0 -102
- package/accountGrant.js +0 -82
- package/accountGrant.js.map +0 -1
- package/databaseGrant.d.ts +0 -143
- package/databaseGrant.js +0 -96
- package/databaseGrant.js.map +0 -1
- package/externalTableGrant.d.ts +0 -194
- package/externalTableGrant.js +0 -110
- package/externalTableGrant.js.map +0 -1
- package/failoverGroupGrant.d.ts +0 -102
- package/failoverGroupGrant.js +0 -65
- package/failoverGroupGrant.js.map +0 -1
- package/fileFormatGrant.d.ts +0 -178
- package/fileFormatGrant.js +0 -104
- package/fileFormatGrant.js.map +0 -1
- package/functionGrant.d.ts +0 -210
- package/functionGrant.js +0 -116
- package/functionGrant.js.map +0 -1
- package/grantPrivilegesToRole.d.ts +0 -323
- package/grantPrivilegesToRole.js +0 -255
- package/grantPrivilegesToRole.js.map +0 -1
- package/integrationGrant.d.ts +0 -127
- package/integrationGrant.js +0 -90
- package/integrationGrant.js.map +0 -1
- package/maskingPolicyGrant.d.ts +0 -154
- package/maskingPolicyGrant.js +0 -103
- package/maskingPolicyGrant.js.map +0 -1
- package/materializedViewGrant.d.ts +0 -194
- package/materializedViewGrant.js +0 -107
- package/materializedViewGrant.js.map +0 -1
- package/pipeGrant.d.ts +0 -166
- package/pipeGrant.js +0 -99
- package/pipeGrant.js.map +0 -1
- package/procedureGrant.d.ts +0 -210
- package/procedureGrant.js +0 -116
- package/procedureGrant.js.map +0 -1
- package/resourceMonitorGrant.d.ts +0 -112
- package/resourceMonitorGrant.js +0 -85
- package/resourceMonitorGrant.js.map +0 -1
- package/roleGrants.d.ts +0 -115
- package/roleGrants.js +0 -98
- package/roleGrants.js.map +0 -1
- package/roleOwnershipGrant.d.ts +0 -108
- package/roleOwnershipGrant.js +0 -94
- package/roleOwnershipGrant.js.map +0 -1
- package/rowAccessPolicyGrant.d.ts +0 -153
- package/rowAccessPolicyGrant.js +0 -102
- package/rowAccessPolicyGrant.js.map +0 -1
- package/schemaGrant.d.ts +0 -172
- package/schemaGrant.js +0 -104
- package/schemaGrant.js.map +0 -1
- package/sequenceGrant.d.ts +0 -178
- package/sequenceGrant.js +0 -104
- package/sequenceGrant.js.map +0 -1
- package/stageGrant.d.ts +0 -178
- package/stageGrant.js +0 -104
- package/stageGrant.js.map +0 -1
- package/streamGrant.d.ts +0 -178
- package/streamGrant.js +0 -104
- package/streamGrant.js.map +0 -1
- package/tableGrant.d.ts +0 -188
- package/tableGrant.js +0 -101
- package/tableGrant.js.map +0 -1
- package/tagGrant.d.ts +0 -149
- package/tagGrant.js +0 -98
- package/tagGrant.js.map +0 -1
- package/taskGrant.d.ts +0 -178
- package/taskGrant.js +0 -104
- package/taskGrant.js.map +0 -1
- package/userGrant.d.ts +0 -115
- package/userGrant.js +0 -91
- package/userGrant.js.map +0 -1
- package/userOwnershipGrant.d.ts +0 -78
- package/userOwnershipGrant.js +0 -64
- package/userOwnershipGrant.js.map +0 -1
- package/viewGrant.d.ts +0 -205
- package/viewGrant.js +0 -118
- package/viewGrant.js.map +0 -1
- package/warehouseGrant.d.ts +0 -127
- package/warehouseGrant.js +0 -90
- package/warehouseGrant.js.map +0 -1
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiAuthenticationIntegrationWithJwtBearerState, opts?: pulumi.CustomResourceOptions): ApiAuthenticationIntegrationWithJwtBearer;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ApiAuthenticationIntegrationWithJwtBearer. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is ApiAuthenticationIntegrationWithJwtBearer;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies a comment for the integration.
|
|
31
|
+
*/
|
|
32
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
35
|
+
*/
|
|
36
|
+
readonly describeOutputs: pulumi.Output<outputs.ApiAuthenticationIntegrationWithJwtBearerDescribeOutput[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies whether this security integration is enabled or disabled.
|
|
39
|
+
*/
|
|
40
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
47
|
+
*/
|
|
48
|
+
readonly oauthAccessTokenValidity: pulumi.Output<number | undefined>;
|
|
49
|
+
readonly oauthAssertionIssuer: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the URL for authenticating to the external service.
|
|
52
|
+
*/
|
|
53
|
+
readonly oauthAuthorizationEndpoint: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
56
|
+
*/
|
|
57
|
+
readonly oauthClientAuthMethod: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the client ID for the OAuth application in the external service.
|
|
60
|
+
*/
|
|
61
|
+
readonly oauthClientId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
64
|
+
*/
|
|
65
|
+
readonly oauthClientSecret: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
68
|
+
*/
|
|
69
|
+
readonly oauthRefreshTokenValidity: pulumi.Output<number | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
72
|
+
*/
|
|
73
|
+
readonly oauthTokenEndpoint: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
76
|
+
*/
|
|
77
|
+
readonly showOutputs: pulumi.Output<outputs.ApiAuthenticationIntegrationWithJwtBearerShowOutput[]>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a ApiAuthenticationIntegrationWithJwtBearer resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: ApiAuthenticationIntegrationWithJwtBearerArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering ApiAuthenticationIntegrationWithJwtBearer resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface ApiAuthenticationIntegrationWithJwtBearerState {
|
|
91
|
+
/**
|
|
92
|
+
* Specifies a comment for the integration.
|
|
93
|
+
*/
|
|
94
|
+
comment?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
97
|
+
*/
|
|
98
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.ApiAuthenticationIntegrationWithJwtBearerDescribeOutput>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies whether this security integration is enabled or disabled.
|
|
101
|
+
*/
|
|
102
|
+
enabled?: pulumi.Input<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
105
|
+
*/
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
109
|
+
*/
|
|
110
|
+
oauthAccessTokenValidity?: pulumi.Input<number>;
|
|
111
|
+
oauthAssertionIssuer?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the URL for authenticating to the external service.
|
|
114
|
+
*/
|
|
115
|
+
oauthAuthorizationEndpoint?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
118
|
+
*/
|
|
119
|
+
oauthClientAuthMethod?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the client ID for the OAuth application in the external service.
|
|
122
|
+
*/
|
|
123
|
+
oauthClientId?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
126
|
+
*/
|
|
127
|
+
oauthClientSecret?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
130
|
+
*/
|
|
131
|
+
oauthRefreshTokenValidity?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
134
|
+
*/
|
|
135
|
+
oauthTokenEndpoint?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
138
|
+
*/
|
|
139
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.ApiAuthenticationIntegrationWithJwtBearerShowOutput>[]>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a ApiAuthenticationIntegrationWithJwtBearer resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface ApiAuthenticationIntegrationWithJwtBearerArgs {
|
|
145
|
+
/**
|
|
146
|
+
* Specifies a comment for the integration.
|
|
147
|
+
*/
|
|
148
|
+
comment?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Specifies whether this security integration is enabled or disabled.
|
|
151
|
+
*/
|
|
152
|
+
enabled: pulumi.Input<boolean>;
|
|
153
|
+
/**
|
|
154
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
155
|
+
*/
|
|
156
|
+
name?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
159
|
+
*/
|
|
160
|
+
oauthAccessTokenValidity?: pulumi.Input<number>;
|
|
161
|
+
oauthAssertionIssuer: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Specifies the URL for authenticating to the external service.
|
|
164
|
+
*/
|
|
165
|
+
oauthAuthorizationEndpoint?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
168
|
+
*/
|
|
169
|
+
oauthClientAuthMethod?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Specifies the client ID for the OAuth application in the external service.
|
|
172
|
+
*/
|
|
173
|
+
oauthClientId: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
176
|
+
*/
|
|
177
|
+
oauthClientSecret: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
180
|
+
*/
|
|
181
|
+
oauthRefreshTokenValidity?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
184
|
+
*/
|
|
185
|
+
oauthTokenEndpoint?: pulumi.Input<string>;
|
|
186
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ApiAuthenticationIntegrationWithJwtBearer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new ApiAuthenticationIntegrationWithJwtBearer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ApiAuthenticationIntegrationWithJwtBearer. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === ApiAuthenticationIntegrationWithJwtBearer.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
46
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
47
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
48
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
49
|
+
resourceInputs["oauthAccessTokenValidity"] = state ? state.oauthAccessTokenValidity : undefined;
|
|
50
|
+
resourceInputs["oauthAssertionIssuer"] = state ? state.oauthAssertionIssuer : undefined;
|
|
51
|
+
resourceInputs["oauthAuthorizationEndpoint"] = state ? state.oauthAuthorizationEndpoint : undefined;
|
|
52
|
+
resourceInputs["oauthClientAuthMethod"] = state ? state.oauthClientAuthMethod : undefined;
|
|
53
|
+
resourceInputs["oauthClientId"] = state ? state.oauthClientId : undefined;
|
|
54
|
+
resourceInputs["oauthClientSecret"] = state ? state.oauthClientSecret : undefined;
|
|
55
|
+
resourceInputs["oauthRefreshTokenValidity"] = state ? state.oauthRefreshTokenValidity : undefined;
|
|
56
|
+
resourceInputs["oauthTokenEndpoint"] = state ? state.oauthTokenEndpoint : undefined;
|
|
57
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'enabled'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.oauthAssertionIssuer === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'oauthAssertionIssuer'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.oauthClientId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'oauthClientId'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.oauthClientSecret === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'oauthClientSecret'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
74
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
75
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
76
|
+
resourceInputs["oauthAccessTokenValidity"] = args ? args.oauthAccessTokenValidity : undefined;
|
|
77
|
+
resourceInputs["oauthAssertionIssuer"] = args ? args.oauthAssertionIssuer : undefined;
|
|
78
|
+
resourceInputs["oauthAuthorizationEndpoint"] = args ? args.oauthAuthorizationEndpoint : undefined;
|
|
79
|
+
resourceInputs["oauthClientAuthMethod"] = args ? args.oauthClientAuthMethod : undefined;
|
|
80
|
+
resourceInputs["oauthClientId"] = args ? args.oauthClientId : undefined;
|
|
81
|
+
resourceInputs["oauthClientSecret"] = args ? args.oauthClientSecret : undefined;
|
|
82
|
+
resourceInputs["oauthRefreshTokenValidity"] = args ? args.oauthRefreshTokenValidity : undefined;
|
|
83
|
+
resourceInputs["oauthTokenEndpoint"] = args ? args.oauthTokenEndpoint : undefined;
|
|
84
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(ApiAuthenticationIntegrationWithJwtBearer.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ApiAuthenticationIntegrationWithJwtBearer = ApiAuthenticationIntegrationWithJwtBearer;
|
|
92
|
+
/** @internal */
|
|
93
|
+
ApiAuthenticationIntegrationWithJwtBearer.__pulumiType = 'snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer';
|
|
94
|
+
//# sourceMappingURL=apiAuthenticationIntegrationWithJwtBearer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiAuthenticationIntegrationWithJwtBearer.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithJwtBearer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,yCAA0C,SAAQ,MAAM,CAAC,cAAc;IAChF;;;;;;;;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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,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,yCAAyC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;;AAtIL,8FAuIC;AAzHG,gBAAgB;AACO,sDAAY,GAAG,qGAAqG,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* ```sh
|
|
6
|
+
* $ pulumi import snowflake:index/cortexSearchService:CortexSearchService example 'dbName|schemaName|fileFormatName'
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
export declare class CortexSearchService extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing CortexSearchService resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param state Any extra arguments used during the lookup.
|
|
17
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
+
*/
|
|
19
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CortexSearchServiceState, opts?: pulumi.CustomResourceOptions): CortexSearchService;
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of CortexSearchService. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj: any): obj is CortexSearchService;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
|
|
27
|
+
*/
|
|
28
|
+
readonly attributes: pulumi.Output<string[] | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies a comment for the Cortex search service.
|
|
31
|
+
*/
|
|
32
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Creation date for the given Cortex search service.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdOn: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The database in which to create the Cortex search service.
|
|
39
|
+
*/
|
|
40
|
+
readonly database: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the column to use as the search column for the Cortex search service; must be a text value.
|
|
47
|
+
*/
|
|
48
|
+
readonly on: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the query to use to populate the Cortex search service.
|
|
51
|
+
*/
|
|
52
|
+
readonly query: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The schema in which to create the Cortex search service.
|
|
55
|
+
*/
|
|
56
|
+
readonly schema: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the maximum target lag time for the Cortex search service.
|
|
59
|
+
*/
|
|
60
|
+
readonly targetLag: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The warehouse in which to create the Cortex search service.
|
|
63
|
+
*/
|
|
64
|
+
readonly warehouse: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a CortexSearchService resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: CortexSearchServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering CortexSearchService resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface CortexSearchServiceState {
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
|
|
80
|
+
*/
|
|
81
|
+
attributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies a comment for the Cortex search service.
|
|
84
|
+
*/
|
|
85
|
+
comment?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Creation date for the given Cortex search service.
|
|
88
|
+
*/
|
|
89
|
+
createdOn?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The database in which to create the Cortex search service.
|
|
92
|
+
*/
|
|
93
|
+
database?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
|
|
96
|
+
*/
|
|
97
|
+
name?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the column to use as the search column for the Cortex search service; must be a text value.
|
|
100
|
+
*/
|
|
101
|
+
on?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the query to use to populate the Cortex search service.
|
|
104
|
+
*/
|
|
105
|
+
query?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The schema in which to create the Cortex search service.
|
|
108
|
+
*/
|
|
109
|
+
schema?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the maximum target lag time for the Cortex search service.
|
|
112
|
+
*/
|
|
113
|
+
targetLag?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The warehouse in which to create the Cortex search service.
|
|
116
|
+
*/
|
|
117
|
+
warehouse?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a CortexSearchService resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface CortexSearchServiceArgs {
|
|
123
|
+
/**
|
|
124
|
+
* Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
|
|
125
|
+
*/
|
|
126
|
+
attributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies a comment for the Cortex search service.
|
|
129
|
+
*/
|
|
130
|
+
comment?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The database in which to create the Cortex search service.
|
|
133
|
+
*/
|
|
134
|
+
database: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
|
|
137
|
+
*/
|
|
138
|
+
name?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the column to use as the search column for the Cortex search service; must be a text value.
|
|
141
|
+
*/
|
|
142
|
+
on: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the query to use to populate the Cortex search service.
|
|
145
|
+
*/
|
|
146
|
+
query: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The schema in which to create the Cortex search service.
|
|
149
|
+
*/
|
|
150
|
+
schema: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies the maximum target lag time for the Cortex search service.
|
|
153
|
+
*/
|
|
154
|
+
targetLag: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The warehouse in which to create the Cortex search service.
|
|
157
|
+
*/
|
|
158
|
+
warehouse: pulumi.Input<string>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CortexSearchService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import snowflake:index/cortexSearchService:CortexSearchService example 'dbName|schemaName|fileFormatName'
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
class CortexSearchService extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing CortexSearchService 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, id, state, opts) {
|
|
26
|
+
return new CortexSearchService(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of CortexSearchService. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
static isInstance(obj) {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === CortexSearchService.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
constructor(name, argsOrState, opts) {
|
|
39
|
+
let resourceInputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (opts.id) {
|
|
42
|
+
const state = argsOrState;
|
|
43
|
+
resourceInputs["attributes"] = state ? state.attributes : undefined;
|
|
44
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
45
|
+
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
46
|
+
resourceInputs["database"] = state ? state.database : undefined;
|
|
47
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
48
|
+
resourceInputs["on"] = state ? state.on : undefined;
|
|
49
|
+
resourceInputs["query"] = state ? state.query : undefined;
|
|
50
|
+
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
51
|
+
resourceInputs["targetLag"] = state ? state.targetLag : undefined;
|
|
52
|
+
resourceInputs["warehouse"] = state ? state.warehouse : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.database === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'database'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.on === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'on'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.query === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'query'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.schema === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'schema'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.targetLag === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'targetLag'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.warehouse === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'warehouse'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["attributes"] = args ? args.attributes : undefined;
|
|
75
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
76
|
+
resourceInputs["database"] = args ? args.database : undefined;
|
|
77
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
78
|
+
resourceInputs["on"] = args ? args.on : undefined;
|
|
79
|
+
resourceInputs["query"] = args ? args.query : undefined;
|
|
80
|
+
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
81
|
+
resourceInputs["targetLag"] = args ? args.targetLag : undefined;
|
|
82
|
+
resourceInputs["warehouse"] = args ? args.warehouse : undefined;
|
|
83
|
+
resourceInputs["createdOn"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(CortexSearchService.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.CortexSearchService = CortexSearchService;
|
|
90
|
+
/** @internal */
|
|
91
|
+
CortexSearchService.__pulumiType = 'snowflake:index/cortexSearchService:CortexSearchService';
|
|
92
|
+
//# sourceMappingURL=cortexSearchService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cortexSearchService.js","sourceRoot":"","sources":["../cortexSearchService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAA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