@pulumi/snowflake 0.2.1-alpha.1632763694
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/LICENSE +202 -0
- package/README.md +83 -0
- package/accountGrant.d.ts +97 -0
- package/accountGrant.js +80 -0
- package/accountGrant.js.map +1 -0
- package/apiIntegration.d.ts +181 -0
- package/apiIntegration.js +102 -0
- package/apiIntegration.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +17 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +19 -0
- package/config/vars.js +97 -0
- package/config/vars.js.map +1 -0
- package/database.d.ts +97 -0
- package/database.js +81 -0
- package/database.js.map +1 -0
- package/databaseGrant.d.ts +126 -0
- package/databaseGrant.js +92 -0
- package/databaseGrant.js.map +1 -0
- package/externalFunction.d.ts +260 -0
- package/externalFunction.js +134 -0
- package/externalFunction.js.map +1 -0
- package/externalTable.d.ts +233 -0
- package/externalTable.js +124 -0
- package/externalTable.js.map +1 -0
- package/externalTableGrant.d.ts +165 -0
- package/externalTableGrant.js +104 -0
- package/externalTableGrant.js.map +1 -0
- package/fileFormat.d.ts +490 -0
- package/fileFormat.js +152 -0
- package/fileFormat.js.map +1 -0
- package/fileFormatGrant.d.ts +149 -0
- package/fileFormatGrant.js +98 -0
- package/fileFormatGrant.js.map +1 -0
- package/function.d.ts +157 -0
- package/function.js +81 -0
- package/function.js.map +1 -0
- package/functionGrant.d.ts +201 -0
- package/functionGrant.js +119 -0
- package/functionGrant.js.map +1 -0
- package/getCurrentAccount.d.ts +38 -0
- package/getCurrentAccount.js +33 -0
- package/getCurrentAccount.js.map +1 -0
- package/getExternalFunctions.d.ts +50 -0
- package/getExternalFunctions.js +34 -0
- package/getExternalFunctions.js.map +1 -0
- package/getExternalTables.d.ts +50 -0
- package/getExternalTables.js +34 -0
- package/getExternalTables.js.map +1 -0
- package/getFileFormats.d.ts +50 -0
- package/getFileFormats.js +34 -0
- package/getFileFormats.js.map +1 -0
- package/getFunctions.d.ts +50 -0
- package/getFunctions.js +34 -0
- package/getFunctions.js.map +1 -0
- package/getMaskingPolicies.d.ts +50 -0
- package/getMaskingPolicies.js +34 -0
- package/getMaskingPolicies.js.map +1 -0
- package/getMaterializedViews.d.ts +50 -0
- package/getMaterializedViews.js +34 -0
- package/getMaterializedViews.js.map +1 -0
- package/getPipes.d.ts +50 -0
- package/getPipes.js +34 -0
- package/getPipes.js.map +1 -0
- package/getProcedures.d.ts +50 -0
- package/getProcedures.js +34 -0
- package/getProcedures.js.map +1 -0
- package/getResourceMonitors.d.ts +26 -0
- package/getResourceMonitors.js +28 -0
- package/getResourceMonitors.js.map +1 -0
- package/getRowAccessPolicies.d.ts +50 -0
- package/getRowAccessPolicies.js +34 -0
- package/getRowAccessPolicies.js.map +1 -0
- package/getSchemas.d.ts +41 -0
- package/getSchemas.js +32 -0
- package/getSchemas.js.map +1 -0
- package/getSequences.d.ts +50 -0
- package/getSequences.js +34 -0
- package/getSequences.js.map +1 -0
- package/getStages.d.ts +50 -0
- package/getStages.js +34 -0
- package/getStages.js.map +1 -0
- package/getStorageIntegrations.d.ts +26 -0
- package/getStorageIntegrations.js +28 -0
- package/getStorageIntegrations.js.map +1 -0
- package/getStreams.d.ts +50 -0
- package/getStreams.js +34 -0
- package/getStreams.js.map +1 -0
- package/getSystemGenerateScimAccessToken.d.ts +40 -0
- package/getSystemGenerateScimAccessToken.js +32 -0
- package/getSystemGenerateScimAccessToken.js.map +1 -0
- package/getSystemGetAwsSnsIamPolicy.d.ts +28 -0
- package/getSystemGetAwsSnsIamPolicy.js +20 -0
- package/getSystemGetAwsSnsIamPolicy.js.map +1 -0
- package/getSystemGetPrivateLinkConfig.d.ts +31 -0
- package/getSystemGetPrivateLinkConfig.js +18 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -0
- package/getSystemGetSnowflakePlatformInfo.d.ts +19 -0
- package/getSystemGetSnowflakePlatformInfo.js +18 -0
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -0
- package/getTables.d.ts +50 -0
- package/getTables.js +34 -0
- package/getTables.js.map +1 -0
- package/getTasks.d.ts +50 -0
- package/getTasks.js +34 -0
- package/getTasks.js.map +1 -0
- package/getViews.d.ts +50 -0
- package/getViews.js +34 -0
- package/getViews.js.map +1 -0
- package/getWarehouses.d.ts +26 -0
- package/getWarehouses.js +28 -0
- package/getWarehouses.js.map +1 -0
- package/index.d.ts +79 -0
- package/index.js +324 -0
- package/index.js.map +1 -0
- package/integrationGrant.d.ts +110 -0
- package/integrationGrant.js +86 -0
- package/integrationGrant.js.map +1 -0
- package/managedAccount.d.ts +160 -0
- package/managedAccount.js +99 -0
- package/managedAccount.js.map +1 -0
- package/maskingPolicy.d.ts +144 -0
- package/maskingPolicy.js +102 -0
- package/maskingPolicy.js.map +1 -0
- package/maskingPolicyGrant.d.ts +108 -0
- package/maskingPolicyGrant.js +70 -0
- package/maskingPolicyGrant.js.map +1 -0
- package/materializedView.d.ts +158 -0
- package/materializedView.js +103 -0
- package/materializedView.js.map +1 -0
- package/materializedViewGrant.d.ts +165 -0
- package/materializedViewGrant.js +101 -0
- package/materializedViewGrant.js.map +1 -0
- package/networkPolicy.d.ts +104 -0
- package/networkPolicy.js +80 -0
- package/networkPolicy.js.map +1 -0
- package/networkPolicyAttachment.d.ts +110 -0
- package/networkPolicyAttachment.js +81 -0
- package/networkPolicyAttachment.js.map +1 -0
- package/notificationIntegration.d.ts +191 -0
- package/notificationIntegration.js +103 -0
- package/notificationIntegration.js.map +1 -0
- package/package.json +27 -0
- package/package.json.bak +26 -0
- package/package.json.dev +26 -0
- package/pipe.d.ts +187 -0
- package/pipe.js +107 -0
- package/pipe.js.map +1 -0
- package/pipeGrant.d.ts +149 -0
- package/pipeGrant.js +98 -0
- package/pipeGrant.js.map +1 -0
- package/procedure.d.ts +201 -0
- package/procedure.js +125 -0
- package/procedure.js.map +1 -0
- package/procedureGrant.d.ts +201 -0
- package/procedureGrant.js +119 -0
- package/procedureGrant.js.map +1 -0
- package/provider.d.ts +64 -0
- package/provider.js +70 -0
- package/provider.js.map +1 -0
- package/resourceMonitor.d.ts +156 -0
- package/resourceMonitor.js +89 -0
- package/resourceMonitor.js.map +1 -0
- package/resourceMonitorGrant.d.ts +105 -0
- package/resourceMonitorGrant.js +81 -0
- package/resourceMonitorGrant.js.map +1 -0
- package/role.d.ts +60 -0
- package/role.js +71 -0
- package/role.js.map +1 -0
- package/roleGrants.d.ts +105 -0
- package/roleGrants.js +91 -0
- package/roleGrants.js.map +1 -0
- package/rowAccessPolicy.d.ts +140 -0
- package/rowAccessPolicy.js +99 -0
- package/rowAccessPolicy.js.map +1 -0
- package/rowAccessPolicyGrant.d.ts +136 -0
- package/rowAccessPolicyGrant.js +98 -0
- package/rowAccessPolicyGrant.js.map +1 -0
- package/schema.d.ts +132 -0
- package/schema.js +88 -0
- package/schema.js.map +1 -0
- package/schemaGrant.d.ts +155 -0
- package/schemaGrant.js +98 -0
- package/schemaGrant.js.map +1 -0
- package/scimIntegration.d.ts +112 -0
- package/scimIntegration.js +85 -0
- package/scimIntegration.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/sequence.d.ts +127 -0
- package/sequence.js +84 -0
- package/sequence.js.map +1 -0
- package/sequenceGrant.d.ts +149 -0
- package/sequenceGrant.js +98 -0
- package/sequenceGrant.js.map +1 -0
- package/share.d.ts +90 -0
- package/share.js +73 -0
- package/share.js.map +1 -0
- package/stage.d.ts +192 -0
- package/stage.js +109 -0
- package/stage.js.map +1 -0
- package/stageGrant.d.ts +165 -0
- package/stageGrant.js +104 -0
- package/stageGrant.js.map +1 -0
- package/storageIntegration.d.ts +153 -0
- package/storageIntegration.js +109 -0
- package/storageIntegration.js.map +1 -0
- package/stream.d.ts +166 -0
- package/stream.js +99 -0
- package/stream.js.map +1 -0
- package/streamGrant.d.ts +149 -0
- package/streamGrant.js +98 -0
- package/streamGrant.js.map +1 -0
- package/table.d.ts +214 -0
- package/table.js +139 -0
- package/table.js.map +1 -0
- package/tableGrant.d.ts +159 -0
- package/tableGrant.js +95 -0
- package/tableGrant.js.map +1 -0
- package/task.d.ts +218 -0
- package/task.js +117 -0
- package/task.js.map +1 -0
- package/taskGrant.d.ts +149 -0
- package/taskGrant.js +98 -0
- package/taskGrant.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +113 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +331 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +236 -0
- package/user.js +111 -0
- package/user.js.map +1 -0
- package/userPublicKeys.d.ts +72 -0
- package/userPublicKeys.js +55 -0
- package/userPublicKeys.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +52 -0
- package/utilities.js.map +1 -0
- package/view.d.ts +145 -0
- package/view.js +97 -0
- package/view.js.map +1 -0
- package/viewGrant.d.ts +165 -0
- package/viewGrant.js +101 -0
- package/viewGrant.js.map +1 -0
- package/warehouse.d.ts +214 -0
- package/warehouse.js +96 -0
- package/warehouse.js.map +1 -0
- package/warehouseGrant.d.ts +107 -0
- package/warehouseGrant.js +83 -0
- package/warehouseGrant.js.map +1 -0
package/fileFormat.d.ts
ADDED
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
8
|
+
*
|
|
9
|
+
* const exampleFileFormat = new snowflake.FileFormat("example_file_format", {
|
|
10
|
+
* database: "EXAMPLE_DB",
|
|
11
|
+
* formatType: "CSV",
|
|
12
|
+
* schema: "EXAMPLE_SCHEMA",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* # format is database name | schema name | file format name
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import snowflake:index/fileFormat:FileFormat example 'dbName|schemaName|fileFormatName'
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class FileFormat extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing FileFormat resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileFormatState, opts?: pulumi.CustomResourceOptions): FileFormat;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of FileFormat. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is FileFormat;
|
|
40
|
+
/**
|
|
41
|
+
* Boolean that specifies to allow duplicate object field names (only the last one will be preserved).
|
|
42
|
+
*/
|
|
43
|
+
readonly allowDuplicate: pulumi.Output<boolean | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Boolean that specifies whether to interpret columns with no defined logical data type as UTF-8 text.
|
|
46
|
+
*/
|
|
47
|
+
readonly binaryAsText: pulumi.Output<boolean | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the encoding format for binary input or output.
|
|
50
|
+
*/
|
|
51
|
+
readonly binaryFormat: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies a comment for the file format.
|
|
54
|
+
*/
|
|
55
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the current compression algorithm for the data file.
|
|
58
|
+
*/
|
|
59
|
+
readonly compression: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The database in which to create the file format.
|
|
62
|
+
*/
|
|
63
|
+
readonly database: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Defines the format of date values in the data files (data loading) or table (data unloading).
|
|
66
|
+
*/
|
|
67
|
+
readonly dateFormat: pulumi.Output<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Boolean that specifies whether the XML parser disables automatic conversion of numeric and Boolean values from text to native representation.
|
|
70
|
+
*/
|
|
71
|
+
readonly disableAutoConvert: pulumi.Output<boolean | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Boolean that specifies whether the XML parser disables recognition of Snowflake semi-structured data tags.
|
|
74
|
+
*/
|
|
75
|
+
readonly disableSnowflakeData: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies whether to insert SQL NULL for empty fields in an input file, which are represented by two successive delimiters.
|
|
78
|
+
*/
|
|
79
|
+
readonly emptyFieldAsNull: pulumi.Output<boolean | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Boolean that enables parsing of octal numbers.
|
|
82
|
+
*/
|
|
83
|
+
readonly enableOctal: pulumi.Output<boolean | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* String (constant) that specifies the character set of the source data when loading data into a table.
|
|
86
|
+
*/
|
|
87
|
+
readonly encoding: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Boolean that specifies whether to generate a parsing error if the number of delimited columns (i.e. fields) in an input file does not match the number of columns in the corresponding table.
|
|
90
|
+
*/
|
|
91
|
+
readonly errorOnColumnCountMismatch: pulumi.Output<boolean | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Single character string used as the escape character for field values.
|
|
94
|
+
*/
|
|
95
|
+
readonly escape: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Single character string used as the escape character for unenclosed field values only.
|
|
98
|
+
*/
|
|
99
|
+
readonly escapeUnenclosedField: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Specifies one or more singlebyte or multibyte characters that separate fields in an input file (data loading) or unloaded file (data unloading).
|
|
102
|
+
*/
|
|
103
|
+
readonly fieldDelimiter: pulumi.Output<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Character used to enclose strings.
|
|
106
|
+
*/
|
|
107
|
+
readonly fieldOptionallyEnclosedBy: pulumi.Output<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the extension for files unloaded to a stage.
|
|
110
|
+
*/
|
|
111
|
+
readonly fileExtension: pulumi.Output<string | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the format of the input files (for data loading) or output files (for data unloading).
|
|
114
|
+
*/
|
|
115
|
+
readonly formatType: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Boolean that specifies whether UTF-8 encoding errors produce error conditions.
|
|
118
|
+
*/
|
|
119
|
+
readonly ignoreUtf8Errors: pulumi.Output<boolean | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
|
|
122
|
+
*/
|
|
123
|
+
readonly name: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* String used to convert to and from SQL NULL.
|
|
126
|
+
*/
|
|
127
|
+
readonly nullIfs: pulumi.Output<string[] | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Boolean that specifies whether the XML parser preserves leading and trailing spaces in element content.
|
|
130
|
+
*/
|
|
131
|
+
readonly preserveSpace: pulumi.Output<boolean | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies one or more singlebyte or multibyte characters that separate records in an input file (data loading) or unloaded file (data unloading).
|
|
134
|
+
*/
|
|
135
|
+
readonly recordDelimiter: pulumi.Output<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Boolean that specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�).
|
|
138
|
+
*/
|
|
139
|
+
readonly replaceInvalidCharacters: pulumi.Output<boolean | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* The schema in which to create the file format.
|
|
142
|
+
*/
|
|
143
|
+
readonly schema: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Boolean that specifies to skip any blank lines encountered in the data files.
|
|
146
|
+
*/
|
|
147
|
+
readonly skipBlankLines: pulumi.Output<boolean | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Boolean that specifies whether to skip the BOM (byte order mark), if present in a data file.
|
|
150
|
+
*/
|
|
151
|
+
readonly skipByteOrderMark: pulumi.Output<boolean | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Number of lines at the start of the file to skip.
|
|
154
|
+
*/
|
|
155
|
+
readonly skipHeader: pulumi.Output<number | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Boolean that instructs the JSON parser to remove object fields or array elements containing null values.
|
|
158
|
+
*/
|
|
159
|
+
readonly stripNullValues: pulumi.Output<boolean | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Boolean that instructs the JSON parser to remove outer brackets.
|
|
162
|
+
*/
|
|
163
|
+
readonly stripOuterArray: pulumi.Output<boolean | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Boolean that specifies whether the XML parser strips out the outer XML element, exposing 2nd level elements as separate documents.
|
|
166
|
+
*/
|
|
167
|
+
readonly stripOuterElement: pulumi.Output<boolean | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Defines the format of time values in the data files (data loading) or table (data unloading).
|
|
170
|
+
*/
|
|
171
|
+
readonly timeFormat: pulumi.Output<string | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* Defines the format of timestamp values in the data files (data loading) or table (data unloading).
|
|
174
|
+
*/
|
|
175
|
+
readonly timestampFormat: pulumi.Output<string | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Boolean that specifies whether to remove white space from fields.
|
|
178
|
+
*/
|
|
179
|
+
readonly trimSpace: pulumi.Output<boolean | undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* Boolean that specifies whether to validate UTF-8 character encoding in string column data.
|
|
182
|
+
*/
|
|
183
|
+
readonly validateUtf8: pulumi.Output<boolean | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Create a FileFormat resource with the given unique name, arguments, and options.
|
|
186
|
+
*
|
|
187
|
+
* @param name The _unique_ name of the resource.
|
|
188
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
189
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
190
|
+
*/
|
|
191
|
+
constructor(name: string, args: FileFormatArgs, opts?: pulumi.CustomResourceOptions);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Input properties used for looking up and filtering FileFormat resources.
|
|
195
|
+
*/
|
|
196
|
+
export interface FileFormatState {
|
|
197
|
+
/**
|
|
198
|
+
* Boolean that specifies to allow duplicate object field names (only the last one will be preserved).
|
|
199
|
+
*/
|
|
200
|
+
allowDuplicate?: pulumi.Input<boolean>;
|
|
201
|
+
/**
|
|
202
|
+
* Boolean that specifies whether to interpret columns with no defined logical data type as UTF-8 text.
|
|
203
|
+
*/
|
|
204
|
+
binaryAsText?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* Defines the encoding format for binary input or output.
|
|
207
|
+
*/
|
|
208
|
+
binaryFormat?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Specifies a comment for the file format.
|
|
211
|
+
*/
|
|
212
|
+
comment?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Specifies the current compression algorithm for the data file.
|
|
215
|
+
*/
|
|
216
|
+
compression?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The database in which to create the file format.
|
|
219
|
+
*/
|
|
220
|
+
database?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Defines the format of date values in the data files (data loading) or table (data unloading).
|
|
223
|
+
*/
|
|
224
|
+
dateFormat?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Boolean that specifies whether the XML parser disables automatic conversion of numeric and Boolean values from text to native representation.
|
|
227
|
+
*/
|
|
228
|
+
disableAutoConvert?: pulumi.Input<boolean>;
|
|
229
|
+
/**
|
|
230
|
+
* Boolean that specifies whether the XML parser disables recognition of Snowflake semi-structured data tags.
|
|
231
|
+
*/
|
|
232
|
+
disableSnowflakeData?: pulumi.Input<boolean>;
|
|
233
|
+
/**
|
|
234
|
+
* Specifies whether to insert SQL NULL for empty fields in an input file, which are represented by two successive delimiters.
|
|
235
|
+
*/
|
|
236
|
+
emptyFieldAsNull?: pulumi.Input<boolean>;
|
|
237
|
+
/**
|
|
238
|
+
* Boolean that enables parsing of octal numbers.
|
|
239
|
+
*/
|
|
240
|
+
enableOctal?: pulumi.Input<boolean>;
|
|
241
|
+
/**
|
|
242
|
+
* String (constant) that specifies the character set of the source data when loading data into a table.
|
|
243
|
+
*/
|
|
244
|
+
encoding?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Boolean that specifies whether to generate a parsing error if the number of delimited columns (i.e. fields) in an input file does not match the number of columns in the corresponding table.
|
|
247
|
+
*/
|
|
248
|
+
errorOnColumnCountMismatch?: pulumi.Input<boolean>;
|
|
249
|
+
/**
|
|
250
|
+
* Single character string used as the escape character for field values.
|
|
251
|
+
*/
|
|
252
|
+
escape?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Single character string used as the escape character for unenclosed field values only.
|
|
255
|
+
*/
|
|
256
|
+
escapeUnenclosedField?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Specifies one or more singlebyte or multibyte characters that separate fields in an input file (data loading) or unloaded file (data unloading).
|
|
259
|
+
*/
|
|
260
|
+
fieldDelimiter?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Character used to enclose strings.
|
|
263
|
+
*/
|
|
264
|
+
fieldOptionallyEnclosedBy?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Specifies the extension for files unloaded to a stage.
|
|
267
|
+
*/
|
|
268
|
+
fileExtension?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Specifies the format of the input files (for data loading) or output files (for data unloading).
|
|
271
|
+
*/
|
|
272
|
+
formatType?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* Boolean that specifies whether UTF-8 encoding errors produce error conditions.
|
|
275
|
+
*/
|
|
276
|
+
ignoreUtf8Errors?: pulumi.Input<boolean>;
|
|
277
|
+
/**
|
|
278
|
+
* Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
|
|
279
|
+
*/
|
|
280
|
+
name?: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* String used to convert to and from SQL NULL.
|
|
283
|
+
*/
|
|
284
|
+
nullIfs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
285
|
+
/**
|
|
286
|
+
* Boolean that specifies whether the XML parser preserves leading and trailing spaces in element content.
|
|
287
|
+
*/
|
|
288
|
+
preserveSpace?: pulumi.Input<boolean>;
|
|
289
|
+
/**
|
|
290
|
+
* Specifies one or more singlebyte or multibyte characters that separate records in an input file (data loading) or unloaded file (data unloading).
|
|
291
|
+
*/
|
|
292
|
+
recordDelimiter?: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* Boolean that specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�).
|
|
295
|
+
*/
|
|
296
|
+
replaceInvalidCharacters?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* The schema in which to create the file format.
|
|
299
|
+
*/
|
|
300
|
+
schema?: pulumi.Input<string>;
|
|
301
|
+
/**
|
|
302
|
+
* Boolean that specifies to skip any blank lines encountered in the data files.
|
|
303
|
+
*/
|
|
304
|
+
skipBlankLines?: pulumi.Input<boolean>;
|
|
305
|
+
/**
|
|
306
|
+
* Boolean that specifies whether to skip the BOM (byte order mark), if present in a data file.
|
|
307
|
+
*/
|
|
308
|
+
skipByteOrderMark?: pulumi.Input<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Number of lines at the start of the file to skip.
|
|
311
|
+
*/
|
|
312
|
+
skipHeader?: pulumi.Input<number>;
|
|
313
|
+
/**
|
|
314
|
+
* Boolean that instructs the JSON parser to remove object fields or array elements containing null values.
|
|
315
|
+
*/
|
|
316
|
+
stripNullValues?: pulumi.Input<boolean>;
|
|
317
|
+
/**
|
|
318
|
+
* Boolean that instructs the JSON parser to remove outer brackets.
|
|
319
|
+
*/
|
|
320
|
+
stripOuterArray?: pulumi.Input<boolean>;
|
|
321
|
+
/**
|
|
322
|
+
* Boolean that specifies whether the XML parser strips out the outer XML element, exposing 2nd level elements as separate documents.
|
|
323
|
+
*/
|
|
324
|
+
stripOuterElement?: pulumi.Input<boolean>;
|
|
325
|
+
/**
|
|
326
|
+
* Defines the format of time values in the data files (data loading) or table (data unloading).
|
|
327
|
+
*/
|
|
328
|
+
timeFormat?: pulumi.Input<string>;
|
|
329
|
+
/**
|
|
330
|
+
* Defines the format of timestamp values in the data files (data loading) or table (data unloading).
|
|
331
|
+
*/
|
|
332
|
+
timestampFormat?: pulumi.Input<string>;
|
|
333
|
+
/**
|
|
334
|
+
* Boolean that specifies whether to remove white space from fields.
|
|
335
|
+
*/
|
|
336
|
+
trimSpace?: pulumi.Input<boolean>;
|
|
337
|
+
/**
|
|
338
|
+
* Boolean that specifies whether to validate UTF-8 character encoding in string column data.
|
|
339
|
+
*/
|
|
340
|
+
validateUtf8?: pulumi.Input<boolean>;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The set of arguments for constructing a FileFormat resource.
|
|
344
|
+
*/
|
|
345
|
+
export interface FileFormatArgs {
|
|
346
|
+
/**
|
|
347
|
+
* Boolean that specifies to allow duplicate object field names (only the last one will be preserved).
|
|
348
|
+
*/
|
|
349
|
+
allowDuplicate?: pulumi.Input<boolean>;
|
|
350
|
+
/**
|
|
351
|
+
* Boolean that specifies whether to interpret columns with no defined logical data type as UTF-8 text.
|
|
352
|
+
*/
|
|
353
|
+
binaryAsText?: pulumi.Input<boolean>;
|
|
354
|
+
/**
|
|
355
|
+
* Defines the encoding format for binary input or output.
|
|
356
|
+
*/
|
|
357
|
+
binaryFormat?: pulumi.Input<string>;
|
|
358
|
+
/**
|
|
359
|
+
* Specifies a comment for the file format.
|
|
360
|
+
*/
|
|
361
|
+
comment?: pulumi.Input<string>;
|
|
362
|
+
/**
|
|
363
|
+
* Specifies the current compression algorithm for the data file.
|
|
364
|
+
*/
|
|
365
|
+
compression?: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* The database in which to create the file format.
|
|
368
|
+
*/
|
|
369
|
+
database: pulumi.Input<string>;
|
|
370
|
+
/**
|
|
371
|
+
* Defines the format of date values in the data files (data loading) or table (data unloading).
|
|
372
|
+
*/
|
|
373
|
+
dateFormat?: pulumi.Input<string>;
|
|
374
|
+
/**
|
|
375
|
+
* Boolean that specifies whether the XML parser disables automatic conversion of numeric and Boolean values from text to native representation.
|
|
376
|
+
*/
|
|
377
|
+
disableAutoConvert?: pulumi.Input<boolean>;
|
|
378
|
+
/**
|
|
379
|
+
* Boolean that specifies whether the XML parser disables recognition of Snowflake semi-structured data tags.
|
|
380
|
+
*/
|
|
381
|
+
disableSnowflakeData?: pulumi.Input<boolean>;
|
|
382
|
+
/**
|
|
383
|
+
* Specifies whether to insert SQL NULL for empty fields in an input file, which are represented by two successive delimiters.
|
|
384
|
+
*/
|
|
385
|
+
emptyFieldAsNull?: pulumi.Input<boolean>;
|
|
386
|
+
/**
|
|
387
|
+
* Boolean that enables parsing of octal numbers.
|
|
388
|
+
*/
|
|
389
|
+
enableOctal?: pulumi.Input<boolean>;
|
|
390
|
+
/**
|
|
391
|
+
* String (constant) that specifies the character set of the source data when loading data into a table.
|
|
392
|
+
*/
|
|
393
|
+
encoding?: pulumi.Input<string>;
|
|
394
|
+
/**
|
|
395
|
+
* Boolean that specifies whether to generate a parsing error if the number of delimited columns (i.e. fields) in an input file does not match the number of columns in the corresponding table.
|
|
396
|
+
*/
|
|
397
|
+
errorOnColumnCountMismatch?: pulumi.Input<boolean>;
|
|
398
|
+
/**
|
|
399
|
+
* Single character string used as the escape character for field values.
|
|
400
|
+
*/
|
|
401
|
+
escape?: pulumi.Input<string>;
|
|
402
|
+
/**
|
|
403
|
+
* Single character string used as the escape character for unenclosed field values only.
|
|
404
|
+
*/
|
|
405
|
+
escapeUnenclosedField?: pulumi.Input<string>;
|
|
406
|
+
/**
|
|
407
|
+
* Specifies one or more singlebyte or multibyte characters that separate fields in an input file (data loading) or unloaded file (data unloading).
|
|
408
|
+
*/
|
|
409
|
+
fieldDelimiter?: pulumi.Input<string>;
|
|
410
|
+
/**
|
|
411
|
+
* Character used to enclose strings.
|
|
412
|
+
*/
|
|
413
|
+
fieldOptionallyEnclosedBy?: pulumi.Input<string>;
|
|
414
|
+
/**
|
|
415
|
+
* Specifies the extension for files unloaded to a stage.
|
|
416
|
+
*/
|
|
417
|
+
fileExtension?: pulumi.Input<string>;
|
|
418
|
+
/**
|
|
419
|
+
* Specifies the format of the input files (for data loading) or output files (for data unloading).
|
|
420
|
+
*/
|
|
421
|
+
formatType: pulumi.Input<string>;
|
|
422
|
+
/**
|
|
423
|
+
* Boolean that specifies whether UTF-8 encoding errors produce error conditions.
|
|
424
|
+
*/
|
|
425
|
+
ignoreUtf8Errors?: pulumi.Input<boolean>;
|
|
426
|
+
/**
|
|
427
|
+
* Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
|
|
428
|
+
*/
|
|
429
|
+
name?: pulumi.Input<string>;
|
|
430
|
+
/**
|
|
431
|
+
* String used to convert to and from SQL NULL.
|
|
432
|
+
*/
|
|
433
|
+
nullIfs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
434
|
+
/**
|
|
435
|
+
* Boolean that specifies whether the XML parser preserves leading and trailing spaces in element content.
|
|
436
|
+
*/
|
|
437
|
+
preserveSpace?: pulumi.Input<boolean>;
|
|
438
|
+
/**
|
|
439
|
+
* Specifies one or more singlebyte or multibyte characters that separate records in an input file (data loading) or unloaded file (data unloading).
|
|
440
|
+
*/
|
|
441
|
+
recordDelimiter?: pulumi.Input<string>;
|
|
442
|
+
/**
|
|
443
|
+
* Boolean that specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�).
|
|
444
|
+
*/
|
|
445
|
+
replaceInvalidCharacters?: pulumi.Input<boolean>;
|
|
446
|
+
/**
|
|
447
|
+
* The schema in which to create the file format.
|
|
448
|
+
*/
|
|
449
|
+
schema: pulumi.Input<string>;
|
|
450
|
+
/**
|
|
451
|
+
* Boolean that specifies to skip any blank lines encountered in the data files.
|
|
452
|
+
*/
|
|
453
|
+
skipBlankLines?: pulumi.Input<boolean>;
|
|
454
|
+
/**
|
|
455
|
+
* Boolean that specifies whether to skip the BOM (byte order mark), if present in a data file.
|
|
456
|
+
*/
|
|
457
|
+
skipByteOrderMark?: pulumi.Input<boolean>;
|
|
458
|
+
/**
|
|
459
|
+
* Number of lines at the start of the file to skip.
|
|
460
|
+
*/
|
|
461
|
+
skipHeader?: pulumi.Input<number>;
|
|
462
|
+
/**
|
|
463
|
+
* Boolean that instructs the JSON parser to remove object fields or array elements containing null values.
|
|
464
|
+
*/
|
|
465
|
+
stripNullValues?: pulumi.Input<boolean>;
|
|
466
|
+
/**
|
|
467
|
+
* Boolean that instructs the JSON parser to remove outer brackets.
|
|
468
|
+
*/
|
|
469
|
+
stripOuterArray?: pulumi.Input<boolean>;
|
|
470
|
+
/**
|
|
471
|
+
* Boolean that specifies whether the XML parser strips out the outer XML element, exposing 2nd level elements as separate documents.
|
|
472
|
+
*/
|
|
473
|
+
stripOuterElement?: pulumi.Input<boolean>;
|
|
474
|
+
/**
|
|
475
|
+
* Defines the format of time values in the data files (data loading) or table (data unloading).
|
|
476
|
+
*/
|
|
477
|
+
timeFormat?: pulumi.Input<string>;
|
|
478
|
+
/**
|
|
479
|
+
* Defines the format of timestamp values in the data files (data loading) or table (data unloading).
|
|
480
|
+
*/
|
|
481
|
+
timestampFormat?: pulumi.Input<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Boolean that specifies whether to remove white space from fields.
|
|
484
|
+
*/
|
|
485
|
+
trimSpace?: pulumi.Input<boolean>;
|
|
486
|
+
/**
|
|
487
|
+
* Boolean that specifies whether to validate UTF-8 character encoding in string column data.
|
|
488
|
+
*/
|
|
489
|
+
validateUtf8?: pulumi.Input<boolean>;
|
|
490
|
+
}
|
package/fileFormat.js
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
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.FileFormat = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
+
*
|
|
15
|
+
* const exampleFileFormat = new snowflake.FileFormat("example_file_format", {
|
|
16
|
+
* database: "EXAMPLE_DB",
|
|
17
|
+
* formatType: "CSV",
|
|
18
|
+
* schema: "EXAMPLE_SCHEMA",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* # format is database name | schema name | file format name
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import snowflake:index/fileFormat:FileFormat example 'dbName|schemaName|fileFormatName'
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class FileFormat extends pulumi.CustomResource {
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let inputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
inputs["allowDuplicate"] = state ? state.allowDuplicate : undefined;
|
|
37
|
+
inputs["binaryAsText"] = state ? state.binaryAsText : undefined;
|
|
38
|
+
inputs["binaryFormat"] = state ? state.binaryFormat : undefined;
|
|
39
|
+
inputs["comment"] = state ? state.comment : undefined;
|
|
40
|
+
inputs["compression"] = state ? state.compression : undefined;
|
|
41
|
+
inputs["database"] = state ? state.database : undefined;
|
|
42
|
+
inputs["dateFormat"] = state ? state.dateFormat : undefined;
|
|
43
|
+
inputs["disableAutoConvert"] = state ? state.disableAutoConvert : undefined;
|
|
44
|
+
inputs["disableSnowflakeData"] = state ? state.disableSnowflakeData : undefined;
|
|
45
|
+
inputs["emptyFieldAsNull"] = state ? state.emptyFieldAsNull : undefined;
|
|
46
|
+
inputs["enableOctal"] = state ? state.enableOctal : undefined;
|
|
47
|
+
inputs["encoding"] = state ? state.encoding : undefined;
|
|
48
|
+
inputs["errorOnColumnCountMismatch"] = state ? state.errorOnColumnCountMismatch : undefined;
|
|
49
|
+
inputs["escape"] = state ? state.escape : undefined;
|
|
50
|
+
inputs["escapeUnenclosedField"] = state ? state.escapeUnenclosedField : undefined;
|
|
51
|
+
inputs["fieldDelimiter"] = state ? state.fieldDelimiter : undefined;
|
|
52
|
+
inputs["fieldOptionallyEnclosedBy"] = state ? state.fieldOptionallyEnclosedBy : undefined;
|
|
53
|
+
inputs["fileExtension"] = state ? state.fileExtension : undefined;
|
|
54
|
+
inputs["formatType"] = state ? state.formatType : undefined;
|
|
55
|
+
inputs["ignoreUtf8Errors"] = state ? state.ignoreUtf8Errors : undefined;
|
|
56
|
+
inputs["name"] = state ? state.name : undefined;
|
|
57
|
+
inputs["nullIfs"] = state ? state.nullIfs : undefined;
|
|
58
|
+
inputs["preserveSpace"] = state ? state.preserveSpace : undefined;
|
|
59
|
+
inputs["recordDelimiter"] = state ? state.recordDelimiter : undefined;
|
|
60
|
+
inputs["replaceInvalidCharacters"] = state ? state.replaceInvalidCharacters : undefined;
|
|
61
|
+
inputs["schema"] = state ? state.schema : undefined;
|
|
62
|
+
inputs["skipBlankLines"] = state ? state.skipBlankLines : undefined;
|
|
63
|
+
inputs["skipByteOrderMark"] = state ? state.skipByteOrderMark : undefined;
|
|
64
|
+
inputs["skipHeader"] = state ? state.skipHeader : undefined;
|
|
65
|
+
inputs["stripNullValues"] = state ? state.stripNullValues : undefined;
|
|
66
|
+
inputs["stripOuterArray"] = state ? state.stripOuterArray : undefined;
|
|
67
|
+
inputs["stripOuterElement"] = state ? state.stripOuterElement : undefined;
|
|
68
|
+
inputs["timeFormat"] = state ? state.timeFormat : undefined;
|
|
69
|
+
inputs["timestampFormat"] = state ? state.timestampFormat : undefined;
|
|
70
|
+
inputs["trimSpace"] = state ? state.trimSpace : undefined;
|
|
71
|
+
inputs["validateUtf8"] = state ? state.validateUtf8 : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.database === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'database'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.formatType === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'formatType'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.schema === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'schema'");
|
|
83
|
+
}
|
|
84
|
+
inputs["allowDuplicate"] = args ? args.allowDuplicate : undefined;
|
|
85
|
+
inputs["binaryAsText"] = args ? args.binaryAsText : undefined;
|
|
86
|
+
inputs["binaryFormat"] = args ? args.binaryFormat : undefined;
|
|
87
|
+
inputs["comment"] = args ? args.comment : undefined;
|
|
88
|
+
inputs["compression"] = args ? args.compression : undefined;
|
|
89
|
+
inputs["database"] = args ? args.database : undefined;
|
|
90
|
+
inputs["dateFormat"] = args ? args.dateFormat : undefined;
|
|
91
|
+
inputs["disableAutoConvert"] = args ? args.disableAutoConvert : undefined;
|
|
92
|
+
inputs["disableSnowflakeData"] = args ? args.disableSnowflakeData : undefined;
|
|
93
|
+
inputs["emptyFieldAsNull"] = args ? args.emptyFieldAsNull : undefined;
|
|
94
|
+
inputs["enableOctal"] = args ? args.enableOctal : undefined;
|
|
95
|
+
inputs["encoding"] = args ? args.encoding : undefined;
|
|
96
|
+
inputs["errorOnColumnCountMismatch"] = args ? args.errorOnColumnCountMismatch : undefined;
|
|
97
|
+
inputs["escape"] = args ? args.escape : undefined;
|
|
98
|
+
inputs["escapeUnenclosedField"] = args ? args.escapeUnenclosedField : undefined;
|
|
99
|
+
inputs["fieldDelimiter"] = args ? args.fieldDelimiter : undefined;
|
|
100
|
+
inputs["fieldOptionallyEnclosedBy"] = args ? args.fieldOptionallyEnclosedBy : undefined;
|
|
101
|
+
inputs["fileExtension"] = args ? args.fileExtension : undefined;
|
|
102
|
+
inputs["formatType"] = args ? args.formatType : undefined;
|
|
103
|
+
inputs["ignoreUtf8Errors"] = args ? args.ignoreUtf8Errors : undefined;
|
|
104
|
+
inputs["name"] = args ? args.name : undefined;
|
|
105
|
+
inputs["nullIfs"] = args ? args.nullIfs : undefined;
|
|
106
|
+
inputs["preserveSpace"] = args ? args.preserveSpace : undefined;
|
|
107
|
+
inputs["recordDelimiter"] = args ? args.recordDelimiter : undefined;
|
|
108
|
+
inputs["replaceInvalidCharacters"] = args ? args.replaceInvalidCharacters : undefined;
|
|
109
|
+
inputs["schema"] = args ? args.schema : undefined;
|
|
110
|
+
inputs["skipBlankLines"] = args ? args.skipBlankLines : undefined;
|
|
111
|
+
inputs["skipByteOrderMark"] = args ? args.skipByteOrderMark : undefined;
|
|
112
|
+
inputs["skipHeader"] = args ? args.skipHeader : undefined;
|
|
113
|
+
inputs["stripNullValues"] = args ? args.stripNullValues : undefined;
|
|
114
|
+
inputs["stripOuterArray"] = args ? args.stripOuterArray : undefined;
|
|
115
|
+
inputs["stripOuterElement"] = args ? args.stripOuterElement : undefined;
|
|
116
|
+
inputs["timeFormat"] = args ? args.timeFormat : undefined;
|
|
117
|
+
inputs["timestampFormat"] = args ? args.timestampFormat : undefined;
|
|
118
|
+
inputs["trimSpace"] = args ? args.trimSpace : undefined;
|
|
119
|
+
inputs["validateUtf8"] = args ? args.validateUtf8 : undefined;
|
|
120
|
+
}
|
|
121
|
+
if (!opts.version) {
|
|
122
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
123
|
+
}
|
|
124
|
+
super(FileFormat.__pulumiType, name, inputs, opts);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Get an existing FileFormat resource's state with the given name, ID, and optional extra
|
|
128
|
+
* properties used to qualify the lookup.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resulting resource.
|
|
131
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
132
|
+
* @param state Any extra arguments used during the lookup.
|
|
133
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
134
|
+
*/
|
|
135
|
+
static get(name, id, state, opts) {
|
|
136
|
+
return new FileFormat(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Returns true if the given object is an instance of FileFormat. This is designed to work even
|
|
140
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
141
|
+
*/
|
|
142
|
+
static isInstance(obj) {
|
|
143
|
+
if (obj === undefined || obj === null) {
|
|
144
|
+
return false;
|
|
145
|
+
}
|
|
146
|
+
return obj['__pulumiType'] === FileFormat.__pulumiType;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.FileFormat = FileFormat;
|
|
150
|
+
/** @internal */
|
|
151
|
+
FileFormat.__pulumiType = 'snowflake:index/fileFormat:FileFormat';
|
|
152
|
+
//# sourceMappingURL=fileFormat.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