@pulumi/snowflake 0.52.0 → 0.52.1-alpha.1713904889
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 +1 -5
- package/account.js +1 -5
- package/account.js.map +1 -1
- package/accountGrant.d.ts +1 -3
- package/accountGrant.js +1 -3
- package/accountGrant.js.map +1 -1
- package/accountParameter.d.ts +1 -3
- package/accountParameter.js +1 -3
- package/accountParameter.js.map +1 -1
- package/accountPasswordPolicyAttachment.d.ts +1 -2
- package/accountPasswordPolicyAttachment.js +1 -2
- package/accountPasswordPolicyAttachment.js.map +1 -1
- package/alert.d.ts +6 -7
- package/alert.js +6 -7
- package/alert.js.map +1 -1
- package/apiIntegration.d.ts +9 -8
- package/apiIntegration.js +9 -8
- package/apiIntegration.js.map +1 -1
- package/database.d.ts +7 -5
- package/database.js +7 -5
- package/database.js.map +1 -1
- package/databaseGrant.d.ts +0 -2
- package/databaseGrant.js +0 -2
- package/databaseGrant.js.map +1 -1
- package/databaseRole.d.ts +3 -4
- package/databaseRole.js +3 -4
- package/databaseRole.js.map +1 -1
- package/dynamicTable.d.ts +3 -4
- package/dynamicTable.js +3 -4
- package/dynamicTable.js.map +1 -1
- package/emailNotificationIntegration.d.ts +3 -4
- package/emailNotificationIntegration.js +3 -4
- package/emailNotificationIntegration.js.map +1 -1
- package/externalFunction.d.ts +9 -10
- package/externalFunction.js +6 -7
- package/externalFunction.js.map +1 -1
- package/externalOauthIntegration.d.ts +4 -5
- package/externalOauthIntegration.js +4 -5
- package/externalOauthIntegration.js.map +1 -1
- package/externalTable.d.ts +15 -16
- package/externalTable.js +6 -7
- package/externalTable.js.map +1 -1
- package/externalTableGrant.d.ts +2 -4
- package/externalTableGrant.js +2 -4
- package/externalTableGrant.js.map +1 -1
- package/failoverGroup.d.ts +13 -14
- package/failoverGroup.js +10 -11
- package/failoverGroup.js.map +1 -1
- package/fileFormat.d.ts +3 -4
- package/fileFormat.js +3 -4
- package/fileFormat.js.map +1 -1
- package/fileFormatGrant.d.ts +2 -4
- package/fileFormatGrant.js +2 -4
- package/fileFormatGrant.js.map +1 -1
- package/function.d.ts +3 -3
- package/functionGrant.d.ts +4 -6
- package/functionGrant.js +4 -6
- package/functionGrant.js.map +1 -1
- package/getAlerts.d.ts +0 -4
- package/getAlerts.js +0 -4
- package/getAlerts.js.map +1 -1
- package/getCurrentAccount.d.ts +8 -10
- package/getCurrentAccount.js +8 -10
- package/getCurrentAccount.js.map +1 -1
- package/getDatabase.d.ts +0 -4
- package/getDatabase.js +0 -4
- package/getDatabase.js.map +1 -1
- package/getDatabaseRoles.d.ts +0 -4
- package/getDatabaseRoles.js +0 -4
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.d.ts +0 -4
- package/getDatabases.js +0 -4
- package/getDatabases.js.map +1 -1
- package/getExternalFunctions.d.ts +12 -4
- package/getExternalFunctions.js +0 -4
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +12 -4
- package/getExternalTables.js +0 -4
- package/getExternalTables.js.map +1 -1
- package/getFileFormats.d.ts +12 -4
- package/getFileFormats.js +0 -4
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +12 -4
- package/getFunctions.js +0 -4
- package/getFunctions.js.map +1 -1
- package/getGrants.d.ts +42 -4
- package/getGrants.js +42 -4
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +12 -4
- package/getMaskingPolicies.js +0 -4
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +12 -4
- package/getMaterializedViews.js +0 -4
- package/getMaterializedViews.js.map +1 -1
- package/getParameters.d.ts +12 -10
- package/getParameters.js +12 -10
- package/getParameters.js.map +1 -1
- package/getPipes.d.ts +12 -4
- package/getPipes.js +0 -4
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +12 -4
- package/getProcedures.js +0 -4
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +0 -4
- package/getResourceMonitors.js +0 -4
- package/getResourceMonitors.js.map +1 -1
- package/getRole.d.ts +0 -4
- package/getRole.js +0 -4
- package/getRole.js.map +1 -1
- package/getRoles.d.ts +0 -4
- package/getRoles.js +0 -4
- package/getRoles.js.map +1 -1
- package/getRowAccessPolicies.d.ts +12 -4
- package/getRowAccessPolicies.js +0 -4
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +6 -4
- package/getSchemas.js +0 -4
- package/getSchemas.js.map +1 -1
- package/getSequences.d.ts +12 -4
- package/getSequences.js +0 -4
- package/getSequences.js.map +1 -1
- package/getShares.d.ts +0 -4
- package/getShares.js +0 -4
- package/getShares.js.map +1 -1
- package/getStages.d.ts +12 -4
- package/getStages.js +0 -4
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +0 -4
- package/getStorageIntegrations.js +0 -4
- package/getStorageIntegrations.js.map +1 -1
- package/getStreams.d.ts +12 -4
- package/getStreams.js +0 -4
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +0 -4
- package/getSystemGenerateScimAccessToken.js +0 -4
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +106 -0
- package/getSystemGetPrivateLinkConfig.js +106 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getTables.d.ts +12 -4
- package/getTables.js +0 -4
- package/getTables.js.map +1 -1
- package/getTasks.d.ts +12 -4
- package/getTasks.js +0 -4
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +0 -4
- package/getUsers.js +0 -4
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +12 -4
- package/getViews.js +0 -4
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +0 -4
- package/getWarehouses.js +0 -4
- package/getWarehouses.js.map +1 -1
- package/grantAccountRole.d.ts +0 -26
- package/grantAccountRole.js +0 -26
- package/grantAccountRole.js.map +1 -1
- package/grantDatabaseRole.d.ts +0 -33
- package/grantDatabaseRole.js +0 -33
- package/grantDatabaseRole.js.map +1 -1
- package/grantPrivilegesToDatabaseRole.d.ts +0 -168
- package/grantPrivilegesToDatabaseRole.js +0 -168
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/grantPrivilegesToRole.d.ts +20 -22
- package/grantPrivilegesToRole.js +20 -22
- package/grantPrivilegesToRole.js.map +1 -1
- package/integrationGrant.d.ts +0 -2
- package/integrationGrant.js +0 -2
- package/integrationGrant.js.map +1 -1
- package/maskingPolicy.d.ts +14 -16
- package/maskingPolicy.js +11 -13
- package/maskingPolicy.js.map +1 -1
- package/maskingPolicyGrant.d.ts +3 -5
- package/maskingPolicyGrant.js +3 -5
- package/maskingPolicyGrant.js.map +1 -1
- package/materializedView.d.ts +10 -11
- package/materializedView.js +1 -2
- package/materializedView.js.map +1 -1
- package/materializedViewGrant.d.ts +2 -4
- package/materializedViewGrant.js +2 -4
- package/materializedViewGrant.js.map +1 -1
- package/networkPolicy.d.ts +2 -3
- package/networkPolicy.js +2 -3
- package/networkPolicy.js.map +1 -1
- package/networkPolicyAttachment.d.ts +0 -2
- package/networkPolicyAttachment.js +0 -2
- package/networkPolicyAttachment.js.map +1 -1
- package/notificationIntegration.d.ts +5 -6
- package/notificationIntegration.js +5 -6
- package/notificationIntegration.js.map +1 -1
- package/oauthIntegration.d.ts +4 -5
- package/oauthIntegration.js +4 -5
- package/oauthIntegration.js.map +1 -1
- package/objectParameter.d.ts +16 -14
- package/objectParameter.js +16 -14
- package/objectParameter.js.map +1 -1
- package/package.json +1 -1
- package/pipeGrant.d.ts +2 -4
- package/pipeGrant.js +2 -4
- package/pipeGrant.js.map +1 -1
- package/procedure.d.ts +3 -3
- package/procedureGrant.d.ts +4 -6
- package/procedureGrant.js +4 -6
- package/procedureGrant.js.map +1 -1
- package/resourceMonitor.d.ts +5 -6
- package/resourceMonitor.js +5 -6
- package/resourceMonitor.js.map +1 -1
- package/resourceMonitorGrant.d.ts +0 -2
- package/resourceMonitorGrant.js +0 -2
- package/resourceMonitorGrant.js.map +1 -1
- package/role.d.ts +4 -12
- package/role.js +4 -3
- package/role.js.map +1 -1
- package/roleGrants.d.ts +13 -6
- package/roleGrants.js +13 -6
- package/roleGrants.js.map +1 -1
- package/roleOwnershipGrant.d.ts +5 -4
- package/roleOwnershipGrant.js +5 -4
- package/roleOwnershipGrant.js.map +1 -1
- package/rowAccessPolicy.d.ts +3 -4
- package/rowAccessPolicy.js +3 -4
- package/rowAccessPolicy.js.map +1 -1
- package/rowAccessPolicyGrant.d.ts +2 -4
- package/rowAccessPolicyGrant.js +2 -4
- package/rowAccessPolicyGrant.js.map +1 -1
- package/samlIntegration.d.ts +4 -5
- package/samlIntegration.js +4 -5
- package/samlIntegration.js.map +1 -1
- package/schema.d.ts +10 -11
- package/schema.js +4 -5
- package/schema.js.map +1 -1
- package/schemaGrant.d.ts +2 -4
- package/schemaGrant.js +2 -4
- package/schemaGrant.js.map +1 -1
- package/scimIntegration.d.ts +1 -2
- package/scimIntegration.js +1 -2
- package/scimIntegration.js.map +1 -1
- package/sequence.d.ts +8 -6
- package/sequence.js +8 -6
- package/sequence.js.map +1 -1
- package/sequenceGrant.d.ts +3 -5
- package/sequenceGrant.js +3 -5
- package/sequenceGrant.js.map +1 -1
- package/sessionParameter.d.ts +3 -5
- package/sessionParameter.js +3 -5
- package/sessionParameter.js.map +1 -1
- package/share.d.ts +2 -3
- package/share.js +2 -3
- package/share.js.map +1 -1
- package/stage.d.ts +13 -14
- package/stage.js +4 -5
- package/stage.js.map +1 -1
- package/stageGrant.d.ts +3 -5
- package/stageGrant.js +3 -5
- package/stageGrant.js.map +1 -1
- package/streamGrant.d.ts +3 -5
- package/streamGrant.js +3 -5
- package/streamGrant.js.map +1 -1
- package/table.d.ts +75 -12
- package/table.js +63 -0
- package/table.js.map +1 -1
- package/tableConstraint.d.ts +27 -21
- package/tableConstraint.js +21 -15
- package/tableConstraint.js.map +1 -1
- package/tableGrant.d.ts +3 -5
- package/tableGrant.js +3 -5
- package/tableGrant.js.map +1 -1
- package/tag.d.ts +6 -4
- package/tag.js +6 -4
- package/tag.js.map +1 -1
- package/tagAssociation.d.ts +18 -15
- package/tagAssociation.js +18 -15
- package/tagAssociation.js.map +1 -1
- package/tagGrant.d.ts +2 -4
- package/tagGrant.js +2 -4
- package/tagGrant.js.map +1 -1
- package/task.d.ts +5 -4
- package/task.js +5 -4
- package/task.js.map +1 -1
- package/taskGrant.d.ts +3 -5
- package/taskGrant.js +3 -5
- package/taskGrant.js.map +1 -1
- package/types/input.d.ts +3 -3
- package/types/output.d.ts +3 -3
- package/user.d.ts +7 -8
- package/user.js +7 -8
- package/user.js.map +1 -1
- package/userGrant.d.ts +1 -3
- package/userGrant.js +1 -3
- package/userGrant.js.map +1 -1
- package/view.d.ts +10 -11
- package/view.js +1 -2
- package/view.js.map +1 -1
- package/viewGrant.d.ts +8 -8
- package/viewGrant.js +8 -8
- package/warehouse.d.ts +1 -2
- package/warehouse.js +1 -2
- package/warehouse.js.map +1 -1
- package/warehouseGrant.d.ts +1 -3
- package/warehouseGrant.js +1 -3
- package/warehouseGrant.js.map +1 -1
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as aws from "@pulumi/aws";
|
|
8
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
9
|
+
*
|
|
10
|
+
* const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
|
|
11
|
+
* const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
|
|
12
|
+
* vpcId: vpcId,
|
|
13
|
+
* ingress: [
|
|
14
|
+
* {
|
|
15
|
+
* fromPort: 80,
|
|
16
|
+
* toPort: 80,
|
|
17
|
+
* cidrBlocks: vpcCidr,
|
|
18
|
+
* protocol: "tcp",
|
|
19
|
+
* },
|
|
20
|
+
* {
|
|
21
|
+
* fromPort: 443,
|
|
22
|
+
* toPort: 443,
|
|
23
|
+
* cidrBlocks: vpcCidr,
|
|
24
|
+
* protocol: "tcp",
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
|
|
29
|
+
* vpcId: vpcId,
|
|
30
|
+
* serviceName: snowflakePrivateLink.awsVpceId,
|
|
31
|
+
* vpcEndpointType: "Interface",
|
|
32
|
+
* securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
|
|
33
|
+
* subnetIds: subnetIds,
|
|
34
|
+
* privateDnsEnabled: false,
|
|
35
|
+
* });
|
|
36
|
+
* const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
|
|
37
|
+
* name: "privatelink.snowflakecomputing.com",
|
|
38
|
+
* vpc: [{
|
|
39
|
+
* vpcId: vpcId,
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
|
|
43
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
44
|
+
* name: snowflakePrivateLink.accountUrl,
|
|
45
|
+
* type: "CNAME",
|
|
46
|
+
* ttl: "300",
|
|
47
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
48
|
+
* });
|
|
49
|
+
* const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
|
|
50
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
51
|
+
* name: snowflakePrivateLink.ocspUrl,
|
|
52
|
+
* type: "CNAME",
|
|
53
|
+
* ttl: "300",
|
|
54
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
4
57
|
*/
|
|
5
58
|
export declare function getSystemGetPrivateLinkConfig(opts?: pulumi.InvokeOptions): Promise<GetSystemGetPrivateLinkConfigResult>;
|
|
6
59
|
/**
|
|
@@ -50,5 +103,58 @@ export interface GetSystemGetPrivateLinkConfigResult {
|
|
|
50
103
|
}
|
|
51
104
|
/**
|
|
52
105
|
* ## Example Usage
|
|
106
|
+
*
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
109
|
+
* import * as aws from "@pulumi/aws";
|
|
110
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
111
|
+
*
|
|
112
|
+
* const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
|
|
113
|
+
* const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
|
|
114
|
+
* vpcId: vpcId,
|
|
115
|
+
* ingress: [
|
|
116
|
+
* {
|
|
117
|
+
* fromPort: 80,
|
|
118
|
+
* toPort: 80,
|
|
119
|
+
* cidrBlocks: vpcCidr,
|
|
120
|
+
* protocol: "tcp",
|
|
121
|
+
* },
|
|
122
|
+
* {
|
|
123
|
+
* fromPort: 443,
|
|
124
|
+
* toPort: 443,
|
|
125
|
+
* cidrBlocks: vpcCidr,
|
|
126
|
+
* protocol: "tcp",
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* });
|
|
130
|
+
* const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
|
|
131
|
+
* vpcId: vpcId,
|
|
132
|
+
* serviceName: snowflakePrivateLink.awsVpceId,
|
|
133
|
+
* vpcEndpointType: "Interface",
|
|
134
|
+
* securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
|
|
135
|
+
* subnetIds: subnetIds,
|
|
136
|
+
* privateDnsEnabled: false,
|
|
137
|
+
* });
|
|
138
|
+
* const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
|
|
139
|
+
* name: "privatelink.snowflakecomputing.com",
|
|
140
|
+
* vpc: [{
|
|
141
|
+
* vpcId: vpcId,
|
|
142
|
+
* }],
|
|
143
|
+
* });
|
|
144
|
+
* const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
|
|
145
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
146
|
+
* name: snowflakePrivateLink.accountUrl,
|
|
147
|
+
* type: "CNAME",
|
|
148
|
+
* ttl: "300",
|
|
149
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
150
|
+
* });
|
|
151
|
+
* const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
|
|
152
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
153
|
+
* name: snowflakePrivateLink.ocspUrl,
|
|
154
|
+
* type: "CNAME",
|
|
155
|
+
* ttl: "300",
|
|
156
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
157
|
+
* });
|
|
158
|
+
* ```
|
|
53
159
|
*/
|
|
54
160
|
export declare function getSystemGetPrivateLinkConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetSystemGetPrivateLinkConfigResult>;
|
|
@@ -7,6 +7,59 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
15
|
+
*
|
|
16
|
+
* const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
|
|
17
|
+
* const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
|
|
18
|
+
* vpcId: vpcId,
|
|
19
|
+
* ingress: [
|
|
20
|
+
* {
|
|
21
|
+
* fromPort: 80,
|
|
22
|
+
* toPort: 80,
|
|
23
|
+
* cidrBlocks: vpcCidr,
|
|
24
|
+
* protocol: "tcp",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* fromPort: 443,
|
|
28
|
+
* toPort: 443,
|
|
29
|
+
* cidrBlocks: vpcCidr,
|
|
30
|
+
* protocol: "tcp",
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
33
|
+
* });
|
|
34
|
+
* const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
|
|
35
|
+
* vpcId: vpcId,
|
|
36
|
+
* serviceName: snowflakePrivateLink.awsVpceId,
|
|
37
|
+
* vpcEndpointType: "Interface",
|
|
38
|
+
* securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
|
|
39
|
+
* subnetIds: subnetIds,
|
|
40
|
+
* privateDnsEnabled: false,
|
|
41
|
+
* });
|
|
42
|
+
* const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
|
|
43
|
+
* name: "privatelink.snowflakecomputing.com",
|
|
44
|
+
* vpc: [{
|
|
45
|
+
* vpcId: vpcId,
|
|
46
|
+
* }],
|
|
47
|
+
* });
|
|
48
|
+
* const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
|
|
49
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
50
|
+
* name: snowflakePrivateLink.accountUrl,
|
|
51
|
+
* type: "CNAME",
|
|
52
|
+
* ttl: "300",
|
|
53
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
54
|
+
* });
|
|
55
|
+
* const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
|
|
56
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
57
|
+
* name: snowflakePrivateLink.ocspUrl,
|
|
58
|
+
* type: "CNAME",
|
|
59
|
+
* ttl: "300",
|
|
60
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
10
63
|
*/
|
|
11
64
|
function getSystemGetPrivateLinkConfig(opts) {
|
|
12
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -15,6 +68,59 @@ function getSystemGetPrivateLinkConfig(opts) {
|
|
|
15
68
|
exports.getSystemGetPrivateLinkConfig = getSystemGetPrivateLinkConfig;
|
|
16
69
|
/**
|
|
17
70
|
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as aws from "@pulumi/aws";
|
|
75
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
76
|
+
*
|
|
77
|
+
* const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
|
|
78
|
+
* const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
|
|
79
|
+
* vpcId: vpcId,
|
|
80
|
+
* ingress: [
|
|
81
|
+
* {
|
|
82
|
+
* fromPort: 80,
|
|
83
|
+
* toPort: 80,
|
|
84
|
+
* cidrBlocks: vpcCidr,
|
|
85
|
+
* protocol: "tcp",
|
|
86
|
+
* },
|
|
87
|
+
* {
|
|
88
|
+
* fromPort: 443,
|
|
89
|
+
* toPort: 443,
|
|
90
|
+
* cidrBlocks: vpcCidr,
|
|
91
|
+
* protocol: "tcp",
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* });
|
|
95
|
+
* const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
|
|
96
|
+
* vpcId: vpcId,
|
|
97
|
+
* serviceName: snowflakePrivateLink.awsVpceId,
|
|
98
|
+
* vpcEndpointType: "Interface",
|
|
99
|
+
* securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
|
|
100
|
+
* subnetIds: subnetIds,
|
|
101
|
+
* privateDnsEnabled: false,
|
|
102
|
+
* });
|
|
103
|
+
* const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
|
|
104
|
+
* name: "privatelink.snowflakecomputing.com",
|
|
105
|
+
* vpc: [{
|
|
106
|
+
* vpcId: vpcId,
|
|
107
|
+
* }],
|
|
108
|
+
* });
|
|
109
|
+
* const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
|
|
110
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
111
|
+
* name: snowflakePrivateLink.accountUrl,
|
|
112
|
+
* type: "CNAME",
|
|
113
|
+
* ttl: "300",
|
|
114
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
115
|
+
* });
|
|
116
|
+
* const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
|
|
117
|
+
* zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
|
|
118
|
+
* name: snowflakePrivateLink.ocspUrl,
|
|
119
|
+
* type: "CNAME",
|
|
120
|
+
* ttl: "300",
|
|
121
|
+
* records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
|
|
122
|
+
* });
|
|
123
|
+
* ```
|
|
18
124
|
*/
|
|
19
125
|
function getSystemGetPrivateLinkConfigOutput(opts) {
|
|
20
126
|
return pulumi.output(getSystemGetPrivateLinkConfig(opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IAErE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE,EAC3G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,mCAAmC,CAAC,IAA2B;IAC3E,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,kFAEC"}
|
package/getTables.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
|
|
|
13
12
|
* schema: "MYSCHEMA",
|
|
14
13
|
* });
|
|
15
14
|
* ```
|
|
16
|
-
* <!--End PulumiCodeChooser -->
|
|
17
15
|
*/
|
|
18
16
|
export declare function getTables(args: GetTablesArgs, opts?: pulumi.InvokeOptions): Promise<GetTablesResult>;
|
|
19
17
|
/**
|
|
20
18
|
* A collection of arguments for invoking getTables.
|
|
21
19
|
*/
|
|
22
20
|
export interface GetTablesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The database from which to return the schemas from.
|
|
23
|
+
*/
|
|
23
24
|
database: string;
|
|
25
|
+
/**
|
|
26
|
+
* The schema from which to return the tables from.
|
|
27
|
+
*/
|
|
24
28
|
schema: string;
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
@@ -47,7 +51,6 @@ export interface GetTablesResult {
|
|
|
47
51
|
/**
|
|
48
52
|
* ## Example Usage
|
|
49
53
|
*
|
|
50
|
-
* <!--Start PulumiCodeChooser -->
|
|
51
54
|
* ```typescript
|
|
52
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
56
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -57,13 +60,18 @@ export interface GetTablesResult {
|
|
|
57
60
|
* schema: "MYSCHEMA",
|
|
58
61
|
* });
|
|
59
62
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
63
|
*/
|
|
62
64
|
export declare function getTablesOutput(args: GetTablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTablesResult>;
|
|
63
65
|
/**
|
|
64
66
|
* A collection of arguments for invoking getTables.
|
|
65
67
|
*/
|
|
66
68
|
export interface GetTablesOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The database from which to return the schemas from.
|
|
71
|
+
*/
|
|
67
72
|
database: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The schema from which to return the tables from.
|
|
75
|
+
*/
|
|
68
76
|
schema: pulumi.Input<string>;
|
|
69
77
|
}
|
package/getTables.js
CHANGED
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
|
|
|
18
17
|
* schema: "MYSCHEMA",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
20
|
*/
|
|
23
21
|
function getTables(args, opts) {
|
|
24
22
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,7 +29,6 @@ exports.getTables = getTables;
|
|
|
31
29
|
/**
|
|
32
30
|
* ## Example Usage
|
|
33
31
|
*
|
|
34
|
-
* <!--Start PulumiCodeChooser -->
|
|
35
32
|
* ```typescript
|
|
36
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
34
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -41,7 +38,6 @@ exports.getTables = getTables;
|
|
|
41
38
|
* schema: "MYSCHEMA",
|
|
42
39
|
* });
|
|
43
40
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
41
|
*/
|
|
46
42
|
function getTablesOutput(args, opts) {
|
|
47
43
|
return pulumi.output(args).apply((a) => getTables(a, opts));
|
package/getTables.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getTasks.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
|
|
|
13
12
|
* schema: "MYSCHEMA",
|
|
14
13
|
* });
|
|
15
14
|
* ```
|
|
16
|
-
* <!--End PulumiCodeChooser -->
|
|
17
15
|
*/
|
|
18
16
|
export declare function getTasks(args: GetTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetTasksResult>;
|
|
19
17
|
/**
|
|
20
18
|
* A collection of arguments for invoking getTasks.
|
|
21
19
|
*/
|
|
22
20
|
export interface GetTasksArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The database from which to return the schemas from.
|
|
23
|
+
*/
|
|
23
24
|
database: string;
|
|
25
|
+
/**
|
|
26
|
+
* The schema from which to return the tasks from.
|
|
27
|
+
*/
|
|
24
28
|
schema: string;
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
@@ -47,7 +51,6 @@ export interface GetTasksResult {
|
|
|
47
51
|
/**
|
|
48
52
|
* ## Example Usage
|
|
49
53
|
*
|
|
50
|
-
* <!--Start PulumiCodeChooser -->
|
|
51
54
|
* ```typescript
|
|
52
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
56
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -57,13 +60,18 @@ export interface GetTasksResult {
|
|
|
57
60
|
* schema: "MYSCHEMA",
|
|
58
61
|
* });
|
|
59
62
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
63
|
*/
|
|
62
64
|
export declare function getTasksOutput(args: GetTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTasksResult>;
|
|
63
65
|
/**
|
|
64
66
|
* A collection of arguments for invoking getTasks.
|
|
65
67
|
*/
|
|
66
68
|
export interface GetTasksOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The database from which to return the schemas from.
|
|
71
|
+
*/
|
|
67
72
|
database: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The schema from which to return the tasks from.
|
|
75
|
+
*/
|
|
68
76
|
schema: pulumi.Input<string>;
|
|
69
77
|
}
|
package/getTasks.js
CHANGED
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
|
|
|
18
17
|
* schema: "MYSCHEMA",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
20
|
*/
|
|
23
21
|
function getTasks(args, opts) {
|
|
24
22
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,7 +29,6 @@ exports.getTasks = getTasks;
|
|
|
31
29
|
/**
|
|
32
30
|
* ## Example Usage
|
|
33
31
|
*
|
|
34
|
-
* <!--Start PulumiCodeChooser -->
|
|
35
32
|
* ```typescript
|
|
36
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
34
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -41,7 +38,6 @@ exports.getTasks = getTasks;
|
|
|
41
38
|
* schema: "MYSCHEMA",
|
|
42
39
|
* });
|
|
43
40
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
41
|
*/
|
|
46
42
|
function getTasksOutput(args, opts) {
|
|
47
43
|
return pulumi.output(args).apply((a) => getTasks(a, opts));
|
package/getTasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getUsers.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -12,7 +11,6 @@ import * as outputs from "./types/output";
|
|
|
12
11
|
* pattern: "user1",
|
|
13
12
|
* });
|
|
14
13
|
* ```
|
|
15
|
-
* <!--End PulumiCodeChooser -->
|
|
16
14
|
*/
|
|
17
15
|
export declare function getUsers(args: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
18
16
|
/**
|
|
@@ -44,7 +42,6 @@ export interface GetUsersResult {
|
|
|
44
42
|
/**
|
|
45
43
|
* ## Example Usage
|
|
46
44
|
*
|
|
47
|
-
* <!--Start PulumiCodeChooser -->
|
|
48
45
|
* ```typescript
|
|
49
46
|
* import * as pulumi from "@pulumi/pulumi";
|
|
50
47
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -53,7 +50,6 @@ export interface GetUsersResult {
|
|
|
53
50
|
* pattern: "user1",
|
|
54
51
|
* });
|
|
55
52
|
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
53
|
*/
|
|
58
54
|
export declare function getUsersOutput(args: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
|
|
59
55
|
/**
|
package/getUsers.js
CHANGED
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -17,7 +16,6 @@ const utilities = require("./utilities");
|
|
|
17
16
|
* pattern: "user1",
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
20
|
-
* <!--End PulumiCodeChooser -->
|
|
21
19
|
*/
|
|
22
20
|
function getUsers(args, opts) {
|
|
23
21
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -29,7 +27,6 @@ exports.getUsers = getUsers;
|
|
|
29
27
|
/**
|
|
30
28
|
* ## Example Usage
|
|
31
29
|
*
|
|
32
|
-
* <!--Start PulumiCodeChooser -->
|
|
33
30
|
* ```typescript
|
|
34
31
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
32
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -38,7 +35,6 @@ exports.getUsers = getUsers;
|
|
|
38
35
|
* pattern: "user1",
|
|
39
36
|
* });
|
|
40
37
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
38
|
*/
|
|
43
39
|
function getUsersOutput(args, opts) {
|
|
44
40
|
return pulumi.output(args).apply((a) => getUsers(a, opts));
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getViews.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
|
|
|
13
12
|
* schema: "MYSCHEMA",
|
|
14
13
|
* });
|
|
15
14
|
* ```
|
|
16
|
-
* <!--End PulumiCodeChooser -->
|
|
17
15
|
*/
|
|
18
16
|
export declare function getViews(args: GetViewsArgs, opts?: pulumi.InvokeOptions): Promise<GetViewsResult>;
|
|
19
17
|
/**
|
|
20
18
|
* A collection of arguments for invoking getViews.
|
|
21
19
|
*/
|
|
22
20
|
export interface GetViewsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The database from which to return the schemas from.
|
|
23
|
+
*/
|
|
23
24
|
database: string;
|
|
25
|
+
/**
|
|
26
|
+
* The schema from which to return the views from.
|
|
27
|
+
*/
|
|
24
28
|
schema: string;
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
@@ -47,7 +51,6 @@ export interface GetViewsResult {
|
|
|
47
51
|
/**
|
|
48
52
|
* ## Example Usage
|
|
49
53
|
*
|
|
50
|
-
* <!--Start PulumiCodeChooser -->
|
|
51
54
|
* ```typescript
|
|
52
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
56
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -57,13 +60,18 @@ export interface GetViewsResult {
|
|
|
57
60
|
* schema: "MYSCHEMA",
|
|
58
61
|
* });
|
|
59
62
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
63
|
*/
|
|
62
64
|
export declare function getViewsOutput(args: GetViewsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetViewsResult>;
|
|
63
65
|
/**
|
|
64
66
|
* A collection of arguments for invoking getViews.
|
|
65
67
|
*/
|
|
66
68
|
export interface GetViewsOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The database from which to return the schemas from.
|
|
71
|
+
*/
|
|
67
72
|
database: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The schema from which to return the views from.
|
|
75
|
+
*/
|
|
68
76
|
schema: pulumi.Input<string>;
|
|
69
77
|
}
|
package/getViews.js
CHANGED
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
|
|
|
18
17
|
* schema: "MYSCHEMA",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
20
|
*/
|
|
23
21
|
function getViews(args, opts) {
|
|
24
22
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,7 +29,6 @@ exports.getViews = getViews;
|
|
|
31
29
|
/**
|
|
32
30
|
* ## Example Usage
|
|
33
31
|
*
|
|
34
|
-
* <!--Start PulumiCodeChooser -->
|
|
35
32
|
* ```typescript
|
|
36
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
34
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -41,7 +38,6 @@ exports.getViews = getViews;
|
|
|
41
38
|
* schema: "MYSCHEMA",
|
|
42
39
|
* });
|
|
43
40
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
41
|
*/
|
|
46
42
|
function getViewsOutput(args, opts) {
|
|
47
43
|
return pulumi.output(args).apply((a) => getViews(a, opts));
|
package/getViews.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getWarehouses.d.ts
CHANGED
|
@@ -3,14 +3,12 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as snowflake from "@pulumi/snowflake";
|
|
10
9
|
*
|
|
11
10
|
* const current = snowflake.getWarehouses({});
|
|
12
11
|
* ```
|
|
13
|
-
* <!--End PulumiCodeChooser -->
|
|
14
12
|
*/
|
|
15
13
|
export declare function getWarehouses(opts?: pulumi.InvokeOptions): Promise<GetWarehousesResult>;
|
|
16
14
|
/**
|
|
@@ -29,13 +27,11 @@ export interface GetWarehousesResult {
|
|
|
29
27
|
/**
|
|
30
28
|
* ## Example Usage
|
|
31
29
|
*
|
|
32
|
-
* <!--Start PulumiCodeChooser -->
|
|
33
30
|
* ```typescript
|
|
34
31
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
32
|
* import * as snowflake from "@pulumi/snowflake";
|
|
36
33
|
*
|
|
37
34
|
* const current = snowflake.getWarehouses({});
|
|
38
35
|
* ```
|
|
39
|
-
* <!--End PulumiCodeChooser -->
|
|
40
36
|
*/
|
|
41
37
|
export declare function getWarehousesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetWarehousesResult>;
|
package/getWarehouses.js
CHANGED
|
@@ -8,14 +8,12 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
15
14
|
*
|
|
16
15
|
* const current = snowflake.getWarehouses({});
|
|
17
16
|
* ```
|
|
18
|
-
* <!--End PulumiCodeChooser -->
|
|
19
17
|
*/
|
|
20
18
|
function getWarehouses(opts) {
|
|
21
19
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -25,14 +23,12 @@ exports.getWarehouses = getWarehouses;
|
|
|
25
23
|
/**
|
|
26
24
|
* ## Example Usage
|
|
27
25
|
*
|
|
28
|
-
* <!--Start PulumiCodeChooser -->
|
|
29
26
|
* ```typescript
|
|
30
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
28
|
* import * as snowflake from "@pulumi/snowflake";
|
|
32
29
|
*
|
|
33
30
|
* const current = snowflake.getWarehouses({});
|
|
34
31
|
* ```
|
|
35
|
-
* <!--End PulumiCodeChooser -->
|
|
36
32
|
*/
|
|
37
33
|
function getWarehousesOutput(opts) {
|
|
38
34
|
return pulumi.output(getWarehouses(opts));
|
package/getWarehouses.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;GASG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
|