@volcengine/pulumi-volcenginecc 0.0.31 → 0.0.32
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/cen/getInterRegionBandwidth.d.ts +72 -0
- package/cen/getInterRegionBandwidth.js +28 -0
- package/cen/getInterRegionBandwidth.js.map +1 -0
- package/cen/getInterRegionBandwidths.d.ts +22 -0
- package/cen/getInterRegionBandwidths.js +24 -0
- package/cen/getInterRegionBandwidths.js.map +1 -0
- package/cen/getRouteEntries.d.ts +22 -0
- package/cen/getRouteEntries.js +24 -0
- package/cen/getRouteEntries.js.map +1 -0
- package/cen/getRouteEntry.d.ts +72 -0
- package/cen/getRouteEntry.js +28 -0
- package/cen/getRouteEntry.js.map +1 -0
- package/cen/getServiceRouteEntries.d.ts +22 -0
- package/cen/getServiceRouteEntries.js +24 -0
- package/cen/getServiceRouteEntries.js.map +1 -0
- package/cen/getServiceRouteEntry.d.ts +73 -0
- package/cen/getServiceRouteEntry.js +28 -0
- package/cen/getServiceRouteEntry.js.map +1 -0
- package/cen/index.d.ts +27 -0
- package/cen/index.js +34 -1
- package/cen/index.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +152 -0
- package/cen/interRegionBandwidth.js +101 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +104 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +138 -0
- package/cen/serviceRouteEntry.js +83 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/getListener.d.ts +4 -0
- package/clb/getListener.js.map +1 -1
- package/clb/listener.d.ts +3 -0
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/mongodb/getSslState.d.ts +56 -0
- package/mongodb/getSslState.js +28 -0
- package/mongodb/getSslState.js.map +1 -0
- package/mongodb/getSslStates.d.ts +22 -0
- package/mongodb/getSslStates.js +24 -0
- package/mongodb/getSslStates.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/mongodb/sslState.d.ts +105 -0
- package/mongodb/sslState.js +81 -0
- package/mongodb/sslState.js.map +1 -0
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +15 -3
- package/privatelink/endpointService.js +2 -0
- package/privatelink/endpointService.js.map +1 -1
- package/privatelink/getEndpointService.d.ts +5 -1
- package/privatelink/getEndpointService.js.map +1 -1
- package/privatelink/getVpcEndpointConnection.d.ts +89 -0
- package/privatelink/getVpcEndpointConnection.js +28 -0
- package/privatelink/getVpcEndpointConnection.js.map +1 -0
- package/privatelink/getVpcEndpointConnections.d.ts +22 -0
- package/privatelink/getVpcEndpointConnections.js +24 -0
- package/privatelink/getVpcEndpointConnections.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +156 -0
- package/privatelink/vpcEndpointConnection.js +88 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/rabbitmq/allowList.d.ts +151 -0
- package/rabbitmq/allowList.js +100 -0
- package/rabbitmq/allowList.js.map +1 -0
- package/rabbitmq/getAllowList.d.ts +73 -0
- package/rabbitmq/getAllowList.js +28 -0
- package/rabbitmq/getAllowList.js.map +1 -0
- package/rabbitmq/getAllowLists.d.ts +22 -0
- package/rabbitmq/getAllowLists.js +24 -0
- package/rabbitmq/getAllowLists.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +12 -1
- package/rabbitmq/index.js.map +1 -1
- package/redis/allowList.d.ts +148 -0
- package/redis/allowList.js +78 -0
- package/redis/allowList.js.map +1 -0
- package/redis/getAllowList.d.ts +81 -0
- package/redis/getAllowList.js +28 -0
- package/redis/getAllowList.js.map +1 -0
- package/redis/getAllowLists.d.ts +22 -0
- package/redis/getAllowLists.js +24 -0
- package/redis/getAllowLists.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/storageebs/getSnapshotGroup.d.ts +81 -0
- package/storageebs/getSnapshotGroup.js +28 -0
- package/storageebs/getSnapshotGroup.js.map +1 -0
- package/storageebs/getSnapshotGroups.d.ts +22 -0
- package/storageebs/getSnapshotGroups.js +24 -0
- package/storageebs/getSnapshotGroups.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotGroup.d.ts +168 -0
- package/storageebs/snapshotGroup.js +105 -0
- package/storageebs/snapshotGroup.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +113 -0
- package/tls/alarmNotifyGroup.js +75 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroup.d.ts +69 -0
- package/tls/getAlarmNotifyGroup.js +28 -0
- package/tls/getAlarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroups.d.ts +22 -0
- package/tls/getAlarmNotifyGroups.js +24 -0
- package/tls/getAlarmNotifyGroups.js.map +1 -0
- package/tls/getRule.d.ts +109 -0
- package/tls/getRule.js +28 -0
- package/tls/getRule.js.map +1 -0
- package/tls/getRules.d.ts +22 -0
- package/tls/getRules.js +24 -0
- package/tls/getRules.js.map +1 -0
- package/tls/getShipper.d.ts +101 -0
- package/tls/getShipper.js +28 -0
- package/tls/getShipper.js.map +1 -0
- package/tls/getShippers.d.ts +22 -0
- package/tls/getShippers.js +24 -0
- package/tls/getShippers.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +34 -1
- package/tls/index.js.map +1 -1
- package/tls/rule.d.ts +221 -0
- package/tls/rule.js +98 -0
- package/tls/rule.js.map +1 -0
- package/tls/shipper.d.ts +211 -0
- package/tls/shipper.js +97 -0
- package/tls/shipper.js.map +1 -0
- package/tos/bucketEncryption.d.ts +94 -0
- package/tos/bucketEncryption.js +78 -0
- package/tos/bucketEncryption.js.map +1 -0
- package/tos/bucketInventory.d.ts +155 -0
- package/tos/bucketInventory.js +95 -0
- package/tos/bucketInventory.js.map +1 -0
- package/tos/getBucketEncryption.d.ts +48 -0
- package/tos/getBucketEncryption.js +28 -0
- package/tos/getBucketEncryption.js.map +1 -0
- package/tos/getBucketEncryptions.d.ts +22 -0
- package/tos/getBucketEncryptions.js +24 -0
- package/tos/getBucketEncryptions.js.map +1 -0
- package/tos/getBucketInventories.d.ts +22 -0
- package/tos/getBucketInventories.js +24 -0
- package/tos/getBucketInventories.js.map +1 -0
- package/tos/getBucketInventory.d.ts +73 -0
- package/tos/getBucketInventory.js +28 -0
- package/tos/getBucketInventory.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +934 -31
- package/types/output.d.ts +2309 -360
- package/vefaas/getRelease.d.ts +120 -0
- package/vefaas/getRelease.js +28 -0
- package/vefaas/getRelease.js.map +1 -0
- package/vefaas/getReleases.d.ts +22 -0
- package/vefaas/getReleases.js +24 -0
- package/vefaas/getReleases.js.map +1 -0
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/release.d.ts +253 -0
- package/vefaas/release.js +120 -0
- package/vefaas/release.js.map +1 -0
- package/vepfs/getMountService.d.ts +93 -0
- package/vepfs/getMountService.js +28 -0
- package/vepfs/getMountService.js.map +1 -0
- package/vepfs/getMountServices.d.ts +22 -0
- package/vepfs/getMountServices.js +24 -0
- package/vepfs/getMountServices.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vepfs/mountService.d.ts +172 -0
- package/vepfs/mountService.js +99 -0
- package/vepfs/mountService.js.map +1 -0
- package/vke/getKubeconfig.d.ts +72 -0
- package/vke/getKubeconfig.js +28 -0
- package/vke/getKubeconfig.js.map +1 -0
- package/vke/getKubeconfigs.d.ts +22 -0
- package/vke/getKubeconfigs.js +24 -0
- package/vke/getKubeconfigs.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/kubeconfig.d.ts +142 -0
- package/vke/kubeconfig.js +93 -0
- package/vke/kubeconfig.js.map +1 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::VEFAAS::Release
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRelease(args: GetReleaseArgs, opts?: pulumi.InvokeOptions): Promise<GetReleaseResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getRelease.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetReleaseArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getRelease.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetReleaseResult {
|
|
19
|
+
/**
|
|
20
|
+
* Creation time
|
|
21
|
+
*/
|
|
22
|
+
readonly creationTime: string;
|
|
23
|
+
/**
|
|
24
|
+
* Current release traffic percentage. Valid values: 1–100, indicates the proportion of traffic assigned to the currently releasing version. Returned only when status is inprogress or failed
|
|
25
|
+
*/
|
|
26
|
+
readonly currentTrafficWeight: number;
|
|
27
|
+
/**
|
|
28
|
+
* Description for this release
|
|
29
|
+
*/
|
|
30
|
+
readonly description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Error codes for release failures: function*start*failed: function startup failed function*start*timeout: function startup timed out function*health*check*failed: function health check failed system*internal_error: internal system error
|
|
33
|
+
*/
|
|
34
|
+
readonly errorCode: string;
|
|
35
|
+
/**
|
|
36
|
+
* Download link for logs of failed release instances
|
|
37
|
+
*/
|
|
38
|
+
readonly failedInstanceLogs: string;
|
|
39
|
+
/**
|
|
40
|
+
* Completion time
|
|
41
|
+
*/
|
|
42
|
+
readonly finishTime: string;
|
|
43
|
+
/**
|
|
44
|
+
* Function ID
|
|
45
|
+
*/
|
|
46
|
+
readonly functionId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Uniquely identifies the resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* Update time
|
|
53
|
+
*/
|
|
54
|
+
readonly lastUpdateTime: string;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum number of function instances. Valid range: [0 ~ remaining available account resources/single instance maximum memory]
|
|
57
|
+
*/
|
|
58
|
+
readonly maxInstance: number;
|
|
59
|
+
/**
|
|
60
|
+
* Version number of the new version being released. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
61
|
+
*/
|
|
62
|
+
readonly newRevisionNumber: number;
|
|
63
|
+
/**
|
|
64
|
+
* Version number of the old version. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
65
|
+
*/
|
|
66
|
+
readonly oldRevisionNumber: number;
|
|
67
|
+
/**
|
|
68
|
+
* Release record ID
|
|
69
|
+
*/
|
|
70
|
+
readonly releaseRecordId: string;
|
|
71
|
+
/**
|
|
72
|
+
* Version number to release. When RevisionNumber = 0, the latest code (Latest) is released and a new version is created
|
|
73
|
+
*/
|
|
74
|
+
readonly revisionNumber: number;
|
|
75
|
+
/**
|
|
76
|
+
* Canary step percentage. Valid values: 1–100, default: 10
|
|
77
|
+
*/
|
|
78
|
+
readonly rollingStep: number;
|
|
79
|
+
/**
|
|
80
|
+
* Released historical version number
|
|
81
|
+
*/
|
|
82
|
+
readonly sourceRevisionNumber: number;
|
|
83
|
+
/**
|
|
84
|
+
* Version number currently running stably online. Generated after the first successful release. Before the first release (status == pending), StableRevisionNumber is -1
|
|
85
|
+
*/
|
|
86
|
+
readonly stableRevisionNumber: number;
|
|
87
|
+
/**
|
|
88
|
+
* Start time of the current release. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
89
|
+
*/
|
|
90
|
+
readonly startTime: string;
|
|
91
|
+
/**
|
|
92
|
+
* Function release status: pending: never released, inprogress: releasing, done: release successful, failed: release failed
|
|
93
|
+
*/
|
|
94
|
+
readonly status: string;
|
|
95
|
+
/**
|
|
96
|
+
* Detailed function release status. Supplementary information for release status
|
|
97
|
+
*/
|
|
98
|
+
readonly statusMessage: string;
|
|
99
|
+
/**
|
|
100
|
+
* Target version number for release
|
|
101
|
+
*/
|
|
102
|
+
readonly targetRevisionNumber: number;
|
|
103
|
+
/**
|
|
104
|
+
* Target release traffic percentage. Valid range: [0, 100], indicates the proportion of traffic assigned to the released version. 100 means full release
|
|
105
|
+
*/
|
|
106
|
+
readonly targetTrafficWeight: number;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Data Source schema for Volcengine::VEFAAS::Release
|
|
110
|
+
*/
|
|
111
|
+
export declare function getReleaseOutput(args: GetReleaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReleaseResult>;
|
|
112
|
+
/**
|
|
113
|
+
* A collection of arguments for invoking getRelease.
|
|
114
|
+
*/
|
|
115
|
+
export interface GetReleaseOutputArgs {
|
|
116
|
+
/**
|
|
117
|
+
* Uniquely identifies the resource.
|
|
118
|
+
*/
|
|
119
|
+
id: pulumi.Input<string>;
|
|
120
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getReleaseOutput = exports.getRelease = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::VEFAAS::Release
|
|
10
|
+
*/
|
|
11
|
+
function getRelease(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getRelease:getRelease", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getRelease = getRelease;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::VEFAAS::Release
|
|
20
|
+
*/
|
|
21
|
+
function getReleaseOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getRelease:getRelease", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getReleaseOutput = getReleaseOutput;
|
|
28
|
+
//# sourceMappingURL=getRelease.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRelease.js","sourceRoot":"","sources":["../../vefaas/getRelease.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAyGD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Release
|
|
4
|
+
*/
|
|
5
|
+
export declare function getReleases(opts?: pulumi.InvokeOptions): Promise<GetReleasesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getReleases.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetReleasesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Release
|
|
21
|
+
*/
|
|
22
|
+
export declare function getReleasesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReleasesResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getReleasesOutput = exports.getReleases = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Release
|
|
10
|
+
*/
|
|
11
|
+
function getReleases(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getReleases:getReleases", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getReleases = getReleases;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Release
|
|
18
|
+
*/
|
|
19
|
+
function getReleasesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getReleases:getReleases", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getReleasesOutput = getReleasesOutput;
|
|
24
|
+
//# sourceMappingURL=getReleases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getReleases.js","sourceRoot":"","sources":["../../vefaas/getReleases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,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;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/vefaas/index.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ export declare const getKafkaTriggerOutput: typeof import("./getKafkaTrigger").g
|
|
|
13
13
|
export { GetKafkaTriggersResult } from "./getKafkaTriggers";
|
|
14
14
|
export declare const getKafkaTriggers: typeof import("./getKafkaTriggers").getKafkaTriggers;
|
|
15
15
|
export declare const getKafkaTriggersOutput: typeof import("./getKafkaTriggers").getKafkaTriggersOutput;
|
|
16
|
+
export { GetReleaseArgs, GetReleaseResult, GetReleaseOutputArgs } from "./getRelease";
|
|
17
|
+
export declare const getRelease: typeof import("./getRelease").getRelease;
|
|
18
|
+
export declare const getReleaseOutput: typeof import("./getRelease").getReleaseOutput;
|
|
19
|
+
export { GetReleasesResult } from "./getReleases";
|
|
20
|
+
export declare const getReleases: typeof import("./getReleases").getReleases;
|
|
21
|
+
export declare const getReleasesOutput: typeof import("./getReleases").getReleasesOutput;
|
|
16
22
|
export { GetSandboxArgs, GetSandboxResult, GetSandboxOutputArgs } from "./getSandbox";
|
|
17
23
|
export declare const getSandbox: typeof import("./getSandbox").getSandbox;
|
|
18
24
|
export declare const getSandboxOutput: typeof import("./getSandbox").getSandboxOutput;
|
|
@@ -28,6 +34,9 @@ export declare const getTimersOutput: typeof import("./getTimers").getTimersOutp
|
|
|
28
34
|
export { KafkaTriggerArgs, KafkaTriggerState } from "./kafkaTrigger";
|
|
29
35
|
export type KafkaTrigger = import("./kafkaTrigger").KafkaTrigger;
|
|
30
36
|
export declare const KafkaTrigger: typeof import("./kafkaTrigger").KafkaTrigger;
|
|
37
|
+
export { ReleaseArgs, ReleaseState } from "./release";
|
|
38
|
+
export type Release = import("./release").Release;
|
|
39
|
+
export declare const Release: typeof import("./release").Release;
|
|
31
40
|
export { SandboxArgs, SandboxState } from "./sandbox";
|
|
32
41
|
export type Sandbox = import("./sandbox").Sandbox;
|
|
33
42
|
export declare const Sandbox: typeof import("./sandbox").Sandbox;
|
package/vefaas/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Timer = exports.Sandbox = exports.KafkaTrigger = exports.getTimersOutput = exports.getTimers = exports.getTimerOutput = exports.getTimer = exports.getSandboxesOutput = exports.getSandboxes = exports.getSandboxOutput = exports.getSandbox = exports.getKafkaTriggersOutput = exports.getKafkaTriggers = exports.getKafkaTriggerOutput = exports.getKafkaTrigger = exports.getFunctionsOutput = exports.getFunctions = exports.getFunctionOutput = exports.getFunction = exports.Function = void 0;
|
|
5
|
+
exports.Timer = exports.Sandbox = exports.Release = exports.KafkaTrigger = exports.getTimersOutput = exports.getTimers = exports.getTimerOutput = exports.getTimer = exports.getSandboxesOutput = exports.getSandboxes = exports.getSandboxOutput = exports.getSandbox = exports.getReleasesOutput = exports.getReleases = exports.getReleaseOutput = exports.getRelease = exports.getKafkaTriggersOutput = exports.getKafkaTriggers = exports.getKafkaTriggerOutput = exports.getKafkaTrigger = exports.getFunctionsOutput = exports.getFunctions = exports.getFunctionOutput = exports.getFunction = exports.Function = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Function = null;
|
|
@@ -19,6 +19,12 @@ utilities.lazyLoad(exports, ["getKafkaTrigger", "getKafkaTriggerOutput"], () =>
|
|
|
19
19
|
exports.getKafkaTriggers = null;
|
|
20
20
|
exports.getKafkaTriggersOutput = null;
|
|
21
21
|
utilities.lazyLoad(exports, ["getKafkaTriggers", "getKafkaTriggersOutput"], () => require("./getKafkaTriggers"));
|
|
22
|
+
exports.getRelease = null;
|
|
23
|
+
exports.getReleaseOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getRelease", "getReleaseOutput"], () => require("./getRelease"));
|
|
25
|
+
exports.getReleases = null;
|
|
26
|
+
exports.getReleasesOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["getReleases", "getReleasesOutput"], () => require("./getReleases"));
|
|
22
28
|
exports.getSandbox = null;
|
|
23
29
|
exports.getSandboxOutput = null;
|
|
24
30
|
utilities.lazyLoad(exports, ["getSandbox", "getSandboxOutput"], () => require("./getSandbox"));
|
|
@@ -33,6 +39,8 @@ exports.getTimersOutput = null;
|
|
|
33
39
|
utilities.lazyLoad(exports, ["getTimers", "getTimersOutput"], () => require("./getTimers"));
|
|
34
40
|
exports.KafkaTrigger = null;
|
|
35
41
|
utilities.lazyLoad(exports, ["KafkaTrigger"], () => require("./kafkaTrigger"));
|
|
42
|
+
exports.Release = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["Release"], () => require("./release"));
|
|
36
44
|
exports.Sandbox = null;
|
|
37
45
|
utilities.lazyLoad(exports, ["Sandbox"], () => require("./sandbox"));
|
|
38
46
|
exports.Timer = null;
|
|
@@ -45,6 +53,8 @@ const _module = {
|
|
|
45
53
|
return new exports.Function(name, undefined, { urn });
|
|
46
54
|
case "volcenginecc:vefaas/kafkaTrigger:KafkaTrigger":
|
|
47
55
|
return new exports.KafkaTrigger(name, undefined, { urn });
|
|
56
|
+
case "volcenginecc:vefaas/release:Release":
|
|
57
|
+
return new exports.Release(name, undefined, { urn });
|
|
48
58
|
case "volcenginecc:vefaas/sandbox:Sandbox":
|
|
49
59
|
return new exports.Sandbox(name, undefined, { urn });
|
|
50
60
|
case "volcenginecc:vefaas/timer:Timer":
|
|
@@ -56,6 +66,7 @@ const _module = {
|
|
|
56
66
|
};
|
|
57
67
|
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/function", _module);
|
|
58
68
|
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/kafkaTrigger", _module);
|
|
69
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/release", _module);
|
|
59
70
|
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/sandbox", _module);
|
|
60
71
|
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/timer", _module);
|
|
61
72
|
//# sourceMappingURL=index.js.map
|
package/vefaas/index.js.map
CHANGED
|
@@ -1 +1 @@
|
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B,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Function to release
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const vEFAASReleaseDemo = new volcenginecc.vefaas.Release("VEFAASReleaseDemo", {
|
|
12
|
+
* functionId: "xxxxxxxx",
|
|
13
|
+
* revisionNumber: 0,
|
|
14
|
+
* targetTrafficWeight: 100,
|
|
15
|
+
* rollingStep: 100,
|
|
16
|
+
* description: "ccapi-test",
|
|
17
|
+
* maxInstance: 10,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcenginecc:vefaas/release:Release example "function_id"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class Release extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing Release resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReleaseState, opts?: pulumi.CustomResourceOptions): Release;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of Release. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is Release;
|
|
43
|
+
/**
|
|
44
|
+
* Creation time
|
|
45
|
+
*/
|
|
46
|
+
readonly creationTime: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Current release traffic percentage. Valid values: 1–100, indicates the proportion of traffic assigned to the currently releasing version. Returned only when status is inprogress or failed
|
|
49
|
+
*/
|
|
50
|
+
readonly currentTrafficWeight: pulumi.Output<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Description for this release
|
|
53
|
+
*/
|
|
54
|
+
readonly description: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Error codes for release failures: function*start*failed: function startup failed function*start*timeout: function startup timed out function*health*check*failed: function health check failed system*internal_error: internal system error
|
|
57
|
+
*/
|
|
58
|
+
readonly errorCode: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Download link for logs of failed release instances
|
|
61
|
+
*/
|
|
62
|
+
readonly failedInstanceLogs: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Completion time
|
|
65
|
+
*/
|
|
66
|
+
readonly finishTime: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Function ID
|
|
69
|
+
*/
|
|
70
|
+
readonly functionId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Update time
|
|
73
|
+
*/
|
|
74
|
+
readonly lastUpdateTime: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Maximum number of function instances. Valid range: [0 ~ remaining available account resources/single instance maximum memory]
|
|
77
|
+
*/
|
|
78
|
+
readonly maxInstance: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Version number of the new version being released. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
81
|
+
*/
|
|
82
|
+
readonly newRevisionNumber: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* Version number of the old version. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
85
|
+
*/
|
|
86
|
+
readonly oldRevisionNumber: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* Release record ID
|
|
89
|
+
*/
|
|
90
|
+
readonly releaseRecordId: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Version number to release. When RevisionNumber = 0, the latest code (Latest) is released and a new version is created
|
|
93
|
+
*/
|
|
94
|
+
readonly revisionNumber: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* Canary step percentage. Valid values: 1–100, default: 10
|
|
97
|
+
*/
|
|
98
|
+
readonly rollingStep: pulumi.Output<number>;
|
|
99
|
+
/**
|
|
100
|
+
* Released historical version number
|
|
101
|
+
*/
|
|
102
|
+
readonly sourceRevisionNumber: pulumi.Output<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Version number currently running stably online. Generated after the first successful release. Before the first release (status == pending), StableRevisionNumber is -1
|
|
105
|
+
*/
|
|
106
|
+
readonly stableRevisionNumber: pulumi.Output<number>;
|
|
107
|
+
/**
|
|
108
|
+
* Start time of the current release. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
109
|
+
*/
|
|
110
|
+
readonly startTime: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Function release status: pending: never released, inprogress: releasing, done: release successful, failed: release failed
|
|
113
|
+
*/
|
|
114
|
+
readonly status: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Detailed function release status. Supplementary information for release status
|
|
117
|
+
*/
|
|
118
|
+
readonly statusMessage: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Target version number for release
|
|
121
|
+
*/
|
|
122
|
+
readonly targetRevisionNumber: pulumi.Output<number>;
|
|
123
|
+
/**
|
|
124
|
+
* Target release traffic percentage. Valid range: [0, 100], indicates the proportion of traffic assigned to the released version. 100 means full release
|
|
125
|
+
*/
|
|
126
|
+
readonly targetTrafficWeight: pulumi.Output<number>;
|
|
127
|
+
/**
|
|
128
|
+
* Create a Release resource with the given unique name, arguments, and options.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resource.
|
|
131
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
+
*/
|
|
134
|
+
constructor(name: string, args: ReleaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Input properties used for looking up and filtering Release resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface ReleaseState {
|
|
140
|
+
/**
|
|
141
|
+
* Creation time
|
|
142
|
+
*/
|
|
143
|
+
creationTime?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Current release traffic percentage. Valid values: 1–100, indicates the proportion of traffic assigned to the currently releasing version. Returned only when status is inprogress or failed
|
|
146
|
+
*/
|
|
147
|
+
currentTrafficWeight?: pulumi.Input<number>;
|
|
148
|
+
/**
|
|
149
|
+
* Description for this release
|
|
150
|
+
*/
|
|
151
|
+
description?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Error codes for release failures: function*start*failed: function startup failed function*start*timeout: function startup timed out function*health*check*failed: function health check failed system*internal_error: internal system error
|
|
154
|
+
*/
|
|
155
|
+
errorCode?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Download link for logs of failed release instances
|
|
158
|
+
*/
|
|
159
|
+
failedInstanceLogs?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Completion time
|
|
162
|
+
*/
|
|
163
|
+
finishTime?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Function ID
|
|
166
|
+
*/
|
|
167
|
+
functionId?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Update time
|
|
170
|
+
*/
|
|
171
|
+
lastUpdateTime?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Maximum number of function instances. Valid range: [0 ~ remaining available account resources/single instance maximum memory]
|
|
174
|
+
*/
|
|
175
|
+
maxInstance?: pulumi.Input<number>;
|
|
176
|
+
/**
|
|
177
|
+
* Version number of the new version being released. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
178
|
+
*/
|
|
179
|
+
newRevisionNumber?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* Version number of the old version. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
182
|
+
*/
|
|
183
|
+
oldRevisionNumber?: pulumi.Input<number>;
|
|
184
|
+
/**
|
|
185
|
+
* Release record ID
|
|
186
|
+
*/
|
|
187
|
+
releaseRecordId?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Version number to release. When RevisionNumber = 0, the latest code (Latest) is released and a new version is created
|
|
190
|
+
*/
|
|
191
|
+
revisionNumber?: pulumi.Input<number>;
|
|
192
|
+
/**
|
|
193
|
+
* Canary step percentage. Valid values: 1–100, default: 10
|
|
194
|
+
*/
|
|
195
|
+
rollingStep?: pulumi.Input<number>;
|
|
196
|
+
/**
|
|
197
|
+
* Released historical version number
|
|
198
|
+
*/
|
|
199
|
+
sourceRevisionNumber?: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* Version number currently running stably online. Generated after the first successful release. Before the first release (status == pending), StableRevisionNumber is -1
|
|
202
|
+
*/
|
|
203
|
+
stableRevisionNumber?: pulumi.Input<number>;
|
|
204
|
+
/**
|
|
205
|
+
* Start time of the current release. Not returned when status is pending; returned when status is inprogress, failed, or done
|
|
206
|
+
*/
|
|
207
|
+
startTime?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Function release status: pending: never released, inprogress: releasing, done: release successful, failed: release failed
|
|
210
|
+
*/
|
|
211
|
+
status?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Detailed function release status. Supplementary information for release status
|
|
214
|
+
*/
|
|
215
|
+
statusMessage?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Target version number for release
|
|
218
|
+
*/
|
|
219
|
+
targetRevisionNumber?: pulumi.Input<number>;
|
|
220
|
+
/**
|
|
221
|
+
* Target release traffic percentage. Valid range: [0, 100], indicates the proportion of traffic assigned to the released version. 100 means full release
|
|
222
|
+
*/
|
|
223
|
+
targetTrafficWeight?: pulumi.Input<number>;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* The set of arguments for constructing a Release resource.
|
|
227
|
+
*/
|
|
228
|
+
export interface ReleaseArgs {
|
|
229
|
+
/**
|
|
230
|
+
* Description for this release
|
|
231
|
+
*/
|
|
232
|
+
description?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Function ID
|
|
235
|
+
*/
|
|
236
|
+
functionId: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Maximum number of function instances. Valid range: [0 ~ remaining available account resources/single instance maximum memory]
|
|
239
|
+
*/
|
|
240
|
+
maxInstance?: pulumi.Input<number>;
|
|
241
|
+
/**
|
|
242
|
+
* Version number to release. When RevisionNumber = 0, the latest code (Latest) is released and a new version is created
|
|
243
|
+
*/
|
|
244
|
+
revisionNumber: pulumi.Input<number>;
|
|
245
|
+
/**
|
|
246
|
+
* Canary step percentage. Valid values: 1–100, default: 10
|
|
247
|
+
*/
|
|
248
|
+
rollingStep?: pulumi.Input<number>;
|
|
249
|
+
/**
|
|
250
|
+
* Target release traffic percentage. Valid range: [0, 100], indicates the proportion of traffic assigned to the released version. 100 means full release
|
|
251
|
+
*/
|
|
252
|
+
targetTrafficWeight?: pulumi.Input<number>;
|
|
253
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.Release = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Function to release
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const vEFAASReleaseDemo = new volcenginecc.vefaas.Release("VEFAASReleaseDemo", {
|
|
18
|
+
* functionId: "xxxxxxxx",
|
|
19
|
+
* revisionNumber: 0,
|
|
20
|
+
* targetTrafficWeight: 100,
|
|
21
|
+
* rollingStep: 100,
|
|
22
|
+
* description: "ccapi-test",
|
|
23
|
+
* maxInstance: 10,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcenginecc:vefaas/release:Release example "function_id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class Release extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Release resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Release(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Release. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Release.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
62
|
+
resourceInputs["currentTrafficWeight"] = state ? state.currentTrafficWeight : undefined;
|
|
63
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
+
resourceInputs["errorCode"] = state ? state.errorCode : undefined;
|
|
65
|
+
resourceInputs["failedInstanceLogs"] = state ? state.failedInstanceLogs : undefined;
|
|
66
|
+
resourceInputs["finishTime"] = state ? state.finishTime : undefined;
|
|
67
|
+
resourceInputs["functionId"] = state ? state.functionId : undefined;
|
|
68
|
+
resourceInputs["lastUpdateTime"] = state ? state.lastUpdateTime : undefined;
|
|
69
|
+
resourceInputs["maxInstance"] = state ? state.maxInstance : undefined;
|
|
70
|
+
resourceInputs["newRevisionNumber"] = state ? state.newRevisionNumber : undefined;
|
|
71
|
+
resourceInputs["oldRevisionNumber"] = state ? state.oldRevisionNumber : undefined;
|
|
72
|
+
resourceInputs["releaseRecordId"] = state ? state.releaseRecordId : undefined;
|
|
73
|
+
resourceInputs["revisionNumber"] = state ? state.revisionNumber : undefined;
|
|
74
|
+
resourceInputs["rollingStep"] = state ? state.rollingStep : undefined;
|
|
75
|
+
resourceInputs["sourceRevisionNumber"] = state ? state.sourceRevisionNumber : undefined;
|
|
76
|
+
resourceInputs["stableRevisionNumber"] = state ? state.stableRevisionNumber : undefined;
|
|
77
|
+
resourceInputs["startTime"] = state ? state.startTime : undefined;
|
|
78
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
79
|
+
resourceInputs["statusMessage"] = state ? state.statusMessage : undefined;
|
|
80
|
+
resourceInputs["targetRevisionNumber"] = state ? state.targetRevisionNumber : undefined;
|
|
81
|
+
resourceInputs["targetTrafficWeight"] = state ? state.targetTrafficWeight : undefined;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const args = argsOrState;
|
|
85
|
+
if ((!args || args.functionId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'functionId'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.revisionNumber === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'revisionNumber'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
92
|
+
resourceInputs["functionId"] = args ? args.functionId : undefined;
|
|
93
|
+
resourceInputs["maxInstance"] = args ? args.maxInstance : undefined;
|
|
94
|
+
resourceInputs["revisionNumber"] = args ? args.revisionNumber : undefined;
|
|
95
|
+
resourceInputs["rollingStep"] = args ? args.rollingStep : undefined;
|
|
96
|
+
resourceInputs["targetTrafficWeight"] = args ? args.targetTrafficWeight : undefined;
|
|
97
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["currentTrafficWeight"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["errorCode"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["failedInstanceLogs"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["finishTime"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["lastUpdateTime"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["newRevisionNumber"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["oldRevisionNumber"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["releaseRecordId"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["sourceRevisionNumber"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["stableRevisionNumber"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["startTime"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["statusMessage"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["targetRevisionNumber"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(Release.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.Release = Release;
|
|
118
|
+
/** @internal */
|
|
119
|
+
Release.__pulumiType = 'volcenginecc:vefaas/release:Release';
|
|
120
|
+
//# sourceMappingURL=release.js.map
|