@pulumiverse/vercel 4.6.1 → 5.3.1
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/accessGroup.d.ts +3 -2
- package/accessGroup.js +3 -2
- package/accessGroup.js.map +1 -1
- package/accessGroupProject.d.ts +4 -3
- package/accessGroupProject.js +4 -3
- package/accessGroupProject.js.map +1 -1
- package/attackChallengeMode.d.ts +4 -4
- package/attackChallengeMode.js +4 -4
- package/blobObject.d.ts +177 -0
- package/blobObject.js +89 -0
- package/blobObject.js.map +1 -0
- package/blobProjectConnection.d.ts +144 -0
- package/blobProjectConnection.js +105 -0
- package/blobProjectConnection.js.map +1 -0
- package/blobStore.d.ts +159 -0
- package/blobStore.js +100 -0
- package/blobStore.js.map +1 -0
- package/bulkRedirects.d.ts +135 -0
- package/bulkRedirects.js +114 -0
- package/bulkRedirects.js.map +1 -0
- package/customEnvironment.d.ts +7 -9
- package/customEnvironment.js +7 -9
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +36 -0
- package/deployment.js +27 -0
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +8 -12
- package/dnsRecord.js +8 -12
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +7 -9
- package/edgeConfig.js +7 -9
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +6 -10
- package/edgeConfigItem.js +6 -10
- package/edgeConfigItem.js.map +1 -1
- package/edgeConfigSchema.d.ts +6 -8
- package/edgeConfigSchema.js +6 -8
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +7 -11
- package/edgeConfigToken.js +7 -11
- package/edgeConfigToken.js.map +1 -1
- package/featureFlagConfig.d.ts +167 -0
- package/featureFlagConfig.js +131 -0
- package/featureFlagConfig.js.map +1 -0
- package/featureFlagDefinition.d.ts +160 -0
- package/featureFlagDefinition.js +111 -0
- package/featureFlagDefinition.js.map +1 -0
- package/featureFlagSdkKey.d.ts +160 -0
- package/featureFlagSdkKey.js +120 -0
- package/featureFlagSdkKey.js.map +1 -0
- package/featureFlagSegment.d.ts +191 -0
- package/featureFlagSegment.js +126 -0
- package/featureFlagSegment.js.map +1 -0
- package/firewallBypass.d.ts +3 -2
- package/firewallBypass.js +3 -2
- package/firewallBypass.js.map +1 -1
- package/firewallConfig.d.ts +2 -0
- package/firewallConfig.js +2 -0
- package/firewallConfig.js.map +1 -1
- package/getBlobObject.d.ts +100 -0
- package/getBlobObject.js +32 -0
- package/getBlobObject.js.map +1 -0
- package/getBlobProjectConnections.d.ts +91 -0
- package/getBlobProjectConnections.js +64 -0
- package/getBlobProjectConnections.js.map +1 -0
- package/getBlobStore.d.ts +104 -0
- package/getBlobStore.js +54 -0
- package/getBlobStore.js.map +1 -0
- package/getBlobStoreSecrets.d.ts +80 -0
- package/getBlobStoreSecrets.js +54 -0
- package/getBlobStoreSecrets.js.map +1 -0
- package/getBlobStores.d.ts +63 -0
- package/getBlobStores.js +48 -0
- package/getBlobStores.js.map +1 -0
- package/getBulkRedirects.d.ts +97 -0
- package/getBulkRedirects.js +60 -0
- package/getBulkRedirects.js.map +1 -0
- package/getFeatureFlag.d.ts +121 -0
- package/getFeatureFlag.js +60 -0
- package/getFeatureFlag.js.map +1 -0
- package/getFeatureFlagSdkKey.d.ts +100 -0
- package/getFeatureFlagSdkKey.js +60 -0
- package/getFeatureFlagSdkKey.js.map +1 -0
- package/getFeatureFlagSegment.d.ts +113 -0
- package/getFeatureFlagSegment.js +60 -0
- package/getFeatureFlagSegment.js.map +1 -0
- package/getFile.d.ts +9 -0
- package/getFile.js.map +1 -1
- package/getPrebuiltProject.d.ts +51 -0
- package/getPrebuiltProject.js +42 -0
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +14 -4
- package/getProject.js.map +1 -1
- package/getProjectDirectory.d.ts +47 -0
- package/getProjectDirectory.js +38 -0
- package/getProjectDirectory.js.map +1 -1
- package/getProjectRoutes.d.ts +89 -0
- package/getProjectRoutes.js +62 -0
- package/getProjectRoutes.js.map +1 -0
- package/index.d.ts +63 -0
- package/index.js +88 -2
- package/index.js.map +1 -1
- package/logDrain.d.ts +6 -8
- package/logDrain.js +6 -8
- package/logDrain.js.map +1 -1
- package/microfrontendGroup.d.ts +4 -5
- package/microfrontendGroup.js +4 -5
- package/microfrontendGroup.js.map +1 -1
- package/microfrontendGroupMembership.d.ts +4 -7
- package/microfrontendGroupMembership.js +4 -7
- package/microfrontendGroupMembership.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +75 -38
- package/project.js +53 -14
- package/project.js.map +1 -1
- package/projectCrons.d.ts +6 -7
- package/projectCrons.js +6 -7
- package/projectCrons.js.map +1 -1
- package/projectDeploymentRetention.d.ts +12 -4
- package/projectDeploymentRetention.js +12 -4
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +6 -8
- package/projectDomain.js +6 -8
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +24 -20
- package/projectEnvironmentVariable.js +23 -16
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +18 -5
- package/projectEnvironmentVariables.js +18 -5
- package/projectEnvironmentVariables.js.map +1 -1
- package/projectMembers.d.ts +6 -0
- package/projectMembers.js +6 -0
- package/projectMembers.js.map +1 -1
- package/projectProtectionBypass.d.ts +171 -0
- package/projectProtectionBypass.js +119 -0
- package/projectProtectionBypass.js.map +1 -0
- package/projectRoute.d.ts +219 -0
- package/projectRoute.js +148 -0
- package/projectRoute.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +28 -9
- package/sharedEnvironmentVariable.js +27 -5
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +3 -2
- package/teamConfig.js +3 -2
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +3 -1
- package/teamMember.js +3 -1
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +324 -4
- package/types/output.d.ts +705 -2
- package/userToken.d.ts +186 -0
- package/userToken.js +115 -0
- package/userToken.js.map +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides the project connections for a Vercel Blob store.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
11
|
+
*
|
|
12
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
13
|
+
* const exampleProject = new vercel.Project("example", {name: "example-blob-project"});
|
|
14
|
+
* const exampleBlobProjectConnection = new vercel.BlobProjectConnection("example", {
|
|
15
|
+
* blobStoreId: exampleBlobStore.id,
|
|
16
|
+
* projectId: exampleProject.id,
|
|
17
|
+
* });
|
|
18
|
+
* const example = vercel.getBlobProjectConnectionsOutput({
|
|
19
|
+
* storeId: exampleBlobStore.id,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getBlobProjectConnections(args: GetBlobProjectConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetBlobProjectConnectionsResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getBlobProjectConnections.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetBlobProjectConnectionsArgs {
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the Blob store whose project connections should be read.
|
|
30
|
+
*/
|
|
31
|
+
storeId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
34
|
+
*/
|
|
35
|
+
teamId?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getBlobProjectConnections.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetBlobProjectConnectionsResult {
|
|
41
|
+
/**
|
|
42
|
+
* The active project connections for the Blob store.
|
|
43
|
+
*/
|
|
44
|
+
readonly connections: outputs.GetBlobProjectConnectionsConnection[];
|
|
45
|
+
/**
|
|
46
|
+
* The provider-assigned unique ID for this managed resource.
|
|
47
|
+
*/
|
|
48
|
+
readonly id: string;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the Blob store whose project connections should be read.
|
|
51
|
+
*/
|
|
52
|
+
readonly storeId: string;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
55
|
+
*/
|
|
56
|
+
readonly teamId: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Provides the project connections for a Vercel Blob store.
|
|
60
|
+
*
|
|
61
|
+
* ## Example Usage
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
66
|
+
*
|
|
67
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
68
|
+
* const exampleProject = new vercel.Project("example", {name: "example-blob-project"});
|
|
69
|
+
* const exampleBlobProjectConnection = new vercel.BlobProjectConnection("example", {
|
|
70
|
+
* blobStoreId: exampleBlobStore.id,
|
|
71
|
+
* projectId: exampleProject.id,
|
|
72
|
+
* });
|
|
73
|
+
* const example = vercel.getBlobProjectConnectionsOutput({
|
|
74
|
+
* storeId: exampleBlobStore.id,
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function getBlobProjectConnectionsOutput(args: GetBlobProjectConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBlobProjectConnectionsResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking getBlobProjectConnections.
|
|
81
|
+
*/
|
|
82
|
+
export interface GetBlobProjectConnectionsOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Blob store whose project connections should be read.
|
|
85
|
+
*/
|
|
86
|
+
storeId: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
89
|
+
*/
|
|
90
|
+
teamId?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getBlobProjectConnectionsOutput = exports.getBlobProjectConnections = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides the project connections for a Vercel Blob store.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
16
|
+
*
|
|
17
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
18
|
+
* const exampleProject = new vercel.Project("example", {name: "example-blob-project"});
|
|
19
|
+
* const exampleBlobProjectConnection = new vercel.BlobProjectConnection("example", {
|
|
20
|
+
* blobStoreId: exampleBlobStore.id,
|
|
21
|
+
* projectId: exampleProject.id,
|
|
22
|
+
* });
|
|
23
|
+
* const example = vercel.getBlobProjectConnectionsOutput({
|
|
24
|
+
* storeId: exampleBlobStore.id,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
function getBlobProjectConnections(args, opts) {
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("vercel:index/getBlobProjectConnections:getBlobProjectConnections", {
|
|
31
|
+
"storeId": args.storeId,
|
|
32
|
+
"teamId": args.teamId,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getBlobProjectConnections = getBlobProjectConnections;
|
|
36
|
+
/**
|
|
37
|
+
* Provides the project connections for a Vercel Blob store.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
44
|
+
*
|
|
45
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
46
|
+
* const exampleProject = new vercel.Project("example", {name: "example-blob-project"});
|
|
47
|
+
* const exampleBlobProjectConnection = new vercel.BlobProjectConnection("example", {
|
|
48
|
+
* blobStoreId: exampleBlobStore.id,
|
|
49
|
+
* projectId: exampleProject.id,
|
|
50
|
+
* });
|
|
51
|
+
* const example = vercel.getBlobProjectConnectionsOutput({
|
|
52
|
+
* storeId: exampleBlobStore.id,
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getBlobProjectConnectionsOutput(args, opts) {
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
58
|
+
return pulumi.runtime.invokeOutput("vercel:index/getBlobProjectConnections:getBlobProjectConnections", {
|
|
59
|
+
"storeId": args.storeId,
|
|
60
|
+
"teamId": args.teamId,
|
|
61
|
+
}, opts);
|
|
62
|
+
}
|
|
63
|
+
exports.getBlobProjectConnectionsOutput = getBlobProjectConnectionsOutput;
|
|
64
|
+
//# sourceMappingURL=getBlobProjectConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlobProjectConnections.js","sourceRoot":"","sources":["../getBlobProjectConnections.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAqCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about an existing Vercel Blob store.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
10
|
+
*
|
|
11
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
12
|
+
* const example = vercel.getBlobStoreOutput({
|
|
13
|
+
* id: exampleBlobStore.id,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getBlobStore(args: GetBlobStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetBlobStoreResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getBlobStore.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetBlobStoreArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the Blob store.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
28
|
+
*/
|
|
29
|
+
teamId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getBlobStore.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetBlobStoreResult {
|
|
35
|
+
/**
|
|
36
|
+
* Whether blobs created in this store are `public` or `private` by default.
|
|
37
|
+
*/
|
|
38
|
+
readonly access: string;
|
|
39
|
+
/**
|
|
40
|
+
* The Unix timestamp, in milliseconds, when the Blob store was created.
|
|
41
|
+
*/
|
|
42
|
+
readonly createdAt: number;
|
|
43
|
+
/**
|
|
44
|
+
* The number of files currently stored in the Blob store.
|
|
45
|
+
*/
|
|
46
|
+
readonly fileCount: number;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the Blob store.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Blob store.
|
|
53
|
+
*/
|
|
54
|
+
readonly name: string;
|
|
55
|
+
/**
|
|
56
|
+
* The region in which the Blob store exists.
|
|
57
|
+
*/
|
|
58
|
+
readonly region: string;
|
|
59
|
+
/**
|
|
60
|
+
* The size of the Blob store in bytes.
|
|
61
|
+
*/
|
|
62
|
+
readonly size: number;
|
|
63
|
+
/**
|
|
64
|
+
* The current status of the Blob store.
|
|
65
|
+
*/
|
|
66
|
+
readonly status: string;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
69
|
+
*/
|
|
70
|
+
readonly teamId: string;
|
|
71
|
+
/**
|
|
72
|
+
* The Unix timestamp, in milliseconds, when the Blob store was last updated.
|
|
73
|
+
*/
|
|
74
|
+
readonly updatedAt: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Provides information about an existing Vercel Blob store.
|
|
78
|
+
*
|
|
79
|
+
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
84
|
+
*
|
|
85
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
86
|
+
* const example = vercel.getBlobStoreOutput({
|
|
87
|
+
* id: exampleBlobStore.id,
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
export declare function getBlobStoreOutput(args: GetBlobStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBlobStoreResult>;
|
|
92
|
+
/**
|
|
93
|
+
* A collection of arguments for invoking getBlobStore.
|
|
94
|
+
*/
|
|
95
|
+
export interface GetBlobStoreOutputArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the Blob store.
|
|
98
|
+
*/
|
|
99
|
+
id: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
102
|
+
*/
|
|
103
|
+
teamId?: pulumi.Input<string>;
|
|
104
|
+
}
|
package/getBlobStore.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getBlobStoreOutput = exports.getBlobStore = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about an existing Vercel Blob store.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
16
|
+
*
|
|
17
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
18
|
+
* const example = vercel.getBlobStoreOutput({
|
|
19
|
+
* id: exampleBlobStore.id,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getBlobStore(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("vercel:index/getBlobStore:getBlobStore", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"teamId": args.teamId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getBlobStore = getBlobStore;
|
|
31
|
+
/**
|
|
32
|
+
* Provides information about an existing Vercel Blob store.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
39
|
+
*
|
|
40
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
41
|
+
* const example = vercel.getBlobStoreOutput({
|
|
42
|
+
* id: exampleBlobStore.id,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getBlobStoreOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vercel:index/getBlobStore:getBlobStore", {
|
|
49
|
+
"id": args.id,
|
|
50
|
+
"teamId": args.teamId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getBlobStoreOutput = getBlobStoreOutput;
|
|
54
|
+
//# sourceMappingURL=getBlobStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlobStore.js","sourceRoot":"","sources":["../getBlobStore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AA6DD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides the default read/write token for a Vercel Blob store.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
10
|
+
*
|
|
11
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
12
|
+
* const example = vercel.getBlobStoreSecretsOutput({
|
|
13
|
+
* storeId: exampleBlobStore.id,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getBlobStoreSecrets(args: GetBlobStoreSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetBlobStoreSecretsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getBlobStoreSecrets.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetBlobStoreSecretsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the Blob store whose secrets should be read.
|
|
24
|
+
*/
|
|
25
|
+
storeId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
28
|
+
*/
|
|
29
|
+
teamId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getBlobStoreSecrets.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetBlobStoreSecretsResult {
|
|
35
|
+
/**
|
|
36
|
+
* The provider-assigned unique ID for this managed resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The default Blob read/write token for the store.
|
|
41
|
+
*/
|
|
42
|
+
readonly readWriteToken: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the Blob store whose secrets should be read.
|
|
45
|
+
*/
|
|
46
|
+
readonly storeId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
49
|
+
*/
|
|
50
|
+
readonly teamId: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Provides the default read/write token for a Vercel Blob store.
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
60
|
+
*
|
|
61
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
62
|
+
* const example = vercel.getBlobStoreSecretsOutput({
|
|
63
|
+
* storeId: exampleBlobStore.id,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function getBlobStoreSecretsOutput(args: GetBlobStoreSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBlobStoreSecretsResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getBlobStoreSecrets.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetBlobStoreSecretsOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the Blob store whose secrets should be read.
|
|
74
|
+
*/
|
|
75
|
+
storeId: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
|
|
78
|
+
*/
|
|
79
|
+
teamId?: pulumi.Input<string>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getBlobStoreSecretsOutput = exports.getBlobStoreSecrets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides the default read/write token for a Vercel Blob store.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
16
|
+
*
|
|
17
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
18
|
+
* const example = vercel.getBlobStoreSecretsOutput({
|
|
19
|
+
* storeId: exampleBlobStore.id,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getBlobStoreSecrets(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("vercel:index/getBlobStoreSecrets:getBlobStoreSecrets", {
|
|
26
|
+
"storeId": args.storeId,
|
|
27
|
+
"teamId": args.teamId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getBlobStoreSecrets = getBlobStoreSecrets;
|
|
31
|
+
/**
|
|
32
|
+
* Provides the default read/write token for a Vercel Blob store.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
39
|
+
*
|
|
40
|
+
* const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
|
|
41
|
+
* const example = vercel.getBlobStoreSecretsOutput({
|
|
42
|
+
* storeId: exampleBlobStore.id,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getBlobStoreSecretsOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vercel:index/getBlobStoreSecrets:getBlobStoreSecrets", {
|
|
49
|
+
"storeId": args.storeId,
|
|
50
|
+
"teamId": args.teamId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getBlobStoreSecretsOutput = getBlobStoreSecretsOutput;
|
|
54
|
+
//# sourceMappingURL=getBlobStoreSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlobStoreSecrets.js","sourceRoot":"","sources":["../getBlobStoreSecrets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAqCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides the Blob stores available to the configured team or personal account.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
11
|
+
*
|
|
12
|
+
* const example = vercel.getBlobStores({});
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getBlobStores(args?: GetBlobStoresArgs, opts?: pulumi.InvokeOptions): Promise<GetBlobStoresResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getBlobStores.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetBlobStoresArgs {
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the team whose Blob stores should be listed. Required when configuring a team resource if a default team has not been set in the provider.
|
|
22
|
+
*/
|
|
23
|
+
teamId?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A collection of values returned by getBlobStores.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetBlobStoresResult {
|
|
29
|
+
/**
|
|
30
|
+
* The provider-assigned unique ID for this managed resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The Blob stores available to the configured team or personal account.
|
|
35
|
+
*/
|
|
36
|
+
readonly stores: outputs.GetBlobStoresStore[];
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the team whose Blob stores should be listed. Required when configuring a team resource if a default team has not been set in the provider.
|
|
39
|
+
*/
|
|
40
|
+
readonly teamId: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Provides the Blob stores available to the configured team or personal account.
|
|
44
|
+
*
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
50
|
+
*
|
|
51
|
+
* const example = vercel.getBlobStores({});
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare function getBlobStoresOutput(args?: GetBlobStoresOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBlobStoresResult>;
|
|
55
|
+
/**
|
|
56
|
+
* A collection of arguments for invoking getBlobStores.
|
|
57
|
+
*/
|
|
58
|
+
export interface GetBlobStoresOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the team whose Blob stores should be listed. Required when configuring a team resource if a default team has not been set in the provider.
|
|
61
|
+
*/
|
|
62
|
+
teamId?: pulumi.Input<string>;
|
|
63
|
+
}
|
package/getBlobStores.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getBlobStoresOutput = exports.getBlobStores = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides the Blob stores available to the configured team or personal account.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
16
|
+
*
|
|
17
|
+
* const example = vercel.getBlobStores({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getBlobStores(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("vercel:index/getBlobStores:getBlobStores", {
|
|
24
|
+
"teamId": args.teamId,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getBlobStores = getBlobStores;
|
|
28
|
+
/**
|
|
29
|
+
* Provides the Blob stores available to the configured team or personal account.
|
|
30
|
+
*
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
36
|
+
*
|
|
37
|
+
* const example = vercel.getBlobStores({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getBlobStoresOutput(args, opts) {
|
|
41
|
+
args = args || {};
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("vercel:index/getBlobStores:getBlobStores", {
|
|
44
|
+
"teamId": args.teamId,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getBlobStoresOutput = getBlobStoresOutput;
|
|
48
|
+
//# sourceMappingURL=getBlobStores.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlobStores.js","sourceRoot":"","sources":["../getBlobStores.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Bulk Redirects data source.
|
|
5
|
+
*
|
|
6
|
+
* If versionId is omitted, the data source reads the live production bulk redirects for the project.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
13
|
+
*
|
|
14
|
+
* const exampleProject = new vercel.Project("example", {name: "example-project"});
|
|
15
|
+
* const example = vercel.getBulkRedirectsOutput({
|
|
16
|
+
* projectId: exampleProject.id,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getBulkRedirects(args: GetBulkRedirectsArgs, opts?: pulumi.InvokeOptions): Promise<GetBulkRedirectsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getBulkRedirects.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetBulkRedirectsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the Vercel project.
|
|
27
|
+
*/
|
|
28
|
+
projectId: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the Vercel team.
|
|
31
|
+
*/
|
|
32
|
+
teamId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The redirects version to read. If omitted, the live production version is used.
|
|
35
|
+
*/
|
|
36
|
+
versionId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by getBulkRedirects.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetBulkRedirectsResult {
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the Vercel project.
|
|
48
|
+
*/
|
|
49
|
+
readonly projectId: string;
|
|
50
|
+
/**
|
|
51
|
+
* The redirects for the selected version.
|
|
52
|
+
*/
|
|
53
|
+
readonly redirects: outputs.GetBulkRedirectsRedirect[];
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the Vercel team.
|
|
56
|
+
*/
|
|
57
|
+
readonly teamId: string;
|
|
58
|
+
/**
|
|
59
|
+
* The redirects version to read. If omitted, the live production version is used.
|
|
60
|
+
*/
|
|
61
|
+
readonly versionId: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Provides a Bulk Redirects data source.
|
|
65
|
+
*
|
|
66
|
+
* If versionId is omitted, the data source reads the live production bulk redirects for the project.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
73
|
+
*
|
|
74
|
+
* const exampleProject = new vercel.Project("example", {name: "example-project"});
|
|
75
|
+
* const example = vercel.getBulkRedirectsOutput({
|
|
76
|
+
* projectId: exampleProject.id,
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare function getBulkRedirectsOutput(args: GetBulkRedirectsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBulkRedirectsResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getBulkRedirects.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetBulkRedirectsOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the Vercel project.
|
|
87
|
+
*/
|
|
88
|
+
projectId: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the Vercel team.
|
|
91
|
+
*/
|
|
92
|
+
teamId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The redirects version to read. If omitted, the live production version is used.
|
|
95
|
+
*/
|
|
96
|
+
versionId?: pulumi.Input<string>;
|
|
97
|
+
}
|